OSDN Git Service

2011-03-04 Benjamin Kosnik <bkoz@chula>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 case $0 in #((
91   *[\\/]* ) as_myself=$0 ;;
92   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95   IFS=$as_save_IFS
96   test -z "$as_dir" && as_dir=.
97     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98   done
99 IFS=$as_save_IFS
100
101      ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106   as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110   exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there.  '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136   emulate sh
137   NULLCMD=:
138   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139   # is contrary to our usage.  Disable this feature.
140   alias -g '\${1+\"\$@\"}'='\"\$@\"'
141   setopt NO_GLOB_SUBST
142 else
143   case \`(set -o) 2>/dev/null\` in #(
144   *posix*) :
145     set -o posix ;; #(
146   *) :
147      ;;
148 esac
149 fi
150 "
151   as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165   exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178     PATH=/empty FPATH=/empty; export PATH FPATH
179     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181   if (eval "$as_required") 2>/dev/null; then :
182   as_have_required=yes
183 else
184   as_have_required=no
185 fi
186   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193   IFS=$as_save_IFS
194   test -z "$as_dir" && as_dir=.
195   as_found=:
196   case $as_dir in #(
197          /*)
198            for as_base in sh bash ksh sh5; do
199              # Try only shells that exist, to save several forks.
200              as_shell=$as_dir/$as_base
201              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203   CONFIG_SHELL=$as_shell as_have_required=yes
204                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205   break 2
206 fi
207 fi
208            done;;
209        esac
210   as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214   CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219       if test "x$CONFIG_SHELL" != x; then :
220   # We cannot yet assume a decent shell, so we have to provide a
221         # neutralization value for shells without unset; and this also
222         # works around shells that cannot unset nonexistent variables.
223         BASH_ENV=/dev/null
224         ENV=/dev/null
225         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226         export CONFIG_SHELL
227         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230     if test x$as_have_required = xno; then :
231   $as_echo "$0: This script requires a shell more modern than all"
232   $as_echo "$0: the shells that I found on your system."
233   if test x${ZSH_VERSION+set} = xset ; then
234     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236   else
237     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241   fi
242   exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260   { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269   return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277   set +e
278   as_fn_set_status $1
279   exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288   case $as_dir in #(
289   -*) as_dir=./$as_dir;;
290   esac
291   test -d "$as_dir" || eval $as_mkdir_p || {
292     as_dirs=
293     while :; do
294       case $as_dir in #(
295       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296       *) as_qdir=$as_dir;;
297       esac
298       as_dirs="'$as_qdir' $as_dirs"
299       as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301          X"$as_dir" : 'X\(//\)[^/]' \| \
302          X"$as_dir" : 'X\(//\)$' \| \
303          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306             s//\1/
307             q
308           }
309           /^X\(\/\/\)[^/].*/{
310             s//\1/
311             q
312           }
313           /^X\(\/\/\)$/{
314             s//\1/
315             q
316           }
317           /^X\(\/\).*/{
318             s//\1/
319             q
320           }
321           s/.*/./; q'`
322       test -d "$as_dir" && break
323     done
324     test -z "$as_dirs" || eval "mkdir $as_dirs"
325   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336   eval 'as_fn_append ()
337   {
338     eval $1+=\$2
339   }'
340 else
341   as_fn_append ()
342   {
343     eval $1=\$$1\$2
344   }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353   eval 'as_fn_arith ()
354   {
355     as_val=$(( $* ))
356   }'
357 else
358   as_fn_arith ()
359   {
360     as_val=`expr "$@" || test $? -eq 1`
361   }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372   as_status=$?; test $as_status -eq 0 && as_status=1
373   if test "$3"; then
374     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376   fi
377   $as_echo "$as_me: error: $1" >&2
378   as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382    test "X`expr 00001 : '.*\(...\)'`" = X001; then
383   as_expr=expr
384 else
385   as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389   as_basename=basename
390 else
391   as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395   as_dirname=dirname
396 else
397   as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402          X"$0" : 'X\(//\)$' \| \
403          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405     sed '/^.*\/\([^/][^/]*\)\/*$/{
406             s//\1/
407             q
408           }
409           /^X\/\(\/\/\)$/{
410             s//\1/
411             q
412           }
413           /^X\/\(\/\).*/{
414             s//\1/
415             q
416           }
417           s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427   as_lineno_1=$LINENO as_lineno_1a=$LINENO
428   as_lineno_2=$LINENO as_lineno_2a=$LINENO
429   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
432   sed -n '
433     p
434     /[$]LINENO/=
435   ' <$as_myself |
436     sed '
437       s/[$]LINENO.*/&-/
438       t lineno
439       b
440       :lineno
441       N
442       :loop
443       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444       t loop
445       s/-\n.*//
446     ' >$as_me.lineno &&
447   chmod +x "$as_me.lineno" ||
448     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450   # Don't try to exec as it changes $[0], causing all sort of problems
451   # (the dirname of $[0] is not the place where we might find the
452   # original and so on.  Autoconf is especially sensitive to this).
453   . "./$as_me.lineno"
454   # Exit status is that of the last command.
455   exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461   case `echo 'xy\c'` in
462   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
463   xy)  ECHO_C='\c';;
464   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
465        ECHO_T=' ';;
466   esac;;
467 *)
468   ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473   rm -f conf$$.dir/conf$$.file
474 else
475   rm -f conf$$.dir
476   mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479   if ln -s conf$$.file conf$$ 2>/dev/null; then
480     as_ln_s='ln -s'
481     # ... but there are two gotchas:
482     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484     # In both cases, we have to default to `cp -p'.
485     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486       as_ln_s='cp -p'
487   elif ln conf$$.file conf$$ 2>/dev/null; then
488     as_ln_s=ln
489   else
490     as_ln_s='cp -p'
491   fi
492 else
493   as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499   as_mkdir_p='mkdir -p "$as_dir"'
500 else
501   test -d ./-p && rmdir ./-p
502   as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506   as_test_x='test -x'
507 else
508   if ls -dL / >/dev/null 2>&1; then
509     as_ls_L_option=L
510   else
511     as_ls_L_option=
512   fi
513   as_test_x='
514     eval sh -c '\''
515       if test -d "$1"; then
516         test -d "$1/.";
517       else
518         case $1 in #(
519         -*)set "./$1";;
520         esac;
521         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522         ???[sx]*):;;*)false;;esac;fi
523     '\'' sh
524   '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 ac_unique_file="src/ios.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 #  include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #  include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
600
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 LIBSUPCXX_PICFLAGS
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 BUILD_EPUB_FALSE
622 BUILD_EPUB_TRUE
623 DBTOEPUB
624 RUBY
625 BUILD_PDF_FALSE
626 BUILD_PDF_TRUE
627 PDFLATEX
628 DBLATEX
629 BUILD_MAN_FALSE
630 BUILD_MAN_TRUE
631 BUILD_HTML_FALSE
632 BUILD_HTML_TRUE
633 BUILD_XML_FALSE
634 BUILD_XML_TRUE
635 XMLLINT
636 XSLTPROC
637 DOT
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 baseline_dir
642 GLIBCXX_LDBL_COMPAT_FALSE
643 GLIBCXX_LDBL_COMPAT_TRUE
644 ENABLE_VISIBILITY_FALSE
645 ENABLE_VISIBILITY_TRUE
646 ENABLE_SYMVERS_SOL2_FALSE
647 ENABLE_SYMVERS_SOL2_TRUE
648 ENABLE_SYMVERS_SUN_FALSE
649 ENABLE_SYMVERS_SUN_TRUE
650 ENABLE_SYMVERS_DARWIN_FALSE
651 ENABLE_SYMVERS_DARWIN_TRUE
652 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
653 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
654 ENABLE_SYMVERS_GNU_FALSE
655 ENABLE_SYMVERS_GNU_TRUE
656 ENABLE_SYMVERS_FALSE
657 ENABLE_SYMVERS_TRUE
658 port_specific_symbol_files
659 SYMVER_FILE
660 CXXFILT
661 LTLIBICONV
662 LIBICONV
663 OPT_LDFLAGS
664 SECTION_LDFLAGS
665 GLIBCXX_LIBS
666 ENABLE_EXTERN_TEMPLATE_FALSE
667 ENABLE_EXTERN_TEMPLATE_TRUE
668 EXTRA_CXX_FLAGS
669 ENABLE_PARALLEL_FALSE
670 ENABLE_PARALLEL_TRUE
671 GLIBCXX_BUILD_DEBUG_FALSE
672 GLIBCXX_BUILD_DEBUG_TRUE
673 DEBUG_FLAGS
674 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
675 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
676 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
677 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
678 GLIBCXX_C_HEADERS_C_STD_FALSE
679 GLIBCXX_C_HEADERS_C_STD_TRUE
680 GLIBCXX_C_HEADERS_C_FALSE
681 GLIBCXX_C_HEADERS_C_TRUE
682 C_INCLUDE_DIR
683 ALLOCATOR_NAME
684 ALLOCATOR_H
685 CLOCALE_INTERNAL_H
686 CLOCALE_CC
687 CTIME_CC
688 CTIME_H
689 CNUMERIC_CC
690 CMONEY_CC
691 CMESSAGES_CC
692 CCTYPE_CC
693 CCOLLATE_CC
694 CCODECVT_CC
695 CMESSAGES_H
696 CLOCALE_H
697 USE_NLS
698 glibcxx_localedir
699 glibcxx_POFILES
700 glibcxx_MOFILES
701 check_msgfmt
702 BASIC_FILE_CC
703 BASIC_FILE_H
704 CSTDIO_H
705 SECTION_FLAGS
706 WERROR
707 glibcxx_thread_h
708 glibcxx_PCHFLAGS
709 GLIBCXX_BUILD_PCH_FALSE
710 GLIBCXX_BUILD_PCH_TRUE
711 GLIBCXX_HOSTED_FALSE
712 GLIBCXX_HOSTED_TRUE
713 enable_static
714 enable_shared
715 lt_host_flags
716 CXXCPP
717 OTOOL64
718 OTOOL
719 LIPO
720 NMEDIT
721 DSYMUTIL
722 OBJDUMP
723 NM
724 ac_ct_DUMPBIN
725 DUMPBIN
726 LD
727 FGREP
728 SED
729 LIBTOOL
730 EGREP
731 GREP
732 CPP
733 MAINT
734 MAINTAINER_MODE_FALSE
735 MAINTAINER_MODE_TRUE
736 RANLIB
737 AR
738 AS
739 LN_S
740 toplevel_srcdir
741 glibcxx_srcdir
742 glibcxx_builddir
743 ac_ct_CXX
744 CXXFLAGS
745 CXX
746 OBJEXT
747 EXEEXT
748 ac_ct_CC
749 CPPFLAGS
750 LDFLAGS
751 CFLAGS
752 CC
753 am__untar
754 am__tar
755 AMTAR
756 am__leading_dot
757 SET_MAKE
758 AWK
759 mkdir_p
760 MKDIR_P
761 INSTALL_STRIP_PROGRAM
762 STRIP
763 install_sh
764 MAKEINFO
765 AUTOHEADER
766 AUTOMAKE
767 AUTOCONF
768 ACLOCAL
769 VERSION
770 PACKAGE
771 CYGPATH_W
772 am__isrc
773 INSTALL_DATA
774 INSTALL_SCRIPT
775 INSTALL_PROGRAM
776 target_os
777 target_vendor
778 target_cpu
779 target
780 host_os
781 host_vendor
782 host_cpu
783 host
784 build_os
785 build_vendor
786 build_cpu
787 build
788 multi_basedir
789 libtool_VERSION
790 target_alias
791 host_alias
792 build_alias
793 LIBS
794 ECHO_T
795 ECHO_N
796 ECHO_C
797 DEFS
798 mandir
799 localedir
800 libdir
801 psdir
802 pdfdir
803 dvidir
804 htmldir
805 infodir
806 docdir
807 oldincludedir
808 includedir
809 localstatedir
810 sharedstatedir
811 sysconfdir
812 datadir
813 datarootdir
814 libexecdir
815 sbindir
816 bindir
817 program_transform_name
818 prefix
819 exec_prefix
820 PACKAGE_URL
821 PACKAGE_BUGREPORT
822 PACKAGE_STRING
823 PACKAGE_VERSION
824 PACKAGE_TARNAME
825 PACKAGE_NAME
826 PATH_SEPARATOR
827 SHELL'
828 ac_subst_files=''
829 ac_user_opts='
830 enable_option_checking
831 enable_multilib
832 with_target_subdir
833 with_cross_host
834 with_newlib
835 enable_maintainer_mode
836 enable_shared
837 enable_static
838 with_pic
839 enable_fast_install
840 with_gnu_ld
841 enable_libtool_lock
842 enable_hosted_libstdcxx
843 enable_sjlj_exceptions
844 enable_libstdcxx_pch
845 enable_cstdio
846 enable_clocale
847 enable_nls
848 enable_libstdcxx_allocator
849 enable_cheaders
850 enable_long_long
851 enable_wchar_t
852 enable_c99
853 enable_concept_checks
854 enable_libstdcxx_debug_flags
855 enable_libstdcxx_debug
856 enable_cxx_flags
857 enable_fully_dynamic_string
858 enable_extern_template
859 enable_libstdcxx_time
860 enable_tls
861 enable_rpath
862 with_libiconv_prefix
863 with_system_libunwind
864 enable_linux_futex
865 enable_symvers
866 enable_visibility
867 with_gxx_include_dir
868 enable_version_specific_runtime_libs
869 '
870       ac_precious_vars='build_alias
871 host_alias
872 target_alias
873 CC
874 CFLAGS
875 LDFLAGS
876 LIBS
877 CPPFLAGS
878 CXX
879 CXXFLAGS
880 CCC
881 CPP
882 CXXCPP
883 CXXFILT'
884
885
886 # Initialize some variables set by options.
887 ac_init_help=
888 ac_init_version=false
889 ac_unrecognized_opts=
890 ac_unrecognized_sep=
891 # The variables have the same names as the options, with
892 # dashes changed to underlines.
893 cache_file=/dev/null
894 exec_prefix=NONE
895 no_create=
896 no_recursion=
897 prefix=NONE
898 program_prefix=NONE
899 program_suffix=NONE
900 program_transform_name=s,x,x,
901 silent=
902 site=
903 srcdir=
904 verbose=
905 x_includes=NONE
906 x_libraries=NONE
907
908 # Installation directory options.
909 # These are left unexpanded so users can "make install exec_prefix=/foo"
910 # and all the variables that are supposed to be based on exec_prefix
911 # by default will actually change.
912 # Use braces instead of parens because sh, perl, etc. also accept them.
913 # (The list follows the same order as the GNU Coding Standards.)
914 bindir='${exec_prefix}/bin'
915 sbindir='${exec_prefix}/sbin'
916 libexecdir='${exec_prefix}/libexec'
917 datarootdir='${prefix}/share'
918 datadir='${datarootdir}'
919 sysconfdir='${prefix}/etc'
920 sharedstatedir='${prefix}/com'
921 localstatedir='${prefix}/var'
922 includedir='${prefix}/include'
923 oldincludedir='/usr/include'
924 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
925 infodir='${datarootdir}/info'
926 htmldir='${docdir}'
927 dvidir='${docdir}'
928 pdfdir='${docdir}'
929 psdir='${docdir}'
930 libdir='${exec_prefix}/lib'
931 localedir='${datarootdir}/locale'
932 mandir='${datarootdir}/man'
933
934 ac_prev=
935 ac_dashdash=
936 for ac_option
937 do
938   # If the previous option needs an argument, assign it.
939   if test -n "$ac_prev"; then
940     eval $ac_prev=\$ac_option
941     ac_prev=
942     continue
943   fi
944
945   case $ac_option in
946   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
947   *)    ac_optarg=yes ;;
948   esac
949
950   # Accept the important Cygnus configure options, so we can diagnose typos.
951
952   case $ac_dashdash$ac_option in
953   --)
954     ac_dashdash=yes ;;
955
956   -bindir | --bindir | --bindi | --bind | --bin | --bi)
957     ac_prev=bindir ;;
958   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
959     bindir=$ac_optarg ;;
960
961   -build | --build | --buil | --bui | --bu)
962     ac_prev=build_alias ;;
963   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
964     build_alias=$ac_optarg ;;
965
966   -cache-file | --cache-file | --cache-fil | --cache-fi \
967   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
968     ac_prev=cache_file ;;
969   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
970   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
971     cache_file=$ac_optarg ;;
972
973   --config-cache | -C)
974     cache_file=config.cache ;;
975
976   -datadir | --datadir | --datadi | --datad)
977     ac_prev=datadir ;;
978   -datadir=* | --datadir=* | --datadi=* | --datad=*)
979     datadir=$ac_optarg ;;
980
981   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
982   | --dataroo | --dataro | --datar)
983     ac_prev=datarootdir ;;
984   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
985   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
986     datarootdir=$ac_optarg ;;
987
988   -disable-* | --disable-*)
989     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
990     # Reject names that are not valid shell variable names.
991     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
992       as_fn_error "invalid feature name: $ac_useropt"
993     ac_useropt_orig=$ac_useropt
994     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
995     case $ac_user_opts in
996       *"
997 "enable_$ac_useropt"
998 "*) ;;
999       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1000          ac_unrecognized_sep=', ';;
1001     esac
1002     eval enable_$ac_useropt=no ;;
1003
1004   -docdir | --docdir | --docdi | --doc | --do)
1005     ac_prev=docdir ;;
1006   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1007     docdir=$ac_optarg ;;
1008
1009   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1010     ac_prev=dvidir ;;
1011   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1012     dvidir=$ac_optarg ;;
1013
1014   -enable-* | --enable-*)
1015     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1016     # Reject names that are not valid shell variable names.
1017     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1018       as_fn_error "invalid feature name: $ac_useropt"
1019     ac_useropt_orig=$ac_useropt
1020     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021     case $ac_user_opts in
1022       *"
1023 "enable_$ac_useropt"
1024 "*) ;;
1025       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1026          ac_unrecognized_sep=', ';;
1027     esac
1028     eval enable_$ac_useropt=\$ac_optarg ;;
1029
1030   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1031   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1032   | --exec | --exe | --ex)
1033     ac_prev=exec_prefix ;;
1034   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1035   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1036   | --exec=* | --exe=* | --ex=*)
1037     exec_prefix=$ac_optarg ;;
1038
1039   -gas | --gas | --ga | --g)
1040     # Obsolete; use --with-gas.
1041     with_gas=yes ;;
1042
1043   -help | --help | --hel | --he | -h)
1044     ac_init_help=long ;;
1045   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1046     ac_init_help=recursive ;;
1047   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1048     ac_init_help=short ;;
1049
1050   -host | --host | --hos | --ho)
1051     ac_prev=host_alias ;;
1052   -host=* | --host=* | --hos=* | --ho=*)
1053     host_alias=$ac_optarg ;;
1054
1055   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1056     ac_prev=htmldir ;;
1057   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1058   | --ht=*)
1059     htmldir=$ac_optarg ;;
1060
1061   -includedir | --includedir | --includedi | --included | --include \
1062   | --includ | --inclu | --incl | --inc)
1063     ac_prev=includedir ;;
1064   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1065   | --includ=* | --inclu=* | --incl=* | --inc=*)
1066     includedir=$ac_optarg ;;
1067
1068   -infodir | --infodir | --infodi | --infod | --info | --inf)
1069     ac_prev=infodir ;;
1070   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1071     infodir=$ac_optarg ;;
1072
1073   -libdir | --libdir | --libdi | --libd)
1074     ac_prev=libdir ;;
1075   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1076     libdir=$ac_optarg ;;
1077
1078   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1079   | --libexe | --libex | --libe)
1080     ac_prev=libexecdir ;;
1081   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1082   | --libexe=* | --libex=* | --libe=*)
1083     libexecdir=$ac_optarg ;;
1084
1085   -localedir | --localedir | --localedi | --localed | --locale)
1086     ac_prev=localedir ;;
1087   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1088     localedir=$ac_optarg ;;
1089
1090   -localstatedir | --localstatedir | --localstatedi | --localstated \
1091   | --localstate | --localstat | --localsta | --localst | --locals)
1092     ac_prev=localstatedir ;;
1093   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1094   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1095     localstatedir=$ac_optarg ;;
1096
1097   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1098     ac_prev=mandir ;;
1099   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1100     mandir=$ac_optarg ;;
1101
1102   -nfp | --nfp | --nf)
1103     # Obsolete; use --without-fp.
1104     with_fp=no ;;
1105
1106   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1107   | --no-cr | --no-c | -n)
1108     no_create=yes ;;
1109
1110   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1111   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1112     no_recursion=yes ;;
1113
1114   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1115   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1116   | --oldin | --oldi | --old | --ol | --o)
1117     ac_prev=oldincludedir ;;
1118   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1119   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1120   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1121     oldincludedir=$ac_optarg ;;
1122
1123   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1124     ac_prev=prefix ;;
1125   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1126     prefix=$ac_optarg ;;
1127
1128   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1129   | --program-pre | --program-pr | --program-p)
1130     ac_prev=program_prefix ;;
1131   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1132   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1133     program_prefix=$ac_optarg ;;
1134
1135   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1136   | --program-suf | --program-su | --program-s)
1137     ac_prev=program_suffix ;;
1138   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1139   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1140     program_suffix=$ac_optarg ;;
1141
1142   -program-transform-name | --program-transform-name \
1143   | --program-transform-nam | --program-transform-na \
1144   | --program-transform-n | --program-transform- \
1145   | --program-transform | --program-transfor \
1146   | --program-transfo | --program-transf \
1147   | --program-trans | --program-tran \
1148   | --progr-tra | --program-tr | --program-t)
1149     ac_prev=program_transform_name ;;
1150   -program-transform-name=* | --program-transform-name=* \
1151   | --program-transform-nam=* | --program-transform-na=* \
1152   | --program-transform-n=* | --program-transform-=* \
1153   | --program-transform=* | --program-transfor=* \
1154   | --program-transfo=* | --program-transf=* \
1155   | --program-trans=* | --program-tran=* \
1156   | --progr-tra=* | --program-tr=* | --program-t=*)
1157     program_transform_name=$ac_optarg ;;
1158
1159   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1160     ac_prev=pdfdir ;;
1161   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1162     pdfdir=$ac_optarg ;;
1163
1164   -psdir | --psdir | --psdi | --psd | --ps)
1165     ac_prev=psdir ;;
1166   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1167     psdir=$ac_optarg ;;
1168
1169   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1170   | -silent | --silent | --silen | --sile | --sil)
1171     silent=yes ;;
1172
1173   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1174     ac_prev=sbindir ;;
1175   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1176   | --sbi=* | --sb=*)
1177     sbindir=$ac_optarg ;;
1178
1179   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1180   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1181   | --sharedst | --shareds | --shared | --share | --shar \
1182   | --sha | --sh)
1183     ac_prev=sharedstatedir ;;
1184   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1185   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1186   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1187   | --sha=* | --sh=*)
1188     sharedstatedir=$ac_optarg ;;
1189
1190   -site | --site | --sit)
1191     ac_prev=site ;;
1192   -site=* | --site=* | --sit=*)
1193     site=$ac_optarg ;;
1194
1195   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1196     ac_prev=srcdir ;;
1197   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1198     srcdir=$ac_optarg ;;
1199
1200   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1201   | --syscon | --sysco | --sysc | --sys | --sy)
1202     ac_prev=sysconfdir ;;
1203   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1204   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1205     sysconfdir=$ac_optarg ;;
1206
1207   -target | --target | --targe | --targ | --tar | --ta | --t)
1208     ac_prev=target_alias ;;
1209   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1210     target_alias=$ac_optarg ;;
1211
1212   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1213     verbose=yes ;;
1214
1215   -version | --version | --versio | --versi | --vers | -V)
1216     ac_init_version=: ;;
1217
1218   -with-* | --with-*)
1219     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1220     # Reject names that are not valid shell variable names.
1221     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1222       as_fn_error "invalid package name: $ac_useropt"
1223     ac_useropt_orig=$ac_useropt
1224     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1225     case $ac_user_opts in
1226       *"
1227 "with_$ac_useropt"
1228 "*) ;;
1229       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1230          ac_unrecognized_sep=', ';;
1231     esac
1232     eval with_$ac_useropt=\$ac_optarg ;;
1233
1234   -without-* | --without-*)
1235     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1236     # Reject names that are not valid shell variable names.
1237     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1238       as_fn_error "invalid package name: $ac_useropt"
1239     ac_useropt_orig=$ac_useropt
1240     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1241     case $ac_user_opts in
1242       *"
1243 "with_$ac_useropt"
1244 "*) ;;
1245       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1246          ac_unrecognized_sep=', ';;
1247     esac
1248     eval with_$ac_useropt=no ;;
1249
1250   --x)
1251     # Obsolete; use --with-x.
1252     with_x=yes ;;
1253
1254   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1255   | --x-incl | --x-inc | --x-in | --x-i)
1256     ac_prev=x_includes ;;
1257   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1258   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1259     x_includes=$ac_optarg ;;
1260
1261   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1262   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1263     ac_prev=x_libraries ;;
1264   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1265   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1266     x_libraries=$ac_optarg ;;
1267
1268   -*) as_fn_error "unrecognized option: \`$ac_option'
1269 Try \`$0 --help' for more information."
1270     ;;
1271
1272   *=*)
1273     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1274     # Reject names that are not valid shell variable names.
1275     case $ac_envvar in #(
1276       '' | [0-9]* | *[!_$as_cr_alnum]* )
1277       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1278     esac
1279     eval $ac_envvar=\$ac_optarg
1280     export $ac_envvar ;;
1281
1282   *)
1283     # FIXME: should be removed in autoconf 3.0.
1284     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1285     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1286       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1287     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1288     ;;
1289
1290   esac
1291 done
1292
1293 if test -n "$ac_prev"; then
1294   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1295   as_fn_error "missing argument to $ac_option"
1296 fi
1297
1298 if test -n "$ac_unrecognized_opts"; then
1299   case $enable_option_checking in
1300     no) ;;
1301     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1302     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1303   esac
1304 fi
1305
1306 # Check all directory arguments for consistency.
1307 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1308                 datadir sysconfdir sharedstatedir localstatedir includedir \
1309                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1310                 libdir localedir mandir
1311 do
1312   eval ac_val=\$$ac_var
1313   # Remove trailing slashes.
1314   case $ac_val in
1315     */ )
1316       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1317       eval $ac_var=\$ac_val;;
1318   esac
1319   # Be sure to have absolute directory names.
1320   case $ac_val in
1321     [\\/$]* | ?:[\\/]* )  continue;;
1322     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1323   esac
1324   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1325 done
1326
1327 # There might be people who depend on the old broken behavior: `$host'
1328 # used to hold the argument of --host etc.
1329 # FIXME: To remove some day.
1330 build=$build_alias
1331 host=$host_alias
1332 target=$target_alias
1333
1334 # FIXME: To remove some day.
1335 if test "x$host_alias" != x; then
1336   if test "x$build_alias" = x; then
1337     cross_compiling=maybe
1338     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1339     If a cross compiler is detected then cross compile mode will be used." >&2
1340   elif test "x$build_alias" != "x$host_alias"; then
1341     cross_compiling=yes
1342   fi
1343 fi
1344
1345 ac_tool_prefix=
1346 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1347
1348 test "$silent" = yes && exec 6>/dev/null
1349
1350
1351 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1352 ac_ls_di=`ls -di .` &&
1353 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1354   as_fn_error "working directory cannot be determined"
1355 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1356   as_fn_error "pwd does not report name of working directory"
1357
1358
1359 # Find the source files, if location was not specified.
1360 if test -z "$srcdir"; then
1361   ac_srcdir_defaulted=yes
1362   # Try the directory containing this script, then the parent directory.
1363   ac_confdir=`$as_dirname -- "$as_myself" ||
1364 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1365          X"$as_myself" : 'X\(//\)[^/]' \| \
1366          X"$as_myself" : 'X\(//\)$' \| \
1367          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1368 $as_echo X"$as_myself" |
1369     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1370             s//\1/
1371             q
1372           }
1373           /^X\(\/\/\)[^/].*/{
1374             s//\1/
1375             q
1376           }
1377           /^X\(\/\/\)$/{
1378             s//\1/
1379             q
1380           }
1381           /^X\(\/\).*/{
1382             s//\1/
1383             q
1384           }
1385           s/.*/./; q'`
1386   srcdir=$ac_confdir
1387   if test ! -r "$srcdir/$ac_unique_file"; then
1388     srcdir=..
1389   fi
1390 else
1391   ac_srcdir_defaulted=no
1392 fi
1393 if test ! -r "$srcdir/$ac_unique_file"; then
1394   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1395   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1396 fi
1397 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1398 ac_abs_confdir=`(
1399         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1400         pwd)`
1401 # When building in place, set srcdir=.
1402 if test "$ac_abs_confdir" = "$ac_pwd"; then
1403   srcdir=.
1404 fi
1405 # Remove unnecessary trailing slashes from srcdir.
1406 # Double slashes in file names in object file debugging info
1407 # mess up M-x gdb in Emacs.
1408 case $srcdir in
1409 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1410 esac
1411 for ac_var in $ac_precious_vars; do
1412   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1413   eval ac_env_${ac_var}_value=\$${ac_var}
1414   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1415   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1416 done
1417
1418 #
1419 # Report the --help message.
1420 #
1421 if test "$ac_init_help" = "long"; then
1422   # Omit some internal or obsolete options to make the list less imposing.
1423   # This message is too long to be a string in the A/UX 3.1 sh.
1424   cat <<_ACEOF
1425 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1426
1427 Usage: $0 [OPTION]... [VAR=VALUE]...
1428
1429 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1430 VAR=VALUE.  See below for descriptions of some of the useful variables.
1431
1432 Defaults for the options are specified in brackets.
1433
1434 Configuration:
1435   -h, --help              display this help and exit
1436       --help=short        display options specific to this package
1437       --help=recursive    display the short help of all the included packages
1438   -V, --version           display version information and exit
1439   -q, --quiet, --silent   do not print \`checking...' messages
1440       --cache-file=FILE   cache test results in FILE [disabled]
1441   -C, --config-cache      alias for \`--cache-file=config.cache'
1442   -n, --no-create         do not create output files
1443       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1444
1445 Installation directories:
1446   --prefix=PREFIX         install architecture-independent files in PREFIX
1447                           [$ac_default_prefix]
1448   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1449                           [PREFIX]
1450
1451 By default, \`make install' will install all the files in
1452 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1453 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1454 for instance \`--prefix=\$HOME'.
1455
1456 For better control, use the options below.
1457
1458 Fine tuning of the installation directories:
1459   --bindir=DIR            user executables [EPREFIX/bin]
1460   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1461   --libexecdir=DIR        program executables [EPREFIX/libexec]
1462   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1463   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1464   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1465   --libdir=DIR            object code libraries [EPREFIX/lib]
1466   --includedir=DIR        C header files [PREFIX/include]
1467   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1468   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1469   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1470   --infodir=DIR           info documentation [DATAROOTDIR/info]
1471   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1472   --mandir=DIR            man documentation [DATAROOTDIR/man]
1473   --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1474   --htmldir=DIR           html documentation [DOCDIR]
1475   --dvidir=DIR            dvi documentation [DOCDIR]
1476   --pdfdir=DIR            pdf documentation [DOCDIR]
1477   --psdir=DIR             ps documentation [DOCDIR]
1478 _ACEOF
1479
1480   cat <<\_ACEOF
1481
1482 Program names:
1483   --program-prefix=PREFIX            prepend PREFIX to installed program names
1484   --program-suffix=SUFFIX            append SUFFIX to installed program names
1485   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1486
1487 System types:
1488   --build=BUILD     configure for building on BUILD [guessed]
1489   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1490   --target=TARGET   configure for building compilers for TARGET [HOST]
1491 _ACEOF
1492 fi
1493
1494 if test -n "$ac_init_help"; then
1495   case $ac_init_help in
1496      short | recursive ) echo "Configuration of package-unused version-unused:";;
1497    esac
1498   cat <<\_ACEOF
1499
1500 Optional Features:
1501   --disable-option-checking  ignore unrecognized --enable/--with options
1502   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1503   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1504   --enable-multilib       build many library versions (default)
1505   --enable-maintainer-mode  enable make rules and dependencies not useful
1506                           (and sometimes confusing) to the casual installer
1507   --enable-shared[=PKGS]  build shared libraries [default=yes]
1508   --enable-static[=PKGS]  build static libraries [default=yes]
1509   --enable-fast-install[=PKGS]
1510                           optimize for fast installation [default=yes]
1511   --disable-libtool-lock  avoid locking (might break parallel builds)
1512   --disable-hosted-libstdcxx
1513                           only build freestanding C++ runtime support
1514   --enable-sjlj-exceptions
1515                           force use of builtin_setjmp for exceptions
1516                           [default=auto]
1517   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1518                           [default=$is_hosted]
1519   --enable-cstdio[=PACKAGE]
1520                           use target-specific I/O package [default=stdio]
1521   --enable-clocale[=MODEL]
1522                           use MODEL for target locale package [default=auto]
1523   --enable-nls            use Native Language Support (default)
1524   --enable-libstdcxx-allocator[=KIND]
1525                           use KIND for target std::allocator base
1526                           [default=auto]
1527   --enable-cheaders[=KIND]
1528                           construct "C" headers for g++ [default=$c_model]
1529   --enable-long-long      enable template specializations for 'long long'
1530                           [default=yes]
1531   --enable-wchar_t        enable template specializations for 'wchar_t'
1532                           [default=yes]
1533   --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1534   --enable-concept-checks use Boost-derived template checks [default=no]
1535   --enable-libstdcxx-debug-flags=FLAGS
1536                           pass compiler FLAGS when building debug library
1537                           [default="-g3 -O0"]
1538   --enable-libstdcxx-debug
1539                           build extra debug library [default=no]
1540   --enable-cxx-flags=FLAGS
1541                           pass compiler FLAGS when building library [default=]
1542   --enable-fully-dynamic-string
1543                           do not put empty strings in per-process static
1544                           memory [default=no]
1545   --enable-extern-template
1546                           enable extern template [default=yes]
1547   --enable-libstdcxx-time[=KIND]
1548                           use KIND for check type [default=no]
1549   --enable-tls            Use thread-local storage [default=yes]
1550   --disable-rpath         do not hardcode runtime library paths
1551   --enable-linux-futex    use the Linux futex system call [default=default]
1552   --enable-symvers[=STYLE]
1553                           enables symbol versioning of the shared library
1554                           [default=yes]
1555   --enable-visibility     enables visibility safe usage [default=yes]
1556   --enable-version-specific-runtime-libs
1557                           Specify that runtime libraries should be installed
1558                           in a compiler-specific directory
1559
1560 Optional Packages:
1561   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1562   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1563   --with-target-subdir=SUBDIR
1564                           configuring in a subdirectory
1565   --with-cross-host=HOST  configuring with a cross compiler
1566   --with-newlib           assume newlib as a system C library
1567   --with-pic              try to use only PIC/non-PIC objects [default=use
1568                           both]
1569   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1570   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1571   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1572   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1573   --with-system-libunwind use installed libunwind
1574   --with-gxx-include-dir=DIR
1575                           installation directory for include files
1576
1577 Some influential environment variables:
1578   CC          C compiler command
1579   CFLAGS      C compiler flags
1580   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1581               nonstandard directory <lib dir>
1582   LIBS        libraries to pass to the linker, e.g. -l<library>
1583   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1584               you have headers in a nonstandard directory <include dir>
1585   CXX         C++ compiler command
1586   CXXFLAGS    C++ compiler flags
1587   CPP         C preprocessor
1588   CXXCPP      C++ preprocessor
1589   CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1590               `c++filt', `gc++filt' on PATH.
1591
1592 Use these variables to override the choices made by `configure' or to help
1593 it to find libraries and programs with nonstandard names/locations.
1594
1595 Report bugs to the package provider.
1596 _ACEOF
1597 ac_status=$?
1598 fi
1599
1600 if test "$ac_init_help" = "recursive"; then
1601   # If there are subdirs, report their specific --help.
1602   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1603     test -d "$ac_dir" ||
1604       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1605       continue
1606     ac_builddir=.
1607
1608 case "$ac_dir" in
1609 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1610 *)
1611   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1612   # A ".." for each directory in $ac_dir_suffix.
1613   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1614   case $ac_top_builddir_sub in
1615   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1616   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1617   esac ;;
1618 esac
1619 ac_abs_top_builddir=$ac_pwd
1620 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1621 # for backward compatibility:
1622 ac_top_builddir=$ac_top_build_prefix
1623
1624 case $srcdir in
1625   .)  # We are building in place.
1626     ac_srcdir=.
1627     ac_top_srcdir=$ac_top_builddir_sub
1628     ac_abs_top_srcdir=$ac_pwd ;;
1629   [\\/]* | ?:[\\/]* )  # Absolute name.
1630     ac_srcdir=$srcdir$ac_dir_suffix;
1631     ac_top_srcdir=$srcdir
1632     ac_abs_top_srcdir=$srcdir ;;
1633   *) # Relative name.
1634     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1635     ac_top_srcdir=$ac_top_build_prefix$srcdir
1636     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1637 esac
1638 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1639
1640     cd "$ac_dir" || { ac_status=$?; continue; }
1641     # Check for guested configure.
1642     if test -f "$ac_srcdir/configure.gnu"; then
1643       echo &&
1644       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1645     elif test -f "$ac_srcdir/configure"; then
1646       echo &&
1647       $SHELL "$ac_srcdir/configure" --help=recursive
1648     else
1649       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1650     fi || ac_status=$?
1651     cd "$ac_pwd" || { ac_status=$?; break; }
1652   done
1653 fi
1654
1655 test -n "$ac_init_help" && exit $ac_status
1656 if $ac_init_version; then
1657   cat <<\_ACEOF
1658 package-unused configure version-unused
1659 generated by GNU Autoconf 2.64
1660
1661 Copyright (C) 2009 Free Software Foundation, Inc.
1662 This configure script is free software; the Free Software Foundation
1663 gives unlimited permission to copy, distribute and modify it.
1664 _ACEOF
1665   exit
1666 fi
1667
1668 ## ------------------------ ##
1669 ## Autoconf initialization. ##
1670 ## ------------------------ ##
1671
1672 # ac_fn_c_try_compile LINENO
1673 # --------------------------
1674 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1675 ac_fn_c_try_compile ()
1676 {
1677   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678   rm -f conftest.$ac_objext
1679   if { { ac_try="$ac_compile"
1680 case "(($ac_try" in
1681   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1682   *) ac_try_echo=$ac_try;;
1683 esac
1684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1685 $as_echo "$ac_try_echo"; } >&5
1686   (eval "$ac_compile") 2>conftest.err
1687   ac_status=$?
1688   if test -s conftest.err; then
1689     grep -v '^ *+' conftest.err >conftest.er1
1690     cat conftest.er1 >&5
1691     mv -f conftest.er1 conftest.err
1692   fi
1693   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1694   test $ac_status = 0; } && {
1695          test -z "$ac_c_werror_flag" ||
1696          test ! -s conftest.err
1697        } && test -s conftest.$ac_objext; then :
1698   ac_retval=0
1699 else
1700   $as_echo "$as_me: failed program was:" >&5
1701 sed 's/^/| /' conftest.$ac_ext >&5
1702
1703         ac_retval=1
1704 fi
1705   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1706   return $ac_retval
1707
1708 } # ac_fn_c_try_compile
1709
1710 # ac_fn_cxx_try_compile LINENO
1711 # ----------------------------
1712 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1713 ac_fn_cxx_try_compile ()
1714 {
1715   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716   rm -f conftest.$ac_objext
1717   if { { ac_try="$ac_compile"
1718 case "(($ac_try" in
1719   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1720   *) ac_try_echo=$ac_try;;
1721 esac
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724   (eval "$ac_compile") 2>conftest.err
1725   ac_status=$?
1726   if test -s conftest.err; then
1727     grep -v '^ *+' conftest.err >conftest.er1
1728     cat conftest.er1 >&5
1729     mv -f conftest.er1 conftest.err
1730   fi
1731   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732   test $ac_status = 0; } && {
1733          test -z "$ac_cxx_werror_flag" ||
1734          test ! -s conftest.err
1735        } && test -s conftest.$ac_objext; then :
1736   ac_retval=0
1737 else
1738   $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.$ac_ext >&5
1740
1741         ac_retval=1
1742 fi
1743   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1744   return $ac_retval
1745
1746 } # ac_fn_cxx_try_compile
1747
1748 # ac_fn_c_try_cpp LINENO
1749 # ----------------------
1750 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1751 ac_fn_c_try_cpp ()
1752 {
1753   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1754   if { { ac_try="$ac_cpp conftest.$ac_ext"
1755 case "(($ac_try" in
1756   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1757   *) ac_try_echo=$ac_try;;
1758 esac
1759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1760 $as_echo "$ac_try_echo"; } >&5
1761   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1762   ac_status=$?
1763   if test -s conftest.err; then
1764     grep -v '^ *+' conftest.err >conftest.er1
1765     cat conftest.er1 >&5
1766     mv -f conftest.er1 conftest.err
1767   fi
1768   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769   test $ac_status = 0; } >/dev/null && {
1770          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1771          test ! -s conftest.err
1772        }; then :
1773   ac_retval=0
1774 else
1775   $as_echo "$as_me: failed program was:" >&5
1776 sed 's/^/| /' conftest.$ac_ext >&5
1777
1778     ac_retval=1
1779 fi
1780   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1781   return $ac_retval
1782
1783 } # ac_fn_c_try_cpp
1784
1785 # ac_fn_c_try_link LINENO
1786 # -----------------------
1787 # Try to link conftest.$ac_ext, and return whether this succeeded.
1788 ac_fn_c_try_link ()
1789 {
1790   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791   rm -f conftest.$ac_objext conftest$ac_exeext
1792   if { { ac_try="$ac_link"
1793 case "(($ac_try" in
1794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1795   *) ac_try_echo=$ac_try;;
1796 esac
1797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798 $as_echo "$ac_try_echo"; } >&5
1799   (eval "$ac_link") 2>conftest.err
1800   ac_status=$?
1801   if test -s conftest.err; then
1802     grep -v '^ *+' conftest.err >conftest.er1
1803     cat conftest.er1 >&5
1804     mv -f conftest.er1 conftest.err
1805   fi
1806   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1807   test $ac_status = 0; } && {
1808          test -z "$ac_c_werror_flag" ||
1809          test ! -s conftest.err
1810        } && test -s conftest$ac_exeext && {
1811          test "$cross_compiling" = yes ||
1812          $as_test_x conftest$ac_exeext
1813        }; then :
1814   ac_retval=0
1815 else
1816   $as_echo "$as_me: failed program was:" >&5
1817 sed 's/^/| /' conftest.$ac_ext >&5
1818
1819         ac_retval=1
1820 fi
1821   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1822   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1823   # interfere with the next link command; also delete a directory that is
1824   # left behind by Apple's compiler.  We do this before executing the actions.
1825   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1826   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1827   return $ac_retval
1828
1829 } # ac_fn_c_try_link
1830
1831 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1832 # -------------------------------------------------------
1833 # Tests whether HEADER exists and can be compiled using the include files in
1834 # INCLUDES, setting the cache variable VAR accordingly.
1835 ac_fn_c_check_header_compile ()
1836 {
1837   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1839 $as_echo_n "checking for $2... " >&6; }
1840 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1841   $as_echo_n "(cached) " >&6
1842 else
1843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1844 /* end confdefs.h.  */
1845 $4
1846 #include <$2>
1847 _ACEOF
1848 if ac_fn_c_try_compile "$LINENO"; then :
1849   eval "$3=yes"
1850 else
1851   eval "$3=no"
1852 fi
1853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1854 fi
1855 eval ac_res=\$$3
1856                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1857 $as_echo "$ac_res" >&6; }
1858   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1859
1860 } # ac_fn_c_check_header_compile
1861
1862 # ac_fn_c_try_run LINENO
1863 # ----------------------
1864 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1865 # that executables *can* be run.
1866 ac_fn_c_try_run ()
1867 {
1868   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1869   if { { ac_try="$ac_link"
1870 case "(($ac_try" in
1871   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1872   *) ac_try_echo=$ac_try;;
1873 esac
1874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1875 $as_echo "$ac_try_echo"; } >&5
1876   (eval "$ac_link") 2>&5
1877   ac_status=$?
1878   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1879   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1880   { { case "(($ac_try" in
1881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1882   *) ac_try_echo=$ac_try;;
1883 esac
1884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1885 $as_echo "$ac_try_echo"; } >&5
1886   (eval "$ac_try") 2>&5
1887   ac_status=$?
1888   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1889   test $ac_status = 0; }; }; then :
1890   ac_retval=0
1891 else
1892   $as_echo "$as_me: program exited with status $ac_status" >&5
1893        $as_echo "$as_me: failed program was:" >&5
1894 sed 's/^/| /' conftest.$ac_ext >&5
1895
1896        ac_retval=$ac_status
1897 fi
1898   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1899   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1900   return $ac_retval
1901
1902 } # ac_fn_c_try_run
1903
1904 # ac_fn_c_check_func LINENO FUNC VAR
1905 # ----------------------------------
1906 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1907 ac_fn_c_check_func ()
1908 {
1909   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1911 $as_echo_n "checking for $2... " >&6; }
1912 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1913   $as_echo_n "(cached) " >&6
1914 else
1915   if test x$gcc_no_link = xyes; then
1916   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1917 fi
1918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1919 /* end confdefs.h.  */
1920 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1921    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1922 #define $2 innocuous_$2
1923
1924 /* System header to define __stub macros and hopefully few prototypes,
1925     which can conflict with char $2 (); below.
1926     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1927     <limits.h> exists even on freestanding compilers.  */
1928
1929 #ifdef __STDC__
1930 # include <limits.h>
1931 #else
1932 # include <assert.h>
1933 #endif
1934
1935 #undef $2
1936
1937 /* Override any GCC internal prototype to avoid an error.
1938    Use char because int might match the return type of a GCC
1939    builtin and then its argument prototype would still apply.  */
1940 #ifdef __cplusplus
1941 extern "C"
1942 #endif
1943 char $2 ();
1944 /* The GNU C library defines this for functions which it implements
1945     to always fail with ENOSYS.  Some functions are actually named
1946     something starting with __ and the normal name is an alias.  */
1947 #if defined __stub_$2 || defined __stub___$2
1948 choke me
1949 #endif
1950
1951 int
1952 main ()
1953 {
1954 return $2 ();
1955   ;
1956   return 0;
1957 }
1958 _ACEOF
1959 if ac_fn_c_try_link "$LINENO"; then :
1960   eval "$3=yes"
1961 else
1962   eval "$3=no"
1963 fi
1964 rm -f core conftest.err conftest.$ac_objext \
1965     conftest$ac_exeext conftest.$ac_ext
1966 fi
1967 eval ac_res=\$$3
1968                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1969 $as_echo "$ac_res" >&6; }
1970   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1971
1972 } # ac_fn_c_check_func
1973
1974 # ac_fn_cxx_try_cpp LINENO
1975 # ------------------------
1976 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1977 ac_fn_cxx_try_cpp ()
1978 {
1979   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1980   if { { ac_try="$ac_cpp conftest.$ac_ext"
1981 case "(($ac_try" in
1982   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1983   *) ac_try_echo=$ac_try;;
1984 esac
1985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1986 $as_echo "$ac_try_echo"; } >&5
1987   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1988   ac_status=$?
1989   if test -s conftest.err; then
1990     grep -v '^ *+' conftest.err >conftest.er1
1991     cat conftest.er1 >&5
1992     mv -f conftest.er1 conftest.err
1993   fi
1994   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1995   test $ac_status = 0; } >/dev/null && {
1996          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1997          test ! -s conftest.err
1998        }; then :
1999   ac_retval=0
2000 else
2001   $as_echo "$as_me: failed program was:" >&5
2002 sed 's/^/| /' conftest.$ac_ext >&5
2003
2004     ac_retval=1
2005 fi
2006   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2007   return $ac_retval
2008
2009 } # ac_fn_cxx_try_cpp
2010
2011 # ac_fn_cxx_try_link LINENO
2012 # -------------------------
2013 # Try to link conftest.$ac_ext, and return whether this succeeded.
2014 ac_fn_cxx_try_link ()
2015 {
2016   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2017   rm -f conftest.$ac_objext conftest$ac_exeext
2018   if { { ac_try="$ac_link"
2019 case "(($ac_try" in
2020   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2021   *) ac_try_echo=$ac_try;;
2022 esac
2023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2024 $as_echo "$ac_try_echo"; } >&5
2025   (eval "$ac_link") 2>conftest.err
2026   ac_status=$?
2027   if test -s conftest.err; then
2028     grep -v '^ *+' conftest.err >conftest.er1
2029     cat conftest.er1 >&5
2030     mv -f conftest.er1 conftest.err
2031   fi
2032   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2033   test $ac_status = 0; } && {
2034          test -z "$ac_cxx_werror_flag" ||
2035          test ! -s conftest.err
2036        } && test -s conftest$ac_exeext && {
2037          test "$cross_compiling" = yes ||
2038          $as_test_x conftest$ac_exeext
2039        }; then :
2040   ac_retval=0
2041 else
2042   $as_echo "$as_me: failed program was:" >&5
2043 sed 's/^/| /' conftest.$ac_ext >&5
2044
2045         ac_retval=1
2046 fi
2047   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2048   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2049   # interfere with the next link command; also delete a directory that is
2050   # left behind by Apple's compiler.  We do this before executing the actions.
2051   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2052   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2053   return $ac_retval
2054
2055 } # ac_fn_cxx_try_link
2056
2057 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2058 # -------------------------------------------------------
2059 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2060 # the include files in INCLUDES and setting the cache variable VAR
2061 # accordingly.
2062 ac_fn_c_check_header_mongrel ()
2063 {
2064   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2065   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2067 $as_echo_n "checking for $2... " >&6; }
2068 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2069   $as_echo_n "(cached) " >&6
2070 fi
2071 eval ac_res=\$$3
2072                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2073 $as_echo "$ac_res" >&6; }
2074 else
2075   # Is the header compilable?
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2077 $as_echo_n "checking $2 usability... " >&6; }
2078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2079 /* end confdefs.h.  */
2080 $4
2081 #include <$2>
2082 _ACEOF
2083 if ac_fn_c_try_compile "$LINENO"; then :
2084   ac_header_compiler=yes
2085 else
2086   ac_header_compiler=no
2087 fi
2088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2090 $as_echo "$ac_header_compiler" >&6; }
2091
2092 # Is the header present?
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2094 $as_echo_n "checking $2 presence... " >&6; }
2095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2096 /* end confdefs.h.  */
2097 #include <$2>
2098 _ACEOF
2099 if ac_fn_c_try_cpp "$LINENO"; then :
2100   ac_header_preproc=yes
2101 else
2102   ac_header_preproc=no
2103 fi
2104 rm -f conftest.err conftest.$ac_ext
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2106 $as_echo "$ac_header_preproc" >&6; }
2107
2108 # So?  What about this header?
2109 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2110   yes:no: )
2111     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2112 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2113     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2114 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2115     ;;
2116   no:yes:* )
2117     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2118 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2119     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2120 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2121     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2122 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2123     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2124 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2125     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2126 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2127     ;;
2128 esac
2129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2130 $as_echo_n "checking for $2... " >&6; }
2131 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2132   $as_echo_n "(cached) " >&6
2133 else
2134   eval "$3=\$ac_header_compiler"
2135 fi
2136 eval ac_res=\$$3
2137                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2138 $as_echo "$ac_res" >&6; }
2139 fi
2140   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2141
2142 } # ac_fn_c_check_header_mongrel
2143
2144 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2145 # ---------------------------------------------------------
2146 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2147 # the include files in INCLUDES and setting the cache variable VAR
2148 # accordingly.
2149 ac_fn_cxx_check_header_mongrel ()
2150 {
2151   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2152   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2154 $as_echo_n "checking for $2... " >&6; }
2155 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2156   $as_echo_n "(cached) " >&6
2157 fi
2158 eval ac_res=\$$3
2159                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2160 $as_echo "$ac_res" >&6; }
2161 else
2162   # Is the header compilable?
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2164 $as_echo_n "checking $2 usability... " >&6; }
2165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2166 /* end confdefs.h.  */
2167 $4
2168 #include <$2>
2169 _ACEOF
2170 if ac_fn_cxx_try_compile "$LINENO"; then :
2171   ac_header_compiler=yes
2172 else
2173   ac_header_compiler=no
2174 fi
2175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2177 $as_echo "$ac_header_compiler" >&6; }
2178
2179 # Is the header present?
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2181 $as_echo_n "checking $2 presence... " >&6; }
2182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2183 /* end confdefs.h.  */
2184 #include <$2>
2185 _ACEOF
2186 if ac_fn_cxx_try_cpp "$LINENO"; then :
2187   ac_header_preproc=yes
2188 else
2189   ac_header_preproc=no
2190 fi
2191 rm -f conftest.err conftest.$ac_ext
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2193 $as_echo "$ac_header_preproc" >&6; }
2194
2195 # So?  What about this header?
2196 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2197   yes:no: )
2198     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2199 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2200     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2201 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2202     ;;
2203   no:yes:* )
2204     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2205 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2206     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2207 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2208     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2209 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2210     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2211 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2212     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2213 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2214     ;;
2215 esac
2216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2217 $as_echo_n "checking for $2... " >&6; }
2218 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2219   $as_echo_n "(cached) " >&6
2220 else
2221   eval "$3=\$ac_header_compiler"
2222 fi
2223 eval ac_res=\$$3
2224                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2225 $as_echo "$ac_res" >&6; }
2226 fi
2227   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2228
2229 } # ac_fn_cxx_check_header_mongrel
2230
2231 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2232 # --------------------------------------------
2233 # Tries to find the compile-time value of EXPR in a program that includes
2234 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2235 # computed
2236 ac_fn_c_compute_int ()
2237 {
2238   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2239   if test "$cross_compiling" = yes; then
2240     # Depending upon the size, compute the lo and hi bounds.
2241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2242 /* end confdefs.h.  */
2243 $4
2244 int
2245 main ()
2246 {
2247 static int test_array [1 - 2 * !(($2) >= 0)];
2248 test_array [0] = 0
2249
2250   ;
2251   return 0;
2252 }
2253 _ACEOF
2254 if ac_fn_c_try_compile "$LINENO"; then :
2255   ac_lo=0 ac_mid=0
2256   while :; do
2257     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2258 /* end confdefs.h.  */
2259 $4
2260 int
2261 main ()
2262 {
2263 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2264 test_array [0] = 0
2265
2266   ;
2267   return 0;
2268 }
2269 _ACEOF
2270 if ac_fn_c_try_compile "$LINENO"; then :
2271   ac_hi=$ac_mid; break
2272 else
2273   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2274                         if test $ac_lo -le $ac_mid; then
2275                           ac_lo= ac_hi=
2276                           break
2277                         fi
2278                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2279 fi
2280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2281   done
2282 else
2283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h.  */
2285 $4
2286 int
2287 main ()
2288 {
2289 static int test_array [1 - 2 * !(($2) < 0)];
2290 test_array [0] = 0
2291
2292   ;
2293   return 0;
2294 }
2295 _ACEOF
2296 if ac_fn_c_try_compile "$LINENO"; then :
2297   ac_hi=-1 ac_mid=-1
2298   while :; do
2299     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2300 /* end confdefs.h.  */
2301 $4
2302 int
2303 main ()
2304 {
2305 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2306 test_array [0] = 0
2307
2308   ;
2309   return 0;
2310 }
2311 _ACEOF
2312 if ac_fn_c_try_compile "$LINENO"; then :
2313   ac_lo=$ac_mid; break
2314 else
2315   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2316                         if test $ac_mid -le $ac_hi; then
2317                           ac_lo= ac_hi=
2318                           break
2319                         fi
2320                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2321 fi
2322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2323   done
2324 else
2325   ac_lo= ac_hi=
2326 fi
2327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2328 fi
2329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2330 # Binary search between lo and hi bounds.
2331 while test "x$ac_lo" != "x$ac_hi"; do
2332   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2334 /* end confdefs.h.  */
2335 $4
2336 int
2337 main ()
2338 {
2339 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2340 test_array [0] = 0
2341
2342   ;
2343   return 0;
2344 }
2345 _ACEOF
2346 if ac_fn_c_try_compile "$LINENO"; then :
2347   ac_hi=$ac_mid
2348 else
2349   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2350 fi
2351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2352 done
2353 case $ac_lo in #((
2354 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2355 '') ac_retval=1 ;;
2356 esac
2357   else
2358     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2359 /* end confdefs.h.  */
2360 $4
2361 static long int longval () { return $2; }
2362 static unsigned long int ulongval () { return $2; }
2363 #include <stdio.h>
2364 #include <stdlib.h>
2365 int
2366 main ()
2367 {
2368
2369   FILE *f = fopen ("conftest.val", "w");
2370   if (! f)
2371     return 1;
2372   if (($2) < 0)
2373     {
2374       long int i = longval ();
2375       if (i != ($2))
2376         return 1;
2377       fprintf (f, "%ld", i);
2378     }
2379   else
2380     {
2381       unsigned long int i = ulongval ();
2382       if (i != ($2))
2383         return 1;
2384       fprintf (f, "%lu", i);
2385     }
2386   /* Do not output a trailing newline, as this causes \r\n confusion
2387      on some platforms.  */
2388   return ferror (f) || fclose (f) != 0;
2389
2390   ;
2391   return 0;
2392 }
2393 _ACEOF
2394 if ac_fn_c_try_run "$LINENO"; then :
2395   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2396 else
2397   ac_retval=1
2398 fi
2399 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2400   conftest.$ac_objext conftest.beam conftest.$ac_ext
2401 rm -f conftest.val
2402
2403   fi
2404   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2405   return $ac_retval
2406
2407 } # ac_fn_c_compute_int
2408
2409 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2410 # -------------------------------------------
2411 # Tests whether TYPE exists after having included INCLUDES, setting cache
2412 # variable VAR accordingly.
2413 ac_fn_c_check_type ()
2414 {
2415   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2417 $as_echo_n "checking for $2... " >&6; }
2418 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2419   $as_echo_n "(cached) " >&6
2420 else
2421   eval "$3=no"
2422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2423 /* end confdefs.h.  */
2424 $4
2425 int
2426 main ()
2427 {
2428 if (sizeof ($2))
2429          return 0;
2430   ;
2431   return 0;
2432 }
2433 _ACEOF
2434 if ac_fn_c_try_compile "$LINENO"; then :
2435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2436 /* end confdefs.h.  */
2437 $4
2438 int
2439 main ()
2440 {
2441 if (sizeof (($2)))
2442             return 0;
2443   ;
2444   return 0;
2445 }
2446 _ACEOF
2447 if ac_fn_c_try_compile "$LINENO"; then :
2448
2449 else
2450   eval "$3=yes"
2451 fi
2452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2453 fi
2454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2455 fi
2456 eval ac_res=\$$3
2457                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2458 $as_echo "$ac_res" >&6; }
2459   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2460
2461 } # ac_fn_c_check_type
2462 cat >config.log <<_ACEOF
2463 This file contains any messages produced by compilers while
2464 running configure, to aid debugging if configure makes a mistake.
2465
2466 It was created by package-unused $as_me version-unused, which was
2467 generated by GNU Autoconf 2.64.  Invocation command line was
2468
2469   $ $0 $@
2470
2471 _ACEOF
2472 exec 5>>config.log
2473 {
2474 cat <<_ASUNAME
2475 ## --------- ##
2476 ## Platform. ##
2477 ## --------- ##
2478
2479 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2480 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2481 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2482 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2483 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2484
2485 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2486 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2487
2488 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2489 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2490 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2491 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2492 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2493 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2494 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2495
2496 _ASUNAME
2497
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499 for as_dir in $PATH
2500 do
2501   IFS=$as_save_IFS
2502   test -z "$as_dir" && as_dir=.
2503     $as_echo "PATH: $as_dir"
2504   done
2505 IFS=$as_save_IFS
2506
2507 } >&5
2508
2509 cat >&5 <<_ACEOF
2510
2511
2512 ## ----------- ##
2513 ## Core tests. ##
2514 ## ----------- ##
2515
2516 _ACEOF
2517
2518
2519 # Keep a trace of the command line.
2520 # Strip out --no-create and --no-recursion so they do not pile up.
2521 # Strip out --silent because we don't want to record it for future runs.
2522 # Also quote any args containing shell meta-characters.
2523 # Make two passes to allow for proper duplicate-argument suppression.
2524 ac_configure_args=
2525 ac_configure_args0=
2526 ac_configure_args1=
2527 ac_must_keep_next=false
2528 for ac_pass in 1 2
2529 do
2530   for ac_arg
2531   do
2532     case $ac_arg in
2533     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2534     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2535     | -silent | --silent | --silen | --sile | --sil)
2536       continue ;;
2537     *\'*)
2538       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2539     esac
2540     case $ac_pass in
2541     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2542     2)
2543       as_fn_append ac_configure_args1 " '$ac_arg'"
2544       if test $ac_must_keep_next = true; then
2545         ac_must_keep_next=false # Got value, back to normal.
2546       else
2547         case $ac_arg in
2548           *=* | --config-cache | -C | -disable-* | --disable-* \
2549           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2550           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2551           | -with-* | --with-* | -without-* | --without-* | --x)
2552             case "$ac_configure_args0 " in
2553               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2554             esac
2555             ;;
2556           -* ) ac_must_keep_next=true ;;
2557         esac
2558       fi
2559       as_fn_append ac_configure_args " '$ac_arg'"
2560       ;;
2561     esac
2562   done
2563 done
2564 { ac_configure_args0=; unset ac_configure_args0;}
2565 { ac_configure_args1=; unset ac_configure_args1;}
2566
2567 # When interrupted or exit'd, cleanup temporary files, and complete
2568 # config.log.  We remove comments because anyway the quotes in there
2569 # would cause problems or look ugly.
2570 # WARNING: Use '\'' to represent an apostrophe within the trap.
2571 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2572 trap 'exit_status=$?
2573   # Save into config.log some information that might help in debugging.
2574   {
2575     echo
2576
2577     cat <<\_ASBOX
2578 ## ---------------- ##
2579 ## Cache variables. ##
2580 ## ---------------- ##
2581 _ASBOX
2582     echo
2583     # The following way of writing the cache mishandles newlines in values,
2584 (
2585   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2586     eval ac_val=\$$ac_var
2587     case $ac_val in #(
2588     *${as_nl}*)
2589       case $ac_var in #(
2590       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2591 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2592       esac
2593       case $ac_var in #(
2594       _ | IFS | as_nl) ;; #(
2595       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2596       *) { eval $ac_var=; unset $ac_var;} ;;
2597       esac ;;
2598     esac
2599   done
2600   (set) 2>&1 |
2601     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2602     *${as_nl}ac_space=\ *)
2603       sed -n \
2604         "s/'\''/'\''\\\\'\'''\''/g;
2605           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2606       ;; #(
2607     *)
2608       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2609       ;;
2610     esac |
2611     sort
2612 )
2613     echo
2614
2615     cat <<\_ASBOX
2616 ## ----------------- ##
2617 ## Output variables. ##
2618 ## ----------------- ##
2619 _ASBOX
2620     echo
2621     for ac_var in $ac_subst_vars
2622     do
2623       eval ac_val=\$$ac_var
2624       case $ac_val in
2625       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2626       esac
2627       $as_echo "$ac_var='\''$ac_val'\''"
2628     done | sort
2629     echo
2630
2631     if test -n "$ac_subst_files"; then
2632       cat <<\_ASBOX
2633 ## ------------------- ##
2634 ## File substitutions. ##
2635 ## ------------------- ##
2636 _ASBOX
2637       echo
2638       for ac_var in $ac_subst_files
2639       do
2640         eval ac_val=\$$ac_var
2641         case $ac_val in
2642         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2643         esac
2644         $as_echo "$ac_var='\''$ac_val'\''"
2645       done | sort
2646       echo
2647     fi
2648
2649     if test -s confdefs.h; then
2650       cat <<\_ASBOX
2651 ## ----------- ##
2652 ## confdefs.h. ##
2653 ## ----------- ##
2654 _ASBOX
2655       echo
2656       cat confdefs.h
2657       echo
2658     fi
2659     test "$ac_signal" != 0 &&
2660       $as_echo "$as_me: caught signal $ac_signal"
2661     $as_echo "$as_me: exit $exit_status"
2662   } >&5
2663   rm -f core *.core core.conftest.* &&
2664     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2665     exit $exit_status
2666 ' 0
2667 for ac_signal in 1 2 13 15; do
2668   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2669 done
2670 ac_signal=0
2671
2672 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2673 rm -f -r conftest* confdefs.h
2674
2675 $as_echo "/* confdefs.h */" > confdefs.h
2676
2677 # Predefined preprocessor variables.
2678
2679 cat >>confdefs.h <<_ACEOF
2680 #define PACKAGE_NAME "$PACKAGE_NAME"
2681 _ACEOF
2682
2683 cat >>confdefs.h <<_ACEOF
2684 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2685 _ACEOF
2686
2687 cat >>confdefs.h <<_ACEOF
2688 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2689 _ACEOF
2690
2691 cat >>confdefs.h <<_ACEOF
2692 #define PACKAGE_STRING "$PACKAGE_STRING"
2693 _ACEOF
2694
2695 cat >>confdefs.h <<_ACEOF
2696 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2697 _ACEOF
2698
2699 cat >>confdefs.h <<_ACEOF
2700 #define PACKAGE_URL "$PACKAGE_URL"
2701 _ACEOF
2702
2703
2704 # Let the site file select an alternate cache file if it wants to.
2705 # Prefer an explicitly selected file to automatically selected ones.
2706 ac_site_file1=NONE
2707 ac_site_file2=NONE
2708 if test -n "$CONFIG_SITE"; then
2709   ac_site_file1=$CONFIG_SITE
2710 elif test "x$prefix" != xNONE; then
2711   ac_site_file1=$prefix/share/config.site
2712   ac_site_file2=$prefix/etc/config.site
2713 else
2714   ac_site_file1=$ac_default_prefix/share/config.site
2715   ac_site_file2=$ac_default_prefix/etc/config.site
2716 fi
2717 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2718 do
2719   test "x$ac_site_file" = xNONE && continue
2720   if test -r "$ac_site_file"; then
2721     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2722 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2723     sed 's/^/| /' "$ac_site_file" >&5
2724     . "$ac_site_file"
2725   fi
2726 done
2727
2728 if test -r "$cache_file"; then
2729   # Some versions of bash will fail to source /dev/null (special
2730   # files actually), so we avoid doing that.
2731   if test -f "$cache_file"; then
2732     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2733 $as_echo "$as_me: loading cache $cache_file" >&6;}
2734     case $cache_file in
2735       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2736       *)                      . "./$cache_file";;
2737     esac
2738   fi
2739 else
2740   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2741 $as_echo "$as_me: creating cache $cache_file" >&6;}
2742   >$cache_file
2743 fi
2744
2745 # Check that the precious variables saved in the cache have kept the same
2746 # value.
2747 ac_cache_corrupted=false
2748 for ac_var in $ac_precious_vars; do
2749   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2750   eval ac_new_set=\$ac_env_${ac_var}_set
2751   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2752   eval ac_new_val=\$ac_env_${ac_var}_value
2753   case $ac_old_set,$ac_new_set in
2754     set,)
2755       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2756 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2757       ac_cache_corrupted=: ;;
2758     ,set)
2759       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2760 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2761       ac_cache_corrupted=: ;;
2762     ,);;
2763     *)
2764       if test "x$ac_old_val" != "x$ac_new_val"; then
2765         # differences in whitespace do not lead to failure.
2766         ac_old_val_w=`echo x $ac_old_val`
2767         ac_new_val_w=`echo x $ac_new_val`
2768         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2769           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2770 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2771           ac_cache_corrupted=:
2772         else
2773           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2774 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2775           eval $ac_var=\$ac_old_val
2776         fi
2777         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2778 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2779         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2780 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2781       fi;;
2782   esac
2783   # Pass precious variables to config.status.
2784   if test "$ac_new_set" = set; then
2785     case $ac_new_val in
2786     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2787     *) ac_arg=$ac_var=$ac_new_val ;;
2788     esac
2789     case " $ac_configure_args " in
2790       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2791       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2792     esac
2793   fi
2794 done
2795 if $ac_cache_corrupted; then
2796   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2798   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2799 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2800   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2801 fi
2802 ## -------------------- ##
2803 ## Main body of script. ##
2804 ## -------------------- ##
2805
2806 ac_ext=c
2807 ac_cpp='$CPP $CPPFLAGS'
2808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2811
2812
2813
2814
2815
2816
2817 ac_config_headers="$ac_config_headers config.h"
2818
2819
2820 # This works around the fact that libtool configuration may change LD
2821 # for this particular configuration, but some shells, instead of
2822 # keeping the changes in LD private, export them just because LD is
2823 # exported.  Only used at the end of this file.
2824 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2825
2826 # For libtool versioning info, format is CURRENT:REVISION:AGE
2827 libtool_VERSION=6:15:0
2828
2829
2830 # Find the rest of the source tree framework.
2831 # Default to --enable-multilib
2832 # Check whether --enable-multilib was given.
2833 if test "${enable_multilib+set}" = set; then :
2834   enableval=$enable_multilib; case "$enableval" in
2835   yes) multilib=yes ;;
2836   no)  multilib=no ;;
2837   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2838  esac
2839 else
2840   multilib=yes
2841 fi
2842
2843
2844 # We may get other options which we leave undocumented:
2845 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2846 # See config-ml.in if you want the gory details.
2847
2848 if test "$srcdir" = "."; then
2849   if test "$with_target_subdir" != "."; then
2850     multi_basedir="$srcdir/$with_multisrctop../.."
2851   else
2852     multi_basedir="$srcdir/$with_multisrctop.."
2853   fi
2854 else
2855   multi_basedir="$srcdir/.."
2856 fi
2857
2858
2859 # Even if the default multilib is not a cross compilation,
2860 # it may be that some of the other multilibs are.
2861 if test $cross_compiling = no && test $multilib = yes \
2862    && test "x${with_multisubdir}" != x ; then
2863    cross_compiling=maybe
2864 fi
2865
2866 ac_config_commands="$ac_config_commands default-1"
2867
2868
2869 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2870 #
2871 # You will slowly go insane if you do not grok the following fact:  when
2872 # building v3 as part of the compiler, the top-level /target/ becomes the
2873 # library's /host/.  configure then causes --target to default to --host,
2874 # exactly like any other package using autoconf.  Therefore, 'target' and
2875 # 'host' will always be the same.  This makes sense both for native and
2876 # cross compilers, just think about it for a little while.  :-)
2877 #
2878 # Also, if v3 is being configured as part of a cross compiler, the top-level
2879 # configure script will pass the "real" host as $with_cross_host.
2880 #
2881 # Do not delete or change the following two lines.  For why, see
2882 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2883 ac_aux_dir=
2884 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2885   for ac_t in install-sh install.sh shtool; do
2886     if test -f "$ac_dir/$ac_t"; then
2887       ac_aux_dir=$ac_dir
2888       ac_install_sh="$ac_aux_dir/$ac_t -c"
2889       break 2
2890     fi
2891   done
2892 done
2893 if test -z "$ac_aux_dir"; then
2894   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2895 fi
2896
2897 # These three variables are undocumented and unsupported,
2898 # and are intended to be withdrawn in a future Autoconf release.
2899 # They can cause serious problems if a builder's source tree is in a directory
2900 # whose full name contains unusual characters.
2901 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2902 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2903 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2904
2905
2906 # Make sure we can run config.sub.
2907 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2908   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2909
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2911 $as_echo_n "checking build system type... " >&6; }
2912 if test "${ac_cv_build+set}" = set; then :
2913   $as_echo_n "(cached) " >&6
2914 else
2915   ac_build_alias=$build_alias
2916 test "x$ac_build_alias" = x &&
2917   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2918 test "x$ac_build_alias" = x &&
2919   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2920 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2921   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2922
2923 fi
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2925 $as_echo "$ac_cv_build" >&6; }
2926 case $ac_cv_build in
2927 *-*-*) ;;
2928 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2929 esac
2930 build=$ac_cv_build
2931 ac_save_IFS=$IFS; IFS='-'
2932 set x $ac_cv_build
2933 shift
2934 build_cpu=$1
2935 build_vendor=$2
2936 shift; shift
2937 # Remember, the first character of IFS is used to create $*,
2938 # except with old shells:
2939 build_os=$*
2940 IFS=$ac_save_IFS
2941 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2942
2943
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2945 $as_echo_n "checking host system type... " >&6; }
2946 if test "${ac_cv_host+set}" = set; then :
2947   $as_echo_n "(cached) " >&6
2948 else
2949   if test "x$host_alias" = x; then
2950   ac_cv_host=$ac_cv_build
2951 else
2952   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2953     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2954 fi
2955
2956 fi
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2958 $as_echo "$ac_cv_host" >&6; }
2959 case $ac_cv_host in
2960 *-*-*) ;;
2961 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2962 esac
2963 host=$ac_cv_host
2964 ac_save_IFS=$IFS; IFS='-'
2965 set x $ac_cv_host
2966 shift
2967 host_cpu=$1
2968 host_vendor=$2
2969 shift; shift
2970 # Remember, the first character of IFS is used to create $*,
2971 # except with old shells:
2972 host_os=$*
2973 IFS=$ac_save_IFS
2974 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2975
2976
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2978 $as_echo_n "checking target system type... " >&6; }
2979 if test "${ac_cv_target+set}" = set; then :
2980   $as_echo_n "(cached) " >&6
2981 else
2982   if test "x$target_alias" = x; then
2983   ac_cv_target=$ac_cv_host
2984 else
2985   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2986     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2987 fi
2988
2989 fi
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2991 $as_echo "$ac_cv_target" >&6; }
2992 case $ac_cv_target in
2993 *-*-*) ;;
2994 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2995 esac
2996 target=$ac_cv_target
2997 ac_save_IFS=$IFS; IFS='-'
2998 set x $ac_cv_target
2999 shift
3000 target_cpu=$1
3001 target_vendor=$2
3002 shift; shift
3003 # Remember, the first character of IFS is used to create $*,
3004 # except with old shells:
3005 target_os=$*
3006 IFS=$ac_save_IFS
3007 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3008
3009
3010 # The aliases save the names the user supplied, while $host etc.
3011 # will get canonicalized.
3012 test -n "$target_alias" &&
3013   test "$program_prefix$program_suffix$program_transform_name" = \
3014     NONENONEs,x,x, &&
3015   program_prefix=${target_alias}-
3016
3017 target_alias=${target_alias-$host_alias}
3018
3019 # Handy for debugging:
3020 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3021
3022 if test "$build" != "$host"; then
3023   # We are being configured with some form of cross compiler.
3024   GLIBCXX_IS_NATIVE=false
3025   case "$host","$target" in
3026     # Darwin crosses can use the host system's libraries and headers,
3027     # because of the fat library support.  Of course, it must be the
3028     # same version of Darwin on both sides.  Allow the user to
3029     # just say --target=foo-darwin without a version number to mean
3030     # "the version on this system".
3031       *-*-darwin*,*-*-darwin*)
3032         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3033         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3034         if test $hostos = $targetos -o $targetos = darwin ; then
3035           GLIBCXX_IS_NATIVE=true
3036         fi
3037         ;;
3038
3039       *)
3040
3041         ;;
3042   esac
3043 else
3044   GLIBCXX_IS_NATIVE=true
3045 fi
3046
3047 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3048 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3049 #  1.x:  minimum required version
3050 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3051 #              of other PACKAGE_* variables will, however, and there's nothing
3052 #              we can do about that; they come from AC_INIT).
3053 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3054 #            file in the top srcdir, etc, etc), so stop complaining.
3055 #  no-dependencies:  turns off auto dependency generation (just for now)
3056 #  no-dist:  we don't want 'dist' and related rules.
3057 #  -Wall:  turns on all automake warnings...
3058 #  -Wno-portability:  ...except this one, since GNU make is now required.
3059 am__api_version='1.11'
3060
3061 # Find a good install program.  We prefer a C program (faster),
3062 # so one script is as good as another.  But avoid the broken or
3063 # incompatible versions:
3064 # SysV /etc/install, /usr/sbin/install
3065 # SunOS /usr/etc/install
3066 # IRIX /sbin/install
3067 # AIX /bin/install
3068 # AmigaOS /C/install, which installs bootblocks on floppy discs
3069 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3070 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3071 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3072 # OS/2's system install, which has a completely different semantic
3073 # ./install, which can be erroneously created by make from ./install.sh.
3074 # Reject install programs that cannot install multiple files.
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3076 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3077 if test -z "$INSTALL"; then
3078 if test "${ac_cv_path_install+set}" = set; then :
3079   $as_echo_n "(cached) " >&6
3080 else
3081   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3082 for as_dir in $PATH
3083 do
3084   IFS=$as_save_IFS
3085   test -z "$as_dir" && as_dir=.
3086     # Account for people who put trailing slashes in PATH elements.
3087 case $as_dir/ in #((
3088   ./ | .// | /[cC]/* | \
3089   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3090   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3091   /usr/ucb/* ) ;;
3092   *)
3093     # OSF1 and SCO ODT 3.0 have their own names for install.
3094     # Don't use installbsd from OSF since it installs stuff as root
3095     # by default.
3096     for ac_prog in ginstall scoinst install; do
3097       for ac_exec_ext in '' $ac_executable_extensions; do
3098         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3099           if test $ac_prog = install &&
3100             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3101             # AIX install.  It has an incompatible calling convention.
3102             :
3103           elif test $ac_prog = install &&
3104             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3105             # program-specific install script used by HP pwplus--don't use.
3106             :
3107           else
3108             rm -rf conftest.one conftest.two conftest.dir
3109             echo one > conftest.one
3110             echo two > conftest.two
3111             mkdir conftest.dir
3112             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3113               test -s conftest.one && test -s conftest.two &&
3114               test -s conftest.dir/conftest.one &&
3115               test -s conftest.dir/conftest.two
3116             then
3117               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3118               break 3
3119             fi
3120           fi
3121         fi
3122       done
3123     done
3124     ;;
3125 esac
3126
3127   done
3128 IFS=$as_save_IFS
3129
3130 rm -rf conftest.one conftest.two conftest.dir
3131
3132 fi
3133   if test "${ac_cv_path_install+set}" = set; then
3134     INSTALL=$ac_cv_path_install
3135   else
3136     # As a last resort, use the slow shell script.  Don't cache a
3137     # value for INSTALL within a source directory, because that will
3138     # break other packages using the cache if that directory is
3139     # removed, or if the value is a relative name.
3140     INSTALL=$ac_install_sh
3141   fi
3142 fi
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3144 $as_echo "$INSTALL" >&6; }
3145
3146 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3147 # It thinks the first close brace ends the variable substitution.
3148 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3149
3150 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3151
3152 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3153
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3155 $as_echo_n "checking whether build environment is sane... " >&6; }
3156 # Just in case
3157 sleep 1
3158 echo timestamp > conftest.file
3159 # Reject unsafe characters in $srcdir or the absolute working directory
3160 # name.  Accept space and tab only in the latter.
3161 am_lf='
3162 '
3163 case `pwd` in
3164   *[\\\"\#\$\&\'\`$am_lf]*)
3165     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3166 esac
3167 case $srcdir in
3168   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3169     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3170 esac
3171
3172 # Do `set' in a subshell so we don't clobber the current shell's
3173 # arguments.  Must try -L first in case configure is actually a
3174 # symlink; some systems play weird games with the mod time of symlinks
3175 # (eg FreeBSD returns the mod time of the symlink's containing
3176 # directory).
3177 if (
3178    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3179    if test "$*" = "X"; then
3180       # -L didn't work.
3181       set X `ls -t "$srcdir/configure" conftest.file`
3182    fi
3183    rm -f conftest.file
3184    if test "$*" != "X $srcdir/configure conftest.file" \
3185       && test "$*" != "X conftest.file $srcdir/configure"; then
3186
3187       # If neither matched, then we have a broken ls.  This can happen
3188       # if, for instance, CONFIG_SHELL is bash and it inherits a
3189       # broken ls alias from the environment.  This has actually
3190       # happened.  Such a system could not be considered "sane".
3191       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3192 alias in your environment" "$LINENO" 5
3193    fi
3194
3195    test "$2" = conftest.file
3196    )
3197 then
3198    # Ok.
3199    :
3200 else
3201    as_fn_error "newly created file is older than distributed files!
3202 Check your system clock" "$LINENO" 5
3203 fi
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3205 $as_echo "yes" >&6; }
3206 test "$program_prefix" != NONE &&
3207   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3208 # Use a double $ so make ignores it.
3209 test "$program_suffix" != NONE &&
3210   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3211 # Double any \ or $.
3212 # By default was `s,x,x', remove it if useless.
3213 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3214 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3215
3216 # expand $ac_aux_dir to an absolute path
3217 am_aux_dir=`cd $ac_aux_dir && pwd`
3218
3219 if test x"${MISSING+set}" != xset; then
3220   case $am_aux_dir in
3221   *\ * | *\     *)
3222     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3223   *)
3224     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3225   esac
3226 fi
3227 # Use eval to expand $SHELL
3228 if eval "$MISSING --run true"; then
3229   am_missing_run="$MISSING --run "
3230 else
3231   am_missing_run=
3232   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3233 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3234 fi
3235
3236 if test x"${install_sh}" != xset; then
3237   case $am_aux_dir in
3238   *\ * | *\     *)
3239     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3240   *)
3241     install_sh="\${SHELL} $am_aux_dir/install-sh"
3242   esac
3243 fi
3244
3245 # Installed binaries are usually stripped using `strip' when the user
3246 # run `make install-strip'.  However `strip' might not be the right
3247 # tool to use in cross-compilation environments, therefore Automake
3248 # will honor the `STRIP' environment variable to overrule this program.
3249 if test "$cross_compiling" != no; then
3250   if test -n "$ac_tool_prefix"; then
3251   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3252 set dummy ${ac_tool_prefix}strip; ac_word=$2
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3254 $as_echo_n "checking for $ac_word... " >&6; }
3255 if test "${ac_cv_prog_STRIP+set}" = set; then :
3256   $as_echo_n "(cached) " >&6
3257 else
3258   if test -n "$STRIP"; then
3259   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3260 else
3261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262 for as_dir in $PATH
3263 do
3264   IFS=$as_save_IFS
3265   test -z "$as_dir" && as_dir=.
3266     for ac_exec_ext in '' $ac_executable_extensions; do
3267   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3268     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3269     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3270     break 2
3271   fi
3272 done
3273   done
3274 IFS=$as_save_IFS
3275
3276 fi
3277 fi
3278 STRIP=$ac_cv_prog_STRIP
3279 if test -n "$STRIP"; then
3280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3281 $as_echo "$STRIP" >&6; }
3282 else
3283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3284 $as_echo "no" >&6; }
3285 fi
3286
3287
3288 fi
3289 if test -z "$ac_cv_prog_STRIP"; then
3290   ac_ct_STRIP=$STRIP
3291   # Extract the first word of "strip", so it can be a program name with args.
3292 set dummy strip; ac_word=$2
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3294 $as_echo_n "checking for $ac_word... " >&6; }
3295 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3296   $as_echo_n "(cached) " >&6
3297 else
3298   if test -n "$ac_ct_STRIP"; then
3299   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3300 else
3301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3302 for as_dir in $PATH
3303 do
3304   IFS=$as_save_IFS
3305   test -z "$as_dir" && as_dir=.
3306     for ac_exec_ext in '' $ac_executable_extensions; do
3307   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3308     ac_cv_prog_ac_ct_STRIP="strip"
3309     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3310     break 2
3311   fi
3312 done
3313   done
3314 IFS=$as_save_IFS
3315
3316 fi
3317 fi
3318 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3319 if test -n "$ac_ct_STRIP"; then
3320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3321 $as_echo "$ac_ct_STRIP" >&6; }
3322 else
3323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3324 $as_echo "no" >&6; }
3325 fi
3326
3327   if test "x$ac_ct_STRIP" = x; then
3328     STRIP=":"
3329   else
3330     case $cross_compiling:$ac_tool_warned in
3331 yes:)
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3333 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3334 ac_tool_warned=yes ;;
3335 esac
3336     STRIP=$ac_ct_STRIP
3337   fi
3338 else
3339   STRIP="$ac_cv_prog_STRIP"
3340 fi
3341
3342 fi
3343 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3344
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3346 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3347 if test -z "$MKDIR_P"; then
3348   if test "${ac_cv_path_mkdir+set}" = set; then :
3349   $as_echo_n "(cached) " >&6
3350 else
3351   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3352 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3353 do
3354   IFS=$as_save_IFS
3355   test -z "$as_dir" && as_dir=.
3356     for ac_prog in mkdir gmkdir; do
3357          for ac_exec_ext in '' $ac_executable_extensions; do
3358            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3359            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3360              'mkdir (GNU coreutils) '* | \
3361              'mkdir (coreutils) '* | \
3362              'mkdir (fileutils) '4.1*)
3363                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3364                break 3;;
3365            esac
3366          done
3367        done
3368   done
3369 IFS=$as_save_IFS
3370
3371 fi
3372
3373   if test "${ac_cv_path_mkdir+set}" = set; then
3374     MKDIR_P="$ac_cv_path_mkdir -p"
3375   else
3376     # As a last resort, use the slow shell script.  Don't cache a
3377     # value for MKDIR_P within a source directory, because that will
3378     # break other packages using the cache if that directory is
3379     # removed, or if the value is a relative name.
3380     test -d ./--version && rmdir ./--version
3381     MKDIR_P="$ac_install_sh -d"
3382   fi
3383 fi
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3385 $as_echo "$MKDIR_P" >&6; }
3386
3387 mkdir_p="$MKDIR_P"
3388 case $mkdir_p in
3389   [\\/$]* | ?:[\\/]*) ;;
3390   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3391 esac
3392
3393 for ac_prog in gawk mawk nawk awk
3394 do
3395   # Extract the first word of "$ac_prog", so it can be a program name with args.
3396 set dummy $ac_prog; ac_word=$2
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3398 $as_echo_n "checking for $ac_word... " >&6; }
3399 if test "${ac_cv_prog_AWK+set}" = set; then :
3400   $as_echo_n "(cached) " >&6
3401 else
3402   if test -n "$AWK"; then
3403   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3404 else
3405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406 for as_dir in $PATH
3407 do
3408   IFS=$as_save_IFS
3409   test -z "$as_dir" && as_dir=.
3410     for ac_exec_ext in '' $ac_executable_extensions; do
3411   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3412     ac_cv_prog_AWK="$ac_prog"
3413     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3414     break 2
3415   fi
3416 done
3417   done
3418 IFS=$as_save_IFS
3419
3420 fi
3421 fi
3422 AWK=$ac_cv_prog_AWK
3423 if test -n "$AWK"; then
3424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3425 $as_echo "$AWK" >&6; }
3426 else
3427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3428 $as_echo "no" >&6; }
3429 fi
3430
3431
3432   test -n "$AWK" && break
3433 done
3434
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3436 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3437 set x ${MAKE-make}
3438 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3439 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3440   $as_echo_n "(cached) " >&6
3441 else
3442   cat >conftest.make <<\_ACEOF
3443 SHELL = /bin/sh
3444 all:
3445         @echo '@@@%%%=$(MAKE)=@@@%%%'
3446 _ACEOF
3447 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3448 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3449   *@@@%%%=?*=@@@%%%*)
3450     eval ac_cv_prog_make_${ac_make}_set=yes;;
3451   *)
3452     eval ac_cv_prog_make_${ac_make}_set=no;;
3453 esac
3454 rm -f conftest.make
3455 fi
3456 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3458 $as_echo "yes" >&6; }
3459   SET_MAKE=
3460 else
3461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3462 $as_echo "no" >&6; }
3463   SET_MAKE="MAKE=${MAKE-make}"
3464 fi
3465
3466 rm -rf .tst 2>/dev/null
3467 mkdir .tst 2>/dev/null
3468 if test -d .tst; then
3469   am__leading_dot=.
3470 else
3471   am__leading_dot=_
3472 fi
3473 rmdir .tst 2>/dev/null
3474
3475 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3476   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3477   # is not polluted with repeated "-I."
3478   am__isrc=' -I$(srcdir)'
3479   # test to see if srcdir already configured
3480   if test -f $srcdir/config.status; then
3481     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3482   fi
3483 fi
3484
3485 # test whether we have cygpath
3486 if test -z "$CYGPATH_W"; then
3487   if (cygpath --version) >/dev/null 2>/dev/null; then
3488     CYGPATH_W='cygpath -w'
3489   else
3490     CYGPATH_W=echo
3491   fi
3492 fi
3493
3494
3495 # Define the identity of the package.
3496  PACKAGE='libstdc++'
3497  VERSION='version-unused'
3498
3499
3500 # Some tools Automake needs.
3501
3502 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3503
3504
3505 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3506
3507
3508 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3509
3510
3511 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3512
3513
3514 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3515
3516 # We need awk for the "check" target.  The system "awk" is bad on
3517 # some platforms.
3518 # Always define AMTAR for backward compatibility.
3519
3520 AMTAR=${AMTAR-"${am_missing_run}tar"}
3521
3522 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3523
3524
3525
3526
3527
3528
3529
3530
3531 # -fno-builtin must be present here so that a non-conflicting form of
3532 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3533
3534 save_CXXFLAGS="$CXXFLAGS"
3535 CXXFLAGS="$CXXFLAGS -fno-builtin"
3536 ac_ext=c
3537 ac_cpp='$CPP $CPPFLAGS'
3538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3541 if test -n "$ac_tool_prefix"; then
3542   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3543 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3545 $as_echo_n "checking for $ac_word... " >&6; }
3546 if test "${ac_cv_prog_CC+set}" = set; then :
3547   $as_echo_n "(cached) " >&6
3548 else
3549   if test -n "$CC"; then
3550   ac_cv_prog_CC="$CC" # Let the user override the test.
3551 else
3552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3553 for as_dir in $PATH
3554 do
3555   IFS=$as_save_IFS
3556   test -z "$as_dir" && as_dir=.
3557     for ac_exec_ext in '' $ac_executable_extensions; do
3558   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3559     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3560     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3561     break 2
3562   fi
3563 done
3564   done
3565 IFS=$as_save_IFS
3566
3567 fi
3568 fi
3569 CC=$ac_cv_prog_CC
3570 if test -n "$CC"; then
3571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3572 $as_echo "$CC" >&6; }
3573 else
3574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3575 $as_echo "no" >&6; }
3576 fi
3577
3578
3579 fi
3580 if test -z "$ac_cv_prog_CC"; then
3581   ac_ct_CC=$CC
3582   # Extract the first word of "gcc", so it can be a program name with args.
3583 set dummy gcc; ac_word=$2
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3585 $as_echo_n "checking for $ac_word... " >&6; }
3586 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3587   $as_echo_n "(cached) " >&6
3588 else
3589   if test -n "$ac_ct_CC"; then
3590   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3591 else
3592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3593 for as_dir in $PATH
3594 do
3595   IFS=$as_save_IFS
3596   test -z "$as_dir" && as_dir=.
3597     for ac_exec_ext in '' $ac_executable_extensions; do
3598   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3599     ac_cv_prog_ac_ct_CC="gcc"
3600     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3601     break 2
3602   fi
3603 done
3604   done
3605 IFS=$as_save_IFS
3606
3607 fi
3608 fi
3609 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3610 if test -n "$ac_ct_CC"; then
3611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3612 $as_echo "$ac_ct_CC" >&6; }
3613 else
3614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615 $as_echo "no" >&6; }
3616 fi
3617
3618   if test "x$ac_ct_CC" = x; then
3619     CC=""
3620   else
3621     case $cross_compiling:$ac_tool_warned in
3622 yes:)
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3625 ac_tool_warned=yes ;;
3626 esac
3627     CC=$ac_ct_CC
3628   fi
3629 else
3630   CC="$ac_cv_prog_CC"
3631 fi
3632
3633 if test -z "$CC"; then
3634           if test -n "$ac_tool_prefix"; then
3635     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3636 set dummy ${ac_tool_prefix}cc; ac_word=$2
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3638 $as_echo_n "checking for $ac_word... " >&6; }
3639 if test "${ac_cv_prog_CC+set}" = set; then :
3640   $as_echo_n "(cached) " >&6
3641 else
3642   if test -n "$CC"; then
3643   ac_cv_prog_CC="$CC" # Let the user override the test.
3644 else
3645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3646 for as_dir in $PATH
3647 do
3648   IFS=$as_save_IFS
3649   test -z "$as_dir" && as_dir=.
3650     for ac_exec_ext in '' $ac_executable_extensions; do
3651   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3652     ac_cv_prog_CC="${ac_tool_prefix}cc"
3653     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3654     break 2
3655   fi
3656 done
3657   done
3658 IFS=$as_save_IFS
3659
3660 fi
3661 fi
3662 CC=$ac_cv_prog_CC
3663 if test -n "$CC"; then
3664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3665 $as_echo "$CC" >&6; }
3666 else
3667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3668 $as_echo "no" >&6; }
3669 fi
3670
3671
3672   fi
3673 fi
3674 if test -z "$CC"; then
3675   # Extract the first word of "cc", so it can be a program name with args.
3676 set dummy cc; ac_word=$2
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3678 $as_echo_n "checking for $ac_word... " >&6; }
3679 if test "${ac_cv_prog_CC+set}" = set; then :
3680   $as_echo_n "(cached) " >&6
3681 else
3682   if test -n "$CC"; then
3683   ac_cv_prog_CC="$CC" # Let the user override the test.
3684 else
3685   ac_prog_rejected=no
3686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3687 for as_dir in $PATH
3688 do
3689   IFS=$as_save_IFS
3690   test -z "$as_dir" && as_dir=.
3691     for ac_exec_ext in '' $ac_executable_extensions; do
3692   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3693     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3694        ac_prog_rejected=yes
3695        continue
3696      fi
3697     ac_cv_prog_CC="cc"
3698     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3699     break 2
3700   fi
3701 done
3702   done
3703 IFS=$as_save_IFS
3704
3705 if test $ac_prog_rejected = yes; then
3706   # We found a bogon in the path, so make sure we never use it.
3707   set dummy $ac_cv_prog_CC
3708   shift
3709   if test $# != 0; then
3710     # We chose a different compiler from the bogus one.
3711     # However, it has the same basename, so the bogon will be chosen
3712     # first if we set CC to just the basename; use the full file name.
3713     shift
3714     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3715   fi
3716 fi
3717 fi
3718 fi
3719 CC=$ac_cv_prog_CC
3720 if test -n "$CC"; then
3721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3722 $as_echo "$CC" >&6; }
3723 else
3724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3725 $as_echo "no" >&6; }
3726 fi
3727
3728
3729 fi
3730 if test -z "$CC"; then
3731   if test -n "$ac_tool_prefix"; then
3732   for ac_prog in cl.exe
3733   do
3734     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3735 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3737 $as_echo_n "checking for $ac_word... " >&6; }
3738 if test "${ac_cv_prog_CC+set}" = set; then :
3739   $as_echo_n "(cached) " >&6
3740 else
3741   if test -n "$CC"; then
3742   ac_cv_prog_CC="$CC" # Let the user override the test.
3743 else
3744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3745 for as_dir in $PATH
3746 do
3747   IFS=$as_save_IFS
3748   test -z "$as_dir" && as_dir=.
3749     for ac_exec_ext in '' $ac_executable_extensions; do
3750   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3751     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3752     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3753     break 2
3754   fi
3755 done
3756   done
3757 IFS=$as_save_IFS
3758
3759 fi
3760 fi
3761 CC=$ac_cv_prog_CC
3762 if test -n "$CC"; then
3763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3764 $as_echo "$CC" >&6; }
3765 else
3766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3767 $as_echo "no" >&6; }
3768 fi
3769
3770
3771     test -n "$CC" && break
3772   done
3773 fi
3774 if test -z "$CC"; then
3775   ac_ct_CC=$CC
3776   for ac_prog in cl.exe
3777 do
3778   # Extract the first word of "$ac_prog", so it can be a program name with args.
3779 set dummy $ac_prog; ac_word=$2
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3781 $as_echo_n "checking for $ac_word... " >&6; }
3782 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3783   $as_echo_n "(cached) " >&6
3784 else
3785   if test -n "$ac_ct_CC"; then
3786   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3787 else
3788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3789 for as_dir in $PATH
3790 do
3791   IFS=$as_save_IFS
3792   test -z "$as_dir" && as_dir=.
3793     for ac_exec_ext in '' $ac_executable_extensions; do
3794   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3795     ac_cv_prog_ac_ct_CC="$ac_prog"
3796     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3797     break 2
3798   fi
3799 done
3800   done
3801 IFS=$as_save_IFS
3802
3803 fi
3804 fi
3805 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3806 if test -n "$ac_ct_CC"; then
3807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3808 $as_echo "$ac_ct_CC" >&6; }
3809 else
3810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3811 $as_echo "no" >&6; }
3812 fi
3813
3814
3815   test -n "$ac_ct_CC" && break
3816 done
3817
3818   if test "x$ac_ct_CC" = x; then
3819     CC=""
3820   else
3821     case $cross_compiling:$ac_tool_warned in
3822 yes:)
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3825 ac_tool_warned=yes ;;
3826 esac
3827     CC=$ac_ct_CC
3828   fi
3829 fi
3830
3831 fi
3832
3833
3834 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3836 as_fn_error "no acceptable C compiler found in \$PATH
3837 See \`config.log' for more details." "$LINENO" 5; }
3838
3839 # Provide some information about the compiler.
3840 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3841 set X $ac_compile
3842 ac_compiler=$2
3843 for ac_option in --version -v -V -qversion; do
3844   { { ac_try="$ac_compiler $ac_option >&5"
3845 case "(($ac_try" in
3846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3847   *) ac_try_echo=$ac_try;;
3848 esac
3849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3850 $as_echo "$ac_try_echo"; } >&5
3851   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3852   ac_status=$?
3853   if test -s conftest.err; then
3854     sed '10a\
3855 ... rest of stderr output deleted ...
3856          10q' conftest.err >conftest.er1
3857     cat conftest.er1 >&5
3858     rm -f conftest.er1 conftest.err
3859   fi
3860   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3861   test $ac_status = 0; }
3862 done
3863
3864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3865 /* end confdefs.h.  */
3866
3867 int
3868 main ()
3869 {
3870
3871   ;
3872   return 0;
3873 }
3874 _ACEOF
3875 # FIXME: Cleanup?
3876 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3877   (eval $ac_link) 2>&5
3878   ac_status=$?
3879   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3880   test $ac_status = 0; }; then :
3881   gcc_no_link=no
3882 else
3883   gcc_no_link=yes
3884 fi
3885 if test x$gcc_no_link = xyes; then
3886   # Setting cross_compile will disable run tests; it will
3887   # also disable AC_CHECK_FILE but that's generally
3888   # correct if we can't link.
3889   cross_compiling=yes
3890   EXEEXT=
3891 else
3892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3893 /* end confdefs.h.  */
3894
3895 int
3896 main ()
3897 {
3898
3899   ;
3900   return 0;
3901 }
3902 _ACEOF
3903 ac_clean_files_save=$ac_clean_files
3904 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3905 # Try to create an executable without -o first, disregard a.out.
3906 # It will help us diagnose broken compilers, and finding out an intuition
3907 # of exeext.
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3909 $as_echo_n "checking for C compiler default output file name... " >&6; }
3910 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3911
3912 # The possible output files:
3913 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3914
3915 ac_rmfiles=
3916 for ac_file in $ac_files
3917 do
3918   case $ac_file in
3919     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3920     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3921   esac
3922 done
3923 rm -f $ac_rmfiles
3924
3925 if { { ac_try="$ac_link_default"
3926 case "(($ac_try" in
3927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3928   *) ac_try_echo=$ac_try;;
3929 esac
3930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3931 $as_echo "$ac_try_echo"; } >&5
3932   (eval "$ac_link_default") 2>&5
3933   ac_status=$?
3934   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3935   test $ac_status = 0; }; then :
3936   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3937 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3938 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3939 # so that the user can short-circuit this test for compilers unknown to
3940 # Autoconf.
3941 for ac_file in $ac_files ''
3942 do
3943   test -f "$ac_file" || continue
3944   case $ac_file in
3945     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3946         ;;
3947     [ab].out )
3948         # We found the default executable, but exeext='' is most
3949         # certainly right.
3950         break;;
3951     *.* )
3952         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3953         then :; else
3954            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3955         fi
3956         # We set ac_cv_exeext here because the later test for it is not
3957         # safe: cross compilers may not add the suffix if given an `-o'
3958         # argument, so we may need to know it at that point already.
3959         # Even if this section looks crufty: it has the advantage of
3960         # actually working.
3961         break;;
3962     * )
3963         break;;
3964   esac
3965 done
3966 test "$ac_cv_exeext" = no && ac_cv_exeext=
3967
3968 else
3969   ac_file=''
3970 fi
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3972 $as_echo "$ac_file" >&6; }
3973 if test -z "$ac_file"; then :
3974   $as_echo "$as_me: failed program was:" >&5
3975 sed 's/^/| /' conftest.$ac_ext >&5
3976
3977 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3978 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3979 { as_fn_set_status 77
3980 as_fn_error "C compiler cannot create executables
3981 See \`config.log' for more details." "$LINENO" 5; }; }
3982 fi
3983 ac_exeext=$ac_cv_exeext
3984
3985 # Check that the compiler produces executables we can run.  If not, either
3986 # the compiler is broken, or we cross compile.
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3988 $as_echo_n "checking whether the C compiler works... " >&6; }
3989 # If not cross compiling, check that we can run a simple program.
3990 if test "$cross_compiling" != yes; then
3991   if { ac_try='./$ac_file'
3992   { { case "(($ac_try" in
3993   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3994   *) ac_try_echo=$ac_try;;
3995 esac
3996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3997 $as_echo "$ac_try_echo"; } >&5
3998   (eval "$ac_try") 2>&5
3999   ac_status=$?
4000   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4001   test $ac_status = 0; }; }; then
4002     cross_compiling=no
4003   else
4004     if test "$cross_compiling" = maybe; then
4005         cross_compiling=yes
4006     else
4007         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4009 as_fn_error "cannot run C compiled programs.
4010 If you meant to cross compile, use \`--host'.
4011 See \`config.log' for more details." "$LINENO" 5; }
4012     fi
4013   fi
4014 fi
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4016 $as_echo "yes" >&6; }
4017
4018 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4019 ac_clean_files=$ac_clean_files_save
4020 # Check that the compiler produces executables we can run.  If not, either
4021 # the compiler is broken, or we cross compile.
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4023 $as_echo_n "checking whether we are cross compiling... " >&6; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4025 $as_echo "$cross_compiling" >&6; }
4026
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4028 $as_echo_n "checking for suffix of executables... " >&6; }
4029 if { { ac_try="$ac_link"
4030 case "(($ac_try" in
4031   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4032   *) ac_try_echo=$ac_try;;
4033 esac
4034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4035 $as_echo "$ac_try_echo"; } >&5
4036   (eval "$ac_link") 2>&5
4037   ac_status=$?
4038   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4039   test $ac_status = 0; }; then :
4040   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4041 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4042 # work properly (i.e., refer to `conftest.exe'), while it won't with
4043 # `rm'.
4044 for ac_file in conftest.exe conftest conftest.*; do
4045   test -f "$ac_file" || continue
4046   case $ac_file in
4047     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4048     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4049           break;;
4050     * ) break;;
4051   esac
4052 done
4053 else
4054   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4056 as_fn_error "cannot compute suffix of executables: cannot compile and link
4057 See \`config.log' for more details." "$LINENO" 5; }
4058 fi
4059 rm -f conftest$ac_cv_exeext
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4061 $as_echo "$ac_cv_exeext" >&6; }
4062
4063 rm -f conftest.$ac_ext
4064 EXEEXT=$ac_cv_exeext
4065 ac_exeext=$EXEEXT
4066 fi
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4068 $as_echo_n "checking for suffix of object files... " >&6; }
4069 if test "${ac_cv_objext+set}" = set; then :
4070   $as_echo_n "(cached) " >&6
4071 else
4072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h.  */
4074
4075 int
4076 main ()
4077 {
4078
4079   ;
4080   return 0;
4081 }
4082 _ACEOF
4083 rm -f conftest.o conftest.obj
4084 if { { ac_try="$ac_compile"
4085 case "(($ac_try" in
4086   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4087   *) ac_try_echo=$ac_try;;
4088 esac
4089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4090 $as_echo "$ac_try_echo"; } >&5
4091   (eval "$ac_compile") 2>&5
4092   ac_status=$?
4093   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4094   test $ac_status = 0; }; then :
4095   for ac_file in conftest.o conftest.obj conftest.*; do
4096   test -f "$ac_file" || continue;
4097   case $ac_file in
4098     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4099     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4100        break;;
4101   esac
4102 done
4103 else
4104   $as_echo "$as_me: failed program was:" >&5
4105 sed 's/^/| /' conftest.$ac_ext >&5
4106
4107 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4109 as_fn_error "cannot compute suffix of object files: cannot compile
4110 See \`config.log' for more details." "$LINENO" 5; }
4111 fi
4112 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4113 fi
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4115 $as_echo "$ac_cv_objext" >&6; }
4116 OBJEXT=$ac_cv_objext
4117 ac_objext=$OBJEXT
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4119 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4120 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4121   $as_echo_n "(cached) " >&6
4122 else
4123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4124 /* end confdefs.h.  */
4125
4126 int
4127 main ()
4128 {
4129 #ifndef __GNUC__
4130        choke me
4131 #endif
4132
4133   ;
4134   return 0;
4135 }
4136 _ACEOF
4137 if ac_fn_c_try_compile "$LINENO"; then :
4138   ac_compiler_gnu=yes
4139 else
4140   ac_compiler_gnu=no
4141 fi
4142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4143 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4144
4145 fi
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4147 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4148 if test $ac_compiler_gnu = yes; then
4149   GCC=yes
4150 else
4151   GCC=
4152 fi
4153 ac_test_CFLAGS=${CFLAGS+set}
4154 ac_save_CFLAGS=$CFLAGS
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4156 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4157 if test "${ac_cv_prog_cc_g+set}" = set; then :
4158   $as_echo_n "(cached) " >&6
4159 else
4160   ac_save_c_werror_flag=$ac_c_werror_flag
4161    ac_c_werror_flag=yes
4162    ac_cv_prog_cc_g=no
4163    CFLAGS="-g"
4164    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4165 /* end confdefs.h.  */
4166
4167 int
4168 main ()
4169 {
4170
4171   ;
4172   return 0;
4173 }
4174 _ACEOF
4175 if ac_fn_c_try_compile "$LINENO"; then :
4176   ac_cv_prog_cc_g=yes
4177 else
4178   CFLAGS=""
4179       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h.  */
4181
4182 int
4183 main ()
4184 {
4185
4186   ;
4187   return 0;
4188 }
4189 _ACEOF
4190 if ac_fn_c_try_compile "$LINENO"; then :
4191
4192 else
4193   ac_c_werror_flag=$ac_save_c_werror_flag
4194          CFLAGS="-g"
4195          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h.  */
4197
4198 int
4199 main ()
4200 {
4201
4202   ;
4203   return 0;
4204 }
4205 _ACEOF
4206 if ac_fn_c_try_compile "$LINENO"; then :
4207   ac_cv_prog_cc_g=yes
4208 fi
4209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4210 fi
4211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 fi
4213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214    ac_c_werror_flag=$ac_save_c_werror_flag
4215 fi
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4217 $as_echo "$ac_cv_prog_cc_g" >&6; }
4218 if test "$ac_test_CFLAGS" = set; then
4219   CFLAGS=$ac_save_CFLAGS
4220 elif test $ac_cv_prog_cc_g = yes; then
4221   if test "$GCC" = yes; then
4222     CFLAGS="-g -O2"
4223   else
4224     CFLAGS="-g"
4225   fi
4226 else
4227   if test "$GCC" = yes; then
4228     CFLAGS="-O2"
4229   else
4230     CFLAGS=
4231   fi
4232 fi
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4234 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4235 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4236   $as_echo_n "(cached) " >&6
4237 else
4238   ac_cv_prog_cc_c89=no
4239 ac_save_CC=$CC
4240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4241 /* end confdefs.h.  */
4242 #include <stdarg.h>
4243 #include <stdio.h>
4244 #include <sys/types.h>
4245 #include <sys/stat.h>
4246 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4247 struct buf { int x; };
4248 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4249 static char *e (p, i)
4250      char **p;
4251      int i;
4252 {
4253   return p[i];
4254 }
4255 static char *f (char * (*g) (char **, int), char **p, ...)
4256 {
4257   char *s;
4258   va_list v;
4259   va_start (v,p);
4260   s = g (p, va_arg (v,int));
4261   va_end (v);
4262   return s;
4263 }
4264
4265 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4266    function prototypes and stuff, but not '\xHH' hex character constants.
4267    These don't provoke an error unfortunately, instead are silently treated
4268    as 'x'.  The following induces an error, until -std is added to get
4269    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4270    array size at least.  It's necessary to write '\x00'==0 to get something
4271    that's true only with -std.  */
4272 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4273
4274 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4275    inside strings and character constants.  */
4276 #define FOO(x) 'x'
4277 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4278
4279 int test (int i, double x);
4280 struct s1 {int (*f) (int a);};
4281 struct s2 {int (*f) (double a);};
4282 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4283 int argc;
4284 char **argv;
4285 int
4286 main ()
4287 {
4288 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4289   ;
4290   return 0;
4291 }
4292 _ACEOF
4293 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4294         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4295 do
4296   CC="$ac_save_CC $ac_arg"
4297   if ac_fn_c_try_compile "$LINENO"; then :
4298   ac_cv_prog_cc_c89=$ac_arg
4299 fi
4300 rm -f core conftest.err conftest.$ac_objext
4301   test "x$ac_cv_prog_cc_c89" != "xno" && break
4302 done
4303 rm -f conftest.$ac_ext
4304 CC=$ac_save_CC
4305
4306 fi
4307 # AC_CACHE_VAL
4308 case "x$ac_cv_prog_cc_c89" in
4309   x)
4310     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4311 $as_echo "none needed" >&6; } ;;
4312   xno)
4313     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4314 $as_echo "unsupported" >&6; } ;;
4315   *)
4316     CC="$CC $ac_cv_prog_cc_c89"
4317     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4318 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4319 esac
4320 if test "x$ac_cv_prog_cc_c89" != xno; then :
4321
4322 fi
4323
4324 ac_ext=c
4325 ac_cpp='$CPP $CPPFLAGS'
4326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4329
4330 ac_ext=cpp
4331 ac_cpp='$CXXCPP $CPPFLAGS'
4332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4335 if test -z "$CXX"; then
4336   if test -n "$CCC"; then
4337     CXX=$CCC
4338   else
4339     if test -n "$ac_tool_prefix"; then
4340   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4341   do
4342     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4343 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4345 $as_echo_n "checking for $ac_word... " >&6; }
4346 if test "${ac_cv_prog_CXX+set}" = set; then :
4347   $as_echo_n "(cached) " >&6
4348 else
4349   if test -n "$CXX"; then
4350   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4351 else
4352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4353 for as_dir in $PATH
4354 do
4355   IFS=$as_save_IFS
4356   test -z "$as_dir" && as_dir=.
4357     for ac_exec_ext in '' $ac_executable_extensions; do
4358   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4359     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4360     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4361     break 2
4362   fi
4363 done
4364   done
4365 IFS=$as_save_IFS
4366
4367 fi
4368 fi
4369 CXX=$ac_cv_prog_CXX
4370 if test -n "$CXX"; then
4371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4372 $as_echo "$CXX" >&6; }
4373 else
4374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4375 $as_echo "no" >&6; }
4376 fi
4377
4378
4379     test -n "$CXX" && break
4380   done
4381 fi
4382 if test -z "$CXX"; then
4383   ac_ct_CXX=$CXX
4384   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4385 do
4386   # Extract the first word of "$ac_prog", so it can be a program name with args.
4387 set dummy $ac_prog; ac_word=$2
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4389 $as_echo_n "checking for $ac_word... " >&6; }
4390 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4391   $as_echo_n "(cached) " >&6
4392 else
4393   if test -n "$ac_ct_CXX"; then
4394   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4395 else
4396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4397 for as_dir in $PATH
4398 do
4399   IFS=$as_save_IFS
4400   test -z "$as_dir" && as_dir=.
4401     for ac_exec_ext in '' $ac_executable_extensions; do
4402   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4403     ac_cv_prog_ac_ct_CXX="$ac_prog"
4404     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4405     break 2
4406   fi
4407 done
4408   done
4409 IFS=$as_save_IFS
4410
4411 fi
4412 fi
4413 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4414 if test -n "$ac_ct_CXX"; then
4415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4416 $as_echo "$ac_ct_CXX" >&6; }
4417 else
4418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4419 $as_echo "no" >&6; }
4420 fi
4421
4422
4423   test -n "$ac_ct_CXX" && break
4424 done
4425
4426   if test "x$ac_ct_CXX" = x; then
4427     CXX="g++"
4428   else
4429     case $cross_compiling:$ac_tool_warned in
4430 yes:)
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4433 ac_tool_warned=yes ;;
4434 esac
4435     CXX=$ac_ct_CXX
4436   fi
4437 fi
4438
4439   fi
4440 fi
4441 # Provide some information about the compiler.
4442 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4443 set X $ac_compile
4444 ac_compiler=$2
4445 for ac_option in --version -v -V -qversion; do
4446   { { ac_try="$ac_compiler $ac_option >&5"
4447 case "(($ac_try" in
4448   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4449   *) ac_try_echo=$ac_try;;
4450 esac
4451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4452 $as_echo "$ac_try_echo"; } >&5
4453   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4454   ac_status=$?
4455   if test -s conftest.err; then
4456     sed '10a\
4457 ... rest of stderr output deleted ...
4458          10q' conftest.err >conftest.er1
4459     cat conftest.er1 >&5
4460     rm -f conftest.er1 conftest.err
4461   fi
4462   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4463   test $ac_status = 0; }
4464 done
4465
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4467 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4468 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4469   $as_echo_n "(cached) " >&6
4470 else
4471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4472 /* end confdefs.h.  */
4473
4474 int
4475 main ()
4476 {
4477 #ifndef __GNUC__
4478        choke me
4479 #endif
4480
4481   ;
4482   return 0;
4483 }
4484 _ACEOF
4485 if ac_fn_cxx_try_compile "$LINENO"; then :
4486   ac_compiler_gnu=yes
4487 else
4488   ac_compiler_gnu=no
4489 fi
4490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4491 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4492
4493 fi
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4495 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4496 if test $ac_compiler_gnu = yes; then
4497   GXX=yes
4498 else
4499   GXX=
4500 fi
4501 ac_test_CXXFLAGS=${CXXFLAGS+set}
4502 ac_save_CXXFLAGS=$CXXFLAGS
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4504 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4505 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4506   $as_echo_n "(cached) " >&6
4507 else
4508   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4509    ac_cxx_werror_flag=yes
4510    ac_cv_prog_cxx_g=no
4511    CXXFLAGS="-g"
4512    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4513 /* end confdefs.h.  */
4514
4515 int
4516 main ()
4517 {
4518
4519   ;
4520   return 0;
4521 }
4522 _ACEOF
4523 if ac_fn_cxx_try_compile "$LINENO"; then :
4524   ac_cv_prog_cxx_g=yes
4525 else
4526   CXXFLAGS=""
4527       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h.  */
4529
4530 int
4531 main ()
4532 {
4533
4534   ;
4535   return 0;
4536 }
4537 _ACEOF
4538 if ac_fn_cxx_try_compile "$LINENO"; then :
4539
4540 else
4541   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4542          CXXFLAGS="-g"
4543          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4544 /* end confdefs.h.  */
4545
4546 int
4547 main ()
4548 {
4549
4550   ;
4551   return 0;
4552 }
4553 _ACEOF
4554 if ac_fn_cxx_try_compile "$LINENO"; then :
4555   ac_cv_prog_cxx_g=yes
4556 fi
4557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4558 fi
4559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4560 fi
4561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4562    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4563 fi
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4565 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4566 if test "$ac_test_CXXFLAGS" = set; then
4567   CXXFLAGS=$ac_save_CXXFLAGS
4568 elif test $ac_cv_prog_cxx_g = yes; then
4569   if test "$GXX" = yes; then
4570     CXXFLAGS="-g -O2"
4571   else
4572     CXXFLAGS="-g"
4573   fi
4574 else
4575   if test "$GXX" = yes; then
4576     CXXFLAGS="-O2"
4577   else
4578     CXXFLAGS=
4579   fi
4580 fi
4581 ac_ext=c
4582 ac_cpp='$CPP $CPPFLAGS'
4583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4586
4587 CXXFLAGS="$save_CXXFLAGS"
4588
4589 # Runs configure.host, and assorted other critical bits.  Sets
4590 # up critical shell variables.
4591
4592 ac_ext=c
4593 ac_cpp='$CPP $CPPFLAGS'
4594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4598 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4599 # On Suns, sometimes $CPP names a directory.
4600 if test -n "$CPP" && test -d "$CPP"; then
4601   CPP=
4602 fi
4603 if test -z "$CPP"; then
4604   if test "${ac_cv_prog_CPP+set}" = set; then :
4605   $as_echo_n "(cached) " >&6
4606 else
4607       # Double quotes because CPP needs to be expanded
4608     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4609     do
4610       ac_preproc_ok=false
4611 for ac_c_preproc_warn_flag in '' yes
4612 do
4613   # Use a header file that comes with gcc, so configuring glibc
4614   # with a fresh cross-compiler works.
4615   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4616   # <limits.h> exists even on freestanding compilers.
4617   # On the NeXT, cc -E runs the code through the compiler's parser,
4618   # not just through cpp. "Syntax error" is here to catch this case.
4619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h.  */
4621 #ifdef __STDC__
4622 # include <limits.h>
4623 #else
4624 # include <assert.h>
4625 #endif
4626                      Syntax error
4627 _ACEOF
4628 if ac_fn_c_try_cpp "$LINENO"; then :
4629
4630 else
4631   # Broken: fails on valid input.
4632 continue
4633 fi
4634 rm -f conftest.err conftest.$ac_ext
4635
4636   # OK, works on sane cases.  Now check whether nonexistent headers
4637   # can be detected and how.
4638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4639 /* end confdefs.h.  */
4640 #include <ac_nonexistent.h>
4641 _ACEOF
4642 if ac_fn_c_try_cpp "$LINENO"; then :
4643   # Broken: success on invalid input.
4644 continue
4645 else
4646   # Passes both tests.
4647 ac_preproc_ok=:
4648 break
4649 fi
4650 rm -f conftest.err conftest.$ac_ext
4651
4652 done
4653 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4654 rm -f conftest.err conftest.$ac_ext
4655 if $ac_preproc_ok; then :
4656   break
4657 fi
4658
4659     done
4660     ac_cv_prog_CPP=$CPP
4661
4662 fi
4663   CPP=$ac_cv_prog_CPP
4664 else
4665   ac_cv_prog_CPP=$CPP
4666 fi
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4668 $as_echo "$CPP" >&6; }
4669 ac_preproc_ok=false
4670 for ac_c_preproc_warn_flag in '' yes
4671 do
4672   # Use a header file that comes with gcc, so configuring glibc
4673   # with a fresh cross-compiler works.
4674   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4675   # <limits.h> exists even on freestanding compilers.
4676   # On the NeXT, cc -E runs the code through the compiler's parser,
4677   # not just through cpp. "Syntax error" is here to catch this case.
4678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4679 /* end confdefs.h.  */
4680 #ifdef __STDC__
4681 # include <limits.h>
4682 #else
4683 # include <assert.h>
4684 #endif
4685                      Syntax error
4686 _ACEOF
4687 if ac_fn_c_try_cpp "$LINENO"; then :
4688
4689 else
4690   # Broken: fails on valid input.
4691 continue
4692 fi
4693 rm -f conftest.err conftest.$ac_ext
4694
4695   # OK, works on sane cases.  Now check whether nonexistent headers
4696   # can be detected and how.
4697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4698 /* end confdefs.h.  */
4699 #include <ac_nonexistent.h>
4700 _ACEOF
4701 if ac_fn_c_try_cpp "$LINENO"; then :
4702   # Broken: success on invalid input.
4703 continue
4704 else
4705   # Passes both tests.
4706 ac_preproc_ok=:
4707 break
4708 fi
4709 rm -f conftest.err conftest.$ac_ext
4710
4711 done
4712 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4713 rm -f conftest.err conftest.$ac_ext
4714 if $ac_preproc_ok; then :
4715
4716 else
4717   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4718 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4719 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4720 See \`config.log' for more details." "$LINENO" 5; }
4721 fi
4722
4723 ac_ext=c
4724 ac_cpp='$CPP $CPPFLAGS'
4725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4728
4729
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4731 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4732 if test "${ac_cv_path_GREP+set}" = set; then :
4733   $as_echo_n "(cached) " >&6
4734 else
4735   if test -z "$GREP"; then
4736   ac_path_GREP_found=false
4737   # Loop through the user's path and test for each of PROGNAME-LIST
4738   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4739 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4740 do
4741   IFS=$as_save_IFS
4742   test -z "$as_dir" && as_dir=.
4743     for ac_prog in grep ggrep; do
4744     for ac_exec_ext in '' $ac_executable_extensions; do
4745       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4746       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4747 # Check for GNU ac_path_GREP and select it if it is found.
4748   # Check for GNU $ac_path_GREP
4749 case `"$ac_path_GREP" --version 2>&1` in
4750 *GNU*)
4751   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4752 *)
4753   ac_count=0
4754   $as_echo_n 0123456789 >"conftest.in"
4755   while :
4756   do
4757     cat "conftest.in" "conftest.in" >"conftest.tmp"
4758     mv "conftest.tmp" "conftest.in"
4759     cp "conftest.in" "conftest.nl"
4760     $as_echo 'GREP' >> "conftest.nl"
4761     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4762     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4763     as_fn_arith $ac_count + 1 && ac_count=$as_val
4764     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4765       # Best one so far, save it but keep looking for a better one
4766       ac_cv_path_GREP="$ac_path_GREP"
4767       ac_path_GREP_max=$ac_count
4768     fi
4769     # 10*(2^10) chars as input seems more than enough
4770     test $ac_count -gt 10 && break
4771   done
4772   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4773 esac
4774
4775       $ac_path_GREP_found && break 3
4776     done
4777   done
4778   done
4779 IFS=$as_save_IFS
4780   if test -z "$ac_cv_path_GREP"; then
4781     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4782   fi
4783 else
4784   ac_cv_path_GREP=$GREP
4785 fi
4786
4787 fi
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4789 $as_echo "$ac_cv_path_GREP" >&6; }
4790  GREP="$ac_cv_path_GREP"
4791
4792
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4794 $as_echo_n "checking for egrep... " >&6; }
4795 if test "${ac_cv_path_EGREP+set}" = set; then :
4796   $as_echo_n "(cached) " >&6
4797 else
4798   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4799    then ac_cv_path_EGREP="$GREP -E"
4800    else
4801      if test -z "$EGREP"; then
4802   ac_path_EGREP_found=false
4803   # Loop through the user's path and test for each of PROGNAME-LIST
4804   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4805 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4806 do
4807   IFS=$as_save_IFS
4808   test -z "$as_dir" && as_dir=.
4809     for ac_prog in egrep; do
4810     for ac_exec_ext in '' $ac_executable_extensions; do
4811       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4812       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4813 # Check for GNU ac_path_EGREP and select it if it is found.
4814   # Check for GNU $ac_path_EGREP
4815 case `"$ac_path_EGREP" --version 2>&1` in
4816 *GNU*)
4817   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4818 *)
4819   ac_count=0
4820   $as_echo_n 0123456789 >"conftest.in"
4821   while :
4822   do
4823     cat "conftest.in" "conftest.in" >"conftest.tmp"
4824     mv "conftest.tmp" "conftest.in"
4825     cp "conftest.in" "conftest.nl"
4826     $as_echo 'EGREP' >> "conftest.nl"
4827     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4828     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4829     as_fn_arith $ac_count + 1 && ac_count=$as_val
4830     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4831       # Best one so far, save it but keep looking for a better one
4832       ac_cv_path_EGREP="$ac_path_EGREP"
4833       ac_path_EGREP_max=$ac_count
4834     fi
4835     # 10*(2^10) chars as input seems more than enough
4836     test $ac_count -gt 10 && break
4837   done
4838   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4839 esac
4840
4841       $ac_path_EGREP_found && break 3
4842     done
4843   done
4844   done
4845 IFS=$as_save_IFS
4846   if test -z "$ac_cv_path_EGREP"; then
4847     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4848   fi
4849 else
4850   ac_cv_path_EGREP=$EGREP
4851 fi
4852
4853    fi
4854 fi
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4856 $as_echo "$ac_cv_path_EGREP" >&6; }
4857  EGREP="$ac_cv_path_EGREP"
4858
4859
4860
4861   # Keep these sync'd with the list in Makefile.am.  The first provides an
4862   # expandable list at autoconf time; the second provides an expandable list
4863   # (i.e., shell variable) at configure time.
4864
4865   SUBDIRS='include libsupc++ python src doc po testsuite'
4866
4867   # These need to be absolute paths, yet at the same time need to
4868   # canonicalize only relative paths, because then amd will not unmount
4869   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4870   glibcxx_builddir=`${PWDCMD-pwd}`
4871   case $srcdir in
4872     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4873     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4874   esac
4875   toplevel_srcdir=${glibcxx_srcdir}/..
4876
4877
4878
4879
4880   # We use these options to decide which functions to include.  They are
4881   # set from the top level.
4882
4883 # Check whether --with-target-subdir was given.
4884 if test "${with_target_subdir+set}" = set; then :
4885   withval=$with_target_subdir;
4886 fi
4887
4888
4889
4890 # Check whether --with-cross-host was given.
4891 if test "${with_cross_host+set}" = set; then :
4892   withval=$with_cross_host;
4893 fi
4894
4895
4896
4897 # Check whether --with-newlib was given.
4898 if test "${with_newlib+set}" = set; then :
4899   withval=$with_newlib;
4900 fi
4901
4902
4903   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4904   # available).  Uncomment the next line to force a particular method.
4905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4906 $as_echo_n "checking whether ln -s works... " >&6; }
4907 LN_S=$as_ln_s
4908 if test "$LN_S" = "ln -s"; then
4909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4910 $as_echo "yes" >&6; }
4911 else
4912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4913 $as_echo "no, using $LN_S" >&6; }
4914 fi
4915
4916   #LN_S='cp -p'
4917
4918   if test -n "$ac_tool_prefix"; then
4919   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4920 set dummy ${ac_tool_prefix}as; ac_word=$2
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4922 $as_echo_n "checking for $ac_word... " >&6; }
4923 if test "${ac_cv_prog_AS+set}" = set; then :
4924   $as_echo_n "(cached) " >&6
4925 else
4926   if test -n "$AS"; then
4927   ac_cv_prog_AS="$AS" # Let the user override the test.
4928 else
4929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4930 for as_dir in $PATH
4931 do
4932   IFS=$as_save_IFS
4933   test -z "$as_dir" && as_dir=.
4934     for ac_exec_ext in '' $ac_executable_extensions; do
4935   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4936     ac_cv_prog_AS="${ac_tool_prefix}as"
4937     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4938     break 2
4939   fi
4940 done
4941   done
4942 IFS=$as_save_IFS
4943
4944 fi
4945 fi
4946 AS=$ac_cv_prog_AS
4947 if test -n "$AS"; then
4948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4949 $as_echo "$AS" >&6; }
4950 else
4951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4952 $as_echo "no" >&6; }
4953 fi
4954
4955
4956 fi
4957 if test -z "$ac_cv_prog_AS"; then
4958   ac_ct_AS=$AS
4959   # Extract the first word of "as", so it can be a program name with args.
4960 set dummy as; ac_word=$2
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4962 $as_echo_n "checking for $ac_word... " >&6; }
4963 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4964   $as_echo_n "(cached) " >&6
4965 else
4966   if test -n "$ac_ct_AS"; then
4967   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4968 else
4969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4970 for as_dir in $PATH
4971 do
4972   IFS=$as_save_IFS
4973   test -z "$as_dir" && as_dir=.
4974     for ac_exec_ext in '' $ac_executable_extensions; do
4975   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4976     ac_cv_prog_ac_ct_AS="as"
4977     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4978     break 2
4979   fi
4980 done
4981   done
4982 IFS=$as_save_IFS
4983
4984 fi
4985 fi
4986 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4987 if test -n "$ac_ct_AS"; then
4988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4989 $as_echo "$ac_ct_AS" >&6; }
4990 else
4991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4992 $as_echo "no" >&6; }
4993 fi
4994
4995   if test "x$ac_ct_AS" = x; then
4996     AS=""
4997   else
4998     case $cross_compiling:$ac_tool_warned in
4999 yes:)
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5002 ac_tool_warned=yes ;;
5003 esac
5004     AS=$ac_ct_AS
5005   fi
5006 else
5007   AS="$ac_cv_prog_AS"
5008 fi
5009
5010   if test -n "$ac_tool_prefix"; then
5011   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5012 set dummy ${ac_tool_prefix}ar; ac_word=$2
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 $as_echo_n "checking for $ac_word... " >&6; }
5015 if test "${ac_cv_prog_AR+set}" = set; then :
5016   $as_echo_n "(cached) " >&6
5017 else
5018   if test -n "$AR"; then
5019   ac_cv_prog_AR="$AR" # Let the user override the test.
5020 else
5021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022 for as_dir in $PATH
5023 do
5024   IFS=$as_save_IFS
5025   test -z "$as_dir" && as_dir=.
5026     for ac_exec_ext in '' $ac_executable_extensions; do
5027   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5028     ac_cv_prog_AR="${ac_tool_prefix}ar"
5029     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5030     break 2
5031   fi
5032 done
5033   done
5034 IFS=$as_save_IFS
5035
5036 fi
5037 fi
5038 AR=$ac_cv_prog_AR
5039 if test -n "$AR"; then
5040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5041 $as_echo "$AR" >&6; }
5042 else
5043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5045 fi
5046
5047
5048 fi
5049 if test -z "$ac_cv_prog_AR"; then
5050   ac_ct_AR=$AR
5051   # Extract the first word of "ar", so it can be a program name with args.
5052 set dummy ar; ac_word=$2
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054 $as_echo_n "checking for $ac_word... " >&6; }
5055 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5056   $as_echo_n "(cached) " >&6
5057 else
5058   if test -n "$ac_ct_AR"; then
5059   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5060 else
5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 for as_dir in $PATH
5063 do
5064   IFS=$as_save_IFS
5065   test -z "$as_dir" && as_dir=.
5066     for ac_exec_ext in '' $ac_executable_extensions; do
5067   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5068     ac_cv_prog_ac_ct_AR="ar"
5069     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5070     break 2
5071   fi
5072 done
5073   done
5074 IFS=$as_save_IFS
5075
5076 fi
5077 fi
5078 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5079 if test -n "$ac_ct_AR"; then
5080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5081 $as_echo "$ac_ct_AR" >&6; }
5082 else
5083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084 $as_echo "no" >&6; }
5085 fi
5086
5087   if test "x$ac_ct_AR" = x; then
5088     AR=""
5089   else
5090     case $cross_compiling:$ac_tool_warned in
5091 yes:)
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5094 ac_tool_warned=yes ;;
5095 esac
5096     AR=$ac_ct_AR
5097   fi
5098 else
5099   AR="$ac_cv_prog_AR"
5100 fi
5101
5102   if test -n "$ac_tool_prefix"; then
5103   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5104 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5106 $as_echo_n "checking for $ac_word... " >&6; }
5107 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5108   $as_echo_n "(cached) " >&6
5109 else
5110   if test -n "$RANLIB"; then
5111   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5112 else
5113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114 for as_dir in $PATH
5115 do
5116   IFS=$as_save_IFS
5117   test -z "$as_dir" && as_dir=.
5118     for ac_exec_ext in '' $ac_executable_extensions; do
5119   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5120     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5121     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122     break 2
5123   fi
5124 done
5125   done
5126 IFS=$as_save_IFS
5127
5128 fi
5129 fi
5130 RANLIB=$ac_cv_prog_RANLIB
5131 if test -n "$RANLIB"; then
5132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5133 $as_echo "$RANLIB" >&6; }
5134 else
5135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5137 fi
5138
5139
5140 fi
5141 if test -z "$ac_cv_prog_RANLIB"; then
5142   ac_ct_RANLIB=$RANLIB
5143   # Extract the first word of "ranlib", so it can be a program name with args.
5144 set dummy ranlib; ac_word=$2
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5146 $as_echo_n "checking for $ac_word... " >&6; }
5147 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5148   $as_echo_n "(cached) " >&6
5149 else
5150   if test -n "$ac_ct_RANLIB"; then
5151   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5152 else
5153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154 for as_dir in $PATH
5155 do
5156   IFS=$as_save_IFS
5157   test -z "$as_dir" && as_dir=.
5158     for ac_exec_ext in '' $ac_executable_extensions; do
5159   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5160     ac_cv_prog_ac_ct_RANLIB="ranlib"
5161     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162     break 2
5163   fi
5164 done
5165   done
5166 IFS=$as_save_IFS
5167
5168 fi
5169 fi
5170 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5171 if test -n "$ac_ct_RANLIB"; then
5172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5173 $as_echo "$ac_ct_RANLIB" >&6; }
5174 else
5175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5177 fi
5178
5179   if test "x$ac_ct_RANLIB" = x; then
5180     RANLIB="ranlib-not-found-in-path-error"
5181   else
5182     case $cross_compiling:$ac_tool_warned in
5183 yes:)
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5186 ac_tool_warned=yes ;;
5187 esac
5188     RANLIB=$ac_ct_RANLIB
5189   fi
5190 else
5191   RANLIB="$ac_cv_prog_RANLIB"
5192 fi
5193
5194
5195
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5197 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5198     # Check whether --enable-maintainer-mode was given.
5199 if test "${enable_maintainer_mode+set}" = set; then :
5200   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5201 else
5202   USE_MAINTAINER_MODE=no
5203 fi
5204
5205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5206 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5207    if test $USE_MAINTAINER_MODE = yes; then
5208   MAINTAINER_MODE_TRUE=
5209   MAINTAINER_MODE_FALSE='#'
5210 else
5211   MAINTAINER_MODE_TRUE='#'
5212   MAINTAINER_MODE_FALSE=
5213 fi
5214
5215   MAINT=$MAINTAINER_MODE_TRUE
5216
5217
5218
5219   # Set up safe default values for all subsequent AM_CONDITIONAL tests
5220   # which are themselves conditionally expanded.
5221   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5222   ## other macros from doing the same.  This should be automated.)  -pme
5223
5224   # Check for C library flavor since Linux platforms use different configuration
5225   # directories depending on the C library in use.
5226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5227 /* end confdefs.h.  */
5228
5229   #include <stdio.h>
5230   #if __UCLIBC__
5231     _using_uclibc
5232   #endif
5233
5234 _ACEOF
5235 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5236   $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5237   uclibc=yes
5238 else
5239   uclibc=no
5240 fi
5241 rm -f conftest*
5242
5243
5244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5245 /* end confdefs.h.  */
5246
5247   #include <stdio.h>
5248   #if __BIONIC__
5249     _using_bionic
5250   #endif
5251
5252 _ACEOF
5253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5254   $EGREP "_using_bionic" >/dev/null 2>&1; then :
5255   bionic=yes
5256 else
5257   bionic=no
5258 fi
5259 rm -f conftest*
5260
5261
5262   # Find platform-specific directories containing configuration info.
5263   # Also possibly modify flags used elsewhere, as needed by the platform.
5264
5265   . $glibcxx_srcdir/configure.host
5266   { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5267 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5268   { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5269 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5270
5271
5272
5273 if test "x${with_newlib}" != "xyes"; then
5274   enable_dlopen=yes
5275
5276
5277
5278 fi
5279 case `pwd` in
5280   *\ * | *\     *)
5281     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5282 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5283 esac
5284
5285
5286
5287 macro_version='2.2.7a'
5288 macro_revision='1.3134'
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302 ltmain="$ac_aux_dir/ltmain.sh"
5303
5304 # Backslashify metacharacters that are still active within
5305 # double-quoted strings.
5306 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5307
5308 # Same as above, but do not quote variable references.
5309 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5310
5311 # Sed substitution to delay expansion of an escaped shell variable in a
5312 # double_quote_subst'ed string.
5313 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5314
5315 # Sed substitution to delay expansion of an escaped single quote.
5316 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5317
5318 # Sed substitution to avoid accidental globbing in evaled expressions
5319 no_glob_subst='s/\*/\\\*/g'
5320
5321 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5322 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5323 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5324
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5326 $as_echo_n "checking how to print strings... " >&6; }
5327 # Test print first, because it will be a builtin if present.
5328 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5329    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5330   ECHO='print -r --'
5331 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5332   ECHO='printf %s\n'
5333 else
5334   # Use this function as a fallback that always works.
5335   func_fallback_echo ()
5336   {
5337     eval 'cat <<_LTECHO_EOF
5338 $1
5339 _LTECHO_EOF'
5340   }
5341   ECHO='func_fallback_echo'
5342 fi
5343
5344 # func_echo_all arg...
5345 # Invoke $ECHO with all args, space-separated.
5346 func_echo_all ()
5347 {
5348     $ECHO ""
5349 }
5350
5351 case "$ECHO" in
5352   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5353 $as_echo "printf" >&6; } ;;
5354   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5355 $as_echo "print -r" >&6; } ;;
5356   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5357 $as_echo "cat" >&6; } ;;
5358 esac
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5374 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5375 if test "${ac_cv_path_SED+set}" = set; then :
5376   $as_echo_n "(cached) " >&6
5377 else
5378             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5379      for ac_i in 1 2 3 4 5 6 7; do
5380        ac_script="$ac_script$as_nl$ac_script"
5381      done
5382      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5383      { ac_script=; unset ac_script;}
5384      if test -z "$SED"; then
5385   ac_path_SED_found=false
5386   # Loop through the user's path and test for each of PROGNAME-LIST
5387   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388 for as_dir in $PATH
5389 do
5390   IFS=$as_save_IFS
5391   test -z "$as_dir" && as_dir=.
5392     for ac_prog in sed gsed; do
5393     for ac_exec_ext in '' $ac_executable_extensions; do
5394       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5395       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5396 # Check for GNU ac_path_SED and select it if it is found.
5397   # Check for GNU $ac_path_SED
5398 case `"$ac_path_SED" --version 2>&1` in
5399 *GNU*)
5400   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5401 *)
5402   ac_count=0
5403   $as_echo_n 0123456789 >"conftest.in"
5404   while :
5405   do
5406     cat "conftest.in" "conftest.in" >"conftest.tmp"
5407     mv "conftest.tmp" "conftest.in"
5408     cp "conftest.in" "conftest.nl"
5409     $as_echo '' >> "conftest.nl"
5410     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5411     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5412     as_fn_arith $ac_count + 1 && ac_count=$as_val
5413     if test $ac_count -gt ${ac_path_SED_max-0}; then
5414       # Best one so far, save it but keep looking for a better one
5415       ac_cv_path_SED="$ac_path_SED"
5416       ac_path_SED_max=$ac_count
5417     fi
5418     # 10*(2^10) chars as input seems more than enough
5419     test $ac_count -gt 10 && break
5420   done
5421   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5422 esac
5423
5424       $ac_path_SED_found && break 3
5425     done
5426   done
5427   done
5428 IFS=$as_save_IFS
5429   if test -z "$ac_cv_path_SED"; then
5430     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5431   fi
5432 else
5433   ac_cv_path_SED=$SED
5434 fi
5435
5436 fi
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5438 $as_echo "$ac_cv_path_SED" >&6; }
5439  SED="$ac_cv_path_SED"
5440   rm -f conftest.sed
5441
5442 test -z "$SED" && SED=sed
5443 Xsed="$SED -e 1s/^X//"
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5456 $as_echo_n "checking for fgrep... " >&6; }
5457 if test "${ac_cv_path_FGREP+set}" = set; then :
5458   $as_echo_n "(cached) " >&6
5459 else
5460   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5461    then ac_cv_path_FGREP="$GREP -F"
5462    else
5463      if test -z "$FGREP"; then
5464   ac_path_FGREP_found=false
5465   # Loop through the user's path and test for each of PROGNAME-LIST
5466   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5467 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5468 do
5469   IFS=$as_save_IFS
5470   test -z "$as_dir" && as_dir=.
5471     for ac_prog in fgrep; do
5472     for ac_exec_ext in '' $ac_executable_extensions; do
5473       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5474       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5475 # Check for GNU ac_path_FGREP and select it if it is found.
5476   # Check for GNU $ac_path_FGREP
5477 case `"$ac_path_FGREP" --version 2>&1` in
5478 *GNU*)
5479   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5480 *)
5481   ac_count=0
5482   $as_echo_n 0123456789 >"conftest.in"
5483   while :
5484   do
5485     cat "conftest.in" "conftest.in" >"conftest.tmp"
5486     mv "conftest.tmp" "conftest.in"
5487     cp "conftest.in" "conftest.nl"
5488     $as_echo 'FGREP' >> "conftest.nl"
5489     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5490     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5491     as_fn_arith $ac_count + 1 && ac_count=$as_val
5492     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5493       # Best one so far, save it but keep looking for a better one
5494       ac_cv_path_FGREP="$ac_path_FGREP"
5495       ac_path_FGREP_max=$ac_count
5496     fi
5497     # 10*(2^10) chars as input seems more than enough
5498     test $ac_count -gt 10 && break
5499   done
5500   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5501 esac
5502
5503       $ac_path_FGREP_found && break 3
5504     done
5505   done
5506   done
5507 IFS=$as_save_IFS
5508   if test -z "$ac_cv_path_FGREP"; then
5509     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5510   fi
5511 else
5512   ac_cv_path_FGREP=$FGREP
5513 fi
5514
5515    fi
5516 fi
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5518 $as_echo "$ac_cv_path_FGREP" >&6; }
5519  FGREP="$ac_cv_path_FGREP"
5520
5521
5522 test -z "$GREP" && GREP=grep
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542 # Check whether --with-gnu-ld was given.
5543 if test "${with_gnu_ld+set}" = set; then :
5544   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5545 else
5546   with_gnu_ld=no
5547 fi
5548
5549 ac_prog=ld
5550 if test "$GCC" = yes; then
5551   # Check if gcc -print-prog-name=ld gives a path.
5552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5553 $as_echo_n "checking for ld used by $CC... " >&6; }
5554   case $host in
5555   *-*-mingw*)
5556     # gcc leaves a trailing carriage return which upsets mingw
5557     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5558   *)
5559     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5560   esac
5561   case $ac_prog in
5562     # Accept absolute paths.
5563     [\\/]* | ?:[\\/]*)
5564       re_direlt='/[^/][^/]*/\.\./'
5565       # Canonicalize the pathname of ld
5566       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5567       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5568         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5569       done
5570       test -z "$LD" && LD="$ac_prog"
5571       ;;
5572   "")
5573     # If it fails, then pretend we aren't using GCC.
5574     ac_prog=ld
5575     ;;
5576   *)
5577     # If it is relative, then search for the first ld in PATH.
5578     with_gnu_ld=unknown
5579     ;;
5580   esac
5581 elif test "$with_gnu_ld" = yes; then
5582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5583 $as_echo_n "checking for GNU ld... " >&6; }
5584 else
5585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5586 $as_echo_n "checking for non-GNU ld... " >&6; }
5587 fi
5588 if test "${lt_cv_path_LD+set}" = set; then :
5589   $as_echo_n "(cached) " >&6
5590 else
5591   if test -z "$LD"; then
5592   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5593   for ac_dir in $PATH; do
5594     IFS="$lt_save_ifs"
5595     test -z "$ac_dir" && ac_dir=.
5596     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5597       lt_cv_path_LD="$ac_dir/$ac_prog"
5598       # Check to see if the program is GNU ld.  I'd rather use --version,
5599       # but apparently some variants of GNU ld only accept -v.
5600       # Break only if it was the GNU/non-GNU ld that we prefer.
5601       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5602       *GNU* | *'with BFD'*)
5603         test "$with_gnu_ld" != no && break
5604         ;;
5605       *)
5606         test "$with_gnu_ld" != yes && break
5607         ;;
5608       esac
5609     fi
5610   done
5611   IFS="$lt_save_ifs"
5612 else
5613   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5614 fi
5615 fi
5616
5617 LD="$lt_cv_path_LD"
5618 if test -n "$LD"; then
5619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5620 $as_echo "$LD" >&6; }
5621 else
5622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5623 $as_echo "no" >&6; }
5624 fi
5625 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5627 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5628 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5629   $as_echo_n "(cached) " >&6
5630 else
5631   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5632 case `$LD -v 2>&1 </dev/null` in
5633 *GNU* | *'with BFD'*)
5634   lt_cv_prog_gnu_ld=yes
5635   ;;
5636 *)
5637   lt_cv_prog_gnu_ld=no
5638   ;;
5639 esac
5640 fi
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5642 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5643 with_gnu_ld=$lt_cv_prog_gnu_ld
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5654 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5655 if test "${lt_cv_path_NM+set}" = set; then :
5656   $as_echo_n "(cached) " >&6
5657 else
5658   if test -n "$NM"; then
5659   # Let the user override the test.
5660   lt_cv_path_NM="$NM"
5661 else
5662   lt_nm_to_check="${ac_tool_prefix}nm"
5663   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5664     lt_nm_to_check="$lt_nm_to_check nm"
5665   fi
5666   for lt_tmp_nm in $lt_nm_to_check; do
5667     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5668     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5669       IFS="$lt_save_ifs"
5670       test -z "$ac_dir" && ac_dir=.
5671       tmp_nm="$ac_dir/$lt_tmp_nm"
5672       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5673         # Check to see if the nm accepts a BSD-compat flag.
5674         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5675         #   nm: unknown option "B" ignored
5676         # Tru64's nm complains that /dev/null is an invalid object file
5677         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5678         */dev/null* | *'Invalid file or object type'*)
5679           lt_cv_path_NM="$tmp_nm -B"
5680           break
5681           ;;
5682         *)
5683           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5684           */dev/null*)
5685             lt_cv_path_NM="$tmp_nm -p"
5686             break
5687             ;;
5688           *)
5689             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5690             continue # so that we can try to find one that supports BSD flags
5691             ;;
5692           esac
5693           ;;
5694         esac
5695       fi
5696     done
5697     IFS="$lt_save_ifs"
5698   done
5699   : ${lt_cv_path_NM=no}
5700 fi
5701 fi
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5703 $as_echo "$lt_cv_path_NM" >&6; }
5704 if test "$lt_cv_path_NM" != "no"; then
5705   NM="$lt_cv_path_NM"
5706 else
5707   # Didn't find any BSD compatible name lister, look for dumpbin.
5708   if test -n "$DUMPBIN"; then :
5709     # Let the user override the test.
5710   else
5711     if test -n "$ac_tool_prefix"; then
5712   for ac_prog in dumpbin "link -dump"
5713   do
5714     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5715 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5717 $as_echo_n "checking for $ac_word... " >&6; }
5718 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5719   $as_echo_n "(cached) " >&6
5720 else
5721   if test -n "$DUMPBIN"; then
5722   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5723 else
5724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 for as_dir in $PATH
5726 do
5727   IFS=$as_save_IFS
5728   test -z "$as_dir" && as_dir=.
5729     for ac_exec_ext in '' $ac_executable_extensions; do
5730   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5731     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5732     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5733     break 2
5734   fi
5735 done
5736   done
5737 IFS=$as_save_IFS
5738
5739 fi
5740 fi
5741 DUMPBIN=$ac_cv_prog_DUMPBIN
5742 if test -n "$DUMPBIN"; then
5743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5744 $as_echo "$DUMPBIN" >&6; }
5745 else
5746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5748 fi
5749
5750
5751     test -n "$DUMPBIN" && break
5752   done
5753 fi
5754 if test -z "$DUMPBIN"; then
5755   ac_ct_DUMPBIN=$DUMPBIN
5756   for ac_prog in dumpbin "link -dump"
5757 do
5758   # Extract the first word of "$ac_prog", so it can be a program name with args.
5759 set dummy $ac_prog; ac_word=$2
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5761 $as_echo_n "checking for $ac_word... " >&6; }
5762 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5763   $as_echo_n "(cached) " >&6
5764 else
5765   if test -n "$ac_ct_DUMPBIN"; then
5766   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5767 else
5768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5769 for as_dir in $PATH
5770 do
5771   IFS=$as_save_IFS
5772   test -z "$as_dir" && as_dir=.
5773     for ac_exec_ext in '' $ac_executable_extensions; do
5774   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5775     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5776     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5777     break 2
5778   fi
5779 done
5780   done
5781 IFS=$as_save_IFS
5782
5783 fi
5784 fi
5785 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5786 if test -n "$ac_ct_DUMPBIN"; then
5787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5788 $as_echo "$ac_ct_DUMPBIN" >&6; }
5789 else
5790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5791 $as_echo "no" >&6; }
5792 fi
5793
5794
5795   test -n "$ac_ct_DUMPBIN" && break
5796 done
5797
5798   if test "x$ac_ct_DUMPBIN" = x; then
5799     DUMPBIN=":"
5800   else
5801     case $cross_compiling:$ac_tool_warned in
5802 yes:)
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5804 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5805 ac_tool_warned=yes ;;
5806 esac
5807     DUMPBIN=$ac_ct_DUMPBIN
5808   fi
5809 fi
5810
5811     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5812     *COFF*)
5813       DUMPBIN="$DUMPBIN -symbols"
5814       ;;
5815     *)
5816       DUMPBIN=:
5817       ;;
5818     esac
5819   fi
5820
5821   if test "$DUMPBIN" != ":"; then
5822     NM="$DUMPBIN"
5823   fi
5824 fi
5825 test -z "$NM" && NM=nm
5826
5827
5828
5829
5830
5831
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5833 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5834 if test "${lt_cv_nm_interface+set}" = set; then :
5835   $as_echo_n "(cached) " >&6
5836 else
5837   lt_cv_nm_interface="BSD nm"
5838   echo "int some_variable = 0;" > conftest.$ac_ext
5839   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5840   (eval "$ac_compile" 2>conftest.err)
5841   cat conftest.err >&5
5842   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5843   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5844   cat conftest.err >&5
5845   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5846   cat conftest.out >&5
5847   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5848     lt_cv_nm_interface="MS dumpbin"
5849   fi
5850   rm -f conftest*
5851 fi
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5853 $as_echo "$lt_cv_nm_interface" >&6; }
5854
5855 # find the maximum length of command line arguments
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5857 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5858 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5859   $as_echo_n "(cached) " >&6
5860 else
5861     i=0
5862   teststring="ABCD"
5863
5864   case $build_os in
5865   msdosdjgpp*)
5866     # On DJGPP, this test can blow up pretty badly due to problems in libc
5867     # (any single argument exceeding 2000 bytes causes a buffer overrun
5868     # during glob expansion).  Even if it were fixed, the result of this
5869     # check would be larger than it should be.
5870     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5871     ;;
5872
5873   gnu*)
5874     # Under GNU Hurd, this test is not required because there is
5875     # no limit to the length of command line arguments.
5876     # Libtool will interpret -1 as no limit whatsoever
5877     lt_cv_sys_max_cmd_len=-1;
5878     ;;
5879
5880   cygwin* | mingw* | cegcc*)
5881     # On Win9x/ME, this test blows up -- it succeeds, but takes
5882     # about 5 minutes as the teststring grows exponentially.
5883     # Worse, since 9x/ME are not pre-emptively multitasking,
5884     # you end up with a "frozen" computer, even though with patience
5885     # the test eventually succeeds (with a max line length of 256k).
5886     # Instead, let's just punt: use the minimum linelength reported by
5887     # all of the supported platforms: 8192 (on NT/2K/XP).
5888     lt_cv_sys_max_cmd_len=8192;
5889     ;;
5890
5891   mint*)
5892     # On MiNT this can take a long time and run out of memory.
5893     lt_cv_sys_max_cmd_len=8192;
5894     ;;
5895
5896   amigaos*)
5897     # On AmigaOS with pdksh, this test takes hours, literally.
5898     # So we just punt and use a minimum line length of 8192.
5899     lt_cv_sys_max_cmd_len=8192;
5900     ;;
5901
5902   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5903     # This has been around since 386BSD, at least.  Likely further.
5904     if test -x /sbin/sysctl; then
5905       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5906     elif test -x /usr/sbin/sysctl; then
5907       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5908     else
5909       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5910     fi
5911     # And add a safety zone
5912     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5913     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5914     ;;
5915
5916   interix*)
5917     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5918     lt_cv_sys_max_cmd_len=196608
5919     ;;
5920
5921   osf*)
5922     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5923     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5924     # nice to cause kernel panics so lets avoid the loop below.
5925     # First set a reasonable default.
5926     lt_cv_sys_max_cmd_len=16384
5927     #
5928     if test -x /sbin/sysconfig; then
5929       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5930         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5931       esac
5932     fi
5933     ;;
5934   sco3.2v5*)
5935     lt_cv_sys_max_cmd_len=102400
5936     ;;
5937   sysv5* | sco5v6* | sysv4.2uw2*)
5938     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5939     if test -n "$kargmax"; then
5940       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5941     else
5942       lt_cv_sys_max_cmd_len=32768
5943     fi
5944     ;;
5945   *)
5946     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5947     if test -n "$lt_cv_sys_max_cmd_len"; then
5948       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5949       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5950     else
5951       # Make teststring a little bigger before we do anything with it.
5952       # a 1K string should be a reasonable start.
5953       for i in 1 2 3 4 5 6 7 8 ; do
5954         teststring=$teststring$teststring
5955       done
5956       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5957       # If test is not a shell built-in, we'll probably end up computing a
5958       # maximum length that is only half of the actual maximum length, but
5959       # we can't tell.
5960       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5961                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5962               test $i != 17 # 1/2 MB should be enough
5963       do
5964         i=`expr $i + 1`
5965         teststring=$teststring$teststring
5966       done
5967       # Only check the string length outside the loop.
5968       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5969       teststring=
5970       # Add a significant safety factor because C++ compilers can tack on
5971       # massive amounts of additional arguments before passing them to the
5972       # linker.  It appears as though 1/2 is a usable value.
5973       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5974     fi
5975     ;;
5976   esac
5977
5978 fi
5979
5980 if test -n $lt_cv_sys_max_cmd_len ; then
5981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5982 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5983 else
5984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5985 $as_echo "none" >&6; }
5986 fi
5987 max_cmd_len=$lt_cv_sys_max_cmd_len
5988
5989
5990
5991
5992
5993
5994 : ${CP="cp -f"}
5995 : ${MV="mv -f"}
5996 : ${RM="rm -f"}
5997
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5999 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6000 # Try some XSI features
6001 xsi_shell=no
6002 ( _lt_dummy="a/b/c"
6003   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6004       = c,a/b,, \
6005     && eval 'test $(( 1 + 1 )) -eq 2 \
6006     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6007   && xsi_shell=yes
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6009 $as_echo "$xsi_shell" >&6; }
6010
6011
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6013 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6014 lt_shell_append=no
6015 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6016     >/dev/null 2>&1 \
6017   && lt_shell_append=yes
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6019 $as_echo "$lt_shell_append" >&6; }
6020
6021
6022 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6023   lt_unset=unset
6024 else
6025   lt_unset=false
6026 fi
6027
6028
6029
6030
6031
6032 # test EBCDIC or ASCII
6033 case `echo X|tr X '\101'` in
6034  A) # ASCII based system
6035     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6036   lt_SP2NL='tr \040 \012'
6037   lt_NL2SP='tr \015\012 \040\040'
6038   ;;
6039  *) # EBCDIC based system
6040   lt_SP2NL='tr \100 \n'
6041   lt_NL2SP='tr \r\n \100\100'
6042   ;;
6043 esac
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6054 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6055 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6056   $as_echo_n "(cached) " >&6
6057 else
6058   lt_cv_ld_reload_flag='-r'
6059 fi
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6061 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6062 reload_flag=$lt_cv_ld_reload_flag
6063 case $reload_flag in
6064 "" | " "*) ;;
6065 *) reload_flag=" $reload_flag" ;;
6066 esac
6067 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6068 case $host_os in
6069   darwin*)
6070     if test "$GCC" = yes; then
6071       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6072     else
6073       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6074     fi
6075     ;;
6076 esac
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086 if test -n "$ac_tool_prefix"; then
6087   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6088 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6090 $as_echo_n "checking for $ac_word... " >&6; }
6091 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6092   $as_echo_n "(cached) " >&6
6093 else
6094   if test -n "$OBJDUMP"; then
6095   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6096 else
6097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6098 for as_dir in $PATH
6099 do
6100   IFS=$as_save_IFS
6101   test -z "$as_dir" && as_dir=.
6102     for ac_exec_ext in '' $ac_executable_extensions; do
6103   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6104     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6105     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6106     break 2
6107   fi
6108 done
6109   done
6110 IFS=$as_save_IFS
6111
6112 fi
6113 fi
6114 OBJDUMP=$ac_cv_prog_OBJDUMP
6115 if test -n "$OBJDUMP"; then
6116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6117 $as_echo "$OBJDUMP" >&6; }
6118 else
6119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6120 $as_echo "no" >&6; }
6121 fi
6122
6123
6124 fi
6125 if test -z "$ac_cv_prog_OBJDUMP"; then
6126   ac_ct_OBJDUMP=$OBJDUMP
6127   # Extract the first word of "objdump", so it can be a program name with args.
6128 set dummy objdump; ac_word=$2
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6130 $as_echo_n "checking for $ac_word... " >&6; }
6131 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6132   $as_echo_n "(cached) " >&6
6133 else
6134   if test -n "$ac_ct_OBJDUMP"; then
6135   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6136 else
6137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6138 for as_dir in $PATH
6139 do
6140   IFS=$as_save_IFS
6141   test -z "$as_dir" && as_dir=.
6142     for ac_exec_ext in '' $ac_executable_extensions; do
6143   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6144     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6145     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6146     break 2
6147   fi
6148 done
6149   done
6150 IFS=$as_save_IFS
6151
6152 fi
6153 fi
6154 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6155 if test -n "$ac_ct_OBJDUMP"; then
6156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6157 $as_echo "$ac_ct_OBJDUMP" >&6; }
6158 else
6159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6160 $as_echo "no" >&6; }
6161 fi
6162
6163   if test "x$ac_ct_OBJDUMP" = x; then
6164     OBJDUMP="false"
6165   else
6166     case $cross_compiling:$ac_tool_warned in
6167 yes:)
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6170 ac_tool_warned=yes ;;
6171 esac
6172     OBJDUMP=$ac_ct_OBJDUMP
6173   fi
6174 else
6175   OBJDUMP="$ac_cv_prog_OBJDUMP"
6176 fi
6177
6178 test -z "$OBJDUMP" && OBJDUMP=objdump
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6189 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6190 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6191   $as_echo_n "(cached) " >&6
6192 else
6193   lt_cv_file_magic_cmd='$MAGIC_CMD'
6194 lt_cv_file_magic_test_file=
6195 lt_cv_deplibs_check_method='unknown'
6196 # Need to set the preceding variable on all platforms that support
6197 # interlibrary dependencies.
6198 # 'none' -- dependencies not supported.
6199 # `unknown' -- same as none, but documents that we really don't know.
6200 # 'pass_all' -- all dependencies passed with no checks.
6201 # 'test_compile' -- check by making test program.
6202 # 'file_magic [[regex]]' -- check by looking for files in library path
6203 # which responds to the $file_magic_cmd with a given extended regex.
6204 # If you have `file' or equivalent on your system and you're not sure
6205 # whether `pass_all' will *always* work, you probably want this one.
6206
6207 case $host_os in
6208 aix[4-9]*)
6209   lt_cv_deplibs_check_method=pass_all
6210   ;;
6211
6212 beos*)
6213   lt_cv_deplibs_check_method=pass_all
6214   ;;
6215
6216 bsdi[45]*)
6217   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6218   lt_cv_file_magic_cmd='/usr/bin/file -L'
6219   lt_cv_file_magic_test_file=/shlib/libc.so
6220   ;;
6221
6222 cygwin*)
6223   # func_win32_libid is a shell function defined in ltmain.sh
6224   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6225   lt_cv_file_magic_cmd='func_win32_libid'
6226   ;;
6227
6228 mingw* | pw32*)
6229   # Base MSYS/MinGW do not provide the 'file' command needed by
6230   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6231   # unless we find 'file', for example because we are cross-compiling.
6232   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6233   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6234     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6235     lt_cv_file_magic_cmd='func_win32_libid'
6236   else
6237     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6238     lt_cv_file_magic_cmd='$OBJDUMP -f'
6239   fi
6240   ;;
6241
6242 cegcc*)
6243   # use the weaker test based on 'objdump'. See mingw*.
6244   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6245   lt_cv_file_magic_cmd='$OBJDUMP -f'
6246   ;;
6247
6248 darwin* | rhapsody*)
6249   lt_cv_deplibs_check_method=pass_all
6250   ;;
6251
6252 freebsd* | dragonfly*)
6253   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6254     case $host_cpu in
6255     i*86 )
6256       # Not sure whether the presence of OpenBSD here was a mistake.
6257       # Let's accept both of them until this is cleared up.
6258       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6259       lt_cv_file_magic_cmd=/usr/bin/file
6260       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6261       ;;
6262     esac
6263   else
6264     lt_cv_deplibs_check_method=pass_all
6265   fi
6266   ;;
6267
6268 gnu*)
6269   lt_cv_deplibs_check_method=pass_all
6270   ;;
6271
6272 haiku*)
6273   lt_cv_deplibs_check_method=pass_all
6274   ;;
6275
6276 hpux10.20* | hpux11*)
6277   lt_cv_file_magic_cmd=/usr/bin/file
6278   case $host_cpu in
6279   ia64*)
6280     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6281     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6282     ;;
6283   hppa*64*)
6284     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]'
6285     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6286     ;;
6287   *)
6288     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6289     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6290     ;;
6291   esac
6292   ;;
6293
6294 interix[3-9]*)
6295   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6296   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6297   ;;
6298
6299 irix5* | irix6* | nonstopux*)
6300   case $LD in
6301   *-32|*"-32 ") libmagic=32-bit;;
6302   *-n32|*"-n32 ") libmagic=N32;;
6303   *-64|*"-64 ") libmagic=64-bit;;
6304   *) libmagic=never-match;;
6305   esac
6306   lt_cv_deplibs_check_method=pass_all
6307   ;;
6308
6309 # This must be Linux ELF.
6310 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6311   lt_cv_deplibs_check_method=pass_all
6312   ;;
6313
6314 netbsd*)
6315   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6316     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6317   else
6318     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6319   fi
6320   ;;
6321
6322 newos6*)
6323   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6324   lt_cv_file_magic_cmd=/usr/bin/file
6325   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6326   ;;
6327
6328 *nto* | *qnx*)
6329   lt_cv_deplibs_check_method=pass_all
6330   ;;
6331
6332 openbsd*)
6333   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6334     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6335   else
6336     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6337   fi
6338   ;;
6339
6340 osf3* | osf4* | osf5*)
6341   lt_cv_deplibs_check_method=pass_all
6342   ;;
6343
6344 rdos*)
6345   lt_cv_deplibs_check_method=pass_all
6346   ;;
6347
6348 solaris*)
6349   lt_cv_deplibs_check_method=pass_all
6350   ;;
6351
6352 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6353   lt_cv_deplibs_check_method=pass_all
6354   ;;
6355
6356 sysv4 | sysv4.3*)
6357   case $host_vendor in
6358   motorola)
6359     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]'
6360     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6361     ;;
6362   ncr)
6363     lt_cv_deplibs_check_method=pass_all
6364     ;;
6365   sequent)
6366     lt_cv_file_magic_cmd='/bin/file'
6367     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6368     ;;
6369   sni)
6370     lt_cv_file_magic_cmd='/bin/file'
6371     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6372     lt_cv_file_magic_test_file=/lib/libc.so
6373     ;;
6374   siemens)
6375     lt_cv_deplibs_check_method=pass_all
6376     ;;
6377   pc)
6378     lt_cv_deplibs_check_method=pass_all
6379     ;;
6380   esac
6381   ;;
6382
6383 tpf*)
6384   lt_cv_deplibs_check_method=pass_all
6385   ;;
6386 esac
6387
6388 fi
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6390 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6391 file_magic_cmd=$lt_cv_file_magic_cmd
6392 deplibs_check_method=$lt_cv_deplibs_check_method
6393 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406 if test -n "$ac_tool_prefix"; then
6407   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6408 set dummy ${ac_tool_prefix}ar; ac_word=$2
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6410 $as_echo_n "checking for $ac_word... " >&6; }
6411 if test "${ac_cv_prog_AR+set}" = set; then :
6412   $as_echo_n "(cached) " >&6
6413 else
6414   if test -n "$AR"; then
6415   ac_cv_prog_AR="$AR" # Let the user override the test.
6416 else
6417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6418 for as_dir in $PATH
6419 do
6420   IFS=$as_save_IFS
6421   test -z "$as_dir" && as_dir=.
6422     for ac_exec_ext in '' $ac_executable_extensions; do
6423   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6424     ac_cv_prog_AR="${ac_tool_prefix}ar"
6425     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6426     break 2
6427   fi
6428 done
6429   done
6430 IFS=$as_save_IFS
6431
6432 fi
6433 fi
6434 AR=$ac_cv_prog_AR
6435 if test -n "$AR"; then
6436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6437 $as_echo "$AR" >&6; }
6438 else
6439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6440 $as_echo "no" >&6; }
6441 fi
6442
6443
6444 fi
6445 if test -z "$ac_cv_prog_AR"; then
6446   ac_ct_AR=$AR
6447   # Extract the first word of "ar", so it can be a program name with args.
6448 set dummy ar; ac_word=$2
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6450 $as_echo_n "checking for $ac_word... " >&6; }
6451 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6452   $as_echo_n "(cached) " >&6
6453 else
6454   if test -n "$ac_ct_AR"; then
6455   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6456 else
6457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6458 for as_dir in $PATH
6459 do
6460   IFS=$as_save_IFS
6461   test -z "$as_dir" && as_dir=.
6462     for ac_exec_ext in '' $ac_executable_extensions; do
6463   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6464     ac_cv_prog_ac_ct_AR="ar"
6465     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6466     break 2
6467   fi
6468 done
6469   done
6470 IFS=$as_save_IFS
6471
6472 fi
6473 fi
6474 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6475 if test -n "$ac_ct_AR"; then
6476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6477 $as_echo "$ac_ct_AR" >&6; }
6478 else
6479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6480 $as_echo "no" >&6; }
6481 fi
6482
6483   if test "x$ac_ct_AR" = x; then
6484     AR="false"
6485   else
6486     case $cross_compiling:$ac_tool_warned in
6487 yes:)
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6490 ac_tool_warned=yes ;;
6491 esac
6492     AR=$ac_ct_AR
6493   fi
6494 else
6495   AR="$ac_cv_prog_AR"
6496 fi
6497
6498 test -z "$AR" && AR=ar
6499 test -z "$AR_FLAGS" && AR_FLAGS=cru
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511 if test -n "$ac_tool_prefix"; then
6512   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6513 set dummy ${ac_tool_prefix}strip; ac_word=$2
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6515 $as_echo_n "checking for $ac_word... " >&6; }
6516 if test "${ac_cv_prog_STRIP+set}" = set; then :
6517   $as_echo_n "(cached) " >&6
6518 else
6519   if test -n "$STRIP"; then
6520   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6521 else
6522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6523 for as_dir in $PATH
6524 do
6525   IFS=$as_save_IFS
6526   test -z "$as_dir" && as_dir=.
6527     for ac_exec_ext in '' $ac_executable_extensions; do
6528   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6529     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6530     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6531     break 2
6532   fi
6533 done
6534   done
6535 IFS=$as_save_IFS
6536
6537 fi
6538 fi
6539 STRIP=$ac_cv_prog_STRIP
6540 if test -n "$STRIP"; then
6541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6542 $as_echo "$STRIP" >&6; }
6543 else
6544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6545 $as_echo "no" >&6; }
6546 fi
6547
6548
6549 fi
6550 if test -z "$ac_cv_prog_STRIP"; then
6551   ac_ct_STRIP=$STRIP
6552   # Extract the first word of "strip", so it can be a program name with args.
6553 set dummy strip; ac_word=$2
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6555 $as_echo_n "checking for $ac_word... " >&6; }
6556 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6557   $as_echo_n "(cached) " >&6
6558 else
6559   if test -n "$ac_ct_STRIP"; then
6560   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6561 else
6562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6563 for as_dir in $PATH
6564 do
6565   IFS=$as_save_IFS
6566   test -z "$as_dir" && as_dir=.
6567     for ac_exec_ext in '' $ac_executable_extensions; do
6568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6569     ac_cv_prog_ac_ct_STRIP="strip"
6570     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6571     break 2
6572   fi
6573 done
6574   done
6575 IFS=$as_save_IFS
6576
6577 fi
6578 fi
6579 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6580 if test -n "$ac_ct_STRIP"; then
6581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6582 $as_echo "$ac_ct_STRIP" >&6; }
6583 else
6584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6585 $as_echo "no" >&6; }
6586 fi
6587
6588   if test "x$ac_ct_STRIP" = x; then
6589     STRIP=":"
6590   else
6591     case $cross_compiling:$ac_tool_warned in
6592 yes:)
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6595 ac_tool_warned=yes ;;
6596 esac
6597     STRIP=$ac_ct_STRIP
6598   fi
6599 else
6600   STRIP="$ac_cv_prog_STRIP"
6601 fi
6602
6603 test -z "$STRIP" && STRIP=:
6604
6605
6606
6607
6608
6609
6610 if test -n "$ac_tool_prefix"; then
6611   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6612 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6614 $as_echo_n "checking for $ac_word... " >&6; }
6615 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6616   $as_echo_n "(cached) " >&6
6617 else
6618   if test -n "$RANLIB"; then
6619   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6620 else
6621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6622 for as_dir in $PATH
6623 do
6624   IFS=$as_save_IFS
6625   test -z "$as_dir" && as_dir=.
6626     for ac_exec_ext in '' $ac_executable_extensions; do
6627   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6628     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6629     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6630     break 2
6631   fi
6632 done
6633   done
6634 IFS=$as_save_IFS
6635
6636 fi
6637 fi
6638 RANLIB=$ac_cv_prog_RANLIB
6639 if test -n "$RANLIB"; then
6640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6641 $as_echo "$RANLIB" >&6; }
6642 else
6643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6644 $as_echo "no" >&6; }
6645 fi
6646
6647
6648 fi
6649 if test -z "$ac_cv_prog_RANLIB"; then
6650   ac_ct_RANLIB=$RANLIB
6651   # Extract the first word of "ranlib", so it can be a program name with args.
6652 set dummy ranlib; ac_word=$2
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6654 $as_echo_n "checking for $ac_word... " >&6; }
6655 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6656   $as_echo_n "(cached) " >&6
6657 else
6658   if test -n "$ac_ct_RANLIB"; then
6659   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6660 else
6661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6662 for as_dir in $PATH
6663 do
6664   IFS=$as_save_IFS
6665   test -z "$as_dir" && as_dir=.
6666     for ac_exec_ext in '' $ac_executable_extensions; do
6667   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6668     ac_cv_prog_ac_ct_RANLIB="ranlib"
6669     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6670     break 2
6671   fi
6672 done
6673   done
6674 IFS=$as_save_IFS
6675
6676 fi
6677 fi
6678 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6679 if test -n "$ac_ct_RANLIB"; then
6680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6681 $as_echo "$ac_ct_RANLIB" >&6; }
6682 else
6683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6684 $as_echo "no" >&6; }
6685 fi
6686
6687   if test "x$ac_ct_RANLIB" = x; then
6688     RANLIB=":"
6689   else
6690     case $cross_compiling:$ac_tool_warned in
6691 yes:)
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6694 ac_tool_warned=yes ;;
6695 esac
6696     RANLIB=$ac_ct_RANLIB
6697   fi
6698 else
6699   RANLIB="$ac_cv_prog_RANLIB"
6700 fi
6701
6702 test -z "$RANLIB" && RANLIB=:
6703
6704
6705
6706
6707
6708
6709 # Determine commands to create old-style static archives.
6710 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6711 old_postinstall_cmds='chmod 644 $oldlib'
6712 old_postuninstall_cmds=
6713
6714 if test -n "$RANLIB"; then
6715   case $host_os in
6716   openbsd*)
6717     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6718     ;;
6719   *)
6720     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6721     ;;
6722   esac
6723   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6724 fi
6725
6726 case $host_os in
6727   darwin*)
6728     lock_old_archive_extraction=yes ;;
6729   *)
6730     lock_old_archive_extraction=no ;;
6731 esac
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771 # If no C compiler was specified, use CC.
6772 LTCC=${LTCC-"$CC"}
6773
6774 # If no C compiler flags were specified, use CFLAGS.
6775 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6776
6777 # Allow CC to be a program name with arguments.
6778 compiler=$CC
6779
6780
6781 # Check for command to grab the raw symbol name followed by C symbol from nm.
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6783 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6784 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6785   $as_echo_n "(cached) " >&6
6786 else
6787
6788 # These are sane defaults that work on at least a few old systems.
6789 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6790
6791 # Character class describing NM global symbol codes.
6792 symcode='[BCDEGRST]'
6793
6794 # Regexp to match symbols that can be accessed directly from C.
6795 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6796
6797 # Define system-specific variables.
6798 case $host_os in
6799 aix*)
6800   symcode='[BCDT]'
6801   ;;
6802 cygwin* | mingw* | pw32* | cegcc*)
6803   symcode='[ABCDGISTW]'
6804   ;;
6805 hpux*)
6806   if test "$host_cpu" = ia64; then
6807     symcode='[ABCDEGRST]'
6808   fi
6809   ;;
6810 irix* | nonstopux*)
6811   symcode='[BCDEGRST]'
6812   ;;
6813 osf*)
6814   symcode='[BCDEGQRST]'
6815   ;;
6816 solaris*)
6817   symcode='[BDRT]'
6818   ;;
6819 sco3.2v5*)
6820   symcode='[DT]'
6821   ;;
6822 sysv4.2uw2*)
6823   symcode='[DT]'
6824   ;;
6825 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6826   symcode='[ABDT]'
6827   ;;
6828 sysv4)
6829   symcode='[DFNSTU]'
6830   ;;
6831 esac
6832
6833 # If we're using GNU nm, then use its standard symbol codes.
6834 case `$NM -V 2>&1` in
6835 *GNU* | *'with BFD'*)
6836   symcode='[ABCDGIRSTW]' ;;
6837 esac
6838
6839 # Transform an extracted symbol line into a proper C declaration.
6840 # Some systems (esp. on ia64) link data and code symbols differently,
6841 # so use this general approach.
6842 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6843
6844 # Transform an extracted symbol line into symbol name and symbol address
6845 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6846 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'"
6847
6848 # Handle CRLF in mingw tool chain
6849 opt_cr=
6850 case $build_os in
6851 mingw*)
6852   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6853   ;;
6854 esac
6855
6856 # Try without a prefix underscore, then with it.
6857 for ac_symprfx in "" "_"; do
6858
6859   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6860   symxfrm="\\1 $ac_symprfx\\2 \\2"
6861
6862   # Write the raw and C identifiers.
6863   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6864     # Fake it for dumpbin and say T for any non-static function
6865     # and D for any global variable.
6866     # Also find C++ and __fastcall symbols from MSVC++,
6867     # which start with @ or ?.
6868     lt_cv_sys_global_symbol_pipe="$AWK '"\
6869 "     {last_section=section; section=\$ 3};"\
6870 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6871 "     \$ 0!~/External *\|/{next};"\
6872 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6873 "     {if(hide[section]) next};"\
6874 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6875 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6876 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6877 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6878 "     ' prfx=^$ac_symprfx"
6879   else
6880     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6881   fi
6882
6883   # Check to see that the pipe works correctly.
6884   pipe_works=no
6885
6886   rm -f conftest*
6887   cat > conftest.$ac_ext <<_LT_EOF
6888 #ifdef __cplusplus
6889 extern "C" {
6890 #endif
6891 char nm_test_var;
6892 void nm_test_func(void);
6893 void nm_test_func(void){}
6894 #ifdef __cplusplus
6895 }
6896 #endif
6897 int main(){nm_test_var='a';nm_test_func();return(0);}
6898 _LT_EOF
6899
6900   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6901   (eval $ac_compile) 2>&5
6902   ac_status=$?
6903   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6904   test $ac_status = 0; }; then
6905     # Now try to grab the symbols.
6906     nlist=conftest.nm
6907     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6908   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6909   ac_status=$?
6910   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6911   test $ac_status = 0; } && test -s "$nlist"; then
6912       # Try sorting and uniquifying the output.
6913       if sort "$nlist" | uniq > "$nlist"T; then
6914         mv -f "$nlist"T "$nlist"
6915       else
6916         rm -f "$nlist"T
6917       fi
6918
6919       # Make sure that we snagged all the symbols we need.
6920       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6921         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6922           cat <<_LT_EOF > conftest.$ac_ext
6923 #ifdef __cplusplus
6924 extern "C" {
6925 #endif
6926
6927 _LT_EOF
6928           # Now generate the symbol file.
6929           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6930
6931           cat <<_LT_EOF >> conftest.$ac_ext
6932
6933 /* The mapping between symbol names and symbols.  */
6934 const struct {
6935   const char *name;
6936   void       *address;
6937 }
6938 lt__PROGRAM__LTX_preloaded_symbols[] =
6939 {
6940   { "@PROGRAM@", (void *) 0 },
6941 _LT_EOF
6942           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6943           cat <<\_LT_EOF >> conftest.$ac_ext
6944   {0, (void *) 0}
6945 };
6946
6947 /* This works around a problem in FreeBSD linker */
6948 #ifdef FREEBSD_WORKAROUND
6949 static const void *lt_preloaded_setup() {
6950   return lt__PROGRAM__LTX_preloaded_symbols;
6951 }
6952 #endif
6953
6954 #ifdef __cplusplus
6955 }
6956 #endif
6957 _LT_EOF
6958           # Now try linking the two files.
6959           mv conftest.$ac_objext conftstm.$ac_objext
6960           lt_save_LIBS="$LIBS"
6961           lt_save_CFLAGS="$CFLAGS"
6962           LIBS="conftstm.$ac_objext"
6963           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6964           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6965   (eval $ac_link) 2>&5
6966   ac_status=$?
6967   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6968   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6969             pipe_works=yes
6970           fi
6971           LIBS="$lt_save_LIBS"
6972           CFLAGS="$lt_save_CFLAGS"
6973         else
6974           echo "cannot find nm_test_func in $nlist" >&5
6975         fi
6976       else
6977         echo "cannot find nm_test_var in $nlist" >&5
6978       fi
6979     else
6980       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6981     fi
6982   else
6983     echo "$progname: failed program was:" >&5
6984     cat conftest.$ac_ext >&5
6985   fi
6986   rm -rf conftest* conftst*
6987
6988   # Do not use the global_symbol_pipe unless it works.
6989   if test "$pipe_works" = yes; then
6990     break
6991   else
6992     lt_cv_sys_global_symbol_pipe=
6993   fi
6994 done
6995
6996 fi
6997
6998 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6999   lt_cv_sys_global_symbol_to_cdecl=
7000 fi
7001 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7003 $as_echo "failed" >&6; }
7004 else
7005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7006 $as_echo "ok" >&6; }
7007 fi
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030 # Check whether --enable-libtool-lock was given.
7031 if test "${enable_libtool_lock+set}" = set; then :
7032   enableval=$enable_libtool_lock;
7033 fi
7034
7035 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7036
7037 # Some flags need to be propagated to the compiler or linker for good
7038 # libtool support.
7039 case $host in
7040 ia64-*-hpux*)
7041   # Find out which ABI we are using.
7042   echo 'int i;' > conftest.$ac_ext
7043   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7044   (eval $ac_compile) 2>&5
7045   ac_status=$?
7046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7047   test $ac_status = 0; }; then
7048     case `/usr/bin/file conftest.$ac_objext` in
7049       *ELF-32*)
7050         HPUX_IA64_MODE="32"
7051         ;;
7052       *ELF-64*)
7053         HPUX_IA64_MODE="64"
7054         ;;
7055     esac
7056   fi
7057   rm -rf conftest*
7058   ;;
7059 *-*-irix6*)
7060   # Find out which ABI we are using.
7061   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7062   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7063   (eval $ac_compile) 2>&5
7064   ac_status=$?
7065   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7066   test $ac_status = 0; }; then
7067     if test "$lt_cv_prog_gnu_ld" = yes; then
7068       case `/usr/bin/file conftest.$ac_objext` in
7069         *32-bit*)
7070           LD="${LD-ld} -melf32bsmip"
7071           ;;
7072         *N32*)
7073           LD="${LD-ld} -melf32bmipn32"
7074           ;;
7075         *64-bit*)
7076           LD="${LD-ld} -melf64bmip"
7077         ;;
7078       esac
7079     else
7080       case `/usr/bin/file conftest.$ac_objext` in
7081         *32-bit*)
7082           LD="${LD-ld} -32"
7083           ;;
7084         *N32*)
7085           LD="${LD-ld} -n32"
7086           ;;
7087         *64-bit*)
7088           LD="${LD-ld} -64"
7089           ;;
7090       esac
7091     fi
7092   fi
7093   rm -rf conftest*
7094   ;;
7095
7096 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7097 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7098   # Find out which ABI we are using.
7099   echo 'int i;' > conftest.$ac_ext
7100   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7101   (eval $ac_compile) 2>&5
7102   ac_status=$?
7103   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7104   test $ac_status = 0; }; then
7105     case `/usr/bin/file conftest.o` in
7106       *32-bit*)
7107         case $host in
7108           x86_64-*kfreebsd*-gnu)
7109             LD="${LD-ld} -m elf_i386_fbsd"
7110             ;;
7111           x86_64-*linux*)
7112             LD="${LD-ld} -m elf_i386"
7113             ;;
7114           ppc64-*linux*|powerpc64-*linux*)
7115             LD="${LD-ld} -m elf32ppclinux"
7116             ;;
7117           s390x-*linux*)
7118             LD="${LD-ld} -m elf_s390"
7119             ;;
7120           sparc64-*linux*)
7121             LD="${LD-ld} -m elf32_sparc"
7122             ;;
7123         esac
7124         ;;
7125       *64-bit*)
7126         case $host in
7127           x86_64-*kfreebsd*-gnu)
7128             LD="${LD-ld} -m elf_x86_64_fbsd"
7129             ;;
7130           x86_64-*linux*)
7131             LD="${LD-ld} -m elf_x86_64"
7132             ;;
7133           ppc*-*linux*|powerpc*-*linux*)
7134             LD="${LD-ld} -m elf64ppc"
7135             ;;
7136           s390*-*linux*|s390*-*tpf*)
7137             LD="${LD-ld} -m elf64_s390"
7138             ;;
7139           sparc*-*linux*)
7140             LD="${LD-ld} -m elf64_sparc"
7141             ;;
7142         esac
7143         ;;
7144     esac
7145   fi
7146   rm -rf conftest*
7147   ;;
7148
7149 *-*-sco3.2v5*)
7150   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7151   SAVE_CFLAGS="$CFLAGS"
7152   CFLAGS="$CFLAGS -belf"
7153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7154 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7155 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7156   $as_echo_n "(cached) " >&6
7157 else
7158   ac_ext=c
7159 ac_cpp='$CPP $CPPFLAGS'
7160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7163
7164      if test x$gcc_no_link = xyes; then
7165   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7166 fi
7167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7168 /* end confdefs.h.  */
7169
7170 int
7171 main ()
7172 {
7173
7174   ;
7175   return 0;
7176 }
7177 _ACEOF
7178 if ac_fn_c_try_link "$LINENO"; then :
7179   lt_cv_cc_needs_belf=yes
7180 else
7181   lt_cv_cc_needs_belf=no
7182 fi
7183 rm -f core conftest.err conftest.$ac_objext \
7184     conftest$ac_exeext conftest.$ac_ext
7185      ac_ext=c
7186 ac_cpp='$CPP $CPPFLAGS'
7187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7190
7191 fi
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7193 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7194   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7195     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7196     CFLAGS="$SAVE_CFLAGS"
7197   fi
7198   ;;
7199 sparc*-*solaris*)
7200   # Find out which ABI we are using.
7201   echo 'int i;' > conftest.$ac_ext
7202   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7203   (eval $ac_compile) 2>&5
7204   ac_status=$?
7205   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7206   test $ac_status = 0; }; then
7207     case `/usr/bin/file conftest.o` in
7208     *64-bit*)
7209       case $lt_cv_prog_gnu_ld in
7210       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7211       *)
7212         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7213           LD="${LD-ld} -64"
7214         fi
7215         ;;
7216       esac
7217       ;;
7218     esac
7219   fi
7220   rm -rf conftest*
7221   ;;
7222 esac
7223
7224 need_locks="$enable_libtool_lock"
7225
7226
7227   case $host_os in
7228     rhapsody* | darwin*)
7229     if test -n "$ac_tool_prefix"; then
7230   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7231 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7233 $as_echo_n "checking for $ac_word... " >&6; }
7234 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7235   $as_echo_n "(cached) " >&6
7236 else
7237   if test -n "$DSYMUTIL"; then
7238   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7239 else
7240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7241 for as_dir in $PATH
7242 do
7243   IFS=$as_save_IFS
7244   test -z "$as_dir" && as_dir=.
7245     for ac_exec_ext in '' $ac_executable_extensions; do
7246   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7247     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7248     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7249     break 2
7250   fi
7251 done
7252   done
7253 IFS=$as_save_IFS
7254
7255 fi
7256 fi
7257 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7258 if test -n "$DSYMUTIL"; then
7259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7260 $as_echo "$DSYMUTIL" >&6; }
7261 else
7262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7263 $as_echo "no" >&6; }
7264 fi
7265
7266
7267 fi
7268 if test -z "$ac_cv_prog_DSYMUTIL"; then
7269   ac_ct_DSYMUTIL=$DSYMUTIL
7270   # Extract the first word of "dsymutil", so it can be a program name with args.
7271 set dummy dsymutil; ac_word=$2
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7273 $as_echo_n "checking for $ac_word... " >&6; }
7274 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7275   $as_echo_n "(cached) " >&6
7276 else
7277   if test -n "$ac_ct_DSYMUTIL"; then
7278   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7279 else
7280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7281 for as_dir in $PATH
7282 do
7283   IFS=$as_save_IFS
7284   test -z "$as_dir" && as_dir=.
7285     for ac_exec_ext in '' $ac_executable_extensions; do
7286   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7287     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7288     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7289     break 2
7290   fi
7291 done
7292   done
7293 IFS=$as_save_IFS
7294
7295 fi
7296 fi
7297 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7298 if test -n "$ac_ct_DSYMUTIL"; then
7299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7300 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7301 else
7302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7303 $as_echo "no" >&6; }
7304 fi
7305
7306   if test "x$ac_ct_DSYMUTIL" = x; then
7307     DSYMUTIL=":"
7308   else
7309     case $cross_compiling:$ac_tool_warned in
7310 yes:)
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7313 ac_tool_warned=yes ;;
7314 esac
7315     DSYMUTIL=$ac_ct_DSYMUTIL
7316   fi
7317 else
7318   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7319 fi
7320
7321     if test -n "$ac_tool_prefix"; then
7322   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7323 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7325 $as_echo_n "checking for $ac_word... " >&6; }
7326 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7327   $as_echo_n "(cached) " >&6
7328 else
7329   if test -n "$NMEDIT"; then
7330   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7331 else
7332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7333 for as_dir in $PATH
7334 do
7335   IFS=$as_save_IFS
7336   test -z "$as_dir" && as_dir=.
7337     for ac_exec_ext in '' $ac_executable_extensions; do
7338   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7339     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7340     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7341     break 2
7342   fi
7343 done
7344   done
7345 IFS=$as_save_IFS
7346
7347 fi
7348 fi
7349 NMEDIT=$ac_cv_prog_NMEDIT
7350 if test -n "$NMEDIT"; then
7351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7352 $as_echo "$NMEDIT" >&6; }
7353 else
7354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355 $as_echo "no" >&6; }
7356 fi
7357
7358
7359 fi
7360 if test -z "$ac_cv_prog_NMEDIT"; then
7361   ac_ct_NMEDIT=$NMEDIT
7362   # Extract the first word of "nmedit", so it can be a program name with args.
7363 set dummy nmedit; ac_word=$2
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7365 $as_echo_n "checking for $ac_word... " >&6; }
7366 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7367   $as_echo_n "(cached) " >&6
7368 else
7369   if test -n "$ac_ct_NMEDIT"; then
7370   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7371 else
7372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7373 for as_dir in $PATH
7374 do
7375   IFS=$as_save_IFS
7376   test -z "$as_dir" && as_dir=.
7377     for ac_exec_ext in '' $ac_executable_extensions; do
7378   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7379     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7380     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7381     break 2
7382   fi
7383 done
7384   done
7385 IFS=$as_save_IFS
7386
7387 fi
7388 fi
7389 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7390 if test -n "$ac_ct_NMEDIT"; then
7391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7392 $as_echo "$ac_ct_NMEDIT" >&6; }
7393 else
7394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7395 $as_echo "no" >&6; }
7396 fi
7397
7398   if test "x$ac_ct_NMEDIT" = x; then
7399     NMEDIT=":"
7400   else
7401     case $cross_compiling:$ac_tool_warned in
7402 yes:)
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7405 ac_tool_warned=yes ;;
7406 esac
7407     NMEDIT=$ac_ct_NMEDIT
7408   fi
7409 else
7410   NMEDIT="$ac_cv_prog_NMEDIT"
7411 fi
7412
7413     if test -n "$ac_tool_prefix"; then
7414   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7415 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7417 $as_echo_n "checking for $ac_word... " >&6; }
7418 if test "${ac_cv_prog_LIPO+set}" = set; then :
7419   $as_echo_n "(cached) " >&6
7420 else
7421   if test -n "$LIPO"; then
7422   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7423 else
7424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7425 for as_dir in $PATH
7426 do
7427   IFS=$as_save_IFS
7428   test -z "$as_dir" && as_dir=.
7429     for ac_exec_ext in '' $ac_executable_extensions; do
7430   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7431     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7433     break 2
7434   fi
7435 done
7436   done
7437 IFS=$as_save_IFS
7438
7439 fi
7440 fi
7441 LIPO=$ac_cv_prog_LIPO
7442 if test -n "$LIPO"; then
7443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7444 $as_echo "$LIPO" >&6; }
7445 else
7446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7447 $as_echo "no" >&6; }
7448 fi
7449
7450
7451 fi
7452 if test -z "$ac_cv_prog_LIPO"; then
7453   ac_ct_LIPO=$LIPO
7454   # Extract the first word of "lipo", so it can be a program name with args.
7455 set dummy lipo; ac_word=$2
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7457 $as_echo_n "checking for $ac_word... " >&6; }
7458 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7459   $as_echo_n "(cached) " >&6
7460 else
7461   if test -n "$ac_ct_LIPO"; then
7462   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7463 else
7464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7465 for as_dir in $PATH
7466 do
7467   IFS=$as_save_IFS
7468   test -z "$as_dir" && as_dir=.
7469     for ac_exec_ext in '' $ac_executable_extensions; do
7470   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7471     ac_cv_prog_ac_ct_LIPO="lipo"
7472     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7473     break 2
7474   fi
7475 done
7476   done
7477 IFS=$as_save_IFS
7478
7479 fi
7480 fi
7481 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7482 if test -n "$ac_ct_LIPO"; then
7483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7484 $as_echo "$ac_ct_LIPO" >&6; }
7485 else
7486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7487 $as_echo "no" >&6; }
7488 fi
7489
7490   if test "x$ac_ct_LIPO" = x; then
7491     LIPO=":"
7492   else
7493     case $cross_compiling:$ac_tool_warned in
7494 yes:)
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7497 ac_tool_warned=yes ;;
7498 esac
7499     LIPO=$ac_ct_LIPO
7500   fi
7501 else
7502   LIPO="$ac_cv_prog_LIPO"
7503 fi
7504
7505     if test -n "$ac_tool_prefix"; then
7506   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7507 set dummy ${ac_tool_prefix}otool; ac_word=$2
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7509 $as_echo_n "checking for $ac_word... " >&6; }
7510 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7511   $as_echo_n "(cached) " >&6
7512 else
7513   if test -n "$OTOOL"; then
7514   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7515 else
7516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7517 for as_dir in $PATH
7518 do
7519   IFS=$as_save_IFS
7520   test -z "$as_dir" && as_dir=.
7521     for ac_exec_ext in '' $ac_executable_extensions; do
7522   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7523     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7524     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7525     break 2
7526   fi
7527 done
7528   done
7529 IFS=$as_save_IFS
7530
7531 fi
7532 fi
7533 OTOOL=$ac_cv_prog_OTOOL
7534 if test -n "$OTOOL"; then
7535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7536 $as_echo "$OTOOL" >&6; }
7537 else
7538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7539 $as_echo "no" >&6; }
7540 fi
7541
7542
7543 fi
7544 if test -z "$ac_cv_prog_OTOOL"; then
7545   ac_ct_OTOOL=$OTOOL
7546   # Extract the first word of "otool", so it can be a program name with args.
7547 set dummy otool; ac_word=$2
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7549 $as_echo_n "checking for $ac_word... " >&6; }
7550 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7551   $as_echo_n "(cached) " >&6
7552 else
7553   if test -n "$ac_ct_OTOOL"; then
7554   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7555 else
7556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7557 for as_dir in $PATH
7558 do
7559   IFS=$as_save_IFS
7560   test -z "$as_dir" && as_dir=.
7561     for ac_exec_ext in '' $ac_executable_extensions; do
7562   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7563     ac_cv_prog_ac_ct_OTOOL="otool"
7564     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7565     break 2
7566   fi
7567 done
7568   done
7569 IFS=$as_save_IFS
7570
7571 fi
7572 fi
7573 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7574 if test -n "$ac_ct_OTOOL"; then
7575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7576 $as_echo "$ac_ct_OTOOL" >&6; }
7577 else
7578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7579 $as_echo "no" >&6; }
7580 fi
7581
7582   if test "x$ac_ct_OTOOL" = x; then
7583     OTOOL=":"
7584   else
7585     case $cross_compiling:$ac_tool_warned in
7586 yes:)
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7589 ac_tool_warned=yes ;;
7590 esac
7591     OTOOL=$ac_ct_OTOOL
7592   fi
7593 else
7594   OTOOL="$ac_cv_prog_OTOOL"
7595 fi
7596
7597     if test -n "$ac_tool_prefix"; then
7598   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7599 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7601 $as_echo_n "checking for $ac_word... " >&6; }
7602 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7603   $as_echo_n "(cached) " >&6
7604 else
7605   if test -n "$OTOOL64"; then
7606   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7607 else
7608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7609 for as_dir in $PATH
7610 do
7611   IFS=$as_save_IFS
7612   test -z "$as_dir" && as_dir=.
7613     for ac_exec_ext in '' $ac_executable_extensions; do
7614   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7615     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7616     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7617     break 2
7618   fi
7619 done
7620   done
7621 IFS=$as_save_IFS
7622
7623 fi
7624 fi
7625 OTOOL64=$ac_cv_prog_OTOOL64
7626 if test -n "$OTOOL64"; then
7627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7628 $as_echo "$OTOOL64" >&6; }
7629 else
7630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7631 $as_echo "no" >&6; }
7632 fi
7633
7634
7635 fi
7636 if test -z "$ac_cv_prog_OTOOL64"; then
7637   ac_ct_OTOOL64=$OTOOL64
7638   # Extract the first word of "otool64", so it can be a program name with args.
7639 set dummy otool64; ac_word=$2
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7641 $as_echo_n "checking for $ac_word... " >&6; }
7642 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7643   $as_echo_n "(cached) " >&6
7644 else
7645   if test -n "$ac_ct_OTOOL64"; then
7646   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7647 else
7648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7649 for as_dir in $PATH
7650 do
7651   IFS=$as_save_IFS
7652   test -z "$as_dir" && as_dir=.
7653     for ac_exec_ext in '' $ac_executable_extensions; do
7654   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7655     ac_cv_prog_ac_ct_OTOOL64="otool64"
7656     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7657     break 2
7658   fi
7659 done
7660   done
7661 IFS=$as_save_IFS
7662
7663 fi
7664 fi
7665 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7666 if test -n "$ac_ct_OTOOL64"; then
7667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7668 $as_echo "$ac_ct_OTOOL64" >&6; }
7669 else
7670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7671 $as_echo "no" >&6; }
7672 fi
7673
7674   if test "x$ac_ct_OTOOL64" = x; then
7675     OTOOL64=":"
7676   else
7677     case $cross_compiling:$ac_tool_warned in
7678 yes:)
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7681 ac_tool_warned=yes ;;
7682 esac
7683     OTOOL64=$ac_ct_OTOOL64
7684   fi
7685 else
7686   OTOOL64="$ac_cv_prog_OTOOL64"
7687 fi
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7716 $as_echo_n "checking for -single_module linker flag... " >&6; }
7717 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7718   $as_echo_n "(cached) " >&6
7719 else
7720   lt_cv_apple_cc_single_mod=no
7721       if test -z "${LT_MULTI_MODULE}"; then
7722         # By default we will add the -single_module flag. You can override
7723         # by either setting the environment variable LT_MULTI_MODULE
7724         # non-empty at configure time, or by adding -multi_module to the
7725         # link flags.
7726         rm -rf libconftest.dylib*
7727         echo "int foo(void){return 1;}" > conftest.c
7728         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7729 -dynamiclib -Wl,-single_module conftest.c" >&5
7730         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7731           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7732         _lt_result=$?
7733         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7734           lt_cv_apple_cc_single_mod=yes
7735         else
7736           cat conftest.err >&5
7737         fi
7738         rm -rf libconftest.dylib*
7739         rm -f conftest.*
7740       fi
7741 fi
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7743 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7744     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7745 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7746 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7747   $as_echo_n "(cached) " >&6
7748 else
7749   lt_cv_ld_exported_symbols_list=no
7750       save_LDFLAGS=$LDFLAGS
7751       echo "_main" > conftest.sym
7752       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7753       if test x$gcc_no_link = xyes; then
7754   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7755 fi
7756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7757 /* end confdefs.h.  */
7758
7759 int
7760 main ()
7761 {
7762
7763   ;
7764   return 0;
7765 }
7766 _ACEOF
7767 if ac_fn_c_try_link "$LINENO"; then :
7768   lt_cv_ld_exported_symbols_list=yes
7769 else
7770   lt_cv_ld_exported_symbols_list=no
7771 fi
7772 rm -f core conftest.err conftest.$ac_objext \
7773     conftest$ac_exeext conftest.$ac_ext
7774         LDFLAGS="$save_LDFLAGS"
7775
7776 fi
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7778 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7779     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7780 $as_echo_n "checking for -force_load linker flag... " >&6; }
7781 if test "${lt_cv_ld_force_load+set}" = set; then :
7782   $as_echo_n "(cached) " >&6
7783 else
7784   lt_cv_ld_force_load=no
7785       cat > conftest.c << _LT_EOF
7786 int forced_loaded() { return 2;}
7787 _LT_EOF
7788       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7789       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7790       echo "$AR cru libconftest.a conftest.o" >&5
7791       $AR cru libconftest.a conftest.o 2>&5
7792       cat > conftest.c << _LT_EOF
7793 int main() { return 0;}
7794 _LT_EOF
7795       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7796       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7797       _lt_result=$?
7798       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7799         lt_cv_ld_force_load=yes
7800       else
7801         cat conftest.err >&5
7802       fi
7803         rm -f conftest.err libconftest.a conftest conftest.c
7804         rm -rf conftest.dSYM
7805
7806 fi
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7808 $as_echo "$lt_cv_ld_force_load" >&6; }
7809     case $host_os in
7810     rhapsody* | darwin1.[012])
7811       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7812     darwin1.*)
7813       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7814     darwin*) # darwin 5.x on
7815       # if running on 10.5 or later, the deployment target defaults
7816       # to the OS version, if on x86, and 10.4, the deployment
7817       # target defaults to 10.4. Don't you love it?
7818       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7819         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7820           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7821         10.[012]*)
7822           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7823         10.*)
7824           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7825       esac
7826     ;;
7827   esac
7828     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7829       _lt_dar_single_mod='$single_module'
7830     fi
7831     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7832       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7833     else
7834       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7835     fi
7836     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7837       _lt_dsymutil='~$DSYMUTIL $lib || :'
7838     else
7839       _lt_dsymutil=
7840     fi
7841     ;;
7842   esac
7843
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7845 $as_echo_n "checking for ANSI C header files... " >&6; }
7846 if test "${ac_cv_header_stdc+set}" = set; then :
7847   $as_echo_n "(cached) " >&6
7848 else
7849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7850 /* end confdefs.h.  */
7851 #include <stdlib.h>
7852 #include <stdarg.h>
7853 #include <string.h>
7854 #include <float.h>
7855
7856 int
7857 main ()
7858 {
7859
7860   ;
7861   return 0;
7862 }
7863 _ACEOF
7864 if ac_fn_c_try_compile "$LINENO"; then :
7865   ac_cv_header_stdc=yes
7866 else
7867   ac_cv_header_stdc=no
7868 fi
7869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7870
7871 if test $ac_cv_header_stdc = yes; then
7872   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7874 /* end confdefs.h.  */
7875 #include <string.h>
7876
7877 _ACEOF
7878 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7879   $EGREP "memchr" >/dev/null 2>&1; then :
7880
7881 else
7882   ac_cv_header_stdc=no
7883 fi
7884 rm -f conftest*
7885
7886 fi
7887
7888 if test $ac_cv_header_stdc = yes; then
7889   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7891 /* end confdefs.h.  */
7892 #include <stdlib.h>
7893
7894 _ACEOF
7895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7896   $EGREP "free" >/dev/null 2>&1; then :
7897
7898 else
7899   ac_cv_header_stdc=no
7900 fi
7901 rm -f conftest*
7902
7903 fi
7904
7905 if test $ac_cv_header_stdc = yes; then
7906   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7907   if test "$cross_compiling" = yes; then :
7908   :
7909 else
7910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7911 /* end confdefs.h.  */
7912 #include <ctype.h>
7913 #include <stdlib.h>
7914 #if ((' ' & 0x0FF) == 0x020)
7915 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7916 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7917 #else
7918 # define ISLOWER(c) \
7919                    (('a' <= (c) && (c) <= 'i') \
7920                      || ('j' <= (c) && (c) <= 'r') \
7921                      || ('s' <= (c) && (c) <= 'z'))
7922 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7923 #endif
7924
7925 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7926 int
7927 main ()
7928 {
7929   int i;
7930   for (i = 0; i < 256; i++)
7931     if (XOR (islower (i), ISLOWER (i))
7932         || toupper (i) != TOUPPER (i))
7933       return 2;
7934   return 0;
7935 }
7936 _ACEOF
7937 if ac_fn_c_try_run "$LINENO"; then :
7938
7939 else
7940   ac_cv_header_stdc=no
7941 fi
7942 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7943   conftest.$ac_objext conftest.beam conftest.$ac_ext
7944 fi
7945
7946 fi
7947 fi
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7949 $as_echo "$ac_cv_header_stdc" >&6; }
7950 if test $ac_cv_header_stdc = yes; then
7951
7952 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7953
7954 fi
7955
7956 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7957 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7958                   inttypes.h stdint.h unistd.h
7959 do :
7960   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7961 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7962 "
7963 eval as_val=\$$as_ac_Header
7964    if test "x$as_val" = x""yes; then :
7965   cat >>confdefs.h <<_ACEOF
7966 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7967 _ACEOF
7968
7969 fi
7970
7971 done
7972
7973
7974 for ac_header in dlfcn.h
7975 do :
7976   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7977 "
7978 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7979   cat >>confdefs.h <<_ACEOF
7980 #define HAVE_DLFCN_H 1
7981 _ACEOF
7982
7983 fi
7984
7985 done
7986
7987
7988
7989
7990
7991
7992 # Set options
7993
7994
7995
7996
7997   enable_win32_dll=no
7998
7999
8000             # Check whether --enable-shared was given.
8001 if test "${enable_shared+set}" = set; then :
8002   enableval=$enable_shared; p=${PACKAGE-default}
8003     case $enableval in
8004     yes) enable_shared=yes ;;
8005     no) enable_shared=no ;;
8006     *)
8007       enable_shared=no
8008       # Look at the argument we got.  We use all the common list separators.
8009       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8010       for pkg in $enableval; do
8011         IFS="$lt_save_ifs"
8012         if test "X$pkg" = "X$p"; then
8013           enable_shared=yes
8014         fi
8015       done
8016       IFS="$lt_save_ifs"
8017       ;;
8018     esac
8019 else
8020   enable_shared=yes
8021 fi
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031   # Check whether --enable-static was given.
8032 if test "${enable_static+set}" = set; then :
8033   enableval=$enable_static; p=${PACKAGE-default}
8034     case $enableval in
8035     yes) enable_static=yes ;;
8036     no) enable_static=no ;;
8037     *)
8038      enable_static=no
8039       # Look at the argument we got.  We use all the common list separators.
8040       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8041       for pkg in $enableval; do
8042         IFS="$lt_save_ifs"
8043         if test "X$pkg" = "X$p"; then
8044           enable_static=yes
8045         fi
8046       done
8047       IFS="$lt_save_ifs"
8048       ;;
8049     esac
8050 else
8051   enable_static=yes
8052 fi
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063 # Check whether --with-pic was given.
8064 if test "${with_pic+set}" = set; then :
8065   withval=$with_pic; pic_mode="$withval"
8066 else
8067   pic_mode=default
8068 fi
8069
8070
8071 test -z "$pic_mode" && pic_mode=default
8072
8073
8074
8075
8076
8077
8078
8079   # Check whether --enable-fast-install was given.
8080 if test "${enable_fast_install+set}" = set; then :
8081   enableval=$enable_fast_install; p=${PACKAGE-default}
8082     case $enableval in
8083     yes) enable_fast_install=yes ;;
8084     no) enable_fast_install=no ;;
8085     *)
8086       enable_fast_install=no
8087       # Look at the argument we got.  We use all the common list separators.
8088       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8089       for pkg in $enableval; do
8090         IFS="$lt_save_ifs"
8091         if test "X$pkg" = "X$p"; then
8092           enable_fast_install=yes
8093         fi
8094       done
8095       IFS="$lt_save_ifs"
8096       ;;
8097     esac
8098 else
8099   enable_fast_install=yes
8100 fi
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112 # This can be used to rebuild libtool when needed
8113 LIBTOOL_DEPS="$ltmain"
8114
8115 # Always use our own libtool.
8116 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143 test -z "$LN_S" && LN_S="ln -s"
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158 if test -n "${ZSH_VERSION+set}" ; then
8159    setopt NO_GLOB_SUBST
8160 fi
8161
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8163 $as_echo_n "checking for objdir... " >&6; }
8164 if test "${lt_cv_objdir+set}" = set; then :
8165   $as_echo_n "(cached) " >&6
8166 else
8167   rm -f .libs 2>/dev/null
8168 mkdir .libs 2>/dev/null
8169 if test -d .libs; then
8170   lt_cv_objdir=.libs
8171 else
8172   # MS-DOS does not allow filenames that begin with a dot.
8173   lt_cv_objdir=_libs
8174 fi
8175 rmdir .libs 2>/dev/null
8176 fi
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8178 $as_echo "$lt_cv_objdir" >&6; }
8179 objdir=$lt_cv_objdir
8180
8181
8182
8183
8184
8185 cat >>confdefs.h <<_ACEOF
8186 #define LT_OBJDIR "$lt_cv_objdir/"
8187 _ACEOF
8188
8189
8190
8191
8192 case $host_os in
8193 aix3*)
8194   # AIX sometimes has problems with the GCC collect2 program.  For some
8195   # reason, if we set the COLLECT_NAMES environment variable, the problems
8196   # vanish in a puff of smoke.
8197   if test "X${COLLECT_NAMES+set}" != Xset; then
8198     COLLECT_NAMES=
8199     export COLLECT_NAMES
8200   fi
8201   ;;
8202 esac
8203
8204 # Global variables:
8205 ofile=libtool
8206 can_build_shared=yes
8207
8208 # All known linkers require a `.a' archive for static linking (except MSVC,
8209 # which needs '.lib').
8210 libext=a
8211
8212 with_gnu_ld="$lt_cv_prog_gnu_ld"
8213
8214 old_CC="$CC"
8215 old_CFLAGS="$CFLAGS"
8216
8217 # Set sane defaults for various variables
8218 test -z "$CC" && CC=cc
8219 test -z "$LTCC" && LTCC=$CC
8220 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8221 test -z "$LD" && LD=ld
8222 test -z "$ac_objext" && ac_objext=o
8223
8224 for cc_temp in $compiler""; do
8225   case $cc_temp in
8226     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8227     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8228     \-*) ;;
8229     *) break;;
8230   esac
8231 done
8232 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8233
8234
8235 # Only perform the check for file, if the check method requires it
8236 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8237 case $deplibs_check_method in
8238 file_magic*)
8239   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8240     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8241 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8242 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8243   $as_echo_n "(cached) " >&6
8244 else
8245   case $MAGIC_CMD in
8246 [\\/*] |  ?:[\\/]*)
8247   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8248   ;;
8249 *)
8250   lt_save_MAGIC_CMD="$MAGIC_CMD"
8251   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8252   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8253   for ac_dir in $ac_dummy; do
8254     IFS="$lt_save_ifs"
8255     test -z "$ac_dir" && ac_dir=.
8256     if test -f $ac_dir/${ac_tool_prefix}file; then
8257       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8258       if test -n "$file_magic_test_file"; then
8259         case $deplibs_check_method in
8260         "file_magic "*)
8261           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8262           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8263           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8264             $EGREP "$file_magic_regex" > /dev/null; then
8265             :
8266           else
8267             cat <<_LT_EOF 1>&2
8268
8269 *** Warning: the command libtool uses to detect shared libraries,
8270 *** $file_magic_cmd, produces output that libtool cannot recognize.
8271 *** The result is that libtool may fail to recognize shared libraries
8272 *** as such.  This will affect the creation of libtool libraries that
8273 *** depend on shared libraries, but programs linked with such libtool
8274 *** libraries will work regardless of this problem.  Nevertheless, you
8275 *** may want to report the problem to your system manager and/or to
8276 *** bug-libtool@gnu.org
8277
8278 _LT_EOF
8279           fi ;;
8280         esac
8281       fi
8282       break
8283     fi
8284   done
8285   IFS="$lt_save_ifs"
8286   MAGIC_CMD="$lt_save_MAGIC_CMD"
8287   ;;
8288 esac
8289 fi
8290
8291 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8292 if test -n "$MAGIC_CMD"; then
8293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8294 $as_echo "$MAGIC_CMD" >&6; }
8295 else
8296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8297 $as_echo "no" >&6; }
8298 fi
8299
8300
8301
8302
8303
8304 if test -z "$lt_cv_path_MAGIC_CMD"; then
8305   if test -n "$ac_tool_prefix"; then
8306     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8307 $as_echo_n "checking for file... " >&6; }
8308 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8309   $as_echo_n "(cached) " >&6
8310 else
8311   case $MAGIC_CMD in
8312 [\\/*] |  ?:[\\/]*)
8313   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8314   ;;
8315 *)
8316   lt_save_MAGIC_CMD="$MAGIC_CMD"
8317   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8318   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8319   for ac_dir in $ac_dummy; do
8320     IFS="$lt_save_ifs"
8321     test -z "$ac_dir" && ac_dir=.
8322     if test -f $ac_dir/file; then
8323       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8324       if test -n "$file_magic_test_file"; then
8325         case $deplibs_check_method in
8326         "file_magic "*)
8327           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8328           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8329           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8330             $EGREP "$file_magic_regex" > /dev/null; then
8331             :
8332           else
8333             cat <<_LT_EOF 1>&2
8334
8335 *** Warning: the command libtool uses to detect shared libraries,
8336 *** $file_magic_cmd, produces output that libtool cannot recognize.
8337 *** The result is that libtool may fail to recognize shared libraries
8338 *** as such.  This will affect the creation of libtool libraries that
8339 *** depend on shared libraries, but programs linked with such libtool
8340 *** libraries will work regardless of this problem.  Nevertheless, you
8341 *** may want to report the problem to your system manager and/or to
8342 *** bug-libtool@gnu.org
8343
8344 _LT_EOF
8345           fi ;;
8346         esac
8347       fi
8348       break
8349     fi
8350   done
8351   IFS="$lt_save_ifs"
8352   MAGIC_CMD="$lt_save_MAGIC_CMD"
8353   ;;
8354 esac
8355 fi
8356
8357 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8358 if test -n "$MAGIC_CMD"; then
8359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8360 $as_echo "$MAGIC_CMD" >&6; }
8361 else
8362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8363 $as_echo "no" >&6; }
8364 fi
8365
8366
8367   else
8368     MAGIC_CMD=:
8369   fi
8370 fi
8371
8372   fi
8373   ;;
8374 esac
8375
8376 # Use C for the default configuration in the libtool script
8377
8378 lt_save_CC="$CC"
8379 ac_ext=c
8380 ac_cpp='$CPP $CPPFLAGS'
8381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8384
8385
8386 # Source file extension for C test sources.
8387 ac_ext=c
8388
8389 # Object file extension for compiled C test sources.
8390 objext=o
8391 objext=$objext
8392
8393 # Code to be used in simple compile tests
8394 lt_simple_compile_test_code="int some_variable = 0;"
8395
8396 # Code to be used in simple link tests
8397 lt_simple_link_test_code='int main(){return(0);}'
8398
8399
8400
8401
8402
8403
8404
8405 # If no C compiler was specified, use CC.
8406 LTCC=${LTCC-"$CC"}
8407
8408 # If no C compiler flags were specified, use CFLAGS.
8409 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8410
8411 # Allow CC to be a program name with arguments.
8412 compiler=$CC
8413
8414 # Save the default compiler, since it gets overwritten when the other
8415 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8416 compiler_DEFAULT=$CC
8417
8418 # save warnings/boilerplate of simple test code
8419 ac_outfile=conftest.$ac_objext
8420 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8421 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8422 _lt_compiler_boilerplate=`cat conftest.err`
8423 $RM conftest*
8424
8425 ac_outfile=conftest.$ac_objext
8426 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8427 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8428 _lt_linker_boilerplate=`cat conftest.err`
8429 $RM -r conftest*
8430
8431
8432 ## CAVEAT EMPTOR:
8433 ## There is no encapsulation within the following macros, do not change
8434 ## the running order or otherwise move them around unless you know exactly
8435 ## what you are doing...
8436 if test -n "$compiler"; then
8437
8438 lt_prog_compiler_no_builtin_flag=
8439
8440 if test "$GCC" = yes; then
8441   case $cc_basename in
8442   nvcc*)
8443     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8444   *)
8445     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8446   esac
8447
8448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8449 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8450 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8451   $as_echo_n "(cached) " >&6
8452 else
8453   lt_cv_prog_compiler_rtti_exceptions=no
8454    ac_outfile=conftest.$ac_objext
8455    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8456    lt_compiler_flag="-fno-rtti -fno-exceptions"
8457    # Insert the option either (1) after the last *FLAGS variable, or
8458    # (2) before a word containing "conftest.", or (3) at the end.
8459    # Note that $ac_compile itself does not contain backslashes and begins
8460    # with a dollar sign (not a hyphen), so the echo should work correctly.
8461    # The option is referenced via a variable to avoid confusing sed.
8462    lt_compile=`echo "$ac_compile" | $SED \
8463    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8464    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8465    -e 's:$: $lt_compiler_flag:'`
8466    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8467    (eval "$lt_compile" 2>conftest.err)
8468    ac_status=$?
8469    cat conftest.err >&5
8470    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471    if (exit $ac_status) && test -s "$ac_outfile"; then
8472      # The compiler can only warn and ignore the option if not recognized
8473      # So say no if there are warnings other than the usual output.
8474      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8475      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8476      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8477        lt_cv_prog_compiler_rtti_exceptions=yes
8478      fi
8479    fi
8480    $RM conftest*
8481
8482 fi
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8484 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8485
8486 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8487     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8488 else
8489     :
8490 fi
8491
8492 fi
8493
8494
8495
8496
8497
8498
8499   lt_prog_compiler_wl=
8500 lt_prog_compiler_pic=
8501 lt_prog_compiler_static=
8502
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8504 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8505
8506   if test "$GCC" = yes; then
8507     lt_prog_compiler_wl='-Wl,'
8508     lt_prog_compiler_static='-static'
8509
8510     case $host_os in
8511       aix*)
8512       # All AIX code is PIC.
8513       if test "$host_cpu" = ia64; then
8514         # AIX 5 now supports IA64 processor
8515         lt_prog_compiler_static='-Bstatic'
8516       fi
8517       ;;
8518
8519     amigaos*)
8520       case $host_cpu in
8521       powerpc)
8522             # see comment about AmigaOS4 .so support
8523             lt_prog_compiler_pic='-fPIC'
8524         ;;
8525       m68k)
8526             # FIXME: we need at least 68020 code to build shared libraries, but
8527             # adding the `-m68020' flag to GCC prevents building anything better,
8528             # like `-m68040'.
8529             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8530         ;;
8531       esac
8532       ;;
8533
8534     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8535       # PIC is the default for these OSes.
8536       ;;
8537
8538     mingw* | cygwin* | pw32* | os2* | cegcc*)
8539       # This hack is so that the source file can tell whether it is being
8540       # built for inclusion in a dll (and should export symbols for example).
8541       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8542       # (--disable-auto-import) libraries
8543       lt_prog_compiler_pic='-DDLL_EXPORT'
8544       ;;
8545
8546     darwin* | rhapsody*)
8547       # PIC is the default on this platform
8548       # Common symbols not allowed in MH_DYLIB files
8549       lt_prog_compiler_pic='-fno-common'
8550       ;;
8551
8552     haiku*)
8553       # PIC is the default for Haiku.
8554       # The "-static" flag exists, but is broken.
8555       lt_prog_compiler_static=
8556       ;;
8557
8558     hpux*)
8559       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8560       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8561       # sets the default TLS model and affects inlining.
8562       case $host_cpu in
8563       hppa*64*)
8564         # +Z the default
8565         ;;
8566       *)
8567         lt_prog_compiler_pic='-fPIC'
8568         ;;
8569       esac
8570       ;;
8571
8572     interix[3-9]*)
8573       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8574       # Instead, we relocate shared libraries at runtime.
8575       ;;
8576
8577     msdosdjgpp*)
8578       # Just because we use GCC doesn't mean we suddenly get shared libraries
8579       # on systems that don't support them.
8580       lt_prog_compiler_can_build_shared=no
8581       enable_shared=no
8582       ;;
8583
8584     *nto* | *qnx*)
8585       # QNX uses GNU C++, but need to define -shared option too, otherwise
8586       # it will coredump.
8587       lt_prog_compiler_pic='-fPIC -shared'
8588       ;;
8589
8590     sysv4*MP*)
8591       if test -d /usr/nec; then
8592         lt_prog_compiler_pic=-Kconform_pic
8593       fi
8594       ;;
8595
8596     *)
8597       lt_prog_compiler_pic='-fPIC'
8598       ;;
8599     esac
8600
8601     case $cc_basename in
8602     nvcc*) # Cuda Compiler Driver 2.2
8603       lt_prog_compiler_wl='-Xlinker '
8604       lt_prog_compiler_pic='-Xcompiler -fPIC'
8605       ;;
8606     esac
8607   else
8608     # PORTME Check for flag to pass linker flags through the system compiler.
8609     case $host_os in
8610     aix*)
8611       lt_prog_compiler_wl='-Wl,'
8612       if test "$host_cpu" = ia64; then
8613         # AIX 5 now supports IA64 processor
8614         lt_prog_compiler_static='-Bstatic'
8615       else
8616         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8617       fi
8618       ;;
8619
8620     mingw* | cygwin* | pw32* | os2* | cegcc*)
8621       # This hack is so that the source file can tell whether it is being
8622       # built for inclusion in a dll (and should export symbols for example).
8623       lt_prog_compiler_pic='-DDLL_EXPORT'
8624       ;;
8625
8626     hpux9* | hpux10* | hpux11*)
8627       lt_prog_compiler_wl='-Wl,'
8628       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8629       # not for PA HP-UX.
8630       case $host_cpu in
8631       hppa*64*|ia64*)
8632         # +Z the default
8633         ;;
8634       *)
8635         lt_prog_compiler_pic='+Z'
8636         ;;
8637       esac
8638       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8639       lt_prog_compiler_static='${wl}-a ${wl}archive'
8640       ;;
8641
8642     irix5* | irix6* | nonstopux*)
8643       lt_prog_compiler_wl='-Wl,'
8644       # PIC (with -KPIC) is the default.
8645       lt_prog_compiler_static='-non_shared'
8646       ;;
8647
8648     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8649       case $cc_basename in
8650       # old Intel for x86_64 which still supported -KPIC.
8651       ecc*)
8652         lt_prog_compiler_wl='-Wl,'
8653         lt_prog_compiler_pic='-KPIC'
8654         lt_prog_compiler_static='-static'
8655         ;;
8656       # icc used to be incompatible with GCC.
8657       # ICC 10 doesn't accept -KPIC any more.
8658       icc* | ifort*)
8659         lt_prog_compiler_wl='-Wl,'
8660         lt_prog_compiler_pic='-fPIC'
8661         lt_prog_compiler_static='-static'
8662         ;;
8663       # Lahey Fortran 8.1.
8664       lf95*)
8665         lt_prog_compiler_wl='-Wl,'
8666         lt_prog_compiler_pic='--shared'
8667         lt_prog_compiler_static='--static'
8668         ;;
8669       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8670         # Portland Group compilers (*not* the Pentium gcc compiler,
8671         # which looks to be a dead project)
8672         lt_prog_compiler_wl='-Wl,'
8673         lt_prog_compiler_pic='-fpic'
8674         lt_prog_compiler_static='-Bstatic'
8675         ;;
8676       ccc*)
8677         lt_prog_compiler_wl='-Wl,'
8678         # All Alpha code is PIC.
8679         lt_prog_compiler_static='-non_shared'
8680         ;;
8681       xl* | bgxl* | bgf* | mpixl*)
8682         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8683         lt_prog_compiler_wl='-Wl,'
8684         lt_prog_compiler_pic='-qpic'
8685         lt_prog_compiler_static='-qstaticlink'
8686         ;;
8687       *)
8688         case `$CC -V 2>&1 | sed 5q` in
8689         *Sun\ F* | *Sun*Fortran*)
8690           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8691           lt_prog_compiler_pic='-KPIC'
8692           lt_prog_compiler_static='-Bstatic'
8693           lt_prog_compiler_wl=''
8694           ;;
8695         *Sun\ C*)
8696           # Sun C 5.9
8697           lt_prog_compiler_pic='-KPIC'
8698           lt_prog_compiler_static='-Bstatic'
8699           lt_prog_compiler_wl='-Wl,'
8700           ;;
8701         esac
8702         ;;
8703       esac
8704       ;;
8705
8706     newsos6)
8707       lt_prog_compiler_pic='-KPIC'
8708       lt_prog_compiler_static='-Bstatic'
8709       ;;
8710
8711     *nto* | *qnx*)
8712       # QNX uses GNU C++, but need to define -shared option too, otherwise
8713       # it will coredump.
8714       lt_prog_compiler_pic='-fPIC -shared'
8715       ;;
8716
8717     osf3* | osf4* | osf5*)
8718       lt_prog_compiler_wl='-Wl,'
8719       # All OSF/1 code is PIC.
8720       lt_prog_compiler_static='-non_shared'
8721       ;;
8722
8723     rdos*)
8724       lt_prog_compiler_static='-non_shared'
8725       ;;
8726
8727     solaris*)
8728       lt_prog_compiler_pic='-KPIC'
8729       lt_prog_compiler_static='-Bstatic'
8730       case $cc_basename in
8731       f77* | f90* | f95*)
8732         lt_prog_compiler_wl='-Qoption ld ';;
8733       *)
8734         lt_prog_compiler_wl='-Wl,';;
8735       esac
8736       ;;
8737
8738     sunos4*)
8739       lt_prog_compiler_wl='-Qoption ld '
8740       lt_prog_compiler_pic='-PIC'
8741       lt_prog_compiler_static='-Bstatic'
8742       ;;
8743
8744     sysv4 | sysv4.2uw2* | sysv4.3*)
8745       lt_prog_compiler_wl='-Wl,'
8746       lt_prog_compiler_pic='-KPIC'
8747       lt_prog_compiler_static='-Bstatic'
8748       ;;
8749
8750     sysv4*MP*)
8751       if test -d /usr/nec ;then
8752         lt_prog_compiler_pic='-Kconform_pic'
8753         lt_prog_compiler_static='-Bstatic'
8754       fi
8755       ;;
8756
8757     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8758       lt_prog_compiler_wl='-Wl,'
8759       lt_prog_compiler_pic='-KPIC'
8760       lt_prog_compiler_static='-Bstatic'
8761       ;;
8762
8763     unicos*)
8764       lt_prog_compiler_wl='-Wl,'
8765       lt_prog_compiler_can_build_shared=no
8766       ;;
8767
8768     uts4*)
8769       lt_prog_compiler_pic='-pic'
8770       lt_prog_compiler_static='-Bstatic'
8771       ;;
8772
8773     *)
8774       lt_prog_compiler_can_build_shared=no
8775       ;;
8776     esac
8777   fi
8778
8779 case $host_os in
8780   # For platforms which do not support PIC, -DPIC is meaningless:
8781   *djgpp*)
8782     lt_prog_compiler_pic=
8783     ;;
8784   *)
8785     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8786     ;;
8787 esac
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8789 $as_echo "$lt_prog_compiler_pic" >&6; }
8790
8791
8792
8793
8794
8795
8796 #
8797 # Check to make sure the PIC flag actually works.
8798 #
8799 if test -n "$lt_prog_compiler_pic"; then
8800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8801 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8802 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8803   $as_echo_n "(cached) " >&6
8804 else
8805   lt_cv_prog_compiler_pic_works=no
8806    ac_outfile=conftest.$ac_objext
8807    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8808    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8809    # Insert the option either (1) after the last *FLAGS variable, or
8810    # (2) before a word containing "conftest.", or (3) at the end.
8811    # Note that $ac_compile itself does not contain backslashes and begins
8812    # with a dollar sign (not a hyphen), so the echo should work correctly.
8813    # The option is referenced via a variable to avoid confusing sed.
8814    lt_compile=`echo "$ac_compile" | $SED \
8815    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8816    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8817    -e 's:$: $lt_compiler_flag:'`
8818    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8819    (eval "$lt_compile" 2>conftest.err)
8820    ac_status=$?
8821    cat conftest.err >&5
8822    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823    if (exit $ac_status) && test -s "$ac_outfile"; then
8824      # The compiler can only warn and ignore the option if not recognized
8825      # So say no if there are warnings other than the usual output.
8826      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8827      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8828      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8829        lt_cv_prog_compiler_pic_works=yes
8830      fi
8831    fi
8832    $RM conftest*
8833
8834 fi
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8836 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8837
8838 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8839     case $lt_prog_compiler_pic in
8840      "" | " "*) ;;
8841      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8842      esac
8843 else
8844     lt_prog_compiler_pic=
8845      lt_prog_compiler_can_build_shared=no
8846 fi
8847
8848 fi
8849
8850
8851
8852
8853
8854
8855 #
8856 # Check to make sure the static flag actually works.
8857 #
8858 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8860 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8861 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8862   $as_echo_n "(cached) " >&6
8863 else
8864   lt_cv_prog_compiler_static_works=no
8865    save_LDFLAGS="$LDFLAGS"
8866    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8867    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8868    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8869      # The linker can only warn and ignore the option if not recognized
8870      # So say no if there are warnings
8871      if test -s conftest.err; then
8872        # Append any errors to the config.log.
8873        cat conftest.err 1>&5
8874        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8875        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8876        if diff conftest.exp conftest.er2 >/dev/null; then
8877          lt_cv_prog_compiler_static_works=yes
8878        fi
8879      else
8880        lt_cv_prog_compiler_static_works=yes
8881      fi
8882    fi
8883    $RM -r conftest*
8884    LDFLAGS="$save_LDFLAGS"
8885
8886 fi
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8888 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8889
8890 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8891     :
8892 else
8893     lt_prog_compiler_static=
8894 fi
8895
8896
8897
8898
8899
8900
8901
8902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8903 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8904 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8905   $as_echo_n "(cached) " >&6
8906 else
8907   lt_cv_prog_compiler_c_o=no
8908    $RM -r conftest 2>/dev/null
8909    mkdir conftest
8910    cd conftest
8911    mkdir out
8912    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8913
8914    lt_compiler_flag="-o out/conftest2.$ac_objext"
8915    # Insert the option either (1) after the last *FLAGS variable, or
8916    # (2) before a word containing "conftest.", or (3) at the end.
8917    # Note that $ac_compile itself does not contain backslashes and begins
8918    # with a dollar sign (not a hyphen), so the echo should work correctly.
8919    lt_compile=`echo "$ac_compile" | $SED \
8920    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8921    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8922    -e 's:$: $lt_compiler_flag:'`
8923    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8924    (eval "$lt_compile" 2>out/conftest.err)
8925    ac_status=$?
8926    cat out/conftest.err >&5
8927    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8929    then
8930      # The compiler can only warn and ignore the option if not recognized
8931      # So say no if there are warnings
8932      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8933      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8934      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8935        lt_cv_prog_compiler_c_o=yes
8936      fi
8937    fi
8938    chmod u+w . 2>&5
8939    $RM conftest*
8940    # SGI C++ compiler will create directory out/ii_files/ for
8941    # template instantiation
8942    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8943    $RM out/* && rmdir out
8944    cd ..
8945    $RM -r conftest
8946    $RM conftest*
8947
8948 fi
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8950 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8951
8952
8953
8954
8955
8956
8957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8958 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8959 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8960   $as_echo_n "(cached) " >&6
8961 else
8962   lt_cv_prog_compiler_c_o=no
8963    $RM -r conftest 2>/dev/null
8964    mkdir conftest
8965    cd conftest
8966    mkdir out
8967    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8968
8969    lt_compiler_flag="-o out/conftest2.$ac_objext"
8970    # Insert the option either (1) after the last *FLAGS variable, or
8971    # (2) before a word containing "conftest.", or (3) at the end.
8972    # Note that $ac_compile itself does not contain backslashes and begins
8973    # with a dollar sign (not a hyphen), so the echo should work correctly.
8974    lt_compile=`echo "$ac_compile" | $SED \
8975    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8976    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8977    -e 's:$: $lt_compiler_flag:'`
8978    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8979    (eval "$lt_compile" 2>out/conftest.err)
8980    ac_status=$?
8981    cat out/conftest.err >&5
8982    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8983    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8984    then
8985      # The compiler can only warn and ignore the option if not recognized
8986      # So say no if there are warnings
8987      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8988      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8989      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8990        lt_cv_prog_compiler_c_o=yes
8991      fi
8992    fi
8993    chmod u+w . 2>&5
8994    $RM conftest*
8995    # SGI C++ compiler will create directory out/ii_files/ for
8996    # template instantiation
8997    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8998    $RM out/* && rmdir out
8999    cd ..
9000    $RM -r conftest
9001    $RM conftest*
9002
9003 fi
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9005 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9006
9007
9008
9009
9010 hard_links="nottested"
9011 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9012   # do not overwrite the value of need_locks provided by the user
9013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9014 $as_echo_n "checking if we can lock with hard links... " >&6; }
9015   hard_links=yes
9016   $RM conftest*
9017   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9018   touch conftest.a
9019   ln conftest.a conftest.b 2>&5 || hard_links=no
9020   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9022 $as_echo "$hard_links" >&6; }
9023   if test "$hard_links" = no; then
9024     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9025 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9026     need_locks=warn
9027   fi
9028 else
9029   need_locks=no
9030 fi
9031
9032
9033
9034
9035
9036
9037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9038 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9039
9040   runpath_var=
9041   allow_undefined_flag=
9042   always_export_symbols=no
9043   archive_cmds=
9044   archive_expsym_cmds=
9045   compiler_needs_object=no
9046   enable_shared_with_static_runtimes=no
9047   export_dynamic_flag_spec=
9048   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9049   hardcode_automatic=no
9050   hardcode_direct=no
9051   hardcode_direct_absolute=no
9052   hardcode_libdir_flag_spec=
9053   hardcode_libdir_flag_spec_ld=
9054   hardcode_libdir_separator=
9055   hardcode_minus_L=no
9056   hardcode_shlibpath_var=unsupported
9057   inherit_rpath=no
9058   link_all_deplibs=unknown
9059   module_cmds=
9060   module_expsym_cmds=
9061   old_archive_from_new_cmds=
9062   old_archive_from_expsyms_cmds=
9063   thread_safe_flag_spec=
9064   whole_archive_flag_spec=
9065   # include_expsyms should be a list of space-separated symbols to be *always*
9066   # included in the symbol list
9067   include_expsyms=
9068   # exclude_expsyms can be an extended regexp of symbols to exclude
9069   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9070   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9071   # as well as any symbol that contains `d'.
9072   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9073   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9074   # platforms (ab)use it in PIC code, but their linkers get confused if
9075   # the symbol is explicitly referenced.  Since portable code cannot
9076   # rely on this symbol name, it's probably fine to never include it in
9077   # preloaded symbol tables.
9078   # Exclude shared library initialization/finalization symbols.
9079   extract_expsyms_cmds=
9080
9081   case $host_os in
9082   cygwin* | mingw* | pw32* | cegcc*)
9083     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9084     # When not using gcc, we currently assume that we are using
9085     # Microsoft Visual C++.
9086     if test "$GCC" != yes; then
9087       with_gnu_ld=no
9088     fi
9089     ;;
9090   interix*)
9091     # we just hope/assume this is gcc and not c89 (= MSVC++)
9092     with_gnu_ld=yes
9093     ;;
9094   openbsd*)
9095     with_gnu_ld=no
9096     ;;
9097   esac
9098
9099   ld_shlibs=yes
9100
9101   # On some targets, GNU ld is compatible enough with the native linker
9102   # that we're better off using the native interface for both.
9103   lt_use_gnu_ld_interface=no
9104   if test "$with_gnu_ld" = yes; then
9105     case $host_os in
9106       aix*)
9107         # The AIX port of GNU ld has always aspired to compatibility
9108         # with the native linker.  However, as the warning in the GNU ld
9109         # block says, versions before 2.19.5* couldn't really create working
9110         # shared libraries, regardless of the interface used.
9111         case `$LD -v 2>&1` in
9112           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9113           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9114           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9115           *)
9116             lt_use_gnu_ld_interface=yes
9117             ;;
9118         esac
9119         ;;
9120       *)
9121         lt_use_gnu_ld_interface=yes
9122         ;;
9123     esac
9124   fi
9125
9126   if test "$lt_use_gnu_ld_interface" = yes; then
9127     # If archive_cmds runs LD, not CC, wlarc should be empty
9128     wlarc='${wl}'
9129
9130     # Set some defaults for GNU ld with shared library support. These
9131     # are reset later if shared libraries are not supported. Putting them
9132     # here allows them to be overridden if necessary.
9133     runpath_var=LD_RUN_PATH
9134     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9135     export_dynamic_flag_spec='${wl}--export-dynamic'
9136     # ancient GNU ld didn't support --whole-archive et. al.
9137     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9138       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9139     else
9140       whole_archive_flag_spec=
9141     fi
9142     supports_anon_versioning=no
9143     case `$LD -v 2>&1` in
9144       *GNU\ gold*) supports_anon_versioning=yes ;;
9145       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9146       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9147       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9148       *\ 2.11.*) ;; # other 2.11 versions
9149       *) supports_anon_versioning=yes ;;
9150     esac
9151
9152     # See if GNU ld supports shared libraries.
9153     case $host_os in
9154     aix[3-9]*)
9155       # On AIX/PPC, the GNU linker is very broken
9156       if test "$host_cpu" != ia64; then
9157         ld_shlibs=no
9158         cat <<_LT_EOF 1>&2
9159
9160 *** Warning: the GNU linker, at least up to release 2.19, is reported
9161 *** to be unable to reliably create shared libraries on AIX.
9162 *** Therefore, libtool is disabling shared libraries support.  If you
9163 *** really care for shared libraries, you may want to install binutils
9164 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9165 *** You will then need to restart the configuration process.
9166
9167 _LT_EOF
9168       fi
9169       ;;
9170
9171     amigaos*)
9172       case $host_cpu in
9173       powerpc)
9174             # see comment about AmigaOS4 .so support
9175             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9176             archive_expsym_cmds=''
9177         ;;
9178       m68k)
9179             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)'
9180             hardcode_libdir_flag_spec='-L$libdir'
9181             hardcode_minus_L=yes
9182         ;;
9183       esac
9184       ;;
9185
9186     beos*)
9187       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9188         allow_undefined_flag=unsupported
9189         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9190         # support --undefined.  This deserves some investigation.  FIXME
9191         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9192       else
9193         ld_shlibs=no
9194       fi
9195       ;;
9196
9197     cygwin* | mingw* | pw32* | cegcc*)
9198       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9199       # as there is no search path for DLLs.
9200       hardcode_libdir_flag_spec='-L$libdir'
9201       export_dynamic_flag_spec='${wl}--export-all-symbols'
9202       allow_undefined_flag=unsupported
9203       always_export_symbols=no
9204       enable_shared_with_static_runtimes=yes
9205       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9206
9207       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9208         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9209         # If the export-symbols file already is a .def file (1st line
9210         # is EXPORTS), use it as is; otherwise, prepend...
9211         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9212           cp $export_symbols $output_objdir/$soname.def;
9213         else
9214           echo EXPORTS > $output_objdir/$soname.def;
9215           cat $export_symbols >> $output_objdir/$soname.def;
9216         fi~
9217         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9218       else
9219         ld_shlibs=no
9220       fi
9221       ;;
9222
9223     haiku*)
9224       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9225       link_all_deplibs=yes
9226       ;;
9227
9228     interix[3-9]*)
9229       hardcode_direct=no
9230       hardcode_shlibpath_var=no
9231       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9232       export_dynamic_flag_spec='${wl}-E'
9233       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9234       # Instead, shared libraries are loaded at an image base (0x10000000 by
9235       # default) and relocated if they conflict, which is a slow very memory
9236       # consuming and fragmenting process.  To avoid this, we pick a random,
9237       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9238       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9239       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9240       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'
9241       ;;
9242
9243     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9244       tmp_diet=no
9245       if test "$host_os" = linux-dietlibc; then
9246         case $cc_basename in
9247           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9248         esac
9249       fi
9250       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9251          && test "$tmp_diet" = no
9252       then
9253         tmp_addflag=
9254         tmp_sharedflag='-shared'
9255         case $cc_basename,$host_cpu in
9256         pgcc*)                          # Portland Group C compiler
9257           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'
9258           tmp_addflag=' $pic_flag'
9259           ;;
9260         pgf77* | pgf90* | pgf95* | pgfortran*)
9261                                         # Portland Group f77 and f90 compilers
9262           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'
9263           tmp_addflag=' $pic_flag -Mnomain' ;;
9264         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9265           tmp_addflag=' -i_dynamic' ;;
9266         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9267           tmp_addflag=' -i_dynamic -nofor_main' ;;
9268         ifc* | ifort*)                  # Intel Fortran compiler
9269           tmp_addflag=' -nofor_main' ;;
9270         lf95*)                          # Lahey Fortran 8.1
9271           whole_archive_flag_spec=
9272           tmp_sharedflag='--shared' ;;
9273         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9274           tmp_sharedflag='-qmkshrobj'
9275           tmp_addflag= ;;
9276         nvcc*)  # Cuda Compiler Driver 2.2
9277           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'
9278           compiler_needs_object=yes
9279           ;;
9280         esac
9281         case `$CC -V 2>&1 | sed 5q` in
9282         *Sun\ C*)                       # Sun C 5.9
9283           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'
9284           compiler_needs_object=yes
9285           tmp_sharedflag='-G' ;;
9286         *Sun\ F*)                       # Sun Fortran 8.3
9287           tmp_sharedflag='-G' ;;
9288         esac
9289         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9290
9291         if test "x$supports_anon_versioning" = xyes; then
9292           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9293             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9294             echo "local: *; };" >> $output_objdir/$libname.ver~
9295             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9296         fi
9297
9298         case $cc_basename in
9299         xlf* | bgf* | bgxlf* | mpixlf*)
9300           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9301           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9302           hardcode_libdir_flag_spec=
9303           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9304           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9305           if test "x$supports_anon_versioning" = xyes; then
9306             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9307               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9308               echo "local: *; };" >> $output_objdir/$libname.ver~
9309               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9310           fi
9311           ;;
9312         esac
9313       else
9314         ld_shlibs=no
9315       fi
9316       ;;
9317
9318     netbsd*)
9319       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9320         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9321         wlarc=
9322       else
9323         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9324         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9325       fi
9326       ;;
9327
9328     solaris*)
9329       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9330         ld_shlibs=no
9331         cat <<_LT_EOF 1>&2
9332
9333 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9334 *** create shared libraries on Solaris systems.  Therefore, libtool
9335 *** is disabling shared libraries support.  We urge you to upgrade GNU
9336 *** binutils to release 2.9.1 or newer.  Another option is to modify
9337 *** your PATH or compiler configuration so that the native linker is
9338 *** used, and then restart.
9339
9340 _LT_EOF
9341       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9342         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9343         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9344       else
9345         ld_shlibs=no
9346       fi
9347       ;;
9348
9349     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9350       case `$LD -v 2>&1` in
9351         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9352         ld_shlibs=no
9353         cat <<_LT_EOF 1>&2
9354
9355 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9356 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9357 *** is disabling shared libraries support.  We urge you to upgrade GNU
9358 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9359 *** your PATH or compiler configuration so that the native linker is
9360 *** used, and then restart.
9361
9362 _LT_EOF
9363         ;;
9364         *)
9365           # For security reasons, it is highly recommended that you always
9366           # use absolute paths for naming shared libraries, and exclude the
9367           # DT_RUNPATH tag from executables and libraries.  But doing so
9368           # requires that you compile everything twice, which is a pain.
9369           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9370             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9371             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9372             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9373           else
9374             ld_shlibs=no
9375           fi
9376         ;;
9377       esac
9378       ;;
9379
9380     sunos4*)
9381       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9382       wlarc=
9383       hardcode_direct=yes
9384       hardcode_shlibpath_var=no
9385       ;;
9386
9387     *)
9388       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9389         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9390         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9391       else
9392         ld_shlibs=no
9393       fi
9394       ;;
9395     esac
9396
9397     if test "$ld_shlibs" = no; then
9398       runpath_var=
9399       hardcode_libdir_flag_spec=
9400       export_dynamic_flag_spec=
9401       whole_archive_flag_spec=
9402     fi
9403   else
9404     # PORTME fill in a description of your system's linker (not GNU ld)
9405     case $host_os in
9406     aix3*)
9407       allow_undefined_flag=unsupported
9408       always_export_symbols=yes
9409       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'
9410       # Note: this linker hardcodes the directories in LIBPATH if there
9411       # are no directories specified by -L.
9412       hardcode_minus_L=yes
9413       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9414         # Neither direct hardcoding nor static linking is supported with a
9415         # broken collect2.
9416         hardcode_direct=unsupported
9417       fi
9418       ;;
9419
9420     aix[4-9]*)
9421       if test "$host_cpu" = ia64; then
9422         # On IA64, the linker does run time linking by default, so we don't
9423         # have to do anything special.
9424         aix_use_runtimelinking=no
9425         exp_sym_flag='-Bexport'
9426         no_entry_flag=""
9427       else
9428         # If we're using GNU nm, then we don't want the "-C" option.
9429         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9430         # Also, AIX nm treats weak defined symbols like other global
9431         # defined symbols, whereas GNU nm marks them as "W".
9432         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9433           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'
9434         else
9435           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'
9436         fi
9437         aix_use_runtimelinking=no
9438
9439         # Test if we are trying to use run time linking or normal
9440         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9441         # need to do runtime linking.
9442         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9443           for ld_flag in $LDFLAGS; do
9444           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9445             aix_use_runtimelinking=yes
9446             break
9447           fi
9448           done
9449           ;;
9450         esac
9451
9452         exp_sym_flag='-bexport'
9453         no_entry_flag='-bnoentry'
9454       fi
9455
9456       # When large executables or shared objects are built, AIX ld can
9457       # have problems creating the table of contents.  If linking a library
9458       # or program results in "error TOC overflow" add -mminimal-toc to
9459       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9460       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9461
9462       archive_cmds=''
9463       hardcode_direct=yes
9464       hardcode_direct_absolute=yes
9465       hardcode_libdir_separator=':'
9466       link_all_deplibs=yes
9467       file_list_spec='${wl}-f,'
9468
9469       if test "$GCC" = yes; then
9470         case $host_os in aix4.[012]|aix4.[012].*)
9471         # We only want to do this on AIX 4.2 and lower, the check
9472         # below for broken collect2 doesn't work under 4.3+
9473           collect2name=`${CC} -print-prog-name=collect2`
9474           if test -f "$collect2name" &&
9475            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9476           then
9477           # We have reworked collect2
9478           :
9479           else
9480           # We have old collect2
9481           hardcode_direct=unsupported
9482           # It fails to find uninstalled libraries when the uninstalled
9483           # path is not listed in the libpath.  Setting hardcode_minus_L
9484           # to unsupported forces relinking
9485           hardcode_minus_L=yes
9486           hardcode_libdir_flag_spec='-L$libdir'
9487           hardcode_libdir_separator=
9488           fi
9489           ;;
9490         esac
9491         shared_flag='-shared'
9492         if test "$aix_use_runtimelinking" = yes; then
9493           shared_flag="$shared_flag "'${wl}-G'
9494         fi
9495       else
9496         # not using gcc
9497         if test "$host_cpu" = ia64; then
9498         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9499         # chokes on -Wl,-G. The following line is correct:
9500           shared_flag='-G'
9501         else
9502           if test "$aix_use_runtimelinking" = yes; then
9503             shared_flag='${wl}-G'
9504           else
9505             shared_flag='${wl}-bM:SRE'
9506           fi
9507         fi
9508       fi
9509
9510       export_dynamic_flag_spec='${wl}-bexpall'
9511       # It seems that -bexpall does not export symbols beginning with
9512       # underscore (_), so it is better to generate a list of symbols to export.
9513       always_export_symbols=yes
9514       if test "$aix_use_runtimelinking" = yes; then
9515         # Warning - without using the other runtime loading flags (-brtl),
9516         # -berok will link without error, but may produce a broken library.
9517         allow_undefined_flag='-berok'
9518         # Determine the default libpath from the value encoded in an
9519         # empty executable.
9520         if test x$gcc_no_link = xyes; then
9521   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9522 fi
9523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9524 /* end confdefs.h.  */
9525
9526 int
9527 main ()
9528 {
9529
9530   ;
9531   return 0;
9532 }
9533 _ACEOF
9534 if ac_fn_c_try_link "$LINENO"; then :
9535
9536 lt_aix_libpath_sed='
9537     /Import File Strings/,/^$/ {
9538         /^0/ {
9539             s/^0  *\(.*\)$/\1/
9540             p
9541         }
9542     }'
9543 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9544 # Check for a 64-bit object if we didn't find anything.
9545 if test -z "$aix_libpath"; then
9546   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9547 fi
9548 fi
9549 rm -f core conftest.err conftest.$ac_objext \
9550     conftest$ac_exeext conftest.$ac_ext
9551 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9552
9553         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9554         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"
9555       else
9556         if test "$host_cpu" = ia64; then
9557           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9558           allow_undefined_flag="-z nodefs"
9559           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"
9560         else
9561          # Determine the default libpath from the value encoded in an
9562          # empty executable.
9563          if test x$gcc_no_link = xyes; then
9564   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9565 fi
9566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9567 /* end confdefs.h.  */
9568
9569 int
9570 main ()
9571 {
9572
9573   ;
9574   return 0;
9575 }
9576 _ACEOF
9577 if ac_fn_c_try_link "$LINENO"; then :
9578
9579 lt_aix_libpath_sed='
9580     /Import File Strings/,/^$/ {
9581         /^0/ {
9582             s/^0  *\(.*\)$/\1/
9583             p
9584         }
9585     }'
9586 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9587 # Check for a 64-bit object if we didn't find anything.
9588 if test -z "$aix_libpath"; then
9589   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9590 fi
9591 fi
9592 rm -f core conftest.err conftest.$ac_objext \
9593     conftest$ac_exeext conftest.$ac_ext
9594 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9595
9596          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9597           # Warning - without using the other run time loading flags,
9598           # -berok will link without error, but may produce a broken library.
9599           no_undefined_flag=' ${wl}-bernotok'
9600           allow_undefined_flag=' ${wl}-berok'
9601           if test "$with_gnu_ld" = yes; then
9602             # We only use this code for GNU lds that support --whole-archive.
9603             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9604           else
9605             # Exported symbols can be pulled into shared objects from archives
9606             whole_archive_flag_spec='$convenience'
9607           fi
9608           archive_cmds_need_lc=yes
9609           # This is similar to how AIX traditionally builds its shared libraries.
9610           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'
9611         fi
9612       fi
9613       ;;
9614
9615     amigaos*)
9616       case $host_cpu in
9617       powerpc)
9618             # see comment about AmigaOS4 .so support
9619             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9620             archive_expsym_cmds=''
9621         ;;
9622       m68k)
9623             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)'
9624             hardcode_libdir_flag_spec='-L$libdir'
9625             hardcode_minus_L=yes
9626         ;;
9627       esac
9628       ;;
9629
9630     bsdi[45]*)
9631       export_dynamic_flag_spec=-rdynamic
9632       ;;
9633
9634     cygwin* | mingw* | pw32* | cegcc*)
9635       # When not using gcc, we currently assume that we are using
9636       # Microsoft Visual C++.
9637       # hardcode_libdir_flag_spec is actually meaningless, as there is
9638       # no search path for DLLs.
9639       hardcode_libdir_flag_spec=' '
9640       allow_undefined_flag=unsupported
9641       # Tell ltmain to make .lib files, not .a files.
9642       libext=lib
9643       # Tell ltmain to make .dll files, not .so files.
9644       shrext_cmds=".dll"
9645       # FIXME: Setting linknames here is a bad hack.
9646       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9647       # The linker will automatically build a .lib file if we build a DLL.
9648       old_archive_from_new_cmds='true'
9649       # FIXME: Should let the user specify the lib program.
9650       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9651       fix_srcfile_path='`cygpath -w "$srcfile"`'
9652       enable_shared_with_static_runtimes=yes
9653       ;;
9654
9655     darwin* | rhapsody*)
9656
9657
9658   archive_cmds_need_lc=no
9659   hardcode_direct=no
9660   hardcode_automatic=yes
9661   hardcode_shlibpath_var=unsupported
9662   if test "$lt_cv_ld_force_load" = "yes"; then
9663     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\"`'
9664   else
9665     whole_archive_flag_spec=''
9666   fi
9667   link_all_deplibs=yes
9668   allow_undefined_flag="$_lt_dar_allow_undefined"
9669   case $cc_basename in
9670      ifort*) _lt_dar_can_shared=yes ;;
9671      *) _lt_dar_can_shared=$GCC ;;
9672   esac
9673   if test "$_lt_dar_can_shared" = "yes"; then
9674     output_verbose_link_cmd=func_echo_all
9675     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9676     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9677     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}"
9678     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}"
9679
9680   else
9681   ld_shlibs=no
9682   fi
9683
9684       ;;
9685
9686     dgux*)
9687       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9688       hardcode_libdir_flag_spec='-L$libdir'
9689       hardcode_shlibpath_var=no
9690       ;;
9691
9692     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9693     # support.  Future versions do this automatically, but an explicit c++rt0.o
9694     # does not break anything, and helps significantly (at the cost of a little
9695     # extra space).
9696     freebsd2.2*)
9697       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9698       hardcode_libdir_flag_spec='-R$libdir'
9699       hardcode_direct=yes
9700       hardcode_shlibpath_var=no
9701       ;;
9702
9703     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9704     freebsd2*)
9705       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9706       hardcode_direct=yes
9707       hardcode_minus_L=yes
9708       hardcode_shlibpath_var=no
9709       ;;
9710
9711     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9712     freebsd* | dragonfly*)
9713       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9714       hardcode_libdir_flag_spec='-R$libdir'
9715       hardcode_direct=yes
9716       hardcode_shlibpath_var=no
9717       ;;
9718
9719     hpux9*)
9720       if test "$GCC" = yes; then
9721         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'
9722       else
9723         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'
9724       fi
9725       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9726       hardcode_libdir_separator=:
9727       hardcode_direct=yes
9728
9729       # hardcode_minus_L: Not really in the search PATH,
9730       # but as the default location of the library.
9731       hardcode_minus_L=yes
9732       export_dynamic_flag_spec='${wl}-E'
9733       ;;
9734
9735     hpux10*)
9736       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9737         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9738       else
9739         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9740       fi
9741       if test "$with_gnu_ld" = no; then
9742         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9743         hardcode_libdir_flag_spec_ld='+b $libdir'
9744         hardcode_libdir_separator=:
9745         hardcode_direct=yes
9746         hardcode_direct_absolute=yes
9747         export_dynamic_flag_spec='${wl}-E'
9748         # hardcode_minus_L: Not really in the search PATH,
9749         # but as the default location of the library.
9750         hardcode_minus_L=yes
9751       fi
9752       ;;
9753
9754     hpux11*)
9755       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9756         case $host_cpu in
9757         hppa*64*)
9758           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9759           ;;
9760         ia64*)
9761           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9762           ;;
9763         *)
9764           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9765           ;;
9766         esac
9767       else
9768         case $host_cpu in
9769         hppa*64*)
9770           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9771           ;;
9772         ia64*)
9773           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9774           ;;
9775         *)
9776
9777           # Older versions of the 11.00 compiler do not understand -b yet
9778           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9779           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9780 $as_echo_n "checking if $CC understands -b... " >&6; }
9781 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9782   $as_echo_n "(cached) " >&6
9783 else
9784   lt_cv_prog_compiler__b=no
9785    save_LDFLAGS="$LDFLAGS"
9786    LDFLAGS="$LDFLAGS -b"
9787    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9788    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9789      # The linker can only warn and ignore the option if not recognized
9790      # So say no if there are warnings
9791      if test -s conftest.err; then
9792        # Append any errors to the config.log.
9793        cat conftest.err 1>&5
9794        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9795        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9796        if diff conftest.exp conftest.er2 >/dev/null; then
9797          lt_cv_prog_compiler__b=yes
9798        fi
9799      else
9800        lt_cv_prog_compiler__b=yes
9801      fi
9802    fi
9803    $RM -r conftest*
9804    LDFLAGS="$save_LDFLAGS"
9805
9806 fi
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9808 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9809
9810 if test x"$lt_cv_prog_compiler__b" = xyes; then
9811     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9812 else
9813     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9814 fi
9815
9816           ;;
9817         esac
9818       fi
9819       if test "$with_gnu_ld" = no; then
9820         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9821         hardcode_libdir_separator=:
9822
9823         case $host_cpu in
9824         hppa*64*|ia64*)
9825           hardcode_direct=no
9826           hardcode_shlibpath_var=no
9827           ;;
9828         *)
9829           hardcode_direct=yes
9830           hardcode_direct_absolute=yes
9831           export_dynamic_flag_spec='${wl}-E'
9832
9833           # hardcode_minus_L: Not really in the search PATH,
9834           # but as the default location of the library.
9835           hardcode_minus_L=yes
9836           ;;
9837         esac
9838       fi
9839       ;;
9840
9841     irix5* | irix6* | nonstopux*)
9842       if test "$GCC" = yes; then
9843         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'
9844         # Try to use the -exported_symbol ld option, if it does not
9845         # work, assume that -exports_file does not work either and
9846         # implicitly export all symbols.
9847         save_LDFLAGS="$LDFLAGS"
9848         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9849         if test x$gcc_no_link = xyes; then
9850   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9851 fi
9852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9853 /* end confdefs.h.  */
9854 int foo(void) {}
9855 _ACEOF
9856 if ac_fn_c_try_link "$LINENO"; then :
9857   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'
9858
9859 fi
9860 rm -f core conftest.err conftest.$ac_objext \
9861     conftest$ac_exeext conftest.$ac_ext
9862         LDFLAGS="$save_LDFLAGS"
9863       else
9864         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'
9865         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'
9866       fi
9867       archive_cmds_need_lc='no'
9868       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9869       hardcode_libdir_separator=:
9870       inherit_rpath=yes
9871       link_all_deplibs=yes
9872       ;;
9873
9874     netbsd*)
9875       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9876         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9877       else
9878         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9879       fi
9880       hardcode_libdir_flag_spec='-R$libdir'
9881       hardcode_direct=yes
9882       hardcode_shlibpath_var=no
9883       ;;
9884
9885     newsos6)
9886       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9887       hardcode_direct=yes
9888       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9889       hardcode_libdir_separator=:
9890       hardcode_shlibpath_var=no
9891       ;;
9892
9893     *nto* | *qnx*)
9894       ;;
9895
9896     openbsd*)
9897       if test -f /usr/libexec/ld.so; then
9898         hardcode_direct=yes
9899         hardcode_shlibpath_var=no
9900         hardcode_direct_absolute=yes
9901         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9902           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9903           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9904           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9905           export_dynamic_flag_spec='${wl}-E'
9906         else
9907           case $host_os in
9908            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9909              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9910              hardcode_libdir_flag_spec='-R$libdir'
9911              ;;
9912            *)
9913              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9914              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9915              ;;
9916           esac
9917         fi
9918       else
9919         ld_shlibs=no
9920       fi
9921       ;;
9922
9923     os2*)
9924       hardcode_libdir_flag_spec='-L$libdir'
9925       hardcode_minus_L=yes
9926       allow_undefined_flag=unsupported
9927       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'
9928       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9929       ;;
9930
9931     osf3*)
9932       if test "$GCC" = yes; then
9933         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9934         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'
9935       else
9936         allow_undefined_flag=' -expect_unresolved \*'
9937         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'
9938       fi
9939       archive_cmds_need_lc='no'
9940       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9941       hardcode_libdir_separator=:
9942       ;;
9943
9944     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9945       if test "$GCC" = yes; then
9946         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9947         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'
9948         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9949       else
9950         allow_undefined_flag=' -expect_unresolved \*'
9951         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'
9952         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~
9953         $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'
9954
9955         # Both c and cxx compiler support -rpath directly
9956         hardcode_libdir_flag_spec='-rpath $libdir'
9957       fi
9958       archive_cmds_need_lc='no'
9959       hardcode_libdir_separator=:
9960       ;;
9961
9962     solaris*)
9963       no_undefined_flag=' -z defs'
9964       if test "$GCC" = yes; then
9965         wlarc='${wl}'
9966         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9967         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9968           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9969       else
9970         case `$CC -V 2>&1` in
9971         *"Compilers 5.0"*)
9972           wlarc=''
9973           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9974           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9975           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9976           ;;
9977         *)
9978           wlarc='${wl}'
9979           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9980           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9981           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9982           ;;
9983         esac
9984       fi
9985       hardcode_libdir_flag_spec='-R$libdir'
9986       hardcode_shlibpath_var=no
9987       case $host_os in
9988       solaris2.[0-5] | solaris2.[0-5].*) ;;
9989       *)
9990         # The compiler driver will combine and reorder linker options,
9991         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9992         # but is careful enough not to reorder.
9993         # Supported since Solaris 2.6 (maybe 2.5.1?)
9994         if test "$GCC" = yes; then
9995           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9996         else
9997           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9998         fi
9999         ;;
10000       esac
10001       link_all_deplibs=yes
10002       ;;
10003
10004     sunos4*)
10005       if test "x$host_vendor" = xsequent; then
10006         # Use $CC to link under sequent, because it throws in some extra .o
10007         # files that make .init and .fini sections work.
10008         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10009       else
10010         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10011       fi
10012       hardcode_libdir_flag_spec='-L$libdir'
10013       hardcode_direct=yes
10014       hardcode_minus_L=yes
10015       hardcode_shlibpath_var=no
10016       ;;
10017
10018     sysv4)
10019       case $host_vendor in
10020         sni)
10021           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10022           hardcode_direct=yes # is this really true???
10023         ;;
10024         siemens)
10025           ## LD is ld it makes a PLAMLIB
10026           ## CC just makes a GrossModule.
10027           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10028           reload_cmds='$CC -r -o $output$reload_objs'
10029           hardcode_direct=no
10030         ;;
10031         motorola)
10032           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10033           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10034         ;;
10035       esac
10036       runpath_var='LD_RUN_PATH'
10037       hardcode_shlibpath_var=no
10038       ;;
10039
10040     sysv4.3*)
10041       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10042       hardcode_shlibpath_var=no
10043       export_dynamic_flag_spec='-Bexport'
10044       ;;
10045
10046     sysv4*MP*)
10047       if test -d /usr/nec; then
10048         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10049         hardcode_shlibpath_var=no
10050         runpath_var=LD_RUN_PATH
10051         hardcode_runpath_var=yes
10052         ld_shlibs=yes
10053       fi
10054       ;;
10055
10056     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10057       no_undefined_flag='${wl}-z,text'
10058       archive_cmds_need_lc=no
10059       hardcode_shlibpath_var=no
10060       runpath_var='LD_RUN_PATH'
10061
10062       if test "$GCC" = yes; then
10063         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10064         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10065       else
10066         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10067         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10068       fi
10069       ;;
10070
10071     sysv5* | sco3.2v5* | sco5v6*)
10072       # Note: We can NOT use -z defs as we might desire, because we do not
10073       # link with -lc, and that would cause any symbols used from libc to
10074       # always be unresolved, which means just about no library would
10075       # ever link correctly.  If we're not using GNU ld we use -z text
10076       # though, which does catch some bad symbols but isn't as heavy-handed
10077       # as -z defs.
10078       no_undefined_flag='${wl}-z,text'
10079       allow_undefined_flag='${wl}-z,nodefs'
10080       archive_cmds_need_lc=no
10081       hardcode_shlibpath_var=no
10082       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10083       hardcode_libdir_separator=':'
10084       link_all_deplibs=yes
10085       export_dynamic_flag_spec='${wl}-Bexport'
10086       runpath_var='LD_RUN_PATH'
10087
10088       if test "$GCC" = yes; then
10089         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10090         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091       else
10092         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10094       fi
10095       ;;
10096
10097     uts4*)
10098       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10099       hardcode_libdir_flag_spec='-L$libdir'
10100       hardcode_shlibpath_var=no
10101       ;;
10102
10103     *)
10104       ld_shlibs=no
10105       ;;
10106     esac
10107
10108     if test x$host_vendor = xsni; then
10109       case $host in
10110       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10111         export_dynamic_flag_spec='${wl}-Blargedynsym'
10112         ;;
10113       esac
10114     fi
10115   fi
10116
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10118 $as_echo "$ld_shlibs" >&6; }
10119 test "$ld_shlibs" = no && can_build_shared=no
10120
10121 with_gnu_ld=$with_gnu_ld
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137 #
10138 # Do we need to explicitly link libc?
10139 #
10140 case "x$archive_cmds_need_lc" in
10141 x|xyes)
10142   # Assume -lc should be added
10143   archive_cmds_need_lc=yes
10144
10145   if test "$enable_shared" = yes && test "$GCC" = yes; then
10146     case $archive_cmds in
10147     *'~'*)
10148       # FIXME: we may have to deal with multi-command sequences.
10149       ;;
10150     '$CC '*)
10151       # Test whether the compiler implicitly links with -lc since on some
10152       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10153       # to ld, don't add -lc before -lgcc.
10154       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10155 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10156 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10157   $as_echo_n "(cached) " >&6
10158 else
10159   $RM conftest*
10160         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10161
10162         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10163   (eval $ac_compile) 2>&5
10164   ac_status=$?
10165   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10166   test $ac_status = 0; } 2>conftest.err; then
10167           soname=conftest
10168           lib=conftest
10169           libobjs=conftest.$ac_objext
10170           deplibs=
10171           wl=$lt_prog_compiler_wl
10172           pic_flag=$lt_prog_compiler_pic
10173           compiler_flags=-v
10174           linker_flags=-v
10175           verstring=
10176           output_objdir=.
10177           libname=conftest
10178           lt_save_allow_undefined_flag=$allow_undefined_flag
10179           allow_undefined_flag=
10180           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10181   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10182   ac_status=$?
10183   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10184   test $ac_status = 0; }
10185           then
10186             lt_cv_archive_cmds_need_lc=no
10187           else
10188             lt_cv_archive_cmds_need_lc=yes
10189           fi
10190           allow_undefined_flag=$lt_save_allow_undefined_flag
10191         else
10192           cat conftest.err 1>&5
10193         fi
10194         $RM conftest*
10195
10196 fi
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10198 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10199       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10200       ;;
10201     esac
10202   fi
10203   ;;
10204 esac
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10363 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10364
10365 if test "$GCC" = yes; then
10366   case $host_os in
10367     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10368     *) lt_awk_arg="/^libraries:/" ;;
10369   esac
10370   case $host_os in
10371     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10372     *) lt_sed_strip_eq="s,=/,/,g" ;;
10373   esac
10374   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10375   case $lt_search_path_spec in
10376   *\;*)
10377     # if the path contains ";" then we assume it to be the separator
10378     # otherwise default to the standard path separator (i.e. ":") - it is
10379     # assumed that no part of a normal pathname contains ";" but that should
10380     # okay in the real world where ";" in dirpaths is itself problematic.
10381     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10382     ;;
10383   *)
10384     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10385     ;;
10386   esac
10387   # Ok, now we have the path, separated by spaces, we can step through it
10388   # and add multilib dir if necessary.
10389   lt_tmp_lt_search_path_spec=
10390   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10391   for lt_sys_path in $lt_search_path_spec; do
10392     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10393       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10394     else
10395       test -d "$lt_sys_path" && \
10396         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10397     fi
10398   done
10399   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10400 BEGIN {RS=" "; FS="/|\n";} {
10401   lt_foo="";
10402   lt_count=0;
10403   for (lt_i = NF; lt_i > 0; lt_i--) {
10404     if ($lt_i != "" && $lt_i != ".") {
10405       if ($lt_i == "..") {
10406         lt_count++;
10407       } else {
10408         if (lt_count == 0) {
10409           lt_foo="/" $lt_i lt_foo;
10410         } else {
10411           lt_count--;
10412         }
10413       }
10414     }
10415   }
10416   if (lt_foo != "") { lt_freq[lt_foo]++; }
10417   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10418 }'`
10419   # AWK program above erroneously prepends '/' to C:/dos/paths
10420   # for these hosts.
10421   case $host_os in
10422     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10423       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10424   esac
10425   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10426 else
10427   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10428 fi
10429 library_names_spec=
10430 libname_spec='lib$name'
10431 soname_spec=
10432 shrext_cmds=".so"
10433 postinstall_cmds=
10434 postuninstall_cmds=
10435 finish_cmds=
10436 finish_eval=
10437 shlibpath_var=
10438 shlibpath_overrides_runpath=unknown
10439 version_type=none
10440 dynamic_linker="$host_os ld.so"
10441 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10442 need_lib_prefix=unknown
10443 hardcode_into_libs=no
10444
10445 # when you set need_version to no, make sure it does not cause -set_version
10446 # flags to be left without arguments
10447 need_version=unknown
10448
10449 case $host_os in
10450 aix3*)
10451   version_type=linux
10452   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10453   shlibpath_var=LIBPATH
10454
10455   # AIX 3 has no versioning support, so we append a major version to the name.
10456   soname_spec='${libname}${release}${shared_ext}$major'
10457   ;;
10458
10459 aix[4-9]*)
10460   version_type=linux
10461   need_lib_prefix=no
10462   need_version=no
10463   hardcode_into_libs=yes
10464   if test "$host_cpu" = ia64; then
10465     # AIX 5 supports IA64
10466     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10467     shlibpath_var=LD_LIBRARY_PATH
10468   else
10469     # With GCC up to 2.95.x, collect2 would create an import file
10470     # for dependence libraries.  The import file would start with
10471     # the line `#! .'.  This would cause the generated library to
10472     # depend on `.', always an invalid library.  This was fixed in
10473     # development snapshots of GCC prior to 3.0.
10474     case $host_os in
10475       aix4 | aix4.[01] | aix4.[01].*)
10476       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10477            echo ' yes '
10478            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10479         :
10480       else
10481         can_build_shared=no
10482       fi
10483       ;;
10484     esac
10485     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10486     # soname into executable. Probably we can add versioning support to
10487     # collect2, so additional links can be useful in future.
10488     if test "$aix_use_runtimelinking" = yes; then
10489       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10490       # instead of lib<name>.a to let people know that these are not
10491       # typical AIX shared libraries.
10492       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10493     else
10494       # We preserve .a as extension for shared libraries through AIX4.2
10495       # and later when we are not doing run time linking.
10496       library_names_spec='${libname}${release}.a $libname.a'
10497       soname_spec='${libname}${release}${shared_ext}$major'
10498     fi
10499     shlibpath_var=LIBPATH
10500   fi
10501   ;;
10502
10503 amigaos*)
10504   case $host_cpu in
10505   powerpc)
10506     # Since July 2007 AmigaOS4 officially supports .so libraries.
10507     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10508     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10509     ;;
10510   m68k)
10511     library_names_spec='$libname.ixlibrary $libname.a'
10512     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10513     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'
10514     ;;
10515   esac
10516   ;;
10517
10518 beos*)
10519   library_names_spec='${libname}${shared_ext}'
10520   dynamic_linker="$host_os ld.so"
10521   shlibpath_var=LIBRARY_PATH
10522   ;;
10523
10524 bsdi[45]*)
10525   version_type=linux
10526   need_version=no
10527   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10528   soname_spec='${libname}${release}${shared_ext}$major'
10529   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10530   shlibpath_var=LD_LIBRARY_PATH
10531   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10532   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10533   # the default ld.so.conf also contains /usr/contrib/lib and
10534   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10535   # libtool to hard-code these into programs
10536   ;;
10537
10538 cygwin* | mingw* | pw32* | cegcc*)
10539   version_type=windows
10540   shrext_cmds=".dll"
10541   need_version=no
10542   need_lib_prefix=no
10543
10544   case $GCC,$host_os in
10545   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10546     library_names_spec='$libname.dll.a'
10547     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10548     postinstall_cmds='base_file=`basename \${file}`~
10549       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10550       dldir=$destdir/`dirname \$dlpath`~
10551       test -d \$dldir || mkdir -p \$dldir~
10552       $install_prog $dir/$dlname \$dldir/$dlname~
10553       chmod a+x \$dldir/$dlname~
10554       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10555         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10556       fi'
10557     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10558       dlpath=$dir/\$dldll~
10559        $RM \$dlpath'
10560     shlibpath_overrides_runpath=yes
10561
10562     case $host_os in
10563     cygwin*)
10564       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10565       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10566
10567       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10568       ;;
10569     mingw* | cegcc*)
10570       # MinGW DLLs use traditional 'lib' prefix
10571       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10572       ;;
10573     pw32*)
10574       # pw32 DLLs use 'pw' prefix rather than 'lib'
10575       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10576       ;;
10577     esac
10578     ;;
10579
10580   *)
10581     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10582     ;;
10583   esac
10584   dynamic_linker='Win32 ld.exe'
10585   # FIXME: first we should search . and the directory the executable is in
10586   shlibpath_var=PATH
10587   ;;
10588
10589 darwin* | rhapsody*)
10590   dynamic_linker="$host_os dyld"
10591   version_type=darwin
10592   need_lib_prefix=no
10593   need_version=no
10594   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10595   soname_spec='${libname}${release}${major}$shared_ext'
10596   shlibpath_overrides_runpath=yes
10597   shlibpath_var=DYLD_LIBRARY_PATH
10598   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10599
10600   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10601   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10602   ;;
10603
10604 dgux*)
10605   version_type=linux
10606   need_lib_prefix=no
10607   need_version=no
10608   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10609   soname_spec='${libname}${release}${shared_ext}$major'
10610   shlibpath_var=LD_LIBRARY_PATH
10611   ;;
10612
10613 freebsd* | dragonfly*)
10614   # DragonFly does not have aout.  When/if they implement a new
10615   # versioning mechanism, adjust this.
10616   if test -x /usr/bin/objformat; then
10617     objformat=`/usr/bin/objformat`
10618   else
10619     case $host_os in
10620     freebsd[123]*) objformat=aout ;;
10621     *) objformat=elf ;;
10622     esac
10623   fi
10624   version_type=freebsd-$objformat
10625   case $version_type in
10626     freebsd-elf*)
10627       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10628       need_version=no
10629       need_lib_prefix=no
10630       ;;
10631     freebsd-*)
10632       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10633       need_version=yes
10634       ;;
10635   esac
10636   shlibpath_var=LD_LIBRARY_PATH
10637   case $host_os in
10638   freebsd2*)
10639     shlibpath_overrides_runpath=yes
10640     ;;
10641   freebsd3.[01]* | freebsdelf3.[01]*)
10642     shlibpath_overrides_runpath=yes
10643     hardcode_into_libs=yes
10644     ;;
10645   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10646   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10647     shlibpath_overrides_runpath=no
10648     hardcode_into_libs=yes
10649     ;;
10650   *) # from 4.6 on, and DragonFly
10651     shlibpath_overrides_runpath=yes
10652     hardcode_into_libs=yes
10653     ;;
10654   esac
10655   ;;
10656
10657 gnu*)
10658   version_type=linux
10659   need_lib_prefix=no
10660   need_version=no
10661   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10662   soname_spec='${libname}${release}${shared_ext}$major'
10663   shlibpath_var=LD_LIBRARY_PATH
10664   hardcode_into_libs=yes
10665   ;;
10666
10667 haiku*)
10668   version_type=linux
10669   need_lib_prefix=no
10670   need_version=no
10671   dynamic_linker="$host_os runtime_loader"
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   shlibpath_var=LIBRARY_PATH
10675   shlibpath_overrides_runpath=yes
10676   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10677   hardcode_into_libs=yes
10678   ;;
10679
10680 hpux9* | hpux10* | hpux11*)
10681   # Give a soname corresponding to the major version so that dld.sl refuses to
10682   # link against other versions.
10683   version_type=sunos
10684   need_lib_prefix=no
10685   need_version=no
10686   case $host_cpu in
10687   ia64*)
10688     shrext_cmds='.so'
10689     hardcode_into_libs=yes
10690     dynamic_linker="$host_os dld.so"
10691     shlibpath_var=LD_LIBRARY_PATH
10692     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10693     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10694     soname_spec='${libname}${release}${shared_ext}$major'
10695     if test "X$HPUX_IA64_MODE" = X32; then
10696       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10697     else
10698       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10699     fi
10700     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10701     ;;
10702   hppa*64*)
10703     shrext_cmds='.sl'
10704     hardcode_into_libs=yes
10705     dynamic_linker="$host_os dld.sl"
10706     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10707     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10708     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10709     soname_spec='${libname}${release}${shared_ext}$major'
10710     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10711     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10712     ;;
10713   *)
10714     shrext_cmds='.sl'
10715     dynamic_linker="$host_os dld.sl"
10716     shlibpath_var=SHLIB_PATH
10717     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10718     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10719     soname_spec='${libname}${release}${shared_ext}$major'
10720     ;;
10721   esac
10722   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10723   postinstall_cmds='chmod 555 $lib'
10724   # or fails outright, so override atomically:
10725   install_override_mode=555
10726   ;;
10727
10728 interix[3-9]*)
10729   version_type=linux
10730   need_lib_prefix=no
10731   need_version=no
10732   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10733   soname_spec='${libname}${release}${shared_ext}$major'
10734   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10735   shlibpath_var=LD_LIBRARY_PATH
10736   shlibpath_overrides_runpath=no
10737   hardcode_into_libs=yes
10738   ;;
10739
10740 irix5* | irix6* | nonstopux*)
10741   case $host_os in
10742     nonstopux*) version_type=nonstopux ;;
10743     *)
10744         if test "$lt_cv_prog_gnu_ld" = yes; then
10745                 version_type=linux
10746         else
10747                 version_type=irix
10748         fi ;;
10749   esac
10750   need_lib_prefix=no
10751   need_version=no
10752   soname_spec='${libname}${release}${shared_ext}$major'
10753   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10754   case $host_os in
10755   irix5* | nonstopux*)
10756     libsuff= shlibsuff=
10757     ;;
10758   *)
10759     case $LD in # libtool.m4 will add one of these switches to LD
10760     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10761       libsuff= shlibsuff= libmagic=32-bit;;
10762     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10763       libsuff=32 shlibsuff=N32 libmagic=N32;;
10764     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10765       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10766     *) libsuff= shlibsuff= libmagic=never-match;;
10767     esac
10768     ;;
10769   esac
10770   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10771   shlibpath_overrides_runpath=no
10772   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10773   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10774   hardcode_into_libs=yes
10775   ;;
10776
10777 # No shared lib support for Linux oldld, aout, or coff.
10778 linux*oldld* | linux*aout* | linux*coff*)
10779   dynamic_linker=no
10780   ;;
10781
10782 # This must be Linux ELF.
10783 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10784   version_type=linux
10785   need_lib_prefix=no
10786   need_version=no
10787   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10788   soname_spec='${libname}${release}${shared_ext}$major'
10789   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10790   shlibpath_var=LD_LIBRARY_PATH
10791   shlibpath_overrides_runpath=no
10792
10793   # Some binutils ld are patched to set DT_RUNPATH
10794   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10795   $as_echo_n "(cached) " >&6
10796 else
10797   lt_cv_shlibpath_overrides_runpath=no
10798     save_LDFLAGS=$LDFLAGS
10799     save_libdir=$libdir
10800     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10801          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10802     if test x$gcc_no_link = xyes; then
10803   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10804 fi
10805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10806 /* end confdefs.h.  */
10807
10808 int
10809 main ()
10810 {
10811
10812   ;
10813   return 0;
10814 }
10815 _ACEOF
10816 if ac_fn_c_try_link "$LINENO"; then :
10817   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10818   lt_cv_shlibpath_overrides_runpath=yes
10819 fi
10820 fi
10821 rm -f core conftest.err conftest.$ac_objext \
10822     conftest$ac_exeext conftest.$ac_ext
10823     LDFLAGS=$save_LDFLAGS
10824     libdir=$save_libdir
10825
10826 fi
10827
10828   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10829
10830   # This implies no fast_install, which is unacceptable.
10831   # Some rework will be needed to allow for fast_install
10832   # before this can be enabled.
10833   hardcode_into_libs=yes
10834
10835   # Append ld.so.conf contents to the search path
10836   if test -f /etc/ld.so.conf; then
10837     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' ' '`
10838     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10839   fi
10840
10841   # We used to test for /lib/ld.so.1 and disable shared libraries on
10842   # powerpc, because MkLinux only supported shared libraries with the
10843   # GNU dynamic linker.  Since this was broken with cross compilers,
10844   # most powerpc-linux boxes support dynamic linking these days and
10845   # people can always --disable-shared, the test was removed, and we
10846   # assume the GNU/Linux dynamic linker is in use.
10847   dynamic_linker='GNU/Linux ld.so'
10848   ;;
10849
10850 netbsd*)
10851   version_type=sunos
10852   need_lib_prefix=no
10853   need_version=no
10854   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10855     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10856     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10857     dynamic_linker='NetBSD (a.out) ld.so'
10858   else
10859     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10860     soname_spec='${libname}${release}${shared_ext}$major'
10861     dynamic_linker='NetBSD ld.elf_so'
10862   fi
10863   shlibpath_var=LD_LIBRARY_PATH
10864   shlibpath_overrides_runpath=yes
10865   hardcode_into_libs=yes
10866   ;;
10867
10868 newsos6)
10869   version_type=linux
10870   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10871   shlibpath_var=LD_LIBRARY_PATH
10872   shlibpath_overrides_runpath=yes
10873   ;;
10874
10875 *nto* | *qnx*)
10876   version_type=qnx
10877   need_lib_prefix=no
10878   need_version=no
10879   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10880   soname_spec='${libname}${release}${shared_ext}$major'
10881   shlibpath_var=LD_LIBRARY_PATH
10882   shlibpath_overrides_runpath=no
10883   hardcode_into_libs=yes
10884   dynamic_linker='ldqnx.so'
10885   ;;
10886
10887 openbsd*)
10888   version_type=sunos
10889   sys_lib_dlsearch_path_spec="/usr/lib"
10890   need_lib_prefix=no
10891   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10892   case $host_os in
10893     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10894     *)                          need_version=no  ;;
10895   esac
10896   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10897   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10898   shlibpath_var=LD_LIBRARY_PATH
10899   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10900     case $host_os in
10901       openbsd2.[89] | openbsd2.[89].*)
10902         shlibpath_overrides_runpath=no
10903         ;;
10904       *)
10905         shlibpath_overrides_runpath=yes
10906         ;;
10907       esac
10908   else
10909     shlibpath_overrides_runpath=yes
10910   fi
10911   ;;
10912
10913 os2*)
10914   libname_spec='$name'
10915   shrext_cmds=".dll"
10916   need_lib_prefix=no
10917   library_names_spec='$libname${shared_ext} $libname.a'
10918   dynamic_linker='OS/2 ld.exe'
10919   shlibpath_var=LIBPATH
10920   ;;
10921
10922 osf3* | osf4* | osf5*)
10923   version_type=osf
10924   need_lib_prefix=no
10925   need_version=no
10926   soname_spec='${libname}${release}${shared_ext}$major'
10927   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10928   shlibpath_var=LD_LIBRARY_PATH
10929   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10930   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10931   ;;
10932
10933 rdos*)
10934   dynamic_linker=no
10935   ;;
10936
10937 solaris*)
10938   version_type=linux
10939   need_lib_prefix=no
10940   need_version=no
10941   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10942   soname_spec='${libname}${release}${shared_ext}$major'
10943   shlibpath_var=LD_LIBRARY_PATH
10944   shlibpath_overrides_runpath=yes
10945   hardcode_into_libs=yes
10946   # ldd complains unless libraries are executable
10947   postinstall_cmds='chmod +x $lib'
10948   ;;
10949
10950 sunos4*)
10951   version_type=sunos
10952   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10953   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10954   shlibpath_var=LD_LIBRARY_PATH
10955   shlibpath_overrides_runpath=yes
10956   if test "$with_gnu_ld" = yes; then
10957     need_lib_prefix=no
10958   fi
10959   need_version=yes
10960   ;;
10961
10962 sysv4 | sysv4.3*)
10963   version_type=linux
10964   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10965   soname_spec='${libname}${release}${shared_ext}$major'
10966   shlibpath_var=LD_LIBRARY_PATH
10967   case $host_vendor in
10968     sni)
10969       shlibpath_overrides_runpath=no
10970       need_lib_prefix=no
10971       runpath_var=LD_RUN_PATH
10972       ;;
10973     siemens)
10974       need_lib_prefix=no
10975       ;;
10976     motorola)
10977       need_lib_prefix=no
10978       need_version=no
10979       shlibpath_overrides_runpath=no
10980       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10981       ;;
10982   esac
10983   ;;
10984
10985 sysv4*MP*)
10986   if test -d /usr/nec ;then
10987     version_type=linux
10988     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10989     soname_spec='$libname${shared_ext}.$major'
10990     shlibpath_var=LD_LIBRARY_PATH
10991   fi
10992   ;;
10993
10994 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10995   version_type=freebsd-elf
10996   need_lib_prefix=no
10997   need_version=no
10998   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10999   soname_spec='${libname}${release}${shared_ext}$major'
11000   shlibpath_var=LD_LIBRARY_PATH
11001   shlibpath_overrides_runpath=yes
11002   hardcode_into_libs=yes
11003   if test "$with_gnu_ld" = yes; then
11004     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11005   else
11006     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11007     case $host_os in
11008       sco3.2v5*)
11009         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11010         ;;
11011     esac
11012   fi
11013   sys_lib_dlsearch_path_spec='/usr/lib'
11014   ;;
11015
11016 tpf*)
11017   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11018   version_type=linux
11019   need_lib_prefix=no
11020   need_version=no
11021   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11022   shlibpath_var=LD_LIBRARY_PATH
11023   shlibpath_overrides_runpath=no
11024   hardcode_into_libs=yes
11025   ;;
11026
11027 uts4*)
11028   version_type=linux
11029   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11030   soname_spec='${libname}${release}${shared_ext}$major'
11031   shlibpath_var=LD_LIBRARY_PATH
11032   ;;
11033
11034 *)
11035   dynamic_linker=no
11036   ;;
11037 esac
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11039 $as_echo "$dynamic_linker" >&6; }
11040 test "$dynamic_linker" = no && can_build_shared=no
11041
11042 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11043 if test "$GCC" = yes; then
11044   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11045 fi
11046
11047 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11048   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11049 fi
11050 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11051   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11052 fi
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11146 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11147 hardcode_action=
11148 if test -n "$hardcode_libdir_flag_spec" ||
11149    test -n "$runpath_var" ||
11150    test "X$hardcode_automatic" = "Xyes" ; then
11151
11152   # We can hardcode non-existent directories.
11153   if test "$hardcode_direct" != no &&
11154      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11155      # have to relink, otherwise we might link with an installed library
11156      # when we should be linking with a yet-to-be-installed one
11157      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11158      test "$hardcode_minus_L" != no; then
11159     # Linking always hardcodes the temporary library directory.
11160     hardcode_action=relink
11161   else
11162     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11163     hardcode_action=immediate
11164   fi
11165 else
11166   # We cannot hardcode anything, or else we can only hardcode existing
11167   # directories.
11168   hardcode_action=unsupported
11169 fi
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11171 $as_echo "$hardcode_action" >&6; }
11172
11173 if test "$hardcode_action" = relink ||
11174    test "$inherit_rpath" = yes; then
11175   # Fast installation is not supported
11176   enable_fast_install=no
11177 elif test "$shlibpath_overrides_runpath" = yes ||
11178      test "$enable_shared" = no; then
11179   # Fast installation is not necessary
11180   enable_fast_install=needless
11181 fi
11182
11183
11184
11185
11186
11187
11188   if test "x$enable_dlopen" != xyes; then
11189   enable_dlopen=unknown
11190   enable_dlopen_self=unknown
11191   enable_dlopen_self_static=unknown
11192 else
11193   lt_cv_dlopen=no
11194   lt_cv_dlopen_libs=
11195
11196   case $host_os in
11197   beos*)
11198     lt_cv_dlopen="load_add_on"
11199     lt_cv_dlopen_libs=
11200     lt_cv_dlopen_self=yes
11201     ;;
11202
11203   mingw* | pw32* | cegcc*)
11204     lt_cv_dlopen="LoadLibrary"
11205     lt_cv_dlopen_libs=
11206     ;;
11207
11208   cygwin*)
11209     lt_cv_dlopen="dlopen"
11210     lt_cv_dlopen_libs=
11211     ;;
11212
11213   darwin*)
11214   # if libdl is installed we need to link against it
11215     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11216 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11217 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11218   $as_echo_n "(cached) " >&6
11219 else
11220   ac_check_lib_save_LIBS=$LIBS
11221 LIBS="-ldl  $LIBS"
11222 if test x$gcc_no_link = xyes; then
11223   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11224 fi
11225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11226 /* end confdefs.h.  */
11227
11228 /* Override any GCC internal prototype to avoid an error.
11229    Use char because int might match the return type of a GCC
11230    builtin and then its argument prototype would still apply.  */
11231 #ifdef __cplusplus
11232 extern "C"
11233 #endif
11234 char dlopen ();
11235 int
11236 main ()
11237 {
11238 return dlopen ();
11239   ;
11240   return 0;
11241 }
11242 _ACEOF
11243 if ac_fn_c_try_link "$LINENO"; then :
11244   ac_cv_lib_dl_dlopen=yes
11245 else
11246   ac_cv_lib_dl_dlopen=no
11247 fi
11248 rm -f core conftest.err conftest.$ac_objext \
11249     conftest$ac_exeext conftest.$ac_ext
11250 LIBS=$ac_check_lib_save_LIBS
11251 fi
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11253 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11254 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11255   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11256 else
11257
11258     lt_cv_dlopen="dyld"
11259     lt_cv_dlopen_libs=
11260     lt_cv_dlopen_self=yes
11261
11262 fi
11263
11264     ;;
11265
11266   *)
11267     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11268 if test "x$ac_cv_func_shl_load" = x""yes; then :
11269   lt_cv_dlopen="shl_load"
11270 else
11271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11272 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11273 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11274   $as_echo_n "(cached) " >&6
11275 else
11276   ac_check_lib_save_LIBS=$LIBS
11277 LIBS="-ldld  $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 shl_load ();
11291 int
11292 main ()
11293 {
11294 return shl_load ();
11295   ;
11296   return 0;
11297 }
11298 _ACEOF
11299 if ac_fn_c_try_link "$LINENO"; then :
11300   ac_cv_lib_dld_shl_load=yes
11301 else
11302   ac_cv_lib_dld_shl_load=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_dld_shl_load" >&5
11309 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11310 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11311   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11312 else
11313   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11314 if test "x$ac_cv_func_dlopen" = x""yes; then :
11315   lt_cv_dlopen="dlopen"
11316 else
11317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11318 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11319 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11320   $as_echo_n "(cached) " >&6
11321 else
11322   ac_check_lib_save_LIBS=$LIBS
11323 LIBS="-ldl  $LIBS"
11324 if test x$gcc_no_link = xyes; then
11325   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11326 fi
11327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h.  */
11329
11330 /* Override any GCC internal prototype to avoid an error.
11331    Use char because int might match the return type of a GCC
11332    builtin and then its argument prototype would still apply.  */
11333 #ifdef __cplusplus
11334 extern "C"
11335 #endif
11336 char dlopen ();
11337 int
11338 main ()
11339 {
11340 return dlopen ();
11341   ;
11342   return 0;
11343 }
11344 _ACEOF
11345 if ac_fn_c_try_link "$LINENO"; then :
11346   ac_cv_lib_dl_dlopen=yes
11347 else
11348   ac_cv_lib_dl_dlopen=no
11349 fi
11350 rm -f core conftest.err conftest.$ac_objext \
11351     conftest$ac_exeext conftest.$ac_ext
11352 LIBS=$ac_check_lib_save_LIBS
11353 fi
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11355 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11356 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11357   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11358 else
11359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11360 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11361 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11362   $as_echo_n "(cached) " >&6
11363 else
11364   ac_check_lib_save_LIBS=$LIBS
11365 LIBS="-lsvld  $LIBS"
11366 if test x$gcc_no_link = xyes; then
11367   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11368 fi
11369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11370 /* end confdefs.h.  */
11371
11372 /* Override any GCC internal prototype to avoid an error.
11373    Use char because int might match the return type of a GCC
11374    builtin and then its argument prototype would still apply.  */
11375 #ifdef __cplusplus
11376 extern "C"
11377 #endif
11378 char dlopen ();
11379 int
11380 main ()
11381 {
11382 return dlopen ();
11383   ;
11384   return 0;
11385 }
11386 _ACEOF
11387 if ac_fn_c_try_link "$LINENO"; then :
11388   ac_cv_lib_svld_dlopen=yes
11389 else
11390   ac_cv_lib_svld_dlopen=no
11391 fi
11392 rm -f core conftest.err conftest.$ac_objext \
11393     conftest$ac_exeext conftest.$ac_ext
11394 LIBS=$ac_check_lib_save_LIBS
11395 fi
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11397 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11398 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11399   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11400 else
11401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11402 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11403 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11404   $as_echo_n "(cached) " >&6
11405 else
11406   ac_check_lib_save_LIBS=$LIBS
11407 LIBS="-ldld  $LIBS"
11408 if test x$gcc_no_link = xyes; then
11409   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11410 fi
11411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11412 /* end confdefs.h.  */
11413
11414 /* Override any GCC internal prototype to avoid an error.
11415    Use char because int might match the return type of a GCC
11416    builtin and then its argument prototype would still apply.  */
11417 #ifdef __cplusplus
11418 extern "C"
11419 #endif
11420 char dld_link ();
11421 int
11422 main ()
11423 {
11424 return dld_link ();
11425   ;
11426   return 0;
11427 }
11428 _ACEOF
11429 if ac_fn_c_try_link "$LINENO"; then :
11430   ac_cv_lib_dld_dld_link=yes
11431 else
11432   ac_cv_lib_dld_dld_link=no
11433 fi
11434 rm -f core conftest.err conftest.$ac_objext \
11435     conftest$ac_exeext conftest.$ac_ext
11436 LIBS=$ac_check_lib_save_LIBS
11437 fi
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11439 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11440 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11441   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11442 fi
11443
11444
11445 fi
11446
11447
11448 fi
11449
11450
11451 fi
11452
11453
11454 fi
11455
11456
11457 fi
11458
11459     ;;
11460   esac
11461
11462   if test "x$lt_cv_dlopen" != xno; then
11463     enable_dlopen=yes
11464   else
11465     enable_dlopen=no
11466   fi
11467
11468   case $lt_cv_dlopen in
11469   dlopen)
11470     save_CPPFLAGS="$CPPFLAGS"
11471     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11472
11473     save_LDFLAGS="$LDFLAGS"
11474     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11475
11476     save_LIBS="$LIBS"
11477     LIBS="$lt_cv_dlopen_libs $LIBS"
11478
11479     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11480 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11481 if test "${lt_cv_dlopen_self+set}" = set; then :
11482   $as_echo_n "(cached) " >&6
11483 else
11484           if test "$cross_compiling" = yes; then :
11485   lt_cv_dlopen_self=cross
11486 else
11487   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11488   lt_status=$lt_dlunknown
11489   cat > conftest.$ac_ext <<_LT_EOF
11490 #line 11490 "configure"
11491 #include "confdefs.h"
11492
11493 #if HAVE_DLFCN_H
11494 #include <dlfcn.h>
11495 #endif
11496
11497 #include <stdio.h>
11498
11499 #ifdef RTLD_GLOBAL
11500 #  define LT_DLGLOBAL           RTLD_GLOBAL
11501 #else
11502 #  ifdef DL_GLOBAL
11503 #    define LT_DLGLOBAL         DL_GLOBAL
11504 #  else
11505 #    define LT_DLGLOBAL         0
11506 #  endif
11507 #endif
11508
11509 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11510    find out it does not work in some platform. */
11511 #ifndef LT_DLLAZY_OR_NOW
11512 #  ifdef RTLD_LAZY
11513 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11514 #  else
11515 #    ifdef DL_LAZY
11516 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11517 #    else
11518 #      ifdef RTLD_NOW
11519 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11520 #      else
11521 #        ifdef DL_NOW
11522 #          define LT_DLLAZY_OR_NOW      DL_NOW
11523 #        else
11524 #          define LT_DLLAZY_OR_NOW      0
11525 #        endif
11526 #      endif
11527 #    endif
11528 #  endif
11529 #endif
11530
11531 /* When -fvisbility=hidden is used, assume the code has been annotated
11532    correspondingly for the symbols needed.  */
11533 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11534 void fnord () __attribute__((visibility("default")));
11535 #endif
11536
11537 void fnord () { int i=42; }
11538 int main ()
11539 {
11540   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11541   int status = $lt_dlunknown;
11542
11543   if (self)
11544     {
11545       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11546       else
11547         {
11548           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11549           else puts (dlerror ());
11550         }
11551       /* dlclose (self); */
11552     }
11553   else
11554     puts (dlerror ());
11555
11556   return status;
11557 }
11558 _LT_EOF
11559   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11560   (eval $ac_link) 2>&5
11561   ac_status=$?
11562   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11563   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11564     (./conftest; exit; ) >&5 2>/dev/null
11565     lt_status=$?
11566     case x$lt_status in
11567       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11568       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11569       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11570     esac
11571   else :
11572     # compilation failed
11573     lt_cv_dlopen_self=no
11574   fi
11575 fi
11576 rm -fr conftest*
11577
11578
11579 fi
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11581 $as_echo "$lt_cv_dlopen_self" >&6; }
11582
11583     if test "x$lt_cv_dlopen_self" = xyes; then
11584       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11585       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11586 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11587 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11588   $as_echo_n "(cached) " >&6
11589 else
11590           if test "$cross_compiling" = yes; then :
11591   lt_cv_dlopen_self_static=cross
11592 else
11593   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11594   lt_status=$lt_dlunknown
11595   cat > conftest.$ac_ext <<_LT_EOF
11596 #line 11596 "configure"
11597 #include "confdefs.h"
11598
11599 #if HAVE_DLFCN_H
11600 #include <dlfcn.h>
11601 #endif
11602
11603 #include <stdio.h>
11604
11605 #ifdef RTLD_GLOBAL
11606 #  define LT_DLGLOBAL           RTLD_GLOBAL
11607 #else
11608 #  ifdef DL_GLOBAL
11609 #    define LT_DLGLOBAL         DL_GLOBAL
11610 #  else
11611 #    define LT_DLGLOBAL         0
11612 #  endif
11613 #endif
11614
11615 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11616    find out it does not work in some platform. */
11617 #ifndef LT_DLLAZY_OR_NOW
11618 #  ifdef RTLD_LAZY
11619 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11620 #  else
11621 #    ifdef DL_LAZY
11622 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11623 #    else
11624 #      ifdef RTLD_NOW
11625 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11626 #      else
11627 #        ifdef DL_NOW
11628 #          define LT_DLLAZY_OR_NOW      DL_NOW
11629 #        else
11630 #          define LT_DLLAZY_OR_NOW      0
11631 #        endif
11632 #      endif
11633 #    endif
11634 #  endif
11635 #endif
11636
11637 /* When -fvisbility=hidden is used, assume the code has been annotated
11638    correspondingly for the symbols needed.  */
11639 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11640 void fnord () __attribute__((visibility("default")));
11641 #endif
11642
11643 void fnord () { int i=42; }
11644 int main ()
11645 {
11646   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11647   int status = $lt_dlunknown;
11648
11649   if (self)
11650     {
11651       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11652       else
11653         {
11654           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11655           else puts (dlerror ());
11656         }
11657       /* dlclose (self); */
11658     }
11659   else
11660     puts (dlerror ());
11661
11662   return status;
11663 }
11664 _LT_EOF
11665   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11666   (eval $ac_link) 2>&5
11667   ac_status=$?
11668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11669   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11670     (./conftest; exit; ) >&5 2>/dev/null
11671     lt_status=$?
11672     case x$lt_status in
11673       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11674       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11675       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11676     esac
11677   else :
11678     # compilation failed
11679     lt_cv_dlopen_self_static=no
11680   fi
11681 fi
11682 rm -fr conftest*
11683
11684
11685 fi
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11687 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11688     fi
11689
11690     CPPFLAGS="$save_CPPFLAGS"
11691     LDFLAGS="$save_LDFLAGS"
11692     LIBS="$save_LIBS"
11693     ;;
11694   esac
11695
11696   case $lt_cv_dlopen_self in
11697   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11698   *) enable_dlopen_self=unknown ;;
11699   esac
11700
11701   case $lt_cv_dlopen_self_static in
11702   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11703   *) enable_dlopen_self_static=unknown ;;
11704   esac
11705 fi
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723 striplib=
11724 old_striplib=
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11726 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11727 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11728   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11729   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11731 $as_echo "yes" >&6; }
11732 else
11733 # FIXME - insert some real tests, host_os isn't really good enough
11734   case $host_os in
11735   darwin*)
11736     if test -n "$STRIP" ; then
11737       striplib="$STRIP -x"
11738       old_striplib="$STRIP -S"
11739       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11740 $as_echo "yes" >&6; }
11741     else
11742       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11743 $as_echo "no" >&6; }
11744     fi
11745     ;;
11746   *)
11747     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11748 $as_echo "no" >&6; }
11749     ;;
11750   esac
11751 fi
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764   # Report which library types will actually be built
11765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11766 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11768 $as_echo "$can_build_shared" >&6; }
11769
11770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11771 $as_echo_n "checking whether to build shared libraries... " >&6; }
11772   test "$can_build_shared" = "no" && enable_shared=no
11773
11774   # On AIX, shared libraries and static libraries use the same namespace, and
11775   # are all built from PIC.
11776   case $host_os in
11777   aix3*)
11778     test "$enable_shared" = yes && enable_static=no
11779     if test -n "$RANLIB"; then
11780       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11781       postinstall_cmds='$RANLIB $lib'
11782     fi
11783     ;;
11784
11785   aix[4-9]*)
11786     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11787       test "$enable_shared" = yes && enable_static=no
11788     fi
11789     ;;
11790   esac
11791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11792 $as_echo "$enable_shared" >&6; }
11793
11794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11795 $as_echo_n "checking whether to build static libraries... " >&6; }
11796   # Make sure either enable_shared or enable_static is yes.
11797   test "$enable_shared" = yes || enable_static=yes
11798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11799 $as_echo "$enable_static" >&6; }
11800
11801
11802
11803
11804 fi
11805 ac_ext=c
11806 ac_cpp='$CPP $CPPFLAGS'
11807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11810
11811 CC="$lt_save_CC"
11812
11813       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11814     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11815     (test "X$CXX" != "Xg++"))) ; then
11816   ac_ext=cpp
11817 ac_cpp='$CXXCPP $CPPFLAGS'
11818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11822 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11823 if test -z "$CXXCPP"; then
11824   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11825   $as_echo_n "(cached) " >&6
11826 else
11827       # Double quotes because CXXCPP needs to be expanded
11828     for CXXCPP in "$CXX -E" "/lib/cpp"
11829     do
11830       ac_preproc_ok=false
11831 for ac_cxx_preproc_warn_flag in '' yes
11832 do
11833   # Use a header file that comes with gcc, so configuring glibc
11834   # with a fresh cross-compiler works.
11835   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11836   # <limits.h> exists even on freestanding compilers.
11837   # On the NeXT, cc -E runs the code through the compiler's parser,
11838   # not just through cpp. "Syntax error" is here to catch this case.
11839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11840 /* end confdefs.h.  */
11841 #ifdef __STDC__
11842 # include <limits.h>
11843 #else
11844 # include <assert.h>
11845 #endif
11846                      Syntax error
11847 _ACEOF
11848 if ac_fn_cxx_try_cpp "$LINENO"; then :
11849
11850 else
11851   # Broken: fails on valid input.
11852 continue
11853 fi
11854 rm -f conftest.err conftest.$ac_ext
11855
11856   # OK, works on sane cases.  Now check whether nonexistent headers
11857   # can be detected and how.
11858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11859 /* end confdefs.h.  */
11860 #include <ac_nonexistent.h>
11861 _ACEOF
11862 if ac_fn_cxx_try_cpp "$LINENO"; then :
11863   # Broken: success on invalid input.
11864 continue
11865 else
11866   # Passes both tests.
11867 ac_preproc_ok=:
11868 break
11869 fi
11870 rm -f conftest.err conftest.$ac_ext
11871
11872 done
11873 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11874 rm -f conftest.err conftest.$ac_ext
11875 if $ac_preproc_ok; then :
11876   break
11877 fi
11878
11879     done
11880     ac_cv_prog_CXXCPP=$CXXCPP
11881
11882 fi
11883   CXXCPP=$ac_cv_prog_CXXCPP
11884 else
11885   ac_cv_prog_CXXCPP=$CXXCPP
11886 fi
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11888 $as_echo "$CXXCPP" >&6; }
11889 ac_preproc_ok=false
11890 for ac_cxx_preproc_warn_flag in '' yes
11891 do
11892   # Use a header file that comes with gcc, so configuring glibc
11893   # with a fresh cross-compiler works.
11894   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11895   # <limits.h> exists even on freestanding compilers.
11896   # On the NeXT, cc -E runs the code through the compiler's parser,
11897   # not just through cpp. "Syntax error" is here to catch this case.
11898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11899 /* end confdefs.h.  */
11900 #ifdef __STDC__
11901 # include <limits.h>
11902 #else
11903 # include <assert.h>
11904 #endif
11905                      Syntax error
11906 _ACEOF
11907 if ac_fn_cxx_try_cpp "$LINENO"; then :
11908
11909 else
11910   # Broken: fails on valid input.
11911 continue
11912 fi
11913 rm -f conftest.err conftest.$ac_ext
11914
11915   # OK, works on sane cases.  Now check whether nonexistent headers
11916   # can be detected and how.
11917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11918 /* end confdefs.h.  */
11919 #include <ac_nonexistent.h>
11920 _ACEOF
11921 if ac_fn_cxx_try_cpp "$LINENO"; then :
11922   # Broken: success on invalid input.
11923 continue
11924 else
11925   # Passes both tests.
11926 ac_preproc_ok=:
11927 break
11928 fi
11929 rm -f conftest.err conftest.$ac_ext
11930
11931 done
11932 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11933 rm -f conftest.err conftest.$ac_ext
11934 if $ac_preproc_ok; then :
11935
11936 else
11937   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11939 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11940 See \`config.log' for more details." "$LINENO" 5; }
11941 fi
11942
11943 ac_ext=c
11944 ac_cpp='$CPP $CPPFLAGS'
11945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11948
11949 else
11950   _lt_caught_CXX_error=yes
11951 fi
11952
11953 ac_ext=cpp
11954 ac_cpp='$CXXCPP $CPPFLAGS'
11955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11958
11959 archive_cmds_need_lc_CXX=no
11960 allow_undefined_flag_CXX=
11961 always_export_symbols_CXX=no
11962 archive_expsym_cmds_CXX=
11963 compiler_needs_object_CXX=no
11964 export_dynamic_flag_spec_CXX=
11965 hardcode_direct_CXX=no
11966 hardcode_direct_absolute_CXX=no
11967 hardcode_libdir_flag_spec_CXX=
11968 hardcode_libdir_flag_spec_ld_CXX=
11969 hardcode_libdir_separator_CXX=
11970 hardcode_minus_L_CXX=no
11971 hardcode_shlibpath_var_CXX=unsupported
11972 hardcode_automatic_CXX=no
11973 inherit_rpath_CXX=no
11974 module_cmds_CXX=
11975 module_expsym_cmds_CXX=
11976 link_all_deplibs_CXX=unknown
11977 old_archive_cmds_CXX=$old_archive_cmds
11978 reload_flag_CXX=$reload_flag
11979 reload_cmds_CXX=$reload_cmds
11980 no_undefined_flag_CXX=
11981 whole_archive_flag_spec_CXX=
11982 enable_shared_with_static_runtimes_CXX=no
11983
11984 # Source file extension for C++ test sources.
11985 ac_ext=cpp
11986
11987 # Object file extension for compiled C++ test sources.
11988 objext=o
11989 objext_CXX=$objext
11990
11991 # No sense in running all these tests if we already determined that
11992 # the CXX compiler isn't working.  Some variables (like enable_shared)
11993 # are currently assumed to apply to all compilers on this platform,
11994 # and will be corrupted by setting them based on a non-working compiler.
11995 if test "$_lt_caught_CXX_error" != yes; then
11996   # Code to be used in simple compile tests
11997   lt_simple_compile_test_code="int some_variable = 0;"
11998
11999   # Code to be used in simple link tests
12000   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12001
12002   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12003
12004
12005
12006
12007
12008
12009 # If no C compiler was specified, use CC.
12010 LTCC=${LTCC-"$CC"}
12011
12012 # If no C compiler flags were specified, use CFLAGS.
12013 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12014
12015 # Allow CC to be a program name with arguments.
12016 compiler=$CC
12017
12018
12019   # save warnings/boilerplate of simple test code
12020   ac_outfile=conftest.$ac_objext
12021 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12022 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12023 _lt_compiler_boilerplate=`cat conftest.err`
12024 $RM conftest*
12025
12026   ac_outfile=conftest.$ac_objext
12027 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12028 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12029 _lt_linker_boilerplate=`cat conftest.err`
12030 $RM -r conftest*
12031
12032
12033   # Allow CC to be a program name with arguments.
12034   lt_save_CC=$CC
12035   lt_save_LD=$LD
12036   lt_save_GCC=$GCC
12037   GCC=$GXX
12038   lt_save_with_gnu_ld=$with_gnu_ld
12039   lt_save_path_LD=$lt_cv_path_LD
12040   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12041     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12042   else
12043     $as_unset lt_cv_prog_gnu_ld
12044   fi
12045   if test -n "${lt_cv_path_LDCXX+set}"; then
12046     lt_cv_path_LD=$lt_cv_path_LDCXX
12047   else
12048     $as_unset lt_cv_path_LD
12049   fi
12050   test -z "${LDCXX+set}" || LD=$LDCXX
12051   CC=${CXX-"c++"}
12052   compiler=$CC
12053   compiler_CXX=$CC
12054   for cc_temp in $compiler""; do
12055   case $cc_temp in
12056     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12057     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12058     \-*) ;;
12059     *) break;;
12060   esac
12061 done
12062 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12063
12064
12065   if test -n "$compiler"; then
12066     # We don't want -fno-exception when compiling C++ code, so set the
12067     # no_builtin_flag separately
12068     if test "$GXX" = yes; then
12069       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12070     else
12071       lt_prog_compiler_no_builtin_flag_CXX=
12072     fi
12073
12074     if test "$GXX" = yes; then
12075       # Set up default GNU C++ configuration
12076
12077
12078
12079 # Check whether --with-gnu-ld was given.
12080 if test "${with_gnu_ld+set}" = set; then :
12081   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12082 else
12083   with_gnu_ld=no
12084 fi
12085
12086 ac_prog=ld
12087 if test "$GCC" = yes; then
12088   # Check if gcc -print-prog-name=ld gives a path.
12089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12090 $as_echo_n "checking for ld used by $CC... " >&6; }
12091   case $host in
12092   *-*-mingw*)
12093     # gcc leaves a trailing carriage return which upsets mingw
12094     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12095   *)
12096     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12097   esac
12098   case $ac_prog in
12099     # Accept absolute paths.
12100     [\\/]* | ?:[\\/]*)
12101       re_direlt='/[^/][^/]*/\.\./'
12102       # Canonicalize the pathname of ld
12103       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12104       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12105         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12106       done
12107       test -z "$LD" && LD="$ac_prog"
12108       ;;
12109   "")
12110     # If it fails, then pretend we aren't using GCC.
12111     ac_prog=ld
12112     ;;
12113   *)
12114     # If it is relative, then search for the first ld in PATH.
12115     with_gnu_ld=unknown
12116     ;;
12117   esac
12118 elif test "$with_gnu_ld" = yes; then
12119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12120 $as_echo_n "checking for GNU ld... " >&6; }
12121 else
12122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12123 $as_echo_n "checking for non-GNU ld... " >&6; }
12124 fi
12125 if test "${lt_cv_path_LD+set}" = set; then :
12126   $as_echo_n "(cached) " >&6
12127 else
12128   if test -z "$LD"; then
12129   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12130   for ac_dir in $PATH; do
12131     IFS="$lt_save_ifs"
12132     test -z "$ac_dir" && ac_dir=.
12133     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12134       lt_cv_path_LD="$ac_dir/$ac_prog"
12135       # Check to see if the program is GNU ld.  I'd rather use --version,
12136       # but apparently some variants of GNU ld only accept -v.
12137       # Break only if it was the GNU/non-GNU ld that we prefer.
12138       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12139       *GNU* | *'with BFD'*)
12140         test "$with_gnu_ld" != no && break
12141         ;;
12142       *)
12143         test "$with_gnu_ld" != yes && break
12144         ;;
12145       esac
12146     fi
12147   done
12148   IFS="$lt_save_ifs"
12149 else
12150   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12151 fi
12152 fi
12153
12154 LD="$lt_cv_path_LD"
12155 if test -n "$LD"; then
12156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12157 $as_echo "$LD" >&6; }
12158 else
12159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12160 $as_echo "no" >&6; }
12161 fi
12162 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12164 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12165 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12166   $as_echo_n "(cached) " >&6
12167 else
12168   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12169 case `$LD -v 2>&1 </dev/null` in
12170 *GNU* | *'with BFD'*)
12171   lt_cv_prog_gnu_ld=yes
12172   ;;
12173 *)
12174   lt_cv_prog_gnu_ld=no
12175   ;;
12176 esac
12177 fi
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12179 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12180 with_gnu_ld=$lt_cv_prog_gnu_ld
12181
12182
12183
12184
12185
12186
12187
12188       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12189       # archiving commands below assume that GNU ld is being used.
12190       if test "$with_gnu_ld" = yes; then
12191         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12192         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'
12193
12194         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12195         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12196
12197         # If archive_cmds runs LD, not CC, wlarc should be empty
12198         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12199         #     investigate it a little bit more. (MM)
12200         wlarc='${wl}'
12201
12202         # ancient GNU ld didn't support --whole-archive et. al.
12203         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12204           $GREP 'no-whole-archive' > /dev/null; then
12205           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12206         else
12207           whole_archive_flag_spec_CXX=
12208         fi
12209       else
12210         with_gnu_ld=no
12211         wlarc=
12212
12213         # A generic and very simple default shared library creation
12214         # command for GNU C++ for the case where it uses the native
12215         # linker, instead of GNU ld.  If possible, this setting should
12216         # overridden to take advantage of the native linker features on
12217         # the platform it is being used on.
12218         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12219       fi
12220
12221       # Commands to make compiler produce verbose output that lists
12222       # what "hidden" libraries, object files and flags are used when
12223       # linking a shared library.
12224       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12225
12226     else
12227       GXX=no
12228       with_gnu_ld=no
12229       wlarc=
12230     fi
12231
12232     # PORTME: fill in a description of your system's C++ link characteristics
12233     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12234 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12235     ld_shlibs_CXX=yes
12236     case $host_os in
12237       aix3*)
12238         # FIXME: insert proper C++ library support
12239         ld_shlibs_CXX=no
12240         ;;
12241       aix[4-9]*)
12242         if test "$host_cpu" = ia64; then
12243           # On IA64, the linker does run time linking by default, so we don't
12244           # have to do anything special.
12245           aix_use_runtimelinking=no
12246           exp_sym_flag='-Bexport'
12247           no_entry_flag=""
12248         else
12249           aix_use_runtimelinking=no
12250
12251           # Test if we are trying to use run time linking or normal
12252           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12253           # need to do runtime linking.
12254           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12255             for ld_flag in $LDFLAGS; do
12256               case $ld_flag in
12257               *-brtl*)
12258                 aix_use_runtimelinking=yes
12259                 break
12260                 ;;
12261               esac
12262             done
12263             ;;
12264           esac
12265
12266           exp_sym_flag='-bexport'
12267           no_entry_flag='-bnoentry'
12268         fi
12269
12270         # When large executables or shared objects are built, AIX ld can
12271         # have problems creating the table of contents.  If linking a library
12272         # or program results in "error TOC overflow" add -mminimal-toc to
12273         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12274         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12275
12276         archive_cmds_CXX=''
12277         hardcode_direct_CXX=yes
12278         hardcode_direct_absolute_CXX=yes
12279         hardcode_libdir_separator_CXX=':'
12280         link_all_deplibs_CXX=yes
12281         file_list_spec_CXX='${wl}-f,'
12282
12283         if test "$GXX" = yes; then
12284           case $host_os in aix4.[012]|aix4.[012].*)
12285           # We only want to do this on AIX 4.2 and lower, the check
12286           # below for broken collect2 doesn't work under 4.3+
12287           collect2name=`${CC} -print-prog-name=collect2`
12288           if test -f "$collect2name" &&
12289              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12290           then
12291             # We have reworked collect2
12292             :
12293           else
12294             # We have old collect2
12295             hardcode_direct_CXX=unsupported
12296             # It fails to find uninstalled libraries when the uninstalled
12297             # path is not listed in the libpath.  Setting hardcode_minus_L
12298             # to unsupported forces relinking
12299             hardcode_minus_L_CXX=yes
12300             hardcode_libdir_flag_spec_CXX='-L$libdir'
12301             hardcode_libdir_separator_CXX=
12302           fi
12303           esac
12304           shared_flag='-shared'
12305           if test "$aix_use_runtimelinking" = yes; then
12306             shared_flag="$shared_flag "'${wl}-G'
12307           fi
12308         else
12309           # not using gcc
12310           if test "$host_cpu" = ia64; then
12311           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12312           # chokes on -Wl,-G. The following line is correct:
12313           shared_flag='-G'
12314           else
12315             if test "$aix_use_runtimelinking" = yes; then
12316               shared_flag='${wl}-G'
12317             else
12318               shared_flag='${wl}-bM:SRE'
12319             fi
12320           fi
12321         fi
12322
12323         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12324         # It seems that -bexpall does not export symbols beginning with
12325         # underscore (_), so it is better to generate a list of symbols to
12326         # export.
12327         always_export_symbols_CXX=yes
12328         if test "$aix_use_runtimelinking" = yes; then
12329           # Warning - without using the other runtime loading flags (-brtl),
12330           # -berok will link without error, but may produce a broken library.
12331           allow_undefined_flag_CXX='-berok'
12332           # Determine the default libpath from the value encoded in an empty
12333           # executable.
12334           if test x$gcc_no_link = xyes; then
12335   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12336 fi
12337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12338 /* end confdefs.h.  */
12339
12340 int
12341 main ()
12342 {
12343
12344   ;
12345   return 0;
12346 }
12347 _ACEOF
12348 if ac_fn_cxx_try_link "$LINENO"; then :
12349
12350 lt_aix_libpath_sed='
12351     /Import File Strings/,/^$/ {
12352         /^0/ {
12353             s/^0  *\(.*\)$/\1/
12354             p
12355         }
12356     }'
12357 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12358 # Check for a 64-bit object if we didn't find anything.
12359 if test -z "$aix_libpath"; then
12360   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12361 fi
12362 fi
12363 rm -f core conftest.err conftest.$ac_objext \
12364     conftest$ac_exeext conftest.$ac_ext
12365 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12366
12367           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12368
12369           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"
12370         else
12371           if test "$host_cpu" = ia64; then
12372             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12373             allow_undefined_flag_CXX="-z nodefs"
12374             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"
12375           else
12376             # Determine the default libpath from the value encoded in an
12377             # empty executable.
12378             if test x$gcc_no_link = xyes; then
12379   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12380 fi
12381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12382 /* end confdefs.h.  */
12383
12384 int
12385 main ()
12386 {
12387
12388   ;
12389   return 0;
12390 }
12391 _ACEOF
12392 if ac_fn_cxx_try_link "$LINENO"; then :
12393
12394 lt_aix_libpath_sed='
12395     /Import File Strings/,/^$/ {
12396         /^0/ {
12397             s/^0  *\(.*\)$/\1/
12398             p
12399         }
12400     }'
12401 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12402 # Check for a 64-bit object if we didn't find anything.
12403 if test -z "$aix_libpath"; then
12404   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12405 fi
12406 fi
12407 rm -f core conftest.err conftest.$ac_objext \
12408     conftest$ac_exeext conftest.$ac_ext
12409 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12410
12411             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12412             # Warning - without using the other run time loading flags,
12413             # -berok will link without error, but may produce a broken library.
12414             no_undefined_flag_CXX=' ${wl}-bernotok'
12415             allow_undefined_flag_CXX=' ${wl}-berok'
12416             if test "$with_gnu_ld" = yes; then
12417               # We only use this code for GNU lds that support --whole-archive.
12418               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12419             else
12420               # Exported symbols can be pulled into shared objects from archives
12421               whole_archive_flag_spec_CXX='$convenience'
12422             fi
12423             archive_cmds_need_lc_CXX=yes
12424             # This is similar to how AIX traditionally builds its shared
12425             # libraries.
12426             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'
12427           fi
12428         fi
12429         ;;
12430
12431       beos*)
12432         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12433           allow_undefined_flag_CXX=unsupported
12434           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12435           # support --undefined.  This deserves some investigation.  FIXME
12436           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12437         else
12438           ld_shlibs_CXX=no
12439         fi
12440         ;;
12441
12442       chorus*)
12443         case $cc_basename in
12444           *)
12445           # FIXME: insert proper C++ library support
12446           ld_shlibs_CXX=no
12447           ;;
12448         esac
12449         ;;
12450
12451       cygwin* | mingw* | pw32* | cegcc*)
12452         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12453         # as there is no search path for DLLs.
12454         hardcode_libdir_flag_spec_CXX='-L$libdir'
12455         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12456         allow_undefined_flag_CXX=unsupported
12457         always_export_symbols_CXX=no
12458         enable_shared_with_static_runtimes_CXX=yes
12459
12460         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12461           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'
12462           # If the export-symbols file already is a .def file (1st line
12463           # is EXPORTS), use it as is; otherwise, prepend...
12464           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12465             cp $export_symbols $output_objdir/$soname.def;
12466           else
12467             echo EXPORTS > $output_objdir/$soname.def;
12468             cat $export_symbols >> $output_objdir/$soname.def;
12469           fi~
12470           $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'
12471         else
12472           ld_shlibs_CXX=no
12473         fi
12474         ;;
12475       darwin* | rhapsody*)
12476
12477
12478   archive_cmds_need_lc_CXX=no
12479   hardcode_direct_CXX=no
12480   hardcode_automatic_CXX=yes
12481   hardcode_shlibpath_var_CXX=unsupported
12482   if test "$lt_cv_ld_force_load" = "yes"; then
12483     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\"`'
12484   else
12485     whole_archive_flag_spec_CXX=''
12486   fi
12487   link_all_deplibs_CXX=yes
12488   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12489   case $cc_basename in
12490      ifort*) _lt_dar_can_shared=yes ;;
12491      *) _lt_dar_can_shared=$GCC ;;
12492   esac
12493   if test "$_lt_dar_can_shared" = "yes"; then
12494     output_verbose_link_cmd=func_echo_all
12495     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}"
12496     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12497     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}"
12498     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}"
12499        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12500       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}"
12501       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}"
12502     fi
12503
12504   else
12505   ld_shlibs_CXX=no
12506   fi
12507
12508         ;;
12509
12510       dgux*)
12511         case $cc_basename in
12512           ec++*)
12513             # FIXME: insert proper C++ library support
12514             ld_shlibs_CXX=no
12515             ;;
12516           ghcx*)
12517             # Green Hills C++ Compiler
12518             # FIXME: insert proper C++ library support
12519             ld_shlibs_CXX=no
12520             ;;
12521           *)
12522             # FIXME: insert proper C++ library support
12523             ld_shlibs_CXX=no
12524             ;;
12525         esac
12526         ;;
12527
12528       freebsd[12]*)
12529         # C++ shared libraries reported to be fairly broken before
12530         # switch to ELF
12531         ld_shlibs_CXX=no
12532         ;;
12533
12534       freebsd-elf*)
12535         archive_cmds_need_lc_CXX=no
12536         ;;
12537
12538       freebsd* | dragonfly*)
12539         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12540         # conventions
12541         ld_shlibs_CXX=yes
12542         ;;
12543
12544       gnu*)
12545         ;;
12546
12547       haiku*)
12548         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12549         link_all_deplibs_CXX=yes
12550         ;;
12551
12552       hpux9*)
12553         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12554         hardcode_libdir_separator_CXX=:
12555         export_dynamic_flag_spec_CXX='${wl}-E'
12556         hardcode_direct_CXX=yes
12557         hardcode_minus_L_CXX=yes # Not in the search PATH,
12558                                              # but as the default
12559                                              # location of the library.
12560
12561         case $cc_basename in
12562           CC*)
12563             # FIXME: insert proper C++ library support
12564             ld_shlibs_CXX=no
12565             ;;
12566           aCC*)
12567             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'
12568             # Commands to make compiler produce verbose output that lists
12569             # what "hidden" libraries, object files and flags are used when
12570             # linking a shared library.
12571             #
12572             # There doesn't appear to be a way to prevent this compiler from
12573             # explicitly linking system object files so we need to strip them
12574             # from the output so that they don't get included in the library
12575             # dependencies.
12576             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"'
12577             ;;
12578           *)
12579             if test "$GXX" = yes; then
12580               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'
12581             else
12582               # FIXME: insert proper C++ library support
12583               ld_shlibs_CXX=no
12584             fi
12585             ;;
12586         esac
12587         ;;
12588
12589       hpux10*|hpux11*)
12590         if test $with_gnu_ld = no; then
12591           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12592           hardcode_libdir_separator_CXX=:
12593
12594           case $host_cpu in
12595             hppa*64*|ia64*)
12596               ;;
12597             *)
12598               export_dynamic_flag_spec_CXX='${wl}-E'
12599               ;;
12600           esac
12601         fi
12602         case $host_cpu in
12603           hppa*64*|ia64*)
12604             hardcode_direct_CXX=no
12605             hardcode_shlibpath_var_CXX=no
12606             ;;
12607           *)
12608             hardcode_direct_CXX=yes
12609             hardcode_direct_absolute_CXX=yes
12610             hardcode_minus_L_CXX=yes # Not in the search PATH,
12611                                                  # but as the default
12612                                                  # location of the library.
12613             ;;
12614         esac
12615
12616         case $cc_basename in
12617           CC*)
12618             # FIXME: insert proper C++ library support
12619             ld_shlibs_CXX=no
12620             ;;
12621           aCC*)
12622             case $host_cpu in
12623               hppa*64*)
12624                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12625                 ;;
12626               ia64*)
12627                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12628                 ;;
12629               *)
12630                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12631                 ;;
12632             esac
12633             # Commands to make compiler produce verbose output that lists
12634             # what "hidden" libraries, object files and flags are used when
12635             # linking a shared library.
12636             #
12637             # There doesn't appear to be a way to prevent this compiler from
12638             # explicitly linking system object files so we need to strip them
12639             # from the output so that they don't get included in the library
12640             # dependencies.
12641             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"'
12642             ;;
12643           *)
12644             if test "$GXX" = yes; then
12645               if test $with_gnu_ld = no; then
12646                 case $host_cpu in
12647                   hppa*64*)
12648                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12649                     ;;
12650                   ia64*)
12651                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12652                     ;;
12653                   *)
12654                     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'
12655                     ;;
12656                 esac
12657               fi
12658             else
12659               # FIXME: insert proper C++ library support
12660               ld_shlibs_CXX=no
12661             fi
12662             ;;
12663         esac
12664         ;;
12665
12666       interix[3-9]*)
12667         hardcode_direct_CXX=no
12668         hardcode_shlibpath_var_CXX=no
12669         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12670         export_dynamic_flag_spec_CXX='${wl}-E'
12671         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12672         # Instead, shared libraries are loaded at an image base (0x10000000 by
12673         # default) and relocated if they conflict, which is a slow very memory
12674         # consuming and fragmenting process.  To avoid this, we pick a random,
12675         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12676         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12677         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'
12678         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'
12679         ;;
12680       irix5* | irix6*)
12681         case $cc_basename in
12682           CC*)
12683             # SGI C++
12684             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'
12685
12686             # Archives containing C++ object files must be created using
12687             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12688             # necessary to make sure instantiated templates are included
12689             # in the archive.
12690             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12691             ;;
12692           *)
12693             if test "$GXX" = yes; then
12694               if test "$with_gnu_ld" = no; then
12695                 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'
12696               else
12697                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12698               fi
12699             fi
12700             link_all_deplibs_CXX=yes
12701             ;;
12702         esac
12703         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12704         hardcode_libdir_separator_CXX=:
12705         inherit_rpath_CXX=yes
12706         ;;
12707
12708       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12709         case $cc_basename in
12710           KCC*)
12711             # Kuck and Associates, Inc. (KAI) C++ Compiler
12712
12713             # KCC will only create a shared library if the output file
12714             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12715             # to its proper name (with version) after linking.
12716             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'
12717             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'
12718             # Commands to make compiler produce verbose output that lists
12719             # what "hidden" libraries, object files and flags are used when
12720             # linking a shared library.
12721             #
12722             # There doesn't appear to be a way to prevent this compiler from
12723             # explicitly linking system object files so we need to strip them
12724             # from the output so that they don't get included in the library
12725             # dependencies.
12726             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"'
12727
12728             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12729             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12730
12731             # Archives containing C++ object files must be created using
12732             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12733             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12734             ;;
12735           icpc* | ecpc* )
12736             # Intel C++
12737             with_gnu_ld=yes
12738             # version 8.0 and above of icpc choke on multiply defined symbols
12739             # if we add $predep_objects and $postdep_objects, however 7.1 and
12740             # earlier do not add the objects themselves.
12741             case `$CC -V 2>&1` in
12742               *"Version 7."*)
12743                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12744                 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'
12745                 ;;
12746               *)  # Version 8.0 or newer
12747                 tmp_idyn=
12748                 case $host_cpu in
12749                   ia64*) tmp_idyn=' -i_dynamic';;
12750                 esac
12751                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12752                 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'
12753                 ;;
12754             esac
12755             archive_cmds_need_lc_CXX=no
12756             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12757             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12758             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12759             ;;
12760           pgCC* | pgcpp*)
12761             # Portland Group C++ compiler
12762             case `$CC -V` in
12763             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12764               prelink_cmds_CXX='tpldir=Template.dir~
12765                 rm -rf $tpldir~
12766                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12767                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12768               old_archive_cmds_CXX='tpldir=Template.dir~
12769                 rm -rf $tpldir~
12770                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12771                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12772                 $RANLIB $oldlib'
12773               archive_cmds_CXX='tpldir=Template.dir~
12774                 rm -rf $tpldir~
12775                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12776                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12777               archive_expsym_cmds_CXX='tpldir=Template.dir~
12778                 rm -rf $tpldir~
12779                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12780                 $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'
12781               ;;
12782             *) # Version 6 and above use weak symbols
12783               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12784               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'
12785               ;;
12786             esac
12787
12788             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12789             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12790             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'
12791             ;;
12792           cxx*)
12793             # Compaq C++
12794             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12795             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'
12796
12797             runpath_var=LD_RUN_PATH
12798             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12799             hardcode_libdir_separator_CXX=:
12800
12801             # Commands to make compiler produce verbose output that lists
12802             # what "hidden" libraries, object files and flags are used when
12803             # linking a shared library.
12804             #
12805             # There doesn't appear to be a way to prevent this compiler from
12806             # explicitly linking system object files so we need to strip them
12807             # from the output so that they don't get included in the library
12808             # dependencies.
12809             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'
12810             ;;
12811           xl* | mpixl* | bgxl*)
12812             # IBM XL 8.0 on PPC, with GNU ld
12813             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12814             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12815             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12816             if test "x$supports_anon_versioning" = xyes; then
12817               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12818                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12819                 echo "local: *; };" >> $output_objdir/$libname.ver~
12820                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12821             fi
12822             ;;
12823           *)
12824             case `$CC -V 2>&1 | sed 5q` in
12825             *Sun\ C*)
12826               # Sun C++ 5.9
12827               no_undefined_flag_CXX=' -zdefs'
12828               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12829               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'
12830               hardcode_libdir_flag_spec_CXX='-R$libdir'
12831               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'
12832               compiler_needs_object_CXX=yes
12833
12834               # Not sure whether something based on
12835               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12836               # would be better.
12837               output_verbose_link_cmd='func_echo_all'
12838
12839               # Archives containing C++ object files must be created using
12840               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12841               # necessary to make sure instantiated templates are included
12842               # in the archive.
12843               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12844               ;;
12845             esac
12846             ;;
12847         esac
12848         ;;
12849
12850       lynxos*)
12851         # FIXME: insert proper C++ library support
12852         ld_shlibs_CXX=no
12853         ;;
12854
12855       m88k*)
12856         # FIXME: insert proper C++ library support
12857         ld_shlibs_CXX=no
12858         ;;
12859
12860       mvs*)
12861         case $cc_basename in
12862           cxx*)
12863             # FIXME: insert proper C++ library support
12864             ld_shlibs_CXX=no
12865             ;;
12866           *)
12867             # FIXME: insert proper C++ library support
12868             ld_shlibs_CXX=no
12869             ;;
12870         esac
12871         ;;
12872
12873       netbsd*)
12874         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12875           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12876           wlarc=
12877           hardcode_libdir_flag_spec_CXX='-R$libdir'
12878           hardcode_direct_CXX=yes
12879           hardcode_shlibpath_var_CXX=no
12880         fi
12881         # Workaround some broken pre-1.5 toolchains
12882         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12883         ;;
12884
12885       *nto* | *qnx*)
12886         ld_shlibs_CXX=yes
12887         ;;
12888
12889       openbsd2*)
12890         # C++ shared libraries are fairly broken
12891         ld_shlibs_CXX=no
12892         ;;
12893
12894       openbsd*)
12895         if test -f /usr/libexec/ld.so; then
12896           hardcode_direct_CXX=yes
12897           hardcode_shlibpath_var_CXX=no
12898           hardcode_direct_absolute_CXX=yes
12899           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12900           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12901           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12902             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12903             export_dynamic_flag_spec_CXX='${wl}-E'
12904             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12905           fi
12906           output_verbose_link_cmd=func_echo_all
12907         else
12908           ld_shlibs_CXX=no
12909         fi
12910         ;;
12911
12912       osf3* | osf4* | osf5*)
12913         case $cc_basename in
12914           KCC*)
12915             # Kuck and Associates, Inc. (KAI) C++ Compiler
12916
12917             # KCC will only create a shared library if the output file
12918             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12919             # to its proper name (with version) after linking.
12920             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'
12921
12922             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12923             hardcode_libdir_separator_CXX=:
12924
12925             # Archives containing C++ object files must be created using
12926             # the KAI C++ compiler.
12927             case $host in
12928               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12929               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12930             esac
12931             ;;
12932           RCC*)
12933             # Rational C++ 2.4.1
12934             # FIXME: insert proper C++ library support
12935             ld_shlibs_CXX=no
12936             ;;
12937           cxx*)
12938             case $host in
12939               osf3*)
12940                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12941                 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'
12942                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12943                 ;;
12944               *)
12945                 allow_undefined_flag_CXX=' -expect_unresolved \*'
12946                 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'
12947                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12948                   echo "-hidden">> $lib.exp~
12949                   $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~
12950                   $RM $lib.exp'
12951                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12952                 ;;
12953             esac
12954
12955             hardcode_libdir_separator_CXX=:
12956
12957             # Commands to make compiler produce verbose output that lists
12958             # what "hidden" libraries, object files and flags are used when
12959             # linking a shared library.
12960             #
12961             # There doesn't appear to be a way to prevent this compiler from
12962             # explicitly linking system object files so we need to strip them
12963             # from the output so that they don't get included in the library
12964             # dependencies.
12965             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"'
12966             ;;
12967           *)
12968             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12969               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12970               case $host in
12971                 osf3*)
12972                   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'
12973                   ;;
12974                 *)
12975                   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'
12976                   ;;
12977               esac
12978
12979               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12980               hardcode_libdir_separator_CXX=:
12981
12982               # Commands to make compiler produce verbose output that lists
12983               # what "hidden" libraries, object files and flags are used when
12984               # linking a shared library.
12985               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12986
12987             else
12988               # FIXME: insert proper C++ library support
12989               ld_shlibs_CXX=no
12990             fi
12991             ;;
12992         esac
12993         ;;
12994
12995       psos*)
12996         # FIXME: insert proper C++ library support
12997         ld_shlibs_CXX=no
12998         ;;
12999
13000       sunos4*)
13001         case $cc_basename in
13002           CC*)
13003             # Sun C++ 4.x
13004             # FIXME: insert proper C++ library support
13005             ld_shlibs_CXX=no
13006             ;;
13007           lcc*)
13008             # Lucid
13009             # FIXME: insert proper C++ library support
13010             ld_shlibs_CXX=no
13011             ;;
13012           *)
13013             # FIXME: insert proper C++ library support
13014             ld_shlibs_CXX=no
13015             ;;
13016         esac
13017         ;;
13018
13019       solaris*)
13020         case $cc_basename in
13021           CC*)
13022             # Sun C++ 4.2, 5.x and Centerline C++
13023             archive_cmds_need_lc_CXX=yes
13024             no_undefined_flag_CXX=' -zdefs'
13025             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13026             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13027               $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'
13028
13029             hardcode_libdir_flag_spec_CXX='-R$libdir'
13030             hardcode_shlibpath_var_CXX=no
13031             case $host_os in
13032               solaris2.[0-5] | solaris2.[0-5].*) ;;
13033               *)
13034                 # The compiler driver will combine and reorder linker options,
13035                 # but understands `-z linker_flag'.
13036                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13037                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13038                 ;;
13039             esac
13040             link_all_deplibs_CXX=yes
13041
13042             output_verbose_link_cmd='func_echo_all'
13043
13044             # Archives containing C++ object files must be created using
13045             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13046             # necessary to make sure instantiated templates are included
13047             # in the archive.
13048             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13049             ;;
13050           gcx*)
13051             # Green Hills C++ Compiler
13052             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13053
13054             # The C++ compiler must be used to create the archive.
13055             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13056             ;;
13057           *)
13058             # GNU C++ compiler with Solaris linker
13059             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13060               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13061               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13062                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13063                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13064                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13065
13066                 # Commands to make compiler produce verbose output that lists
13067                 # what "hidden" libraries, object files and flags are used when
13068                 # linking a shared library.
13069                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13070               else
13071                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13072                 # platform.
13073                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13074                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13075                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13076
13077                 # Commands to make compiler produce verbose output that lists
13078                 # what "hidden" libraries, object files and flags are used when
13079                 # linking a shared library.
13080                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13081               fi
13082
13083               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13084               case $host_os in
13085                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13086                 *)
13087                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13088                   ;;
13089               esac
13090             fi
13091             ;;
13092         esac
13093         ;;
13094
13095     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13096       no_undefined_flag_CXX='${wl}-z,text'
13097       archive_cmds_need_lc_CXX=no
13098       hardcode_shlibpath_var_CXX=no
13099       runpath_var='LD_RUN_PATH'
13100
13101       case $cc_basename in
13102         CC*)
13103           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13104           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13105           ;;
13106         *)
13107           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13108           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13109           ;;
13110       esac
13111       ;;
13112
13113       sysv5* | sco3.2v5* | sco5v6*)
13114         # Note: We can NOT use -z defs as we might desire, because we do not
13115         # link with -lc, and that would cause any symbols used from libc to
13116         # always be unresolved, which means just about no library would
13117         # ever link correctly.  If we're not using GNU ld we use -z text
13118         # though, which does catch some bad symbols but isn't as heavy-handed
13119         # as -z defs.
13120         no_undefined_flag_CXX='${wl}-z,text'
13121         allow_undefined_flag_CXX='${wl}-z,nodefs'
13122         archive_cmds_need_lc_CXX=no
13123         hardcode_shlibpath_var_CXX=no
13124         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13125         hardcode_libdir_separator_CXX=':'
13126         link_all_deplibs_CXX=yes
13127         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13128         runpath_var='LD_RUN_PATH'
13129
13130         case $cc_basename in
13131           CC*)
13132             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13133             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13134             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13135               '"$old_archive_cmds_CXX"
13136             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13137               '"$reload_cmds_CXX"
13138             ;;
13139           *)
13140             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13141             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13142             ;;
13143         esac
13144       ;;
13145
13146       tandem*)
13147         case $cc_basename in
13148           NCC*)
13149             # NonStop-UX NCC 3.20
13150             # FIXME: insert proper C++ library support
13151             ld_shlibs_CXX=no
13152             ;;
13153           *)
13154             # FIXME: insert proper C++ library support
13155             ld_shlibs_CXX=no
13156             ;;
13157         esac
13158         ;;
13159
13160       vxworks*)
13161         # FIXME: insert proper C++ library support
13162         ld_shlibs_CXX=no
13163         ;;
13164
13165       *)
13166         # FIXME: insert proper C++ library support
13167         ld_shlibs_CXX=no
13168         ;;
13169     esac
13170
13171     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13172 $as_echo "$ld_shlibs_CXX" >&6; }
13173     test "$ld_shlibs_CXX" = no && can_build_shared=no
13174
13175     GCC_CXX="$GXX"
13176     LD_CXX="$LD"
13177
13178     ## CAVEAT EMPTOR:
13179     ## There is no encapsulation within the following macros, do not change
13180     ## the running order or otherwise move them around unless you know exactly
13181     ## what you are doing...
13182     # Dependencies to place before and after the object being linked:
13183 predep_objects_CXX=
13184 postdep_objects_CXX=
13185 predeps_CXX=
13186 postdeps_CXX=
13187 compiler_lib_search_path_CXX=
13188
13189 cat > conftest.$ac_ext <<_LT_EOF
13190 class Foo
13191 {
13192 public:
13193   Foo (void) { a = 0; }
13194 private:
13195   int a;
13196 };
13197 _LT_EOF
13198
13199 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13200   (eval $ac_compile) 2>&5
13201   ac_status=$?
13202   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13203   test $ac_status = 0; }; then
13204   # Parse the compiler output and extract the necessary
13205   # objects, libraries and library flags.
13206
13207   # Sentinel used to keep track of whether or not we are before
13208   # the conftest object file.
13209   pre_test_object_deps_done=no
13210
13211   for p in `eval "$output_verbose_link_cmd"`; do
13212     case $p in
13213
13214     -L* | -R* | -l*)
13215        # Some compilers place space between "-{L,R}" and the path.
13216        # Remove the space.
13217        if test $p = "-L" ||
13218           test $p = "-R"; then
13219          prev=$p
13220          continue
13221        else
13222          prev=
13223        fi
13224
13225        if test "$pre_test_object_deps_done" = no; then
13226          case $p in
13227          -L* | -R*)
13228            # Internal compiler library paths should come after those
13229            # provided the user.  The postdeps already come after the
13230            # user supplied libs so there is no need to process them.
13231            if test -z "$compiler_lib_search_path_CXX"; then
13232              compiler_lib_search_path_CXX="${prev}${p}"
13233            else
13234              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13235            fi
13236            ;;
13237          # The "-l" case would never come before the object being
13238          # linked, so don't bother handling this case.
13239          esac
13240        else
13241          if test -z "$postdeps_CXX"; then
13242            postdeps_CXX="${prev}${p}"
13243          else
13244            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13245          fi
13246        fi
13247        ;;
13248
13249     *.$objext)
13250        # This assumes that the test object file only shows up
13251        # once in the compiler output.
13252        if test "$p" = "conftest.$objext"; then
13253          pre_test_object_deps_done=yes
13254          continue
13255        fi
13256
13257        if test "$pre_test_object_deps_done" = no; then
13258          if test -z "$predep_objects_CXX"; then
13259            predep_objects_CXX="$p"
13260          else
13261            predep_objects_CXX="$predep_objects_CXX $p"
13262          fi
13263        else
13264          if test -z "$postdep_objects_CXX"; then
13265            postdep_objects_CXX="$p"
13266          else
13267            postdep_objects_CXX="$postdep_objects_CXX $p"
13268          fi
13269        fi
13270        ;;
13271
13272     *) ;; # Ignore the rest.
13273
13274     esac
13275   done
13276
13277   # Clean up.
13278   rm -f a.out a.exe
13279 else
13280   echo "libtool.m4: error: problem compiling CXX test program"
13281 fi
13282
13283 $RM -f confest.$objext
13284
13285 # PORTME: override above test on systems where it is broken
13286 case $host_os in
13287 interix[3-9]*)
13288   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13289   # hack all around it, let's just trust "g++" to DTRT.
13290   predep_objects_CXX=
13291   postdep_objects_CXX=
13292   postdeps_CXX=
13293   ;;
13294
13295 linux*)
13296   case `$CC -V 2>&1 | sed 5q` in
13297   *Sun\ C*)
13298     # Sun C++ 5.9
13299
13300     # The more standards-conforming stlport4 library is
13301     # incompatible with the Cstd library. Avoid specifying
13302     # it if it's in CXXFLAGS. Ignore libCrun as
13303     # -library=stlport4 depends on it.
13304     case " $CXX $CXXFLAGS " in
13305     *" -library=stlport4 "*)
13306       solaris_use_stlport4=yes
13307       ;;
13308     esac
13309
13310     if test "$solaris_use_stlport4" != yes; then
13311       postdeps_CXX='-library=Cstd -library=Crun'
13312     fi
13313     ;;
13314   esac
13315   ;;
13316
13317 solaris*)
13318   case $cc_basename in
13319   CC*)
13320     # The more standards-conforming stlport4 library is
13321     # incompatible with the Cstd library. Avoid specifying
13322     # it if it's in CXXFLAGS. Ignore libCrun as
13323     # -library=stlport4 depends on it.
13324     case " $CXX $CXXFLAGS " in
13325     *" -library=stlport4 "*)
13326       solaris_use_stlport4=yes
13327       ;;
13328     esac
13329
13330     # Adding this requires a known-good setup of shared libraries for
13331     # Sun compiler versions before 5.6, else PIC objects from an old
13332     # archive will be linked into the output, leading to subtle bugs.
13333     if test "$solaris_use_stlport4" != yes; then
13334       postdeps_CXX='-library=Cstd -library=Crun'
13335     fi
13336     ;;
13337   esac
13338   ;;
13339 esac
13340
13341
13342 case " $postdeps_CXX " in
13343 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13344 esac
13345  compiler_lib_search_dirs_CXX=
13346 if test -n "${compiler_lib_search_path_CXX}"; then
13347  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13348 fi
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380     lt_prog_compiler_wl_CXX=
13381 lt_prog_compiler_pic_CXX=
13382 lt_prog_compiler_static_CXX=
13383
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13385 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13386
13387   # C++ specific cases for pic, static, wl, etc.
13388   if test "$GXX" = yes; then
13389     lt_prog_compiler_wl_CXX='-Wl,'
13390     lt_prog_compiler_static_CXX='-static'
13391
13392     case $host_os in
13393     aix*)
13394       # All AIX code is PIC.
13395       if test "$host_cpu" = ia64; then
13396         # AIX 5 now supports IA64 processor
13397         lt_prog_compiler_static_CXX='-Bstatic'
13398       fi
13399       ;;
13400
13401     amigaos*)
13402       case $host_cpu in
13403       powerpc)
13404             # see comment about AmigaOS4 .so support
13405             lt_prog_compiler_pic_CXX='-fPIC'
13406         ;;
13407       m68k)
13408             # FIXME: we need at least 68020 code to build shared libraries, but
13409             # adding the `-m68020' flag to GCC prevents building anything better,
13410             # like `-m68040'.
13411             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13412         ;;
13413       esac
13414       ;;
13415
13416     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13417       # PIC is the default for these OSes.
13418       ;;
13419     mingw* | cygwin* | os2* | pw32* | cegcc*)
13420       # This hack is so that the source file can tell whether it is being
13421       # built for inclusion in a dll (and should export symbols for example).
13422       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13423       # (--disable-auto-import) libraries
13424       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13425       ;;
13426     darwin* | rhapsody*)
13427       # PIC is the default on this platform
13428       # Common symbols not allowed in MH_DYLIB files
13429       lt_prog_compiler_pic_CXX='-fno-common'
13430       ;;
13431     *djgpp*)
13432       # DJGPP does not support shared libraries at all
13433       lt_prog_compiler_pic_CXX=
13434       ;;
13435     haiku*)
13436       # PIC is the default for Haiku.
13437       # The "-static" flag exists, but is broken.
13438       lt_prog_compiler_static_CXX=
13439       ;;
13440     interix[3-9]*)
13441       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13442       # Instead, we relocate shared libraries at runtime.
13443       ;;
13444     sysv4*MP*)
13445       if test -d /usr/nec; then
13446         lt_prog_compiler_pic_CXX=-Kconform_pic
13447       fi
13448       ;;
13449     hpux*)
13450       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13451       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13452       # sets the default TLS model and affects inlining.
13453       case $host_cpu in
13454       hppa*64*)
13455         ;;
13456       *)
13457         lt_prog_compiler_pic_CXX='-fPIC'
13458         ;;
13459       esac
13460       ;;
13461     *qnx* | *nto*)
13462       # QNX uses GNU C++, but need to define -shared option too, otherwise
13463       # it will coredump.
13464       lt_prog_compiler_pic_CXX='-fPIC -shared'
13465       ;;
13466     *)
13467       lt_prog_compiler_pic_CXX='-fPIC'
13468       ;;
13469     esac
13470   else
13471     case $host_os in
13472       aix[4-9]*)
13473         # All AIX code is PIC.
13474         if test "$host_cpu" = ia64; then
13475           # AIX 5 now supports IA64 processor
13476           lt_prog_compiler_static_CXX='-Bstatic'
13477         else
13478           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13479         fi
13480         ;;
13481       chorus*)
13482         case $cc_basename in
13483         cxch68*)
13484           # Green Hills C++ Compiler
13485           # _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"
13486           ;;
13487         esac
13488         ;;
13489       dgux*)
13490         case $cc_basename in
13491           ec++*)
13492             lt_prog_compiler_pic_CXX='-KPIC'
13493             ;;
13494           ghcx*)
13495             # Green Hills C++ Compiler
13496             lt_prog_compiler_pic_CXX='-pic'
13497             ;;
13498           *)
13499             ;;
13500         esac
13501         ;;
13502       freebsd* | dragonfly*)
13503         # FreeBSD uses GNU C++
13504         ;;
13505       hpux9* | hpux10* | hpux11*)
13506         case $cc_basename in
13507           CC*)
13508             lt_prog_compiler_wl_CXX='-Wl,'
13509             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13510             if test "$host_cpu" != ia64; then
13511               lt_prog_compiler_pic_CXX='+Z'
13512             fi
13513             ;;
13514           aCC*)
13515             lt_prog_compiler_wl_CXX='-Wl,'
13516             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13517             case $host_cpu in
13518             hppa*64*|ia64*)
13519               # +Z the default
13520               ;;
13521             *)
13522               lt_prog_compiler_pic_CXX='+Z'
13523               ;;
13524             esac
13525             ;;
13526           *)
13527             ;;
13528         esac
13529         ;;
13530       interix*)
13531         # This is c89, which is MS Visual C++ (no shared libs)
13532         # Anyone wants to do a port?
13533         ;;
13534       irix5* | irix6* | nonstopux*)
13535         case $cc_basename in
13536           CC*)
13537             lt_prog_compiler_wl_CXX='-Wl,'
13538             lt_prog_compiler_static_CXX='-non_shared'
13539             # CC pic flag -KPIC is the default.
13540             ;;
13541           *)
13542             ;;
13543         esac
13544         ;;
13545       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13546         case $cc_basename in
13547           KCC*)
13548             # KAI C++ Compiler
13549             lt_prog_compiler_wl_CXX='--backend -Wl,'
13550             lt_prog_compiler_pic_CXX='-fPIC'
13551             ;;
13552           ecpc* )
13553             # old Intel C++ for x86_64 which still supported -KPIC.
13554             lt_prog_compiler_wl_CXX='-Wl,'
13555             lt_prog_compiler_pic_CXX='-KPIC'
13556             lt_prog_compiler_static_CXX='-static'
13557             ;;
13558           icpc* )
13559             # Intel C++, used to be incompatible with GCC.
13560             # ICC 10 doesn't accept -KPIC any more.
13561             lt_prog_compiler_wl_CXX='-Wl,'
13562             lt_prog_compiler_pic_CXX='-fPIC'
13563             lt_prog_compiler_static_CXX='-static'
13564             ;;
13565           pgCC* | pgcpp*)
13566             # Portland Group C++ compiler
13567             lt_prog_compiler_wl_CXX='-Wl,'
13568             lt_prog_compiler_pic_CXX='-fpic'
13569             lt_prog_compiler_static_CXX='-Bstatic'
13570             ;;
13571           cxx*)
13572             # Compaq C++
13573             # Make sure the PIC flag is empty.  It appears that all Alpha
13574             # Linux and Compaq Tru64 Unix objects are PIC.
13575             lt_prog_compiler_pic_CXX=
13576             lt_prog_compiler_static_CXX='-non_shared'
13577             ;;
13578           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13579             # IBM XL 8.0, 9.0 on PPC and BlueGene
13580             lt_prog_compiler_wl_CXX='-Wl,'
13581             lt_prog_compiler_pic_CXX='-qpic'
13582             lt_prog_compiler_static_CXX='-qstaticlink'
13583             ;;
13584           *)
13585             case `$CC -V 2>&1 | sed 5q` in
13586             *Sun\ C*)
13587               # Sun C++ 5.9
13588               lt_prog_compiler_pic_CXX='-KPIC'
13589               lt_prog_compiler_static_CXX='-Bstatic'
13590               lt_prog_compiler_wl_CXX='-Qoption ld '
13591               ;;
13592             esac
13593             ;;
13594         esac
13595         ;;
13596       lynxos*)
13597         ;;
13598       m88k*)
13599         ;;
13600       mvs*)
13601         case $cc_basename in
13602           cxx*)
13603             lt_prog_compiler_pic_CXX='-W c,exportall'
13604             ;;
13605           *)
13606             ;;
13607         esac
13608         ;;
13609       netbsd*)
13610         ;;
13611       *qnx* | *nto*)
13612         # QNX uses GNU C++, but need to define -shared option too, otherwise
13613         # it will coredump.
13614         lt_prog_compiler_pic_CXX='-fPIC -shared'
13615         ;;
13616       osf3* | osf4* | osf5*)
13617         case $cc_basename in
13618           KCC*)
13619             lt_prog_compiler_wl_CXX='--backend -Wl,'
13620             ;;
13621           RCC*)
13622             # Rational C++ 2.4.1
13623             lt_prog_compiler_pic_CXX='-pic'
13624             ;;
13625           cxx*)
13626             # Digital/Compaq C++
13627             lt_prog_compiler_wl_CXX='-Wl,'
13628             # Make sure the PIC flag is empty.  It appears that all Alpha
13629             # Linux and Compaq Tru64 Unix objects are PIC.
13630             lt_prog_compiler_pic_CXX=
13631             lt_prog_compiler_static_CXX='-non_shared'
13632             ;;
13633           *)
13634             ;;
13635         esac
13636         ;;
13637       psos*)
13638         ;;
13639       solaris*)
13640         case $cc_basename in
13641           CC*)
13642             # Sun C++ 4.2, 5.x and Centerline C++
13643             lt_prog_compiler_pic_CXX='-KPIC'
13644             lt_prog_compiler_static_CXX='-Bstatic'
13645             lt_prog_compiler_wl_CXX='-Qoption ld '
13646             ;;
13647           gcx*)
13648             # Green Hills C++ Compiler
13649             lt_prog_compiler_pic_CXX='-PIC'
13650             ;;
13651           *)
13652             ;;
13653         esac
13654         ;;
13655       sunos4*)
13656         case $cc_basename in
13657           CC*)
13658             # Sun C++ 4.x
13659             lt_prog_compiler_pic_CXX='-pic'
13660             lt_prog_compiler_static_CXX='-Bstatic'
13661             ;;
13662           lcc*)
13663             # Lucid
13664             lt_prog_compiler_pic_CXX='-pic'
13665             ;;
13666           *)
13667             ;;
13668         esac
13669         ;;
13670       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13671         case $cc_basename in
13672           CC*)
13673             lt_prog_compiler_wl_CXX='-Wl,'
13674             lt_prog_compiler_pic_CXX='-KPIC'
13675             lt_prog_compiler_static_CXX='-Bstatic'
13676             ;;
13677         esac
13678         ;;
13679       tandem*)
13680         case $cc_basename in
13681           NCC*)
13682             # NonStop-UX NCC 3.20
13683             lt_prog_compiler_pic_CXX='-KPIC'
13684             ;;
13685           *)
13686             ;;
13687         esac
13688         ;;
13689       vxworks*)
13690         ;;
13691       *)
13692         lt_prog_compiler_can_build_shared_CXX=no
13693         ;;
13694     esac
13695   fi
13696
13697 case $host_os in
13698   # For platforms which do not support PIC, -DPIC is meaningless:
13699   *djgpp*)
13700     lt_prog_compiler_pic_CXX=
13701     ;;
13702   *)
13703     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13704     ;;
13705 esac
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13707 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13708
13709
13710
13711 #
13712 # Check to make sure the PIC flag actually works.
13713 #
13714 if test -n "$lt_prog_compiler_pic_CXX"; then
13715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13716 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13717 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13718   $as_echo_n "(cached) " >&6
13719 else
13720   lt_cv_prog_compiler_pic_works_CXX=no
13721    ac_outfile=conftest.$ac_objext
13722    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13723    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13724    # Insert the option either (1) after the last *FLAGS variable, or
13725    # (2) before a word containing "conftest.", or (3) at the end.
13726    # Note that $ac_compile itself does not contain backslashes and begins
13727    # with a dollar sign (not a hyphen), so the echo should work correctly.
13728    # The option is referenced via a variable to avoid confusing sed.
13729    lt_compile=`echo "$ac_compile" | $SED \
13730    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13731    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13732    -e 's:$: $lt_compiler_flag:'`
13733    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13734    (eval "$lt_compile" 2>conftest.err)
13735    ac_status=$?
13736    cat conftest.err >&5
13737    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738    if (exit $ac_status) && test -s "$ac_outfile"; then
13739      # The compiler can only warn and ignore the option if not recognized
13740      # So say no if there are warnings other than the usual output.
13741      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13742      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13743      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13744        lt_cv_prog_compiler_pic_works_CXX=yes
13745      fi
13746    fi
13747    $RM conftest*
13748
13749 fi
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13751 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13752
13753 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13754     case $lt_prog_compiler_pic_CXX in
13755      "" | " "*) ;;
13756      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13757      esac
13758 else
13759     lt_prog_compiler_pic_CXX=
13760      lt_prog_compiler_can_build_shared_CXX=no
13761 fi
13762
13763 fi
13764
13765
13766
13767 #
13768 # Check to make sure the static flag actually works.
13769 #
13770 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13772 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13773 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13774   $as_echo_n "(cached) " >&6
13775 else
13776   lt_cv_prog_compiler_static_works_CXX=no
13777    save_LDFLAGS="$LDFLAGS"
13778    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13779    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13780    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13781      # The linker can only warn and ignore the option if not recognized
13782      # So say no if there are warnings
13783      if test -s conftest.err; then
13784        # Append any errors to the config.log.
13785        cat conftest.err 1>&5
13786        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13787        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13788        if diff conftest.exp conftest.er2 >/dev/null; then
13789          lt_cv_prog_compiler_static_works_CXX=yes
13790        fi
13791      else
13792        lt_cv_prog_compiler_static_works_CXX=yes
13793      fi
13794    fi
13795    $RM -r conftest*
13796    LDFLAGS="$save_LDFLAGS"
13797
13798 fi
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13800 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13801
13802 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13803     :
13804 else
13805     lt_prog_compiler_static_CXX=
13806 fi
13807
13808
13809
13810
13811     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13812 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13813 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13814   $as_echo_n "(cached) " >&6
13815 else
13816   lt_cv_prog_compiler_c_o_CXX=no
13817    $RM -r conftest 2>/dev/null
13818    mkdir conftest
13819    cd conftest
13820    mkdir out
13821    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13822
13823    lt_compiler_flag="-o out/conftest2.$ac_objext"
13824    # Insert the option either (1) after the last *FLAGS variable, or
13825    # (2) before a word containing "conftest.", or (3) at the end.
13826    # Note that $ac_compile itself does not contain backslashes and begins
13827    # with a dollar sign (not a hyphen), so the echo should work correctly.
13828    lt_compile=`echo "$ac_compile" | $SED \
13829    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13830    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13831    -e 's:$: $lt_compiler_flag:'`
13832    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13833    (eval "$lt_compile" 2>out/conftest.err)
13834    ac_status=$?
13835    cat out/conftest.err >&5
13836    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13837    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13838    then
13839      # The compiler can only warn and ignore the option if not recognized
13840      # So say no if there are warnings
13841      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13842      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13843      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13844        lt_cv_prog_compiler_c_o_CXX=yes
13845      fi
13846    fi
13847    chmod u+w . 2>&5
13848    $RM conftest*
13849    # SGI C++ compiler will create directory out/ii_files/ for
13850    # template instantiation
13851    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13852    $RM out/* && rmdir out
13853    cd ..
13854    $RM -r conftest
13855    $RM conftest*
13856
13857 fi
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13859 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13860
13861
13862
13863     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13864 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13865 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13866   $as_echo_n "(cached) " >&6
13867 else
13868   lt_cv_prog_compiler_c_o_CXX=no
13869    $RM -r conftest 2>/dev/null
13870    mkdir conftest
13871    cd conftest
13872    mkdir out
13873    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13874
13875    lt_compiler_flag="-o out/conftest2.$ac_objext"
13876    # Insert the option either (1) after the last *FLAGS variable, or
13877    # (2) before a word containing "conftest.", or (3) at the end.
13878    # Note that $ac_compile itself does not contain backslashes and begins
13879    # with a dollar sign (not a hyphen), so the echo should work correctly.
13880    lt_compile=`echo "$ac_compile" | $SED \
13881    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13882    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13883    -e 's:$: $lt_compiler_flag:'`
13884    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13885    (eval "$lt_compile" 2>out/conftest.err)
13886    ac_status=$?
13887    cat out/conftest.err >&5
13888    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13890    then
13891      # The compiler can only warn and ignore the option if not recognized
13892      # So say no if there are warnings
13893      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13894      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13895      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13896        lt_cv_prog_compiler_c_o_CXX=yes
13897      fi
13898    fi
13899    chmod u+w . 2>&5
13900    $RM conftest*
13901    # SGI C++ compiler will create directory out/ii_files/ for
13902    # template instantiation
13903    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13904    $RM out/* && rmdir out
13905    cd ..
13906    $RM -r conftest
13907    $RM conftest*
13908
13909 fi
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13911 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13912
13913
13914
13915
13916 hard_links="nottested"
13917 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13918   # do not overwrite the value of need_locks provided by the user
13919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13920 $as_echo_n "checking if we can lock with hard links... " >&6; }
13921   hard_links=yes
13922   $RM conftest*
13923   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13924   touch conftest.a
13925   ln conftest.a conftest.b 2>&5 || hard_links=no
13926   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13928 $as_echo "$hard_links" >&6; }
13929   if test "$hard_links" = no; then
13930     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13931 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13932     need_locks=warn
13933   fi
13934 else
13935   need_locks=no
13936 fi
13937
13938
13939
13940     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13941 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13942
13943   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13944   case $host_os in
13945   aix[4-9]*)
13946     # If we're using GNU nm, then we don't want the "-C" option.
13947     # -C means demangle to AIX nm, but means don't demangle with GNU nm
13948     # Also, AIX nm treats weak defined symbols like other global defined
13949     # symbols, whereas GNU nm marks them as "W".
13950     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13951       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'
13952     else
13953       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'
13954     fi
13955     ;;
13956   pw32*)
13957     export_symbols_cmds_CXX="$ltdll_cmds"
13958   ;;
13959   cygwin* | mingw* | cegcc*)
13960     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'
13961   ;;
13962   *)
13963     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13964   ;;
13965   esac
13966   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13967
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13969 $as_echo "$ld_shlibs_CXX" >&6; }
13970 test "$ld_shlibs_CXX" = no && can_build_shared=no
13971
13972 with_gnu_ld_CXX=$with_gnu_ld
13973
13974
13975
13976
13977
13978
13979 #
13980 # Do we need to explicitly link libc?
13981 #
13982 case "x$archive_cmds_need_lc_CXX" in
13983 x|xyes)
13984   # Assume -lc should be added
13985   archive_cmds_need_lc_CXX=yes
13986
13987   if test "$enable_shared" = yes && test "$GCC" = yes; then
13988     case $archive_cmds_CXX in
13989     *'~'*)
13990       # FIXME: we may have to deal with multi-command sequences.
13991       ;;
13992     '$CC '*)
13993       # Test whether the compiler implicitly links with -lc since on some
13994       # systems, -lgcc has to come before -lc. If gcc already passes -lc
13995       # to ld, don't add -lc before -lgcc.
13996       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13997 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13998 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13999   $as_echo_n "(cached) " >&6
14000 else
14001   $RM conftest*
14002         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14003
14004         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14005   (eval $ac_compile) 2>&5
14006   ac_status=$?
14007   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14008   test $ac_status = 0; } 2>conftest.err; then
14009           soname=conftest
14010           lib=conftest
14011           libobjs=conftest.$ac_objext
14012           deplibs=
14013           wl=$lt_prog_compiler_wl_CXX
14014           pic_flag=$lt_prog_compiler_pic_CXX
14015           compiler_flags=-v
14016           linker_flags=-v
14017           verstring=
14018           output_objdir=.
14019           libname=conftest
14020           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14021           allow_undefined_flag_CXX=
14022           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14023   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14024   ac_status=$?
14025   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14026   test $ac_status = 0; }
14027           then
14028             lt_cv_archive_cmds_need_lc_CXX=no
14029           else
14030             lt_cv_archive_cmds_need_lc_CXX=yes
14031           fi
14032           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14033         else
14034           cat conftest.err 1>&5
14035         fi
14036         $RM conftest*
14037
14038 fi
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14040 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14041       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14042       ;;
14043     esac
14044   fi
14045   ;;
14046 esac
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14112 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14113
14114 library_names_spec=
14115 libname_spec='lib$name'
14116 soname_spec=
14117 shrext_cmds=".so"
14118 postinstall_cmds=
14119 postuninstall_cmds=
14120 finish_cmds=
14121 finish_eval=
14122 shlibpath_var=
14123 shlibpath_overrides_runpath=unknown
14124 version_type=none
14125 dynamic_linker="$host_os ld.so"
14126 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14127 need_lib_prefix=unknown
14128 hardcode_into_libs=no
14129
14130 # when you set need_version to no, make sure it does not cause -set_version
14131 # flags to be left without arguments
14132 need_version=unknown
14133
14134 case $host_os in
14135 aix3*)
14136   version_type=linux
14137   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14138   shlibpath_var=LIBPATH
14139
14140   # AIX 3 has no versioning support, so we append a major version to the name.
14141   soname_spec='${libname}${release}${shared_ext}$major'
14142   ;;
14143
14144 aix[4-9]*)
14145   version_type=linux
14146   need_lib_prefix=no
14147   need_version=no
14148   hardcode_into_libs=yes
14149   if test "$host_cpu" = ia64; then
14150     # AIX 5 supports IA64
14151     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14152     shlibpath_var=LD_LIBRARY_PATH
14153   else
14154     # With GCC up to 2.95.x, collect2 would create an import file
14155     # for dependence libraries.  The import file would start with
14156     # the line `#! .'.  This would cause the generated library to
14157     # depend on `.', always an invalid library.  This was fixed in
14158     # development snapshots of GCC prior to 3.0.
14159     case $host_os in
14160       aix4 | aix4.[01] | aix4.[01].*)
14161       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14162            echo ' yes '
14163            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14164         :
14165       else
14166         can_build_shared=no
14167       fi
14168       ;;
14169     esac
14170     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14171     # soname into executable. Probably we can add versioning support to
14172     # collect2, so additional links can be useful in future.
14173     if test "$aix_use_runtimelinking" = yes; then
14174       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14175       # instead of lib<name>.a to let people know that these are not
14176       # typical AIX shared libraries.
14177       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14178     else
14179       # We preserve .a as extension for shared libraries through AIX4.2
14180       # and later when we are not doing run time linking.
14181       library_names_spec='${libname}${release}.a $libname.a'
14182       soname_spec='${libname}${release}${shared_ext}$major'
14183     fi
14184     shlibpath_var=LIBPATH
14185   fi
14186   ;;
14187
14188 amigaos*)
14189   case $host_cpu in
14190   powerpc)
14191     # Since July 2007 AmigaOS4 officially supports .so libraries.
14192     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14193     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14194     ;;
14195   m68k)
14196     library_names_spec='$libname.ixlibrary $libname.a'
14197     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14198     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'
14199     ;;
14200   esac
14201   ;;
14202
14203 beos*)
14204   library_names_spec='${libname}${shared_ext}'
14205   dynamic_linker="$host_os ld.so"
14206   shlibpath_var=LIBRARY_PATH
14207   ;;
14208
14209 bsdi[45]*)
14210   version_type=linux
14211   need_version=no
14212   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14213   soname_spec='${libname}${release}${shared_ext}$major'
14214   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14215   shlibpath_var=LD_LIBRARY_PATH
14216   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14217   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14218   # the default ld.so.conf also contains /usr/contrib/lib and
14219   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14220   # libtool to hard-code these into programs
14221   ;;
14222
14223 cygwin* | mingw* | pw32* | cegcc*)
14224   version_type=windows
14225   shrext_cmds=".dll"
14226   need_version=no
14227   need_lib_prefix=no
14228
14229   case $GCC,$host_os in
14230   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14231     library_names_spec='$libname.dll.a'
14232     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14233     postinstall_cmds='base_file=`basename \${file}`~
14234       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14235       dldir=$destdir/`dirname \$dlpath`~
14236       test -d \$dldir || mkdir -p \$dldir~
14237       $install_prog $dir/$dlname \$dldir/$dlname~
14238       chmod a+x \$dldir/$dlname~
14239       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14240         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14241       fi'
14242     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14243       dlpath=$dir/\$dldll~
14244        $RM \$dlpath'
14245     shlibpath_overrides_runpath=yes
14246
14247     case $host_os in
14248     cygwin*)
14249       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14250       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14251
14252       ;;
14253     mingw* | cegcc*)
14254       # MinGW DLLs use traditional 'lib' prefix
14255       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14256       ;;
14257     pw32*)
14258       # pw32 DLLs use 'pw' prefix rather than 'lib'
14259       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14260       ;;
14261     esac
14262     ;;
14263
14264   *)
14265     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14266     ;;
14267   esac
14268   dynamic_linker='Win32 ld.exe'
14269   # FIXME: first we should search . and the directory the executable is in
14270   shlibpath_var=PATH
14271   ;;
14272
14273 darwin* | rhapsody*)
14274   dynamic_linker="$host_os dyld"
14275   version_type=darwin
14276   need_lib_prefix=no
14277   need_version=no
14278   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14279   soname_spec='${libname}${release}${major}$shared_ext'
14280   shlibpath_overrides_runpath=yes
14281   shlibpath_var=DYLD_LIBRARY_PATH
14282   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14283
14284   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14285   ;;
14286
14287 dgux*)
14288   version_type=linux
14289   need_lib_prefix=no
14290   need_version=no
14291   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14292   soname_spec='${libname}${release}${shared_ext}$major'
14293   shlibpath_var=LD_LIBRARY_PATH
14294   ;;
14295
14296 freebsd* | dragonfly*)
14297   # DragonFly does not have aout.  When/if they implement a new
14298   # versioning mechanism, adjust this.
14299   if test -x /usr/bin/objformat; then
14300     objformat=`/usr/bin/objformat`
14301   else
14302     case $host_os in
14303     freebsd[123]*) objformat=aout ;;
14304     *) objformat=elf ;;
14305     esac
14306   fi
14307   version_type=freebsd-$objformat
14308   case $version_type in
14309     freebsd-elf*)
14310       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14311       need_version=no
14312       need_lib_prefix=no
14313       ;;
14314     freebsd-*)
14315       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14316       need_version=yes
14317       ;;
14318   esac
14319   shlibpath_var=LD_LIBRARY_PATH
14320   case $host_os in
14321   freebsd2*)
14322     shlibpath_overrides_runpath=yes
14323     ;;
14324   freebsd3.[01]* | freebsdelf3.[01]*)
14325     shlibpath_overrides_runpath=yes
14326     hardcode_into_libs=yes
14327     ;;
14328   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14329   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14330     shlibpath_overrides_runpath=no
14331     hardcode_into_libs=yes
14332     ;;
14333   *) # from 4.6 on, and DragonFly
14334     shlibpath_overrides_runpath=yes
14335     hardcode_into_libs=yes
14336     ;;
14337   esac
14338   ;;
14339
14340 gnu*)
14341   version_type=linux
14342   need_lib_prefix=no
14343   need_version=no
14344   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14345   soname_spec='${libname}${release}${shared_ext}$major'
14346   shlibpath_var=LD_LIBRARY_PATH
14347   hardcode_into_libs=yes
14348   ;;
14349
14350 haiku*)
14351   version_type=linux
14352   need_lib_prefix=no
14353   need_version=no
14354   dynamic_linker="$host_os runtime_loader"
14355   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14356   soname_spec='${libname}${release}${shared_ext}$major'
14357   shlibpath_var=LIBRARY_PATH
14358   shlibpath_overrides_runpath=yes
14359   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14360   hardcode_into_libs=yes
14361   ;;
14362
14363 hpux9* | hpux10* | hpux11*)
14364   # Give a soname corresponding to the major version so that dld.sl refuses to
14365   # link against other versions.
14366   version_type=sunos
14367   need_lib_prefix=no
14368   need_version=no
14369   case $host_cpu in
14370   ia64*)
14371     shrext_cmds='.so'
14372     hardcode_into_libs=yes
14373     dynamic_linker="$host_os dld.so"
14374     shlibpath_var=LD_LIBRARY_PATH
14375     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14376     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14377     soname_spec='${libname}${release}${shared_ext}$major'
14378     if test "X$HPUX_IA64_MODE" = X32; then
14379       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14380     else
14381       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14382     fi
14383     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14384     ;;
14385   hppa*64*)
14386     shrext_cmds='.sl'
14387     hardcode_into_libs=yes
14388     dynamic_linker="$host_os dld.sl"
14389     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14390     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14391     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14392     soname_spec='${libname}${release}${shared_ext}$major'
14393     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14394     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14395     ;;
14396   *)
14397     shrext_cmds='.sl'
14398     dynamic_linker="$host_os dld.sl"
14399     shlibpath_var=SHLIB_PATH
14400     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14401     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14402     soname_spec='${libname}${release}${shared_ext}$major'
14403     ;;
14404   esac
14405   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14406   postinstall_cmds='chmod 555 $lib'
14407   # or fails outright, so override atomically:
14408   install_override_mode=555
14409   ;;
14410
14411 interix[3-9]*)
14412   version_type=linux
14413   need_lib_prefix=no
14414   need_version=no
14415   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14416   soname_spec='${libname}${release}${shared_ext}$major'
14417   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14418   shlibpath_var=LD_LIBRARY_PATH
14419   shlibpath_overrides_runpath=no
14420   hardcode_into_libs=yes
14421   ;;
14422
14423 irix5* | irix6* | nonstopux*)
14424   case $host_os in
14425     nonstopux*) version_type=nonstopux ;;
14426     *)
14427         if test "$lt_cv_prog_gnu_ld" = yes; then
14428                 version_type=linux
14429         else
14430                 version_type=irix
14431         fi ;;
14432   esac
14433   need_lib_prefix=no
14434   need_version=no
14435   soname_spec='${libname}${release}${shared_ext}$major'
14436   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14437   case $host_os in
14438   irix5* | nonstopux*)
14439     libsuff= shlibsuff=
14440     ;;
14441   *)
14442     case $LD in # libtool.m4 will add one of these switches to LD
14443     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14444       libsuff= shlibsuff= libmagic=32-bit;;
14445     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14446       libsuff=32 shlibsuff=N32 libmagic=N32;;
14447     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14448       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14449     *) libsuff= shlibsuff= libmagic=never-match;;
14450     esac
14451     ;;
14452   esac
14453   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14454   shlibpath_overrides_runpath=no
14455   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14456   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14457   hardcode_into_libs=yes
14458   ;;
14459
14460 # No shared lib support for Linux oldld, aout, or coff.
14461 linux*oldld* | linux*aout* | linux*coff*)
14462   dynamic_linker=no
14463   ;;
14464
14465 # This must be Linux ELF.
14466 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14467   version_type=linux
14468   need_lib_prefix=no
14469   need_version=no
14470   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14471   soname_spec='${libname}${release}${shared_ext}$major'
14472   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14473   shlibpath_var=LD_LIBRARY_PATH
14474   shlibpath_overrides_runpath=no
14475
14476   # Some binutils ld are patched to set DT_RUNPATH
14477   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14478   $as_echo_n "(cached) " >&6
14479 else
14480   lt_cv_shlibpath_overrides_runpath=no
14481     save_LDFLAGS=$LDFLAGS
14482     save_libdir=$libdir
14483     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14484          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14485     if test x$gcc_no_link = xyes; then
14486   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14487 fi
14488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14489 /* end confdefs.h.  */
14490
14491 int
14492 main ()
14493 {
14494
14495   ;
14496   return 0;
14497 }
14498 _ACEOF
14499 if ac_fn_cxx_try_link "$LINENO"; then :
14500   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14501   lt_cv_shlibpath_overrides_runpath=yes
14502 fi
14503 fi
14504 rm -f core conftest.err conftest.$ac_objext \
14505     conftest$ac_exeext conftest.$ac_ext
14506     LDFLAGS=$save_LDFLAGS
14507     libdir=$save_libdir
14508
14509 fi
14510
14511   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14512
14513   # This implies no fast_install, which is unacceptable.
14514   # Some rework will be needed to allow for fast_install
14515   # before this can be enabled.
14516   hardcode_into_libs=yes
14517
14518   # Append ld.so.conf contents to the search path
14519   if test -f /etc/ld.so.conf; then
14520     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' ' '`
14521     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14522   fi
14523
14524   # We used to test for /lib/ld.so.1 and disable shared libraries on
14525   # powerpc, because MkLinux only supported shared libraries with the
14526   # GNU dynamic linker.  Since this was broken with cross compilers,
14527   # most powerpc-linux boxes support dynamic linking these days and
14528   # people can always --disable-shared, the test was removed, and we
14529   # assume the GNU/Linux dynamic linker is in use.
14530   dynamic_linker='GNU/Linux ld.so'
14531   ;;
14532
14533 netbsd*)
14534   version_type=sunos
14535   need_lib_prefix=no
14536   need_version=no
14537   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14538     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14539     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14540     dynamic_linker='NetBSD (a.out) ld.so'
14541   else
14542     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14543     soname_spec='${libname}${release}${shared_ext}$major'
14544     dynamic_linker='NetBSD ld.elf_so'
14545   fi
14546   shlibpath_var=LD_LIBRARY_PATH
14547   shlibpath_overrides_runpath=yes
14548   hardcode_into_libs=yes
14549   ;;
14550
14551 newsos6)
14552   version_type=linux
14553   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14554   shlibpath_var=LD_LIBRARY_PATH
14555   shlibpath_overrides_runpath=yes
14556   ;;
14557
14558 *nto* | *qnx*)
14559   version_type=qnx
14560   need_lib_prefix=no
14561   need_version=no
14562   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14563   soname_spec='${libname}${release}${shared_ext}$major'
14564   shlibpath_var=LD_LIBRARY_PATH
14565   shlibpath_overrides_runpath=no
14566   hardcode_into_libs=yes
14567   dynamic_linker='ldqnx.so'
14568   ;;
14569
14570 openbsd*)
14571   version_type=sunos
14572   sys_lib_dlsearch_path_spec="/usr/lib"
14573   need_lib_prefix=no
14574   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14575   case $host_os in
14576     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14577     *)                          need_version=no  ;;
14578   esac
14579   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14580   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14581   shlibpath_var=LD_LIBRARY_PATH
14582   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14583     case $host_os in
14584       openbsd2.[89] | openbsd2.[89].*)
14585         shlibpath_overrides_runpath=no
14586         ;;
14587       *)
14588         shlibpath_overrides_runpath=yes
14589         ;;
14590       esac
14591   else
14592     shlibpath_overrides_runpath=yes
14593   fi
14594   ;;
14595
14596 os2*)
14597   libname_spec='$name'
14598   shrext_cmds=".dll"
14599   need_lib_prefix=no
14600   library_names_spec='$libname${shared_ext} $libname.a'
14601   dynamic_linker='OS/2 ld.exe'
14602   shlibpath_var=LIBPATH
14603   ;;
14604
14605 osf3* | osf4* | osf5*)
14606   version_type=osf
14607   need_lib_prefix=no
14608   need_version=no
14609   soname_spec='${libname}${release}${shared_ext}$major'
14610   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14611   shlibpath_var=LD_LIBRARY_PATH
14612   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14613   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14614   ;;
14615
14616 rdos*)
14617   dynamic_linker=no
14618   ;;
14619
14620 solaris*)
14621   version_type=linux
14622   need_lib_prefix=no
14623   need_version=no
14624   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14625   soname_spec='${libname}${release}${shared_ext}$major'
14626   shlibpath_var=LD_LIBRARY_PATH
14627   shlibpath_overrides_runpath=yes
14628   hardcode_into_libs=yes
14629   # ldd complains unless libraries are executable
14630   postinstall_cmds='chmod +x $lib'
14631   ;;
14632
14633 sunos4*)
14634   version_type=sunos
14635   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14636   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14637   shlibpath_var=LD_LIBRARY_PATH
14638   shlibpath_overrides_runpath=yes
14639   if test "$with_gnu_ld" = yes; then
14640     need_lib_prefix=no
14641   fi
14642   need_version=yes
14643   ;;
14644
14645 sysv4 | sysv4.3*)
14646   version_type=linux
14647   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14648   soname_spec='${libname}${release}${shared_ext}$major'
14649   shlibpath_var=LD_LIBRARY_PATH
14650   case $host_vendor in
14651     sni)
14652       shlibpath_overrides_runpath=no
14653       need_lib_prefix=no
14654       runpath_var=LD_RUN_PATH
14655       ;;
14656     siemens)
14657       need_lib_prefix=no
14658       ;;
14659     motorola)
14660       need_lib_prefix=no
14661       need_version=no
14662       shlibpath_overrides_runpath=no
14663       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14664       ;;
14665   esac
14666   ;;
14667
14668 sysv4*MP*)
14669   if test -d /usr/nec ;then
14670     version_type=linux
14671     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14672     soname_spec='$libname${shared_ext}.$major'
14673     shlibpath_var=LD_LIBRARY_PATH
14674   fi
14675   ;;
14676
14677 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14678   version_type=freebsd-elf
14679   need_lib_prefix=no
14680   need_version=no
14681   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14682   soname_spec='${libname}${release}${shared_ext}$major'
14683   shlibpath_var=LD_LIBRARY_PATH
14684   shlibpath_overrides_runpath=yes
14685   hardcode_into_libs=yes
14686   if test "$with_gnu_ld" = yes; then
14687     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14688   else
14689     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14690     case $host_os in
14691       sco3.2v5*)
14692         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14693         ;;
14694     esac
14695   fi
14696   sys_lib_dlsearch_path_spec='/usr/lib'
14697   ;;
14698
14699 tpf*)
14700   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14701   version_type=linux
14702   need_lib_prefix=no
14703   need_version=no
14704   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14705   shlibpath_var=LD_LIBRARY_PATH
14706   shlibpath_overrides_runpath=no
14707   hardcode_into_libs=yes
14708   ;;
14709
14710 uts4*)
14711   version_type=linux
14712   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14713   soname_spec='${libname}${release}${shared_ext}$major'
14714   shlibpath_var=LD_LIBRARY_PATH
14715   ;;
14716
14717 *)
14718   dynamic_linker=no
14719   ;;
14720 esac
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14722 $as_echo "$dynamic_linker" >&6; }
14723 test "$dynamic_linker" = no && can_build_shared=no
14724
14725 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14726 if test "$GCC" = yes; then
14727   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14728 fi
14729
14730 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14731   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14732 fi
14733 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14734   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14735 fi
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14775 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14776 hardcode_action_CXX=
14777 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14778    test -n "$runpath_var_CXX" ||
14779    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14780
14781   # We can hardcode non-existent directories.
14782   if test "$hardcode_direct_CXX" != no &&
14783      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14784      # have to relink, otherwise we might link with an installed library
14785      # when we should be linking with a yet-to-be-installed one
14786      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14787      test "$hardcode_minus_L_CXX" != no; then
14788     # Linking always hardcodes the temporary library directory.
14789     hardcode_action_CXX=relink
14790   else
14791     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14792     hardcode_action_CXX=immediate
14793   fi
14794 else
14795   # We cannot hardcode anything, or else we can only hardcode existing
14796   # directories.
14797   hardcode_action_CXX=unsupported
14798 fi
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14800 $as_echo "$hardcode_action_CXX" >&6; }
14801
14802 if test "$hardcode_action_CXX" = relink ||
14803    test "$inherit_rpath_CXX" = yes; then
14804   # Fast installation is not supported
14805   enable_fast_install=no
14806 elif test "$shlibpath_overrides_runpath" = yes ||
14807      test "$enable_shared" = no; then
14808   # Fast installation is not necessary
14809   enable_fast_install=needless
14810 fi
14811
14812
14813
14814
14815
14816
14817
14818   fi # test -n "$compiler"
14819
14820   CC=$lt_save_CC
14821   LDCXX=$LD
14822   LD=$lt_save_LD
14823   GCC=$lt_save_GCC
14824   with_gnu_ld=$lt_save_with_gnu_ld
14825   lt_cv_path_LDCXX=$lt_cv_path_LD
14826   lt_cv_path_LD=$lt_save_path_LD
14827   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14828   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14829 fi # test "$_lt_caught_CXX_error" != yes
14830
14831 ac_ext=c
14832 ac_cpp='$CPP $CPPFLAGS'
14833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849         ac_config_commands="$ac_config_commands libtool"
14850
14851
14852
14853
14854 # Only expand once:
14855
14856
14857
14858
14859
14860 case $host in
14861   *-cygwin* | *-mingw*)
14862     # 'host' will be top-level target in the case of a target lib,
14863     # we must compare to with_cross_host to decide if this is a native
14864     # or cross-compiler and select where to install dlls appropriately.
14865     if test -n "$with_cross_host" &&
14866         test x"$with_cross_host" != x"no"; then
14867       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14868     else
14869       lt_host_flags='-no-undefined -bindir "$(bindir)"';
14870     fi
14871     ;;
14872   *)
14873     lt_host_flags=
14874     ;;
14875 esac
14876
14877
14878
14879
14880
14881
14882 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14883 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14884
14885 # Possibly disable most of the library.
14886 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14887 ## than just ignoring the results.  Faster /and/ more correct, win win.
14888
14889   # Check whether --enable-hosted-libstdcxx was given.
14890 if test "${enable_hosted_libstdcxx+set}" = set; then :
14891   enableval=$enable_hosted_libstdcxx;
14892 else
14893   case "$host" in
14894         arm*-*-symbianelf*)
14895             enable_hosted_libstdcxx=no
14896             ;;
14897         *)
14898             enable_hosted_libstdcxx=yes
14899             ;;
14900      esac
14901 fi
14902
14903   if test "$enable_hosted_libstdcxx" = no; then
14904     { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14905 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14906     is_hosted=no
14907     hosted_define=0
14908     enable_abi_check=no
14909     enable_libstdcxx_pch=no
14910   else
14911     is_hosted=yes
14912     hosted_define=1
14913   fi
14914
14915
14916 cat >>confdefs.h <<_ACEOF
14917 #define _GLIBCXX_HOSTED $hosted_define
14918 _ACEOF
14919
14920
14921
14922 # Enable compiler support that doesn't require linking.
14923
14924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14925 $as_echo_n "checking for exception model to use... " >&6; }
14926
14927   ac_ext=cpp
14928 ac_cpp='$CXXCPP $CPPFLAGS'
14929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14932
14933    # Check whether --enable-sjlj-exceptions was given.
14934 if test "${enable_sjlj_exceptions+set}" = set; then :
14935   enableval=$enable_sjlj_exceptions;
14936       case "$enableval" in
14937        yes|no|auto) ;;
14938        *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14939                           esac
14940
14941 else
14942   enable_sjlj_exceptions=auto
14943 fi
14944
14945
14946
14947   if test $enable_sjlj_exceptions = auto; then
14948     # Botheration.  Now we've got to detect the exception model.  Link tests
14949     # against libgcc.a are problematic since we've not been given proper -L
14950     # bits for single-tree newlib and libgloss.
14951     #
14952     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
14953     cat > conftest.$ac_ext << EOF
14954 #line 14954 "configure"
14955 struct S { ~S(); };
14956 void bar();
14957 void foo()
14958 {
14959   S s;
14960   bar();
14961 }
14962 EOF
14963     old_CXXFLAGS="$CXXFLAGS"
14964     CXXFLAGS=-S
14965     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14966   (eval $ac_compile) 2>&5
14967   ac_status=$?
14968   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14969   test $ac_status = 0; }; then
14970       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14971         enable_sjlj_exceptions=yes
14972       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14973         enable_sjlj_exceptions=no
14974       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14975         enable_sjlj_exceptions=no
14976       fi
14977     fi
14978     CXXFLAGS="$old_CXXFLAGS"
14979     rm -f conftest*
14980   fi
14981
14982   # This is a tad weird, for hysterical raisins.  We have to map
14983   # enable/disable to two different models.
14984   case $enable_sjlj_exceptions in
14985     yes)
14986
14987 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14988
14989       ac_exception_model_name=sjlj
14990       ;;
14991     no)
14992       ac_exception_model_name="call frame"
14993       ;;
14994     *)
14995       as_fn_error "unable to detect exception model" "$LINENO" 5
14996       ;;
14997   esac
14998  ac_ext=c
14999 ac_cpp='$CPP $CPPFLAGS'
15000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15003
15004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15005 $as_echo "$ac_exception_model_name" >&6; }
15006
15007
15008    # Check whether --enable-libstdcxx-pch was given.
15009 if test "${enable_libstdcxx_pch+set}" = set; then :
15010   enableval=$enable_libstdcxx_pch;
15011       case "$enableval" in
15012        yes|no) ;;
15013        *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15014       esac
15015
15016 else
15017   enable_libstdcxx_pch=$is_hosted
15018 fi
15019
15020
15021   if test $enable_libstdcxx_pch = yes; then
15022     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15023 $as_echo_n "checking for compiler with PCH support... " >&6; }
15024 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15025   $as_echo_n "(cached) " >&6
15026 else
15027   ac_save_CXXFLAGS="$CXXFLAGS"
15028        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15029
15030        ac_ext=cpp
15031 ac_cpp='$CXXCPP $CPPFLAGS'
15032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15035
15036        echo '#include <math.h>' > conftest.h
15037        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15038                           -o conftest.h.gch 1>&5 2>&1 &&
15039                 echo '#error "pch failed"' > conftest.h &&
15040           echo '#include "conftest.h"' > conftest.cc &&
15041                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15042        then
15043          glibcxx_cv_prog_CXX_pch=yes
15044        else
15045          glibcxx_cv_prog_CXX_pch=no
15046        fi
15047        rm -f conftest*
15048        CXXFLAGS=$ac_save_CXXFLAGS
15049        ac_ext=c
15050 ac_cpp='$CPP $CPPFLAGS'
15051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15054
15055
15056 fi
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15058 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15059     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15060   fi
15061
15062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15063 $as_echo_n "checking for enabled PCH... " >&6; }
15064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15065 $as_echo "$enable_libstdcxx_pch" >&6; }
15066
15067
15068   if test $enable_libstdcxx_pch = yes; then
15069     glibcxx_PCHFLAGS="-include bits/stdc++.h"
15070   else
15071     glibcxx_PCHFLAGS=""
15072   fi
15073
15074
15075
15076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15077 $as_echo_n "checking for thread model used by GCC... " >&6; }
15078   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15080 $as_echo "$target_thread_file" >&6; }
15081
15082   if test $target_thread_file != single; then
15083
15084 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15085
15086   fi
15087
15088   glibcxx_thread_h=gthr-$target_thread_file.h
15089
15090     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15091   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15092     enable_thread=yes
15093   else
15094    enable_thread=no
15095   fi
15096
15097
15098
15099
15100
15101   ac_ext=cpp
15102 ac_cpp='$CXXCPP $CPPFLAGS'
15103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15106
15107   old_CXXFLAGS="$CXXFLAGS"
15108
15109   # Do link tests if possible, instead asm tests, limited to some platforms
15110   # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15111   # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15112   atomic_builtins_link_tests=no
15113   if test x$gcc_no_link != xyes; then
15114     # Can do link tests. Limit to some tested platforms
15115     case "$host" in
15116       *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15117         atomic_builtins_link_tests=yes
15118         ;;
15119     esac
15120   fi
15121
15122   if test x$atomic_builtins_link_tests = xyes; then
15123
15124   # Do link tests.
15125
15126   CXXFLAGS="$CXXFLAGS -fno-exceptions"
15127
15128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15129 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15130   if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15131   $as_echo_n "(cached) " >&6
15132 else
15133
15134     if test x$gcc_no_link = xyes; then
15135   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15136 fi
15137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15138 /* end confdefs.h.  */
15139
15140 int
15141 main ()
15142 {
15143 typedef bool atomic_type;
15144        atomic_type c1;
15145        atomic_type c2;
15146        const atomic_type c3(0);
15147        __sync_fetch_and_add(&c1, c2);
15148        __sync_val_compare_and_swap(&c1, c3, c2);
15149        __sync_lock_test_and_set(&c1, c3);
15150        __sync_lock_release(&c1);
15151        __sync_synchronize();
15152   ;
15153   return 0;
15154 }
15155 _ACEOF
15156 if ac_fn_cxx_try_link "$LINENO"; then :
15157   glibcxx_cv_atomic_bool=yes
15158 else
15159   glibcxx_cv_atomic_bool=no
15160 fi
15161 rm -f core conftest.err conftest.$ac_objext \
15162     conftest$ac_exeext conftest.$ac_ext
15163
15164 fi
15165
15166   if test $glibcxx_cv_atomic_bool = yes; then
15167
15168 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15169
15170   fi
15171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15172 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15173
15174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15175 $as_echo_n "checking for atomic builtins for short... " >&6; }
15176   if test "${glibcxx_cv_atomic_short+set}" = set; then :
15177   $as_echo_n "(cached) " >&6
15178 else
15179
15180     if test x$gcc_no_link = xyes; then
15181   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15182 fi
15183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15184 /* end confdefs.h.  */
15185
15186 int
15187 main ()
15188 {
15189 typedef short atomic_type;
15190        atomic_type c1;
15191        atomic_type c2;
15192        const atomic_type c3(0);
15193        __sync_fetch_and_add(&c1, c2);
15194        __sync_val_compare_and_swap(&c1, c3, c2);
15195        __sync_lock_test_and_set(&c1, c3);
15196        __sync_lock_release(&c1);
15197        __sync_synchronize();
15198   ;
15199   return 0;
15200 }
15201 _ACEOF
15202 if ac_fn_cxx_try_link "$LINENO"; then :
15203   glibcxx_cv_atomic_short=yes
15204 else
15205   glibcxx_cv_atomic_short=no
15206 fi
15207 rm -f core conftest.err conftest.$ac_objext \
15208     conftest$ac_exeext conftest.$ac_ext
15209
15210 fi
15211
15212   if test $glibcxx_cv_atomic_short = yes; then
15213
15214 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15215
15216   fi
15217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15218 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15219
15220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15221 $as_echo_n "checking for atomic builtins for int... " >&6; }
15222   if test "${glibcxx_cv_atomic_int+set}" = set; then :
15223   $as_echo_n "(cached) " >&6
15224 else
15225
15226     if test x$gcc_no_link = xyes; then
15227   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15228 fi
15229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15230 /* end confdefs.h.  */
15231
15232 int
15233 main ()
15234 {
15235 typedef int atomic_type;
15236        atomic_type c1;
15237        atomic_type c2;
15238        const atomic_type c3(0);
15239        __sync_fetch_and_add(&c1, c2);
15240        __sync_val_compare_and_swap(&c1, c3, c2);
15241        __sync_lock_test_and_set(&c1, c3);
15242        __sync_lock_release(&c1);
15243        __sync_synchronize();
15244   ;
15245   return 0;
15246 }
15247 _ACEOF
15248 if ac_fn_cxx_try_link "$LINENO"; then :
15249   glibcxx_cv_atomic_int=yes
15250 else
15251   glibcxx_cv_atomic_int=no
15252 fi
15253 rm -f core conftest.err conftest.$ac_objext \
15254     conftest$ac_exeext conftest.$ac_ext
15255
15256 fi
15257
15258   if test $glibcxx_cv_atomic_int = yes; then
15259
15260 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15261
15262   fi
15263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15264 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15265
15266   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15267 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15268   if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15269   $as_echo_n "(cached) " >&6
15270 else
15271
15272     if test x$gcc_no_link = xyes; then
15273   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15274 fi
15275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15276 /* end confdefs.h.  */
15277
15278 int
15279 main ()
15280 {
15281 typedef long long atomic_type;
15282        atomic_type c1;
15283        atomic_type c2;
15284        const atomic_type c3(0);
15285        __sync_fetch_and_add(&c1, c2);
15286        __sync_val_compare_and_swap(&c1, c3, c2);
15287        __sync_lock_test_and_set(&c1, c3);
15288        __sync_lock_release(&c1);
15289        __sync_synchronize();
15290   ;
15291   return 0;
15292 }
15293 _ACEOF
15294 if ac_fn_cxx_try_link "$LINENO"; then :
15295   glibcxx_cv_atomic_long_long=yes
15296 else
15297   glibcxx_cv_atomic_long_long=no
15298 fi
15299 rm -f core conftest.err conftest.$ac_objext \
15300     conftest$ac_exeext conftest.$ac_ext
15301
15302 fi
15303
15304   if test $glibcxx_cv_atomic_long_long = yes; then
15305
15306 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15307
15308   fi
15309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15310 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15311
15312   else
15313
15314   # Do asm tests.
15315
15316   # Compile unoptimized.
15317   CXXFLAGS='-O0 -S'
15318
15319   # Fake what AC_TRY_COMPILE does.
15320
15321     cat > conftest.$ac_ext << EOF
15322 #line 15322 "configure"
15323 int main()
15324 {
15325   typedef bool atomic_type;
15326   atomic_type c1;
15327   atomic_type c2;
15328   const atomic_type c3(0);
15329   __sync_fetch_and_add(&c1, c2);
15330   __sync_val_compare_and_swap(&c1, c3, c2);
15331   __sync_lock_test_and_set(&c1, c3);
15332   __sync_lock_release(&c1);
15333   __sync_synchronize();
15334   return 0;
15335 }
15336 EOF
15337
15338     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15339 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15340     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15341   (eval $ac_compile) 2>&5
15342   ac_status=$?
15343   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15344   test $ac_status = 0; }; then
15345       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15346         glibcxx_cv_atomic_bool=no
15347       else
15348
15349 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15350
15351         glibcxx_cv_atomic_bool=yes
15352       fi
15353     fi
15354     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15355 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15356     rm -f conftest*
15357
15358     cat > conftest.$ac_ext << EOF
15359 #line 15359 "configure"
15360 int main()
15361 {
15362   typedef short atomic_type;
15363   atomic_type c1;
15364   atomic_type c2;
15365   const atomic_type c3(0);
15366   __sync_fetch_and_add(&c1, c2);
15367   __sync_val_compare_and_swap(&c1, c3, c2);
15368   __sync_lock_test_and_set(&c1, c3);
15369   __sync_lock_release(&c1);
15370   __sync_synchronize();
15371   return 0;
15372 }
15373 EOF
15374
15375     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15376 $as_echo_n "checking for atomic builtins for short... " >&6; }
15377     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15378   (eval $ac_compile) 2>&5
15379   ac_status=$?
15380   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15381   test $ac_status = 0; }; then
15382       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15383         glibcxx_cv_atomic_short=no
15384       else
15385
15386 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15387
15388         glibcxx_cv_atomic_short=yes
15389       fi
15390     fi
15391     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15392 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15393     rm -f conftest*
15394
15395     cat > conftest.$ac_ext << EOF
15396 #line 15396 "configure"
15397 int main()
15398 {
15399   // NB: _Atomic_word not necessarily int.
15400   typedef int atomic_type;
15401   atomic_type c1;
15402   atomic_type c2;
15403   const atomic_type c3(0);
15404   __sync_fetch_and_add(&c1, c2);
15405   __sync_val_compare_and_swap(&c1, c3, c2);
15406   __sync_lock_test_and_set(&c1, c3);
15407   __sync_lock_release(&c1);
15408   __sync_synchronize();
15409   return 0;
15410 }
15411 EOF
15412
15413     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15414 $as_echo_n "checking for atomic builtins for int... " >&6; }
15415     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15416   (eval $ac_compile) 2>&5
15417   ac_status=$?
15418   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15419   test $ac_status = 0; }; then
15420       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15421         glibcxx_cv_atomic_int=no
15422       else
15423
15424 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15425
15426         glibcxx_cv_atomic_int=yes
15427       fi
15428     fi
15429     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15430 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15431     rm -f conftest*
15432
15433     cat > conftest.$ac_ext << EOF
15434 #line 15434 "configure"
15435 int main()
15436 {
15437   typedef long long atomic_type;
15438   atomic_type c1;
15439   atomic_type c2;
15440   const atomic_type c3(0);
15441   __sync_fetch_and_add(&c1, c2);
15442   __sync_val_compare_and_swap(&c1, c3, c2);
15443   __sync_lock_test_and_set(&c1, c3);
15444   __sync_lock_release(&c1);
15445   __sync_synchronize();
15446   return 0;
15447 }
15448 EOF
15449
15450     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15451 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15452     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15453   (eval $ac_compile) 2>&5
15454   ac_status=$?
15455   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15456   test $ac_status = 0; }; then
15457       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15458         glibcxx_cv_atomic_long_long=no
15459       else
15460
15461 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15462
15463         glibcxx_cv_atomic_long_long=yes
15464       fi
15465     fi
15466     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15467 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15468     rm -f conftest*
15469
15470   fi
15471
15472   CXXFLAGS="$old_CXXFLAGS"
15473   ac_ext=c
15474 ac_cpp='$CPP $CPPFLAGS'
15475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15478
15479
15480   # Set atomicity_dir to builtins if either of above tests pass.
15481   if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15482     atomicity_dir=cpu/generic/atomicity_builtins
15483   fi
15484
15485   # If still generic, set to mutex.
15486   if test $atomicity_dir = "cpu/generic" ; then
15487     atomicity_dir=cpu/generic/atomicity_mutex
15488     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15489 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15490       if test "x$target_thread_file" = xsingle; then
15491         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15492 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15493         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15494 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15495       else
15496         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15497 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15498         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15499 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15500       fi
15501   fi
15502
15503
15504
15505
15506   # Fake what AC_TRY_COMPILE does, without linking as this is
15507   # unnecessary for this test.
15508
15509     cat > conftest.$ac_ext << EOF
15510 #line 15510 "configure"
15511 int main()
15512 {
15513   _Decimal32 d1;
15514   _Decimal64 d2;
15515   _Decimal128 d3;
15516   return 0;
15517 }
15518 EOF
15519
15520     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15521 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15522     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15523   (eval $ac_compile) 2>&5
15524   ac_status=$?
15525   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15526   test $ac_status = 0; }; then
15527
15528 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15529
15530       enable_dfp=yes
15531     else
15532       enable_dfp=no
15533     fi
15534     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15535 $as_echo "$enable_dfp" >&6; }
15536     rm -f conftest*
15537
15538
15539 # Checks for compiler support that doesn't require linking.
15540
15541   # All these tests are for C++; save the language and the compiler flags.
15542   # The CXXFLAGS thing is suspicious, but based on similar bits previously
15543   # found in GLIBCXX_CONFIGURE.
15544
15545   ac_ext=cpp
15546 ac_cpp='$CXXCPP $CPPFLAGS'
15547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15550
15551   ac_test_CXXFLAGS="${CXXFLAGS+set}"
15552   ac_save_CXXFLAGS="$CXXFLAGS"
15553
15554   # Check for maintainer-mode bits.
15555   if test x"$USE_MAINTAINER_MODE" = xno; then
15556     WERROR=''
15557   else
15558     WERROR='-Werror'
15559   fi
15560
15561   # Check for -ffunction-sections -fdata-sections
15562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15563 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15564   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15566 /* end confdefs.h.  */
15567 int foo; void bar() { };
15568 int
15569 main ()
15570 {
15571
15572   ;
15573   return 0;
15574 }
15575 _ACEOF
15576 if ac_fn_cxx_try_compile "$LINENO"; then :
15577   ac_fdsections=yes
15578 else
15579   ac_fdsections=no
15580 fi
15581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15582   if test "$ac_test_CXXFLAGS" = set; then
15583     CXXFLAGS="$ac_save_CXXFLAGS"
15584   else
15585     # this is the suspicious part
15586     CXXFLAGS=''
15587   fi
15588   if test x"$ac_fdsections" = x"yes"; then
15589     SECTION_FLAGS='-ffunction-sections -fdata-sections'
15590   fi
15591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15592 $as_echo "$ac_fdsections" >&6; }
15593
15594   ac_ext=c
15595 ac_cpp='$CPP $CPPFLAGS'
15596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15599
15600
15601
15602
15603
15604 # Enable all the variable C++ runtime options that don't require linking.
15605
15606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15607 $as_echo_n "checking for underlying I/O to use... " >&6; }
15608    # Check whether --enable-cstdio was given.
15609 if test "${enable_cstdio+set}" = set; then :
15610   enableval=$enable_cstdio;
15611       case "$enableval" in
15612        stdio) ;;
15613        *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15614                           esac
15615
15616 else
15617   enable_cstdio=stdio
15618 fi
15619
15620
15621
15622   # Now that libio has been removed, you can have any color you want as long
15623   # as it's black.  This is one big no-op until other packages are added, but
15624   # showing the framework never hurts.
15625   case ${enable_cstdio} in
15626     stdio)
15627       CSTDIO_H=config/io/c_io_stdio.h
15628       BASIC_FILE_H=config/io/basic_file_stdio.h
15629       BASIC_FILE_CC=config/io/basic_file_stdio.cc
15630       { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15631 $as_echo "stdio" >&6; }
15632       ;;
15633   esac
15634
15635
15636
15637
15638
15639
15640    # Check whether --enable-clocale was given.
15641 if test "${enable_clocale+set}" = set; then :
15642   enableval=$enable_clocale;
15643       case "$enableval" in
15644        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15645        *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15646                           esac
15647
15648 else
15649   enable_clocale=auto
15650 fi
15651
15652
15653
15654   # Deal with gettext issues.  Default to not using it (=no) until we detect
15655   # support for it later.  Let the user turn it off via --e/d, but let that
15656   # default to on for easier handling.
15657   USE_NLS=no
15658   # Check whether --enable-nls was given.
15659 if test "${enable_nls+set}" = set; then :
15660   enableval=$enable_nls;
15661 else
15662   enable_nls=yes
15663 fi
15664
15665
15666   # Either a known packaage, or "auto"
15667   if test $enable_clocale = no || test $enable_clocale = yes; then
15668      enable_clocale=auto
15669   fi
15670   enable_clocale_flag=$enable_clocale
15671
15672   # Probe for locale model to use if none specified.
15673   # Default to "generic".
15674   if test $enable_clocale_flag = auto; then
15675     case ${target_os} in
15676       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15677         enable_clocale_flag=gnu
15678         ;;
15679       darwin* | freebsd*)
15680         enable_clocale_flag=darwin
15681         ;;
15682       *)
15683         enable_clocale_flag=generic
15684         ;;
15685     esac
15686   fi
15687
15688   # Sanity check model, and test for special functionality.
15689   if test $enable_clocale_flag = gnu; then
15690     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15691 /* end confdefs.h.  */
15692
15693     #include <features.h>
15694     #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15695       _GLIBCXX_ok
15696     #endif
15697
15698 _ACEOF
15699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15700   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15701   enable_clocale_flag=gnu
15702 else
15703   enable_clocale_flag=generic
15704 fi
15705 rm -f conftest*
15706
15707
15708     # Set it to scream when it hurts.
15709     ac_save_CFLAGS="$CFLAGS"
15710     CFLAGS="-Wimplicit-function-declaration -Werror"
15711
15712     # Use strxfrm_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 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15722   ;
15723   return 0;
15724 }
15725 _ACEOF
15726 if ac_fn_c_try_compile "$LINENO"; then :
15727
15728 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15729
15730 fi
15731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15732
15733     # Use strerror_l if available.
15734     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15735 /* end confdefs.h.  */
15736 #define _GNU_SOURCE 1
15737                     #include <string.h>
15738                     #include <locale.h>
15739 int
15740 main ()
15741 {
15742 __locale_t loc; strerror_l(5, loc);
15743   ;
15744   return 0;
15745 }
15746 _ACEOF
15747 if ac_fn_c_try_compile "$LINENO"; then :
15748
15749 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15750
15751 fi
15752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15753
15754     CFLAGS="$ac_save_CFLAGS"
15755   fi
15756
15757   # Perhaps use strerror_r if available, and strerror_l isn't.
15758   ac_save_CFLAGS="$CFLAGS"
15759   CFLAGS="-Wimplicit-function-declaration -Werror"
15760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15761 /* end confdefs.h.  */
15762 #define _GNU_SOURCE 1
15763                   #include <string.h>
15764                   #include <locale.h>
15765 int
15766 main ()
15767 {
15768 char s[128]; strerror_r(5, s, 128);
15769   ;
15770   return 0;
15771 }
15772 _ACEOF
15773 if ac_fn_c_try_compile "$LINENO"; then :
15774
15775 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15776
15777 fi
15778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15779   CFLAGS="$ac_save_CFLAGS"
15780
15781   # Set configure bits for specified locale package
15782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15783 $as_echo_n "checking for C locale to use... " >&6; }
15784   case ${enable_clocale_flag} in
15785     generic)
15786       { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15787 $as_echo "generic" >&6; }
15788
15789       CLOCALE_H=config/locale/generic/c_locale.h
15790       CLOCALE_CC=config/locale/generic/c_locale.cc
15791       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15792       CCOLLATE_CC=config/locale/generic/collate_members.cc
15793       CCTYPE_CC=config/locale/generic/ctype_members.cc
15794       CMESSAGES_H=config/locale/generic/messages_members.h
15795       CMESSAGES_CC=config/locale/generic/messages_members.cc
15796       CMONEY_CC=config/locale/generic/monetary_members.cc
15797       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15798       CTIME_H=config/locale/generic/time_members.h
15799       CTIME_CC=config/locale/generic/time_members.cc
15800       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15801       ;;
15802     darwin)
15803       { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15804 $as_echo "darwin or freebsd" >&6; }
15805
15806       CLOCALE_H=config/locale/generic/c_locale.h
15807       CLOCALE_CC=config/locale/generic/c_locale.cc
15808       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15809       CCOLLATE_CC=config/locale/generic/collate_members.cc
15810       CCTYPE_CC=config/locale/darwin/ctype_members.cc
15811       CMESSAGES_H=config/locale/generic/messages_members.h
15812       CMESSAGES_CC=config/locale/generic/messages_members.cc
15813       CMONEY_CC=config/locale/generic/monetary_members.cc
15814       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15815       CTIME_H=config/locale/generic/time_members.h
15816       CTIME_CC=config/locale/generic/time_members.cc
15817       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15818       ;;
15819
15820     gnu)
15821       { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15822 $as_echo "gnu" >&6; }
15823
15824       # Declare intention to use gettext, and add support for specific
15825       # languages.
15826       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15827       ALL_LINGUAS="de fr"
15828
15829       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15830       # Extract the first word of "msgfmt", so it can be a program name with args.
15831 set dummy msgfmt; ac_word=$2
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15833 $as_echo_n "checking for $ac_word... " >&6; }
15834 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15835   $as_echo_n "(cached) " >&6
15836 else
15837   if test -n "$check_msgfmt"; then
15838   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15839 else
15840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15841 for as_dir in $PATH
15842 do
15843   IFS=$as_save_IFS
15844   test -z "$as_dir" && as_dir=.
15845     for ac_exec_ext in '' $ac_executable_extensions; do
15846   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15847     ac_cv_prog_check_msgfmt="yes"
15848     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15849     break 2
15850   fi
15851 done
15852   done
15853 IFS=$as_save_IFS
15854
15855   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15856 fi
15857 fi
15858 check_msgfmt=$ac_cv_prog_check_msgfmt
15859 if test -n "$check_msgfmt"; then
15860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15861 $as_echo "$check_msgfmt" >&6; }
15862 else
15863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15864 $as_echo "no" >&6; }
15865 fi
15866
15867
15868       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15869         USE_NLS=yes
15870       fi
15871       # Export the build objects.
15872       for ling in $ALL_LINGUAS; do \
15873         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15874         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15875       done
15876
15877
15878
15879       CLOCALE_H=config/locale/gnu/c_locale.h
15880       CLOCALE_CC=config/locale/gnu/c_locale.cc
15881       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15882       CCOLLATE_CC=config/locale/gnu/collate_members.cc
15883       CCTYPE_CC=config/locale/gnu/ctype_members.cc
15884       CMESSAGES_H=config/locale/gnu/messages_members.h
15885       CMESSAGES_CC=config/locale/gnu/messages_members.cc
15886       CMONEY_CC=config/locale/gnu/monetary_members.cc
15887       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15888       CTIME_H=config/locale/gnu/time_members.h
15889       CTIME_CC=config/locale/gnu/time_members.cc
15890       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15891       ;;
15892     ieee_1003.1-2001)
15893       { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15894 $as_echo "IEEE 1003.1" >&6; }
15895
15896       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15897       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15898       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15899       CCOLLATE_CC=config/locale/generic/collate_members.cc
15900       CCTYPE_CC=config/locale/generic/ctype_members.cc
15901       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15902       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15903       CMONEY_CC=config/locale/generic/monetary_members.cc
15904       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15905       CTIME_H=config/locale/generic/time_members.h
15906       CTIME_CC=config/locale/generic/time_members.cc
15907       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15908       ;;
15909   esac
15910
15911   # This is where the testsuite looks for locale catalogs, using the
15912   # -DLOCALEDIR define during testsuite compilation.
15913   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15914
15915
15916   # A standalone libintl (e.g., GNU libintl) may be in use.
15917   if test $USE_NLS = yes; then
15918     for ac_header in libintl.h
15919 do :
15920   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15921 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15922   cat >>confdefs.h <<_ACEOF
15923 #define HAVE_LIBINTL_H 1
15924 _ACEOF
15925
15926 else
15927   USE_NLS=no
15928 fi
15929
15930 done
15931
15932     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15933 $as_echo_n "checking for library containing gettext... " >&6; }
15934 if test "${ac_cv_search_gettext+set}" = set; then :
15935   $as_echo_n "(cached) " >&6
15936 else
15937   ac_func_search_save_LIBS=$LIBS
15938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15939 /* end confdefs.h.  */
15940
15941 /* Override any GCC internal prototype to avoid an error.
15942    Use char because int might match the return type of a GCC
15943    builtin and then its argument prototype would still apply.  */
15944 #ifdef __cplusplus
15945 extern "C"
15946 #endif
15947 char gettext ();
15948 int
15949 main ()
15950 {
15951 return gettext ();
15952   ;
15953   return 0;
15954 }
15955 _ACEOF
15956 for ac_lib in '' intl; do
15957   if test -z "$ac_lib"; then
15958     ac_res="none required"
15959   else
15960     ac_res=-l$ac_lib
15961     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15962   fi
15963   if test x$gcc_no_link = xyes; then
15964   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15965 fi
15966 if ac_fn_c_try_link "$LINENO"; then :
15967   ac_cv_search_gettext=$ac_res
15968 fi
15969 rm -f core conftest.err conftest.$ac_objext \
15970     conftest$ac_exeext
15971   if test "${ac_cv_search_gettext+set}" = set; then :
15972   break
15973 fi
15974 done
15975 if test "${ac_cv_search_gettext+set}" = set; then :
15976
15977 else
15978   ac_cv_search_gettext=no
15979 fi
15980 rm conftest.$ac_ext
15981 LIBS=$ac_func_search_save_LIBS
15982 fi
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15984 $as_echo "$ac_cv_search_gettext" >&6; }
15985 ac_res=$ac_cv_search_gettext
15986 if test "$ac_res" != no; then :
15987   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15988
15989 else
15990   USE_NLS=no
15991 fi
15992
15993   fi
15994   if test $USE_NLS = yes; then
15995
15996 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
15997
15998   fi
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16016 $as_echo_n "checking for std::allocator base class... " >&6; }
16017    # Check whether --enable-libstdcxx-allocator was given.
16018 if test "${enable_libstdcxx_allocator+set}" = set; then :
16019   enableval=$enable_libstdcxx_allocator;
16020       case "$enableval" in
16021        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16022        *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16023                           esac
16024
16025 else
16026   enable_libstdcxx_allocator=auto
16027 fi
16028
16029
16030
16031   # If they didn't use this option switch, or if they specified --enable
16032   # with no specific model, we'll have to look for one.  If they
16033   # specified --disable (???), do likewise.
16034   if test $enable_libstdcxx_allocator = no ||
16035      test $enable_libstdcxx_allocator = yes;
16036   then
16037      enable_libstdcxx_allocator=auto
16038   fi
16039
16040   # Either a known package, or "auto". Auto implies the default choice
16041   # for a particular platform.
16042   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16043
16044   # Probe for host-specific support if no specific model is specified.
16045   # Default to "new".
16046   if test $enable_libstdcxx_allocator_flag = auto; then
16047     case ${target_os} in
16048       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16049         enable_libstdcxx_allocator_flag=new
16050         ;;
16051       *)
16052         enable_libstdcxx_allocator_flag=new
16053         ;;
16054     esac
16055   fi
16056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16057 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16058
16059
16060   # Set configure bits for specified locale package
16061   case ${enable_libstdcxx_allocator_flag} in
16062     bitmap)
16063       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16064       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16065       ;;
16066     malloc)
16067       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16068       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16069       ;;
16070     mt)
16071       ALLOCATOR_H=config/allocator/mt_allocator_base.h
16072       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16073       ;;
16074     new)
16075       ALLOCATOR_H=config/allocator/new_allocator_base.h
16076       ALLOCATOR_NAME=__gnu_cxx::new_allocator
16077       ;;
16078     pool)
16079       ALLOCATOR_H=config/allocator/pool_allocator_base.h
16080       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16081       ;;
16082   esac
16083
16084
16085
16086
16087
16088    # Check whether --enable-cheaders was given.
16089 if test "${enable_cheaders+set}" = set; then :
16090   enableval=$enable_cheaders;
16091       case "$enableval" in
16092        c|c_std|c_global) ;;
16093        *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16094                           esac
16095
16096 else
16097   enable_cheaders=$c_model
16098 fi
16099
16100
16101   { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16102 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16103
16104   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16105
16106   # Allow overrides to configure.host here.
16107   if test $enable_cheaders = c_global; then
16108      c_compatibility=yes
16109   fi
16110
16111
16112
16113
16114
16115
16116
16117    # Check whether --enable-long-long was given.
16118 if test "${enable_long_long+set}" = set; then :
16119   enableval=$enable_long_long;
16120       case "$enableval" in
16121        yes|no) ;;
16122        *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16123       esac
16124
16125 else
16126   enable_long_long=yes
16127 fi
16128
16129
16130   if test $enable_long_long = yes; then
16131
16132 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16133
16134   fi
16135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16136 $as_echo_n "checking for enabled long long specializations... " >&6; }
16137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16138 $as_echo "$enable_long_long" >&6; }
16139
16140
16141    # Check whether --enable-wchar_t was given.
16142 if test "${enable_wchar_t+set}" = set; then :
16143   enableval=$enable_wchar_t;
16144       case "$enableval" in
16145        yes|no) ;;
16146        *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16147       esac
16148
16149 else
16150   enable_wchar_t=yes
16151 fi
16152
16153
16154
16155   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16156   for ac_header in wchar.h
16157 do :
16158   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16159 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16160   cat >>confdefs.h <<_ACEOF
16161 #define HAVE_WCHAR_H 1
16162 _ACEOF
16163  ac_has_wchar_h=yes
16164 else
16165   ac_has_wchar_h=no
16166 fi
16167
16168 done
16169
16170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16171 $as_echo_n "checking for mbstate_t... " >&6; }
16172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16173 /* end confdefs.h.  */
16174 #include <wchar.h>
16175 int
16176 main ()
16177 {
16178 mbstate_t teststate;
16179   ;
16180   return 0;
16181 }
16182 _ACEOF
16183 if ac_fn_c_try_compile "$LINENO"; then :
16184   have_mbstate_t=yes
16185 else
16186   have_mbstate_t=no
16187 fi
16188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16190 $as_echo "$have_mbstate_t" >&6; }
16191   if test x"$have_mbstate_t" = xyes; then
16192
16193 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16194
16195   fi
16196
16197   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16198   # ac_has_wchar_h.
16199   for ac_header in wctype.h
16200 do :
16201   ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16202 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16203   cat >>confdefs.h <<_ACEOF
16204 #define HAVE_WCTYPE_H 1
16205 _ACEOF
16206  ac_has_wctype_h=yes
16207 else
16208   ac_has_wctype_h=no
16209 fi
16210
16211 done
16212
16213
16214   if test x"$enable_wchar_t" = x"yes"; then
16215
16216
16217     ac_ext=cpp
16218 ac_cpp='$CXXCPP $CPPFLAGS'
16219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16222
16223
16224     if test x"$ac_has_wchar_h" = xyes &&
16225        test x"$ac_has_wctype_h" = xyes; then
16226       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16227 /* end confdefs.h.  */
16228 #include <wchar.h>
16229                       #include <stddef.h>
16230                       wint_t i;
16231                       long l = WEOF;
16232                       long j = WCHAR_MIN;
16233                       long k = WCHAR_MAX;
16234                       namespace test
16235                       {
16236                         using ::btowc;
16237                         using ::fgetwc;
16238                         using ::fgetws;
16239                         using ::fputwc;
16240                         using ::fputws;
16241                         using ::fwide;
16242                         using ::fwprintf;
16243                         using ::fwscanf;
16244                         using ::getwc;
16245                         using ::getwchar;
16246                         using ::mbrlen;
16247                         using ::mbrtowc;
16248                         using ::mbsinit;
16249                         using ::mbsrtowcs;
16250                         using ::putwc;
16251                         using ::putwchar;
16252                         using ::swprintf;
16253                         using ::swscanf;
16254                         using ::ungetwc;
16255                         using ::vfwprintf;
16256                         using ::vswprintf;
16257                         using ::vwprintf;
16258                         using ::wcrtomb;
16259                         using ::wcscat;
16260                         using ::wcschr;
16261                         using ::wcscmp;
16262                         using ::wcscoll;
16263                         using ::wcscpy;
16264                         using ::wcscspn;
16265                         using ::wcsftime;
16266                         using ::wcslen;
16267                         using ::wcsncat;
16268                         using ::wcsncmp;
16269                         using ::wcsncpy;
16270                         using ::wcspbrk;
16271                         using ::wcsrchr;
16272                         using ::wcsrtombs;
16273                         using ::wcsspn;
16274                         using ::wcsstr;
16275                         using ::wcstod;
16276                         using ::wcstok;
16277                         using ::wcstol;
16278                         using ::wcstoul;
16279                         using ::wcsxfrm;
16280                         using ::wctob;
16281                         using ::wmemchr;
16282                         using ::wmemcmp;
16283                         using ::wmemcpy;
16284                         using ::wmemmove;
16285                         using ::wmemset;
16286                         using ::wprintf;
16287                         using ::wscanf;
16288                       }
16289
16290 int
16291 main ()
16292 {
16293
16294   ;
16295   return 0;
16296 }
16297 _ACEOF
16298 if ac_fn_cxx_try_compile "$LINENO"; then :
16299
16300 else
16301   enable_wchar_t=no
16302 fi
16303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16304     else
16305       enable_wchar_t=no
16306     fi
16307
16308     ac_ext=c
16309 ac_cpp='$CPP $CPPFLAGS'
16310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16313
16314   fi
16315
16316   if test x"$enable_wchar_t" = x"yes"; then
16317
16318 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16319
16320   fi
16321
16322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16323 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16325 $as_echo "$enable_wchar_t" >&6; }
16326
16327
16328
16329    # Check whether --enable-c99 was given.
16330 if test "${enable_c99+set}" = set; then :
16331   enableval=$enable_c99;
16332       case "$enableval" in
16333        yes|no) ;;
16334        *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16335       esac
16336
16337 else
16338   enable_c99=yes
16339 fi
16340
16341
16342
16343   if test x"$enable_c99" = x"yes"; then
16344
16345
16346   ac_ext=cpp
16347 ac_cpp='$CXXCPP $CPPFLAGS'
16348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16351
16352
16353   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16354   # undefined and fake C99 facilities - like pre-standard snprintf - may be
16355   # spuriously enabled.
16356   # Long term, -std=c++0x could be even better, could manage to explicitely
16357   # request C99 facilities to the underlying C headers.
16358   ac_save_CXXFLAGS="$CXXFLAGS"
16359   CXXFLAGS="$CXXFLAGS -std=c++98"
16360   ac_save_LIBS="$LIBS"
16361   ac_save_gcc_no_link="$gcc_no_link"
16362
16363   if test x$gcc_no_link != xyes; then
16364     # Use -fno-exceptions to that the C driver can link these tests without
16365     # hitting undefined references to personality routines.
16366     CXXFLAGS="$CXXFLAGS -fno-exceptions"
16367     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16368 $as_echo_n "checking for sin in -lm... " >&6; }
16369 if test "${ac_cv_lib_m_sin+set}" = set; then :
16370   $as_echo_n "(cached) " >&6
16371 else
16372   ac_check_lib_save_LIBS=$LIBS
16373 LIBS="-lm  $LIBS"
16374 if test x$gcc_no_link = xyes; then
16375   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16376 fi
16377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16378 /* end confdefs.h.  */
16379
16380 /* Override any GCC internal prototype to avoid an error.
16381    Use char because int might match the return type of a GCC
16382    builtin and then its argument prototype would still apply.  */
16383 #ifdef __cplusplus
16384 extern "C"
16385 #endif
16386 char sin ();
16387 int
16388 main ()
16389 {
16390 return sin ();
16391   ;
16392   return 0;
16393 }
16394 _ACEOF
16395 if ac_fn_cxx_try_link "$LINENO"; then :
16396   ac_cv_lib_m_sin=yes
16397 else
16398   ac_cv_lib_m_sin=no
16399 fi
16400 rm -f core conftest.err conftest.$ac_objext \
16401     conftest$ac_exeext conftest.$ac_ext
16402 LIBS=$ac_check_lib_save_LIBS
16403 fi
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16405 $as_echo "$ac_cv_lib_m_sin" >&6; }
16406 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16407
16408       LIBS="$LIBS -lm"
16409
16410 else
16411
16412       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16413       gcc_no_link=yes
16414
16415 fi
16416
16417   fi
16418
16419   # Check for the existence of <math.h> functions used if C99 is enabled.
16420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16421 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16422   if test "${glibcxx_cv_c99_math+set}" = set; then :
16423   $as_echo_n "(cached) " >&6
16424 else
16425
16426   if test x$gcc_no_link = xyes; then
16427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16428 /* end confdefs.h.  */
16429 #include <math.h>
16430       volatile double d1, d2;
16431       volatile int i;
16432 int
16433 main ()
16434 {
16435 i = fpclassify(d1);
16436       i = isfinite(d1);
16437       i = isinf(d1);
16438       i = isnan(d1);
16439       i = isnormal(d1);
16440       i = signbit(d1);
16441       i = isgreater(d1, d2);
16442       i = isgreaterequal(d1, d2);
16443       i = isless(d1, d2);
16444       i = islessequal(d1, d2);
16445       i = islessgreater(d1, d2);
16446       i = islessgreater(d1, d2);
16447       i = isunordered(d1, d2);
16448
16449   ;
16450   return 0;
16451 }
16452 _ACEOF
16453 if ac_fn_cxx_try_compile "$LINENO"; then :
16454   glibcxx_cv_c99_math=yes
16455 else
16456   glibcxx_cv_c99_math=no
16457 fi
16458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16459 else
16460   if test x$gcc_no_link = xyes; then
16461   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16462 fi
16463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16464 /* end confdefs.h.  */
16465 #include <math.h>
16466       volatile double d1, d2;
16467       volatile int i;
16468 int
16469 main ()
16470 {
16471 i = fpclassify(d1);
16472       i = isfinite(d1);
16473       i = isinf(d1);
16474       i = isnan(d1);
16475       i = isnormal(d1);
16476       i = signbit(d1);
16477       i = isgreater(d1, d2);
16478       i = isgreaterequal(d1, d2);
16479       i = isless(d1, d2);
16480       i = islessequal(d1, d2);
16481       i = islessgreater(d1, d2);
16482       i = islessgreater(d1, d2);
16483       i = isunordered(d1, d2);
16484
16485   ;
16486   return 0;
16487 }
16488 _ACEOF
16489 if ac_fn_cxx_try_link "$LINENO"; then :
16490   glibcxx_cv_c99_math=yes
16491 else
16492   glibcxx_cv_c99_math=no
16493 fi
16494 rm -f core conftest.err conftest.$ac_objext \
16495     conftest$ac_exeext conftest.$ac_ext
16496 fi
16497
16498 fi
16499
16500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16501 $as_echo "$glibcxx_cv_c99_math" >&6; }
16502   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16503
16504 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16505
16506   fi
16507
16508   # Check for the existence of <complex.h> complex math functions.
16509   # This is necessary even though libstdc++ uses the builtin versions
16510   # of these functions, because if the builtin cannot be used, a reference
16511   # to the library function is emitted.
16512   for ac_header in tgmath.h
16513 do :
16514   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16515 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16516   cat >>confdefs.h <<_ACEOF
16517 #define HAVE_TGMATH_H 1
16518 _ACEOF
16519  ac_has_tgmath_h=yes
16520 else
16521   ac_has_tgmath_h=no
16522 fi
16523
16524 done
16525
16526   for ac_header in complex.h
16527 do :
16528   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16529 if test "x$ac_cv_header_complex_h" = x""yes; then :
16530   cat >>confdefs.h <<_ACEOF
16531 #define HAVE_COMPLEX_H 1
16532 _ACEOF
16533  ac_has_complex_h=yes
16534 else
16535   ac_has_complex_h=no
16536 fi
16537
16538 done
16539
16540   glibcxx_cv_c99_complex=no;
16541   if test x"$ac_has_complex_h" = x"yes"; then
16542     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16543 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16544     if test x$gcc_no_link = xyes; then
16545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16546 /* end confdefs.h.  */
16547 #include <complex.h>
16548         typedef __complex__ float float_type;
16549         typedef __complex__ double double_type;
16550         typedef __complex__ long double ld_type;
16551         volatile float_type tmpf;
16552         volatile double_type tmpd;
16553         volatile ld_type tmpld;
16554         volatile float f;
16555         volatile double d;
16556         volatile long double ld;
16557 int
16558 main ()
16559 {
16560 f = cabsf(tmpf);
16561         f = cargf(tmpf);
16562         tmpf = ccosf(tmpf);
16563         tmpf = ccoshf(tmpf);
16564         tmpf = cexpf(tmpf);
16565         tmpf = clogf(tmpf);
16566         tmpf = csinf(tmpf);
16567         tmpf = csinhf(tmpf);
16568         tmpf = csqrtf(tmpf);
16569         tmpf = ctanf(tmpf);
16570         tmpf = ctanhf(tmpf);
16571         tmpf = cpowf(tmpf, tmpf);
16572         tmpf = cprojf(tmpf);
16573         d = cabs(tmpd);
16574         d = carg(tmpd);
16575         tmpd = ccos(tmpd);
16576         tmpd = ccosh(tmpd);
16577         tmpd = cexp(tmpd);
16578         tmpd = clog(tmpd);
16579         tmpd = csin(tmpd);
16580         tmpd = csinh(tmpd);
16581         tmpd = csqrt(tmpd);
16582         tmpd = ctan(tmpd);
16583         tmpd = ctanh(tmpd);
16584         tmpd = cpow(tmpd, tmpd);
16585         tmpd = cproj(tmpd);
16586         ld = cabsl(tmpld);
16587         ld = cargl(tmpld);
16588         tmpld = ccosl(tmpld);
16589         tmpld = ccoshl(tmpld);
16590         tmpld = cexpl(tmpld);
16591         tmpld = clogl(tmpld);
16592         tmpld = csinl(tmpld);
16593         tmpld = csinhl(tmpld);
16594         tmpld = csqrtl(tmpld);
16595         tmpld = ctanl(tmpld);
16596         tmpld = ctanhl(tmpld);
16597         tmpld = cpowl(tmpld, tmpld);
16598         tmpld = cprojl(tmpld);
16599
16600   ;
16601   return 0;
16602 }
16603 _ACEOF
16604 if ac_fn_cxx_try_compile "$LINENO"; then :
16605   glibcxx_cv_c99_complex=yes
16606 else
16607   glibcxx_cv_c99_complex=no
16608 fi
16609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16610 else
16611   if test x$gcc_no_link = xyes; then
16612   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16613 fi
16614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16615 /* end confdefs.h.  */
16616 #include <complex.h>
16617         typedef __complex__ float float_type;
16618         typedef __complex__ double double_type;
16619         typedef __complex__ long double ld_type;
16620         volatile float_type tmpf;
16621         volatile double_type tmpd;
16622         volatile ld_type tmpld;
16623         volatile float f;
16624         volatile double d;
16625         volatile long double ld;
16626 int
16627 main ()
16628 {
16629 f = cabsf(tmpf);
16630         f = cargf(tmpf);
16631         tmpf = ccosf(tmpf);
16632         tmpf = ccoshf(tmpf);
16633         tmpf = cexpf(tmpf);
16634         tmpf = clogf(tmpf);
16635         tmpf = csinf(tmpf);
16636         tmpf = csinhf(tmpf);
16637         tmpf = csqrtf(tmpf);
16638         tmpf = ctanf(tmpf);
16639         tmpf = ctanhf(tmpf);
16640         tmpf = cpowf(tmpf, tmpf);
16641         tmpf = cprojf(tmpf);
16642         d = cabs(tmpd);
16643         d = carg(tmpd);
16644         tmpd = ccos(tmpd);
16645         tmpd = ccosh(tmpd);
16646         tmpd = cexp(tmpd);
16647         tmpd = clog(tmpd);
16648         tmpd = csin(tmpd);
16649         tmpd = csinh(tmpd);
16650         tmpd = csqrt(tmpd);
16651         tmpd = ctan(tmpd);
16652         tmpd = ctanh(tmpd);
16653         tmpd = cpow(tmpd, tmpd);
16654         tmpd = cproj(tmpd);
16655         ld = cabsl(tmpld);
16656         ld = cargl(tmpld);
16657         tmpld = ccosl(tmpld);
16658         tmpld = ccoshl(tmpld);
16659         tmpld = cexpl(tmpld);
16660         tmpld = clogl(tmpld);
16661         tmpld = csinl(tmpld);
16662         tmpld = csinhl(tmpld);
16663         tmpld = csqrtl(tmpld);
16664         tmpld = ctanl(tmpld);
16665         tmpld = ctanhl(tmpld);
16666         tmpld = cpowl(tmpld, tmpld);
16667         tmpld = cprojl(tmpld);
16668
16669   ;
16670   return 0;
16671 }
16672 _ACEOF
16673 if ac_fn_cxx_try_link "$LINENO"; then :
16674   glibcxx_cv_c99_complex=yes
16675 else
16676   glibcxx_cv_c99_complex=no
16677 fi
16678 rm -f core conftest.err conftest.$ac_objext \
16679     conftest$ac_exeext conftest.$ac_ext
16680 fi
16681   fi
16682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16683 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16684   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16685
16686 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16687
16688   fi
16689
16690   # Check for the existence in <stdio.h> of vscanf, et. al.
16691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16692 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16693   if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16694   $as_echo_n "(cached) " >&6
16695 else
16696
16697   if test x$gcc_no_link = xyes; then
16698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16699 /* end confdefs.h.  */
16700 #include <stdio.h>
16701       #include <stdarg.h>
16702       void foo(char* fmt, ...)
16703       {
16704         va_list args; va_start(args, fmt);
16705         vfscanf(stderr, "%i", args);
16706         vscanf("%i", args);
16707         vsnprintf(fmt, 0, "%i", args);
16708         vsscanf(fmt, "%i", args);
16709       }
16710 int
16711 main ()
16712 {
16713 snprintf("12", 0, "%i");
16714   ;
16715   return 0;
16716 }
16717 _ACEOF
16718 if ac_fn_cxx_try_compile "$LINENO"; then :
16719   glibcxx_cv_c99_stdio=yes
16720 else
16721   glibcxx_cv_c99_stdio=no
16722 fi
16723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16724 else
16725   if test x$gcc_no_link = xyes; then
16726   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16727 fi
16728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16729 /* end confdefs.h.  */
16730 #include <stdio.h>
16731       #include <stdarg.h>
16732       void foo(char* fmt, ...)
16733       {
16734         va_list args; va_start(args, fmt);
16735         vfscanf(stderr, "%i", args);
16736         vscanf("%i", args);
16737         vsnprintf(fmt, 0, "%i", args);
16738         vsscanf(fmt, "%i", args);
16739       }
16740 int
16741 main ()
16742 {
16743 snprintf("12", 0, "%i");
16744   ;
16745   return 0;
16746 }
16747 _ACEOF
16748 if ac_fn_cxx_try_link "$LINENO"; then :
16749   glibcxx_cv_c99_stdio=yes
16750 else
16751   glibcxx_cv_c99_stdio=no
16752 fi
16753 rm -f core conftest.err conftest.$ac_objext \
16754     conftest$ac_exeext conftest.$ac_ext
16755 fi
16756
16757 fi
16758
16759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16760 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16761
16762   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16764 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16765   if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16766   $as_echo_n "(cached) " >&6
16767 else
16768
16769   if test x$gcc_no_link = xyes; then
16770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16771 /* end confdefs.h.  */
16772 #include <stdlib.h>
16773       volatile float f;
16774       volatile long double ld;
16775       volatile unsigned long long ll;
16776       lldiv_t mydivt;
16777 int
16778 main ()
16779 {
16780 char* tmp;
16781       f = strtof("gnu", &tmp);
16782       ld = strtold("gnu", &tmp);
16783       ll = strtoll("gnu", &tmp, 10);
16784       ll = strtoull("gnu", &tmp, 10);
16785       ll = llabs(10);
16786       mydivt = lldiv(10,1);
16787       ll = mydivt.quot;
16788       ll = mydivt.rem;
16789       ll = atoll("10");
16790       _Exit(0);
16791
16792   ;
16793   return 0;
16794 }
16795 _ACEOF
16796 if ac_fn_cxx_try_compile "$LINENO"; then :
16797   glibcxx_cv_c99_stdlib=yes
16798 else
16799   glibcxx_cv_c99_stdlib=no
16800 fi
16801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16802 else
16803   if test x$gcc_no_link = xyes; then
16804   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16805 fi
16806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16807 /* end confdefs.h.  */
16808 #include <stdlib.h>
16809       volatile float f;
16810       volatile long double ld;
16811       volatile unsigned long long ll;
16812       lldiv_t mydivt;
16813 int
16814 main ()
16815 {
16816 char* tmp;
16817       f = strtof("gnu", &tmp);
16818       ld = strtold("gnu", &tmp);
16819       ll = strtoll("gnu", &tmp, 10);
16820       ll = strtoull("gnu", &tmp, 10);
16821       ll = llabs(10);
16822       mydivt = lldiv(10,1);
16823       ll = mydivt.quot;
16824       ll = mydivt.rem;
16825       ll = atoll("10");
16826       _Exit(0);
16827
16828   ;
16829   return 0;
16830 }
16831 _ACEOF
16832 if ac_fn_cxx_try_link "$LINENO"; then :
16833   glibcxx_cv_c99_stdlib=yes
16834 else
16835   glibcxx_cv_c99_stdlib=no
16836 fi
16837 rm -f core conftest.err conftest.$ac_objext \
16838     conftest$ac_exeext conftest.$ac_ext
16839 fi
16840
16841 fi
16842
16843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16844 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16845
16846   # Check for the existence in <wchar.h> of wcstold, etc.
16847   glibcxx_cv_c99_wchar=no;
16848   if test x"$ac_has_wchar_h" = xyes &&
16849      test x"$ac_has_wctype_h" = xyes; then
16850     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16851 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16852     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16853 /* end confdefs.h.  */
16854 #include <wchar.h>
16855                     namespace test
16856                     {
16857                       using ::wcstold;
16858                       using ::wcstoll;
16859                       using ::wcstoull;
16860                     }
16861
16862 int
16863 main ()
16864 {
16865
16866   ;
16867   return 0;
16868 }
16869 _ACEOF
16870 if ac_fn_cxx_try_compile "$LINENO"; then :
16871   glibcxx_cv_c99_wchar=yes
16872 else
16873   glibcxx_cv_c99_wchar=no
16874 fi
16875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16876
16877     # Checks for wide character functions that may not be present.
16878     # Injection of these is wrapped with guard macros.
16879     # NB: only put functions here, instead of immediately above, if
16880     # absolutely necessary.
16881     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16882 /* end confdefs.h.  */
16883 #include <wchar.h>
16884                     namespace test { using ::vfwscanf; }
16885 int
16886 main ()
16887 {
16888
16889   ;
16890   return 0;
16891 }
16892 _ACEOF
16893 if ac_fn_cxx_try_compile "$LINENO"; then :
16894
16895 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16896
16897 fi
16898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16899
16900     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16901 /* end confdefs.h.  */
16902 #include <wchar.h>
16903                     namespace test { using ::vswscanf; }
16904 int
16905 main ()
16906 {
16907
16908   ;
16909   return 0;
16910 }
16911 _ACEOF
16912 if ac_fn_cxx_try_compile "$LINENO"; then :
16913
16914 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16915
16916 fi
16917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16918
16919     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16920 /* end confdefs.h.  */
16921 #include <wchar.h>
16922                     namespace test { using ::vwscanf; }
16923 int
16924 main ()
16925 {
16926
16927   ;
16928   return 0;
16929 }
16930 _ACEOF
16931 if ac_fn_cxx_try_compile "$LINENO"; then :
16932
16933 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16934
16935 fi
16936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16937
16938     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16939 /* end confdefs.h.  */
16940 #include <wchar.h>
16941                     namespace test { using ::wcstof; }
16942 int
16943 main ()
16944 {
16945
16946   ;
16947   return 0;
16948 }
16949 _ACEOF
16950 if ac_fn_cxx_try_compile "$LINENO"; then :
16951
16952 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16953
16954 fi
16955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16956
16957     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16958 /* end confdefs.h.  */
16959 #include <wctype.h>
16960 int
16961 main ()
16962 {
16963  wint_t t; int i = iswblank(t);
16964   ;
16965   return 0;
16966 }
16967 _ACEOF
16968 if ac_fn_cxx_try_compile "$LINENO"; then :
16969
16970 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16971
16972 fi
16973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16974
16975     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16976 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16977   fi
16978
16979   # Option parsed, now set things appropriately.
16980   if test x"$glibcxx_cv_c99_math" = x"no" ||
16981      test x"$glibcxx_cv_c99_complex" = x"no" ||
16982      test x"$glibcxx_cv_c99_stdio" = x"no" ||
16983      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16984      test x"$glibcxx_cv_c99_wchar" = x"no"; then
16985     enable_c99=no;
16986   else
16987
16988 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16989
16990   fi
16991
16992   gcc_no_link="$ac_save_gcc_no_link"
16993   LIBS="$ac_save_LIBS"
16994   CXXFLAGS="$ac_save_CXXFLAGS"
16995   ac_ext=c
16996 ac_cpp='$CPP $CPPFLAGS'
16997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17000
17001   fi
17002
17003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17004 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17006 $as_echo "$enable_c99" >&6; }
17007
17008
17009    # Check whether --enable-concept-checks was given.
17010 if test "${enable_concept_checks+set}" = set; then :
17011   enableval=$enable_concept_checks;
17012       case "$enableval" in
17013        yes|no) ;;
17014        *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17015       esac
17016
17017 else
17018   enable_concept_checks=no
17019 fi
17020
17021
17022   if test $enable_concept_checks = yes; then
17023
17024 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17025
17026   fi
17027
17028
17029    # Check whether --enable-libstdcxx-debug-flags was given.
17030 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17031   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17032       xno | x)    enable_libstdcxx_debug_flags= ;;
17033       x-*)        ;;
17034       *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17035      esac
17036 else
17037   enable_libstdcxx_debug_flags="-g3 -O0"
17038 fi
17039
17040
17041
17042   # Option parsed, now set things appropriately
17043   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17044
17045
17046   { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17047 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17048
17049
17050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17051 $as_echo_n "checking for additional debug build... " >&6; }
17052    # Check whether --enable-libstdcxx-debug was given.
17053 if test "${enable_libstdcxx_debug+set}" = set; then :
17054   enableval=$enable_libstdcxx_debug;
17055       case "$enableval" in
17056        yes|no) ;;
17057        *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17058       esac
17059
17060 else
17061   enable_libstdcxx_debug=no
17062 fi
17063
17064
17065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17066 $as_echo "$enable_libstdcxx_debug" >&6; }
17067
17068
17069
17070
17071   enable_parallel=no;
17072
17073   # See if configured libgomp/omp.h exists. (libgomp may be in
17074   # noconfigdirs but not explicitly disabled.)
17075   if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17076     enable_parallel=yes;
17077   else
17078     { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17079 $as_echo "$as_me: target-libgomp not built" >&6;}
17080   fi
17081
17082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17083 $as_echo_n "checking for parallel mode support... " >&6; }
17084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17085 $as_echo "$enable_parallel" >&6; }
17086
17087
17088   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17089 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17090    # Check whether --enable-cxx-flags was given.
17091 if test "${enable_cxx_flags+set}" = set; then :
17092   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17093       xno | x)   enable_cxx_flags= ;;
17094       x-*)       ;;
17095       *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17096      esac
17097 else
17098   enable_cxx_flags=
17099 fi
17100
17101
17102
17103   # Run through flags (either default or command-line) and set anything
17104   # extra (e.g., #defines) that must accompany particular g++ options.
17105   if test -n "$enable_cxx_flags"; then
17106     for f in $enable_cxx_flags; do
17107       case "$f" in
17108         -fhonor-std)  ;;
17109         -*)  ;;
17110         *)   # and we're trying to pass /what/ exactly?
17111              as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17112       esac
17113     done
17114   fi
17115
17116   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17118 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17119
17120
17121
17122    # Check whether --enable-fully-dynamic-string was given.
17123 if test "${enable_fully_dynamic_string+set}" = set; then :
17124   enableval=$enable_fully_dynamic_string;
17125       case "$enableval" in
17126        yes|no) ;;
17127        *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17128       esac
17129
17130 else
17131   enable_fully_dynamic_string=no
17132 fi
17133
17134
17135   if test $enable_fully_dynamic_string = yes; then
17136
17137 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17138
17139   fi
17140
17141
17142
17143    # Check whether --enable-extern-template was given.
17144 if test "${enable_extern_template+set}" = set; then :
17145   enableval=$enable_extern_template;
17146       case "$enableval" in
17147        yes|no) ;;
17148        *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17149       esac
17150
17151 else
17152   enable_extern_template=yes
17153 fi
17154
17155
17156
17157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17158 $as_echo_n "checking for extern template support... " >&6; }
17159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17160 $as_echo "$enable_extern_template" >&6; }
17161
17162
17163
17164
17165 # Checks for operating systems support that doesn't require linking.
17166
17167
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17169 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17170 if test "${glibcxx_cv_system_error1+set}" = set; then :
17171   $as_echo_n "(cached) " >&6
17172 else
17173
17174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17175 /* end confdefs.h.  */
17176 #include <errno.h>
17177 int
17178 main ()
17179 {
17180 int i = EOWNERDEAD;
17181   ;
17182   return 0;
17183 }
17184 _ACEOF
17185 if ac_fn_c_try_compile "$LINENO"; then :
17186   glibcxx_cv_system_error1=yes
17187 else
17188   glibcxx_cv_system_error1=no
17189 fi
17190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17191
17192 fi
17193
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17195 $as_echo "$glibcxx_cv_system_error1" >&6; }
17196 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17197
17198 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17199
17200 fi
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17202 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17203 if test "${glibcxx_cv_system_error2+set}" = set; then :
17204   $as_echo_n "(cached) " >&6
17205 else
17206
17207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h.  */
17209 #include <errno.h>
17210 int
17211 main ()
17212 {
17213 int i = ENOTRECOVERABLE;
17214   ;
17215   return 0;
17216 }
17217 _ACEOF
17218 if ac_fn_c_try_compile "$LINENO"; then :
17219   glibcxx_cv_system_error2=yes
17220 else
17221   glibcxx_cv_system_error2=no
17222 fi
17223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17224
17225 fi
17226
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17228 $as_echo "$glibcxx_cv_system_error2" >&6; }
17229 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17230
17231 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17232
17233 fi
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17235 $as_echo_n "checking for ENOLINK... " >&6; }
17236 if test "${glibcxx_cv_system_error3+set}" = set; then :
17237   $as_echo_n "(cached) " >&6
17238 else
17239
17240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17241 /* end confdefs.h.  */
17242 #include <errno.h>
17243 int
17244 main ()
17245 {
17246 int i = ENOLINK;
17247   ;
17248   return 0;
17249 }
17250 _ACEOF
17251 if ac_fn_c_try_compile "$LINENO"; then :
17252   glibcxx_cv_system_error3=yes
17253 else
17254   glibcxx_cv_system_error3=no
17255 fi
17256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17257
17258 fi
17259
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17261 $as_echo "$glibcxx_cv_system_error3" >&6; }
17262 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17263
17264 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17265
17266 fi
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17268 $as_echo_n "checking for EPROTO... " >&6; }
17269 if test "${glibcxx_cv_system_error4+set}" = set; then :
17270   $as_echo_n "(cached) " >&6
17271 else
17272
17273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17274 /* end confdefs.h.  */
17275 #include <errno.h>
17276 int
17277 main ()
17278 {
17279 int i = EPROTO;
17280   ;
17281   return 0;
17282 }
17283 _ACEOF
17284 if ac_fn_c_try_compile "$LINENO"; then :
17285   glibcxx_cv_system_error4=yes
17286 else
17287   glibcxx_cv_system_error4=no
17288 fi
17289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17290
17291 fi
17292
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17294 $as_echo "$glibcxx_cv_system_error4" >&6; }
17295 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17296
17297 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17298
17299 fi
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17301 $as_echo_n "checking for ENODATA... " >&6; }
17302 if test "${glibcxx_cv_system_error5+set}" = set; then :
17303   $as_echo_n "(cached) " >&6
17304 else
17305
17306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17307 /* end confdefs.h.  */
17308 #include <errno.h>
17309 int
17310 main ()
17311 {
17312 int i = ENODATA;
17313   ;
17314   return 0;
17315 }
17316 _ACEOF
17317 if ac_fn_c_try_compile "$LINENO"; then :
17318   glibcxx_cv_system_error5=yes
17319 else
17320   glibcxx_cv_system_error5=no
17321 fi
17322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17323
17324 fi
17325
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17327 $as_echo "$glibcxx_cv_system_error5" >&6; }
17328 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17329
17330 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17331
17332 fi
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17334 $as_echo_n "checking for ENOSR... " >&6; }
17335 if test "${glibcxx_cv_system_error6+set}" = set; then :
17336   $as_echo_n "(cached) " >&6
17337 else
17338
17339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17340 /* end confdefs.h.  */
17341 #include <errno.h>
17342 int
17343 main ()
17344 {
17345 int i = ENOSR;
17346   ;
17347   return 0;
17348 }
17349 _ACEOF
17350 if ac_fn_c_try_compile "$LINENO"; then :
17351   glibcxx_cv_system_error6=yes
17352 else
17353   glibcxx_cv_system_error6=no
17354 fi
17355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17356
17357 fi
17358
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17360 $as_echo "$glibcxx_cv_system_error6" >&6; }
17361 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17362
17363 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17364
17365 fi
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17367 $as_echo_n "checking for ENOSTR... " >&6; }
17368 if test "${glibcxx_cv_system_error7+set}" = set; then :
17369   $as_echo_n "(cached) " >&6
17370 else
17371
17372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17373 /* end confdefs.h.  */
17374 #include <errno.h>
17375 int
17376 main ()
17377 {
17378 int i = ENOSTR;
17379   ;
17380   return 0;
17381 }
17382 _ACEOF
17383 if ac_fn_c_try_compile "$LINENO"; then :
17384   glibcxx_cv_system_error7=yes
17385 else
17386   glibcxx_cv_system_error7=no
17387 fi
17388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17389
17390 fi
17391
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17393 $as_echo "$glibcxx_cv_system_error7" >&6; }
17394 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17395
17396 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17397
17398 fi
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17400 $as_echo_n "checking for ETIME... " >&6; }
17401 if test "${glibcxx_cv_system_error8+set}" = set; then :
17402   $as_echo_n "(cached) " >&6
17403 else
17404
17405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17406 /* end confdefs.h.  */
17407 #include <errno.h>
17408 int
17409 main ()
17410 {
17411 int i = ETIME;
17412   ;
17413   return 0;
17414 }
17415 _ACEOF
17416 if ac_fn_c_try_compile "$LINENO"; then :
17417   glibcxx_cv_system_error8=yes
17418 else
17419   glibcxx_cv_system_error8=no
17420 fi
17421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17422
17423 fi
17424
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17426 $as_echo "$glibcxx_cv_system_error8" >&6; }
17427 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17428
17429 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17430
17431 fi
17432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17433 $as_echo_n "checking for EBADMSG... " >&6; }
17434 if test "${glibcxx_cv_system_error9+set}" = set; then :
17435   $as_echo_n "(cached) " >&6
17436 else
17437
17438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17439 /* end confdefs.h.  */
17440 #include <errno.h>
17441 int
17442 main ()
17443 {
17444 int i = EBADMSG;
17445   ;
17446   return 0;
17447 }
17448 _ACEOF
17449 if ac_fn_c_try_compile "$LINENO"; then :
17450   glibcxx_cv_system_error9=yes
17451 else
17452   glibcxx_cv_system_error9=no
17453 fi
17454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17455
17456 fi
17457
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17459 $as_echo "$glibcxx_cv_system_error9" >&6; }
17460 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17461
17462 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17463
17464 fi
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17466 $as_echo_n "checking for ECANCELED... " >&6; }
17467 if test "${glibcxx_cv_system_error10+set}" = set; then :
17468   $as_echo_n "(cached) " >&6
17469 else
17470
17471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17472 /* end confdefs.h.  */
17473 #include <errno.h>
17474 int
17475 main ()
17476 {
17477 int i = ECANCELED;
17478   ;
17479   return 0;
17480 }
17481 _ACEOF
17482 if ac_fn_c_try_compile "$LINENO"; then :
17483   glibcxx_cv_system_error10=yes
17484 else
17485   glibcxx_cv_system_error10=no
17486 fi
17487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17488
17489 fi
17490
17491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17492 $as_echo "$glibcxx_cv_system_error10" >&6; }
17493 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17494
17495 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17496
17497 fi
17498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17499 $as_echo_n "checking for EOVERFLOW... " >&6; }
17500 if test "${glibcxx_cv_system_error11+set}" = set; then :
17501   $as_echo_n "(cached) " >&6
17502 else
17503
17504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17505 /* end confdefs.h.  */
17506 #include <errno.h>
17507 int
17508 main ()
17509 {
17510 int i = EOVERFLOW;
17511   ;
17512   return 0;
17513 }
17514 _ACEOF
17515 if ac_fn_c_try_compile "$LINENO"; then :
17516   glibcxx_cv_system_error11=yes
17517 else
17518   glibcxx_cv_system_error11=no
17519 fi
17520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17521
17522 fi
17523
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17525 $as_echo "$glibcxx_cv_system_error11" >&6; }
17526 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17527
17528 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17529
17530 fi
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17532 $as_echo_n "checking for ENOTSUP... " >&6; }
17533 if test "${glibcxx_cv_system_error12+set}" = set; then :
17534   $as_echo_n "(cached) " >&6
17535 else
17536
17537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17538 /* end confdefs.h.  */
17539 #include <errno.h>
17540 int
17541 main ()
17542 {
17543 int i = ENOTSUP;
17544   ;
17545   return 0;
17546 }
17547 _ACEOF
17548 if ac_fn_c_try_compile "$LINENO"; then :
17549   glibcxx_cv_system_error12=yes
17550 else
17551   glibcxx_cv_system_error12=no
17552 fi
17553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17554
17555 fi
17556
17557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17558 $as_echo "$glibcxx_cv_system_error12" >&6; }
17559 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17560
17561 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17562
17563 fi
17564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17565 $as_echo_n "checking for EIDRM... " >&6; }
17566 if test "${glibcxx_cv_system_error13+set}" = set; then :
17567   $as_echo_n "(cached) " >&6
17568 else
17569
17570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17571 /* end confdefs.h.  */
17572 #include <errno.h>
17573 int
17574 main ()
17575 {
17576 int i = EIDRM;
17577   ;
17578   return 0;
17579 }
17580 _ACEOF
17581 if ac_fn_c_try_compile "$LINENO"; then :
17582   glibcxx_cv_system_error13=yes
17583 else
17584   glibcxx_cv_system_error13=no
17585 fi
17586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17587
17588 fi
17589
17590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17591 $as_echo "$glibcxx_cv_system_error13" >&6; }
17592 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17593
17594 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17595
17596 fi
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17598 $as_echo_n "checking for ETXTBSY... " >&6; }
17599 if test "${glibcxx_cv_system_error14+set}" = set; then :
17600   $as_echo_n "(cached) " >&6
17601 else
17602
17603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17604 /* end confdefs.h.  */
17605 #include <errno.h>
17606 int
17607 main ()
17608 {
17609 int i = ETXTBSY;
17610   ;
17611   return 0;
17612 }
17613 _ACEOF
17614 if ac_fn_c_try_compile "$LINENO"; then :
17615   glibcxx_cv_system_error14=yes
17616 else
17617   glibcxx_cv_system_error14=no
17618 fi
17619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17620
17621 fi
17622
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17624 $as_echo "$glibcxx_cv_system_error14" >&6; }
17625 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17626
17627 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17628
17629 fi
17630
17631
17632
17633 # For the streamoff typedef.
17634
17635
17636
17637   ac_ext=cpp
17638 ac_cpp='$CXXCPP $CPPFLAGS'
17639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17642
17643
17644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17645 $as_echo_n "checking for int64_t... " >&6; }
17646   if test "${glibcxx_cv_INT64_T+set}" = set; then :
17647   $as_echo_n "(cached) " >&6
17648 else
17649
17650     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17651 /* end confdefs.h.  */
17652 #include <stdint.h>
17653 int
17654 main ()
17655 {
17656 int64_t var;
17657   ;
17658   return 0;
17659 }
17660 _ACEOF
17661 if ac_fn_cxx_try_compile "$LINENO"; then :
17662   glibcxx_cv_INT64_T=yes
17663 else
17664   glibcxx_cv_INT64_T=no
17665 fi
17666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17667
17668 fi
17669
17670
17671   if test $glibcxx_cv_INT64_T = yes; then
17672
17673 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17674
17675     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17676 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17677
17678     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17679 $as_echo_n "checking for int64_t as long... " >&6; }
17680     if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17681   $as_echo_n "(cached) " >&6
17682 else
17683
17684       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17685 /* end confdefs.h.  */
17686 #include <stdint.h>
17687         template<typename, typename> struct same { enum { value = -1 }; };
17688         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17689         int array[same<int64_t, long>::value];
17690 int
17691 main ()
17692 {
17693
17694   ;
17695   return 0;
17696 }
17697 _ACEOF
17698 if ac_fn_cxx_try_compile "$LINENO"; then :
17699   glibcxx_cv_int64_t_long=yes
17700 else
17701   glibcxx_cv_int64_t_long=no
17702 fi
17703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17704
17705 fi
17706
17707
17708     if test $glibcxx_cv_int64_t_long = yes; then
17709
17710 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17711
17712       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17713 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17714     fi
17715
17716     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17717 $as_echo_n "checking for int64_t as long long... " >&6; }
17718     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17719   $as_echo_n "(cached) " >&6
17720 else
17721
17722       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17723 /* end confdefs.h.  */
17724 #include <stdint.h>
17725         template<typename, typename> struct same { enum { value = -1 }; };
17726         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17727         int array[same<int64_t, long long>::value];
17728 int
17729 main ()
17730 {
17731
17732   ;
17733   return 0;
17734 }
17735 _ACEOF
17736 if ac_fn_cxx_try_compile "$LINENO"; then :
17737   glibcxx_cv_int64_t_long_long=yes
17738 else
17739   glibcxx_cv_int64_t_long_long=no
17740 fi
17741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17742
17743 fi
17744
17745
17746     if test $glibcxx_cv_int64_t_long_long = yes; then
17747
17748 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17749
17750       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17751 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17752     fi
17753   fi
17754
17755   ac_ext=c
17756 ac_cpp='$CPP $CPPFLAGS'
17757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17760
17761
17762
17763 # For LFS support.
17764
17765
17766   ac_ext=cpp
17767 ac_cpp='$CXXCPP $CPPFLAGS'
17768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17771
17772   ac_save_CXXFLAGS="$CXXFLAGS"
17773   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17775 $as_echo_n "checking for LFS support... " >&6; }
17776   if test "${glibcxx_cv_LFS+set}" = set; then :
17777   $as_echo_n "(cached) " >&6
17778 else
17779
17780     if test x$gcc_no_link = xyes; then
17781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17782 /* end confdefs.h.  */
17783 #include <unistd.h>
17784        #include <stdio.h>
17785        #include <sys/stat.h>
17786
17787 int
17788 main ()
17789 {
17790 FILE* fp;
17791        fopen64("t", "w");
17792        fseeko64(fp, 0, SEEK_CUR);
17793        ftello64(fp);
17794        lseek64(1, 0, SEEK_CUR);
17795        struct stat64 buf;
17796        fstat64(1, &buf);
17797   ;
17798   return 0;
17799 }
17800 _ACEOF
17801 if ac_fn_cxx_try_compile "$LINENO"; then :
17802   glibcxx_cv_LFS=yes
17803 else
17804   glibcxx_cv_LFS=no
17805 fi
17806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17807 else
17808   if test x$gcc_no_link = xyes; then
17809   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17810 fi
17811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17812 /* end confdefs.h.  */
17813 #include <unistd.h>
17814        #include <stdio.h>
17815        #include <sys/stat.h>
17816
17817 int
17818 main ()
17819 {
17820 FILE* fp;
17821        fopen64("t", "w");
17822        fseeko64(fp, 0, SEEK_CUR);
17823        ftello64(fp);
17824        lseek64(1, 0, SEEK_CUR);
17825        struct stat64 buf;
17826        fstat64(1, &buf);
17827   ;
17828   return 0;
17829 }
17830 _ACEOF
17831 if ac_fn_cxx_try_link "$LINENO"; then :
17832   glibcxx_cv_LFS=yes
17833 else
17834   glibcxx_cv_LFS=no
17835 fi
17836 rm -f core conftest.err conftest.$ac_objext \
17837     conftest$ac_exeext conftest.$ac_ext
17838 fi
17839
17840 fi
17841
17842   if test $glibcxx_cv_LFS = yes; then
17843
17844 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17845
17846   fi
17847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17848 $as_echo "$glibcxx_cv_LFS" >&6; }
17849   CXXFLAGS="$ac_save_CXXFLAGS"
17850   ac_ext=c
17851 ac_cpp='$CPP $CPPFLAGS'
17852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17855
17856
17857
17858 # For showmanyc_helper().
17859 for ac_header in sys/ioctl.h sys/filio.h
17860 do :
17861   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17862 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17863 eval as_val=\$$as_ac_Header
17864    if test "x$as_val" = x""yes; then :
17865   cat >>confdefs.h <<_ACEOF
17866 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17867 _ACEOF
17868
17869 fi
17870
17871 done
17872
17873
17874
17875
17876   ac_ext=cpp
17877 ac_cpp='$CXXCPP $CPPFLAGS'
17878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17881
17882   ac_save_CXXFLAGS="$CXXFLAGS"
17883   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17884
17885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17886 $as_echo_n "checking for poll... " >&6; }
17887   if test "${glibcxx_cv_POLL+set}" = set; then :
17888   $as_echo_n "(cached) " >&6
17889 else
17890
17891     if test x$gcc_no_link = xyes; then
17892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17893 /* end confdefs.h.  */
17894 #include <poll.h>
17895 int
17896 main ()
17897 {
17898 struct pollfd pfd[1];
17899        pfd[0].events = POLLIN;
17900        poll(pfd, 1, 0);
17901   ;
17902   return 0;
17903 }
17904 _ACEOF
17905 if ac_fn_cxx_try_compile "$LINENO"; then :
17906   glibcxx_cv_POLL=yes
17907 else
17908   glibcxx_cv_POLL=no
17909 fi
17910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17911 else
17912   if test x$gcc_no_link = xyes; then
17913   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17914 fi
17915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17916 /* end confdefs.h.  */
17917 #include <poll.h>
17918 int
17919 main ()
17920 {
17921 struct pollfd pfd[1];
17922        pfd[0].events = POLLIN;
17923        poll(pfd, 1, 0);
17924   ;
17925   return 0;
17926 }
17927 _ACEOF
17928 if ac_fn_cxx_try_link "$LINENO"; then :
17929   glibcxx_cv_POLL=yes
17930 else
17931   glibcxx_cv_POLL=no
17932 fi
17933 rm -f core conftest.err conftest.$ac_objext \
17934     conftest$ac_exeext conftest.$ac_ext
17935 fi
17936
17937 fi
17938
17939   if test $glibcxx_cv_POLL = yes; then
17940
17941 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17942
17943   fi
17944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17945 $as_echo "$glibcxx_cv_POLL" >&6; }
17946
17947   CXXFLAGS="$ac_save_CXXFLAGS"
17948   ac_ext=c
17949 ac_cpp='$CPP $CPPFLAGS'
17950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17953
17954
17955
17956
17957
17958   ac_ext=cpp
17959 ac_cpp='$CXXCPP $CPPFLAGS'
17960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17963
17964   ac_save_CXXFLAGS="$CXXFLAGS"
17965   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17966
17967   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17968 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17969   if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17970   $as_echo_n "(cached) " >&6
17971 else
17972
17973     if test x$gcc_no_link = xyes; then
17974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17975 /* end confdefs.h.  */
17976 #include <sys/stat.h>
17977 int
17978 main ()
17979 {
17980 struct stat buffer;
17981        fstat(0, &buffer);
17982        S_ISREG(buffer.st_mode);
17983   ;
17984   return 0;
17985 }
17986 _ACEOF
17987 if ac_fn_cxx_try_compile "$LINENO"; then :
17988   glibcxx_cv_S_ISREG=yes
17989 else
17990   glibcxx_cv_S_ISREG=no
17991 fi
17992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17993 else
17994   if test x$gcc_no_link = xyes; then
17995   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17996 fi
17997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17998 /* end confdefs.h.  */
17999 #include <sys/stat.h>
18000 int
18001 main ()
18002 {
18003 struct stat buffer;
18004        fstat(0, &buffer);
18005        S_ISREG(buffer.st_mode);
18006   ;
18007   return 0;
18008 }
18009 _ACEOF
18010 if ac_fn_cxx_try_link "$LINENO"; then :
18011   glibcxx_cv_S_ISREG=yes
18012 else
18013   glibcxx_cv_S_ISREG=no
18014 fi
18015 rm -f core conftest.err conftest.$ac_objext \
18016     conftest$ac_exeext conftest.$ac_ext
18017 fi
18018
18019 fi
18020
18021   if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18022   $as_echo_n "(cached) " >&6
18023 else
18024
18025     if test x$gcc_no_link = xyes; then
18026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18027 /* end confdefs.h.  */
18028 #include <sys/stat.h>
18029 int
18030 main ()
18031 {
18032 struct stat buffer;
18033        fstat(0, &buffer);
18034        S_IFREG & buffer.st_mode;
18035   ;
18036   return 0;
18037 }
18038 _ACEOF
18039 if ac_fn_cxx_try_compile "$LINENO"; then :
18040   glibcxx_cv_S_IFREG=yes
18041 else
18042   glibcxx_cv_S_IFREG=no
18043 fi
18044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18045 else
18046   if test x$gcc_no_link = xyes; then
18047   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18048 fi
18049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18050 /* end confdefs.h.  */
18051 #include <sys/stat.h>
18052 int
18053 main ()
18054 {
18055 struct stat buffer;
18056        fstat(0, &buffer);
18057        S_IFREG & buffer.st_mode;
18058   ;
18059   return 0;
18060 }
18061 _ACEOF
18062 if ac_fn_cxx_try_link "$LINENO"; then :
18063   glibcxx_cv_S_IFREG=yes
18064 else
18065   glibcxx_cv_S_IFREG=no
18066 fi
18067 rm -f core conftest.err conftest.$ac_objext \
18068     conftest$ac_exeext conftest.$ac_ext
18069 fi
18070
18071 fi
18072
18073   res=no
18074   if test $glibcxx_cv_S_ISREG = yes; then
18075
18076 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18077
18078     res=S_ISREG
18079   elif test $glibcxx_cv_S_IFREG = yes; then
18080
18081 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18082
18083     res=S_IFREG
18084   fi
18085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18086 $as_echo "$res" >&6; }
18087
18088   CXXFLAGS="$ac_save_CXXFLAGS"
18089   ac_ext=c
18090 ac_cpp='$CPP $CPPFLAGS'
18091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18094
18095
18096
18097 # For xsputn_2().
18098 for ac_header in sys/uio.h
18099 do :
18100   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18101 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18102   cat >>confdefs.h <<_ACEOF
18103 #define HAVE_SYS_UIO_H 1
18104 _ACEOF
18105
18106 fi
18107
18108 done
18109
18110
18111
18112
18113   ac_ext=cpp
18114 ac_cpp='$CXXCPP $CPPFLAGS'
18115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18118
18119   ac_save_CXXFLAGS="$CXXFLAGS"
18120   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18121
18122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18123 $as_echo_n "checking for writev... " >&6; }
18124   if test "${glibcxx_cv_WRITEV+set}" = set; then :
18125   $as_echo_n "(cached) " >&6
18126 else
18127
18128     if test x$gcc_no_link = xyes; then
18129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18130 /* end confdefs.h.  */
18131 #include <sys/uio.h>
18132 int
18133 main ()
18134 {
18135 struct iovec iov[2];
18136        writev(0, iov, 0);
18137   ;
18138   return 0;
18139 }
18140 _ACEOF
18141 if ac_fn_cxx_try_compile "$LINENO"; then :
18142   glibcxx_cv_WRITEV=yes
18143 else
18144   glibcxx_cv_WRITEV=no
18145 fi
18146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18147 else
18148   if test x$gcc_no_link = xyes; then
18149   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18150 fi
18151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18152 /* end confdefs.h.  */
18153 #include <sys/uio.h>
18154 int
18155 main ()
18156 {
18157 struct iovec iov[2];
18158        writev(0, iov, 0);
18159   ;
18160   return 0;
18161 }
18162 _ACEOF
18163 if ac_fn_cxx_try_link "$LINENO"; then :
18164   glibcxx_cv_WRITEV=yes
18165 else
18166   glibcxx_cv_WRITEV=no
18167 fi
18168 rm -f core conftest.err conftest.$ac_objext \
18169     conftest$ac_exeext conftest.$ac_ext
18170 fi
18171
18172 fi
18173
18174   if test $glibcxx_cv_WRITEV = yes; then
18175
18176 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18177
18178   fi
18179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18180 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18181
18182   CXXFLAGS="$ac_save_CXXFLAGS"
18183   ac_ext=c
18184 ac_cpp='$CPP $CPPFLAGS'
18185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18188
18189
18190
18191 # For C99 support to TR1.
18192
18193
18194
18195   ac_ext=cpp
18196 ac_cpp='$CXXCPP $CPPFLAGS'
18197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18200
18201
18202   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18203   # undefined and fake C99 facilities may be spuriously enabled.
18204   ac_save_CXXFLAGS="$CXXFLAGS"
18205   CXXFLAGS="$CXXFLAGS -std=c++98"
18206
18207   # Check for the existence of <complex.h> complex math functions used
18208   # by tr1/complex.
18209   for ac_header in complex.h
18210 do :
18211   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18212 if test "x$ac_cv_header_complex_h" = x""yes; then :
18213   cat >>confdefs.h <<_ACEOF
18214 #define HAVE_COMPLEX_H 1
18215 _ACEOF
18216  ac_has_complex_h=yes
18217 else
18218   ac_has_complex_h=no
18219 fi
18220
18221 done
18222
18223   ac_c99_complex_tr1=no;
18224   if test x"$ac_has_complex_h" = x"yes"; then
18225     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18226 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18227     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18228 /* end confdefs.h.  */
18229 #include <complex.h>
18230 int
18231 main ()
18232 {
18233 typedef __complex__ float float_type; float_type tmpf;
18234                     cacosf(tmpf);
18235                     casinf(tmpf);
18236                     catanf(tmpf);
18237                     cacoshf(tmpf);
18238                     casinhf(tmpf);
18239                     catanhf(tmpf);
18240                     typedef __complex__ double double_type; double_type tmpd;
18241                     cacos(tmpd);
18242                     casin(tmpd);
18243                     catan(tmpd);
18244                     cacosh(tmpd);
18245                     casinh(tmpd);
18246                     catanh(tmpd);
18247                     typedef __complex__ long double ld_type; ld_type tmpld;
18248                     cacosl(tmpld);
18249                     casinl(tmpld);
18250                     catanl(tmpld);
18251                     cacoshl(tmpld);
18252                     casinhl(tmpld);
18253                     catanhl(tmpld);
18254
18255   ;
18256   return 0;
18257 }
18258 _ACEOF
18259 if ac_fn_cxx_try_compile "$LINENO"; then :
18260   ac_c99_complex_tr1=yes
18261 else
18262   ac_c99_complex_tr1=no
18263 fi
18264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18265   fi
18266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18267 $as_echo "$ac_c99_complex_tr1" >&6; }
18268   if test x"$ac_c99_complex_tr1" = x"yes"; then
18269
18270 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18271
18272   fi
18273
18274   # Check for the existence of <ctype.h> functions.
18275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18276 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18277   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18278   $as_echo_n "(cached) " >&6
18279 else
18280
18281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18282 /* end confdefs.h.  */
18283 #include <ctype.h>
18284 int
18285 main ()
18286 {
18287 int ch;
18288                   int ret;
18289                   ret = isblank(ch);
18290
18291   ;
18292   return 0;
18293 }
18294 _ACEOF
18295 if ac_fn_cxx_try_compile "$LINENO"; then :
18296   glibcxx_cv_c99_ctype_tr1=yes
18297 else
18298   glibcxx_cv_c99_ctype_tr1=no
18299 fi
18300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18301
18302 fi
18303
18304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18305 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18306   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18307
18308 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18309
18310   fi
18311
18312   # Check for the existence of <fenv.h> functions.
18313   for ac_header in fenv.h
18314 do :
18315   ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18316 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18317   cat >>confdefs.h <<_ACEOF
18318 #define HAVE_FENV_H 1
18319 _ACEOF
18320  ac_has_fenv_h=yes
18321 else
18322   ac_has_fenv_h=no
18323 fi
18324
18325 done
18326
18327   ac_c99_fenv_tr1=no;
18328   if test x"$ac_has_fenv_h" = x"yes"; then
18329     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18330 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18331     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18332 /* end confdefs.h.  */
18333 #include <fenv.h>
18334 int
18335 main ()
18336 {
18337 int except, mode;
18338                     fexcept_t* pflag;
18339                     fenv_t* penv;
18340                     int ret;
18341                     ret = feclearexcept(except);
18342                     ret = fegetexceptflag(pflag, except);
18343                     ret = feraiseexcept(except);
18344                     ret = fesetexceptflag(pflag, except);
18345                     ret = fetestexcept(except);
18346                     ret = fegetround();
18347                     ret = fesetround(mode);
18348                     ret = fegetenv(penv);
18349                     ret = feholdexcept(penv);
18350                     ret = fesetenv(penv);
18351                     ret = feupdateenv(penv);
18352
18353   ;
18354   return 0;
18355 }
18356 _ACEOF
18357 if ac_fn_cxx_try_compile "$LINENO"; then :
18358   ac_c99_fenv_tr1=yes
18359 else
18360   ac_c99_fenv_tr1=no
18361 fi
18362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18363   fi
18364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18365 $as_echo "$ac_c99_fenv_tr1" >&6; }
18366   if test x"$ac_c99_fenv_tr1" = x"yes"; then
18367
18368 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18369
18370   fi
18371
18372   # Check for the existence of <stdint.h> types.
18373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18374 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18375   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18376   $as_echo_n "(cached) " >&6
18377 else
18378
18379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18380 /* end confdefs.h.  */
18381 #define __STDC_LIMIT_MACROS
18382                   #define __STDC_CONSTANT_MACROS
18383                   #include <stdint.h>
18384 int
18385 main ()
18386 {
18387 typedef int8_t          my_int8_t;
18388                   my_int8_t               i8 = INT8_MIN;
18389                   i8 = INT8_MAX;
18390                   typedef int16_t         my_int16_t;
18391                   my_int16_t              i16 = INT16_MIN;
18392                   i16 = INT16_MAX;
18393                   typedef int32_t         my_int32_t;
18394                   my_int32_t              i32 = INT32_MIN;
18395                   i32 = INT32_MAX;
18396                   typedef int64_t         my_int64_t;
18397                   my_int64_t              i64 = INT64_MIN;
18398                   i64 = INT64_MAX;
18399                   typedef int_fast8_t     my_int_fast8_t;
18400                   my_int_fast8_t          if8 = INT_FAST8_MIN;
18401                   if8 = INT_FAST8_MAX;
18402                   typedef int_fast16_t    my_int_fast16_t;
18403                   my_int_fast16_t         if16 = INT_FAST16_MIN;
18404                   if16 = INT_FAST16_MAX;
18405                   typedef int_fast32_t    my_int_fast32_t;
18406                   my_int_fast32_t         if32 = INT_FAST32_MIN;
18407                   if32 = INT_FAST32_MAX;
18408                   typedef int_fast64_t    my_int_fast64_t;
18409                   my_int_fast64_t         if64 = INT_FAST64_MIN;
18410                   if64 = INT_FAST64_MAX;
18411                   typedef int_least8_t    my_int_least8_t;
18412                   my_int_least8_t         il8 = INT_LEAST8_MIN;
18413                   il8 = INT_LEAST8_MAX;
18414                   typedef int_least16_t   my_int_least16_t;
18415                   my_int_least16_t        il16 = INT_LEAST16_MIN;
18416                   il16 = INT_LEAST16_MAX;
18417                   typedef int_least32_t   my_int_least32_t;
18418                   my_int_least32_t        il32 = INT_LEAST32_MIN;
18419                   il32 = INT_LEAST32_MAX;
18420                   typedef int_least64_t   my_int_least64_t;
18421                   my_int_least64_t        il64 = INT_LEAST64_MIN;
18422                   il64 = INT_LEAST64_MAX;
18423                   typedef intmax_t        my_intmax_t;
18424                   my_intmax_t             im = INTMAX_MAX;
18425                   im = INTMAX_MIN;
18426                   typedef intptr_t        my_intptr_t;
18427                   my_intptr_t             ip = INTPTR_MAX;
18428                   ip = INTPTR_MIN;
18429                   typedef uint8_t         my_uint8_t;
18430                   my_uint8_t              ui8 = UINT8_MAX;
18431                   ui8 = UINT8_MAX;
18432                   typedef uint16_t        my_uint16_t;
18433                   my_uint16_t             ui16 = UINT16_MAX;
18434                   ui16 = UINT16_MAX;
18435                   typedef uint32_t        my_uint32_t;
18436                   my_uint32_t             ui32 = UINT32_MAX;
18437                   ui32 = UINT32_MAX;
18438                   typedef uint64_t        my_uint64_t;
18439                   my_uint64_t             ui64 = UINT64_MAX;
18440                   ui64 = UINT64_MAX;
18441                   typedef uint_fast8_t    my_uint_fast8_t;
18442                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
18443                   uif8 = UINT_FAST8_MAX;
18444                   typedef uint_fast16_t   my_uint_fast16_t;
18445                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
18446                   uif16 = UINT_FAST16_MAX;
18447                   typedef uint_fast32_t   my_uint_fast32_t;
18448                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
18449                   uif32 = UINT_FAST32_MAX;
18450                   typedef uint_fast64_t   my_uint_fast64_t;
18451                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
18452                   uif64 = UINT_FAST64_MAX;
18453                   typedef uint_least8_t   my_uint_least8_t;
18454                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
18455                   uil8 = UINT_LEAST8_MAX;
18456                   typedef uint_least16_t  my_uint_least16_t;
18457                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
18458                   uil16 = UINT_LEAST16_MAX;
18459                   typedef uint_least32_t  my_uint_least32_t;
18460                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
18461                   uil32 = UINT_LEAST32_MAX;
18462                   typedef uint_least64_t  my_uint_least64_t;
18463                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
18464                   uil64 = UINT_LEAST64_MAX;
18465                   typedef uintmax_t       my_uintmax_t;
18466                   my_uintmax_t            uim = UINTMAX_MAX;
18467                   uim = UINTMAX_MAX;
18468                   typedef uintptr_t       my_uintptr_t;
18469                   my_uintptr_t            uip = UINTPTR_MAX;
18470                   uip = UINTPTR_MAX;
18471
18472   ;
18473   return 0;
18474 }
18475 _ACEOF
18476 if ac_fn_cxx_try_compile "$LINENO"; then :
18477   glibcxx_cv_c99_stdint_tr1=yes
18478 else
18479   glibcxx_cv_c99_stdint_tr1=no
18480 fi
18481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18482
18483 fi
18484
18485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18486 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18487   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18488
18489 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18490
18491   fi
18492
18493   # Check for the existence of <math.h> functions.
18494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18495 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18496   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18497   $as_echo_n "(cached) " >&6
18498 else
18499
18500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18501 /* end confdefs.h.  */
18502 #include <math.h>
18503 int
18504 main ()
18505 {
18506 typedef double_t  my_double_t;
18507                   typedef float_t   my_float_t;
18508                   acosh(0.0);
18509                   acoshf(0.0f);
18510                   acoshl(0.0l);
18511                   asinh(0.0);
18512                   asinhf(0.0f);
18513                   asinhl(0.0l);
18514                   atanh(0.0);
18515                   atanhf(0.0f);
18516                   atanhl(0.0l);
18517                   cbrt(0.0);
18518                   cbrtf(0.0f);
18519                   cbrtl(0.0l);
18520                   copysign(0.0, 0.0);
18521                   copysignf(0.0f, 0.0f);
18522                   copysignl(0.0l, 0.0l);
18523                   erf(0.0);
18524                   erff(0.0f);
18525                   erfl(0.0l);
18526                   erfc(0.0);
18527                   erfcf(0.0f);
18528                   erfcl(0.0l);
18529                   exp2(0.0);
18530                   exp2f(0.0f);
18531                   exp2l(0.0l);
18532                   expm1(0.0);
18533                   expm1f(0.0f);
18534                   expm1l(0.0l);
18535                   fdim(0.0, 0.0);
18536                   fdimf(0.0f, 0.0f);
18537                   fdiml(0.0l, 0.0l);
18538                   fma(0.0, 0.0, 0.0);
18539                   fmaf(0.0f, 0.0f, 0.0f);
18540                   fmal(0.0l, 0.0l, 0.0l);
18541                   fmax(0.0, 0.0);
18542                   fmaxf(0.0f, 0.0f);
18543                   fmaxl(0.0l, 0.0l);
18544                   fmin(0.0, 0.0);
18545                   fminf(0.0f, 0.0f);
18546                   fminl(0.0l, 0.0l);
18547                   hypot(0.0, 0.0);
18548                   hypotf(0.0f, 0.0f);
18549                   hypotl(0.0l, 0.0l);
18550                   ilogb(0.0);
18551                   ilogbf(0.0f);
18552                   ilogbl(0.0l);
18553                   lgamma(0.0);
18554                   lgammaf(0.0f);
18555                   lgammal(0.0l);
18556                   llrint(0.0);
18557                   llrintf(0.0f);
18558                   llrintl(0.0l);
18559                   llround(0.0);
18560                   llroundf(0.0f);
18561                   llroundl(0.0l);
18562                   log1p(0.0);
18563                   log1pf(0.0f);
18564                   log1pl(0.0l);
18565                   log2(0.0);
18566                   log2f(0.0f);
18567                   log2l(0.0l);
18568                   logb(0.0);
18569                   logbf(0.0f);
18570                   logbl(0.0l);
18571                   lrint(0.0);
18572                   lrintf(0.0f);
18573                   lrintl(0.0l);
18574                   lround(0.0);
18575                   lroundf(0.0f);
18576                   lroundl(0.0l);
18577                   nan(0);
18578                   nanf(0);
18579                   nanl(0);
18580                   nearbyint(0.0);
18581                   nearbyintf(0.0f);
18582                   nearbyintl(0.0l);
18583                   nextafter(0.0, 0.0);
18584                   nextafterf(0.0f, 0.0f);
18585                   nextafterl(0.0l, 0.0l);
18586                   nexttoward(0.0, 0.0);
18587                   nexttowardf(0.0f, 0.0f);
18588                   nexttowardl(0.0l, 0.0l);
18589                   remainder(0.0, 0.0);
18590                   remainderf(0.0f, 0.0f);
18591                   remainderl(0.0l, 0.0l);
18592                   remquo(0.0, 0.0, 0);
18593                   remquof(0.0f, 0.0f, 0);
18594                   remquol(0.0l, 0.0l, 0);
18595                   rint(0.0);
18596                   rintf(0.0f);
18597                   rintl(0.0l);
18598                   round(0.0);
18599                   roundf(0.0f);
18600                   roundl(0.0l);
18601                   scalbln(0.0, 0l);
18602                   scalblnf(0.0f, 0l);
18603                   scalblnl(0.0l, 0l);
18604                   scalbn(0.0, 0);
18605                   scalbnf(0.0f, 0);
18606                   scalbnl(0.0l, 0);
18607                   tgamma(0.0);
18608                   tgammaf(0.0f);
18609                   tgammal(0.0l);
18610                   trunc(0.0);
18611                   truncf(0.0f);
18612                   truncl(0.0l);
18613
18614   ;
18615   return 0;
18616 }
18617 _ACEOF
18618 if ac_fn_cxx_try_compile "$LINENO"; then :
18619   glibcxx_cv_c99_math_tr1=yes
18620 else
18621   glibcxx_cv_c99_math_tr1=no
18622 fi
18623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18624
18625 fi
18626
18627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18628 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18629   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18630
18631 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18632
18633   fi
18634
18635   # Check for the existence of <inttypes.h> functions (NB: doesn't make
18636   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18637   ac_c99_inttypes_tr1=no;
18638   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18639     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18640 $as_echo_n "checking for 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 i, numer, denom, base;
18648                     const char* s;
18649                     char** endptr;
18650                     intmax_t ret = imaxabs(i);
18651                     imaxdiv_t dret = imaxdiv(numer, denom);
18652                     ret = strtoimax(s, endptr, base);
18653                     uintmax_t uret = strtoumax(s, endptr, base);
18654
18655   ;
18656   return 0;
18657 }
18658 _ACEOF
18659 if ac_fn_cxx_try_compile "$LINENO"; then :
18660   ac_c99_inttypes_tr1=yes
18661 else
18662   ac_c99_inttypes_tr1=no
18663 fi
18664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18665   fi
18666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18667 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18668   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18669
18670 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18671
18672   fi
18673
18674   # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18675   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18676   ac_c99_inttypes_wchar_t_tr1=no;
18677   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18678     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18679 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18680     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18681 /* end confdefs.h.  */
18682 #include <inttypes.h>
18683 int
18684 main ()
18685 {
18686 intmax_t base;
18687                     const wchar_t* s;
18688                     wchar_t** endptr;
18689                     intmax_t ret = wcstoimax(s, endptr, base);
18690                     uintmax_t uret = wcstoumax(s, endptr, base);
18691
18692   ;
18693   return 0;
18694 }
18695 _ACEOF
18696 if ac_fn_cxx_try_compile "$LINENO"; then :
18697   ac_c99_inttypes_wchar_t_tr1=yes
18698 else
18699   ac_c99_inttypes_wchar_t_tr1=no
18700 fi
18701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18702   fi
18703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18704 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18705   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18706
18707 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18708
18709   fi
18710
18711   # Check for the existence of the <stdbool.h> header.
18712   for ac_header in stdbool.h
18713 do :
18714   ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18715 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18716   cat >>confdefs.h <<_ACEOF
18717 #define HAVE_STDBOOL_H 1
18718 _ACEOF
18719
18720 fi
18721
18722 done
18723
18724
18725   CXXFLAGS="$ac_save_CXXFLAGS"
18726   ac_ext=c
18727 ac_cpp='$CPP $CPPFLAGS'
18728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18731
18732
18733
18734 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
18735
18736
18737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
18738 $as_echo_n "checking for the value of EOF... " >&6; }
18739 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
18740   $as_echo_n "(cached) " >&6
18741 else
18742
18743   if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
18744
18745 else
18746   as_fn_error "computing EOF failed" "$LINENO" 5
18747 fi
18748
18749
18750 fi
18751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
18752 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
18753
18754 cat >>confdefs.h <<_ACEOF
18755 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
18756 _ACEOF
18757
18758
18759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
18760 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
18761 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
18762   $as_echo_n "(cached) " >&6
18763 else
18764
18765   if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
18766
18767 else
18768   as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
18769 fi
18770
18771
18772 fi
18773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
18774 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
18775
18776 cat >>confdefs.h <<_ACEOF
18777 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
18778 _ACEOF
18779
18780
18781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
18782 $as_echo_n "checking for the value of SEEK_END... " >&6; }
18783 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
18784   $as_echo_n "(cached) " >&6
18785 else
18786
18787   if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
18788
18789 else
18790   as_fn_error "computing SEEK_END failed" "$LINENO" 5
18791 fi
18792
18793
18794 fi
18795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
18796 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
18797
18798 cat >>confdefs.h <<_ACEOF
18799 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
18800 _ACEOF
18801
18802
18803
18804 # For gettimeofday support.
18805
18806
18807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18808 $as_echo_n "checking for gettimeofday... " >&6; }
18809
18810
18811   ac_ext=cpp
18812 ac_cpp='$CXXCPP $CPPFLAGS'
18813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18816
18817   ac_save_CXXFLAGS="$CXXFLAGS"
18818   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18819
18820   ac_has_gettimeofday=no;
18821   for ac_header in sys/time.h
18822 do :
18823   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18824 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18825   cat >>confdefs.h <<_ACEOF
18826 #define HAVE_SYS_TIME_H 1
18827 _ACEOF
18828  ac_has_sys_time_h=yes
18829 else
18830   ac_has_sys_time_h=no
18831 fi
18832
18833 done
18834
18835   if test x"$ac_has_sys_time_h" = x"yes"; then
18836     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18837 $as_echo_n "checking for gettimeofday... " >&6; }
18838     if test x$gcc_no_link = xyes; then
18839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18840 /* end confdefs.h.  */
18841 #include <sys/time.h>
18842 int
18843 main ()
18844 {
18845 timeval tv; gettimeofday(&tv, 0);
18846   ;
18847   return 0;
18848 }
18849 _ACEOF
18850 if ac_fn_cxx_try_compile "$LINENO"; then :
18851   ac_has_gettimeofday=yes
18852 else
18853   ac_has_gettimeofday=no
18854 fi
18855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18856 else
18857   if test x$gcc_no_link = xyes; then
18858   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18859 fi
18860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18861 /* end confdefs.h.  */
18862 #include <sys/time.h>
18863 int
18864 main ()
18865 {
18866 timeval tv; gettimeofday(&tv, 0);
18867   ;
18868   return 0;
18869 }
18870 _ACEOF
18871 if ac_fn_cxx_try_link "$LINENO"; then :
18872   ac_has_gettimeofday=yes
18873 else
18874   ac_has_gettimeofday=no
18875 fi
18876 rm -f core conftest.err conftest.$ac_objext \
18877     conftest$ac_exeext conftest.$ac_ext
18878 fi
18879
18880     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18881 $as_echo "$ac_has_gettimeofday" >&6; }
18882   fi
18883
18884   if test x"$ac_has_gettimeofday" = x"yes"; then
18885
18886 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18887
18888   fi
18889
18890   CXXFLAGS="$ac_save_CXXFLAGS"
18891   ac_ext=c
18892 ac_cpp='$CPP $CPPFLAGS'
18893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18896
18897
18898
18899 # For clock_gettime, nanosleep and sched_yield support.
18900 # NB: The default is [no], because otherwise it requires linking.
18901
18902
18903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18904 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18905    # Check whether --enable-libstdcxx-time was given.
18906 if test "${enable_libstdcxx_time+set}" = set; then :
18907   enableval=$enable_libstdcxx_time;
18908       case "$enableval" in
18909        yes|no|rt) ;;
18910        *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18911                           esac
18912
18913 else
18914   enable_libstdcxx_time=no
18915 fi
18916
18917
18918
18919
18920   ac_ext=cpp
18921 ac_cpp='$CXXCPP $CPPFLAGS'
18922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18925
18926   ac_save_CXXFLAGS="$CXXFLAGS"
18927   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18928   ac_save_LIBS="$LIBS"
18929
18930   ac_has_clock_monotonic=no
18931   ac_has_clock_realtime=no
18932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
18933 $as_echo "$enable_libstdcxx_time" >&6; }
18934
18935   if test x"$enable_libstdcxx_time" != x"no"; then
18936
18937     if test x"$enable_libstdcxx_time" = x"rt"; then
18938       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18939 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18940 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18941   $as_echo_n "(cached) " >&6
18942 else
18943   ac_func_search_save_LIBS=$LIBS
18944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18945 /* end confdefs.h.  */
18946
18947 /* Override any GCC internal prototype to avoid an error.
18948    Use char because int might match the return type of a GCC
18949    builtin and then its argument prototype would still apply.  */
18950 #ifdef __cplusplus
18951 extern "C"
18952 #endif
18953 char clock_gettime ();
18954 int
18955 main ()
18956 {
18957 return clock_gettime ();
18958   ;
18959   return 0;
18960 }
18961 _ACEOF
18962 for ac_lib in '' rt posix4; do
18963   if test -z "$ac_lib"; then
18964     ac_res="none required"
18965   else
18966     ac_res=-l$ac_lib
18967     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18968   fi
18969   if test x$gcc_no_link = xyes; then
18970   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18971 fi
18972 if ac_fn_cxx_try_link "$LINENO"; then :
18973   ac_cv_search_clock_gettime=$ac_res
18974 fi
18975 rm -f core conftest.err conftest.$ac_objext \
18976     conftest$ac_exeext
18977   if test "${ac_cv_search_clock_gettime+set}" = set; then :
18978   break
18979 fi
18980 done
18981 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18982
18983 else
18984   ac_cv_search_clock_gettime=no
18985 fi
18986 rm conftest.$ac_ext
18987 LIBS=$ac_func_search_save_LIBS
18988 fi
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18990 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18991 ac_res=$ac_cv_search_clock_gettime
18992 if test "$ac_res" != no; then :
18993   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18994
18995 fi
18996
18997       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18998 $as_echo_n "checking for library containing nanosleep... " >&6; }
18999 if test "${ac_cv_search_nanosleep+set}" = set; then :
19000   $as_echo_n "(cached) " >&6
19001 else
19002   ac_func_search_save_LIBS=$LIBS
19003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19004 /* end confdefs.h.  */
19005
19006 /* Override any GCC internal prototype to avoid an error.
19007    Use char because int might match the return type of a GCC
19008    builtin and then its argument prototype would still apply.  */
19009 #ifdef __cplusplus
19010 extern "C"
19011 #endif
19012 char nanosleep ();
19013 int
19014 main ()
19015 {
19016 return nanosleep ();
19017   ;
19018   return 0;
19019 }
19020 _ACEOF
19021 for ac_lib in '' rt posix4; do
19022   if test -z "$ac_lib"; then
19023     ac_res="none required"
19024   else
19025     ac_res=-l$ac_lib
19026     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19027   fi
19028   if test x$gcc_no_link = xyes; then
19029   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19030 fi
19031 if ac_fn_cxx_try_link "$LINENO"; then :
19032   ac_cv_search_nanosleep=$ac_res
19033 fi
19034 rm -f core conftest.err conftest.$ac_objext \
19035     conftest$ac_exeext
19036   if test "${ac_cv_search_nanosleep+set}" = set; then :
19037   break
19038 fi
19039 done
19040 if test "${ac_cv_search_nanosleep+set}" = set; then :
19041
19042 else
19043   ac_cv_search_nanosleep=no
19044 fi
19045 rm conftest.$ac_ext
19046 LIBS=$ac_func_search_save_LIBS
19047 fi
19048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19049 $as_echo "$ac_cv_search_nanosleep" >&6; }
19050 ac_res=$ac_cv_search_nanosleep
19051 if test "$ac_res" != no; then :
19052   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19053
19054 fi
19055
19056     else
19057       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19058 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19059 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19060   $as_echo_n "(cached) " >&6
19061 else
19062   ac_func_search_save_LIBS=$LIBS
19063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19064 /* end confdefs.h.  */
19065
19066 /* Override any GCC internal prototype to avoid an error.
19067    Use char because int might match the return type of a GCC
19068    builtin and then its argument prototype would still apply.  */
19069 #ifdef __cplusplus
19070 extern "C"
19071 #endif
19072 char clock_gettime ();
19073 int
19074 main ()
19075 {
19076 return clock_gettime ();
19077   ;
19078   return 0;
19079 }
19080 _ACEOF
19081 for ac_lib in '' posix4; do
19082   if test -z "$ac_lib"; then
19083     ac_res="none required"
19084   else
19085     ac_res=-l$ac_lib
19086     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19087   fi
19088   if test x$gcc_no_link = xyes; then
19089   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19090 fi
19091 if ac_fn_cxx_try_link "$LINENO"; then :
19092   ac_cv_search_clock_gettime=$ac_res
19093 fi
19094 rm -f core conftest.err conftest.$ac_objext \
19095     conftest$ac_exeext
19096   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19097   break
19098 fi
19099 done
19100 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19101
19102 else
19103   ac_cv_search_clock_gettime=no
19104 fi
19105 rm conftest.$ac_ext
19106 LIBS=$ac_func_search_save_LIBS
19107 fi
19108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19109 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19110 ac_res=$ac_cv_search_clock_gettime
19111 if test "$ac_res" != no; then :
19112   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19113
19114 fi
19115
19116       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19117 $as_echo_n "checking for library containing nanosleep... " >&6; }
19118 if test "${ac_cv_search_nanosleep+set}" = set; then :
19119   $as_echo_n "(cached) " >&6
19120 else
19121   ac_func_search_save_LIBS=$LIBS
19122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19123 /* end confdefs.h.  */
19124
19125 /* Override any GCC internal prototype to avoid an error.
19126    Use char because int might match the return type of a GCC
19127    builtin and then its argument prototype would still apply.  */
19128 #ifdef __cplusplus
19129 extern "C"
19130 #endif
19131 char nanosleep ();
19132 int
19133 main ()
19134 {
19135 return nanosleep ();
19136   ;
19137   return 0;
19138 }
19139 _ACEOF
19140 for ac_lib in '' posix4; do
19141   if test -z "$ac_lib"; then
19142     ac_res="none required"
19143   else
19144     ac_res=-l$ac_lib
19145     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19146   fi
19147   if test x$gcc_no_link = xyes; then
19148   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19149 fi
19150 if ac_fn_cxx_try_link "$LINENO"; then :
19151   ac_cv_search_nanosleep=$ac_res
19152 fi
19153 rm -f core conftest.err conftest.$ac_objext \
19154     conftest$ac_exeext
19155   if test "${ac_cv_search_nanosleep+set}" = set; then :
19156   break
19157 fi
19158 done
19159 if test "${ac_cv_search_nanosleep+set}" = set; then :
19160
19161 else
19162   ac_cv_search_nanosleep=no
19163 fi
19164 rm conftest.$ac_ext
19165 LIBS=$ac_func_search_save_LIBS
19166 fi
19167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19168 $as_echo "$ac_cv_search_nanosleep" >&6; }
19169 ac_res=$ac_cv_search_nanosleep
19170 if test "$ac_res" != no; then :
19171   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19172
19173 fi
19174
19175     fi
19176
19177     case "$ac_cv_search_clock_gettime" in
19178       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19179       ;;
19180     esac
19181     case "$ac_cv_search_nanosleep" in
19182       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19183       ;;
19184     esac
19185
19186     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19187 $as_echo_n "checking for library containing sched_yield... " >&6; }
19188 if test "${ac_cv_search_sched_yield+set}" = set; then :
19189   $as_echo_n "(cached) " >&6
19190 else
19191   ac_func_search_save_LIBS=$LIBS
19192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19193 /* end confdefs.h.  */
19194
19195 /* Override any GCC internal prototype to avoid an error.
19196    Use char because int might match the return type of a GCC
19197    builtin and then its argument prototype would still apply.  */
19198 #ifdef __cplusplus
19199 extern "C"
19200 #endif
19201 char sched_yield ();
19202 int
19203 main ()
19204 {
19205 return sched_yield ();
19206   ;
19207   return 0;
19208 }
19209 _ACEOF
19210 for ac_lib in '' rt posix4; do
19211   if test -z "$ac_lib"; then
19212     ac_res="none required"
19213   else
19214     ac_res=-l$ac_lib
19215     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19216   fi
19217   if test x$gcc_no_link = xyes; then
19218   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19219 fi
19220 if ac_fn_cxx_try_link "$LINENO"; then :
19221   ac_cv_search_sched_yield=$ac_res
19222 fi
19223 rm -f core conftest.err conftest.$ac_objext \
19224     conftest$ac_exeext
19225   if test "${ac_cv_search_sched_yield+set}" = set; then :
19226   break
19227 fi
19228 done
19229 if test "${ac_cv_search_sched_yield+set}" = set; then :
19230
19231 else
19232   ac_cv_search_sched_yield=no
19233 fi
19234 rm conftest.$ac_ext
19235 LIBS=$ac_func_search_save_LIBS
19236 fi
19237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19238 $as_echo "$ac_cv_search_sched_yield" >&6; }
19239 ac_res=$ac_cv_search_sched_yield
19240 if test "$ac_res" != no; then :
19241   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19242
19243 fi
19244
19245
19246     case "$ac_cv_search_sched_yield" in
19247       -lposix4*)
19248       GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19249
19250 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19251
19252       ;;
19253       -lrt*)
19254       if test x"$enable_libstdcxx_time" = x"rt"; then
19255         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19256
19257 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19258
19259       fi
19260       ;;
19261       *)
19262
19263 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19264
19265       ;;
19266     esac
19267
19268     for ac_header in unistd.h
19269 do :
19270   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19271 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19272   cat >>confdefs.h <<_ACEOF
19273 #define HAVE_UNISTD_H 1
19274 _ACEOF
19275  ac_has_unistd_h=yes
19276 else
19277   ac_has_unistd_h=no
19278 fi
19279
19280 done
19281
19282
19283     if test x"$ac_has_unistd_h" = x"yes"; then
19284       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19285 $as_echo_n "checking for monotonic clock... " >&6; }
19286       if test x$gcc_no_link = xyes; then
19287   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19288 fi
19289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19290 /* end confdefs.h.  */
19291 #include <unistd.h>
19292          #include <time.h>
19293
19294 int
19295 main ()
19296 {
19297 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19298           timespec tp;
19299          #endif
19300           clock_gettime(CLOCK_MONOTONIC, &tp);
19301
19302   ;
19303   return 0;
19304 }
19305 _ACEOF
19306 if ac_fn_cxx_try_link "$LINENO"; then :
19307   ac_has_clock_monotonic=yes
19308 else
19309   ac_has_clock_monotonic=no
19310 fi
19311 rm -f core conftest.err conftest.$ac_objext \
19312     conftest$ac_exeext conftest.$ac_ext
19313
19314       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19315 $as_echo "$ac_has_clock_monotonic" >&6; }
19316
19317       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19318 $as_echo_n "checking for realtime clock... " >&6; }
19319       if test x$gcc_no_link = xyes; then
19320   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19321 fi
19322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19323 /* end confdefs.h.  */
19324 #include <unistd.h>
19325          #include <time.h>
19326
19327 int
19328 main ()
19329 {
19330 #if _POSIX_TIMERS > 0
19331           timespec tp;
19332          #endif
19333           clock_gettime(CLOCK_REALTIME, &tp);
19334
19335   ;
19336   return 0;
19337 }
19338 _ACEOF
19339 if ac_fn_cxx_try_link "$LINENO"; then :
19340   ac_has_clock_realtime=yes
19341 else
19342   ac_has_clock_realtime=no
19343 fi
19344 rm -f core conftest.err conftest.$ac_objext \
19345     conftest$ac_exeext conftest.$ac_ext
19346
19347       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19348 $as_echo "$ac_has_clock_realtime" >&6; }
19349
19350       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19351 $as_echo_n "checking for nanosleep... " >&6; }
19352       if test x$gcc_no_link = xyes; then
19353   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19354 fi
19355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19356 /* end confdefs.h.  */
19357 #include <unistd.h>
19358          #include <time.h>
19359
19360 int
19361 main ()
19362 {
19363 #if _POSIX_TIMERS > 0
19364           timespec tp;
19365          #endif
19366           nanosleep(&tp, 0);
19367
19368   ;
19369   return 0;
19370 }
19371 _ACEOF
19372 if ac_fn_cxx_try_link "$LINENO"; then :
19373   ac_has_nanosleep=yes
19374 else
19375   ac_has_nanosleep=no
19376 fi
19377 rm -f core conftest.err conftest.$ac_objext \
19378     conftest$ac_exeext conftest.$ac_ext
19379
19380       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19381 $as_echo "$ac_has_nanosleep" >&6; }
19382     fi
19383   fi
19384
19385   if test x"$ac_has_clock_monotonic" = x"yes"; then
19386
19387 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19388
19389   fi
19390
19391   if test x"$ac_has_clock_realtime" = x"yes"; then
19392
19393 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19394
19395   fi
19396
19397   if test x"$ac_has_nanosleep" = x"yes"; then
19398
19399 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19400
19401   fi
19402
19403
19404
19405   CXXFLAGS="$ac_save_CXXFLAGS"
19406   LIBS="$ac_save_LIBS"
19407   ac_ext=c
19408 ac_cpp='$CPP $CPPFLAGS'
19409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19412
19413
19414
19415 # For gthread support
19416
19417
19418   ac_ext=cpp
19419 ac_cpp='$CXXCPP $CPPFLAGS'
19420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19423
19424
19425   ac_save_CXXFLAGS="$CXXFLAGS"
19426   CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19427
19428   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19429   case $target_thread_file in
19430     posix)
19431       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19432   esac
19433
19434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19435 $as_echo_n "checking for gthreads library... " >&6; }
19436
19437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19438 /* end confdefs.h.  */
19439 #include "gthr.h"
19440 int
19441 main ()
19442 {
19443
19444       #ifndef __GTHREADS_CXX0X
19445       #error
19446       #endif
19447
19448       // In case of POSIX threads check _POSIX_TIMEOUTS too.
19449       #if (defined(_PTHREADS) \
19450            && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19451       #error
19452       #endif
19453
19454   ;
19455   return 0;
19456 }
19457 _ACEOF
19458 if ac_fn_cxx_try_compile "$LINENO"; then :
19459   ac_has_gthreads=yes
19460 else
19461   ac_has_gthreads=no
19462 fi
19463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19464
19465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19466 $as_echo "$ac_has_gthreads" >&6; }
19467
19468   if test x"$ac_has_gthreads" = x"yes"; then
19469
19470 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19471
19472   fi
19473
19474   CXXFLAGS="$ac_save_CXXFLAGS"
19475   ac_ext=c
19476 ac_cpp='$CPP $CPPFLAGS'
19477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19480
19481
19482
19483
19484   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19485 if test "x$ac_cv_header_locale_h" = x""yes; then :
19486
19487     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19488 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19489 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19490   $as_echo_n "(cached) " >&6
19491 else
19492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19493 /* end confdefs.h.  */
19494 #include <locale.h>
19495 int
19496 main ()
19497 {
19498 return LC_MESSAGES
19499   ;
19500   return 0;
19501 }
19502 _ACEOF
19503 if ac_fn_c_try_compile "$LINENO"; then :
19504   ac_cv_val_LC_MESSAGES=yes
19505 else
19506   ac_cv_val_LC_MESSAGES=no
19507 fi
19508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19509 fi
19510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19511 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19512     if test $ac_cv_val_LC_MESSAGES = yes; then
19513
19514 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19515
19516     fi
19517
19518 fi
19519
19520
19521
19522
19523 # Check for available headers.
19524 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19525 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19526 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19527 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19528 wchar.h wctype.h
19529 do :
19530   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19531 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19532 eval as_val=\$$as_ac_Header
19533    if test "x$as_val" = x""yes; then :
19534   cat >>confdefs.h <<_ACEOF
19535 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19536 _ACEOF
19537
19538 fi
19539
19540 done
19541
19542
19543 # Only do link tests if native. Else, hardcode.
19544 if $GLIBCXX_IS_NATIVE; then
19545
19546   # We can do more elaborate tests that assume a working linker.
19547   CANADIAN=no
19548
19549
19550
19551 # Check whether --with-gnu-ld was given.
19552 if test "${with_gnu_ld+set}" = set; then :
19553   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19554 else
19555   with_gnu_ld=no
19556 fi
19557
19558 ac_prog=ld
19559 if test "$GCC" = yes; then
19560   # Check if gcc -print-prog-name=ld gives a path.
19561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19562 $as_echo_n "checking for ld used by $CC... " >&6; }
19563   case $host in
19564   *-*-mingw*)
19565     # gcc leaves a trailing carriage return which upsets mingw
19566     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19567   *)
19568     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19569   esac
19570   case $ac_prog in
19571     # Accept absolute paths.
19572     [\\/]* | ?:[\\/]*)
19573       re_direlt='/[^/][^/]*/\.\./'
19574       # Canonicalize the pathname of ld
19575       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19576       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19577         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19578       done
19579       test -z "$LD" && LD="$ac_prog"
19580       ;;
19581   "")
19582     # If it fails, then pretend we aren't using GCC.
19583     ac_prog=ld
19584     ;;
19585   *)
19586     # If it is relative, then search for the first ld in PATH.
19587     with_gnu_ld=unknown
19588     ;;
19589   esac
19590 elif test "$with_gnu_ld" = yes; then
19591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19592 $as_echo_n "checking for GNU ld... " >&6; }
19593 else
19594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19595 $as_echo_n "checking for non-GNU ld... " >&6; }
19596 fi
19597 if test "${lt_cv_path_LD+set}" = set; then :
19598   $as_echo_n "(cached) " >&6
19599 else
19600   if test -z "$LD"; then
19601   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19602   for ac_dir in $PATH; do
19603     IFS="$lt_save_ifs"
19604     test -z "$ac_dir" && ac_dir=.
19605     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19606       lt_cv_path_LD="$ac_dir/$ac_prog"
19607       # Check to see if the program is GNU ld.  I'd rather use --version,
19608       # but apparently some variants of GNU ld only accept -v.
19609       # Break only if it was the GNU/non-GNU ld that we prefer.
19610       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19611       *GNU* | *'with BFD'*)
19612         test "$with_gnu_ld" != no && break
19613         ;;
19614       *)
19615         test "$with_gnu_ld" != yes && break
19616         ;;
19617       esac
19618     fi
19619   done
19620   IFS="$lt_save_ifs"
19621 else
19622   lt_cv_path_LD="$LD" # Let the user override the test with a path.
19623 fi
19624 fi
19625
19626 LD="$lt_cv_path_LD"
19627 if test -n "$LD"; then
19628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19629 $as_echo "$LD" >&6; }
19630 else
19631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19632 $as_echo "no" >&6; }
19633 fi
19634 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19636 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19637 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19638   $as_echo_n "(cached) " >&6
19639 else
19640   # I'd rather use --version here, but apparently some GNU lds only accept -v.
19641 case `$LD -v 2>&1 </dev/null` in
19642 *GNU* | *'with BFD'*)
19643   lt_cv_prog_gnu_ld=yes
19644   ;;
19645 *)
19646   lt_cv_prog_gnu_ld=no
19647   ;;
19648 esac
19649 fi
19650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19651 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19652 with_gnu_ld=$lt_cv_prog_gnu_ld
19653
19654
19655
19656
19657
19658
19659
19660   # If we're not using GNU ld, then there's no point in even trying these
19661   # tests.  Check for that first.  We should have already tested for gld
19662   # by now (in libtool), but require it now just to be safe...
19663   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19664   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19665
19666
19667
19668   # The name set by libtool depends on the version of libtool.  Shame on us
19669   # for depending on an impl detail, but c'est la vie.  Older versions used
19670   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19671   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19672   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
19673   # set (hence we're using an older libtool), then set it.
19674   if test x${with_gnu_ld+set} != xset; then
19675     if test x${ac_cv_prog_gnu_ld+set} != xset; then
19676       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
19677       with_gnu_ld=no
19678     else
19679       with_gnu_ld=$ac_cv_prog_gnu_ld
19680     fi
19681   fi
19682
19683   # Start by getting the version number.  I think the libtool test already
19684   # does some of this, but throws away the result.
19685   glibcxx_ld_is_gold=no
19686   if test x"$with_gnu_ld" = x"yes"; then
19687     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19688 $as_echo_n "checking for ld version... " >&6; }
19689
19690     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19691       glibcxx_ld_is_gold=yes
19692     fi
19693     ldver=`$LD --version 2>/dev/null |
19694            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'`
19695
19696     glibcxx_gnu_ld_version=`echo $ldver | \
19697            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19698     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19699 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19700   fi
19701
19702   # Set --gc-sections.
19703   glibcxx_have_gc_sections=no
19704   if test "$glibcxx_ld_is_gold" = "yes"; then
19705     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19706       glibcxx_have_gc_sections=yes
19707     fi
19708   else
19709     glibcxx_gcsections_min_ld=21602
19710     if test x"$with_gnu_ld" = x"yes" &&
19711         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19712       glibcxx_have_gc_sections=yes
19713     fi
19714   fi
19715   if test "$glibcxx_have_gc_sections" = "yes"; then
19716     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
19717     # NB: This flag only works reliably after 2.16.1. Configure tests
19718     # for this are difficult, so hard wire a value that should work.
19719
19720     ac_test_CFLAGS="${CFLAGS+set}"
19721     ac_save_CFLAGS="$CFLAGS"
19722     CFLAGS='-Wl,--gc-sections'
19723
19724     # Check for -Wl,--gc-sections
19725     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19726 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19727     if test x$gcc_no_link = xyes; then
19728   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19729 fi
19730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19731 /* end confdefs.h.  */
19732  int one(void) { return 1; }
19733      int two(void) { return 2; }
19734
19735 int
19736 main ()
19737 {
19738  two();
19739   ;
19740   return 0;
19741 }
19742 _ACEOF
19743 if ac_fn_c_try_link "$LINENO"; then :
19744   ac_gcsections=yes
19745 else
19746   ac_gcsections=no
19747 fi
19748 rm -f core conftest.err conftest.$ac_objext \
19749     conftest$ac_exeext conftest.$ac_ext
19750     if test "$ac_gcsections" = "yes"; then
19751       rm -f conftest.c
19752       touch conftest.c
19753       if $CC -c conftest.c; then
19754         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19755            grep "Warning: gc-sections option ignored" > /dev/null; then
19756           ac_gcsections=no
19757         fi
19758       fi
19759       rm -f conftest.c conftest.o conftest
19760     fi
19761     if test "$ac_gcsections" = "yes"; then
19762       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19763     fi
19764     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19765 $as_echo "$ac_gcsections" >&6; }
19766
19767     if test "$ac_test_CFLAGS" = set; then
19768       CFLAGS="$ac_save_CFLAGS"
19769     else
19770       # this is the suspicious part
19771       CFLAGS=''
19772     fi
19773   fi
19774
19775   # Set -z,relro.
19776   # Note this is only for shared objects.
19777   ac_ld_relro=no
19778   if test x"$with_gnu_ld" = x"yes"; then
19779     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19780 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19781     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19782     if test -n "$cxx_z_relo"; then
19783       OPT_LDFLAGS="-Wl,-z,relro"
19784       ac_ld_relro=yes
19785     fi
19786     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19787 $as_echo "$ac_ld_relro" >&6; }
19788   fi
19789
19790   # Set linker optimization flags.
19791   if test x"$with_gnu_ld" = x"yes"; then
19792     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19793   fi
19794
19795
19796
19797
19798
19799   ac_test_CXXFLAGS="${CXXFLAGS+set}"
19800   ac_save_CXXFLAGS="$CXXFLAGS"
19801   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19802
19803     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19804 $as_echo_n "checking for sin in -lm... " >&6; }
19805 if test "${ac_cv_lib_m_sin+set}" = set; then :
19806   $as_echo_n "(cached) " >&6
19807 else
19808   ac_check_lib_save_LIBS=$LIBS
19809 LIBS="-lm  $LIBS"
19810 if test x$gcc_no_link = xyes; then
19811   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19812 fi
19813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19814 /* end confdefs.h.  */
19815
19816 /* Override any GCC internal prototype to avoid an error.
19817    Use char because int might match the return type of a GCC
19818    builtin and then its argument prototype would still apply.  */
19819 #ifdef __cplusplus
19820 extern "C"
19821 #endif
19822 char sin ();
19823 int
19824 main ()
19825 {
19826 return sin ();
19827   ;
19828   return 0;
19829 }
19830 _ACEOF
19831 if ac_fn_c_try_link "$LINENO"; then :
19832   ac_cv_lib_m_sin=yes
19833 else
19834   ac_cv_lib_m_sin=no
19835 fi
19836 rm -f core conftest.err conftest.$ac_objext \
19837     conftest$ac_exeext conftest.$ac_ext
19838 LIBS=$ac_check_lib_save_LIBS
19839 fi
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19841 $as_echo "$ac_cv_lib_m_sin" >&6; }
19842 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19843   libm="-lm"
19844 fi
19845
19846   ac_save_LIBS="$LIBS"
19847   LIBS="$LIBS $libm"
19848
19849
19850
19851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19852 $as_echo_n "checking for isinf declaration... " >&6; }
19853   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19854     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19855   $as_echo_n "(cached) " >&6
19856 else
19857
19858
19859       ac_ext=cpp
19860 ac_cpp='$CXXCPP $CPPFLAGS'
19861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19864
19865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19866 /* end confdefs.h.  */
19867 #include <math.h>
19868                       #ifdef HAVE_IEEEFP_H
19869                       #include <ieeefp.h>
19870                       #endif
19871
19872 int
19873 main ()
19874 {
19875  isinf(0);
19876   ;
19877   return 0;
19878 }
19879 _ACEOF
19880 if ac_fn_cxx_try_compile "$LINENO"; then :
19881   glibcxx_cv_func_isinf_use=yes
19882 else
19883   glibcxx_cv_func_isinf_use=no
19884 fi
19885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19886       ac_ext=c
19887 ac_cpp='$CPP $CPPFLAGS'
19888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19891
19892
19893 fi
19894
19895   fi
19896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19897 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19898
19899   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19900     for ac_func in isinf
19901 do :
19902   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19903 if test "x$ac_cv_func_isinf" = x""yes; then :
19904   cat >>confdefs.h <<_ACEOF
19905 #define HAVE_ISINF 1
19906 _ACEOF
19907
19908 fi
19909 done
19910
19911   else
19912
19913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19914 $as_echo_n "checking for _isinf declaration... " >&6; }
19915   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19916     if test "${glibcxx_cv_func__isinf_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  _isinf(0);
19938   ;
19939   return 0;
19940 }
19941 _ACEOF
19942 if ac_fn_cxx_try_compile "$LINENO"; then :
19943   glibcxx_cv_func__isinf_use=yes
19944 else
19945   glibcxx_cv_func__isinf_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__isinf_use" >&5
19959 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19960
19961     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19962       for ac_func in _isinf
19963 do :
19964   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19965 if test "x$ac_cv_func__isinf" = x""yes; then :
19966   cat >>confdefs.h <<_ACEOF
19967 #define HAVE__ISINF 1
19968 _ACEOF
19969
19970 fi
19971 done
19972
19973     fi
19974   fi
19975
19976
19977
19978
19979
19980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19981 $as_echo_n "checking for isnan declaration... " >&6; }
19982   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19983     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19984   $as_echo_n "(cached) " >&6
19985 else
19986
19987
19988       ac_ext=cpp
19989 ac_cpp='$CXXCPP $CPPFLAGS'
19990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19993
19994       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19995 /* end confdefs.h.  */
19996 #include <math.h>
19997                       #ifdef HAVE_IEEEFP_H
19998                       #include <ieeefp.h>
19999                       #endif
20000
20001 int
20002 main ()
20003 {
20004  isnan(0);
20005   ;
20006   return 0;
20007 }
20008 _ACEOF
20009 if ac_fn_cxx_try_compile "$LINENO"; then :
20010   glibcxx_cv_func_isnan_use=yes
20011 else
20012   glibcxx_cv_func_isnan_use=no
20013 fi
20014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20015       ac_ext=c
20016 ac_cpp='$CPP $CPPFLAGS'
20017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20020
20021
20022 fi
20023
20024   fi
20025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20026 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20027
20028   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20029     for ac_func in isnan
20030 do :
20031   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20032 if test "x$ac_cv_func_isnan" = x""yes; then :
20033   cat >>confdefs.h <<_ACEOF
20034 #define HAVE_ISNAN 1
20035 _ACEOF
20036
20037 fi
20038 done
20039
20040   else
20041
20042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20043 $as_echo_n "checking for _isnan declaration... " >&6; }
20044   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20045     if test "${glibcxx_cv_func__isnan_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  _isnan(0);
20067   ;
20068   return 0;
20069 }
20070 _ACEOF
20071 if ac_fn_cxx_try_compile "$LINENO"; then :
20072   glibcxx_cv_func__isnan_use=yes
20073 else
20074   glibcxx_cv_func__isnan_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__isnan_use" >&5
20088 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20089
20090     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20091       for ac_func in _isnan
20092 do :
20093   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20094 if test "x$ac_cv_func__isnan" = x""yes; then :
20095   cat >>confdefs.h <<_ACEOF
20096 #define HAVE__ISNAN 1
20097 _ACEOF
20098
20099 fi
20100 done
20101
20102     fi
20103   fi
20104
20105
20106
20107
20108
20109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20110 $as_echo_n "checking for finite declaration... " >&6; }
20111   if test x${glibcxx_cv_func_finite_use+set} != xset; then
20112     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20113   $as_echo_n "(cached) " >&6
20114 else
20115
20116
20117       ac_ext=cpp
20118 ac_cpp='$CXXCPP $CPPFLAGS'
20119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20122
20123       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20124 /* end confdefs.h.  */
20125 #include <math.h>
20126                       #ifdef HAVE_IEEEFP_H
20127                       #include <ieeefp.h>
20128                       #endif
20129
20130 int
20131 main ()
20132 {
20133  finite(0);
20134   ;
20135   return 0;
20136 }
20137 _ACEOF
20138 if ac_fn_cxx_try_compile "$LINENO"; then :
20139   glibcxx_cv_func_finite_use=yes
20140 else
20141   glibcxx_cv_func_finite_use=no
20142 fi
20143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20144       ac_ext=c
20145 ac_cpp='$CPP $CPPFLAGS'
20146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20149
20150
20151 fi
20152
20153   fi
20154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20155 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20156
20157   if test x$glibcxx_cv_func_finite_use = x"yes"; then
20158     for ac_func in finite
20159 do :
20160   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20161 if test "x$ac_cv_func_finite" = x""yes; then :
20162   cat >>confdefs.h <<_ACEOF
20163 #define HAVE_FINITE 1
20164 _ACEOF
20165
20166 fi
20167 done
20168
20169   else
20170
20171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20172 $as_echo_n "checking for _finite declaration... " >&6; }
20173   if test x${glibcxx_cv_func__finite_use+set} != xset; then
20174     if test "${glibcxx_cv_func__finite_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                       #ifdef HAVE_IEEEFP_H
20189                       #include <ieeefp.h>
20190                       #endif
20191
20192 int
20193 main ()
20194 {
20195  _finite(0);
20196   ;
20197   return 0;
20198 }
20199 _ACEOF
20200 if ac_fn_cxx_try_compile "$LINENO"; then :
20201   glibcxx_cv_func__finite_use=yes
20202 else
20203   glibcxx_cv_func__finite_use=no
20204 fi
20205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20206       ac_ext=c
20207 ac_cpp='$CPP $CPPFLAGS'
20208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20211
20212
20213 fi
20214
20215   fi
20216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20217 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20218
20219     if test x$glibcxx_cv_func__finite_use = x"yes"; then
20220       for ac_func in _finite
20221 do :
20222   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20223 if test "x$ac_cv_func__finite" = x""yes; then :
20224   cat >>confdefs.h <<_ACEOF
20225 #define HAVE__FINITE 1
20226 _ACEOF
20227
20228 fi
20229 done
20230
20231     fi
20232   fi
20233
20234
20235
20236
20237
20238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20239 $as_echo_n "checking for sincos declaration... " >&6; }
20240   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20241     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20242   $as_echo_n "(cached) " >&6
20243 else
20244
20245
20246       ac_ext=cpp
20247 ac_cpp='$CXXCPP $CPPFLAGS'
20248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20251
20252       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20253 /* end confdefs.h.  */
20254 #include <math.h>
20255 int
20256 main ()
20257 {
20258  sincos(0, 0, 0);
20259   ;
20260   return 0;
20261 }
20262 _ACEOF
20263 if ac_fn_cxx_try_compile "$LINENO"; then :
20264   glibcxx_cv_func_sincos_use=yes
20265 else
20266   glibcxx_cv_func_sincos_use=no
20267 fi
20268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20269       ac_ext=c
20270 ac_cpp='$CPP $CPPFLAGS'
20271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20274
20275
20276 fi
20277
20278   fi
20279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20280 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20281
20282   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20283     for ac_func in sincos
20284 do :
20285   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20286 if test "x$ac_cv_func_sincos" = x""yes; then :
20287   cat >>confdefs.h <<_ACEOF
20288 #define HAVE_SINCOS 1
20289 _ACEOF
20290
20291 fi
20292 done
20293
20294   else
20295
20296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20297 $as_echo_n "checking for _sincos declaration... " >&6; }
20298   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20299     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20300   $as_echo_n "(cached) " >&6
20301 else
20302
20303
20304       ac_ext=cpp
20305 ac_cpp='$CXXCPP $CPPFLAGS'
20306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20309
20310       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20311 /* end confdefs.h.  */
20312 #include <math.h>
20313 int
20314 main ()
20315 {
20316  _sincos(0, 0, 0);
20317   ;
20318   return 0;
20319 }
20320 _ACEOF
20321 if ac_fn_cxx_try_compile "$LINENO"; then :
20322   glibcxx_cv_func__sincos_use=yes
20323 else
20324   glibcxx_cv_func__sincos_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__sincos_use" >&5
20338 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20339
20340     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20341       for ac_func in _sincos
20342 do :
20343   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20344 if test "x$ac_cv_func__sincos" = x""yes; then :
20345   cat >>confdefs.h <<_ACEOF
20346 #define HAVE__SINCOS 1
20347 _ACEOF
20348
20349 fi
20350 done
20351
20352     fi
20353   fi
20354
20355
20356
20357
20358
20359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20360 $as_echo_n "checking for fpclass declaration... " >&6; }
20361   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20362     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20363   $as_echo_n "(cached) " >&6
20364 else
20365
20366
20367       ac_ext=cpp
20368 ac_cpp='$CXXCPP $CPPFLAGS'
20369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20372
20373       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20374 /* end confdefs.h.  */
20375 #include <math.h>
20376                       #ifdef HAVE_IEEEFP_H
20377                       #include <ieeefp.h>
20378                       #endif
20379
20380 int
20381 main ()
20382 {
20383  fpclass(0);
20384   ;
20385   return 0;
20386 }
20387 _ACEOF
20388 if ac_fn_cxx_try_compile "$LINENO"; then :
20389   glibcxx_cv_func_fpclass_use=yes
20390 else
20391   glibcxx_cv_func_fpclass_use=no
20392 fi
20393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20394       ac_ext=c
20395 ac_cpp='$CPP $CPPFLAGS'
20396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20399
20400
20401 fi
20402
20403   fi
20404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20405 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20406
20407   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20408     for ac_func in fpclass
20409 do :
20410   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20411 if test "x$ac_cv_func_fpclass" = x""yes; then :
20412   cat >>confdefs.h <<_ACEOF
20413 #define HAVE_FPCLASS 1
20414 _ACEOF
20415
20416 fi
20417 done
20418
20419   else
20420
20421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20422 $as_echo_n "checking for _fpclass declaration... " >&6; }
20423   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20424     if test "${glibcxx_cv_func__fpclass_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  _fpclass(0);
20446   ;
20447   return 0;
20448 }
20449 _ACEOF
20450 if ac_fn_cxx_try_compile "$LINENO"; then :
20451   glibcxx_cv_func__fpclass_use=yes
20452 else
20453   glibcxx_cv_func__fpclass_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__fpclass_use" >&5
20467 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20468
20469     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20470       for ac_func in _fpclass
20471 do :
20472   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20473 if test "x$ac_cv_func__fpclass" = x""yes; then :
20474   cat >>confdefs.h <<_ACEOF
20475 #define HAVE__FPCLASS 1
20476 _ACEOF
20477
20478 fi
20479 done
20480
20481     fi
20482   fi
20483
20484
20485
20486
20487
20488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20489 $as_echo_n "checking for qfpclass declaration... " >&6; }
20490   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20491     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20492   $as_echo_n "(cached) " >&6
20493 else
20494
20495
20496       ac_ext=cpp
20497 ac_cpp='$CXXCPP $CPPFLAGS'
20498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20501
20502       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20503 /* end confdefs.h.  */
20504 #include <math.h>
20505                       #ifdef HAVE_IEEEFP_H
20506                       #include <ieeefp.h>
20507                       #endif
20508
20509 int
20510 main ()
20511 {
20512  qfpclass(0);
20513   ;
20514   return 0;
20515 }
20516 _ACEOF
20517 if ac_fn_cxx_try_compile "$LINENO"; then :
20518   glibcxx_cv_func_qfpclass_use=yes
20519 else
20520   glibcxx_cv_func_qfpclass_use=no
20521 fi
20522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20523       ac_ext=c
20524 ac_cpp='$CPP $CPPFLAGS'
20525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20528
20529
20530 fi
20531
20532   fi
20533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20534 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20535
20536   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20537     for ac_func in qfpclass
20538 do :
20539   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20540 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20541   cat >>confdefs.h <<_ACEOF
20542 #define HAVE_QFPCLASS 1
20543 _ACEOF
20544
20545 fi
20546 done
20547
20548   else
20549
20550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20551 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20552   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20553     if test "${glibcxx_cv_func__qfpclass_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                       #ifdef HAVE_IEEEFP_H
20568                       #include <ieeefp.h>
20569                       #endif
20570
20571 int
20572 main ()
20573 {
20574  _qfpclass(0);
20575   ;
20576   return 0;
20577 }
20578 _ACEOF
20579 if ac_fn_cxx_try_compile "$LINENO"; then :
20580   glibcxx_cv_func__qfpclass_use=yes
20581 else
20582   glibcxx_cv_func__qfpclass_use=no
20583 fi
20584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20585       ac_ext=c
20586 ac_cpp='$CPP $CPPFLAGS'
20587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20590
20591
20592 fi
20593
20594   fi
20595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20596 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20597
20598     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20599       for ac_func in _qfpclass
20600 do :
20601   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20602 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20603   cat >>confdefs.h <<_ACEOF
20604 #define HAVE__QFPCLASS 1
20605 _ACEOF
20606
20607 fi
20608 done
20609
20610     fi
20611   fi
20612
20613
20614
20615
20616
20617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20618 $as_echo_n "checking for hypot declaration... " >&6; }
20619   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20620     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20621   $as_echo_n "(cached) " >&6
20622 else
20623
20624
20625       ac_ext=cpp
20626 ac_cpp='$CXXCPP $CPPFLAGS'
20627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20630
20631       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20632 /* end confdefs.h.  */
20633 #include <math.h>
20634 int
20635 main ()
20636 {
20637  hypot(0, 0);
20638   ;
20639   return 0;
20640 }
20641 _ACEOF
20642 if ac_fn_cxx_try_compile "$LINENO"; then :
20643   glibcxx_cv_func_hypot_use=yes
20644 else
20645   glibcxx_cv_func_hypot_use=no
20646 fi
20647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20648       ac_ext=c
20649 ac_cpp='$CPP $CPPFLAGS'
20650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20653
20654
20655 fi
20656
20657   fi
20658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20659 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20660
20661   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20662     for ac_func in hypot
20663 do :
20664   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20665 if test "x$ac_cv_func_hypot" = x""yes; then :
20666   cat >>confdefs.h <<_ACEOF
20667 #define HAVE_HYPOT 1
20668 _ACEOF
20669
20670 fi
20671 done
20672
20673   else
20674
20675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20676 $as_echo_n "checking for _hypot declaration... " >&6; }
20677   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20678     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20679   $as_echo_n "(cached) " >&6
20680 else
20681
20682
20683       ac_ext=cpp
20684 ac_cpp='$CXXCPP $CPPFLAGS'
20685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20688
20689       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20690 /* end confdefs.h.  */
20691 #include <math.h>
20692 int
20693 main ()
20694 {
20695  _hypot(0, 0);
20696   ;
20697   return 0;
20698 }
20699 _ACEOF
20700 if ac_fn_cxx_try_compile "$LINENO"; then :
20701   glibcxx_cv_func__hypot_use=yes
20702 else
20703   glibcxx_cv_func__hypot_use=no
20704 fi
20705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20706       ac_ext=c
20707 ac_cpp='$CPP $CPPFLAGS'
20708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20711
20712
20713 fi
20714
20715   fi
20716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20717 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20718
20719     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20720       for ac_func in _hypot
20721 do :
20722   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20723 if test "x$ac_cv_func__hypot" = x""yes; then :
20724   cat >>confdefs.h <<_ACEOF
20725 #define HAVE__HYPOT 1
20726 _ACEOF
20727
20728 fi
20729 done
20730
20731     fi
20732   fi
20733
20734
20735
20736
20737
20738     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20739 $as_echo_n "checking for float trig functions... " >&6; }
20740   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20741   $as_echo_n "(cached) " >&6
20742 else
20743
20744
20745     ac_ext=cpp
20746 ac_cpp='$CXXCPP $CPPFLAGS'
20747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20750
20751     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20752 /* end confdefs.h.  */
20753 #include <math.h>
20754 int
20755 main ()
20756 {
20757 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20758   ;
20759   return 0;
20760 }
20761 _ACEOF
20762 if ac_fn_cxx_try_compile "$LINENO"; then :
20763   glibcxx_cv_func_float_trig_use=yes
20764 else
20765   glibcxx_cv_func_float_trig_use=no
20766 fi
20767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20768     ac_ext=c
20769 ac_cpp='$CPP $CPPFLAGS'
20770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20773
20774 fi
20775
20776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20777 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20778   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20779     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20780 do :
20781   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20782 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20783 eval as_val=\$$as_ac_var
20784    if test "x$as_val" = x""yes; then :
20785   cat >>confdefs.h <<_ACEOF
20786 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20787 _ACEOF
20788
20789 fi
20790 done
20791
20792   else
20793     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20794 $as_echo_n "checking for _float trig functions... " >&6; }
20795     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20796   $as_echo_n "(cached) " >&6
20797 else
20798
20799
20800       ac_ext=cpp
20801 ac_cpp='$CXXCPP $CPPFLAGS'
20802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20805
20806       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20807 /* end confdefs.h.  */
20808 #include <math.h>
20809 int
20810 main ()
20811 {
20812 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20813   ;
20814   return 0;
20815 }
20816 _ACEOF
20817 if ac_fn_cxx_try_compile "$LINENO"; then :
20818   glibcxx_cv_func__float_trig_use=yes
20819 else
20820   glibcxx_cv_func__float_trig_use=no
20821 fi
20822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20823       ac_ext=c
20824 ac_cpp='$CPP $CPPFLAGS'
20825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20828
20829 fi
20830
20831     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20832 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20833     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20834       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20835 do :
20836   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20837 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20838 eval as_val=\$$as_ac_var
20839    if test "x$as_val" = x""yes; then :
20840   cat >>confdefs.h <<_ACEOF
20841 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20842 _ACEOF
20843
20844 fi
20845 done
20846
20847     fi
20848   fi
20849
20850
20851
20852
20853
20854     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20855 $as_echo_n "checking for float round functions... " >&6; }
20856   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20857   $as_echo_n "(cached) " >&6
20858 else
20859
20860
20861     ac_ext=cpp
20862 ac_cpp='$CXXCPP $CPPFLAGS'
20863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20866
20867     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20868 /* end confdefs.h.  */
20869 #include <math.h>
20870 int
20871 main ()
20872 {
20873 ceilf (0); floorf (0);
20874   ;
20875   return 0;
20876 }
20877 _ACEOF
20878 if ac_fn_cxx_try_compile "$LINENO"; then :
20879   glibcxx_cv_func_float_round_use=yes
20880 else
20881   glibcxx_cv_func_float_round_use=no
20882 fi
20883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20884     ac_ext=c
20885 ac_cpp='$CPP $CPPFLAGS'
20886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20889
20890 fi
20891
20892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20893 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20894   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20895     for ac_func in ceilf floorf
20896 do :
20897   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20898 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20899 eval as_val=\$$as_ac_var
20900    if test "x$as_val" = x""yes; then :
20901   cat >>confdefs.h <<_ACEOF
20902 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20903 _ACEOF
20904
20905 fi
20906 done
20907
20908   else
20909     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20910 $as_echo_n "checking for _float round functions... " >&6; }
20911     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20912   $as_echo_n "(cached) " >&6
20913 else
20914
20915
20916       ac_ext=cpp
20917 ac_cpp='$CXXCPP $CPPFLAGS'
20918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20921
20922       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20923 /* end confdefs.h.  */
20924 #include <math.h>
20925 int
20926 main ()
20927 {
20928 _ceilf (0); _floorf (0);
20929   ;
20930   return 0;
20931 }
20932 _ACEOF
20933 if ac_fn_cxx_try_compile "$LINENO"; then :
20934   glibcxx_cv_func__float_round_use=yes
20935 else
20936   glibcxx_cv_func__float_round_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 fi
20946
20947     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20948 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20949     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20950       for ac_func in _ceilf _floorf
20951 do :
20952   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20953 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20954 eval as_val=\$$as_ac_var
20955    if test "x$as_val" = x""yes; then :
20956   cat >>confdefs.h <<_ACEOF
20957 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20958 _ACEOF
20959
20960 fi
20961 done
20962
20963     fi
20964   fi
20965
20966
20967
20968
20969
20970
20971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20972 $as_echo_n "checking for expf declaration... " >&6; }
20973   if test x${glibcxx_cv_func_expf_use+set} != xset; then
20974     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20975   $as_echo_n "(cached) " >&6
20976 else
20977
20978
20979       ac_ext=cpp
20980 ac_cpp='$CXXCPP $CPPFLAGS'
20981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20984
20985       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20986 /* end confdefs.h.  */
20987 #include <math.h>
20988                       #ifdef HAVE_IEEEFP_H
20989                       #include <ieeefp.h>
20990                       #endif
20991
20992 int
20993 main ()
20994 {
20995  expf(0);
20996   ;
20997   return 0;
20998 }
20999 _ACEOF
21000 if ac_fn_cxx_try_compile "$LINENO"; then :
21001   glibcxx_cv_func_expf_use=yes
21002 else
21003   glibcxx_cv_func_expf_use=no
21004 fi
21005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21006       ac_ext=c
21007 ac_cpp='$CPP $CPPFLAGS'
21008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21011
21012
21013 fi
21014
21015   fi
21016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21017 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21018
21019   if test x$glibcxx_cv_func_expf_use = x"yes"; then
21020     for ac_func in expf
21021 do :
21022   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21023 if test "x$ac_cv_func_expf" = x""yes; then :
21024   cat >>confdefs.h <<_ACEOF
21025 #define HAVE_EXPF 1
21026 _ACEOF
21027
21028 fi
21029 done
21030
21031   else
21032
21033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21034 $as_echo_n "checking for _expf declaration... " >&6; }
21035   if test x${glibcxx_cv_func__expf_use+set} != xset; then
21036     if test "${glibcxx_cv_func__expf_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  _expf(0);
21058   ;
21059   return 0;
21060 }
21061 _ACEOF
21062 if ac_fn_cxx_try_compile "$LINENO"; then :
21063   glibcxx_cv_func__expf_use=yes
21064 else
21065   glibcxx_cv_func__expf_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__expf_use" >&5
21079 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21080
21081     if test x$glibcxx_cv_func__expf_use = x"yes"; then
21082       for ac_func in _expf
21083 do :
21084   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21085 if test "x$ac_cv_func__expf" = x""yes; then :
21086   cat >>confdefs.h <<_ACEOF
21087 #define HAVE__EXPF 1
21088 _ACEOF
21089
21090 fi
21091 done
21092
21093     fi
21094   fi
21095
21096
21097
21098
21099
21100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21101 $as_echo_n "checking for isnanf declaration... " >&6; }
21102   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21103     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21104   $as_echo_n "(cached) " >&6
21105 else
21106
21107
21108       ac_ext=cpp
21109 ac_cpp='$CXXCPP $CPPFLAGS'
21110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21113
21114       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21115 /* end confdefs.h.  */
21116 #include <math.h>
21117                       #ifdef HAVE_IEEEFP_H
21118                       #include <ieeefp.h>
21119                       #endif
21120
21121 int
21122 main ()
21123 {
21124  isnanf(0);
21125   ;
21126   return 0;
21127 }
21128 _ACEOF
21129 if ac_fn_cxx_try_compile "$LINENO"; then :
21130   glibcxx_cv_func_isnanf_use=yes
21131 else
21132   glibcxx_cv_func_isnanf_use=no
21133 fi
21134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21135       ac_ext=c
21136 ac_cpp='$CPP $CPPFLAGS'
21137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21140
21141
21142 fi
21143
21144   fi
21145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21146 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21147
21148   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21149     for ac_func in isnanf
21150 do :
21151   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21152 if test "x$ac_cv_func_isnanf" = x""yes; then :
21153   cat >>confdefs.h <<_ACEOF
21154 #define HAVE_ISNANF 1
21155 _ACEOF
21156
21157 fi
21158 done
21159
21160   else
21161
21162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21163 $as_echo_n "checking for _isnanf declaration... " >&6; }
21164   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21165     if test "${glibcxx_cv_func__isnanf_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  _isnanf(0);
21187   ;
21188   return 0;
21189 }
21190 _ACEOF
21191 if ac_fn_cxx_try_compile "$LINENO"; then :
21192   glibcxx_cv_func__isnanf_use=yes
21193 else
21194   glibcxx_cv_func__isnanf_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__isnanf_use" >&5
21208 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21209
21210     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21211       for ac_func in _isnanf
21212 do :
21213   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21214 if test "x$ac_cv_func__isnanf" = x""yes; then :
21215   cat >>confdefs.h <<_ACEOF
21216 #define HAVE__ISNANF 1
21217 _ACEOF
21218
21219 fi
21220 done
21221
21222     fi
21223   fi
21224
21225
21226
21227
21228
21229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21230 $as_echo_n "checking for isinff declaration... " >&6; }
21231   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21232     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21233   $as_echo_n "(cached) " >&6
21234 else
21235
21236
21237       ac_ext=cpp
21238 ac_cpp='$CXXCPP $CPPFLAGS'
21239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21242
21243       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21244 /* end confdefs.h.  */
21245 #include <math.h>
21246                       #ifdef HAVE_IEEEFP_H
21247                       #include <ieeefp.h>
21248                       #endif
21249
21250 int
21251 main ()
21252 {
21253  isinff(0);
21254   ;
21255   return 0;
21256 }
21257 _ACEOF
21258 if ac_fn_cxx_try_compile "$LINENO"; then :
21259   glibcxx_cv_func_isinff_use=yes
21260 else
21261   glibcxx_cv_func_isinff_use=no
21262 fi
21263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21264       ac_ext=c
21265 ac_cpp='$CPP $CPPFLAGS'
21266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21269
21270
21271 fi
21272
21273   fi
21274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21275 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21276
21277   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21278     for ac_func in isinff
21279 do :
21280   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21281 if test "x$ac_cv_func_isinff" = x""yes; then :
21282   cat >>confdefs.h <<_ACEOF
21283 #define HAVE_ISINFF 1
21284 _ACEOF
21285
21286 fi
21287 done
21288
21289   else
21290
21291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21292 $as_echo_n "checking for _isinff declaration... " >&6; }
21293   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21294     if test "${glibcxx_cv_func__isinff_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                       #ifdef HAVE_IEEEFP_H
21309                       #include <ieeefp.h>
21310                       #endif
21311
21312 int
21313 main ()
21314 {
21315  _isinff(0);
21316   ;
21317   return 0;
21318 }
21319 _ACEOF
21320 if ac_fn_cxx_try_compile "$LINENO"; then :
21321   glibcxx_cv_func__isinff_use=yes
21322 else
21323   glibcxx_cv_func__isinff_use=no
21324 fi
21325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21326       ac_ext=c
21327 ac_cpp='$CPP $CPPFLAGS'
21328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21331
21332
21333 fi
21334
21335   fi
21336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21337 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21338
21339     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21340       for ac_func in _isinff
21341 do :
21342   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21343 if test "x$ac_cv_func__isinff" = x""yes; then :
21344   cat >>confdefs.h <<_ACEOF
21345 #define HAVE__ISINFF 1
21346 _ACEOF
21347
21348 fi
21349 done
21350
21351     fi
21352   fi
21353
21354
21355
21356
21357
21358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21359 $as_echo_n "checking for atan2f declaration... " >&6; }
21360   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21361     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21362   $as_echo_n "(cached) " >&6
21363 else
21364
21365
21366       ac_ext=cpp
21367 ac_cpp='$CXXCPP $CPPFLAGS'
21368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21371
21372       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21373 /* end confdefs.h.  */
21374 #include <math.h>
21375 int
21376 main ()
21377 {
21378  atan2f(0, 0);
21379   ;
21380   return 0;
21381 }
21382 _ACEOF
21383 if ac_fn_cxx_try_compile "$LINENO"; then :
21384   glibcxx_cv_func_atan2f_use=yes
21385 else
21386   glibcxx_cv_func_atan2f_use=no
21387 fi
21388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21389       ac_ext=c
21390 ac_cpp='$CPP $CPPFLAGS'
21391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21394
21395
21396 fi
21397
21398   fi
21399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21400 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21401
21402   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21403     for ac_func in atan2f
21404 do :
21405   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21406 if test "x$ac_cv_func_atan2f" = x""yes; then :
21407   cat >>confdefs.h <<_ACEOF
21408 #define HAVE_ATAN2F 1
21409 _ACEOF
21410
21411 fi
21412 done
21413
21414   else
21415
21416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21417 $as_echo_n "checking for _atan2f declaration... " >&6; }
21418   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21419     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21420   $as_echo_n "(cached) " >&6
21421 else
21422
21423
21424       ac_ext=cpp
21425 ac_cpp='$CXXCPP $CPPFLAGS'
21426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21429
21430       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21431 /* end confdefs.h.  */
21432 #include <math.h>
21433 int
21434 main ()
21435 {
21436  _atan2f(0, 0);
21437   ;
21438   return 0;
21439 }
21440 _ACEOF
21441 if ac_fn_cxx_try_compile "$LINENO"; then :
21442   glibcxx_cv_func__atan2f_use=yes
21443 else
21444   glibcxx_cv_func__atan2f_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__atan2f_use" >&5
21458 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21459
21460     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21461       for ac_func in _atan2f
21462 do :
21463   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21464 if test "x$ac_cv_func__atan2f" = x""yes; then :
21465   cat >>confdefs.h <<_ACEOF
21466 #define HAVE__ATAN2F 1
21467 _ACEOF
21468
21469 fi
21470 done
21471
21472     fi
21473   fi
21474
21475
21476
21477
21478
21479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21480 $as_echo_n "checking for fabsf declaration... " >&6; }
21481   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21482     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21483   $as_echo_n "(cached) " >&6
21484 else
21485
21486
21487       ac_ext=cpp
21488 ac_cpp='$CXXCPP $CPPFLAGS'
21489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21492
21493       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21494 /* end confdefs.h.  */
21495 #include <math.h>
21496                       #ifdef HAVE_IEEEFP_H
21497                       #include <ieeefp.h>
21498                       #endif
21499
21500 int
21501 main ()
21502 {
21503  fabsf(0);
21504   ;
21505   return 0;
21506 }
21507 _ACEOF
21508 if ac_fn_cxx_try_compile "$LINENO"; then :
21509   glibcxx_cv_func_fabsf_use=yes
21510 else
21511   glibcxx_cv_func_fabsf_use=no
21512 fi
21513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21514       ac_ext=c
21515 ac_cpp='$CPP $CPPFLAGS'
21516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21519
21520
21521 fi
21522
21523   fi
21524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21525 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21526
21527   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21528     for ac_func in fabsf
21529 do :
21530   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21531 if test "x$ac_cv_func_fabsf" = x""yes; then :
21532   cat >>confdefs.h <<_ACEOF
21533 #define HAVE_FABSF 1
21534 _ACEOF
21535
21536 fi
21537 done
21538
21539   else
21540
21541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21542 $as_echo_n "checking for _fabsf declaration... " >&6; }
21543   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21544     if test "${glibcxx_cv_func__fabsf_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                       #ifdef HAVE_IEEEFP_H
21559                       #include <ieeefp.h>
21560                       #endif
21561
21562 int
21563 main ()
21564 {
21565  _fabsf(0);
21566   ;
21567   return 0;
21568 }
21569 _ACEOF
21570 if ac_fn_cxx_try_compile "$LINENO"; then :
21571   glibcxx_cv_func__fabsf_use=yes
21572 else
21573   glibcxx_cv_func__fabsf_use=no
21574 fi
21575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21576       ac_ext=c
21577 ac_cpp='$CPP $CPPFLAGS'
21578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21581
21582
21583 fi
21584
21585   fi
21586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21587 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21588
21589     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21590       for ac_func in _fabsf
21591 do :
21592   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21593 if test "x$ac_cv_func__fabsf" = x""yes; then :
21594   cat >>confdefs.h <<_ACEOF
21595 #define HAVE__FABSF 1
21596 _ACEOF
21597
21598 fi
21599 done
21600
21601     fi
21602   fi
21603
21604
21605
21606
21607
21608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21609 $as_echo_n "checking for fmodf declaration... " >&6; }
21610   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21611     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21612   $as_echo_n "(cached) " >&6
21613 else
21614
21615
21616       ac_ext=cpp
21617 ac_cpp='$CXXCPP $CPPFLAGS'
21618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21621
21622       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21623 /* end confdefs.h.  */
21624 #include <math.h>
21625 int
21626 main ()
21627 {
21628  fmodf(0, 0);
21629   ;
21630   return 0;
21631 }
21632 _ACEOF
21633 if ac_fn_cxx_try_compile "$LINENO"; then :
21634   glibcxx_cv_func_fmodf_use=yes
21635 else
21636   glibcxx_cv_func_fmodf_use=no
21637 fi
21638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21639       ac_ext=c
21640 ac_cpp='$CPP $CPPFLAGS'
21641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21644
21645
21646 fi
21647
21648   fi
21649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21650 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21651
21652   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21653     for ac_func in fmodf
21654 do :
21655   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21656 if test "x$ac_cv_func_fmodf" = x""yes; then :
21657   cat >>confdefs.h <<_ACEOF
21658 #define HAVE_FMODF 1
21659 _ACEOF
21660
21661 fi
21662 done
21663
21664   else
21665
21666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21667 $as_echo_n "checking for _fmodf declaration... " >&6; }
21668   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21669     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21670   $as_echo_n "(cached) " >&6
21671 else
21672
21673
21674       ac_ext=cpp
21675 ac_cpp='$CXXCPP $CPPFLAGS'
21676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21679
21680       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21681 /* end confdefs.h.  */
21682 #include <math.h>
21683 int
21684 main ()
21685 {
21686  _fmodf(0, 0);
21687   ;
21688   return 0;
21689 }
21690 _ACEOF
21691 if ac_fn_cxx_try_compile "$LINENO"; then :
21692   glibcxx_cv_func__fmodf_use=yes
21693 else
21694   glibcxx_cv_func__fmodf_use=no
21695 fi
21696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21697       ac_ext=c
21698 ac_cpp='$CPP $CPPFLAGS'
21699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21702
21703
21704 fi
21705
21706   fi
21707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21708 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21709
21710     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21711       for ac_func in _fmodf
21712 do :
21713   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21714 if test "x$ac_cv_func__fmodf" = x""yes; then :
21715   cat >>confdefs.h <<_ACEOF
21716 #define HAVE__FMODF 1
21717 _ACEOF
21718
21719 fi
21720 done
21721
21722     fi
21723   fi
21724
21725
21726
21727
21728
21729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21730 $as_echo_n "checking for frexpf declaration... " >&6; }
21731   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21732     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21733   $as_echo_n "(cached) " >&6
21734 else
21735
21736
21737       ac_ext=cpp
21738 ac_cpp='$CXXCPP $CPPFLAGS'
21739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21742
21743       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21744 /* end confdefs.h.  */
21745 #include <math.h>
21746 int
21747 main ()
21748 {
21749  frexpf(0, 0);
21750   ;
21751   return 0;
21752 }
21753 _ACEOF
21754 if ac_fn_cxx_try_compile "$LINENO"; then :
21755   glibcxx_cv_func_frexpf_use=yes
21756 else
21757   glibcxx_cv_func_frexpf_use=no
21758 fi
21759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21760       ac_ext=c
21761 ac_cpp='$CPP $CPPFLAGS'
21762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21765
21766
21767 fi
21768
21769   fi
21770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21771 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21772
21773   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21774     for ac_func in frexpf
21775 do :
21776   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21777 if test "x$ac_cv_func_frexpf" = x""yes; then :
21778   cat >>confdefs.h <<_ACEOF
21779 #define HAVE_FREXPF 1
21780 _ACEOF
21781
21782 fi
21783 done
21784
21785   else
21786
21787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21788 $as_echo_n "checking for _frexpf declaration... " >&6; }
21789   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21790     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21791   $as_echo_n "(cached) " >&6
21792 else
21793
21794
21795       ac_ext=cpp
21796 ac_cpp='$CXXCPP $CPPFLAGS'
21797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21800
21801       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21802 /* end confdefs.h.  */
21803 #include <math.h>
21804 int
21805 main ()
21806 {
21807  _frexpf(0, 0);
21808   ;
21809   return 0;
21810 }
21811 _ACEOF
21812 if ac_fn_cxx_try_compile "$LINENO"; then :
21813   glibcxx_cv_func__frexpf_use=yes
21814 else
21815   glibcxx_cv_func__frexpf_use=no
21816 fi
21817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21818       ac_ext=c
21819 ac_cpp='$CPP $CPPFLAGS'
21820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21823
21824
21825 fi
21826
21827   fi
21828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21829 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21830
21831     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21832       for ac_func in _frexpf
21833 do :
21834   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21835 if test "x$ac_cv_func__frexpf" = x""yes; then :
21836   cat >>confdefs.h <<_ACEOF
21837 #define HAVE__FREXPF 1
21838 _ACEOF
21839
21840 fi
21841 done
21842
21843     fi
21844   fi
21845
21846
21847
21848
21849
21850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21851 $as_echo_n "checking for hypotf declaration... " >&6; }
21852   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21853     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21854   $as_echo_n "(cached) " >&6
21855 else
21856
21857
21858       ac_ext=cpp
21859 ac_cpp='$CXXCPP $CPPFLAGS'
21860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21863
21864       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21865 /* end confdefs.h.  */
21866 #include <math.h>
21867 int
21868 main ()
21869 {
21870  hypotf(0, 0);
21871   ;
21872   return 0;
21873 }
21874 _ACEOF
21875 if ac_fn_cxx_try_compile "$LINENO"; then :
21876   glibcxx_cv_func_hypotf_use=yes
21877 else
21878   glibcxx_cv_func_hypotf_use=no
21879 fi
21880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21881       ac_ext=c
21882 ac_cpp='$CPP $CPPFLAGS'
21883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21886
21887
21888 fi
21889
21890   fi
21891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21892 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21893
21894   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21895     for ac_func in hypotf
21896 do :
21897   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21898 if test "x$ac_cv_func_hypotf" = x""yes; then :
21899   cat >>confdefs.h <<_ACEOF
21900 #define HAVE_HYPOTF 1
21901 _ACEOF
21902
21903 fi
21904 done
21905
21906   else
21907
21908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21909 $as_echo_n "checking for _hypotf declaration... " >&6; }
21910   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21911     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21912   $as_echo_n "(cached) " >&6
21913 else
21914
21915
21916       ac_ext=cpp
21917 ac_cpp='$CXXCPP $CPPFLAGS'
21918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21921
21922       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21923 /* end confdefs.h.  */
21924 #include <math.h>
21925 int
21926 main ()
21927 {
21928  _hypotf(0, 0);
21929   ;
21930   return 0;
21931 }
21932 _ACEOF
21933 if ac_fn_cxx_try_compile "$LINENO"; then :
21934   glibcxx_cv_func__hypotf_use=yes
21935 else
21936   glibcxx_cv_func__hypotf_use=no
21937 fi
21938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21939       ac_ext=c
21940 ac_cpp='$CPP $CPPFLAGS'
21941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21944
21945
21946 fi
21947
21948   fi
21949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21950 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21951
21952     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21953       for ac_func in _hypotf
21954 do :
21955   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21956 if test "x$ac_cv_func__hypotf" = x""yes; then :
21957   cat >>confdefs.h <<_ACEOF
21958 #define HAVE__HYPOTF 1
21959 _ACEOF
21960
21961 fi
21962 done
21963
21964     fi
21965   fi
21966
21967
21968
21969
21970
21971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21972 $as_echo_n "checking for ldexpf declaration... " >&6; }
21973   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21974     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21975   $as_echo_n "(cached) " >&6
21976 else
21977
21978
21979       ac_ext=cpp
21980 ac_cpp='$CXXCPP $CPPFLAGS'
21981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21984
21985       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21986 /* end confdefs.h.  */
21987 #include <math.h>
21988 int
21989 main ()
21990 {
21991  ldexpf(0, 0);
21992   ;
21993   return 0;
21994 }
21995 _ACEOF
21996 if ac_fn_cxx_try_compile "$LINENO"; then :
21997   glibcxx_cv_func_ldexpf_use=yes
21998 else
21999   glibcxx_cv_func_ldexpf_use=no
22000 fi
22001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22002       ac_ext=c
22003 ac_cpp='$CPP $CPPFLAGS'
22004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22007
22008
22009 fi
22010
22011   fi
22012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22013 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22014
22015   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22016     for ac_func in ldexpf
22017 do :
22018   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22019 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22020   cat >>confdefs.h <<_ACEOF
22021 #define HAVE_LDEXPF 1
22022 _ACEOF
22023
22024 fi
22025 done
22026
22027   else
22028
22029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22030 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22031   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22032     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22033   $as_echo_n "(cached) " >&6
22034 else
22035
22036
22037       ac_ext=cpp
22038 ac_cpp='$CXXCPP $CPPFLAGS'
22039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22042
22043       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22044 /* end confdefs.h.  */
22045 #include <math.h>
22046 int
22047 main ()
22048 {
22049  _ldexpf(0, 0);
22050   ;
22051   return 0;
22052 }
22053 _ACEOF
22054 if ac_fn_cxx_try_compile "$LINENO"; then :
22055   glibcxx_cv_func__ldexpf_use=yes
22056 else
22057   glibcxx_cv_func__ldexpf_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__ldexpf_use" >&5
22071 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22072
22073     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22074       for ac_func in _ldexpf
22075 do :
22076   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22077 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22078   cat >>confdefs.h <<_ACEOF
22079 #define HAVE__LDEXPF 1
22080 _ACEOF
22081
22082 fi
22083 done
22084
22085     fi
22086   fi
22087
22088
22089
22090
22091
22092   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22093 $as_echo_n "checking for logf declaration... " >&6; }
22094   if test x${glibcxx_cv_func_logf_use+set} != xset; then
22095     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22096   $as_echo_n "(cached) " >&6
22097 else
22098
22099
22100       ac_ext=cpp
22101 ac_cpp='$CXXCPP $CPPFLAGS'
22102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22105
22106       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22107 /* end confdefs.h.  */
22108 #include <math.h>
22109                       #ifdef HAVE_IEEEFP_H
22110                       #include <ieeefp.h>
22111                       #endif
22112
22113 int
22114 main ()
22115 {
22116  logf(0);
22117   ;
22118   return 0;
22119 }
22120 _ACEOF
22121 if ac_fn_cxx_try_compile "$LINENO"; then :
22122   glibcxx_cv_func_logf_use=yes
22123 else
22124   glibcxx_cv_func_logf_use=no
22125 fi
22126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22127       ac_ext=c
22128 ac_cpp='$CPP $CPPFLAGS'
22129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22132
22133
22134 fi
22135
22136   fi
22137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22138 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22139
22140   if test x$glibcxx_cv_func_logf_use = x"yes"; then
22141     for ac_func in logf
22142 do :
22143   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22144 if test "x$ac_cv_func_logf" = x""yes; then :
22145   cat >>confdefs.h <<_ACEOF
22146 #define HAVE_LOGF 1
22147 _ACEOF
22148
22149 fi
22150 done
22151
22152   else
22153
22154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22155 $as_echo_n "checking for _logf declaration... " >&6; }
22156   if test x${glibcxx_cv_func__logf_use+set} != xset; then
22157     if test "${glibcxx_cv_func__logf_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  _logf(0);
22179   ;
22180   return 0;
22181 }
22182 _ACEOF
22183 if ac_fn_cxx_try_compile "$LINENO"; then :
22184   glibcxx_cv_func__logf_use=yes
22185 else
22186   glibcxx_cv_func__logf_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__logf_use" >&5
22200 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22201
22202     if test x$glibcxx_cv_func__logf_use = x"yes"; then
22203       for ac_func in _logf
22204 do :
22205   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22206 if test "x$ac_cv_func__logf" = x""yes; then :
22207   cat >>confdefs.h <<_ACEOF
22208 #define HAVE__LOGF 1
22209 _ACEOF
22210
22211 fi
22212 done
22213
22214     fi
22215   fi
22216
22217
22218
22219
22220
22221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22222 $as_echo_n "checking for log10f declaration... " >&6; }
22223   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22224     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22225   $as_echo_n "(cached) " >&6
22226 else
22227
22228
22229       ac_ext=cpp
22230 ac_cpp='$CXXCPP $CPPFLAGS'
22231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22234
22235       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22236 /* end confdefs.h.  */
22237 #include <math.h>
22238                       #ifdef HAVE_IEEEFP_H
22239                       #include <ieeefp.h>
22240                       #endif
22241
22242 int
22243 main ()
22244 {
22245  log10f(0);
22246   ;
22247   return 0;
22248 }
22249 _ACEOF
22250 if ac_fn_cxx_try_compile "$LINENO"; then :
22251   glibcxx_cv_func_log10f_use=yes
22252 else
22253   glibcxx_cv_func_log10f_use=no
22254 fi
22255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22256       ac_ext=c
22257 ac_cpp='$CPP $CPPFLAGS'
22258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22261
22262
22263 fi
22264
22265   fi
22266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22267 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22268
22269   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22270     for ac_func in log10f
22271 do :
22272   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22273 if test "x$ac_cv_func_log10f" = x""yes; then :
22274   cat >>confdefs.h <<_ACEOF
22275 #define HAVE_LOG10F 1
22276 _ACEOF
22277
22278 fi
22279 done
22280
22281   else
22282
22283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22284 $as_echo_n "checking for _log10f declaration... " >&6; }
22285   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22286     if test "${glibcxx_cv_func__log10f_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                       #ifdef HAVE_IEEEFP_H
22301                       #include <ieeefp.h>
22302                       #endif
22303
22304 int
22305 main ()
22306 {
22307  _log10f(0);
22308   ;
22309   return 0;
22310 }
22311 _ACEOF
22312 if ac_fn_cxx_try_compile "$LINENO"; then :
22313   glibcxx_cv_func__log10f_use=yes
22314 else
22315   glibcxx_cv_func__log10f_use=no
22316 fi
22317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22318       ac_ext=c
22319 ac_cpp='$CPP $CPPFLAGS'
22320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22323
22324
22325 fi
22326
22327   fi
22328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22329 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22330
22331     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22332       for ac_func in _log10f
22333 do :
22334   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22335 if test "x$ac_cv_func__log10f" = x""yes; then :
22336   cat >>confdefs.h <<_ACEOF
22337 #define HAVE__LOG10F 1
22338 _ACEOF
22339
22340 fi
22341 done
22342
22343     fi
22344   fi
22345
22346
22347
22348
22349
22350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22351 $as_echo_n "checking for modff declaration... " >&6; }
22352   if test x${glibcxx_cv_func_modff_use+set} != xset; then
22353     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22354   $as_echo_n "(cached) " >&6
22355 else
22356
22357
22358       ac_ext=cpp
22359 ac_cpp='$CXXCPP $CPPFLAGS'
22360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22363
22364       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22365 /* end confdefs.h.  */
22366 #include <math.h>
22367 int
22368 main ()
22369 {
22370  modff(0, 0);
22371   ;
22372   return 0;
22373 }
22374 _ACEOF
22375 if ac_fn_cxx_try_compile "$LINENO"; then :
22376   glibcxx_cv_func_modff_use=yes
22377 else
22378   glibcxx_cv_func_modff_use=no
22379 fi
22380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22381       ac_ext=c
22382 ac_cpp='$CPP $CPPFLAGS'
22383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22386
22387
22388 fi
22389
22390   fi
22391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22392 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22393
22394   if test x$glibcxx_cv_func_modff_use = x"yes"; then
22395     for ac_func in modff
22396 do :
22397   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22398 if test "x$ac_cv_func_modff" = x""yes; then :
22399   cat >>confdefs.h <<_ACEOF
22400 #define HAVE_MODFF 1
22401 _ACEOF
22402
22403 fi
22404 done
22405
22406   else
22407
22408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22409 $as_echo_n "checking for _modff declaration... " >&6; }
22410   if test x${glibcxx_cv_func__modff_use+set} != xset; then
22411     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22412   $as_echo_n "(cached) " >&6
22413 else
22414
22415
22416       ac_ext=cpp
22417 ac_cpp='$CXXCPP $CPPFLAGS'
22418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22421
22422       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22423 /* end confdefs.h.  */
22424 #include <math.h>
22425 int
22426 main ()
22427 {
22428  _modff(0, 0);
22429   ;
22430   return 0;
22431 }
22432 _ACEOF
22433 if ac_fn_cxx_try_compile "$LINENO"; then :
22434   glibcxx_cv_func__modff_use=yes
22435 else
22436   glibcxx_cv_func__modff_use=no
22437 fi
22438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22439       ac_ext=c
22440 ac_cpp='$CPP $CPPFLAGS'
22441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22444
22445
22446 fi
22447
22448   fi
22449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22450 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22451
22452     if test x$glibcxx_cv_func__modff_use = x"yes"; then
22453       for ac_func in _modff
22454 do :
22455   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22456 if test "x$ac_cv_func__modff" = x""yes; then :
22457   cat >>confdefs.h <<_ACEOF
22458 #define HAVE__MODFF 1
22459 _ACEOF
22460
22461 fi
22462 done
22463
22464     fi
22465   fi
22466
22467
22468
22469
22470
22471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22472 $as_echo_n "checking for modf declaration... " >&6; }
22473   if test x${glibcxx_cv_func_modf_use+set} != xset; then
22474     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22475   $as_echo_n "(cached) " >&6
22476 else
22477
22478
22479       ac_ext=cpp
22480 ac_cpp='$CXXCPP $CPPFLAGS'
22481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22484
22485       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22486 /* end confdefs.h.  */
22487 #include <math.h>
22488 int
22489 main ()
22490 {
22491  modf(0, 0);
22492   ;
22493   return 0;
22494 }
22495 _ACEOF
22496 if ac_fn_cxx_try_compile "$LINENO"; then :
22497   glibcxx_cv_func_modf_use=yes
22498 else
22499   glibcxx_cv_func_modf_use=no
22500 fi
22501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22502       ac_ext=c
22503 ac_cpp='$CPP $CPPFLAGS'
22504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22507
22508
22509 fi
22510
22511   fi
22512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22513 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22514
22515   if test x$glibcxx_cv_func_modf_use = x"yes"; then
22516     for ac_func in modf
22517 do :
22518   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22519 if test "x$ac_cv_func_modf" = x""yes; then :
22520   cat >>confdefs.h <<_ACEOF
22521 #define HAVE_MODF 1
22522 _ACEOF
22523
22524 fi
22525 done
22526
22527   else
22528
22529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22530 $as_echo_n "checking for _modf declaration... " >&6; }
22531   if test x${glibcxx_cv_func__modf_use+set} != xset; then
22532     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22533   $as_echo_n "(cached) " >&6
22534 else
22535
22536
22537       ac_ext=cpp
22538 ac_cpp='$CXXCPP $CPPFLAGS'
22539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22542
22543       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22544 /* end confdefs.h.  */
22545 #include <math.h>
22546 int
22547 main ()
22548 {
22549  _modf(0, 0);
22550   ;
22551   return 0;
22552 }
22553 _ACEOF
22554 if ac_fn_cxx_try_compile "$LINENO"; then :
22555   glibcxx_cv_func__modf_use=yes
22556 else
22557   glibcxx_cv_func__modf_use=no
22558 fi
22559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22560       ac_ext=c
22561 ac_cpp='$CPP $CPPFLAGS'
22562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22565
22566
22567 fi
22568
22569   fi
22570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22571 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22572
22573     if test x$glibcxx_cv_func__modf_use = x"yes"; then
22574       for ac_func in _modf
22575 do :
22576   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22577 if test "x$ac_cv_func__modf" = x""yes; then :
22578   cat >>confdefs.h <<_ACEOF
22579 #define HAVE__MODF 1
22580 _ACEOF
22581
22582 fi
22583 done
22584
22585     fi
22586   fi
22587
22588
22589
22590
22591
22592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22593 $as_echo_n "checking for powf declaration... " >&6; }
22594   if test x${glibcxx_cv_func_powf_use+set} != xset; then
22595     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22596   $as_echo_n "(cached) " >&6
22597 else
22598
22599
22600       ac_ext=cpp
22601 ac_cpp='$CXXCPP $CPPFLAGS'
22602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22605
22606       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22607 /* end confdefs.h.  */
22608 #include <math.h>
22609 int
22610 main ()
22611 {
22612  powf(0, 0);
22613   ;
22614   return 0;
22615 }
22616 _ACEOF
22617 if ac_fn_cxx_try_compile "$LINENO"; then :
22618   glibcxx_cv_func_powf_use=yes
22619 else
22620   glibcxx_cv_func_powf_use=no
22621 fi
22622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22623       ac_ext=c
22624 ac_cpp='$CPP $CPPFLAGS'
22625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22628
22629
22630 fi
22631
22632   fi
22633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22634 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22635
22636   if test x$glibcxx_cv_func_powf_use = x"yes"; then
22637     for ac_func in powf
22638 do :
22639   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22640 if test "x$ac_cv_func_powf" = x""yes; then :
22641   cat >>confdefs.h <<_ACEOF
22642 #define HAVE_POWF 1
22643 _ACEOF
22644
22645 fi
22646 done
22647
22648   else
22649
22650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22651 $as_echo_n "checking for _powf declaration... " >&6; }
22652   if test x${glibcxx_cv_func__powf_use+set} != xset; then
22653     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22654   $as_echo_n "(cached) " >&6
22655 else
22656
22657
22658       ac_ext=cpp
22659 ac_cpp='$CXXCPP $CPPFLAGS'
22660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22663
22664       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22665 /* end confdefs.h.  */
22666 #include <math.h>
22667 int
22668 main ()
22669 {
22670  _powf(0, 0);
22671   ;
22672   return 0;
22673 }
22674 _ACEOF
22675 if ac_fn_cxx_try_compile "$LINENO"; then :
22676   glibcxx_cv_func__powf_use=yes
22677 else
22678   glibcxx_cv_func__powf_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__powf_use" >&5
22692 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22693
22694     if test x$glibcxx_cv_func__powf_use = x"yes"; then
22695       for ac_func in _powf
22696 do :
22697   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22698 if test "x$ac_cv_func__powf" = x""yes; then :
22699   cat >>confdefs.h <<_ACEOF
22700 #define HAVE__POWF 1
22701 _ACEOF
22702
22703 fi
22704 done
22705
22706     fi
22707   fi
22708
22709
22710
22711
22712
22713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22714 $as_echo_n "checking for sqrtf declaration... " >&6; }
22715   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22716     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22717   $as_echo_n "(cached) " >&6
22718 else
22719
22720
22721       ac_ext=cpp
22722 ac_cpp='$CXXCPP $CPPFLAGS'
22723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22726
22727       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22728 /* end confdefs.h.  */
22729 #include <math.h>
22730                       #ifdef HAVE_IEEEFP_H
22731                       #include <ieeefp.h>
22732                       #endif
22733
22734 int
22735 main ()
22736 {
22737  sqrtf(0);
22738   ;
22739   return 0;
22740 }
22741 _ACEOF
22742 if ac_fn_cxx_try_compile "$LINENO"; then :
22743   glibcxx_cv_func_sqrtf_use=yes
22744 else
22745   glibcxx_cv_func_sqrtf_use=no
22746 fi
22747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22748       ac_ext=c
22749 ac_cpp='$CPP $CPPFLAGS'
22750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22753
22754
22755 fi
22756
22757   fi
22758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22759 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22760
22761   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22762     for ac_func in sqrtf
22763 do :
22764   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22765 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22766   cat >>confdefs.h <<_ACEOF
22767 #define HAVE_SQRTF 1
22768 _ACEOF
22769
22770 fi
22771 done
22772
22773   else
22774
22775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22776 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22777   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22778     if test "${glibcxx_cv_func__sqrtf_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                       #ifdef HAVE_IEEEFP_H
22793                       #include <ieeefp.h>
22794                       #endif
22795
22796 int
22797 main ()
22798 {
22799  _sqrtf(0);
22800   ;
22801   return 0;
22802 }
22803 _ACEOF
22804 if ac_fn_cxx_try_compile "$LINENO"; then :
22805   glibcxx_cv_func__sqrtf_use=yes
22806 else
22807   glibcxx_cv_func__sqrtf_use=no
22808 fi
22809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22810       ac_ext=c
22811 ac_cpp='$CPP $CPPFLAGS'
22812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22815
22816
22817 fi
22818
22819   fi
22820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22821 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22822
22823     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22824       for ac_func in _sqrtf
22825 do :
22826   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22827 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22828   cat >>confdefs.h <<_ACEOF
22829 #define HAVE__SQRTF 1
22830 _ACEOF
22831
22832 fi
22833 done
22834
22835     fi
22836   fi
22837
22838
22839
22840
22841
22842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22843 $as_echo_n "checking for sincosf declaration... " >&6; }
22844   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22845     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22846   $as_echo_n "(cached) " >&6
22847 else
22848
22849
22850       ac_ext=cpp
22851 ac_cpp='$CXXCPP $CPPFLAGS'
22852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22855
22856       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22857 /* end confdefs.h.  */
22858 #include <math.h>
22859 int
22860 main ()
22861 {
22862  sincosf(0, 0, 0);
22863   ;
22864   return 0;
22865 }
22866 _ACEOF
22867 if ac_fn_cxx_try_compile "$LINENO"; then :
22868   glibcxx_cv_func_sincosf_use=yes
22869 else
22870   glibcxx_cv_func_sincosf_use=no
22871 fi
22872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22873       ac_ext=c
22874 ac_cpp='$CPP $CPPFLAGS'
22875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22878
22879
22880 fi
22881
22882   fi
22883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22884 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22885
22886   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22887     for ac_func in sincosf
22888 do :
22889   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22890 if test "x$ac_cv_func_sincosf" = x""yes; then :
22891   cat >>confdefs.h <<_ACEOF
22892 #define HAVE_SINCOSF 1
22893 _ACEOF
22894
22895 fi
22896 done
22897
22898   else
22899
22900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22901 $as_echo_n "checking for _sincosf declaration... " >&6; }
22902   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22903     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22904   $as_echo_n "(cached) " >&6
22905 else
22906
22907
22908       ac_ext=cpp
22909 ac_cpp='$CXXCPP $CPPFLAGS'
22910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22913
22914       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22915 /* end confdefs.h.  */
22916 #include <math.h>
22917 int
22918 main ()
22919 {
22920  _sincosf(0, 0, 0);
22921   ;
22922   return 0;
22923 }
22924 _ACEOF
22925 if ac_fn_cxx_try_compile "$LINENO"; then :
22926   glibcxx_cv_func__sincosf_use=yes
22927 else
22928   glibcxx_cv_func__sincosf_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__sincosf_use" >&5
22942 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22943
22944     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22945       for ac_func in _sincosf
22946 do :
22947   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22948 if test "x$ac_cv_func__sincosf" = x""yes; then :
22949   cat >>confdefs.h <<_ACEOF
22950 #define HAVE__SINCOSF 1
22951 _ACEOF
22952
22953 fi
22954 done
22955
22956     fi
22957   fi
22958
22959
22960
22961
22962
22963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22964 $as_echo_n "checking for finitef declaration... " >&6; }
22965   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22966     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22967   $as_echo_n "(cached) " >&6
22968 else
22969
22970
22971       ac_ext=cpp
22972 ac_cpp='$CXXCPP $CPPFLAGS'
22973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22976
22977       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22978 /* end confdefs.h.  */
22979 #include <math.h>
22980                       #ifdef HAVE_IEEEFP_H
22981                       #include <ieeefp.h>
22982                       #endif
22983
22984 int
22985 main ()
22986 {
22987  finitef(0);
22988   ;
22989   return 0;
22990 }
22991 _ACEOF
22992 if ac_fn_cxx_try_compile "$LINENO"; then :
22993   glibcxx_cv_func_finitef_use=yes
22994 else
22995   glibcxx_cv_func_finitef_use=no
22996 fi
22997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22998       ac_ext=c
22999 ac_cpp='$CPP $CPPFLAGS'
23000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23003
23004
23005 fi
23006
23007   fi
23008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23009 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23010
23011   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23012     for ac_func in finitef
23013 do :
23014   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23015 if test "x$ac_cv_func_finitef" = x""yes; then :
23016   cat >>confdefs.h <<_ACEOF
23017 #define HAVE_FINITEF 1
23018 _ACEOF
23019
23020 fi
23021 done
23022
23023   else
23024
23025   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23026 $as_echo_n "checking for _finitef declaration... " >&6; }
23027   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23028     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23029   $as_echo_n "(cached) " >&6
23030 else
23031
23032
23033       ac_ext=cpp
23034 ac_cpp='$CXXCPP $CPPFLAGS'
23035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23038
23039       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23040 /* end confdefs.h.  */
23041 #include <math.h>
23042                       #ifdef HAVE_IEEEFP_H
23043                       #include <ieeefp.h>
23044                       #endif
23045
23046 int
23047 main ()
23048 {
23049  _finitef(0);
23050   ;
23051   return 0;
23052 }
23053 _ACEOF
23054 if ac_fn_cxx_try_compile "$LINENO"; then :
23055   glibcxx_cv_func__finitef_use=yes
23056 else
23057   glibcxx_cv_func__finitef_use=no
23058 fi
23059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23060       ac_ext=c
23061 ac_cpp='$CPP $CPPFLAGS'
23062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23065
23066
23067 fi
23068
23069   fi
23070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23071 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23072
23073     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23074       for ac_func in _finitef
23075 do :
23076   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23077 if test "x$ac_cv_func__finitef" = x""yes; then :
23078   cat >>confdefs.h <<_ACEOF
23079 #define HAVE__FINITEF 1
23080 _ACEOF
23081
23082 fi
23083 done
23084
23085     fi
23086   fi
23087
23088
23089
23090
23091
23092     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23093 $as_echo_n "checking for long double trig functions... " >&6; }
23094   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23095   $as_echo_n "(cached) " >&6
23096 else
23097
23098
23099     ac_ext=cpp
23100 ac_cpp='$CXXCPP $CPPFLAGS'
23101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23104
23105     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23106 /* end confdefs.h.  */
23107 #include <math.h>
23108 int
23109 main ()
23110 {
23111 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23112   ;
23113   return 0;
23114 }
23115 _ACEOF
23116 if ac_fn_cxx_try_compile "$LINENO"; then :
23117   glibcxx_cv_func_long_double_trig_use=yes
23118 else
23119   glibcxx_cv_func_long_double_trig_use=no
23120 fi
23121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23122     ac_ext=c
23123 ac_cpp='$CPP $CPPFLAGS'
23124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23127
23128 fi
23129
23130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23131 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23132   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23133     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23134 do :
23135   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23136 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23137 eval as_val=\$$as_ac_var
23138    if test "x$as_val" = x""yes; then :
23139   cat >>confdefs.h <<_ACEOF
23140 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23141 _ACEOF
23142
23143 fi
23144 done
23145
23146   else
23147     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23148 $as_echo_n "checking for _long double trig functions... " >&6; }
23149     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23150   $as_echo_n "(cached) " >&6
23151 else
23152
23153
23154       ac_ext=cpp
23155 ac_cpp='$CXXCPP $CPPFLAGS'
23156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23159
23160       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23161 /* end confdefs.h.  */
23162 #include <math.h>
23163 int
23164 main ()
23165 {
23166 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23167   ;
23168   return 0;
23169 }
23170 _ACEOF
23171 if ac_fn_cxx_try_compile "$LINENO"; then :
23172   glibcxx_cv_func__long_double_trig_use=yes
23173 else
23174   glibcxx_cv_func__long_double_trig_use=no
23175 fi
23176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23177       ac_ext=c
23178 ac_cpp='$CPP $CPPFLAGS'
23179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23182
23183 fi
23184
23185     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23186 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23187     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23188       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23189 do :
23190   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23191 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23192 eval as_val=\$$as_ac_var
23193    if test "x$as_val" = x""yes; then :
23194   cat >>confdefs.h <<_ACEOF
23195 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23196 _ACEOF
23197
23198 fi
23199 done
23200
23201     fi
23202   fi
23203
23204
23205
23206
23207
23208     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23209 $as_echo_n "checking for long double round functions... " >&6; }
23210   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23211   $as_echo_n "(cached) " >&6
23212 else
23213
23214
23215     ac_ext=cpp
23216 ac_cpp='$CXXCPP $CPPFLAGS'
23217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23220
23221     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23222 /* end confdefs.h.  */
23223 #include <math.h>
23224 int
23225 main ()
23226 {
23227 ceill (0); floorl (0);
23228   ;
23229   return 0;
23230 }
23231 _ACEOF
23232 if ac_fn_cxx_try_compile "$LINENO"; then :
23233   glibcxx_cv_func_long_double_round_use=yes
23234 else
23235   glibcxx_cv_func_long_double_round_use=no
23236 fi
23237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23238     ac_ext=c
23239 ac_cpp='$CPP $CPPFLAGS'
23240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23243
23244 fi
23245
23246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23247 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23248   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23249     for ac_func in ceill floorl
23250 do :
23251   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23252 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23253 eval as_val=\$$as_ac_var
23254    if test "x$as_val" = x""yes; then :
23255   cat >>confdefs.h <<_ACEOF
23256 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23257 _ACEOF
23258
23259 fi
23260 done
23261
23262   else
23263     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23264 $as_echo_n "checking for _long double round functions... " >&6; }
23265     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23266   $as_echo_n "(cached) " >&6
23267 else
23268
23269
23270       ac_ext=cpp
23271 ac_cpp='$CXXCPP $CPPFLAGS'
23272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23275
23276       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23277 /* end confdefs.h.  */
23278 #include <math.h>
23279 int
23280 main ()
23281 {
23282 _ceill (0); _floorl (0);
23283   ;
23284   return 0;
23285 }
23286 _ACEOF
23287 if ac_fn_cxx_try_compile "$LINENO"; then :
23288   glibcxx_cv_func__long_double_round_use=yes
23289 else
23290   glibcxx_cv_func__long_double_round_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 fi
23300
23301     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23302 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23303     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23304       for ac_func in _ceill _floorl
23305 do :
23306   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23307 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23308 eval as_val=\$$as_ac_var
23309    if test "x$as_val" = x""yes; then :
23310   cat >>confdefs.h <<_ACEOF
23311 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23312 _ACEOF
23313
23314 fi
23315 done
23316
23317     fi
23318   fi
23319
23320
23321
23322
23323
23324
23325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23326 $as_echo_n "checking for isnanl declaration... " >&6; }
23327   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23328     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23329   $as_echo_n "(cached) " >&6
23330 else
23331
23332
23333       ac_ext=cpp
23334 ac_cpp='$CXXCPP $CPPFLAGS'
23335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23338
23339       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23340 /* end confdefs.h.  */
23341 #include <math.h>
23342                       #ifdef HAVE_IEEEFP_H
23343                       #include <ieeefp.h>
23344                       #endif
23345
23346 int
23347 main ()
23348 {
23349  isnanl(0);
23350   ;
23351   return 0;
23352 }
23353 _ACEOF
23354 if ac_fn_cxx_try_compile "$LINENO"; then :
23355   glibcxx_cv_func_isnanl_use=yes
23356 else
23357   glibcxx_cv_func_isnanl_use=no
23358 fi
23359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23360       ac_ext=c
23361 ac_cpp='$CPP $CPPFLAGS'
23362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23365
23366
23367 fi
23368
23369   fi
23370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23371 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23372
23373   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23374     for ac_func in isnanl
23375 do :
23376   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23377 if test "x$ac_cv_func_isnanl" = x""yes; then :
23378   cat >>confdefs.h <<_ACEOF
23379 #define HAVE_ISNANL 1
23380 _ACEOF
23381
23382 fi
23383 done
23384
23385   else
23386
23387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23388 $as_echo_n "checking for _isnanl declaration... " >&6; }
23389   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23390     if test "${glibcxx_cv_func__isnanl_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  _isnanl(0);
23412   ;
23413   return 0;
23414 }
23415 _ACEOF
23416 if ac_fn_cxx_try_compile "$LINENO"; then :
23417   glibcxx_cv_func__isnanl_use=yes
23418 else
23419   glibcxx_cv_func__isnanl_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__isnanl_use" >&5
23433 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23434
23435     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23436       for ac_func in _isnanl
23437 do :
23438   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23439 if test "x$ac_cv_func__isnanl" = x""yes; then :
23440   cat >>confdefs.h <<_ACEOF
23441 #define HAVE__ISNANL 1
23442 _ACEOF
23443
23444 fi
23445 done
23446
23447     fi
23448   fi
23449
23450
23451
23452
23453
23454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23455 $as_echo_n "checking for isinfl declaration... " >&6; }
23456   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23457     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23458   $as_echo_n "(cached) " >&6
23459 else
23460
23461
23462       ac_ext=cpp
23463 ac_cpp='$CXXCPP $CPPFLAGS'
23464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23467
23468       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23469 /* end confdefs.h.  */
23470 #include <math.h>
23471                       #ifdef HAVE_IEEEFP_H
23472                       #include <ieeefp.h>
23473                       #endif
23474
23475 int
23476 main ()
23477 {
23478  isinfl(0);
23479   ;
23480   return 0;
23481 }
23482 _ACEOF
23483 if ac_fn_cxx_try_compile "$LINENO"; then :
23484   glibcxx_cv_func_isinfl_use=yes
23485 else
23486   glibcxx_cv_func_isinfl_use=no
23487 fi
23488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23489       ac_ext=c
23490 ac_cpp='$CPP $CPPFLAGS'
23491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23494
23495
23496 fi
23497
23498   fi
23499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23500 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23501
23502   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23503     for ac_func in isinfl
23504 do :
23505   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23506 if test "x$ac_cv_func_isinfl" = x""yes; then :
23507   cat >>confdefs.h <<_ACEOF
23508 #define HAVE_ISINFL 1
23509 _ACEOF
23510
23511 fi
23512 done
23513
23514   else
23515
23516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23517 $as_echo_n "checking for _isinfl declaration... " >&6; }
23518   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23519     if test "${glibcxx_cv_func__isinfl_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                       #ifdef HAVE_IEEEFP_H
23534                       #include <ieeefp.h>
23535                       #endif
23536
23537 int
23538 main ()
23539 {
23540  _isinfl(0);
23541   ;
23542   return 0;
23543 }
23544 _ACEOF
23545 if ac_fn_cxx_try_compile "$LINENO"; then :
23546   glibcxx_cv_func__isinfl_use=yes
23547 else
23548   glibcxx_cv_func__isinfl_use=no
23549 fi
23550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23551       ac_ext=c
23552 ac_cpp='$CPP $CPPFLAGS'
23553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23556
23557
23558 fi
23559
23560   fi
23561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23562 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23563
23564     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23565       for ac_func in _isinfl
23566 do :
23567   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23568 if test "x$ac_cv_func__isinfl" = x""yes; then :
23569   cat >>confdefs.h <<_ACEOF
23570 #define HAVE__ISINFL 1
23571 _ACEOF
23572
23573 fi
23574 done
23575
23576     fi
23577   fi
23578
23579
23580
23581
23582
23583   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23584 $as_echo_n "checking for atan2l declaration... " >&6; }
23585   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23586     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23587   $as_echo_n "(cached) " >&6
23588 else
23589
23590
23591       ac_ext=cpp
23592 ac_cpp='$CXXCPP $CPPFLAGS'
23593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23596
23597       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23598 /* end confdefs.h.  */
23599 #include <math.h>
23600 int
23601 main ()
23602 {
23603  atan2l(0, 0);
23604   ;
23605   return 0;
23606 }
23607 _ACEOF
23608 if ac_fn_cxx_try_compile "$LINENO"; then :
23609   glibcxx_cv_func_atan2l_use=yes
23610 else
23611   glibcxx_cv_func_atan2l_use=no
23612 fi
23613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23614       ac_ext=c
23615 ac_cpp='$CPP $CPPFLAGS'
23616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23619
23620
23621 fi
23622
23623   fi
23624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23625 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23626
23627   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23628     for ac_func in atan2l
23629 do :
23630   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23631 if test "x$ac_cv_func_atan2l" = x""yes; then :
23632   cat >>confdefs.h <<_ACEOF
23633 #define HAVE_ATAN2L 1
23634 _ACEOF
23635
23636 fi
23637 done
23638
23639   else
23640
23641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23642 $as_echo_n "checking for _atan2l declaration... " >&6; }
23643   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23644     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23645   $as_echo_n "(cached) " >&6
23646 else
23647
23648
23649       ac_ext=cpp
23650 ac_cpp='$CXXCPP $CPPFLAGS'
23651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23654
23655       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23656 /* end confdefs.h.  */
23657 #include <math.h>
23658 int
23659 main ()
23660 {
23661  _atan2l(0, 0);
23662   ;
23663   return 0;
23664 }
23665 _ACEOF
23666 if ac_fn_cxx_try_compile "$LINENO"; then :
23667   glibcxx_cv_func__atan2l_use=yes
23668 else
23669   glibcxx_cv_func__atan2l_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__atan2l_use" >&5
23683 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23684
23685     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23686       for ac_func in _atan2l
23687 do :
23688   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23689 if test "x$ac_cv_func__atan2l" = x""yes; then :
23690   cat >>confdefs.h <<_ACEOF
23691 #define HAVE__ATAN2L 1
23692 _ACEOF
23693
23694 fi
23695 done
23696
23697     fi
23698   fi
23699
23700
23701
23702
23703
23704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23705 $as_echo_n "checking for expl declaration... " >&6; }
23706   if test x${glibcxx_cv_func_expl_use+set} != xset; then
23707     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23708   $as_echo_n "(cached) " >&6
23709 else
23710
23711
23712       ac_ext=cpp
23713 ac_cpp='$CXXCPP $CPPFLAGS'
23714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23717
23718       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23719 /* end confdefs.h.  */
23720 #include <math.h>
23721                       #ifdef HAVE_IEEEFP_H
23722                       #include <ieeefp.h>
23723                       #endif
23724
23725 int
23726 main ()
23727 {
23728  expl(0);
23729   ;
23730   return 0;
23731 }
23732 _ACEOF
23733 if ac_fn_cxx_try_compile "$LINENO"; then :
23734   glibcxx_cv_func_expl_use=yes
23735 else
23736   glibcxx_cv_func_expl_use=no
23737 fi
23738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23739       ac_ext=c
23740 ac_cpp='$CPP $CPPFLAGS'
23741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23744
23745
23746 fi
23747
23748   fi
23749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23750 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23751
23752   if test x$glibcxx_cv_func_expl_use = x"yes"; then
23753     for ac_func in expl
23754 do :
23755   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23756 if test "x$ac_cv_func_expl" = x""yes; then :
23757   cat >>confdefs.h <<_ACEOF
23758 #define HAVE_EXPL 1
23759 _ACEOF
23760
23761 fi
23762 done
23763
23764   else
23765
23766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23767 $as_echo_n "checking for _expl declaration... " >&6; }
23768   if test x${glibcxx_cv_func__expl_use+set} != xset; then
23769     if test "${glibcxx_cv_func__expl_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  _expl(0);
23791   ;
23792   return 0;
23793 }
23794 _ACEOF
23795 if ac_fn_cxx_try_compile "$LINENO"; then :
23796   glibcxx_cv_func__expl_use=yes
23797 else
23798   glibcxx_cv_func__expl_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__expl_use" >&5
23812 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23813
23814     if test x$glibcxx_cv_func__expl_use = x"yes"; then
23815       for ac_func in _expl
23816 do :
23817   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23818 if test "x$ac_cv_func__expl" = x""yes; then :
23819   cat >>confdefs.h <<_ACEOF
23820 #define HAVE__EXPL 1
23821 _ACEOF
23822
23823 fi
23824 done
23825
23826     fi
23827   fi
23828
23829
23830
23831
23832
23833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23834 $as_echo_n "checking for fabsl declaration... " >&6; }
23835   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23836     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23837   $as_echo_n "(cached) " >&6
23838 else
23839
23840
23841       ac_ext=cpp
23842 ac_cpp='$CXXCPP $CPPFLAGS'
23843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23846
23847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23848 /* end confdefs.h.  */
23849 #include <math.h>
23850                       #ifdef HAVE_IEEEFP_H
23851                       #include <ieeefp.h>
23852                       #endif
23853
23854 int
23855 main ()
23856 {
23857  fabsl(0);
23858   ;
23859   return 0;
23860 }
23861 _ACEOF
23862 if ac_fn_cxx_try_compile "$LINENO"; then :
23863   glibcxx_cv_func_fabsl_use=yes
23864 else
23865   glibcxx_cv_func_fabsl_use=no
23866 fi
23867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23868       ac_ext=c
23869 ac_cpp='$CPP $CPPFLAGS'
23870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23873
23874
23875 fi
23876
23877   fi
23878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23879 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23880
23881   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23882     for ac_func in fabsl
23883 do :
23884   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23885 if test "x$ac_cv_func_fabsl" = x""yes; then :
23886   cat >>confdefs.h <<_ACEOF
23887 #define HAVE_FABSL 1
23888 _ACEOF
23889
23890 fi
23891 done
23892
23893   else
23894
23895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23896 $as_echo_n "checking for _fabsl declaration... " >&6; }
23897   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23898     if test "${glibcxx_cv_func__fabsl_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                       #ifdef HAVE_IEEEFP_H
23913                       #include <ieeefp.h>
23914                       #endif
23915
23916 int
23917 main ()
23918 {
23919  _fabsl(0);
23920   ;
23921   return 0;
23922 }
23923 _ACEOF
23924 if ac_fn_cxx_try_compile "$LINENO"; then :
23925   glibcxx_cv_func__fabsl_use=yes
23926 else
23927   glibcxx_cv_func__fabsl_use=no
23928 fi
23929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23930       ac_ext=c
23931 ac_cpp='$CPP $CPPFLAGS'
23932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23935
23936
23937 fi
23938
23939   fi
23940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23941 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23942
23943     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23944       for ac_func in _fabsl
23945 do :
23946   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23947 if test "x$ac_cv_func__fabsl" = x""yes; then :
23948   cat >>confdefs.h <<_ACEOF
23949 #define HAVE__FABSL 1
23950 _ACEOF
23951
23952 fi
23953 done
23954
23955     fi
23956   fi
23957
23958
23959
23960
23961
23962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23963 $as_echo_n "checking for fmodl declaration... " >&6; }
23964   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23965     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23966   $as_echo_n "(cached) " >&6
23967 else
23968
23969
23970       ac_ext=cpp
23971 ac_cpp='$CXXCPP $CPPFLAGS'
23972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23975
23976       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23977 /* end confdefs.h.  */
23978 #include <math.h>
23979 int
23980 main ()
23981 {
23982  fmodl(0, 0);
23983   ;
23984   return 0;
23985 }
23986 _ACEOF
23987 if ac_fn_cxx_try_compile "$LINENO"; then :
23988   glibcxx_cv_func_fmodl_use=yes
23989 else
23990   glibcxx_cv_func_fmodl_use=no
23991 fi
23992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23993       ac_ext=c
23994 ac_cpp='$CPP $CPPFLAGS'
23995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23998
23999
24000 fi
24001
24002   fi
24003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24004 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24005
24006   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24007     for ac_func in fmodl
24008 do :
24009   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24010 if test "x$ac_cv_func_fmodl" = x""yes; then :
24011   cat >>confdefs.h <<_ACEOF
24012 #define HAVE_FMODL 1
24013 _ACEOF
24014
24015 fi
24016 done
24017
24018   else
24019
24020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24021 $as_echo_n "checking for _fmodl declaration... " >&6; }
24022   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24023     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24024   $as_echo_n "(cached) " >&6
24025 else
24026
24027
24028       ac_ext=cpp
24029 ac_cpp='$CXXCPP $CPPFLAGS'
24030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24033
24034       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24035 /* end confdefs.h.  */
24036 #include <math.h>
24037 int
24038 main ()
24039 {
24040  _fmodl(0, 0);
24041   ;
24042   return 0;
24043 }
24044 _ACEOF
24045 if ac_fn_cxx_try_compile "$LINENO"; then :
24046   glibcxx_cv_func__fmodl_use=yes
24047 else
24048   glibcxx_cv_func__fmodl_use=no
24049 fi
24050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24051       ac_ext=c
24052 ac_cpp='$CPP $CPPFLAGS'
24053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24056
24057
24058 fi
24059
24060   fi
24061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24062 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24063
24064     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24065       for ac_func in _fmodl
24066 do :
24067   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24068 if test "x$ac_cv_func__fmodl" = x""yes; then :
24069   cat >>confdefs.h <<_ACEOF
24070 #define HAVE__FMODL 1
24071 _ACEOF
24072
24073 fi
24074 done
24075
24076     fi
24077   fi
24078
24079
24080
24081
24082
24083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24084 $as_echo_n "checking for frexpl declaration... " >&6; }
24085   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24086     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24087   $as_echo_n "(cached) " >&6
24088 else
24089
24090
24091       ac_ext=cpp
24092 ac_cpp='$CXXCPP $CPPFLAGS'
24093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24096
24097       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24098 /* end confdefs.h.  */
24099 #include <math.h>
24100 int
24101 main ()
24102 {
24103  frexpl(0, 0);
24104   ;
24105   return 0;
24106 }
24107 _ACEOF
24108 if ac_fn_cxx_try_compile "$LINENO"; then :
24109   glibcxx_cv_func_frexpl_use=yes
24110 else
24111   glibcxx_cv_func_frexpl_use=no
24112 fi
24113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24114       ac_ext=c
24115 ac_cpp='$CPP $CPPFLAGS'
24116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24119
24120
24121 fi
24122
24123   fi
24124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24125 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24126
24127   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24128     for ac_func in frexpl
24129 do :
24130   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24131 if test "x$ac_cv_func_frexpl" = x""yes; then :
24132   cat >>confdefs.h <<_ACEOF
24133 #define HAVE_FREXPL 1
24134 _ACEOF
24135
24136 fi
24137 done
24138
24139   else
24140
24141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24142 $as_echo_n "checking for _frexpl declaration... " >&6; }
24143   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24144     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24145   $as_echo_n "(cached) " >&6
24146 else
24147
24148
24149       ac_ext=cpp
24150 ac_cpp='$CXXCPP $CPPFLAGS'
24151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24154
24155       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24156 /* end confdefs.h.  */
24157 #include <math.h>
24158 int
24159 main ()
24160 {
24161  _frexpl(0, 0);
24162   ;
24163   return 0;
24164 }
24165 _ACEOF
24166 if ac_fn_cxx_try_compile "$LINENO"; then :
24167   glibcxx_cv_func__frexpl_use=yes
24168 else
24169   glibcxx_cv_func__frexpl_use=no
24170 fi
24171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24172       ac_ext=c
24173 ac_cpp='$CPP $CPPFLAGS'
24174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24177
24178
24179 fi
24180
24181   fi
24182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24183 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24184
24185     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24186       for ac_func in _frexpl
24187 do :
24188   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24189 if test "x$ac_cv_func__frexpl" = x""yes; then :
24190   cat >>confdefs.h <<_ACEOF
24191 #define HAVE__FREXPL 1
24192 _ACEOF
24193
24194 fi
24195 done
24196
24197     fi
24198   fi
24199
24200
24201
24202
24203
24204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24205 $as_echo_n "checking for hypotl declaration... " >&6; }
24206   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24207     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24208   $as_echo_n "(cached) " >&6
24209 else
24210
24211
24212       ac_ext=cpp
24213 ac_cpp='$CXXCPP $CPPFLAGS'
24214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24217
24218       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24219 /* end confdefs.h.  */
24220 #include <math.h>
24221 int
24222 main ()
24223 {
24224  hypotl(0, 0);
24225   ;
24226   return 0;
24227 }
24228 _ACEOF
24229 if ac_fn_cxx_try_compile "$LINENO"; then :
24230   glibcxx_cv_func_hypotl_use=yes
24231 else
24232   glibcxx_cv_func_hypotl_use=no
24233 fi
24234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24235       ac_ext=c
24236 ac_cpp='$CPP $CPPFLAGS'
24237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24240
24241
24242 fi
24243
24244   fi
24245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24246 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24247
24248   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24249     for ac_func in hypotl
24250 do :
24251   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24252 if test "x$ac_cv_func_hypotl" = x""yes; then :
24253   cat >>confdefs.h <<_ACEOF
24254 #define HAVE_HYPOTL 1
24255 _ACEOF
24256
24257 fi
24258 done
24259
24260   else
24261
24262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24263 $as_echo_n "checking for _hypotl declaration... " >&6; }
24264   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24265     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24266   $as_echo_n "(cached) " >&6
24267 else
24268
24269
24270       ac_ext=cpp
24271 ac_cpp='$CXXCPP $CPPFLAGS'
24272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24275
24276       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24277 /* end confdefs.h.  */
24278 #include <math.h>
24279 int
24280 main ()
24281 {
24282  _hypotl(0, 0);
24283   ;
24284   return 0;
24285 }
24286 _ACEOF
24287 if ac_fn_cxx_try_compile "$LINENO"; then :
24288   glibcxx_cv_func__hypotl_use=yes
24289 else
24290   glibcxx_cv_func__hypotl_use=no
24291 fi
24292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24293       ac_ext=c
24294 ac_cpp='$CPP $CPPFLAGS'
24295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24298
24299
24300 fi
24301
24302   fi
24303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24304 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24305
24306     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24307       for ac_func in _hypotl
24308 do :
24309   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24310 if test "x$ac_cv_func__hypotl" = x""yes; then :
24311   cat >>confdefs.h <<_ACEOF
24312 #define HAVE__HYPOTL 1
24313 _ACEOF
24314
24315 fi
24316 done
24317
24318     fi
24319   fi
24320
24321
24322
24323
24324
24325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24326 $as_echo_n "checking for ldexpl declaration... " >&6; }
24327   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24328     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24329   $as_echo_n "(cached) " >&6
24330 else
24331
24332
24333       ac_ext=cpp
24334 ac_cpp='$CXXCPP $CPPFLAGS'
24335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24338
24339       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24340 /* end confdefs.h.  */
24341 #include <math.h>
24342 int
24343 main ()
24344 {
24345  ldexpl(0, 0);
24346   ;
24347   return 0;
24348 }
24349 _ACEOF
24350 if ac_fn_cxx_try_compile "$LINENO"; then :
24351   glibcxx_cv_func_ldexpl_use=yes
24352 else
24353   glibcxx_cv_func_ldexpl_use=no
24354 fi
24355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24356       ac_ext=c
24357 ac_cpp='$CPP $CPPFLAGS'
24358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24361
24362
24363 fi
24364
24365   fi
24366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24367 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24368
24369   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24370     for ac_func in ldexpl
24371 do :
24372   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24373 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24374   cat >>confdefs.h <<_ACEOF
24375 #define HAVE_LDEXPL 1
24376 _ACEOF
24377
24378 fi
24379 done
24380
24381   else
24382
24383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24384 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24385   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24386     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24387   $as_echo_n "(cached) " >&6
24388 else
24389
24390
24391       ac_ext=cpp
24392 ac_cpp='$CXXCPP $CPPFLAGS'
24393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24396
24397       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24398 /* end confdefs.h.  */
24399 #include <math.h>
24400 int
24401 main ()
24402 {
24403  _ldexpl(0, 0);
24404   ;
24405   return 0;
24406 }
24407 _ACEOF
24408 if ac_fn_cxx_try_compile "$LINENO"; then :
24409   glibcxx_cv_func__ldexpl_use=yes
24410 else
24411   glibcxx_cv_func__ldexpl_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__ldexpl_use" >&5
24425 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24426
24427     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24428       for ac_func in _ldexpl
24429 do :
24430   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24431 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24432   cat >>confdefs.h <<_ACEOF
24433 #define HAVE__LDEXPL 1
24434 _ACEOF
24435
24436 fi
24437 done
24438
24439     fi
24440   fi
24441
24442
24443
24444
24445
24446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24447 $as_echo_n "checking for logl declaration... " >&6; }
24448   if test x${glibcxx_cv_func_logl_use+set} != xset; then
24449     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24450   $as_echo_n "(cached) " >&6
24451 else
24452
24453
24454       ac_ext=cpp
24455 ac_cpp='$CXXCPP $CPPFLAGS'
24456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24459
24460       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24461 /* end confdefs.h.  */
24462 #include <math.h>
24463                       #ifdef HAVE_IEEEFP_H
24464                       #include <ieeefp.h>
24465                       #endif
24466
24467 int
24468 main ()
24469 {
24470  logl(0);
24471   ;
24472   return 0;
24473 }
24474 _ACEOF
24475 if ac_fn_cxx_try_compile "$LINENO"; then :
24476   glibcxx_cv_func_logl_use=yes
24477 else
24478   glibcxx_cv_func_logl_use=no
24479 fi
24480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24481       ac_ext=c
24482 ac_cpp='$CPP $CPPFLAGS'
24483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24486
24487
24488 fi
24489
24490   fi
24491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24492 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24493
24494   if test x$glibcxx_cv_func_logl_use = x"yes"; then
24495     for ac_func in logl
24496 do :
24497   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24498 if test "x$ac_cv_func_logl" = x""yes; then :
24499   cat >>confdefs.h <<_ACEOF
24500 #define HAVE_LOGL 1
24501 _ACEOF
24502
24503 fi
24504 done
24505
24506   else
24507
24508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24509 $as_echo_n "checking for _logl declaration... " >&6; }
24510   if test x${glibcxx_cv_func__logl_use+set} != xset; then
24511     if test "${glibcxx_cv_func__logl_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  _logl(0);
24533   ;
24534   return 0;
24535 }
24536 _ACEOF
24537 if ac_fn_cxx_try_compile "$LINENO"; then :
24538   glibcxx_cv_func__logl_use=yes
24539 else
24540   glibcxx_cv_func__logl_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__logl_use" >&5
24554 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24555
24556     if test x$glibcxx_cv_func__logl_use = x"yes"; then
24557       for ac_func in _logl
24558 do :
24559   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24560 if test "x$ac_cv_func__logl" = x""yes; then :
24561   cat >>confdefs.h <<_ACEOF
24562 #define HAVE__LOGL 1
24563 _ACEOF
24564
24565 fi
24566 done
24567
24568     fi
24569   fi
24570
24571
24572
24573
24574
24575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24576 $as_echo_n "checking for log10l declaration... " >&6; }
24577   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24578     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24579   $as_echo_n "(cached) " >&6
24580 else
24581
24582
24583       ac_ext=cpp
24584 ac_cpp='$CXXCPP $CPPFLAGS'
24585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24588
24589       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24590 /* end confdefs.h.  */
24591 #include <math.h>
24592                       #ifdef HAVE_IEEEFP_H
24593                       #include <ieeefp.h>
24594                       #endif
24595
24596 int
24597 main ()
24598 {
24599  log10l(0);
24600   ;
24601   return 0;
24602 }
24603 _ACEOF
24604 if ac_fn_cxx_try_compile "$LINENO"; then :
24605   glibcxx_cv_func_log10l_use=yes
24606 else
24607   glibcxx_cv_func_log10l_use=no
24608 fi
24609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24610       ac_ext=c
24611 ac_cpp='$CPP $CPPFLAGS'
24612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24615
24616
24617 fi
24618
24619   fi
24620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24621 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24622
24623   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24624     for ac_func in log10l
24625 do :
24626   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24627 if test "x$ac_cv_func_log10l" = x""yes; then :
24628   cat >>confdefs.h <<_ACEOF
24629 #define HAVE_LOG10L 1
24630 _ACEOF
24631
24632 fi
24633 done
24634
24635   else
24636
24637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24638 $as_echo_n "checking for _log10l declaration... " >&6; }
24639   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24640     if test "${glibcxx_cv_func__log10l_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                       #ifdef HAVE_IEEEFP_H
24655                       #include <ieeefp.h>
24656                       #endif
24657
24658 int
24659 main ()
24660 {
24661  _log10l(0);
24662   ;
24663   return 0;
24664 }
24665 _ACEOF
24666 if ac_fn_cxx_try_compile "$LINENO"; then :
24667   glibcxx_cv_func__log10l_use=yes
24668 else
24669   glibcxx_cv_func__log10l_use=no
24670 fi
24671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24672       ac_ext=c
24673 ac_cpp='$CPP $CPPFLAGS'
24674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24677
24678
24679 fi
24680
24681   fi
24682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24683 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24684
24685     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24686       for ac_func in _log10l
24687 do :
24688   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24689 if test "x$ac_cv_func__log10l" = x""yes; then :
24690   cat >>confdefs.h <<_ACEOF
24691 #define HAVE__LOG10L 1
24692 _ACEOF
24693
24694 fi
24695 done
24696
24697     fi
24698   fi
24699
24700
24701
24702
24703
24704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24705 $as_echo_n "checking for modfl declaration... " >&6; }
24706   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24707     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24708   $as_echo_n "(cached) " >&6
24709 else
24710
24711
24712       ac_ext=cpp
24713 ac_cpp='$CXXCPP $CPPFLAGS'
24714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24717
24718       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24719 /* end confdefs.h.  */
24720 #include <math.h>
24721 int
24722 main ()
24723 {
24724  modfl(0, 0);
24725   ;
24726   return 0;
24727 }
24728 _ACEOF
24729 if ac_fn_cxx_try_compile "$LINENO"; then :
24730   glibcxx_cv_func_modfl_use=yes
24731 else
24732   glibcxx_cv_func_modfl_use=no
24733 fi
24734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24735       ac_ext=c
24736 ac_cpp='$CPP $CPPFLAGS'
24737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24740
24741
24742 fi
24743
24744   fi
24745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24746 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24747
24748   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24749     for ac_func in modfl
24750 do :
24751   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24752 if test "x$ac_cv_func_modfl" = x""yes; then :
24753   cat >>confdefs.h <<_ACEOF
24754 #define HAVE_MODFL 1
24755 _ACEOF
24756
24757 fi
24758 done
24759
24760   else
24761
24762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24763 $as_echo_n "checking for _modfl declaration... " >&6; }
24764   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24765     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24766   $as_echo_n "(cached) " >&6
24767 else
24768
24769
24770       ac_ext=cpp
24771 ac_cpp='$CXXCPP $CPPFLAGS'
24772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24775
24776       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24777 /* end confdefs.h.  */
24778 #include <math.h>
24779 int
24780 main ()
24781 {
24782  _modfl(0, 0);
24783   ;
24784   return 0;
24785 }
24786 _ACEOF
24787 if ac_fn_cxx_try_compile "$LINENO"; then :
24788   glibcxx_cv_func__modfl_use=yes
24789 else
24790   glibcxx_cv_func__modfl_use=no
24791 fi
24792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24793       ac_ext=c
24794 ac_cpp='$CPP $CPPFLAGS'
24795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24798
24799
24800 fi
24801
24802   fi
24803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24804 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24805
24806     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24807       for ac_func in _modfl
24808 do :
24809   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24810 if test "x$ac_cv_func__modfl" = x""yes; then :
24811   cat >>confdefs.h <<_ACEOF
24812 #define HAVE__MODFL 1
24813 _ACEOF
24814
24815 fi
24816 done
24817
24818     fi
24819   fi
24820
24821
24822
24823
24824
24825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24826 $as_echo_n "checking for powl declaration... " >&6; }
24827   if test x${glibcxx_cv_func_powl_use+set} != xset; then
24828     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24829   $as_echo_n "(cached) " >&6
24830 else
24831
24832
24833       ac_ext=cpp
24834 ac_cpp='$CXXCPP $CPPFLAGS'
24835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24838
24839       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24840 /* end confdefs.h.  */
24841 #include <math.h>
24842 int
24843 main ()
24844 {
24845  powl(0, 0);
24846   ;
24847   return 0;
24848 }
24849 _ACEOF
24850 if ac_fn_cxx_try_compile "$LINENO"; then :
24851   glibcxx_cv_func_powl_use=yes
24852 else
24853   glibcxx_cv_func_powl_use=no
24854 fi
24855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24856       ac_ext=c
24857 ac_cpp='$CPP $CPPFLAGS'
24858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24861
24862
24863 fi
24864
24865   fi
24866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24867 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24868
24869   if test x$glibcxx_cv_func_powl_use = x"yes"; then
24870     for ac_func in powl
24871 do :
24872   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24873 if test "x$ac_cv_func_powl" = x""yes; then :
24874   cat >>confdefs.h <<_ACEOF
24875 #define HAVE_POWL 1
24876 _ACEOF
24877
24878 fi
24879 done
24880
24881   else
24882
24883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24884 $as_echo_n "checking for _powl declaration... " >&6; }
24885   if test x${glibcxx_cv_func__powl_use+set} != xset; then
24886     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24887   $as_echo_n "(cached) " >&6
24888 else
24889
24890
24891       ac_ext=cpp
24892 ac_cpp='$CXXCPP $CPPFLAGS'
24893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24896
24897       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24898 /* end confdefs.h.  */
24899 #include <math.h>
24900 int
24901 main ()
24902 {
24903  _powl(0, 0);
24904   ;
24905   return 0;
24906 }
24907 _ACEOF
24908 if ac_fn_cxx_try_compile "$LINENO"; then :
24909   glibcxx_cv_func__powl_use=yes
24910 else
24911   glibcxx_cv_func__powl_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__powl_use" >&5
24925 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24926
24927     if test x$glibcxx_cv_func__powl_use = x"yes"; then
24928       for ac_func in _powl
24929 do :
24930   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24931 if test "x$ac_cv_func__powl" = x""yes; then :
24932   cat >>confdefs.h <<_ACEOF
24933 #define HAVE__POWL 1
24934 _ACEOF
24935
24936 fi
24937 done
24938
24939     fi
24940   fi
24941
24942
24943
24944
24945
24946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24947 $as_echo_n "checking for sqrtl declaration... " >&6; }
24948   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24949     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24950   $as_echo_n "(cached) " >&6
24951 else
24952
24953
24954       ac_ext=cpp
24955 ac_cpp='$CXXCPP $CPPFLAGS'
24956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24959
24960       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24961 /* end confdefs.h.  */
24962 #include <math.h>
24963                       #ifdef HAVE_IEEEFP_H
24964                       #include <ieeefp.h>
24965                       #endif
24966
24967 int
24968 main ()
24969 {
24970  sqrtl(0);
24971   ;
24972   return 0;
24973 }
24974 _ACEOF
24975 if ac_fn_cxx_try_compile "$LINENO"; then :
24976   glibcxx_cv_func_sqrtl_use=yes
24977 else
24978   glibcxx_cv_func_sqrtl_use=no
24979 fi
24980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24981       ac_ext=c
24982 ac_cpp='$CPP $CPPFLAGS'
24983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24986
24987
24988 fi
24989
24990   fi
24991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24992 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24993
24994   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24995     for ac_func in sqrtl
24996 do :
24997   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24998 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24999   cat >>confdefs.h <<_ACEOF
25000 #define HAVE_SQRTL 1
25001 _ACEOF
25002
25003 fi
25004 done
25005
25006   else
25007
25008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25009 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25010   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25011     if test "${glibcxx_cv_func__sqrtl_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                       #ifdef HAVE_IEEEFP_H
25026                       #include <ieeefp.h>
25027                       #endif
25028
25029 int
25030 main ()
25031 {
25032  _sqrtl(0);
25033   ;
25034   return 0;
25035 }
25036 _ACEOF
25037 if ac_fn_cxx_try_compile "$LINENO"; then :
25038   glibcxx_cv_func__sqrtl_use=yes
25039 else
25040   glibcxx_cv_func__sqrtl_use=no
25041 fi
25042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25043       ac_ext=c
25044 ac_cpp='$CPP $CPPFLAGS'
25045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25048
25049
25050 fi
25051
25052   fi
25053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25054 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25055
25056     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25057       for ac_func in _sqrtl
25058 do :
25059   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25060 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25061   cat >>confdefs.h <<_ACEOF
25062 #define HAVE__SQRTL 1
25063 _ACEOF
25064
25065 fi
25066 done
25067
25068     fi
25069   fi
25070
25071
25072
25073
25074
25075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25076 $as_echo_n "checking for sincosl declaration... " >&6; }
25077   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25078     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25079   $as_echo_n "(cached) " >&6
25080 else
25081
25082
25083       ac_ext=cpp
25084 ac_cpp='$CXXCPP $CPPFLAGS'
25085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25088
25089       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25090 /* end confdefs.h.  */
25091 #include <math.h>
25092 int
25093 main ()
25094 {
25095  sincosl(0, 0, 0);
25096   ;
25097   return 0;
25098 }
25099 _ACEOF
25100 if ac_fn_cxx_try_compile "$LINENO"; then :
25101   glibcxx_cv_func_sincosl_use=yes
25102 else
25103   glibcxx_cv_func_sincosl_use=no
25104 fi
25105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25106       ac_ext=c
25107 ac_cpp='$CPP $CPPFLAGS'
25108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25111
25112
25113 fi
25114
25115   fi
25116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25117 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25118
25119   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25120     for ac_func in sincosl
25121 do :
25122   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25123 if test "x$ac_cv_func_sincosl" = x""yes; then :
25124   cat >>confdefs.h <<_ACEOF
25125 #define HAVE_SINCOSL 1
25126 _ACEOF
25127
25128 fi
25129 done
25130
25131   else
25132
25133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25134 $as_echo_n "checking for _sincosl declaration... " >&6; }
25135   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25136     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25137   $as_echo_n "(cached) " >&6
25138 else
25139
25140
25141       ac_ext=cpp
25142 ac_cpp='$CXXCPP $CPPFLAGS'
25143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25146
25147       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25148 /* end confdefs.h.  */
25149 #include <math.h>
25150 int
25151 main ()
25152 {
25153  _sincosl(0, 0, 0);
25154   ;
25155   return 0;
25156 }
25157 _ACEOF
25158 if ac_fn_cxx_try_compile "$LINENO"; then :
25159   glibcxx_cv_func__sincosl_use=yes
25160 else
25161   glibcxx_cv_func__sincosl_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__sincosl_use" >&5
25175 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25176
25177     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25178       for ac_func in _sincosl
25179 do :
25180   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25181 if test "x$ac_cv_func__sincosl" = x""yes; then :
25182   cat >>confdefs.h <<_ACEOF
25183 #define HAVE__SINCOSL 1
25184 _ACEOF
25185
25186 fi
25187 done
25188
25189     fi
25190   fi
25191
25192
25193
25194
25195
25196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25197 $as_echo_n "checking for finitel declaration... " >&6; }
25198   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25199     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25200   $as_echo_n "(cached) " >&6
25201 else
25202
25203
25204       ac_ext=cpp
25205 ac_cpp='$CXXCPP $CPPFLAGS'
25206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25209
25210       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25211 /* end confdefs.h.  */
25212 #include <math.h>
25213                       #ifdef HAVE_IEEEFP_H
25214                       #include <ieeefp.h>
25215                       #endif
25216
25217 int
25218 main ()
25219 {
25220  finitel(0);
25221   ;
25222   return 0;
25223 }
25224 _ACEOF
25225 if ac_fn_cxx_try_compile "$LINENO"; then :
25226   glibcxx_cv_func_finitel_use=yes
25227 else
25228   glibcxx_cv_func_finitel_use=no
25229 fi
25230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25231       ac_ext=c
25232 ac_cpp='$CPP $CPPFLAGS'
25233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25236
25237
25238 fi
25239
25240   fi
25241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25242 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25243
25244   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25245     for ac_func in finitel
25246 do :
25247   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25248 if test "x$ac_cv_func_finitel" = x""yes; then :
25249   cat >>confdefs.h <<_ACEOF
25250 #define HAVE_FINITEL 1
25251 _ACEOF
25252
25253 fi
25254 done
25255
25256   else
25257
25258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25259 $as_echo_n "checking for _finitel declaration... " >&6; }
25260   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25261     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25262   $as_echo_n "(cached) " >&6
25263 else
25264
25265
25266       ac_ext=cpp
25267 ac_cpp='$CXXCPP $CPPFLAGS'
25268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25271
25272       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25273 /* end confdefs.h.  */
25274 #include <math.h>
25275                       #ifdef HAVE_IEEEFP_H
25276                       #include <ieeefp.h>
25277                       #endif
25278
25279 int
25280 main ()
25281 {
25282  _finitel(0);
25283   ;
25284   return 0;
25285 }
25286 _ACEOF
25287 if ac_fn_cxx_try_compile "$LINENO"; then :
25288   glibcxx_cv_func__finitel_use=yes
25289 else
25290   glibcxx_cv_func__finitel_use=no
25291 fi
25292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25293       ac_ext=c
25294 ac_cpp='$CPP $CPPFLAGS'
25295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25298
25299
25300 fi
25301
25302   fi
25303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25304 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25305
25306     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25307       for ac_func in _finitel
25308 do :
25309   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25310 if test "x$ac_cv_func__finitel" = x""yes; then :
25311   cat >>confdefs.h <<_ACEOF
25312 #define HAVE__FINITEL 1
25313 _ACEOF
25314
25315 fi
25316 done
25317
25318     fi
25319   fi
25320
25321
25322
25323
25324   LIBS="$ac_save_LIBS"
25325   CXXFLAGS="$ac_save_CXXFLAGS"
25326
25327
25328   ac_test_CXXFLAGS="${CXXFLAGS+set}"
25329   ac_save_CXXFLAGS="$CXXFLAGS"
25330   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25331
25332
25333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25334 $as_echo_n "checking for strtold declaration... " >&6; }
25335   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25336     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25337   $as_echo_n "(cached) " >&6
25338 else
25339
25340
25341       ac_ext=cpp
25342 ac_cpp='$CXXCPP $CPPFLAGS'
25343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25346
25347       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25348 /* end confdefs.h.  */
25349 #include <stdlib.h>
25350 int
25351 main ()
25352 {
25353  strtold(0, 0);
25354   ;
25355   return 0;
25356 }
25357 _ACEOF
25358 if ac_fn_cxx_try_compile "$LINENO"; then :
25359   glibcxx_cv_func_strtold_use=yes
25360 else
25361   glibcxx_cv_func_strtold_use=no
25362 fi
25363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25364       ac_ext=c
25365 ac_cpp='$CPP $CPPFLAGS'
25366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25369
25370
25371 fi
25372
25373   fi
25374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25375 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25376   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25377     for ac_func in strtold
25378 do :
25379   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25380 if test "x$ac_cv_func_strtold" = x""yes; then :
25381   cat >>confdefs.h <<_ACEOF
25382 #define HAVE_STRTOLD 1
25383 _ACEOF
25384
25385 fi
25386 done
25387
25388   fi
25389
25390
25391
25392
25393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25394 $as_echo_n "checking for strtof declaration... " >&6; }
25395   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25396     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25397   $as_echo_n "(cached) " >&6
25398 else
25399
25400
25401       ac_ext=cpp
25402 ac_cpp='$CXXCPP $CPPFLAGS'
25403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25406
25407       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25408 /* end confdefs.h.  */
25409 #include <stdlib.h>
25410 int
25411 main ()
25412 {
25413  strtof(0, 0);
25414   ;
25415   return 0;
25416 }
25417 _ACEOF
25418 if ac_fn_cxx_try_compile "$LINENO"; then :
25419   glibcxx_cv_func_strtof_use=yes
25420 else
25421   glibcxx_cv_func_strtof_use=no
25422 fi
25423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25424       ac_ext=c
25425 ac_cpp='$CPP $CPPFLAGS'
25426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25429
25430
25431 fi
25432
25433   fi
25434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25435 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25436   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25437     for ac_func in strtof
25438 do :
25439   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25440 if test "x$ac_cv_func_strtof" = x""yes; then :
25441   cat >>confdefs.h <<_ACEOF
25442 #define HAVE_STRTOF 1
25443 _ACEOF
25444
25445 fi
25446 done
25447
25448   fi
25449
25450
25451
25452
25453   CXXFLAGS="$ac_save_CXXFLAGS"
25454
25455
25456   # For /dev/random and /dev/urandom for TR1.
25457
25458
25459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25460 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25461   if test "${glibcxx_cv_random_tr1+set}" = set; then :
25462   $as_echo_n "(cached) " >&6
25463 else
25464
25465     if test -r /dev/random && test -r /dev/urandom; then
25466       glibcxx_cv_random_tr1=yes;
25467     else
25468       glibcxx_cv_random_tr1=no;
25469     fi
25470
25471 fi
25472
25473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25474 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25475
25476   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25477
25478 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25479
25480   fi
25481
25482
25483
25484   # For TLS support.
25485
25486
25487    # Check whether --enable-tls was given.
25488 if test "${enable_tls+set}" = set; then :
25489   enableval=$enable_tls;
25490       case "$enableval" in
25491        yes|no) ;;
25492        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25493       esac
25494
25495 else
25496   enable_tls=yes
25497 fi
25498
25499
25500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25501 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25502 if test "${gcc_cv_have_tls+set}" = set; then :
25503   $as_echo_n "(cached) " >&6
25504 else
25505
25506     if test "$cross_compiling" = yes; then :
25507                 if test x$gcc_no_link = xyes; then
25508   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25509 fi
25510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25511 /* end confdefs.h.  */
25512 __thread int a; int b; int main() { return a = b; }
25513 _ACEOF
25514 if ac_fn_c_try_link "$LINENO"; then :
25515   chktls_save_LDFLAGS="$LDFLAGS"
25516                           case $host in
25517             *-*-linux*)
25518               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25519               ;;
25520           esac
25521           chktls_save_CFLAGS="$CFLAGS"
25522           CFLAGS="-fPIC $CFLAGS"
25523                   if test x$gcc_no_link = xyes; then
25524   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25525 fi
25526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25527 /* end confdefs.h.  */
25528 int f() { return 0; }
25529 _ACEOF
25530 if ac_fn_c_try_link "$LINENO"; then :
25531   if test x$gcc_no_link = xyes; then
25532   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25533 fi
25534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25535 /* end confdefs.h.  */
25536 __thread int a; int b; int f() { return a = b; }
25537 _ACEOF
25538 if ac_fn_c_try_link "$LINENO"; then :
25539   gcc_cv_have_tls=yes
25540 else
25541   gcc_cv_have_tls=no
25542 fi
25543 rm -f core conftest.err conftest.$ac_objext \
25544     conftest$ac_exeext conftest.$ac_ext
25545 else
25546   gcc_cv_have_tls=yes
25547 fi
25548 rm -f core conftest.err conftest.$ac_objext \
25549     conftest$ac_exeext conftest.$ac_ext
25550           CFLAGS="$chktls_save_CFLAGS"
25551           LDFLAGS="$chktls_save_LDFLAGS"
25552 else
25553   gcc_cv_have_tls=no
25554 fi
25555 rm -f core conftest.err conftest.$ac_objext \
25556     conftest$ac_exeext conftest.$ac_ext
25557
25558
25559 else
25560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25561 /* end confdefs.h.  */
25562 __thread int a; int b; int main() { return a = b; }
25563 _ACEOF
25564 if ac_fn_c_try_run "$LINENO"; then :
25565                       chktls_save_LDFLAGS="$LDFLAGS"
25566       LDFLAGS="-static $LDFLAGS"
25567       if test x$gcc_no_link = xyes; then
25568   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25569 fi
25570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25571 /* end confdefs.h.  */
25572 int main() { return 0; }
25573 _ACEOF
25574 if ac_fn_c_try_link "$LINENO"; then :
25575   if test "$cross_compiling" = yes; then :
25576   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25578 as_fn_error "cannot run test program while cross compiling
25579 See \`config.log' for more details." "$LINENO" 5; }
25580 else
25581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25582 /* end confdefs.h.  */
25583 __thread int a; int b; int main() { return a = b; }
25584 _ACEOF
25585 if ac_fn_c_try_run "$LINENO"; then :
25586   gcc_cv_have_tls=yes
25587 else
25588   gcc_cv_have_tls=no
25589 fi
25590 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25591   conftest.$ac_objext conftest.beam conftest.$ac_ext
25592 fi
25593
25594 else
25595   gcc_cv_have_tls=yes
25596 fi
25597 rm -f core conftest.err conftest.$ac_objext \
25598     conftest$ac_exeext conftest.$ac_ext
25599       LDFLAGS="$chktls_save_LDFLAGS"
25600       if test $gcc_cv_have_tls = yes; then
25601                                                 chktls_save_CFLAGS="$CFLAGS"
25602         thread_CFLAGS=failed
25603         for flag in '' '-pthread' '-lpthread'; do
25604           CFLAGS="$flag $chktls_save_CFLAGS"
25605           if test x$gcc_no_link = xyes; then
25606   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25607 fi
25608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25609 /* end confdefs.h.  */
25610 #include <pthread.h>
25611                 void *g(void *d) { return NULL; }
25612 int
25613 main ()
25614 {
25615 pthread_t t; pthread_create(&t,NULL,g,NULL);
25616   ;
25617   return 0;
25618 }
25619 _ACEOF
25620 if ac_fn_c_try_link "$LINENO"; then :
25621   thread_CFLAGS="$flag"
25622 fi
25623 rm -f core conftest.err conftest.$ac_objext \
25624     conftest$ac_exeext conftest.$ac_ext
25625           if test "X$thread_CFLAGS" != Xfailed; then
25626             break
25627           fi
25628         done
25629         CFLAGS="$chktls_save_CFLAGS"
25630         if test "X$thread_CFLAGS" != Xfailed; then
25631           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25632                                                   if test "$cross_compiling" = yes; then :
25633   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25635 as_fn_error "cannot run test program while cross compiling
25636 See \`config.log' for more details." "$LINENO" 5; }
25637 else
25638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25639 /* end confdefs.h.  */
25640 #include <pthread.h>
25641                 __thread int a;
25642                 static int *volatile a_in_other_thread;
25643                 static void *
25644                 thread_func (void *arg)
25645                 {
25646                   a_in_other_thread = &a;
25647                   return (void *)0;
25648                 }
25649 int
25650 main ()
25651 {
25652 pthread_t thread;
25653                 void *thread_retval;
25654                 int *volatile a_in_main_thread;
25655                 a_in_main_thread = &a;
25656                 if (pthread_create (&thread, (pthread_attr_t *)0,
25657                                     thread_func, (void *)0))
25658                   return 0;
25659                 if (pthread_join (thread, &thread_retval))
25660                   return 0;
25661                 return (a_in_other_thread == a_in_main_thread);
25662   ;
25663   return 0;
25664 }
25665 _ACEOF
25666 if ac_fn_c_try_run "$LINENO"; then :
25667   gcc_cv_have_tls=yes
25668 else
25669   gcc_cv_have_tls=no
25670 fi
25671 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25672   conftest.$ac_objext conftest.beam conftest.$ac_ext
25673 fi
25674
25675           CFLAGS="$chktls_save_CFLAGS"
25676         fi
25677       fi
25678 else
25679   gcc_cv_have_tls=no
25680 fi
25681 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25682   conftest.$ac_objext conftest.beam conftest.$ac_ext
25683 fi
25684
25685 fi
25686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25687 $as_echo "$gcc_cv_have_tls" >&6; }
25688   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25689
25690 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25691
25692   fi
25693
25694   # For iconv support.
25695
25696       if test "X$prefix" = "XNONE"; then
25697     acl_final_prefix="$ac_default_prefix"
25698   else
25699     acl_final_prefix="$prefix"
25700   fi
25701   if test "X$exec_prefix" = "XNONE"; then
25702     acl_final_exec_prefix='${prefix}'
25703   else
25704     acl_final_exec_prefix="$exec_prefix"
25705   fi
25706   acl_save_prefix="$prefix"
25707   prefix="$acl_final_prefix"
25708   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25709   prefix="$acl_save_prefix"
25710
25711
25712 # Check whether --with-gnu-ld was given.
25713 if test "${with_gnu_ld+set}" = set; then :
25714   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25715 else
25716   with_gnu_ld=no
25717 fi
25718
25719 # Prepare PATH_SEPARATOR.
25720 # The user is always right.
25721 if test "${PATH_SEPARATOR+set}" != set; then
25722   echo "#! /bin/sh" >conf$$.sh
25723   echo  "exit 0"   >>conf$$.sh
25724   chmod +x conf$$.sh
25725   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25726     PATH_SEPARATOR=';'
25727   else
25728     PATH_SEPARATOR=:
25729   fi
25730   rm -f conf$$.sh
25731 fi
25732 ac_prog=ld
25733 if test "$GCC" = yes; then
25734   # Check if gcc -print-prog-name=ld gives a path.
25735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25736 $as_echo_n "checking for ld used by GCC... " >&6; }
25737   case $host in
25738   *-*-mingw*)
25739     # gcc leaves a trailing carriage return which upsets mingw
25740     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25741   *)
25742     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25743   esac
25744   case $ac_prog in
25745     # Accept absolute paths.
25746     [\\/]* | [A-Za-z]:[\\/]*)
25747       re_direlt='/[^/][^/]*/\.\./'
25748       # Canonicalize the path of ld
25749       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25750       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25751         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25752       done
25753       test -z "$LD" && LD="$ac_prog"
25754       ;;
25755   "")
25756     # If it fails, then pretend we aren't using GCC.
25757     ac_prog=ld
25758     ;;
25759   *)
25760     # If it is relative, then search for the first ld in PATH.
25761     with_gnu_ld=unknown
25762     ;;
25763   esac
25764 elif test "$with_gnu_ld" = yes; then
25765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25766 $as_echo_n "checking for GNU ld... " >&6; }
25767 else
25768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25769 $as_echo_n "checking for non-GNU ld... " >&6; }
25770 fi
25771 if test "${acl_cv_path_LD+set}" = set; then :
25772   $as_echo_n "(cached) " >&6
25773 else
25774   if test -z "$LD"; then
25775   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25776   for ac_dir in $PATH; do
25777     test -z "$ac_dir" && ac_dir=.
25778     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25779       acl_cv_path_LD="$ac_dir/$ac_prog"
25780       # Check to see if the program is GNU ld.  I'd rather use --version,
25781       # but apparently some GNU ld's only accept -v.
25782       # Break only if it was the GNU/non-GNU ld that we prefer.
25783       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25784         test "$with_gnu_ld" != no && break
25785       else
25786         test "$with_gnu_ld" != yes && break
25787       fi
25788     fi
25789   done
25790   IFS="$ac_save_ifs"
25791 else
25792   acl_cv_path_LD="$LD" # Let the user override the test with a path.
25793 fi
25794 fi
25795
25796 LD="$acl_cv_path_LD"
25797 if test -n "$LD"; then
25798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25799 $as_echo "$LD" >&6; }
25800 else
25801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25802 $as_echo "no" >&6; }
25803 fi
25804 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25806 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25807 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25808   $as_echo_n "(cached) " >&6
25809 else
25810   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25811 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25812   acl_cv_prog_gnu_ld=yes
25813 else
25814   acl_cv_prog_gnu_ld=no
25815 fi
25816 fi
25817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25818 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25819 with_gnu_ld=$acl_cv_prog_gnu_ld
25820
25821
25822
25823                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25824 $as_echo_n "checking for shared library run path origin... " >&6; }
25825 if test "${acl_cv_rpath+set}" = set; then :
25826   $as_echo_n "(cached) " >&6
25827 else
25828
25829     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25830     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25831     . ./conftest.sh
25832     rm -f ./conftest.sh
25833     acl_cv_rpath=done
25834
25835 fi
25836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25837 $as_echo "$acl_cv_rpath" >&6; }
25838   wl="$acl_cv_wl"
25839   libext="$acl_cv_libext"
25840   shlibext="$acl_cv_shlibext"
25841   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25842   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25843   hardcode_direct="$acl_cv_hardcode_direct"
25844   hardcode_minus_L="$acl_cv_hardcode_minus_L"
25845     # Check whether --enable-rpath was given.
25846 if test "${enable_rpath+set}" = set; then :
25847   enableval=$enable_rpath; :
25848 else
25849   enable_rpath=yes
25850 fi
25851
25852
25853
25854
25855
25856
25857
25858
25859     use_additional=yes
25860
25861   acl_save_prefix="$prefix"
25862   prefix="$acl_final_prefix"
25863   acl_save_exec_prefix="$exec_prefix"
25864   exec_prefix="$acl_final_exec_prefix"
25865
25866     eval additional_includedir=\"$includedir\"
25867     eval additional_libdir=\"$libdir\"
25868
25869   exec_prefix="$acl_save_exec_prefix"
25870   prefix="$acl_save_prefix"
25871
25872
25873 # Check whether --with-libiconv-prefix was given.
25874 if test "${with_libiconv_prefix+set}" = set; then :
25875   withval=$with_libiconv_prefix;
25876     if test "X$withval" = "Xno"; then
25877       use_additional=no
25878     else
25879       if test "X$withval" = "X"; then
25880
25881   acl_save_prefix="$prefix"
25882   prefix="$acl_final_prefix"
25883   acl_save_exec_prefix="$exec_prefix"
25884   exec_prefix="$acl_final_exec_prefix"
25885
25886           eval additional_includedir=\"$includedir\"
25887           eval additional_libdir=\"$libdir\"
25888
25889   exec_prefix="$acl_save_exec_prefix"
25890   prefix="$acl_save_prefix"
25891
25892       else
25893         additional_includedir="$withval/include"
25894         additional_libdir="$withval/lib"
25895       fi
25896     fi
25897
25898 fi
25899
25900       LIBICONV=
25901   LTLIBICONV=
25902   INCICONV=
25903   rpathdirs=
25904   ltrpathdirs=
25905   names_already_handled=
25906   names_next_round='iconv '
25907   while test -n "$names_next_round"; do
25908     names_this_round="$names_next_round"
25909     names_next_round=
25910     for name in $names_this_round; do
25911       already_handled=
25912       for n in $names_already_handled; do
25913         if test "$n" = "$name"; then
25914           already_handled=yes
25915           break
25916         fi
25917       done
25918       if test -z "$already_handled"; then
25919         names_already_handled="$names_already_handled $name"
25920                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25921         eval value=\"\$HAVE_LIB$uppername\"
25922         if test -n "$value"; then
25923           if test "$value" = yes; then
25924             eval value=\"\$LIB$uppername\"
25925             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25926             eval value=\"\$LTLIB$uppername\"
25927             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25928           else
25929                                     :
25930           fi
25931         else
25932                               found_dir=
25933           found_la=
25934           found_so=
25935           found_a=
25936           if test $use_additional = yes; then
25937             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25938               found_dir="$additional_libdir"
25939               found_so="$additional_libdir/lib$name.$shlibext"
25940               if test -f "$additional_libdir/lib$name.la"; then
25941                 found_la="$additional_libdir/lib$name.la"
25942               fi
25943             else
25944               if test -f "$additional_libdir/lib$name.$libext"; then
25945                 found_dir="$additional_libdir"
25946                 found_a="$additional_libdir/lib$name.$libext"
25947                 if test -f "$additional_libdir/lib$name.la"; then
25948                   found_la="$additional_libdir/lib$name.la"
25949                 fi
25950               fi
25951             fi
25952           fi
25953           if test "X$found_dir" = "X"; then
25954             for x in $LDFLAGS $LTLIBICONV; do
25955
25956   acl_save_prefix="$prefix"
25957   prefix="$acl_final_prefix"
25958   acl_save_exec_prefix="$exec_prefix"
25959   exec_prefix="$acl_final_exec_prefix"
25960   eval x=\"$x\"
25961   exec_prefix="$acl_save_exec_prefix"
25962   prefix="$acl_save_prefix"
25963
25964               case "$x" in
25965                 -L*)
25966                   dir=`echo "X$x" | sed -e 's/^X-L//'`
25967                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25968                     found_dir="$dir"
25969                     found_so="$dir/lib$name.$shlibext"
25970                     if test -f "$dir/lib$name.la"; then
25971                       found_la="$dir/lib$name.la"
25972                     fi
25973                   else
25974                     if test -f "$dir/lib$name.$libext"; then
25975                       found_dir="$dir"
25976                       found_a="$dir/lib$name.$libext"
25977                       if test -f "$dir/lib$name.la"; then
25978                         found_la="$dir/lib$name.la"
25979                       fi
25980                     fi
25981                   fi
25982                   ;;
25983               esac
25984               if test "X$found_dir" != "X"; then
25985                 break
25986               fi
25987             done
25988           fi
25989           if test "X$found_dir" != "X"; then
25990                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25991             if test "X$found_so" != "X"; then
25992                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25993                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25994               else
25995                                                                                 haveit=
25996                 for x in $ltrpathdirs; do
25997                   if test "X$x" = "X$found_dir"; then
25998                     haveit=yes
25999                     break
26000                   fi
26001                 done
26002                 if test -z "$haveit"; then
26003                   ltrpathdirs="$ltrpathdirs $found_dir"
26004                 fi
26005                                 if test "$hardcode_direct" = yes; then
26006                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26007                 else
26008                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26009                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26010                                                             haveit=
26011                     for x in $rpathdirs; do
26012                       if test "X$x" = "X$found_dir"; then
26013                         haveit=yes
26014                         break
26015                       fi
26016                     done
26017                     if test -z "$haveit"; then
26018                       rpathdirs="$rpathdirs $found_dir"
26019                     fi
26020                   else
26021                                                                                 haveit=
26022                     for x in $LDFLAGS $LIBICONV; do
26023
26024   acl_save_prefix="$prefix"
26025   prefix="$acl_final_prefix"
26026   acl_save_exec_prefix="$exec_prefix"
26027   exec_prefix="$acl_final_exec_prefix"
26028   eval x=\"$x\"
26029   exec_prefix="$acl_save_exec_prefix"
26030   prefix="$acl_save_prefix"
26031
26032                       if test "X$x" = "X-L$found_dir"; then
26033                         haveit=yes
26034                         break
26035                       fi
26036                     done
26037                     if test -z "$haveit"; then
26038                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26039                     fi
26040                     if test "$hardcode_minus_L" != no; then
26041                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26042                     else
26043                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26044                     fi
26045                   fi
26046                 fi
26047               fi
26048             else
26049               if test "X$found_a" != "X"; then
26050                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26051               else
26052                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26053               fi
26054             fi
26055                         additional_includedir=
26056             case "$found_dir" in
26057               */lib | */lib/)
26058                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26059                 additional_includedir="$basedir/include"
26060                 ;;
26061             esac
26062             if test "X$additional_includedir" != "X"; then
26063                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
26064                 haveit=
26065                 if test "X$additional_includedir" = "X/usr/local/include"; then
26066                   if test -n "$GCC"; then
26067                     case $host_os in
26068                       linux*) haveit=yes;;
26069                     esac
26070                   fi
26071                 fi
26072                 if test -z "$haveit"; then
26073                   for x in $CPPFLAGS $INCICONV; do
26074
26075   acl_save_prefix="$prefix"
26076   prefix="$acl_final_prefix"
26077   acl_save_exec_prefix="$exec_prefix"
26078   exec_prefix="$acl_final_exec_prefix"
26079   eval x=\"$x\"
26080   exec_prefix="$acl_save_exec_prefix"
26081   prefix="$acl_save_prefix"
26082
26083                     if test "X$x" = "X-I$additional_includedir"; then
26084                       haveit=yes
26085                       break
26086                     fi
26087                   done
26088                   if test -z "$haveit"; then
26089                     if test -d "$additional_includedir"; then
26090                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26091                     fi
26092                   fi
26093                 fi
26094               fi
26095             fi
26096                         if test -n "$found_la"; then
26097                                                         save_libdir="$libdir"
26098               case "$found_la" in
26099                 */* | *\\*) . "$found_la" ;;
26100                 *) . "./$found_la" ;;
26101               esac
26102               libdir="$save_libdir"
26103                             for dep in $dependency_libs; do
26104                 case "$dep" in
26105                   -L*)
26106                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26107                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
26108                       haveit=
26109                       if test "X$additional_libdir" = "X/usr/local/lib"; then
26110                         if test -n "$GCC"; then
26111                           case $host_os in
26112                             linux*) haveit=yes;;
26113                           esac
26114                         fi
26115                       fi
26116                       if test -z "$haveit"; then
26117                         haveit=
26118                         for x in $LDFLAGS $LIBICONV; do
26119
26120   acl_save_prefix="$prefix"
26121   prefix="$acl_final_prefix"
26122   acl_save_exec_prefix="$exec_prefix"
26123   exec_prefix="$acl_final_exec_prefix"
26124   eval x=\"$x\"
26125   exec_prefix="$acl_save_exec_prefix"
26126   prefix="$acl_save_prefix"
26127
26128                           if test "X$x" = "X-L$additional_libdir"; then
26129                             haveit=yes
26130                             break
26131                           fi
26132                         done
26133                         if test -z "$haveit"; then
26134                           if test -d "$additional_libdir"; then
26135                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26136                           fi
26137                         fi
26138                         haveit=
26139                         for x in $LDFLAGS $LTLIBICONV; do
26140
26141   acl_save_prefix="$prefix"
26142   prefix="$acl_final_prefix"
26143   acl_save_exec_prefix="$exec_prefix"
26144   exec_prefix="$acl_final_exec_prefix"
26145   eval x=\"$x\"
26146   exec_prefix="$acl_save_exec_prefix"
26147   prefix="$acl_save_prefix"
26148
26149                           if test "X$x" = "X-L$additional_libdir"; then
26150                             haveit=yes
26151                             break
26152                           fi
26153                         done
26154                         if test -z "$haveit"; then
26155                           if test -d "$additional_libdir"; then
26156                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26157                           fi
26158                         fi
26159                       fi
26160                     fi
26161                     ;;
26162                   -R*)
26163                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
26164                     if test "$enable_rpath" != no; then
26165                                                                   haveit=
26166                       for x in $rpathdirs; do
26167                         if test "X$x" = "X$dir"; then
26168                           haveit=yes
26169                           break
26170                         fi
26171                       done
26172                       if test -z "$haveit"; then
26173                         rpathdirs="$rpathdirs $dir"
26174                       fi
26175                                                                   haveit=
26176                       for x in $ltrpathdirs; do
26177                         if test "X$x" = "X$dir"; then
26178                           haveit=yes
26179                           break
26180                         fi
26181                       done
26182                       if test -z "$haveit"; then
26183                         ltrpathdirs="$ltrpathdirs $dir"
26184                       fi
26185                     fi
26186                     ;;
26187                   -l*)
26188                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26189                     ;;
26190                   *.la)
26191                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26192                     ;;
26193                   *)
26194                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26195                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26196                     ;;
26197                 esac
26198               done
26199             fi
26200           else
26201                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26202             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26203           fi
26204         fi
26205       fi
26206     done
26207   done
26208   if test "X$rpathdirs" != "X"; then
26209     if test -n "$hardcode_libdir_separator"; then
26210                         alldirs=
26211       for found_dir in $rpathdirs; do
26212         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26213       done
26214             acl_save_libdir="$libdir"
26215       libdir="$alldirs"
26216       eval flag=\"$hardcode_libdir_flag_spec\"
26217       libdir="$acl_save_libdir"
26218       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26219     else
26220             for found_dir in $rpathdirs; do
26221         acl_save_libdir="$libdir"
26222         libdir="$found_dir"
26223         eval flag=\"$hardcode_libdir_flag_spec\"
26224         libdir="$acl_save_libdir"
26225         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26226       done
26227     fi
26228   fi
26229   if test "X$ltrpathdirs" != "X"; then
26230             for found_dir in $ltrpathdirs; do
26231       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26232     done
26233   fi
26234
26235
26236
26237
26238
26239
26240
26241           am_save_CPPFLAGS="$CPPFLAGS"
26242
26243   for element in $INCICONV; do
26244     haveit=
26245     for x in $CPPFLAGS; do
26246
26247   acl_save_prefix="$prefix"
26248   prefix="$acl_final_prefix"
26249   acl_save_exec_prefix="$exec_prefix"
26250   exec_prefix="$acl_final_exec_prefix"
26251   eval x=\"$x\"
26252   exec_prefix="$acl_save_exec_prefix"
26253   prefix="$acl_save_prefix"
26254
26255       if test "X$x" = "X$element"; then
26256         haveit=yes
26257         break
26258       fi
26259     done
26260     if test -z "$haveit"; then
26261       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26262     fi
26263   done
26264
26265
26266   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26267 $as_echo_n "checking for iconv... " >&6; }
26268 if test "${am_cv_func_iconv+set}" = set; then :
26269   $as_echo_n "(cached) " >&6
26270 else
26271
26272     am_cv_func_iconv="no, consider installing GNU libiconv"
26273     am_cv_lib_iconv=no
26274     if test x$gcc_no_link = xyes; then
26275   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26276 fi
26277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26278 /* end confdefs.h.  */
26279 #include <stdlib.h>
26280 #include <iconv.h>
26281 int
26282 main ()
26283 {
26284 iconv_t cd = iconv_open("","");
26285        iconv(cd,NULL,NULL,NULL,NULL);
26286        iconv_close(cd);
26287   ;
26288   return 0;
26289 }
26290 _ACEOF
26291 if ac_fn_c_try_link "$LINENO"; then :
26292   am_cv_func_iconv=yes
26293 fi
26294 rm -f core conftest.err conftest.$ac_objext \
26295     conftest$ac_exeext conftest.$ac_ext
26296     if test "$am_cv_func_iconv" != yes; then
26297       am_save_LIBS="$LIBS"
26298       LIBS="$LIBS $LIBICONV"
26299       if test x$gcc_no_link = xyes; then
26300   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26301 fi
26302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26303 /* end confdefs.h.  */
26304 #include <stdlib.h>
26305 #include <iconv.h>
26306 int
26307 main ()
26308 {
26309 iconv_t cd = iconv_open("","");
26310          iconv(cd,NULL,NULL,NULL,NULL);
26311          iconv_close(cd);
26312   ;
26313   return 0;
26314 }
26315 _ACEOF
26316 if ac_fn_c_try_link "$LINENO"; then :
26317   am_cv_lib_iconv=yes
26318         am_cv_func_iconv=yes
26319 fi
26320 rm -f core conftest.err conftest.$ac_objext \
26321     conftest$ac_exeext conftest.$ac_ext
26322       LIBS="$am_save_LIBS"
26323     fi
26324
26325 fi
26326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26327 $as_echo "$am_cv_func_iconv" >&6; }
26328   if test "$am_cv_func_iconv" = yes; then
26329
26330 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26331
26332   fi
26333   if test "$am_cv_lib_iconv" = yes; then
26334     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26335 $as_echo_n "checking how to link with libiconv... " >&6; }
26336     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26337 $as_echo "$LIBICONV" >&6; }
26338   else
26339             CPPFLAGS="$am_save_CPPFLAGS"
26340     LIBICONV=
26341     LTLIBICONV=
26342   fi
26343
26344
26345
26346   if test "$am_cv_func_iconv" = yes; then
26347     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26348 $as_echo_n "checking for iconv declaration... " >&6; }
26349     if test "${am_cv_proto_iconv+set}" = set; then :
26350   $as_echo_n "(cached) " >&6
26351 else
26352
26353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26354 /* end confdefs.h.  */
26355
26356 #include <stdlib.h>
26357 #include <iconv.h>
26358 extern
26359 #ifdef __cplusplus
26360 "C"
26361 #endif
26362 #if defined(__STDC__) || defined(__cplusplus)
26363 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26364 #else
26365 size_t iconv();
26366 #endif
26367
26368 int
26369 main ()
26370 {
26371
26372   ;
26373   return 0;
26374 }
26375 _ACEOF
26376 if ac_fn_c_try_compile "$LINENO"; then :
26377   am_cv_proto_iconv_arg1=""
26378 else
26379   am_cv_proto_iconv_arg1="const"
26380 fi
26381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26382       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);"
26383 fi
26384
26385     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26386     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26387          }$am_cv_proto_iconv" >&5
26388 $as_echo "${ac_t:-
26389          }$am_cv_proto_iconv" >&6; }
26390
26391 cat >>confdefs.h <<_ACEOF
26392 #define ICONV_CONST $am_cv_proto_iconv_arg1
26393 _ACEOF
26394
26395   fi
26396
26397
26398 else
26399
26400   # This lets us hard-code the functionality we know we'll have in the cross
26401   # target environment.  "Let" is a sugar-coated word placed on an especially
26402   # dull and tedious hack, actually.
26403   #
26404   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26405   # that involve linking, can't be used:
26406   #    "cannot open sim-crt0.o"
26407   #    "cannot open crt0.o"
26408   # etc.  All this is because there currently exists no unified, consistent
26409   # way for top level CC information to be passed down to target directories:
26410   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26411   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26412   # crosses can be removed.
26413
26414   # If Canadian cross, then don't pick up tools from the build directory.
26415   # Used only in GLIBCXX_EXPORT_INCLUDES.
26416   if test -n "$with_cross_host" &&
26417      test x"$build_alias" != x"$with_cross_host" &&
26418      test x"$build" != x"$target";
26419   then
26420     CANADIAN=yes
26421   else
26422     CANADIAN=no
26423   fi
26424
26425   # Construct crosses by hand, eliminating bits that need ld...
26426   # GLIBCXX_CHECK_MATH_SUPPORT
26427
26428   # First, test for "known" system libraries.  We may be using newlib even
26429   # on a hosted environment.
26430   if test "x${with_newlib}" = "xyes"; then
26431     os_include_dir="os/newlib"
26432     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26433
26434
26435     # GLIBCXX_CHECK_STDLIB_SUPPORT
26436     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26437
26438
26439     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26440
26441     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26442
26443     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26444
26445     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26446
26447     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26448
26449     $as_echo "#define HAVE_COSF 1" >>confdefs.h
26450
26451     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26452
26453     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26454
26455     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26456
26457     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26458
26459     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26460
26461     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26462
26463     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26464
26465     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26466
26467     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26468
26469     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26470
26471     $as_echo "#define HAVE_POWF 1" >>confdefs.h
26472
26473     $as_echo "#define HAVE_SINF 1" >>confdefs.h
26474
26475     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26476
26477     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26478
26479     $as_echo "#define HAVE_TANF 1" >>confdefs.h
26480
26481     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26482
26483
26484     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26485
26486   else
26487
26488 # Base decisions on target environment.
26489 case "${host}" in
26490   arm*-*-symbianelf*)
26491     # This is a freestanding configuration; there is nothing to do here.
26492     ;;
26493
26494   mips*-sde-elf*)
26495     # These definitions are for the SDE C library rather than newlib.
26496     SECTION_FLAGS='-ffunction-sections -fdata-sections'
26497
26498
26499   # All these tests are for C++; save the language and the compiler flags.
26500   # The CXXFLAGS thing is suspicious, but based on similar bits previously
26501   # found in GLIBCXX_CONFIGURE.
26502
26503   ac_ext=cpp
26504 ac_cpp='$CXXCPP $CPPFLAGS'
26505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26508
26509   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26510   ac_save_CXXFLAGS="$CXXFLAGS"
26511
26512   # Check for maintainer-mode bits.
26513   if test x"$USE_MAINTAINER_MODE" = xno; then
26514     WERROR=''
26515   else
26516     WERROR='-Werror'
26517   fi
26518
26519   # Check for -ffunction-sections -fdata-sections
26520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26521 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26522   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26524 /* end confdefs.h.  */
26525 int foo; void bar() { };
26526 int
26527 main ()
26528 {
26529
26530   ;
26531   return 0;
26532 }
26533 _ACEOF
26534 if ac_fn_cxx_try_compile "$LINENO"; then :
26535   ac_fdsections=yes
26536 else
26537   ac_fdsections=no
26538 fi
26539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26540   if test "$ac_test_CXXFLAGS" = set; then
26541     CXXFLAGS="$ac_save_CXXFLAGS"
26542   else
26543     # this is the suspicious part
26544     CXXFLAGS=''
26545   fi
26546   if test x"$ac_fdsections" = x"yes"; then
26547     SECTION_FLAGS='-ffunction-sections -fdata-sections'
26548   fi
26549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26550 $as_echo "$ac_fdsections" >&6; }
26551
26552   ac_ext=c
26553 ac_cpp='$CPP $CPPFLAGS'
26554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26557
26558
26559
26560
26561
26562   # If we're not using GNU ld, then there's no point in even trying these
26563   # tests.  Check for that first.  We should have already tested for gld
26564   # by now (in libtool), but require it now just to be safe...
26565   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26566   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26567
26568
26569
26570   # The name set by libtool depends on the version of libtool.  Shame on us
26571   # for depending on an impl detail, but c'est la vie.  Older versions used
26572   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26573   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26574   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
26575   # set (hence we're using an older libtool), then set it.
26576   if test x${with_gnu_ld+set} != xset; then
26577     if test x${ac_cv_prog_gnu_ld+set} != xset; then
26578       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
26579       with_gnu_ld=no
26580     else
26581       with_gnu_ld=$ac_cv_prog_gnu_ld
26582     fi
26583   fi
26584
26585   # Start by getting the version number.  I think the libtool test already
26586   # does some of this, but throws away the result.
26587   glibcxx_ld_is_gold=no
26588   if test x"$with_gnu_ld" = x"yes"; then
26589     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26590 $as_echo_n "checking for ld version... " >&6; }
26591
26592     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26593       glibcxx_ld_is_gold=yes
26594     fi
26595     ldver=`$LD --version 2>/dev/null |
26596            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'`
26597
26598     glibcxx_gnu_ld_version=`echo $ldver | \
26599            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26600     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26601 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26602   fi
26603
26604   # Set --gc-sections.
26605   glibcxx_have_gc_sections=no
26606   if test "$glibcxx_ld_is_gold" = "yes"; then
26607     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26608       glibcxx_have_gc_sections=yes
26609     fi
26610   else
26611     glibcxx_gcsections_min_ld=21602
26612     if test x"$with_gnu_ld" = x"yes" &&
26613         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26614       glibcxx_have_gc_sections=yes
26615     fi
26616   fi
26617   if test "$glibcxx_have_gc_sections" = "yes"; then
26618     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
26619     # NB: This flag only works reliably after 2.16.1. Configure tests
26620     # for this are difficult, so hard wire a value that should work.
26621
26622     ac_test_CFLAGS="${CFLAGS+set}"
26623     ac_save_CFLAGS="$CFLAGS"
26624     CFLAGS='-Wl,--gc-sections'
26625
26626     # Check for -Wl,--gc-sections
26627     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26628 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26629     if test x$gcc_no_link = xyes; then
26630   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26631 fi
26632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26633 /* end confdefs.h.  */
26634  int one(void) { return 1; }
26635      int two(void) { return 2; }
26636
26637 int
26638 main ()
26639 {
26640  two();
26641   ;
26642   return 0;
26643 }
26644 _ACEOF
26645 if ac_fn_c_try_link "$LINENO"; then :
26646   ac_gcsections=yes
26647 else
26648   ac_gcsections=no
26649 fi
26650 rm -f core conftest.err conftest.$ac_objext \
26651     conftest$ac_exeext conftest.$ac_ext
26652     if test "$ac_gcsections" = "yes"; then
26653       rm -f conftest.c
26654       touch conftest.c
26655       if $CC -c conftest.c; then
26656         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26657            grep "Warning: gc-sections option ignored" > /dev/null; then
26658           ac_gcsections=no
26659         fi
26660       fi
26661       rm -f conftest.c conftest.o conftest
26662     fi
26663     if test "$ac_gcsections" = "yes"; then
26664       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26665     fi
26666     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26667 $as_echo "$ac_gcsections" >&6; }
26668
26669     if test "$ac_test_CFLAGS" = set; then
26670       CFLAGS="$ac_save_CFLAGS"
26671     else
26672       # this is the suspicious part
26673       CFLAGS=''
26674     fi
26675   fi
26676
26677   # Set -z,relro.
26678   # Note this is only for shared objects.
26679   ac_ld_relro=no
26680   if test x"$with_gnu_ld" = x"yes"; then
26681     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26682 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26683     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26684     if test -n "$cxx_z_relo"; then
26685       OPT_LDFLAGS="-Wl,-z,relro"
26686       ac_ld_relro=yes
26687     fi
26688     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26689 $as_echo "$ac_ld_relro" >&6; }
26690   fi
26691
26692   # Set linker optimization flags.
26693   if test x"$with_gnu_ld" = x"yes"; then
26694     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26695   fi
26696
26697
26698
26699
26700
26701   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26702   ac_save_CXXFLAGS="$CXXFLAGS"
26703   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26704
26705     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26706 $as_echo_n "checking for sin in -lm... " >&6; }
26707 if test "${ac_cv_lib_m_sin+set}" = set; then :
26708   $as_echo_n "(cached) " >&6
26709 else
26710   ac_check_lib_save_LIBS=$LIBS
26711 LIBS="-lm  $LIBS"
26712 if test x$gcc_no_link = xyes; then
26713   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26714 fi
26715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26716 /* end confdefs.h.  */
26717
26718 /* Override any GCC internal prototype to avoid an error.
26719    Use char because int might match the return type of a GCC
26720    builtin and then its argument prototype would still apply.  */
26721 #ifdef __cplusplus
26722 extern "C"
26723 #endif
26724 char sin ();
26725 int
26726 main ()
26727 {
26728 return sin ();
26729   ;
26730   return 0;
26731 }
26732 _ACEOF
26733 if ac_fn_c_try_link "$LINENO"; then :
26734   ac_cv_lib_m_sin=yes
26735 else
26736   ac_cv_lib_m_sin=no
26737 fi
26738 rm -f core conftest.err conftest.$ac_objext \
26739     conftest$ac_exeext conftest.$ac_ext
26740 LIBS=$ac_check_lib_save_LIBS
26741 fi
26742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26743 $as_echo "$ac_cv_lib_m_sin" >&6; }
26744 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26745   libm="-lm"
26746 fi
26747
26748   ac_save_LIBS="$LIBS"
26749   LIBS="$LIBS $libm"
26750
26751
26752
26753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26754 $as_echo_n "checking for isinf declaration... " >&6; }
26755   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26756     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26757   $as_echo_n "(cached) " >&6
26758 else
26759
26760
26761       ac_ext=cpp
26762 ac_cpp='$CXXCPP $CPPFLAGS'
26763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26766
26767       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26768 /* end confdefs.h.  */
26769 #include <math.h>
26770                       #ifdef HAVE_IEEEFP_H
26771                       #include <ieeefp.h>
26772                       #endif
26773
26774 int
26775 main ()
26776 {
26777  isinf(0);
26778   ;
26779   return 0;
26780 }
26781 _ACEOF
26782 if ac_fn_cxx_try_compile "$LINENO"; then :
26783   glibcxx_cv_func_isinf_use=yes
26784 else
26785   glibcxx_cv_func_isinf_use=no
26786 fi
26787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26788       ac_ext=c
26789 ac_cpp='$CPP $CPPFLAGS'
26790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26793
26794
26795 fi
26796
26797   fi
26798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26799 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26800
26801   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26802     for ac_func in isinf
26803 do :
26804   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26805 if test "x$ac_cv_func_isinf" = x""yes; then :
26806   cat >>confdefs.h <<_ACEOF
26807 #define HAVE_ISINF 1
26808 _ACEOF
26809
26810 fi
26811 done
26812
26813   else
26814
26815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26816 $as_echo_n "checking for _isinf declaration... " >&6; }
26817   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26818     if test "${glibcxx_cv_func__isinf_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  _isinf(0);
26840   ;
26841   return 0;
26842 }
26843 _ACEOF
26844 if ac_fn_cxx_try_compile "$LINENO"; then :
26845   glibcxx_cv_func__isinf_use=yes
26846 else
26847   glibcxx_cv_func__isinf_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__isinf_use" >&5
26861 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26862
26863     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26864       for ac_func in _isinf
26865 do :
26866   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26867 if test "x$ac_cv_func__isinf" = x""yes; then :
26868   cat >>confdefs.h <<_ACEOF
26869 #define HAVE__ISINF 1
26870 _ACEOF
26871
26872 fi
26873 done
26874
26875     fi
26876   fi
26877
26878
26879
26880
26881
26882   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26883 $as_echo_n "checking for isnan declaration... " >&6; }
26884   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26885     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26886   $as_echo_n "(cached) " >&6
26887 else
26888
26889
26890       ac_ext=cpp
26891 ac_cpp='$CXXCPP $CPPFLAGS'
26892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26895
26896       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26897 /* end confdefs.h.  */
26898 #include <math.h>
26899                       #ifdef HAVE_IEEEFP_H
26900                       #include <ieeefp.h>
26901                       #endif
26902
26903 int
26904 main ()
26905 {
26906  isnan(0);
26907   ;
26908   return 0;
26909 }
26910 _ACEOF
26911 if ac_fn_cxx_try_compile "$LINENO"; then :
26912   glibcxx_cv_func_isnan_use=yes
26913 else
26914   glibcxx_cv_func_isnan_use=no
26915 fi
26916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26917       ac_ext=c
26918 ac_cpp='$CPP $CPPFLAGS'
26919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26922
26923
26924 fi
26925
26926   fi
26927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26928 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26929
26930   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26931     for ac_func in isnan
26932 do :
26933   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26934 if test "x$ac_cv_func_isnan" = x""yes; then :
26935   cat >>confdefs.h <<_ACEOF
26936 #define HAVE_ISNAN 1
26937 _ACEOF
26938
26939 fi
26940 done
26941
26942   else
26943
26944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26945 $as_echo_n "checking for _isnan declaration... " >&6; }
26946   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26947     if test "${glibcxx_cv_func__isnan_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  _isnan(0);
26969   ;
26970   return 0;
26971 }
26972 _ACEOF
26973 if ac_fn_cxx_try_compile "$LINENO"; then :
26974   glibcxx_cv_func__isnan_use=yes
26975 else
26976   glibcxx_cv_func__isnan_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__isnan_use" >&5
26990 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26991
26992     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26993       for ac_func in _isnan
26994 do :
26995   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26996 if test "x$ac_cv_func__isnan" = x""yes; then :
26997   cat >>confdefs.h <<_ACEOF
26998 #define HAVE__ISNAN 1
26999 _ACEOF
27000
27001 fi
27002 done
27003
27004     fi
27005   fi
27006
27007
27008
27009
27010
27011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27012 $as_echo_n "checking for finite declaration... " >&6; }
27013   if test x${glibcxx_cv_func_finite_use+set} != xset; then
27014     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27015   $as_echo_n "(cached) " >&6
27016 else
27017
27018
27019       ac_ext=cpp
27020 ac_cpp='$CXXCPP $CPPFLAGS'
27021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27024
27025       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27026 /* end confdefs.h.  */
27027 #include <math.h>
27028                       #ifdef HAVE_IEEEFP_H
27029                       #include <ieeefp.h>
27030                       #endif
27031
27032 int
27033 main ()
27034 {
27035  finite(0);
27036   ;
27037   return 0;
27038 }
27039 _ACEOF
27040 if ac_fn_cxx_try_compile "$LINENO"; then :
27041   glibcxx_cv_func_finite_use=yes
27042 else
27043   glibcxx_cv_func_finite_use=no
27044 fi
27045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27046       ac_ext=c
27047 ac_cpp='$CPP $CPPFLAGS'
27048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27051
27052
27053 fi
27054
27055   fi
27056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27057 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27058
27059   if test x$glibcxx_cv_func_finite_use = x"yes"; then
27060     for ac_func in finite
27061 do :
27062   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27063 if test "x$ac_cv_func_finite" = x""yes; then :
27064   cat >>confdefs.h <<_ACEOF
27065 #define HAVE_FINITE 1
27066 _ACEOF
27067
27068 fi
27069 done
27070
27071   else
27072
27073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27074 $as_echo_n "checking for _finite declaration... " >&6; }
27075   if test x${glibcxx_cv_func__finite_use+set} != xset; then
27076     if test "${glibcxx_cv_func__finite_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                       #ifdef HAVE_IEEEFP_H
27091                       #include <ieeefp.h>
27092                       #endif
27093
27094 int
27095 main ()
27096 {
27097  _finite(0);
27098   ;
27099   return 0;
27100 }
27101 _ACEOF
27102 if ac_fn_cxx_try_compile "$LINENO"; then :
27103   glibcxx_cv_func__finite_use=yes
27104 else
27105   glibcxx_cv_func__finite_use=no
27106 fi
27107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27108       ac_ext=c
27109 ac_cpp='$CPP $CPPFLAGS'
27110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27113
27114
27115 fi
27116
27117   fi
27118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27119 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27120
27121     if test x$glibcxx_cv_func__finite_use = x"yes"; then
27122       for ac_func in _finite
27123 do :
27124   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27125 if test "x$ac_cv_func__finite" = x""yes; then :
27126   cat >>confdefs.h <<_ACEOF
27127 #define HAVE__FINITE 1
27128 _ACEOF
27129
27130 fi
27131 done
27132
27133     fi
27134   fi
27135
27136
27137
27138
27139
27140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27141 $as_echo_n "checking for sincos declaration... " >&6; }
27142   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27143     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27144   $as_echo_n "(cached) " >&6
27145 else
27146
27147
27148       ac_ext=cpp
27149 ac_cpp='$CXXCPP $CPPFLAGS'
27150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27153
27154       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27155 /* end confdefs.h.  */
27156 #include <math.h>
27157 int
27158 main ()
27159 {
27160  sincos(0, 0, 0);
27161   ;
27162   return 0;
27163 }
27164 _ACEOF
27165 if ac_fn_cxx_try_compile "$LINENO"; then :
27166   glibcxx_cv_func_sincos_use=yes
27167 else
27168   glibcxx_cv_func_sincos_use=no
27169 fi
27170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27171       ac_ext=c
27172 ac_cpp='$CPP $CPPFLAGS'
27173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27176
27177
27178 fi
27179
27180   fi
27181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27182 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27183
27184   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27185     for ac_func in sincos
27186 do :
27187   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27188 if test "x$ac_cv_func_sincos" = x""yes; then :
27189   cat >>confdefs.h <<_ACEOF
27190 #define HAVE_SINCOS 1
27191 _ACEOF
27192
27193 fi
27194 done
27195
27196   else
27197
27198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27199 $as_echo_n "checking for _sincos declaration... " >&6; }
27200   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27201     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27202   $as_echo_n "(cached) " >&6
27203 else
27204
27205
27206       ac_ext=cpp
27207 ac_cpp='$CXXCPP $CPPFLAGS'
27208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27211
27212       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27213 /* end confdefs.h.  */
27214 #include <math.h>
27215 int
27216 main ()
27217 {
27218  _sincos(0, 0, 0);
27219   ;
27220   return 0;
27221 }
27222 _ACEOF
27223 if ac_fn_cxx_try_compile "$LINENO"; then :
27224   glibcxx_cv_func__sincos_use=yes
27225 else
27226   glibcxx_cv_func__sincos_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__sincos_use" >&5
27240 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27241
27242     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27243       for ac_func in _sincos
27244 do :
27245   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27246 if test "x$ac_cv_func__sincos" = x""yes; then :
27247   cat >>confdefs.h <<_ACEOF
27248 #define HAVE__SINCOS 1
27249 _ACEOF
27250
27251 fi
27252 done
27253
27254     fi
27255   fi
27256
27257
27258
27259
27260
27261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27262 $as_echo_n "checking for fpclass declaration... " >&6; }
27263   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27264     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27265   $as_echo_n "(cached) " >&6
27266 else
27267
27268
27269       ac_ext=cpp
27270 ac_cpp='$CXXCPP $CPPFLAGS'
27271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27274
27275       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27276 /* end confdefs.h.  */
27277 #include <math.h>
27278                       #ifdef HAVE_IEEEFP_H
27279                       #include <ieeefp.h>
27280                       #endif
27281
27282 int
27283 main ()
27284 {
27285  fpclass(0);
27286   ;
27287   return 0;
27288 }
27289 _ACEOF
27290 if ac_fn_cxx_try_compile "$LINENO"; then :
27291   glibcxx_cv_func_fpclass_use=yes
27292 else
27293   glibcxx_cv_func_fpclass_use=no
27294 fi
27295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27296       ac_ext=c
27297 ac_cpp='$CPP $CPPFLAGS'
27298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27301
27302
27303 fi
27304
27305   fi
27306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27307 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27308
27309   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27310     for ac_func in fpclass
27311 do :
27312   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27313 if test "x$ac_cv_func_fpclass" = x""yes; then :
27314   cat >>confdefs.h <<_ACEOF
27315 #define HAVE_FPCLASS 1
27316 _ACEOF
27317
27318 fi
27319 done
27320
27321   else
27322
27323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27324 $as_echo_n "checking for _fpclass declaration... " >&6; }
27325   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27326     if test "${glibcxx_cv_func__fpclass_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  _fpclass(0);
27348   ;
27349   return 0;
27350 }
27351 _ACEOF
27352 if ac_fn_cxx_try_compile "$LINENO"; then :
27353   glibcxx_cv_func__fpclass_use=yes
27354 else
27355   glibcxx_cv_func__fpclass_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__fpclass_use" >&5
27369 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27370
27371     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27372       for ac_func in _fpclass
27373 do :
27374   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27375 if test "x$ac_cv_func__fpclass" = x""yes; then :
27376   cat >>confdefs.h <<_ACEOF
27377 #define HAVE__FPCLASS 1
27378 _ACEOF
27379
27380 fi
27381 done
27382
27383     fi
27384   fi
27385
27386
27387
27388
27389
27390   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27391 $as_echo_n "checking for qfpclass declaration... " >&6; }
27392   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27393     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27394   $as_echo_n "(cached) " >&6
27395 else
27396
27397
27398       ac_ext=cpp
27399 ac_cpp='$CXXCPP $CPPFLAGS'
27400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27403
27404       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27405 /* end confdefs.h.  */
27406 #include <math.h>
27407                       #ifdef HAVE_IEEEFP_H
27408                       #include <ieeefp.h>
27409                       #endif
27410
27411 int
27412 main ()
27413 {
27414  qfpclass(0);
27415   ;
27416   return 0;
27417 }
27418 _ACEOF
27419 if ac_fn_cxx_try_compile "$LINENO"; then :
27420   glibcxx_cv_func_qfpclass_use=yes
27421 else
27422   glibcxx_cv_func_qfpclass_use=no
27423 fi
27424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27425       ac_ext=c
27426 ac_cpp='$CPP $CPPFLAGS'
27427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27430
27431
27432 fi
27433
27434   fi
27435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27436 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27437
27438   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27439     for ac_func in qfpclass
27440 do :
27441   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27442 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27443   cat >>confdefs.h <<_ACEOF
27444 #define HAVE_QFPCLASS 1
27445 _ACEOF
27446
27447 fi
27448 done
27449
27450   else
27451
27452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27453 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27454   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27455     if test "${glibcxx_cv_func__qfpclass_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                       #ifdef HAVE_IEEEFP_H
27470                       #include <ieeefp.h>
27471                       #endif
27472
27473 int
27474 main ()
27475 {
27476  _qfpclass(0);
27477   ;
27478   return 0;
27479 }
27480 _ACEOF
27481 if ac_fn_cxx_try_compile "$LINENO"; then :
27482   glibcxx_cv_func__qfpclass_use=yes
27483 else
27484   glibcxx_cv_func__qfpclass_use=no
27485 fi
27486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27487       ac_ext=c
27488 ac_cpp='$CPP $CPPFLAGS'
27489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27492
27493
27494 fi
27495
27496   fi
27497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27498 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27499
27500     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27501       for ac_func in _qfpclass
27502 do :
27503   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27504 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27505   cat >>confdefs.h <<_ACEOF
27506 #define HAVE__QFPCLASS 1
27507 _ACEOF
27508
27509 fi
27510 done
27511
27512     fi
27513   fi
27514
27515
27516
27517
27518
27519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27520 $as_echo_n "checking for hypot declaration... " >&6; }
27521   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27522     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27523   $as_echo_n "(cached) " >&6
27524 else
27525
27526
27527       ac_ext=cpp
27528 ac_cpp='$CXXCPP $CPPFLAGS'
27529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27532
27533       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27534 /* end confdefs.h.  */
27535 #include <math.h>
27536 int
27537 main ()
27538 {
27539  hypot(0, 0);
27540   ;
27541   return 0;
27542 }
27543 _ACEOF
27544 if ac_fn_cxx_try_compile "$LINENO"; then :
27545   glibcxx_cv_func_hypot_use=yes
27546 else
27547   glibcxx_cv_func_hypot_use=no
27548 fi
27549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27550       ac_ext=c
27551 ac_cpp='$CPP $CPPFLAGS'
27552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27555
27556
27557 fi
27558
27559   fi
27560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27561 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27562
27563   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27564     for ac_func in hypot
27565 do :
27566   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27567 if test "x$ac_cv_func_hypot" = x""yes; then :
27568   cat >>confdefs.h <<_ACEOF
27569 #define HAVE_HYPOT 1
27570 _ACEOF
27571
27572 fi
27573 done
27574
27575   else
27576
27577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27578 $as_echo_n "checking for _hypot declaration... " >&6; }
27579   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27580     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27581   $as_echo_n "(cached) " >&6
27582 else
27583
27584
27585       ac_ext=cpp
27586 ac_cpp='$CXXCPP $CPPFLAGS'
27587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27590
27591       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27592 /* end confdefs.h.  */
27593 #include <math.h>
27594 int
27595 main ()
27596 {
27597  _hypot(0, 0);
27598   ;
27599   return 0;
27600 }
27601 _ACEOF
27602 if ac_fn_cxx_try_compile "$LINENO"; then :
27603   glibcxx_cv_func__hypot_use=yes
27604 else
27605   glibcxx_cv_func__hypot_use=no
27606 fi
27607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27608       ac_ext=c
27609 ac_cpp='$CPP $CPPFLAGS'
27610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27613
27614
27615 fi
27616
27617   fi
27618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27619 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27620
27621     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27622       for ac_func in _hypot
27623 do :
27624   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27625 if test "x$ac_cv_func__hypot" = x""yes; then :
27626   cat >>confdefs.h <<_ACEOF
27627 #define HAVE__HYPOT 1
27628 _ACEOF
27629
27630 fi
27631 done
27632
27633     fi
27634   fi
27635
27636
27637
27638
27639
27640     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27641 $as_echo_n "checking for float trig functions... " >&6; }
27642   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27643   $as_echo_n "(cached) " >&6
27644 else
27645
27646
27647     ac_ext=cpp
27648 ac_cpp='$CXXCPP $CPPFLAGS'
27649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27652
27653     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27654 /* end confdefs.h.  */
27655 #include <math.h>
27656 int
27657 main ()
27658 {
27659 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27660   ;
27661   return 0;
27662 }
27663 _ACEOF
27664 if ac_fn_cxx_try_compile "$LINENO"; then :
27665   glibcxx_cv_func_float_trig_use=yes
27666 else
27667   glibcxx_cv_func_float_trig_use=no
27668 fi
27669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27670     ac_ext=c
27671 ac_cpp='$CPP $CPPFLAGS'
27672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27675
27676 fi
27677
27678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27679 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27680   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27681     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27682 do :
27683   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27685 eval as_val=\$$as_ac_var
27686    if test "x$as_val" = x""yes; then :
27687   cat >>confdefs.h <<_ACEOF
27688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27689 _ACEOF
27690
27691 fi
27692 done
27693
27694   else
27695     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27696 $as_echo_n "checking for _float trig functions... " >&6; }
27697     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27698   $as_echo_n "(cached) " >&6
27699 else
27700
27701
27702       ac_ext=cpp
27703 ac_cpp='$CXXCPP $CPPFLAGS'
27704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27707
27708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27709 /* end confdefs.h.  */
27710 #include <math.h>
27711 int
27712 main ()
27713 {
27714 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27715   ;
27716   return 0;
27717 }
27718 _ACEOF
27719 if ac_fn_cxx_try_compile "$LINENO"; then :
27720   glibcxx_cv_func__float_trig_use=yes
27721 else
27722   glibcxx_cv_func__float_trig_use=no
27723 fi
27724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27725       ac_ext=c
27726 ac_cpp='$CPP $CPPFLAGS'
27727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27730
27731 fi
27732
27733     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27734 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27735     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27736       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27737 do :
27738   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27739 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27740 eval as_val=\$$as_ac_var
27741    if test "x$as_val" = x""yes; then :
27742   cat >>confdefs.h <<_ACEOF
27743 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27744 _ACEOF
27745
27746 fi
27747 done
27748
27749     fi
27750   fi
27751
27752
27753
27754
27755
27756     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27757 $as_echo_n "checking for float round functions... " >&6; }
27758   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27759   $as_echo_n "(cached) " >&6
27760 else
27761
27762
27763     ac_ext=cpp
27764 ac_cpp='$CXXCPP $CPPFLAGS'
27765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27768
27769     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27770 /* end confdefs.h.  */
27771 #include <math.h>
27772 int
27773 main ()
27774 {
27775 ceilf (0); floorf (0);
27776   ;
27777   return 0;
27778 }
27779 _ACEOF
27780 if ac_fn_cxx_try_compile "$LINENO"; then :
27781   glibcxx_cv_func_float_round_use=yes
27782 else
27783   glibcxx_cv_func_float_round_use=no
27784 fi
27785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27786     ac_ext=c
27787 ac_cpp='$CPP $CPPFLAGS'
27788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27791
27792 fi
27793
27794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27795 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27796   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27797     for ac_func in ceilf floorf
27798 do :
27799   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27800 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27801 eval as_val=\$$as_ac_var
27802    if test "x$as_val" = x""yes; then :
27803   cat >>confdefs.h <<_ACEOF
27804 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27805 _ACEOF
27806
27807 fi
27808 done
27809
27810   else
27811     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27812 $as_echo_n "checking for _float round functions... " >&6; }
27813     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27814   $as_echo_n "(cached) " >&6
27815 else
27816
27817
27818       ac_ext=cpp
27819 ac_cpp='$CXXCPP $CPPFLAGS'
27820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27823
27824       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27825 /* end confdefs.h.  */
27826 #include <math.h>
27827 int
27828 main ()
27829 {
27830 _ceilf (0); _floorf (0);
27831   ;
27832   return 0;
27833 }
27834 _ACEOF
27835 if ac_fn_cxx_try_compile "$LINENO"; then :
27836   glibcxx_cv_func__float_round_use=yes
27837 else
27838   glibcxx_cv_func__float_round_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 fi
27848
27849     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27850 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27851     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27852       for ac_func in _ceilf _floorf
27853 do :
27854   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27855 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27856 eval as_val=\$$as_ac_var
27857    if test "x$as_val" = x""yes; then :
27858   cat >>confdefs.h <<_ACEOF
27859 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27860 _ACEOF
27861
27862 fi
27863 done
27864
27865     fi
27866   fi
27867
27868
27869
27870
27871
27872
27873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27874 $as_echo_n "checking for expf declaration... " >&6; }
27875   if test x${glibcxx_cv_func_expf_use+set} != xset; then
27876     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27877   $as_echo_n "(cached) " >&6
27878 else
27879
27880
27881       ac_ext=cpp
27882 ac_cpp='$CXXCPP $CPPFLAGS'
27883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27886
27887       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27888 /* end confdefs.h.  */
27889 #include <math.h>
27890                       #ifdef HAVE_IEEEFP_H
27891                       #include <ieeefp.h>
27892                       #endif
27893
27894 int
27895 main ()
27896 {
27897  expf(0);
27898   ;
27899   return 0;
27900 }
27901 _ACEOF
27902 if ac_fn_cxx_try_compile "$LINENO"; then :
27903   glibcxx_cv_func_expf_use=yes
27904 else
27905   glibcxx_cv_func_expf_use=no
27906 fi
27907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27908       ac_ext=c
27909 ac_cpp='$CPP $CPPFLAGS'
27910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27913
27914
27915 fi
27916
27917   fi
27918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27919 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27920
27921   if test x$glibcxx_cv_func_expf_use = x"yes"; then
27922     for ac_func in expf
27923 do :
27924   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27925 if test "x$ac_cv_func_expf" = x""yes; then :
27926   cat >>confdefs.h <<_ACEOF
27927 #define HAVE_EXPF 1
27928 _ACEOF
27929
27930 fi
27931 done
27932
27933   else
27934
27935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27936 $as_echo_n "checking for _expf declaration... " >&6; }
27937   if test x${glibcxx_cv_func__expf_use+set} != xset; then
27938     if test "${glibcxx_cv_func__expf_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  _expf(0);
27960   ;
27961   return 0;
27962 }
27963 _ACEOF
27964 if ac_fn_cxx_try_compile "$LINENO"; then :
27965   glibcxx_cv_func__expf_use=yes
27966 else
27967   glibcxx_cv_func__expf_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__expf_use" >&5
27981 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27982
27983     if test x$glibcxx_cv_func__expf_use = x"yes"; then
27984       for ac_func in _expf
27985 do :
27986   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27987 if test "x$ac_cv_func__expf" = x""yes; then :
27988   cat >>confdefs.h <<_ACEOF
27989 #define HAVE__EXPF 1
27990 _ACEOF
27991
27992 fi
27993 done
27994
27995     fi
27996   fi
27997
27998
27999
28000
28001
28002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28003 $as_echo_n "checking for isnanf declaration... " >&6; }
28004   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28005     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28006   $as_echo_n "(cached) " >&6
28007 else
28008
28009
28010       ac_ext=cpp
28011 ac_cpp='$CXXCPP $CPPFLAGS'
28012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28015
28016       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28017 /* end confdefs.h.  */
28018 #include <math.h>
28019                       #ifdef HAVE_IEEEFP_H
28020                       #include <ieeefp.h>
28021                       #endif
28022
28023 int
28024 main ()
28025 {
28026  isnanf(0);
28027   ;
28028   return 0;
28029 }
28030 _ACEOF
28031 if ac_fn_cxx_try_compile "$LINENO"; then :
28032   glibcxx_cv_func_isnanf_use=yes
28033 else
28034   glibcxx_cv_func_isnanf_use=no
28035 fi
28036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28037       ac_ext=c
28038 ac_cpp='$CPP $CPPFLAGS'
28039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28042
28043
28044 fi
28045
28046   fi
28047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28048 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28049
28050   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28051     for ac_func in isnanf
28052 do :
28053   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28054 if test "x$ac_cv_func_isnanf" = x""yes; then :
28055   cat >>confdefs.h <<_ACEOF
28056 #define HAVE_ISNANF 1
28057 _ACEOF
28058
28059 fi
28060 done
28061
28062   else
28063
28064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28065 $as_echo_n "checking for _isnanf declaration... " >&6; }
28066   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28067     if test "${glibcxx_cv_func__isnanf_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  _isnanf(0);
28089   ;
28090   return 0;
28091 }
28092 _ACEOF
28093 if ac_fn_cxx_try_compile "$LINENO"; then :
28094   glibcxx_cv_func__isnanf_use=yes
28095 else
28096   glibcxx_cv_func__isnanf_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__isnanf_use" >&5
28110 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28111
28112     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28113       for ac_func in _isnanf
28114 do :
28115   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28116 if test "x$ac_cv_func__isnanf" = x""yes; then :
28117   cat >>confdefs.h <<_ACEOF
28118 #define HAVE__ISNANF 1
28119 _ACEOF
28120
28121 fi
28122 done
28123
28124     fi
28125   fi
28126
28127
28128
28129
28130
28131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28132 $as_echo_n "checking for isinff declaration... " >&6; }
28133   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28134     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28135   $as_echo_n "(cached) " >&6
28136 else
28137
28138
28139       ac_ext=cpp
28140 ac_cpp='$CXXCPP $CPPFLAGS'
28141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28144
28145       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28146 /* end confdefs.h.  */
28147 #include <math.h>
28148                       #ifdef HAVE_IEEEFP_H
28149                       #include <ieeefp.h>
28150                       #endif
28151
28152 int
28153 main ()
28154 {
28155  isinff(0);
28156   ;
28157   return 0;
28158 }
28159 _ACEOF
28160 if ac_fn_cxx_try_compile "$LINENO"; then :
28161   glibcxx_cv_func_isinff_use=yes
28162 else
28163   glibcxx_cv_func_isinff_use=no
28164 fi
28165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28166       ac_ext=c
28167 ac_cpp='$CPP $CPPFLAGS'
28168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28171
28172
28173 fi
28174
28175   fi
28176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28177 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28178
28179   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28180     for ac_func in isinff
28181 do :
28182   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28183 if test "x$ac_cv_func_isinff" = x""yes; then :
28184   cat >>confdefs.h <<_ACEOF
28185 #define HAVE_ISINFF 1
28186 _ACEOF
28187
28188 fi
28189 done
28190
28191   else
28192
28193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28194 $as_echo_n "checking for _isinff declaration... " >&6; }
28195   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28196     if test "${glibcxx_cv_func__isinff_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                       #ifdef HAVE_IEEEFP_H
28211                       #include <ieeefp.h>
28212                       #endif
28213
28214 int
28215 main ()
28216 {
28217  _isinff(0);
28218   ;
28219   return 0;
28220 }
28221 _ACEOF
28222 if ac_fn_cxx_try_compile "$LINENO"; then :
28223   glibcxx_cv_func__isinff_use=yes
28224 else
28225   glibcxx_cv_func__isinff_use=no
28226 fi
28227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28228       ac_ext=c
28229 ac_cpp='$CPP $CPPFLAGS'
28230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28233
28234
28235 fi
28236
28237   fi
28238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28239 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28240
28241     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28242       for ac_func in _isinff
28243 do :
28244   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28245 if test "x$ac_cv_func__isinff" = x""yes; then :
28246   cat >>confdefs.h <<_ACEOF
28247 #define HAVE__ISINFF 1
28248 _ACEOF
28249
28250 fi
28251 done
28252
28253     fi
28254   fi
28255
28256
28257
28258
28259
28260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28261 $as_echo_n "checking for atan2f declaration... " >&6; }
28262   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28263     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28264   $as_echo_n "(cached) " >&6
28265 else
28266
28267
28268       ac_ext=cpp
28269 ac_cpp='$CXXCPP $CPPFLAGS'
28270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28273
28274       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28275 /* end confdefs.h.  */
28276 #include <math.h>
28277 int
28278 main ()
28279 {
28280  atan2f(0, 0);
28281   ;
28282   return 0;
28283 }
28284 _ACEOF
28285 if ac_fn_cxx_try_compile "$LINENO"; then :
28286   glibcxx_cv_func_atan2f_use=yes
28287 else
28288   glibcxx_cv_func_atan2f_use=no
28289 fi
28290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28291       ac_ext=c
28292 ac_cpp='$CPP $CPPFLAGS'
28293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28296
28297
28298 fi
28299
28300   fi
28301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28302 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28303
28304   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28305     for ac_func in atan2f
28306 do :
28307   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28308 if test "x$ac_cv_func_atan2f" = x""yes; then :
28309   cat >>confdefs.h <<_ACEOF
28310 #define HAVE_ATAN2F 1
28311 _ACEOF
28312
28313 fi
28314 done
28315
28316   else
28317
28318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28319 $as_echo_n "checking for _atan2f declaration... " >&6; }
28320   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28321     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28322   $as_echo_n "(cached) " >&6
28323 else
28324
28325
28326       ac_ext=cpp
28327 ac_cpp='$CXXCPP $CPPFLAGS'
28328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28331
28332       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28333 /* end confdefs.h.  */
28334 #include <math.h>
28335 int
28336 main ()
28337 {
28338  _atan2f(0, 0);
28339   ;
28340   return 0;
28341 }
28342 _ACEOF
28343 if ac_fn_cxx_try_compile "$LINENO"; then :
28344   glibcxx_cv_func__atan2f_use=yes
28345 else
28346   glibcxx_cv_func__atan2f_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__atan2f_use" >&5
28360 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28361
28362     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28363       for ac_func in _atan2f
28364 do :
28365   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28366 if test "x$ac_cv_func__atan2f" = x""yes; then :
28367   cat >>confdefs.h <<_ACEOF
28368 #define HAVE__ATAN2F 1
28369 _ACEOF
28370
28371 fi
28372 done
28373
28374     fi
28375   fi
28376
28377
28378
28379
28380
28381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28382 $as_echo_n "checking for fabsf declaration... " >&6; }
28383   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28384     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28385   $as_echo_n "(cached) " >&6
28386 else
28387
28388
28389       ac_ext=cpp
28390 ac_cpp='$CXXCPP $CPPFLAGS'
28391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28394
28395       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28396 /* end confdefs.h.  */
28397 #include <math.h>
28398                       #ifdef HAVE_IEEEFP_H
28399                       #include <ieeefp.h>
28400                       #endif
28401
28402 int
28403 main ()
28404 {
28405  fabsf(0);
28406   ;
28407   return 0;
28408 }
28409 _ACEOF
28410 if ac_fn_cxx_try_compile "$LINENO"; then :
28411   glibcxx_cv_func_fabsf_use=yes
28412 else
28413   glibcxx_cv_func_fabsf_use=no
28414 fi
28415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28416       ac_ext=c
28417 ac_cpp='$CPP $CPPFLAGS'
28418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28421
28422
28423 fi
28424
28425   fi
28426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28427 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28428
28429   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28430     for ac_func in fabsf
28431 do :
28432   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28433 if test "x$ac_cv_func_fabsf" = x""yes; then :
28434   cat >>confdefs.h <<_ACEOF
28435 #define HAVE_FABSF 1
28436 _ACEOF
28437
28438 fi
28439 done
28440
28441   else
28442
28443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28444 $as_echo_n "checking for _fabsf declaration... " >&6; }
28445   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28446     if test "${glibcxx_cv_func__fabsf_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                       #ifdef HAVE_IEEEFP_H
28461                       #include <ieeefp.h>
28462                       #endif
28463
28464 int
28465 main ()
28466 {
28467  _fabsf(0);
28468   ;
28469   return 0;
28470 }
28471 _ACEOF
28472 if ac_fn_cxx_try_compile "$LINENO"; then :
28473   glibcxx_cv_func__fabsf_use=yes
28474 else
28475   glibcxx_cv_func__fabsf_use=no
28476 fi
28477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28478       ac_ext=c
28479 ac_cpp='$CPP $CPPFLAGS'
28480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28483
28484
28485 fi
28486
28487   fi
28488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28489 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28490
28491     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28492       for ac_func in _fabsf
28493 do :
28494   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28495 if test "x$ac_cv_func__fabsf" = x""yes; then :
28496   cat >>confdefs.h <<_ACEOF
28497 #define HAVE__FABSF 1
28498 _ACEOF
28499
28500 fi
28501 done
28502
28503     fi
28504   fi
28505
28506
28507
28508
28509
28510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28511 $as_echo_n "checking for fmodf declaration... " >&6; }
28512   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28513     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28514   $as_echo_n "(cached) " >&6
28515 else
28516
28517
28518       ac_ext=cpp
28519 ac_cpp='$CXXCPP $CPPFLAGS'
28520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28523
28524       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28525 /* end confdefs.h.  */
28526 #include <math.h>
28527 int
28528 main ()
28529 {
28530  fmodf(0, 0);
28531   ;
28532   return 0;
28533 }
28534 _ACEOF
28535 if ac_fn_cxx_try_compile "$LINENO"; then :
28536   glibcxx_cv_func_fmodf_use=yes
28537 else
28538   glibcxx_cv_func_fmodf_use=no
28539 fi
28540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28541       ac_ext=c
28542 ac_cpp='$CPP $CPPFLAGS'
28543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28546
28547
28548 fi
28549
28550   fi
28551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28552 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28553
28554   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28555     for ac_func in fmodf
28556 do :
28557   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28558 if test "x$ac_cv_func_fmodf" = x""yes; then :
28559   cat >>confdefs.h <<_ACEOF
28560 #define HAVE_FMODF 1
28561 _ACEOF
28562
28563 fi
28564 done
28565
28566   else
28567
28568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28569 $as_echo_n "checking for _fmodf declaration... " >&6; }
28570   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28571     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28572   $as_echo_n "(cached) " >&6
28573 else
28574
28575
28576       ac_ext=cpp
28577 ac_cpp='$CXXCPP $CPPFLAGS'
28578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28581
28582       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28583 /* end confdefs.h.  */
28584 #include <math.h>
28585 int
28586 main ()
28587 {
28588  _fmodf(0, 0);
28589   ;
28590   return 0;
28591 }
28592 _ACEOF
28593 if ac_fn_cxx_try_compile "$LINENO"; then :
28594   glibcxx_cv_func__fmodf_use=yes
28595 else
28596   glibcxx_cv_func__fmodf_use=no
28597 fi
28598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28599       ac_ext=c
28600 ac_cpp='$CPP $CPPFLAGS'
28601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28604
28605
28606 fi
28607
28608   fi
28609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28610 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28611
28612     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28613       for ac_func in _fmodf
28614 do :
28615   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28616 if test "x$ac_cv_func__fmodf" = x""yes; then :
28617   cat >>confdefs.h <<_ACEOF
28618 #define HAVE__FMODF 1
28619 _ACEOF
28620
28621 fi
28622 done
28623
28624     fi
28625   fi
28626
28627
28628
28629
28630
28631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28632 $as_echo_n "checking for frexpf declaration... " >&6; }
28633   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28634     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28635   $as_echo_n "(cached) " >&6
28636 else
28637
28638
28639       ac_ext=cpp
28640 ac_cpp='$CXXCPP $CPPFLAGS'
28641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28644
28645       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28646 /* end confdefs.h.  */
28647 #include <math.h>
28648 int
28649 main ()
28650 {
28651  frexpf(0, 0);
28652   ;
28653   return 0;
28654 }
28655 _ACEOF
28656 if ac_fn_cxx_try_compile "$LINENO"; then :
28657   glibcxx_cv_func_frexpf_use=yes
28658 else
28659   glibcxx_cv_func_frexpf_use=no
28660 fi
28661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28662       ac_ext=c
28663 ac_cpp='$CPP $CPPFLAGS'
28664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28667
28668
28669 fi
28670
28671   fi
28672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28673 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28674
28675   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28676     for ac_func in frexpf
28677 do :
28678   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28679 if test "x$ac_cv_func_frexpf" = x""yes; then :
28680   cat >>confdefs.h <<_ACEOF
28681 #define HAVE_FREXPF 1
28682 _ACEOF
28683
28684 fi
28685 done
28686
28687   else
28688
28689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28690 $as_echo_n "checking for _frexpf declaration... " >&6; }
28691   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28692     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28693   $as_echo_n "(cached) " >&6
28694 else
28695
28696
28697       ac_ext=cpp
28698 ac_cpp='$CXXCPP $CPPFLAGS'
28699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28702
28703       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28704 /* end confdefs.h.  */
28705 #include <math.h>
28706 int
28707 main ()
28708 {
28709  _frexpf(0, 0);
28710   ;
28711   return 0;
28712 }
28713 _ACEOF
28714 if ac_fn_cxx_try_compile "$LINENO"; then :
28715   glibcxx_cv_func__frexpf_use=yes
28716 else
28717   glibcxx_cv_func__frexpf_use=no
28718 fi
28719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28720       ac_ext=c
28721 ac_cpp='$CPP $CPPFLAGS'
28722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28725
28726
28727 fi
28728
28729   fi
28730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28731 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28732
28733     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28734       for ac_func in _frexpf
28735 do :
28736   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28737 if test "x$ac_cv_func__frexpf" = x""yes; then :
28738   cat >>confdefs.h <<_ACEOF
28739 #define HAVE__FREXPF 1
28740 _ACEOF
28741
28742 fi
28743 done
28744
28745     fi
28746   fi
28747
28748
28749
28750
28751
28752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28753 $as_echo_n "checking for hypotf declaration... " >&6; }
28754   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28755     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28756   $as_echo_n "(cached) " >&6
28757 else
28758
28759
28760       ac_ext=cpp
28761 ac_cpp='$CXXCPP $CPPFLAGS'
28762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28765
28766       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28767 /* end confdefs.h.  */
28768 #include <math.h>
28769 int
28770 main ()
28771 {
28772  hypotf(0, 0);
28773   ;
28774   return 0;
28775 }
28776 _ACEOF
28777 if ac_fn_cxx_try_compile "$LINENO"; then :
28778   glibcxx_cv_func_hypotf_use=yes
28779 else
28780   glibcxx_cv_func_hypotf_use=no
28781 fi
28782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28783       ac_ext=c
28784 ac_cpp='$CPP $CPPFLAGS'
28785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28788
28789
28790 fi
28791
28792   fi
28793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28794 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28795
28796   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28797     for ac_func in hypotf
28798 do :
28799   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28800 if test "x$ac_cv_func_hypotf" = x""yes; then :
28801   cat >>confdefs.h <<_ACEOF
28802 #define HAVE_HYPOTF 1
28803 _ACEOF
28804
28805 fi
28806 done
28807
28808   else
28809
28810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28811 $as_echo_n "checking for _hypotf declaration... " >&6; }
28812   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28813     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28814   $as_echo_n "(cached) " >&6
28815 else
28816
28817
28818       ac_ext=cpp
28819 ac_cpp='$CXXCPP $CPPFLAGS'
28820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28823
28824       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28825 /* end confdefs.h.  */
28826 #include <math.h>
28827 int
28828 main ()
28829 {
28830  _hypotf(0, 0);
28831   ;
28832   return 0;
28833 }
28834 _ACEOF
28835 if ac_fn_cxx_try_compile "$LINENO"; then :
28836   glibcxx_cv_func__hypotf_use=yes
28837 else
28838   glibcxx_cv_func__hypotf_use=no
28839 fi
28840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28841       ac_ext=c
28842 ac_cpp='$CPP $CPPFLAGS'
28843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28846
28847
28848 fi
28849
28850   fi
28851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28852 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28853
28854     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28855       for ac_func in _hypotf
28856 do :
28857   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28858 if test "x$ac_cv_func__hypotf" = x""yes; then :
28859   cat >>confdefs.h <<_ACEOF
28860 #define HAVE__HYPOTF 1
28861 _ACEOF
28862
28863 fi
28864 done
28865
28866     fi
28867   fi
28868
28869
28870
28871
28872
28873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28874 $as_echo_n "checking for ldexpf declaration... " >&6; }
28875   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28876     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28877   $as_echo_n "(cached) " >&6
28878 else
28879
28880
28881       ac_ext=cpp
28882 ac_cpp='$CXXCPP $CPPFLAGS'
28883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28886
28887       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28888 /* end confdefs.h.  */
28889 #include <math.h>
28890 int
28891 main ()
28892 {
28893  ldexpf(0, 0);
28894   ;
28895   return 0;
28896 }
28897 _ACEOF
28898 if ac_fn_cxx_try_compile "$LINENO"; then :
28899   glibcxx_cv_func_ldexpf_use=yes
28900 else
28901   glibcxx_cv_func_ldexpf_use=no
28902 fi
28903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28904       ac_ext=c
28905 ac_cpp='$CPP $CPPFLAGS'
28906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28909
28910
28911 fi
28912
28913   fi
28914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28915 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28916
28917   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28918     for ac_func in ldexpf
28919 do :
28920   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28921 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28922   cat >>confdefs.h <<_ACEOF
28923 #define HAVE_LDEXPF 1
28924 _ACEOF
28925
28926 fi
28927 done
28928
28929   else
28930
28931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28932 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28933   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28934     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28935   $as_echo_n "(cached) " >&6
28936 else
28937
28938
28939       ac_ext=cpp
28940 ac_cpp='$CXXCPP $CPPFLAGS'
28941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28944
28945       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28946 /* end confdefs.h.  */
28947 #include <math.h>
28948 int
28949 main ()
28950 {
28951  _ldexpf(0, 0);
28952   ;
28953   return 0;
28954 }
28955 _ACEOF
28956 if ac_fn_cxx_try_compile "$LINENO"; then :
28957   glibcxx_cv_func__ldexpf_use=yes
28958 else
28959   glibcxx_cv_func__ldexpf_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__ldexpf_use" >&5
28973 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28974
28975     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28976       for ac_func in _ldexpf
28977 do :
28978   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28979 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28980   cat >>confdefs.h <<_ACEOF
28981 #define HAVE__LDEXPF 1
28982 _ACEOF
28983
28984 fi
28985 done
28986
28987     fi
28988   fi
28989
28990
28991
28992
28993
28994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28995 $as_echo_n "checking for logf declaration... " >&6; }
28996   if test x${glibcxx_cv_func_logf_use+set} != xset; then
28997     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28998   $as_echo_n "(cached) " >&6
28999 else
29000
29001
29002       ac_ext=cpp
29003 ac_cpp='$CXXCPP $CPPFLAGS'
29004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29007
29008       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29009 /* end confdefs.h.  */
29010 #include <math.h>
29011                       #ifdef HAVE_IEEEFP_H
29012                       #include <ieeefp.h>
29013                       #endif
29014
29015 int
29016 main ()
29017 {
29018  logf(0);
29019   ;
29020   return 0;
29021 }
29022 _ACEOF
29023 if ac_fn_cxx_try_compile "$LINENO"; then :
29024   glibcxx_cv_func_logf_use=yes
29025 else
29026   glibcxx_cv_func_logf_use=no
29027 fi
29028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29029       ac_ext=c
29030 ac_cpp='$CPP $CPPFLAGS'
29031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29034
29035
29036 fi
29037
29038   fi
29039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29040 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29041
29042   if test x$glibcxx_cv_func_logf_use = x"yes"; then
29043     for ac_func in logf
29044 do :
29045   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29046 if test "x$ac_cv_func_logf" = x""yes; then :
29047   cat >>confdefs.h <<_ACEOF
29048 #define HAVE_LOGF 1
29049 _ACEOF
29050
29051 fi
29052 done
29053
29054   else
29055
29056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29057 $as_echo_n "checking for _logf declaration... " >&6; }
29058   if test x${glibcxx_cv_func__logf_use+set} != xset; then
29059     if test "${glibcxx_cv_func__logf_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  _logf(0);
29081   ;
29082   return 0;
29083 }
29084 _ACEOF
29085 if ac_fn_cxx_try_compile "$LINENO"; then :
29086   glibcxx_cv_func__logf_use=yes
29087 else
29088   glibcxx_cv_func__logf_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__logf_use" >&5
29102 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29103
29104     if test x$glibcxx_cv_func__logf_use = x"yes"; then
29105       for ac_func in _logf
29106 do :
29107   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29108 if test "x$ac_cv_func__logf" = x""yes; then :
29109   cat >>confdefs.h <<_ACEOF
29110 #define HAVE__LOGF 1
29111 _ACEOF
29112
29113 fi
29114 done
29115
29116     fi
29117   fi
29118
29119
29120
29121
29122
29123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29124 $as_echo_n "checking for log10f declaration... " >&6; }
29125   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29126     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29127   $as_echo_n "(cached) " >&6
29128 else
29129
29130
29131       ac_ext=cpp
29132 ac_cpp='$CXXCPP $CPPFLAGS'
29133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29136
29137       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29138 /* end confdefs.h.  */
29139 #include <math.h>
29140                       #ifdef HAVE_IEEEFP_H
29141                       #include <ieeefp.h>
29142                       #endif
29143
29144 int
29145 main ()
29146 {
29147  log10f(0);
29148   ;
29149   return 0;
29150 }
29151 _ACEOF
29152 if ac_fn_cxx_try_compile "$LINENO"; then :
29153   glibcxx_cv_func_log10f_use=yes
29154 else
29155   glibcxx_cv_func_log10f_use=no
29156 fi
29157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29158       ac_ext=c
29159 ac_cpp='$CPP $CPPFLAGS'
29160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29163
29164
29165 fi
29166
29167   fi
29168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29169 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29170
29171   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29172     for ac_func in log10f
29173 do :
29174   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29175 if test "x$ac_cv_func_log10f" = x""yes; then :
29176   cat >>confdefs.h <<_ACEOF
29177 #define HAVE_LOG10F 1
29178 _ACEOF
29179
29180 fi
29181 done
29182
29183   else
29184
29185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29186 $as_echo_n "checking for _log10f declaration... " >&6; }
29187   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29188     if test "${glibcxx_cv_func__log10f_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                       #ifdef HAVE_IEEEFP_H
29203                       #include <ieeefp.h>
29204                       #endif
29205
29206 int
29207 main ()
29208 {
29209  _log10f(0);
29210   ;
29211   return 0;
29212 }
29213 _ACEOF
29214 if ac_fn_cxx_try_compile "$LINENO"; then :
29215   glibcxx_cv_func__log10f_use=yes
29216 else
29217   glibcxx_cv_func__log10f_use=no
29218 fi
29219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29220       ac_ext=c
29221 ac_cpp='$CPP $CPPFLAGS'
29222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29225
29226
29227 fi
29228
29229   fi
29230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29231 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29232
29233     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29234       for ac_func in _log10f
29235 do :
29236   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29237 if test "x$ac_cv_func__log10f" = x""yes; then :
29238   cat >>confdefs.h <<_ACEOF
29239 #define HAVE__LOG10F 1
29240 _ACEOF
29241
29242 fi
29243 done
29244
29245     fi
29246   fi
29247
29248
29249
29250
29251
29252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29253 $as_echo_n "checking for modff declaration... " >&6; }
29254   if test x${glibcxx_cv_func_modff_use+set} != xset; then
29255     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29256   $as_echo_n "(cached) " >&6
29257 else
29258
29259
29260       ac_ext=cpp
29261 ac_cpp='$CXXCPP $CPPFLAGS'
29262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29265
29266       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29267 /* end confdefs.h.  */
29268 #include <math.h>
29269 int
29270 main ()
29271 {
29272  modff(0, 0);
29273   ;
29274   return 0;
29275 }
29276 _ACEOF
29277 if ac_fn_cxx_try_compile "$LINENO"; then :
29278   glibcxx_cv_func_modff_use=yes
29279 else
29280   glibcxx_cv_func_modff_use=no
29281 fi
29282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29283       ac_ext=c
29284 ac_cpp='$CPP $CPPFLAGS'
29285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29288
29289
29290 fi
29291
29292   fi
29293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29294 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29295
29296   if test x$glibcxx_cv_func_modff_use = x"yes"; then
29297     for ac_func in modff
29298 do :
29299   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29300 if test "x$ac_cv_func_modff" = x""yes; then :
29301   cat >>confdefs.h <<_ACEOF
29302 #define HAVE_MODFF 1
29303 _ACEOF
29304
29305 fi
29306 done
29307
29308   else
29309
29310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29311 $as_echo_n "checking for _modff declaration... " >&6; }
29312   if test x${glibcxx_cv_func__modff_use+set} != xset; then
29313     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29314   $as_echo_n "(cached) " >&6
29315 else
29316
29317
29318       ac_ext=cpp
29319 ac_cpp='$CXXCPP $CPPFLAGS'
29320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29323
29324       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29325 /* end confdefs.h.  */
29326 #include <math.h>
29327 int
29328 main ()
29329 {
29330  _modff(0, 0);
29331   ;
29332   return 0;
29333 }
29334 _ACEOF
29335 if ac_fn_cxx_try_compile "$LINENO"; then :
29336   glibcxx_cv_func__modff_use=yes
29337 else
29338   glibcxx_cv_func__modff_use=no
29339 fi
29340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29341       ac_ext=c
29342 ac_cpp='$CPP $CPPFLAGS'
29343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29346
29347
29348 fi
29349
29350   fi
29351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29352 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29353
29354     if test x$glibcxx_cv_func__modff_use = x"yes"; then
29355       for ac_func in _modff
29356 do :
29357   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29358 if test "x$ac_cv_func__modff" = x""yes; then :
29359   cat >>confdefs.h <<_ACEOF
29360 #define HAVE__MODFF 1
29361 _ACEOF
29362
29363 fi
29364 done
29365
29366     fi
29367   fi
29368
29369
29370
29371
29372
29373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29374 $as_echo_n "checking for modf declaration... " >&6; }
29375   if test x${glibcxx_cv_func_modf_use+set} != xset; then
29376     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29377   $as_echo_n "(cached) " >&6
29378 else
29379
29380
29381       ac_ext=cpp
29382 ac_cpp='$CXXCPP $CPPFLAGS'
29383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29386
29387       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29388 /* end confdefs.h.  */
29389 #include <math.h>
29390 int
29391 main ()
29392 {
29393  modf(0, 0);
29394   ;
29395   return 0;
29396 }
29397 _ACEOF
29398 if ac_fn_cxx_try_compile "$LINENO"; then :
29399   glibcxx_cv_func_modf_use=yes
29400 else
29401   glibcxx_cv_func_modf_use=no
29402 fi
29403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29404       ac_ext=c
29405 ac_cpp='$CPP $CPPFLAGS'
29406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29409
29410
29411 fi
29412
29413   fi
29414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29415 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29416
29417   if test x$glibcxx_cv_func_modf_use = x"yes"; then
29418     for ac_func in modf
29419 do :
29420   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29421 if test "x$ac_cv_func_modf" = x""yes; then :
29422   cat >>confdefs.h <<_ACEOF
29423 #define HAVE_MODF 1
29424 _ACEOF
29425
29426 fi
29427 done
29428
29429   else
29430
29431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29432 $as_echo_n "checking for _modf declaration... " >&6; }
29433   if test x${glibcxx_cv_func__modf_use+set} != xset; then
29434     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29435   $as_echo_n "(cached) " >&6
29436 else
29437
29438
29439       ac_ext=cpp
29440 ac_cpp='$CXXCPP $CPPFLAGS'
29441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29444
29445       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29446 /* end confdefs.h.  */
29447 #include <math.h>
29448 int
29449 main ()
29450 {
29451  _modf(0, 0);
29452   ;
29453   return 0;
29454 }
29455 _ACEOF
29456 if ac_fn_cxx_try_compile "$LINENO"; then :
29457   glibcxx_cv_func__modf_use=yes
29458 else
29459   glibcxx_cv_func__modf_use=no
29460 fi
29461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29462       ac_ext=c
29463 ac_cpp='$CPP $CPPFLAGS'
29464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29467
29468
29469 fi
29470
29471   fi
29472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29473 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29474
29475     if test x$glibcxx_cv_func__modf_use = x"yes"; then
29476       for ac_func in _modf
29477 do :
29478   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29479 if test "x$ac_cv_func__modf" = x""yes; then :
29480   cat >>confdefs.h <<_ACEOF
29481 #define HAVE__MODF 1
29482 _ACEOF
29483
29484 fi
29485 done
29486
29487     fi
29488   fi
29489
29490
29491
29492
29493
29494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29495 $as_echo_n "checking for powf declaration... " >&6; }
29496   if test x${glibcxx_cv_func_powf_use+set} != xset; then
29497     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29498   $as_echo_n "(cached) " >&6
29499 else
29500
29501
29502       ac_ext=cpp
29503 ac_cpp='$CXXCPP $CPPFLAGS'
29504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29507
29508       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29509 /* end confdefs.h.  */
29510 #include <math.h>
29511 int
29512 main ()
29513 {
29514  powf(0, 0);
29515   ;
29516   return 0;
29517 }
29518 _ACEOF
29519 if ac_fn_cxx_try_compile "$LINENO"; then :
29520   glibcxx_cv_func_powf_use=yes
29521 else
29522   glibcxx_cv_func_powf_use=no
29523 fi
29524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29525       ac_ext=c
29526 ac_cpp='$CPP $CPPFLAGS'
29527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29530
29531
29532 fi
29533
29534   fi
29535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29536 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29537
29538   if test x$glibcxx_cv_func_powf_use = x"yes"; then
29539     for ac_func in powf
29540 do :
29541   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29542 if test "x$ac_cv_func_powf" = x""yes; then :
29543   cat >>confdefs.h <<_ACEOF
29544 #define HAVE_POWF 1
29545 _ACEOF
29546
29547 fi
29548 done
29549
29550   else
29551
29552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29553 $as_echo_n "checking for _powf declaration... " >&6; }
29554   if test x${glibcxx_cv_func__powf_use+set} != xset; then
29555     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29556   $as_echo_n "(cached) " >&6
29557 else
29558
29559
29560       ac_ext=cpp
29561 ac_cpp='$CXXCPP $CPPFLAGS'
29562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29565
29566       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29567 /* end confdefs.h.  */
29568 #include <math.h>
29569 int
29570 main ()
29571 {
29572  _powf(0, 0);
29573   ;
29574   return 0;
29575 }
29576 _ACEOF
29577 if ac_fn_cxx_try_compile "$LINENO"; then :
29578   glibcxx_cv_func__powf_use=yes
29579 else
29580   glibcxx_cv_func__powf_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__powf_use" >&5
29594 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29595
29596     if test x$glibcxx_cv_func__powf_use = x"yes"; then
29597       for ac_func in _powf
29598 do :
29599   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29600 if test "x$ac_cv_func__powf" = x""yes; then :
29601   cat >>confdefs.h <<_ACEOF
29602 #define HAVE__POWF 1
29603 _ACEOF
29604
29605 fi
29606 done
29607
29608     fi
29609   fi
29610
29611
29612
29613
29614
29615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29616 $as_echo_n "checking for sqrtf declaration... " >&6; }
29617   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29618     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29619   $as_echo_n "(cached) " >&6
29620 else
29621
29622
29623       ac_ext=cpp
29624 ac_cpp='$CXXCPP $CPPFLAGS'
29625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29628
29629       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29630 /* end confdefs.h.  */
29631 #include <math.h>
29632                       #ifdef HAVE_IEEEFP_H
29633                       #include <ieeefp.h>
29634                       #endif
29635
29636 int
29637 main ()
29638 {
29639  sqrtf(0);
29640   ;
29641   return 0;
29642 }
29643 _ACEOF
29644 if ac_fn_cxx_try_compile "$LINENO"; then :
29645   glibcxx_cv_func_sqrtf_use=yes
29646 else
29647   glibcxx_cv_func_sqrtf_use=no
29648 fi
29649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29650       ac_ext=c
29651 ac_cpp='$CPP $CPPFLAGS'
29652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29655
29656
29657 fi
29658
29659   fi
29660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29661 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29662
29663   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29664     for ac_func in sqrtf
29665 do :
29666   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29667 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29668   cat >>confdefs.h <<_ACEOF
29669 #define HAVE_SQRTF 1
29670 _ACEOF
29671
29672 fi
29673 done
29674
29675   else
29676
29677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29678 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29679   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29680     if test "${glibcxx_cv_func__sqrtf_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                       #ifdef HAVE_IEEEFP_H
29695                       #include <ieeefp.h>
29696                       #endif
29697
29698 int
29699 main ()
29700 {
29701  _sqrtf(0);
29702   ;
29703   return 0;
29704 }
29705 _ACEOF
29706 if ac_fn_cxx_try_compile "$LINENO"; then :
29707   glibcxx_cv_func__sqrtf_use=yes
29708 else
29709   glibcxx_cv_func__sqrtf_use=no
29710 fi
29711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29712       ac_ext=c
29713 ac_cpp='$CPP $CPPFLAGS'
29714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29717
29718
29719 fi
29720
29721   fi
29722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29723 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29724
29725     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29726       for ac_func in _sqrtf
29727 do :
29728   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29729 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29730   cat >>confdefs.h <<_ACEOF
29731 #define HAVE__SQRTF 1
29732 _ACEOF
29733
29734 fi
29735 done
29736
29737     fi
29738   fi
29739
29740
29741
29742
29743
29744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29745 $as_echo_n "checking for sincosf declaration... " >&6; }
29746   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29747     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29748   $as_echo_n "(cached) " >&6
29749 else
29750
29751
29752       ac_ext=cpp
29753 ac_cpp='$CXXCPP $CPPFLAGS'
29754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29757
29758       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29759 /* end confdefs.h.  */
29760 #include <math.h>
29761 int
29762 main ()
29763 {
29764  sincosf(0, 0, 0);
29765   ;
29766   return 0;
29767 }
29768 _ACEOF
29769 if ac_fn_cxx_try_compile "$LINENO"; then :
29770   glibcxx_cv_func_sincosf_use=yes
29771 else
29772   glibcxx_cv_func_sincosf_use=no
29773 fi
29774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29775       ac_ext=c
29776 ac_cpp='$CPP $CPPFLAGS'
29777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29780
29781
29782 fi
29783
29784   fi
29785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29786 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29787
29788   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29789     for ac_func in sincosf
29790 do :
29791   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29792 if test "x$ac_cv_func_sincosf" = x""yes; then :
29793   cat >>confdefs.h <<_ACEOF
29794 #define HAVE_SINCOSF 1
29795 _ACEOF
29796
29797 fi
29798 done
29799
29800   else
29801
29802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29803 $as_echo_n "checking for _sincosf declaration... " >&6; }
29804   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29805     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29806   $as_echo_n "(cached) " >&6
29807 else
29808
29809
29810       ac_ext=cpp
29811 ac_cpp='$CXXCPP $CPPFLAGS'
29812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29815
29816       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29817 /* end confdefs.h.  */
29818 #include <math.h>
29819 int
29820 main ()
29821 {
29822  _sincosf(0, 0, 0);
29823   ;
29824   return 0;
29825 }
29826 _ACEOF
29827 if ac_fn_cxx_try_compile "$LINENO"; then :
29828   glibcxx_cv_func__sincosf_use=yes
29829 else
29830   glibcxx_cv_func__sincosf_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__sincosf_use" >&5
29844 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29845
29846     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29847       for ac_func in _sincosf
29848 do :
29849   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29850 if test "x$ac_cv_func__sincosf" = x""yes; then :
29851   cat >>confdefs.h <<_ACEOF
29852 #define HAVE__SINCOSF 1
29853 _ACEOF
29854
29855 fi
29856 done
29857
29858     fi
29859   fi
29860
29861
29862
29863
29864
29865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29866 $as_echo_n "checking for finitef declaration... " >&6; }
29867   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29868     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29869   $as_echo_n "(cached) " >&6
29870 else
29871
29872
29873       ac_ext=cpp
29874 ac_cpp='$CXXCPP $CPPFLAGS'
29875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29878
29879       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29880 /* end confdefs.h.  */
29881 #include <math.h>
29882                       #ifdef HAVE_IEEEFP_H
29883                       #include <ieeefp.h>
29884                       #endif
29885
29886 int
29887 main ()
29888 {
29889  finitef(0);
29890   ;
29891   return 0;
29892 }
29893 _ACEOF
29894 if ac_fn_cxx_try_compile "$LINENO"; then :
29895   glibcxx_cv_func_finitef_use=yes
29896 else
29897   glibcxx_cv_func_finitef_use=no
29898 fi
29899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29900       ac_ext=c
29901 ac_cpp='$CPP $CPPFLAGS'
29902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29905
29906
29907 fi
29908
29909   fi
29910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29911 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29912
29913   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29914     for ac_func in finitef
29915 do :
29916   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29917 if test "x$ac_cv_func_finitef" = x""yes; then :
29918   cat >>confdefs.h <<_ACEOF
29919 #define HAVE_FINITEF 1
29920 _ACEOF
29921
29922 fi
29923 done
29924
29925   else
29926
29927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29928 $as_echo_n "checking for _finitef declaration... " >&6; }
29929   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29930     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29931   $as_echo_n "(cached) " >&6
29932 else
29933
29934
29935       ac_ext=cpp
29936 ac_cpp='$CXXCPP $CPPFLAGS'
29937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29940
29941       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29942 /* end confdefs.h.  */
29943 #include <math.h>
29944                       #ifdef HAVE_IEEEFP_H
29945                       #include <ieeefp.h>
29946                       #endif
29947
29948 int
29949 main ()
29950 {
29951  _finitef(0);
29952   ;
29953   return 0;
29954 }
29955 _ACEOF
29956 if ac_fn_cxx_try_compile "$LINENO"; then :
29957   glibcxx_cv_func__finitef_use=yes
29958 else
29959   glibcxx_cv_func__finitef_use=no
29960 fi
29961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29962       ac_ext=c
29963 ac_cpp='$CPP $CPPFLAGS'
29964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29967
29968
29969 fi
29970
29971   fi
29972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29973 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29974
29975     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29976       for ac_func in _finitef
29977 do :
29978   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29979 if test "x$ac_cv_func__finitef" = x""yes; then :
29980   cat >>confdefs.h <<_ACEOF
29981 #define HAVE__FINITEF 1
29982 _ACEOF
29983
29984 fi
29985 done
29986
29987     fi
29988   fi
29989
29990
29991
29992
29993
29994     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29995 $as_echo_n "checking for long double trig functions... " >&6; }
29996   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29997   $as_echo_n "(cached) " >&6
29998 else
29999
30000
30001     ac_ext=cpp
30002 ac_cpp='$CXXCPP $CPPFLAGS'
30003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30006
30007     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30008 /* end confdefs.h.  */
30009 #include <math.h>
30010 int
30011 main ()
30012 {
30013 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30014   ;
30015   return 0;
30016 }
30017 _ACEOF
30018 if ac_fn_cxx_try_compile "$LINENO"; then :
30019   glibcxx_cv_func_long_double_trig_use=yes
30020 else
30021   glibcxx_cv_func_long_double_trig_use=no
30022 fi
30023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30024     ac_ext=c
30025 ac_cpp='$CPP $CPPFLAGS'
30026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30029
30030 fi
30031
30032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30033 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30034   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30035     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30036 do :
30037   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30038 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30039 eval as_val=\$$as_ac_var
30040    if test "x$as_val" = x""yes; then :
30041   cat >>confdefs.h <<_ACEOF
30042 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30043 _ACEOF
30044
30045 fi
30046 done
30047
30048   else
30049     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30050 $as_echo_n "checking for _long double trig functions... " >&6; }
30051     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30052   $as_echo_n "(cached) " >&6
30053 else
30054
30055
30056       ac_ext=cpp
30057 ac_cpp='$CXXCPP $CPPFLAGS'
30058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30061
30062       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30063 /* end confdefs.h.  */
30064 #include <math.h>
30065 int
30066 main ()
30067 {
30068 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30069   ;
30070   return 0;
30071 }
30072 _ACEOF
30073 if ac_fn_cxx_try_compile "$LINENO"; then :
30074   glibcxx_cv_func__long_double_trig_use=yes
30075 else
30076   glibcxx_cv_func__long_double_trig_use=no
30077 fi
30078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30079       ac_ext=c
30080 ac_cpp='$CPP $CPPFLAGS'
30081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30084
30085 fi
30086
30087     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30088 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30089     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30090       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30091 do :
30092   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30093 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30094 eval as_val=\$$as_ac_var
30095    if test "x$as_val" = x""yes; then :
30096   cat >>confdefs.h <<_ACEOF
30097 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30098 _ACEOF
30099
30100 fi
30101 done
30102
30103     fi
30104   fi
30105
30106
30107
30108
30109
30110     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30111 $as_echo_n "checking for long double round functions... " >&6; }
30112   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30113   $as_echo_n "(cached) " >&6
30114 else
30115
30116
30117     ac_ext=cpp
30118 ac_cpp='$CXXCPP $CPPFLAGS'
30119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30122
30123     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30124 /* end confdefs.h.  */
30125 #include <math.h>
30126 int
30127 main ()
30128 {
30129 ceill (0); floorl (0);
30130   ;
30131   return 0;
30132 }
30133 _ACEOF
30134 if ac_fn_cxx_try_compile "$LINENO"; then :
30135   glibcxx_cv_func_long_double_round_use=yes
30136 else
30137   glibcxx_cv_func_long_double_round_use=no
30138 fi
30139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30140     ac_ext=c
30141 ac_cpp='$CPP $CPPFLAGS'
30142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30145
30146 fi
30147
30148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30149 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30150   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30151     for ac_func in ceill floorl
30152 do :
30153   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30154 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30155 eval as_val=\$$as_ac_var
30156    if test "x$as_val" = x""yes; then :
30157   cat >>confdefs.h <<_ACEOF
30158 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30159 _ACEOF
30160
30161 fi
30162 done
30163
30164   else
30165     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30166 $as_echo_n "checking for _long double round functions... " >&6; }
30167     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30168   $as_echo_n "(cached) " >&6
30169 else
30170
30171
30172       ac_ext=cpp
30173 ac_cpp='$CXXCPP $CPPFLAGS'
30174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30177
30178       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30179 /* end confdefs.h.  */
30180 #include <math.h>
30181 int
30182 main ()
30183 {
30184 _ceill (0); _floorl (0);
30185   ;
30186   return 0;
30187 }
30188 _ACEOF
30189 if ac_fn_cxx_try_compile "$LINENO"; then :
30190   glibcxx_cv_func__long_double_round_use=yes
30191 else
30192   glibcxx_cv_func__long_double_round_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 fi
30202
30203     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30204 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30205     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30206       for ac_func in _ceill _floorl
30207 do :
30208   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30209 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30210 eval as_val=\$$as_ac_var
30211    if test "x$as_val" = x""yes; then :
30212   cat >>confdefs.h <<_ACEOF
30213 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30214 _ACEOF
30215
30216 fi
30217 done
30218
30219     fi
30220   fi
30221
30222
30223
30224
30225
30226
30227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30228 $as_echo_n "checking for isnanl declaration... " >&6; }
30229   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30230     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30231   $as_echo_n "(cached) " >&6
30232 else
30233
30234
30235       ac_ext=cpp
30236 ac_cpp='$CXXCPP $CPPFLAGS'
30237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30240
30241       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30242 /* end confdefs.h.  */
30243 #include <math.h>
30244                       #ifdef HAVE_IEEEFP_H
30245                       #include <ieeefp.h>
30246                       #endif
30247
30248 int
30249 main ()
30250 {
30251  isnanl(0);
30252   ;
30253   return 0;
30254 }
30255 _ACEOF
30256 if ac_fn_cxx_try_compile "$LINENO"; then :
30257   glibcxx_cv_func_isnanl_use=yes
30258 else
30259   glibcxx_cv_func_isnanl_use=no
30260 fi
30261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30262       ac_ext=c
30263 ac_cpp='$CPP $CPPFLAGS'
30264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30267
30268
30269 fi
30270
30271   fi
30272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30273 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30274
30275   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30276     for ac_func in isnanl
30277 do :
30278   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30279 if test "x$ac_cv_func_isnanl" = x""yes; then :
30280   cat >>confdefs.h <<_ACEOF
30281 #define HAVE_ISNANL 1
30282 _ACEOF
30283
30284 fi
30285 done
30286
30287   else
30288
30289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30290 $as_echo_n "checking for _isnanl declaration... " >&6; }
30291   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30292     if test "${glibcxx_cv_func__isnanl_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  _isnanl(0);
30314   ;
30315   return 0;
30316 }
30317 _ACEOF
30318 if ac_fn_cxx_try_compile "$LINENO"; then :
30319   glibcxx_cv_func__isnanl_use=yes
30320 else
30321   glibcxx_cv_func__isnanl_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__isnanl_use" >&5
30335 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30336
30337     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30338       for ac_func in _isnanl
30339 do :
30340   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30341 if test "x$ac_cv_func__isnanl" = x""yes; then :
30342   cat >>confdefs.h <<_ACEOF
30343 #define HAVE__ISNANL 1
30344 _ACEOF
30345
30346 fi
30347 done
30348
30349     fi
30350   fi
30351
30352
30353
30354
30355
30356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30357 $as_echo_n "checking for isinfl declaration... " >&6; }
30358   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30359     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30360   $as_echo_n "(cached) " >&6
30361 else
30362
30363
30364       ac_ext=cpp
30365 ac_cpp='$CXXCPP $CPPFLAGS'
30366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30369
30370       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30371 /* end confdefs.h.  */
30372 #include <math.h>
30373                       #ifdef HAVE_IEEEFP_H
30374                       #include <ieeefp.h>
30375                       #endif
30376
30377 int
30378 main ()
30379 {
30380  isinfl(0);
30381   ;
30382   return 0;
30383 }
30384 _ACEOF
30385 if ac_fn_cxx_try_compile "$LINENO"; then :
30386   glibcxx_cv_func_isinfl_use=yes
30387 else
30388   glibcxx_cv_func_isinfl_use=no
30389 fi
30390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30391       ac_ext=c
30392 ac_cpp='$CPP $CPPFLAGS'
30393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30396
30397
30398 fi
30399
30400   fi
30401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30402 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30403
30404   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30405     for ac_func in isinfl
30406 do :
30407   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30408 if test "x$ac_cv_func_isinfl" = x""yes; then :
30409   cat >>confdefs.h <<_ACEOF
30410 #define HAVE_ISINFL 1
30411 _ACEOF
30412
30413 fi
30414 done
30415
30416   else
30417
30418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30419 $as_echo_n "checking for _isinfl declaration... " >&6; }
30420   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30421     if test "${glibcxx_cv_func__isinfl_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                       #ifdef HAVE_IEEEFP_H
30436                       #include <ieeefp.h>
30437                       #endif
30438
30439 int
30440 main ()
30441 {
30442  _isinfl(0);
30443   ;
30444   return 0;
30445 }
30446 _ACEOF
30447 if ac_fn_cxx_try_compile "$LINENO"; then :
30448   glibcxx_cv_func__isinfl_use=yes
30449 else
30450   glibcxx_cv_func__isinfl_use=no
30451 fi
30452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30453       ac_ext=c
30454 ac_cpp='$CPP $CPPFLAGS'
30455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30458
30459
30460 fi
30461
30462   fi
30463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30464 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30465
30466     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30467       for ac_func in _isinfl
30468 do :
30469   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30470 if test "x$ac_cv_func__isinfl" = x""yes; then :
30471   cat >>confdefs.h <<_ACEOF
30472 #define HAVE__ISINFL 1
30473 _ACEOF
30474
30475 fi
30476 done
30477
30478     fi
30479   fi
30480
30481
30482
30483
30484
30485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30486 $as_echo_n "checking for atan2l declaration... " >&6; }
30487   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30488     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30489   $as_echo_n "(cached) " >&6
30490 else
30491
30492
30493       ac_ext=cpp
30494 ac_cpp='$CXXCPP $CPPFLAGS'
30495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30498
30499       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30500 /* end confdefs.h.  */
30501 #include <math.h>
30502 int
30503 main ()
30504 {
30505  atan2l(0, 0);
30506   ;
30507   return 0;
30508 }
30509 _ACEOF
30510 if ac_fn_cxx_try_compile "$LINENO"; then :
30511   glibcxx_cv_func_atan2l_use=yes
30512 else
30513   glibcxx_cv_func_atan2l_use=no
30514 fi
30515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30516       ac_ext=c
30517 ac_cpp='$CPP $CPPFLAGS'
30518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30521
30522
30523 fi
30524
30525   fi
30526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30527 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30528
30529   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30530     for ac_func in atan2l
30531 do :
30532   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30533 if test "x$ac_cv_func_atan2l" = x""yes; then :
30534   cat >>confdefs.h <<_ACEOF
30535 #define HAVE_ATAN2L 1
30536 _ACEOF
30537
30538 fi
30539 done
30540
30541   else
30542
30543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30544 $as_echo_n "checking for _atan2l declaration... " >&6; }
30545   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30546     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30547   $as_echo_n "(cached) " >&6
30548 else
30549
30550
30551       ac_ext=cpp
30552 ac_cpp='$CXXCPP $CPPFLAGS'
30553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30556
30557       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30558 /* end confdefs.h.  */
30559 #include <math.h>
30560 int
30561 main ()
30562 {
30563  _atan2l(0, 0);
30564   ;
30565   return 0;
30566 }
30567 _ACEOF
30568 if ac_fn_cxx_try_compile "$LINENO"; then :
30569   glibcxx_cv_func__atan2l_use=yes
30570 else
30571   glibcxx_cv_func__atan2l_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__atan2l_use" >&5
30585 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30586
30587     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30588       for ac_func in _atan2l
30589 do :
30590   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30591 if test "x$ac_cv_func__atan2l" = x""yes; then :
30592   cat >>confdefs.h <<_ACEOF
30593 #define HAVE__ATAN2L 1
30594 _ACEOF
30595
30596 fi
30597 done
30598
30599     fi
30600   fi
30601
30602
30603
30604
30605
30606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30607 $as_echo_n "checking for expl declaration... " >&6; }
30608   if test x${glibcxx_cv_func_expl_use+set} != xset; then
30609     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30610   $as_echo_n "(cached) " >&6
30611 else
30612
30613
30614       ac_ext=cpp
30615 ac_cpp='$CXXCPP $CPPFLAGS'
30616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30619
30620       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30621 /* end confdefs.h.  */
30622 #include <math.h>
30623                       #ifdef HAVE_IEEEFP_H
30624                       #include <ieeefp.h>
30625                       #endif
30626
30627 int
30628 main ()
30629 {
30630  expl(0);
30631   ;
30632   return 0;
30633 }
30634 _ACEOF
30635 if ac_fn_cxx_try_compile "$LINENO"; then :
30636   glibcxx_cv_func_expl_use=yes
30637 else
30638   glibcxx_cv_func_expl_use=no
30639 fi
30640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30641       ac_ext=c
30642 ac_cpp='$CPP $CPPFLAGS'
30643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30646
30647
30648 fi
30649
30650   fi
30651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30652 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30653
30654   if test x$glibcxx_cv_func_expl_use = x"yes"; then
30655     for ac_func in expl
30656 do :
30657   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30658 if test "x$ac_cv_func_expl" = x""yes; then :
30659   cat >>confdefs.h <<_ACEOF
30660 #define HAVE_EXPL 1
30661 _ACEOF
30662
30663 fi
30664 done
30665
30666   else
30667
30668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30669 $as_echo_n "checking for _expl declaration... " >&6; }
30670   if test x${glibcxx_cv_func__expl_use+set} != xset; then
30671     if test "${glibcxx_cv_func__expl_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  _expl(0);
30693   ;
30694   return 0;
30695 }
30696 _ACEOF
30697 if ac_fn_cxx_try_compile "$LINENO"; then :
30698   glibcxx_cv_func__expl_use=yes
30699 else
30700   glibcxx_cv_func__expl_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__expl_use" >&5
30714 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30715
30716     if test x$glibcxx_cv_func__expl_use = x"yes"; then
30717       for ac_func in _expl
30718 do :
30719   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30720 if test "x$ac_cv_func__expl" = x""yes; then :
30721   cat >>confdefs.h <<_ACEOF
30722 #define HAVE__EXPL 1
30723 _ACEOF
30724
30725 fi
30726 done
30727
30728     fi
30729   fi
30730
30731
30732
30733
30734
30735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30736 $as_echo_n "checking for fabsl declaration... " >&6; }
30737   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30738     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30739   $as_echo_n "(cached) " >&6
30740 else
30741
30742
30743       ac_ext=cpp
30744 ac_cpp='$CXXCPP $CPPFLAGS'
30745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30748
30749       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30750 /* end confdefs.h.  */
30751 #include <math.h>
30752                       #ifdef HAVE_IEEEFP_H
30753                       #include <ieeefp.h>
30754                       #endif
30755
30756 int
30757 main ()
30758 {
30759  fabsl(0);
30760   ;
30761   return 0;
30762 }
30763 _ACEOF
30764 if ac_fn_cxx_try_compile "$LINENO"; then :
30765   glibcxx_cv_func_fabsl_use=yes
30766 else
30767   glibcxx_cv_func_fabsl_use=no
30768 fi
30769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30770       ac_ext=c
30771 ac_cpp='$CPP $CPPFLAGS'
30772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30775
30776
30777 fi
30778
30779   fi
30780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30781 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30782
30783   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30784     for ac_func in fabsl
30785 do :
30786   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30787 if test "x$ac_cv_func_fabsl" = x""yes; then :
30788   cat >>confdefs.h <<_ACEOF
30789 #define HAVE_FABSL 1
30790 _ACEOF
30791
30792 fi
30793 done
30794
30795   else
30796
30797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30798 $as_echo_n "checking for _fabsl declaration... " >&6; }
30799   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30800     if test "${glibcxx_cv_func__fabsl_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                       #ifdef HAVE_IEEEFP_H
30815                       #include <ieeefp.h>
30816                       #endif
30817
30818 int
30819 main ()
30820 {
30821  _fabsl(0);
30822   ;
30823   return 0;
30824 }
30825 _ACEOF
30826 if ac_fn_cxx_try_compile "$LINENO"; then :
30827   glibcxx_cv_func__fabsl_use=yes
30828 else
30829   glibcxx_cv_func__fabsl_use=no
30830 fi
30831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30832       ac_ext=c
30833 ac_cpp='$CPP $CPPFLAGS'
30834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30837
30838
30839 fi
30840
30841   fi
30842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30843 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30844
30845     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30846       for ac_func in _fabsl
30847 do :
30848   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30849 if test "x$ac_cv_func__fabsl" = x""yes; then :
30850   cat >>confdefs.h <<_ACEOF
30851 #define HAVE__FABSL 1
30852 _ACEOF
30853
30854 fi
30855 done
30856
30857     fi
30858   fi
30859
30860
30861
30862
30863
30864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30865 $as_echo_n "checking for fmodl declaration... " >&6; }
30866   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30867     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30868   $as_echo_n "(cached) " >&6
30869 else
30870
30871
30872       ac_ext=cpp
30873 ac_cpp='$CXXCPP $CPPFLAGS'
30874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30877
30878       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30879 /* end confdefs.h.  */
30880 #include <math.h>
30881 int
30882 main ()
30883 {
30884  fmodl(0, 0);
30885   ;
30886   return 0;
30887 }
30888 _ACEOF
30889 if ac_fn_cxx_try_compile "$LINENO"; then :
30890   glibcxx_cv_func_fmodl_use=yes
30891 else
30892   glibcxx_cv_func_fmodl_use=no
30893 fi
30894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30895       ac_ext=c
30896 ac_cpp='$CPP $CPPFLAGS'
30897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30900
30901
30902 fi
30903
30904   fi
30905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30906 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30907
30908   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30909     for ac_func in fmodl
30910 do :
30911   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30912 if test "x$ac_cv_func_fmodl" = x""yes; then :
30913   cat >>confdefs.h <<_ACEOF
30914 #define HAVE_FMODL 1
30915 _ACEOF
30916
30917 fi
30918 done
30919
30920   else
30921
30922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30923 $as_echo_n "checking for _fmodl declaration... " >&6; }
30924   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30925     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30926   $as_echo_n "(cached) " >&6
30927 else
30928
30929
30930       ac_ext=cpp
30931 ac_cpp='$CXXCPP $CPPFLAGS'
30932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30935
30936       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30937 /* end confdefs.h.  */
30938 #include <math.h>
30939 int
30940 main ()
30941 {
30942  _fmodl(0, 0);
30943   ;
30944   return 0;
30945 }
30946 _ACEOF
30947 if ac_fn_cxx_try_compile "$LINENO"; then :
30948   glibcxx_cv_func__fmodl_use=yes
30949 else
30950   glibcxx_cv_func__fmodl_use=no
30951 fi
30952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30953       ac_ext=c
30954 ac_cpp='$CPP $CPPFLAGS'
30955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30958
30959
30960 fi
30961
30962   fi
30963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30964 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30965
30966     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30967       for ac_func in _fmodl
30968 do :
30969   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30970 if test "x$ac_cv_func__fmodl" = x""yes; then :
30971   cat >>confdefs.h <<_ACEOF
30972 #define HAVE__FMODL 1
30973 _ACEOF
30974
30975 fi
30976 done
30977
30978     fi
30979   fi
30980
30981
30982
30983
30984
30985   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30986 $as_echo_n "checking for frexpl declaration... " >&6; }
30987   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30988     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30989   $as_echo_n "(cached) " >&6
30990 else
30991
30992
30993       ac_ext=cpp
30994 ac_cpp='$CXXCPP $CPPFLAGS'
30995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30998
30999       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31000 /* end confdefs.h.  */
31001 #include <math.h>
31002 int
31003 main ()
31004 {
31005  frexpl(0, 0);
31006   ;
31007   return 0;
31008 }
31009 _ACEOF
31010 if ac_fn_cxx_try_compile "$LINENO"; then :
31011   glibcxx_cv_func_frexpl_use=yes
31012 else
31013   glibcxx_cv_func_frexpl_use=no
31014 fi
31015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31016       ac_ext=c
31017 ac_cpp='$CPP $CPPFLAGS'
31018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31021
31022
31023 fi
31024
31025   fi
31026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31027 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31028
31029   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31030     for ac_func in frexpl
31031 do :
31032   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31033 if test "x$ac_cv_func_frexpl" = x""yes; then :
31034   cat >>confdefs.h <<_ACEOF
31035 #define HAVE_FREXPL 1
31036 _ACEOF
31037
31038 fi
31039 done
31040
31041   else
31042
31043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31044 $as_echo_n "checking for _frexpl declaration... " >&6; }
31045   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31046     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31047   $as_echo_n "(cached) " >&6
31048 else
31049
31050
31051       ac_ext=cpp
31052 ac_cpp='$CXXCPP $CPPFLAGS'
31053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31056
31057       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31058 /* end confdefs.h.  */
31059 #include <math.h>
31060 int
31061 main ()
31062 {
31063  _frexpl(0, 0);
31064   ;
31065   return 0;
31066 }
31067 _ACEOF
31068 if ac_fn_cxx_try_compile "$LINENO"; then :
31069   glibcxx_cv_func__frexpl_use=yes
31070 else
31071   glibcxx_cv_func__frexpl_use=no
31072 fi
31073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31074       ac_ext=c
31075 ac_cpp='$CPP $CPPFLAGS'
31076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31079
31080
31081 fi
31082
31083   fi
31084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31085 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31086
31087     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31088       for ac_func in _frexpl
31089 do :
31090   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31091 if test "x$ac_cv_func__frexpl" = x""yes; then :
31092   cat >>confdefs.h <<_ACEOF
31093 #define HAVE__FREXPL 1
31094 _ACEOF
31095
31096 fi
31097 done
31098
31099     fi
31100   fi
31101
31102
31103
31104
31105
31106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31107 $as_echo_n "checking for hypotl declaration... " >&6; }
31108   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31109     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31110   $as_echo_n "(cached) " >&6
31111 else
31112
31113
31114       ac_ext=cpp
31115 ac_cpp='$CXXCPP $CPPFLAGS'
31116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31119
31120       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31121 /* end confdefs.h.  */
31122 #include <math.h>
31123 int
31124 main ()
31125 {
31126  hypotl(0, 0);
31127   ;
31128   return 0;
31129 }
31130 _ACEOF
31131 if ac_fn_cxx_try_compile "$LINENO"; then :
31132   glibcxx_cv_func_hypotl_use=yes
31133 else
31134   glibcxx_cv_func_hypotl_use=no
31135 fi
31136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31137       ac_ext=c
31138 ac_cpp='$CPP $CPPFLAGS'
31139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31142
31143
31144 fi
31145
31146   fi
31147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31148 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31149
31150   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31151     for ac_func in hypotl
31152 do :
31153   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31154 if test "x$ac_cv_func_hypotl" = x""yes; then :
31155   cat >>confdefs.h <<_ACEOF
31156 #define HAVE_HYPOTL 1
31157 _ACEOF
31158
31159 fi
31160 done
31161
31162   else
31163
31164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31165 $as_echo_n "checking for _hypotl declaration... " >&6; }
31166   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31167     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31168   $as_echo_n "(cached) " >&6
31169 else
31170
31171
31172       ac_ext=cpp
31173 ac_cpp='$CXXCPP $CPPFLAGS'
31174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31177
31178       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31179 /* end confdefs.h.  */
31180 #include <math.h>
31181 int
31182 main ()
31183 {
31184  _hypotl(0, 0);
31185   ;
31186   return 0;
31187 }
31188 _ACEOF
31189 if ac_fn_cxx_try_compile "$LINENO"; then :
31190   glibcxx_cv_func__hypotl_use=yes
31191 else
31192   glibcxx_cv_func__hypotl_use=no
31193 fi
31194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31195       ac_ext=c
31196 ac_cpp='$CPP $CPPFLAGS'
31197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31200
31201
31202 fi
31203
31204   fi
31205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31206 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31207
31208     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31209       for ac_func in _hypotl
31210 do :
31211   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31212 if test "x$ac_cv_func__hypotl" = x""yes; then :
31213   cat >>confdefs.h <<_ACEOF
31214 #define HAVE__HYPOTL 1
31215 _ACEOF
31216
31217 fi
31218 done
31219
31220     fi
31221   fi
31222
31223
31224
31225
31226
31227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31228 $as_echo_n "checking for ldexpl declaration... " >&6; }
31229   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31230     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31231   $as_echo_n "(cached) " >&6
31232 else
31233
31234
31235       ac_ext=cpp
31236 ac_cpp='$CXXCPP $CPPFLAGS'
31237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31240
31241       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31242 /* end confdefs.h.  */
31243 #include <math.h>
31244 int
31245 main ()
31246 {
31247  ldexpl(0, 0);
31248   ;
31249   return 0;
31250 }
31251 _ACEOF
31252 if ac_fn_cxx_try_compile "$LINENO"; then :
31253   glibcxx_cv_func_ldexpl_use=yes
31254 else
31255   glibcxx_cv_func_ldexpl_use=no
31256 fi
31257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31258       ac_ext=c
31259 ac_cpp='$CPP $CPPFLAGS'
31260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31263
31264
31265 fi
31266
31267   fi
31268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31269 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31270
31271   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31272     for ac_func in ldexpl
31273 do :
31274   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31275 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31276   cat >>confdefs.h <<_ACEOF
31277 #define HAVE_LDEXPL 1
31278 _ACEOF
31279
31280 fi
31281 done
31282
31283   else
31284
31285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31286 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31287   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31288     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31289   $as_echo_n "(cached) " >&6
31290 else
31291
31292
31293       ac_ext=cpp
31294 ac_cpp='$CXXCPP $CPPFLAGS'
31295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31298
31299       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31300 /* end confdefs.h.  */
31301 #include <math.h>
31302 int
31303 main ()
31304 {
31305  _ldexpl(0, 0);
31306   ;
31307   return 0;
31308 }
31309 _ACEOF
31310 if ac_fn_cxx_try_compile "$LINENO"; then :
31311   glibcxx_cv_func__ldexpl_use=yes
31312 else
31313   glibcxx_cv_func__ldexpl_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__ldexpl_use" >&5
31327 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31328
31329     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31330       for ac_func in _ldexpl
31331 do :
31332   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31333 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31334   cat >>confdefs.h <<_ACEOF
31335 #define HAVE__LDEXPL 1
31336 _ACEOF
31337
31338 fi
31339 done
31340
31341     fi
31342   fi
31343
31344
31345
31346
31347
31348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31349 $as_echo_n "checking for logl declaration... " >&6; }
31350   if test x${glibcxx_cv_func_logl_use+set} != xset; then
31351     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31352   $as_echo_n "(cached) " >&6
31353 else
31354
31355
31356       ac_ext=cpp
31357 ac_cpp='$CXXCPP $CPPFLAGS'
31358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31361
31362       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31363 /* end confdefs.h.  */
31364 #include <math.h>
31365                       #ifdef HAVE_IEEEFP_H
31366                       #include <ieeefp.h>
31367                       #endif
31368
31369 int
31370 main ()
31371 {
31372  logl(0);
31373   ;
31374   return 0;
31375 }
31376 _ACEOF
31377 if ac_fn_cxx_try_compile "$LINENO"; then :
31378   glibcxx_cv_func_logl_use=yes
31379 else
31380   glibcxx_cv_func_logl_use=no
31381 fi
31382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31383       ac_ext=c
31384 ac_cpp='$CPP $CPPFLAGS'
31385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31388
31389
31390 fi
31391
31392   fi
31393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31394 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31395
31396   if test x$glibcxx_cv_func_logl_use = x"yes"; then
31397     for ac_func in logl
31398 do :
31399   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31400 if test "x$ac_cv_func_logl" = x""yes; then :
31401   cat >>confdefs.h <<_ACEOF
31402 #define HAVE_LOGL 1
31403 _ACEOF
31404
31405 fi
31406 done
31407
31408   else
31409
31410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31411 $as_echo_n "checking for _logl declaration... " >&6; }
31412   if test x${glibcxx_cv_func__logl_use+set} != xset; then
31413     if test "${glibcxx_cv_func__logl_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  _logl(0);
31435   ;
31436   return 0;
31437 }
31438 _ACEOF
31439 if ac_fn_cxx_try_compile "$LINENO"; then :
31440   glibcxx_cv_func__logl_use=yes
31441 else
31442   glibcxx_cv_func__logl_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__logl_use" >&5
31456 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31457
31458     if test x$glibcxx_cv_func__logl_use = x"yes"; then
31459       for ac_func in _logl
31460 do :
31461   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31462 if test "x$ac_cv_func__logl" = x""yes; then :
31463   cat >>confdefs.h <<_ACEOF
31464 #define HAVE__LOGL 1
31465 _ACEOF
31466
31467 fi
31468 done
31469
31470     fi
31471   fi
31472
31473
31474
31475
31476
31477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31478 $as_echo_n "checking for log10l declaration... " >&6; }
31479   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31480     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31481   $as_echo_n "(cached) " >&6
31482 else
31483
31484
31485       ac_ext=cpp
31486 ac_cpp='$CXXCPP $CPPFLAGS'
31487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31490
31491       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31492 /* end confdefs.h.  */
31493 #include <math.h>
31494                       #ifdef HAVE_IEEEFP_H
31495                       #include <ieeefp.h>
31496                       #endif
31497
31498 int
31499 main ()
31500 {
31501  log10l(0);
31502   ;
31503   return 0;
31504 }
31505 _ACEOF
31506 if ac_fn_cxx_try_compile "$LINENO"; then :
31507   glibcxx_cv_func_log10l_use=yes
31508 else
31509   glibcxx_cv_func_log10l_use=no
31510 fi
31511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31512       ac_ext=c
31513 ac_cpp='$CPP $CPPFLAGS'
31514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31517
31518
31519 fi
31520
31521   fi
31522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31523 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31524
31525   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31526     for ac_func in log10l
31527 do :
31528   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31529 if test "x$ac_cv_func_log10l" = x""yes; then :
31530   cat >>confdefs.h <<_ACEOF
31531 #define HAVE_LOG10L 1
31532 _ACEOF
31533
31534 fi
31535 done
31536
31537   else
31538
31539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31540 $as_echo_n "checking for _log10l declaration... " >&6; }
31541   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31542     if test "${glibcxx_cv_func__log10l_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                       #ifdef HAVE_IEEEFP_H
31557                       #include <ieeefp.h>
31558                       #endif
31559
31560 int
31561 main ()
31562 {
31563  _log10l(0);
31564   ;
31565   return 0;
31566 }
31567 _ACEOF
31568 if ac_fn_cxx_try_compile "$LINENO"; then :
31569   glibcxx_cv_func__log10l_use=yes
31570 else
31571   glibcxx_cv_func__log10l_use=no
31572 fi
31573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31574       ac_ext=c
31575 ac_cpp='$CPP $CPPFLAGS'
31576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31579
31580
31581 fi
31582
31583   fi
31584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31585 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31586
31587     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31588       for ac_func in _log10l
31589 do :
31590   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31591 if test "x$ac_cv_func__log10l" = x""yes; then :
31592   cat >>confdefs.h <<_ACEOF
31593 #define HAVE__LOG10L 1
31594 _ACEOF
31595
31596 fi
31597 done
31598
31599     fi
31600   fi
31601
31602
31603
31604
31605
31606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31607 $as_echo_n "checking for modfl declaration... " >&6; }
31608   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31609     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31610   $as_echo_n "(cached) " >&6
31611 else
31612
31613
31614       ac_ext=cpp
31615 ac_cpp='$CXXCPP $CPPFLAGS'
31616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31619
31620       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31621 /* end confdefs.h.  */
31622 #include <math.h>
31623 int
31624 main ()
31625 {
31626  modfl(0, 0);
31627   ;
31628   return 0;
31629 }
31630 _ACEOF
31631 if ac_fn_cxx_try_compile "$LINENO"; then :
31632   glibcxx_cv_func_modfl_use=yes
31633 else
31634   glibcxx_cv_func_modfl_use=no
31635 fi
31636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31637       ac_ext=c
31638 ac_cpp='$CPP $CPPFLAGS'
31639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31642
31643
31644 fi
31645
31646   fi
31647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31648 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31649
31650   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31651     for ac_func in modfl
31652 do :
31653   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31654 if test "x$ac_cv_func_modfl" = x""yes; then :
31655   cat >>confdefs.h <<_ACEOF
31656 #define HAVE_MODFL 1
31657 _ACEOF
31658
31659 fi
31660 done
31661
31662   else
31663
31664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31665 $as_echo_n "checking for _modfl declaration... " >&6; }
31666   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31667     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31668   $as_echo_n "(cached) " >&6
31669 else
31670
31671
31672       ac_ext=cpp
31673 ac_cpp='$CXXCPP $CPPFLAGS'
31674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31677
31678       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31679 /* end confdefs.h.  */
31680 #include <math.h>
31681 int
31682 main ()
31683 {
31684  _modfl(0, 0);
31685   ;
31686   return 0;
31687 }
31688 _ACEOF
31689 if ac_fn_cxx_try_compile "$LINENO"; then :
31690   glibcxx_cv_func__modfl_use=yes
31691 else
31692   glibcxx_cv_func__modfl_use=no
31693 fi
31694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31695       ac_ext=c
31696 ac_cpp='$CPP $CPPFLAGS'
31697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31700
31701
31702 fi
31703
31704   fi
31705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31706 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31707
31708     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31709       for ac_func in _modfl
31710 do :
31711   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31712 if test "x$ac_cv_func__modfl" = x""yes; then :
31713   cat >>confdefs.h <<_ACEOF
31714 #define HAVE__MODFL 1
31715 _ACEOF
31716
31717 fi
31718 done
31719
31720     fi
31721   fi
31722
31723
31724
31725
31726
31727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31728 $as_echo_n "checking for powl declaration... " >&6; }
31729   if test x${glibcxx_cv_func_powl_use+set} != xset; then
31730     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31731   $as_echo_n "(cached) " >&6
31732 else
31733
31734
31735       ac_ext=cpp
31736 ac_cpp='$CXXCPP $CPPFLAGS'
31737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31740
31741       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31742 /* end confdefs.h.  */
31743 #include <math.h>
31744 int
31745 main ()
31746 {
31747  powl(0, 0);
31748   ;
31749   return 0;
31750 }
31751 _ACEOF
31752 if ac_fn_cxx_try_compile "$LINENO"; then :
31753   glibcxx_cv_func_powl_use=yes
31754 else
31755   glibcxx_cv_func_powl_use=no
31756 fi
31757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31758       ac_ext=c
31759 ac_cpp='$CPP $CPPFLAGS'
31760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31763
31764
31765 fi
31766
31767   fi
31768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31769 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31770
31771   if test x$glibcxx_cv_func_powl_use = x"yes"; then
31772     for ac_func in powl
31773 do :
31774   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31775 if test "x$ac_cv_func_powl" = x""yes; then :
31776   cat >>confdefs.h <<_ACEOF
31777 #define HAVE_POWL 1
31778 _ACEOF
31779
31780 fi
31781 done
31782
31783   else
31784
31785   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31786 $as_echo_n "checking for _powl declaration... " >&6; }
31787   if test x${glibcxx_cv_func__powl_use+set} != xset; then
31788     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31789   $as_echo_n "(cached) " >&6
31790 else
31791
31792
31793       ac_ext=cpp
31794 ac_cpp='$CXXCPP $CPPFLAGS'
31795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31798
31799       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31800 /* end confdefs.h.  */
31801 #include <math.h>
31802 int
31803 main ()
31804 {
31805  _powl(0, 0);
31806   ;
31807   return 0;
31808 }
31809 _ACEOF
31810 if ac_fn_cxx_try_compile "$LINENO"; then :
31811   glibcxx_cv_func__powl_use=yes
31812 else
31813   glibcxx_cv_func__powl_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__powl_use" >&5
31827 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31828
31829     if test x$glibcxx_cv_func__powl_use = x"yes"; then
31830       for ac_func in _powl
31831 do :
31832   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31833 if test "x$ac_cv_func__powl" = x""yes; then :
31834   cat >>confdefs.h <<_ACEOF
31835 #define HAVE__POWL 1
31836 _ACEOF
31837
31838 fi
31839 done
31840
31841     fi
31842   fi
31843
31844
31845
31846
31847
31848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31849 $as_echo_n "checking for sqrtl declaration... " >&6; }
31850   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31851     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31852   $as_echo_n "(cached) " >&6
31853 else
31854
31855
31856       ac_ext=cpp
31857 ac_cpp='$CXXCPP $CPPFLAGS'
31858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31861
31862       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31863 /* end confdefs.h.  */
31864 #include <math.h>
31865                       #ifdef HAVE_IEEEFP_H
31866                       #include <ieeefp.h>
31867                       #endif
31868
31869 int
31870 main ()
31871 {
31872  sqrtl(0);
31873   ;
31874   return 0;
31875 }
31876 _ACEOF
31877 if ac_fn_cxx_try_compile "$LINENO"; then :
31878   glibcxx_cv_func_sqrtl_use=yes
31879 else
31880   glibcxx_cv_func_sqrtl_use=no
31881 fi
31882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31883       ac_ext=c
31884 ac_cpp='$CPP $CPPFLAGS'
31885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31888
31889
31890 fi
31891
31892   fi
31893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31894 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31895
31896   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31897     for ac_func in sqrtl
31898 do :
31899   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31900 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31901   cat >>confdefs.h <<_ACEOF
31902 #define HAVE_SQRTL 1
31903 _ACEOF
31904
31905 fi
31906 done
31907
31908   else
31909
31910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31911 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31912   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31913     if test "${glibcxx_cv_func__sqrtl_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                       #ifdef HAVE_IEEEFP_H
31928                       #include <ieeefp.h>
31929                       #endif
31930
31931 int
31932 main ()
31933 {
31934  _sqrtl(0);
31935   ;
31936   return 0;
31937 }
31938 _ACEOF
31939 if ac_fn_cxx_try_compile "$LINENO"; then :
31940   glibcxx_cv_func__sqrtl_use=yes
31941 else
31942   glibcxx_cv_func__sqrtl_use=no
31943 fi
31944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31945       ac_ext=c
31946 ac_cpp='$CPP $CPPFLAGS'
31947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31950
31951
31952 fi
31953
31954   fi
31955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31956 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31957
31958     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31959       for ac_func in _sqrtl
31960 do :
31961   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31962 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31963   cat >>confdefs.h <<_ACEOF
31964 #define HAVE__SQRTL 1
31965 _ACEOF
31966
31967 fi
31968 done
31969
31970     fi
31971   fi
31972
31973
31974
31975
31976
31977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31978 $as_echo_n "checking for sincosl declaration... " >&6; }
31979   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31980     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31981   $as_echo_n "(cached) " >&6
31982 else
31983
31984
31985       ac_ext=cpp
31986 ac_cpp='$CXXCPP $CPPFLAGS'
31987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31990
31991       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31992 /* end confdefs.h.  */
31993 #include <math.h>
31994 int
31995 main ()
31996 {
31997  sincosl(0, 0, 0);
31998   ;
31999   return 0;
32000 }
32001 _ACEOF
32002 if ac_fn_cxx_try_compile "$LINENO"; then :
32003   glibcxx_cv_func_sincosl_use=yes
32004 else
32005   glibcxx_cv_func_sincosl_use=no
32006 fi
32007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32008       ac_ext=c
32009 ac_cpp='$CPP $CPPFLAGS'
32010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32013
32014
32015 fi
32016
32017   fi
32018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32019 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32020
32021   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32022     for ac_func in sincosl
32023 do :
32024   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32025 if test "x$ac_cv_func_sincosl" = x""yes; then :
32026   cat >>confdefs.h <<_ACEOF
32027 #define HAVE_SINCOSL 1
32028 _ACEOF
32029
32030 fi
32031 done
32032
32033   else
32034
32035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32036 $as_echo_n "checking for _sincosl declaration... " >&6; }
32037   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32038     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32039   $as_echo_n "(cached) " >&6
32040 else
32041
32042
32043       ac_ext=cpp
32044 ac_cpp='$CXXCPP $CPPFLAGS'
32045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32048
32049       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32050 /* end confdefs.h.  */
32051 #include <math.h>
32052 int
32053 main ()
32054 {
32055  _sincosl(0, 0, 0);
32056   ;
32057   return 0;
32058 }
32059 _ACEOF
32060 if ac_fn_cxx_try_compile "$LINENO"; then :
32061   glibcxx_cv_func__sincosl_use=yes
32062 else
32063   glibcxx_cv_func__sincosl_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__sincosl_use" >&5
32077 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32078
32079     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32080       for ac_func in _sincosl
32081 do :
32082   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32083 if test "x$ac_cv_func__sincosl" = x""yes; then :
32084   cat >>confdefs.h <<_ACEOF
32085 #define HAVE__SINCOSL 1
32086 _ACEOF
32087
32088 fi
32089 done
32090
32091     fi
32092   fi
32093
32094
32095
32096
32097
32098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32099 $as_echo_n "checking for finitel declaration... " >&6; }
32100   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32101     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32102   $as_echo_n "(cached) " >&6
32103 else
32104
32105
32106       ac_ext=cpp
32107 ac_cpp='$CXXCPP $CPPFLAGS'
32108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32111
32112       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32113 /* end confdefs.h.  */
32114 #include <math.h>
32115                       #ifdef HAVE_IEEEFP_H
32116                       #include <ieeefp.h>
32117                       #endif
32118
32119 int
32120 main ()
32121 {
32122  finitel(0);
32123   ;
32124   return 0;
32125 }
32126 _ACEOF
32127 if ac_fn_cxx_try_compile "$LINENO"; then :
32128   glibcxx_cv_func_finitel_use=yes
32129 else
32130   glibcxx_cv_func_finitel_use=no
32131 fi
32132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32133       ac_ext=c
32134 ac_cpp='$CPP $CPPFLAGS'
32135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32138
32139
32140 fi
32141
32142   fi
32143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32144 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32145
32146   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32147     for ac_func in finitel
32148 do :
32149   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32150 if test "x$ac_cv_func_finitel" = x""yes; then :
32151   cat >>confdefs.h <<_ACEOF
32152 #define HAVE_FINITEL 1
32153 _ACEOF
32154
32155 fi
32156 done
32157
32158   else
32159
32160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32161 $as_echo_n "checking for _finitel declaration... " >&6; }
32162   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32163     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32164   $as_echo_n "(cached) " >&6
32165 else
32166
32167
32168       ac_ext=cpp
32169 ac_cpp='$CXXCPP $CPPFLAGS'
32170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32173
32174       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32175 /* end confdefs.h.  */
32176 #include <math.h>
32177                       #ifdef HAVE_IEEEFP_H
32178                       #include <ieeefp.h>
32179                       #endif
32180
32181 int
32182 main ()
32183 {
32184  _finitel(0);
32185   ;
32186   return 0;
32187 }
32188 _ACEOF
32189 if ac_fn_cxx_try_compile "$LINENO"; then :
32190   glibcxx_cv_func__finitel_use=yes
32191 else
32192   glibcxx_cv_func__finitel_use=no
32193 fi
32194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32195       ac_ext=c
32196 ac_cpp='$CPP $CPPFLAGS'
32197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32200
32201
32202 fi
32203
32204   fi
32205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32206 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32207
32208     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32209       for ac_func in _finitel
32210 do :
32211   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32212 if test "x$ac_cv_func__finitel" = x""yes; then :
32213   cat >>confdefs.h <<_ACEOF
32214 #define HAVE__FINITEL 1
32215 _ACEOF
32216
32217 fi
32218 done
32219
32220     fi
32221   fi
32222
32223
32224
32225
32226   LIBS="$ac_save_LIBS"
32227   CXXFLAGS="$ac_save_CXXFLAGS"
32228
32229
32230   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32231   ac_save_CXXFLAGS="$CXXFLAGS"
32232   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32233
32234
32235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32236 $as_echo_n "checking for strtold declaration... " >&6; }
32237   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32238     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32239   $as_echo_n "(cached) " >&6
32240 else
32241
32242
32243       ac_ext=cpp
32244 ac_cpp='$CXXCPP $CPPFLAGS'
32245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32248
32249       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32250 /* end confdefs.h.  */
32251 #include <stdlib.h>
32252 int
32253 main ()
32254 {
32255  strtold(0, 0);
32256   ;
32257   return 0;
32258 }
32259 _ACEOF
32260 if ac_fn_cxx_try_compile "$LINENO"; then :
32261   glibcxx_cv_func_strtold_use=yes
32262 else
32263   glibcxx_cv_func_strtold_use=no
32264 fi
32265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32266       ac_ext=c
32267 ac_cpp='$CPP $CPPFLAGS'
32268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32271
32272
32273 fi
32274
32275   fi
32276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32277 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32278   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32279     for ac_func in strtold
32280 do :
32281   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32282 if test "x$ac_cv_func_strtold" = x""yes; then :
32283   cat >>confdefs.h <<_ACEOF
32284 #define HAVE_STRTOLD 1
32285 _ACEOF
32286
32287 fi
32288 done
32289
32290   fi
32291
32292
32293
32294
32295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32296 $as_echo_n "checking for strtof declaration... " >&6; }
32297   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32298     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32299   $as_echo_n "(cached) " >&6
32300 else
32301
32302
32303       ac_ext=cpp
32304 ac_cpp='$CXXCPP $CPPFLAGS'
32305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32308
32309       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32310 /* end confdefs.h.  */
32311 #include <stdlib.h>
32312 int
32313 main ()
32314 {
32315  strtof(0, 0);
32316   ;
32317   return 0;
32318 }
32319 _ACEOF
32320 if ac_fn_cxx_try_compile "$LINENO"; then :
32321   glibcxx_cv_func_strtof_use=yes
32322 else
32323   glibcxx_cv_func_strtof_use=no
32324 fi
32325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32326       ac_ext=c
32327 ac_cpp='$CPP $CPPFLAGS'
32328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32331
32332
32333 fi
32334
32335   fi
32336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32337 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32338   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32339     for ac_func in strtof
32340 do :
32341   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32342 if test "x$ac_cv_func_strtof" = x""yes; then :
32343   cat >>confdefs.h <<_ACEOF
32344 #define HAVE_STRTOF 1
32345 _ACEOF
32346
32347 fi
32348 done
32349
32350   fi
32351
32352
32353
32354
32355   CXXFLAGS="$ac_save_CXXFLAGS"
32356
32357
32358     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32359
32360     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32361
32362     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32363
32364     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32365
32366
32367     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32368
32369     $as_echo "#define HAVE_MODF 1" >>confdefs.h
32370
32371     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32372
32373     ;;
32374
32375   *-aix*)
32376
32377   # If we're not using GNU ld, then there's no point in even trying these
32378   # tests.  Check for that first.  We should have already tested for gld
32379   # by now (in libtool), but require it now just to be safe...
32380   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32381   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32382
32383
32384
32385   # The name set by libtool depends on the version of libtool.  Shame on us
32386   # for depending on an impl detail, but c'est la vie.  Older versions used
32387   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32388   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32389   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
32390   # set (hence we're using an older libtool), then set it.
32391   if test x${with_gnu_ld+set} != xset; then
32392     if test x${ac_cv_prog_gnu_ld+set} != xset; then
32393       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
32394       with_gnu_ld=no
32395     else
32396       with_gnu_ld=$ac_cv_prog_gnu_ld
32397     fi
32398   fi
32399
32400   # Start by getting the version number.  I think the libtool test already
32401   # does some of this, but throws away the result.
32402   glibcxx_ld_is_gold=no
32403   if test x"$with_gnu_ld" = x"yes"; then
32404     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32405 $as_echo_n "checking for ld version... " >&6; }
32406
32407     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32408       glibcxx_ld_is_gold=yes
32409     fi
32410     ldver=`$LD --version 2>/dev/null |
32411            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'`
32412
32413     glibcxx_gnu_ld_version=`echo $ldver | \
32414            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32415     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32416 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32417   fi
32418
32419   # Set --gc-sections.
32420   glibcxx_have_gc_sections=no
32421   if test "$glibcxx_ld_is_gold" = "yes"; then
32422     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32423       glibcxx_have_gc_sections=yes
32424     fi
32425   else
32426     glibcxx_gcsections_min_ld=21602
32427     if test x"$with_gnu_ld" = x"yes" &&
32428         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32429       glibcxx_have_gc_sections=yes
32430     fi
32431   fi
32432   if test "$glibcxx_have_gc_sections" = "yes"; then
32433     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
32434     # NB: This flag only works reliably after 2.16.1. Configure tests
32435     # for this are difficult, so hard wire a value that should work.
32436
32437     ac_test_CFLAGS="${CFLAGS+set}"
32438     ac_save_CFLAGS="$CFLAGS"
32439     CFLAGS='-Wl,--gc-sections'
32440
32441     # Check for -Wl,--gc-sections
32442     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32443 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32444     if test x$gcc_no_link = xyes; then
32445   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32446 fi
32447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32448 /* end confdefs.h.  */
32449  int one(void) { return 1; }
32450      int two(void) { return 2; }
32451
32452 int
32453 main ()
32454 {
32455  two();
32456   ;
32457   return 0;
32458 }
32459 _ACEOF
32460 if ac_fn_c_try_link "$LINENO"; then :
32461   ac_gcsections=yes
32462 else
32463   ac_gcsections=no
32464 fi
32465 rm -f core conftest.err conftest.$ac_objext \
32466     conftest$ac_exeext conftest.$ac_ext
32467     if test "$ac_gcsections" = "yes"; then
32468       rm -f conftest.c
32469       touch conftest.c
32470       if $CC -c conftest.c; then
32471         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32472            grep "Warning: gc-sections option ignored" > /dev/null; then
32473           ac_gcsections=no
32474         fi
32475       fi
32476       rm -f conftest.c conftest.o conftest
32477     fi
32478     if test "$ac_gcsections" = "yes"; then
32479       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32480     fi
32481     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32482 $as_echo "$ac_gcsections" >&6; }
32483
32484     if test "$ac_test_CFLAGS" = set; then
32485       CFLAGS="$ac_save_CFLAGS"
32486     else
32487       # this is the suspicious part
32488       CFLAGS=''
32489     fi
32490   fi
32491
32492   # Set -z,relro.
32493   # Note this is only for shared objects.
32494   ac_ld_relro=no
32495   if test x"$with_gnu_ld" = x"yes"; then
32496     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32497 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32498     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32499     if test -n "$cxx_z_relo"; then
32500       OPT_LDFLAGS="-Wl,-z,relro"
32501       ac_ld_relro=yes
32502     fi
32503     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32504 $as_echo "$ac_ld_relro" >&6; }
32505   fi
32506
32507   # Set linker optimization flags.
32508   if test x"$with_gnu_ld" = x"yes"; then
32509     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32510   fi
32511
32512
32513
32514
32515
32516   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32517   ac_save_CXXFLAGS="$CXXFLAGS"
32518   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32519
32520     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32521 $as_echo_n "checking for sin in -lm... " >&6; }
32522 if test "${ac_cv_lib_m_sin+set}" = set; then :
32523   $as_echo_n "(cached) " >&6
32524 else
32525   ac_check_lib_save_LIBS=$LIBS
32526 LIBS="-lm  $LIBS"
32527 if test x$gcc_no_link = xyes; then
32528   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32529 fi
32530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32531 /* end confdefs.h.  */
32532
32533 /* Override any GCC internal prototype to avoid an error.
32534    Use char because int might match the return type of a GCC
32535    builtin and then its argument prototype would still apply.  */
32536 #ifdef __cplusplus
32537 extern "C"
32538 #endif
32539 char sin ();
32540 int
32541 main ()
32542 {
32543 return sin ();
32544   ;
32545   return 0;
32546 }
32547 _ACEOF
32548 if ac_fn_c_try_link "$LINENO"; then :
32549   ac_cv_lib_m_sin=yes
32550 else
32551   ac_cv_lib_m_sin=no
32552 fi
32553 rm -f core conftest.err conftest.$ac_objext \
32554     conftest$ac_exeext conftest.$ac_ext
32555 LIBS=$ac_check_lib_save_LIBS
32556 fi
32557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32558 $as_echo "$ac_cv_lib_m_sin" >&6; }
32559 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32560   libm="-lm"
32561 fi
32562
32563   ac_save_LIBS="$LIBS"
32564   LIBS="$LIBS $libm"
32565
32566
32567
32568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32569 $as_echo_n "checking for isinf declaration... " >&6; }
32570   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32571     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32572   $as_echo_n "(cached) " >&6
32573 else
32574
32575
32576       ac_ext=cpp
32577 ac_cpp='$CXXCPP $CPPFLAGS'
32578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32581
32582       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32583 /* end confdefs.h.  */
32584 #include <math.h>
32585                       #ifdef HAVE_IEEEFP_H
32586                       #include <ieeefp.h>
32587                       #endif
32588
32589 int
32590 main ()
32591 {
32592  isinf(0);
32593   ;
32594   return 0;
32595 }
32596 _ACEOF
32597 if ac_fn_cxx_try_compile "$LINENO"; then :
32598   glibcxx_cv_func_isinf_use=yes
32599 else
32600   glibcxx_cv_func_isinf_use=no
32601 fi
32602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32603       ac_ext=c
32604 ac_cpp='$CPP $CPPFLAGS'
32605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32608
32609
32610 fi
32611
32612   fi
32613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32614 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32615
32616   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32617     for ac_func in isinf
32618 do :
32619   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32620 if test "x$ac_cv_func_isinf" = x""yes; then :
32621   cat >>confdefs.h <<_ACEOF
32622 #define HAVE_ISINF 1
32623 _ACEOF
32624
32625 fi
32626 done
32627
32628   else
32629
32630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32631 $as_echo_n "checking for _isinf declaration... " >&6; }
32632   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32633     if test "${glibcxx_cv_func__isinf_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  _isinf(0);
32655   ;
32656   return 0;
32657 }
32658 _ACEOF
32659 if ac_fn_cxx_try_compile "$LINENO"; then :
32660   glibcxx_cv_func__isinf_use=yes
32661 else
32662   glibcxx_cv_func__isinf_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__isinf_use" >&5
32676 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32677
32678     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32679       for ac_func in _isinf
32680 do :
32681   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32682 if test "x$ac_cv_func__isinf" = x""yes; then :
32683   cat >>confdefs.h <<_ACEOF
32684 #define HAVE__ISINF 1
32685 _ACEOF
32686
32687 fi
32688 done
32689
32690     fi
32691   fi
32692
32693
32694
32695
32696
32697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32698 $as_echo_n "checking for isnan declaration... " >&6; }
32699   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32700     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32701   $as_echo_n "(cached) " >&6
32702 else
32703
32704
32705       ac_ext=cpp
32706 ac_cpp='$CXXCPP $CPPFLAGS'
32707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32710
32711       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32712 /* end confdefs.h.  */
32713 #include <math.h>
32714                       #ifdef HAVE_IEEEFP_H
32715                       #include <ieeefp.h>
32716                       #endif
32717
32718 int
32719 main ()
32720 {
32721  isnan(0);
32722   ;
32723   return 0;
32724 }
32725 _ACEOF
32726 if ac_fn_cxx_try_compile "$LINENO"; then :
32727   glibcxx_cv_func_isnan_use=yes
32728 else
32729   glibcxx_cv_func_isnan_use=no
32730 fi
32731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32732       ac_ext=c
32733 ac_cpp='$CPP $CPPFLAGS'
32734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32737
32738
32739 fi
32740
32741   fi
32742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32743 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32744
32745   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32746     for ac_func in isnan
32747 do :
32748   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32749 if test "x$ac_cv_func_isnan" = x""yes; then :
32750   cat >>confdefs.h <<_ACEOF
32751 #define HAVE_ISNAN 1
32752 _ACEOF
32753
32754 fi
32755 done
32756
32757   else
32758
32759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32760 $as_echo_n "checking for _isnan declaration... " >&6; }
32761   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32762     if test "${glibcxx_cv_func__isnan_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  _isnan(0);
32784   ;
32785   return 0;
32786 }
32787 _ACEOF
32788 if ac_fn_cxx_try_compile "$LINENO"; then :
32789   glibcxx_cv_func__isnan_use=yes
32790 else
32791   glibcxx_cv_func__isnan_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__isnan_use" >&5
32805 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32806
32807     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32808       for ac_func in _isnan
32809 do :
32810   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32811 if test "x$ac_cv_func__isnan" = x""yes; then :
32812   cat >>confdefs.h <<_ACEOF
32813 #define HAVE__ISNAN 1
32814 _ACEOF
32815
32816 fi
32817 done
32818
32819     fi
32820   fi
32821
32822
32823
32824
32825
32826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32827 $as_echo_n "checking for finite declaration... " >&6; }
32828   if test x${glibcxx_cv_func_finite_use+set} != xset; then
32829     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32830   $as_echo_n "(cached) " >&6
32831 else
32832
32833
32834       ac_ext=cpp
32835 ac_cpp='$CXXCPP $CPPFLAGS'
32836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32839
32840       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32841 /* end confdefs.h.  */
32842 #include <math.h>
32843                       #ifdef HAVE_IEEEFP_H
32844                       #include <ieeefp.h>
32845                       #endif
32846
32847 int
32848 main ()
32849 {
32850  finite(0);
32851   ;
32852   return 0;
32853 }
32854 _ACEOF
32855 if ac_fn_cxx_try_compile "$LINENO"; then :
32856   glibcxx_cv_func_finite_use=yes
32857 else
32858   glibcxx_cv_func_finite_use=no
32859 fi
32860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32861       ac_ext=c
32862 ac_cpp='$CPP $CPPFLAGS'
32863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32866
32867
32868 fi
32869
32870   fi
32871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32872 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32873
32874   if test x$glibcxx_cv_func_finite_use = x"yes"; then
32875     for ac_func in finite
32876 do :
32877   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32878 if test "x$ac_cv_func_finite" = x""yes; then :
32879   cat >>confdefs.h <<_ACEOF
32880 #define HAVE_FINITE 1
32881 _ACEOF
32882
32883 fi
32884 done
32885
32886   else
32887
32888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32889 $as_echo_n "checking for _finite declaration... " >&6; }
32890   if test x${glibcxx_cv_func__finite_use+set} != xset; then
32891     if test "${glibcxx_cv_func__finite_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                       #ifdef HAVE_IEEEFP_H
32906                       #include <ieeefp.h>
32907                       #endif
32908
32909 int
32910 main ()
32911 {
32912  _finite(0);
32913   ;
32914   return 0;
32915 }
32916 _ACEOF
32917 if ac_fn_cxx_try_compile "$LINENO"; then :
32918   glibcxx_cv_func__finite_use=yes
32919 else
32920   glibcxx_cv_func__finite_use=no
32921 fi
32922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32923       ac_ext=c
32924 ac_cpp='$CPP $CPPFLAGS'
32925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32928
32929
32930 fi
32931
32932   fi
32933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32934 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32935
32936     if test x$glibcxx_cv_func__finite_use = x"yes"; then
32937       for ac_func in _finite
32938 do :
32939   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32940 if test "x$ac_cv_func__finite" = x""yes; then :
32941   cat >>confdefs.h <<_ACEOF
32942 #define HAVE__FINITE 1
32943 _ACEOF
32944
32945 fi
32946 done
32947
32948     fi
32949   fi
32950
32951
32952
32953
32954
32955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32956 $as_echo_n "checking for sincos declaration... " >&6; }
32957   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32958     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32959   $as_echo_n "(cached) " >&6
32960 else
32961
32962
32963       ac_ext=cpp
32964 ac_cpp='$CXXCPP $CPPFLAGS'
32965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32968
32969       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32970 /* end confdefs.h.  */
32971 #include <math.h>
32972 int
32973 main ()
32974 {
32975  sincos(0, 0, 0);
32976   ;
32977   return 0;
32978 }
32979 _ACEOF
32980 if ac_fn_cxx_try_compile "$LINENO"; then :
32981   glibcxx_cv_func_sincos_use=yes
32982 else
32983   glibcxx_cv_func_sincos_use=no
32984 fi
32985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32986       ac_ext=c
32987 ac_cpp='$CPP $CPPFLAGS'
32988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32991
32992
32993 fi
32994
32995   fi
32996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32997 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32998
32999   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33000     for ac_func in sincos
33001 do :
33002   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33003 if test "x$ac_cv_func_sincos" = x""yes; then :
33004   cat >>confdefs.h <<_ACEOF
33005 #define HAVE_SINCOS 1
33006 _ACEOF
33007
33008 fi
33009 done
33010
33011   else
33012
33013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33014 $as_echo_n "checking for _sincos declaration... " >&6; }
33015   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33016     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33017   $as_echo_n "(cached) " >&6
33018 else
33019
33020
33021       ac_ext=cpp
33022 ac_cpp='$CXXCPP $CPPFLAGS'
33023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33026
33027       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33028 /* end confdefs.h.  */
33029 #include <math.h>
33030 int
33031 main ()
33032 {
33033  _sincos(0, 0, 0);
33034   ;
33035   return 0;
33036 }
33037 _ACEOF
33038 if ac_fn_cxx_try_compile "$LINENO"; then :
33039   glibcxx_cv_func__sincos_use=yes
33040 else
33041   glibcxx_cv_func__sincos_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__sincos_use" >&5
33055 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33056
33057     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33058       for ac_func in _sincos
33059 do :
33060   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33061 if test "x$ac_cv_func__sincos" = x""yes; then :
33062   cat >>confdefs.h <<_ACEOF
33063 #define HAVE__SINCOS 1
33064 _ACEOF
33065
33066 fi
33067 done
33068
33069     fi
33070   fi
33071
33072
33073
33074
33075
33076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33077 $as_echo_n "checking for fpclass declaration... " >&6; }
33078   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33079     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33080   $as_echo_n "(cached) " >&6
33081 else
33082
33083
33084       ac_ext=cpp
33085 ac_cpp='$CXXCPP $CPPFLAGS'
33086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33089
33090       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33091 /* end confdefs.h.  */
33092 #include <math.h>
33093                       #ifdef HAVE_IEEEFP_H
33094                       #include <ieeefp.h>
33095                       #endif
33096
33097 int
33098 main ()
33099 {
33100  fpclass(0);
33101   ;
33102   return 0;
33103 }
33104 _ACEOF
33105 if ac_fn_cxx_try_compile "$LINENO"; then :
33106   glibcxx_cv_func_fpclass_use=yes
33107 else
33108   glibcxx_cv_func_fpclass_use=no
33109 fi
33110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33111       ac_ext=c
33112 ac_cpp='$CPP $CPPFLAGS'
33113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33116
33117
33118 fi
33119
33120   fi
33121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33122 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33123
33124   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33125     for ac_func in fpclass
33126 do :
33127   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33128 if test "x$ac_cv_func_fpclass" = x""yes; then :
33129   cat >>confdefs.h <<_ACEOF
33130 #define HAVE_FPCLASS 1
33131 _ACEOF
33132
33133 fi
33134 done
33135
33136   else
33137
33138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33139 $as_echo_n "checking for _fpclass declaration... " >&6; }
33140   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33141     if test "${glibcxx_cv_func__fpclass_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  _fpclass(0);
33163   ;
33164   return 0;
33165 }
33166 _ACEOF
33167 if ac_fn_cxx_try_compile "$LINENO"; then :
33168   glibcxx_cv_func__fpclass_use=yes
33169 else
33170   glibcxx_cv_func__fpclass_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__fpclass_use" >&5
33184 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33185
33186     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33187       for ac_func in _fpclass
33188 do :
33189   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33190 if test "x$ac_cv_func__fpclass" = x""yes; then :
33191   cat >>confdefs.h <<_ACEOF
33192 #define HAVE__FPCLASS 1
33193 _ACEOF
33194
33195 fi
33196 done
33197
33198     fi
33199   fi
33200
33201
33202
33203
33204
33205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33206 $as_echo_n "checking for qfpclass declaration... " >&6; }
33207   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33208     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33209   $as_echo_n "(cached) " >&6
33210 else
33211
33212
33213       ac_ext=cpp
33214 ac_cpp='$CXXCPP $CPPFLAGS'
33215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33218
33219       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33220 /* end confdefs.h.  */
33221 #include <math.h>
33222                       #ifdef HAVE_IEEEFP_H
33223                       #include <ieeefp.h>
33224                       #endif
33225
33226 int
33227 main ()
33228 {
33229  qfpclass(0);
33230   ;
33231   return 0;
33232 }
33233 _ACEOF
33234 if ac_fn_cxx_try_compile "$LINENO"; then :
33235   glibcxx_cv_func_qfpclass_use=yes
33236 else
33237   glibcxx_cv_func_qfpclass_use=no
33238 fi
33239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33240       ac_ext=c
33241 ac_cpp='$CPP $CPPFLAGS'
33242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33245
33246
33247 fi
33248
33249   fi
33250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33251 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33252
33253   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33254     for ac_func in qfpclass
33255 do :
33256   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33257 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33258   cat >>confdefs.h <<_ACEOF
33259 #define HAVE_QFPCLASS 1
33260 _ACEOF
33261
33262 fi
33263 done
33264
33265   else
33266
33267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33268 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33269   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33270     if test "${glibcxx_cv_func__qfpclass_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                       #ifdef HAVE_IEEEFP_H
33285                       #include <ieeefp.h>
33286                       #endif
33287
33288 int
33289 main ()
33290 {
33291  _qfpclass(0);
33292   ;
33293   return 0;
33294 }
33295 _ACEOF
33296 if ac_fn_cxx_try_compile "$LINENO"; then :
33297   glibcxx_cv_func__qfpclass_use=yes
33298 else
33299   glibcxx_cv_func__qfpclass_use=no
33300 fi
33301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33302       ac_ext=c
33303 ac_cpp='$CPP $CPPFLAGS'
33304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33307
33308
33309 fi
33310
33311   fi
33312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33313 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33314
33315     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33316       for ac_func in _qfpclass
33317 do :
33318   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33319 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33320   cat >>confdefs.h <<_ACEOF
33321 #define HAVE__QFPCLASS 1
33322 _ACEOF
33323
33324 fi
33325 done
33326
33327     fi
33328   fi
33329
33330
33331
33332
33333
33334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33335 $as_echo_n "checking for hypot declaration... " >&6; }
33336   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33337     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33338   $as_echo_n "(cached) " >&6
33339 else
33340
33341
33342       ac_ext=cpp
33343 ac_cpp='$CXXCPP $CPPFLAGS'
33344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33347
33348       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33349 /* end confdefs.h.  */
33350 #include <math.h>
33351 int
33352 main ()
33353 {
33354  hypot(0, 0);
33355   ;
33356   return 0;
33357 }
33358 _ACEOF
33359 if ac_fn_cxx_try_compile "$LINENO"; then :
33360   glibcxx_cv_func_hypot_use=yes
33361 else
33362   glibcxx_cv_func_hypot_use=no
33363 fi
33364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33365       ac_ext=c
33366 ac_cpp='$CPP $CPPFLAGS'
33367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33370
33371
33372 fi
33373
33374   fi
33375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33376 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33377
33378   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33379     for ac_func in hypot
33380 do :
33381   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33382 if test "x$ac_cv_func_hypot" = x""yes; then :
33383   cat >>confdefs.h <<_ACEOF
33384 #define HAVE_HYPOT 1
33385 _ACEOF
33386
33387 fi
33388 done
33389
33390   else
33391
33392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33393 $as_echo_n "checking for _hypot declaration... " >&6; }
33394   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33395     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33396   $as_echo_n "(cached) " >&6
33397 else
33398
33399
33400       ac_ext=cpp
33401 ac_cpp='$CXXCPP $CPPFLAGS'
33402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33405
33406       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33407 /* end confdefs.h.  */
33408 #include <math.h>
33409 int
33410 main ()
33411 {
33412  _hypot(0, 0);
33413   ;
33414   return 0;
33415 }
33416 _ACEOF
33417 if ac_fn_cxx_try_compile "$LINENO"; then :
33418   glibcxx_cv_func__hypot_use=yes
33419 else
33420   glibcxx_cv_func__hypot_use=no
33421 fi
33422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33423       ac_ext=c
33424 ac_cpp='$CPP $CPPFLAGS'
33425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33428
33429
33430 fi
33431
33432   fi
33433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33434 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33435
33436     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33437       for ac_func in _hypot
33438 do :
33439   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33440 if test "x$ac_cv_func__hypot" = x""yes; then :
33441   cat >>confdefs.h <<_ACEOF
33442 #define HAVE__HYPOT 1
33443 _ACEOF
33444
33445 fi
33446 done
33447
33448     fi
33449   fi
33450
33451
33452
33453
33454
33455     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33456 $as_echo_n "checking for float trig functions... " >&6; }
33457   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33458   $as_echo_n "(cached) " >&6
33459 else
33460
33461
33462     ac_ext=cpp
33463 ac_cpp='$CXXCPP $CPPFLAGS'
33464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33467
33468     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33469 /* end confdefs.h.  */
33470 #include <math.h>
33471 int
33472 main ()
33473 {
33474 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33475   ;
33476   return 0;
33477 }
33478 _ACEOF
33479 if ac_fn_cxx_try_compile "$LINENO"; then :
33480   glibcxx_cv_func_float_trig_use=yes
33481 else
33482   glibcxx_cv_func_float_trig_use=no
33483 fi
33484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33485     ac_ext=c
33486 ac_cpp='$CPP $CPPFLAGS'
33487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33490
33491 fi
33492
33493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33494 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33495   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33496     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33497 do :
33498   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33499 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33500 eval as_val=\$$as_ac_var
33501    if test "x$as_val" = x""yes; then :
33502   cat >>confdefs.h <<_ACEOF
33503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33504 _ACEOF
33505
33506 fi
33507 done
33508
33509   else
33510     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33511 $as_echo_n "checking for _float trig functions... " >&6; }
33512     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33513   $as_echo_n "(cached) " >&6
33514 else
33515
33516
33517       ac_ext=cpp
33518 ac_cpp='$CXXCPP $CPPFLAGS'
33519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33522
33523       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33524 /* end confdefs.h.  */
33525 #include <math.h>
33526 int
33527 main ()
33528 {
33529 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33530   ;
33531   return 0;
33532 }
33533 _ACEOF
33534 if ac_fn_cxx_try_compile "$LINENO"; then :
33535   glibcxx_cv_func__float_trig_use=yes
33536 else
33537   glibcxx_cv_func__float_trig_use=no
33538 fi
33539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33540       ac_ext=c
33541 ac_cpp='$CPP $CPPFLAGS'
33542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33545
33546 fi
33547
33548     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33549 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33550     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33551       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33552 do :
33553   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33554 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33555 eval as_val=\$$as_ac_var
33556    if test "x$as_val" = x""yes; then :
33557   cat >>confdefs.h <<_ACEOF
33558 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33559 _ACEOF
33560
33561 fi
33562 done
33563
33564     fi
33565   fi
33566
33567
33568
33569
33570
33571     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33572 $as_echo_n "checking for float round functions... " >&6; }
33573   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33574   $as_echo_n "(cached) " >&6
33575 else
33576
33577
33578     ac_ext=cpp
33579 ac_cpp='$CXXCPP $CPPFLAGS'
33580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33583
33584     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33585 /* end confdefs.h.  */
33586 #include <math.h>
33587 int
33588 main ()
33589 {
33590 ceilf (0); floorf (0);
33591   ;
33592   return 0;
33593 }
33594 _ACEOF
33595 if ac_fn_cxx_try_compile "$LINENO"; then :
33596   glibcxx_cv_func_float_round_use=yes
33597 else
33598   glibcxx_cv_func_float_round_use=no
33599 fi
33600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33601     ac_ext=c
33602 ac_cpp='$CPP $CPPFLAGS'
33603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33606
33607 fi
33608
33609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33610 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33611   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33612     for ac_func in ceilf floorf
33613 do :
33614   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33615 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33616 eval as_val=\$$as_ac_var
33617    if test "x$as_val" = x""yes; then :
33618   cat >>confdefs.h <<_ACEOF
33619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33620 _ACEOF
33621
33622 fi
33623 done
33624
33625   else
33626     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33627 $as_echo_n "checking for _float round functions... " >&6; }
33628     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33629   $as_echo_n "(cached) " >&6
33630 else
33631
33632
33633       ac_ext=cpp
33634 ac_cpp='$CXXCPP $CPPFLAGS'
33635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33638
33639       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33640 /* end confdefs.h.  */
33641 #include <math.h>
33642 int
33643 main ()
33644 {
33645 _ceilf (0); _floorf (0);
33646   ;
33647   return 0;
33648 }
33649 _ACEOF
33650 if ac_fn_cxx_try_compile "$LINENO"; then :
33651   glibcxx_cv_func__float_round_use=yes
33652 else
33653   glibcxx_cv_func__float_round_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 fi
33663
33664     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33665 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33666     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33667       for ac_func in _ceilf _floorf
33668 do :
33669   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33670 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33671 eval as_val=\$$as_ac_var
33672    if test "x$as_val" = x""yes; then :
33673   cat >>confdefs.h <<_ACEOF
33674 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33675 _ACEOF
33676
33677 fi
33678 done
33679
33680     fi
33681   fi
33682
33683
33684
33685
33686
33687
33688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33689 $as_echo_n "checking for expf declaration... " >&6; }
33690   if test x${glibcxx_cv_func_expf_use+set} != xset; then
33691     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33692   $as_echo_n "(cached) " >&6
33693 else
33694
33695
33696       ac_ext=cpp
33697 ac_cpp='$CXXCPP $CPPFLAGS'
33698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33701
33702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33703 /* end confdefs.h.  */
33704 #include <math.h>
33705                       #ifdef HAVE_IEEEFP_H
33706                       #include <ieeefp.h>
33707                       #endif
33708
33709 int
33710 main ()
33711 {
33712  expf(0);
33713   ;
33714   return 0;
33715 }
33716 _ACEOF
33717 if ac_fn_cxx_try_compile "$LINENO"; then :
33718   glibcxx_cv_func_expf_use=yes
33719 else
33720   glibcxx_cv_func_expf_use=no
33721 fi
33722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33723       ac_ext=c
33724 ac_cpp='$CPP $CPPFLAGS'
33725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33728
33729
33730 fi
33731
33732   fi
33733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33734 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33735
33736   if test x$glibcxx_cv_func_expf_use = x"yes"; then
33737     for ac_func in expf
33738 do :
33739   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33740 if test "x$ac_cv_func_expf" = x""yes; then :
33741   cat >>confdefs.h <<_ACEOF
33742 #define HAVE_EXPF 1
33743 _ACEOF
33744
33745 fi
33746 done
33747
33748   else
33749
33750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33751 $as_echo_n "checking for _expf declaration... " >&6; }
33752   if test x${glibcxx_cv_func__expf_use+set} != xset; then
33753     if test "${glibcxx_cv_func__expf_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  _expf(0);
33775   ;
33776   return 0;
33777 }
33778 _ACEOF
33779 if ac_fn_cxx_try_compile "$LINENO"; then :
33780   glibcxx_cv_func__expf_use=yes
33781 else
33782   glibcxx_cv_func__expf_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__expf_use" >&5
33796 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33797
33798     if test x$glibcxx_cv_func__expf_use = x"yes"; then
33799       for ac_func in _expf
33800 do :
33801   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33802 if test "x$ac_cv_func__expf" = x""yes; then :
33803   cat >>confdefs.h <<_ACEOF
33804 #define HAVE__EXPF 1
33805 _ACEOF
33806
33807 fi
33808 done
33809
33810     fi
33811   fi
33812
33813
33814
33815
33816
33817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33818 $as_echo_n "checking for isnanf declaration... " >&6; }
33819   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33820     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33821   $as_echo_n "(cached) " >&6
33822 else
33823
33824
33825       ac_ext=cpp
33826 ac_cpp='$CXXCPP $CPPFLAGS'
33827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33830
33831       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33832 /* end confdefs.h.  */
33833 #include <math.h>
33834                       #ifdef HAVE_IEEEFP_H
33835                       #include <ieeefp.h>
33836                       #endif
33837
33838 int
33839 main ()
33840 {
33841  isnanf(0);
33842   ;
33843   return 0;
33844 }
33845 _ACEOF
33846 if ac_fn_cxx_try_compile "$LINENO"; then :
33847   glibcxx_cv_func_isnanf_use=yes
33848 else
33849   glibcxx_cv_func_isnanf_use=no
33850 fi
33851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33852       ac_ext=c
33853 ac_cpp='$CPP $CPPFLAGS'
33854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33857
33858
33859 fi
33860
33861   fi
33862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33863 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33864
33865   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33866     for ac_func in isnanf
33867 do :
33868   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33869 if test "x$ac_cv_func_isnanf" = x""yes; then :
33870   cat >>confdefs.h <<_ACEOF
33871 #define HAVE_ISNANF 1
33872 _ACEOF
33873
33874 fi
33875 done
33876
33877   else
33878
33879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33880 $as_echo_n "checking for _isnanf declaration... " >&6; }
33881   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33882     if test "${glibcxx_cv_func__isnanf_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  _isnanf(0);
33904   ;
33905   return 0;
33906 }
33907 _ACEOF
33908 if ac_fn_cxx_try_compile "$LINENO"; then :
33909   glibcxx_cv_func__isnanf_use=yes
33910 else
33911   glibcxx_cv_func__isnanf_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__isnanf_use" >&5
33925 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33926
33927     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33928       for ac_func in _isnanf
33929 do :
33930   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33931 if test "x$ac_cv_func__isnanf" = x""yes; then :
33932   cat >>confdefs.h <<_ACEOF
33933 #define HAVE__ISNANF 1
33934 _ACEOF
33935
33936 fi
33937 done
33938
33939     fi
33940   fi
33941
33942
33943
33944
33945
33946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33947 $as_echo_n "checking for isinff declaration... " >&6; }
33948   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33949     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33950   $as_echo_n "(cached) " >&6
33951 else
33952
33953
33954       ac_ext=cpp
33955 ac_cpp='$CXXCPP $CPPFLAGS'
33956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33959
33960       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33961 /* end confdefs.h.  */
33962 #include <math.h>
33963                       #ifdef HAVE_IEEEFP_H
33964                       #include <ieeefp.h>
33965                       #endif
33966
33967 int
33968 main ()
33969 {
33970  isinff(0);
33971   ;
33972   return 0;
33973 }
33974 _ACEOF
33975 if ac_fn_cxx_try_compile "$LINENO"; then :
33976   glibcxx_cv_func_isinff_use=yes
33977 else
33978   glibcxx_cv_func_isinff_use=no
33979 fi
33980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33981       ac_ext=c
33982 ac_cpp='$CPP $CPPFLAGS'
33983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33986
33987
33988 fi
33989
33990   fi
33991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33992 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33993
33994   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33995     for ac_func in isinff
33996 do :
33997   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33998 if test "x$ac_cv_func_isinff" = x""yes; then :
33999   cat >>confdefs.h <<_ACEOF
34000 #define HAVE_ISINFF 1
34001 _ACEOF
34002
34003 fi
34004 done
34005
34006   else
34007
34008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34009 $as_echo_n "checking for _isinff declaration... " >&6; }
34010   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34011     if test "${glibcxx_cv_func__isinff_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                       #ifdef HAVE_IEEEFP_H
34026                       #include <ieeefp.h>
34027                       #endif
34028
34029 int
34030 main ()
34031 {
34032  _isinff(0);
34033   ;
34034   return 0;
34035 }
34036 _ACEOF
34037 if ac_fn_cxx_try_compile "$LINENO"; then :
34038   glibcxx_cv_func__isinff_use=yes
34039 else
34040   glibcxx_cv_func__isinff_use=no
34041 fi
34042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34043       ac_ext=c
34044 ac_cpp='$CPP $CPPFLAGS'
34045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34048
34049
34050 fi
34051
34052   fi
34053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34054 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34055
34056     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34057       for ac_func in _isinff
34058 do :
34059   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34060 if test "x$ac_cv_func__isinff" = x""yes; then :
34061   cat >>confdefs.h <<_ACEOF
34062 #define HAVE__ISINFF 1
34063 _ACEOF
34064
34065 fi
34066 done
34067
34068     fi
34069   fi
34070
34071
34072
34073
34074
34075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34076 $as_echo_n "checking for atan2f declaration... " >&6; }
34077   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34078     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34079   $as_echo_n "(cached) " >&6
34080 else
34081
34082
34083       ac_ext=cpp
34084 ac_cpp='$CXXCPP $CPPFLAGS'
34085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34088
34089       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34090 /* end confdefs.h.  */
34091 #include <math.h>
34092 int
34093 main ()
34094 {
34095  atan2f(0, 0);
34096   ;
34097   return 0;
34098 }
34099 _ACEOF
34100 if ac_fn_cxx_try_compile "$LINENO"; then :
34101   glibcxx_cv_func_atan2f_use=yes
34102 else
34103   glibcxx_cv_func_atan2f_use=no
34104 fi
34105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34106       ac_ext=c
34107 ac_cpp='$CPP $CPPFLAGS'
34108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34111
34112
34113 fi
34114
34115   fi
34116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34117 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34118
34119   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34120     for ac_func in atan2f
34121 do :
34122   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34123 if test "x$ac_cv_func_atan2f" = x""yes; then :
34124   cat >>confdefs.h <<_ACEOF
34125 #define HAVE_ATAN2F 1
34126 _ACEOF
34127
34128 fi
34129 done
34130
34131   else
34132
34133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34134 $as_echo_n "checking for _atan2f declaration... " >&6; }
34135   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34136     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34137   $as_echo_n "(cached) " >&6
34138 else
34139
34140
34141       ac_ext=cpp
34142 ac_cpp='$CXXCPP $CPPFLAGS'
34143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34146
34147       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34148 /* end confdefs.h.  */
34149 #include <math.h>
34150 int
34151 main ()
34152 {
34153  _atan2f(0, 0);
34154   ;
34155   return 0;
34156 }
34157 _ACEOF
34158 if ac_fn_cxx_try_compile "$LINENO"; then :
34159   glibcxx_cv_func__atan2f_use=yes
34160 else
34161   glibcxx_cv_func__atan2f_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__atan2f_use" >&5
34175 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34176
34177     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34178       for ac_func in _atan2f
34179 do :
34180   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34181 if test "x$ac_cv_func__atan2f" = x""yes; then :
34182   cat >>confdefs.h <<_ACEOF
34183 #define HAVE__ATAN2F 1
34184 _ACEOF
34185
34186 fi
34187 done
34188
34189     fi
34190   fi
34191
34192
34193
34194
34195
34196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34197 $as_echo_n "checking for fabsf declaration... " >&6; }
34198   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34199     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34200   $as_echo_n "(cached) " >&6
34201 else
34202
34203
34204       ac_ext=cpp
34205 ac_cpp='$CXXCPP $CPPFLAGS'
34206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34209
34210       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34211 /* end confdefs.h.  */
34212 #include <math.h>
34213                       #ifdef HAVE_IEEEFP_H
34214                       #include <ieeefp.h>
34215                       #endif
34216
34217 int
34218 main ()
34219 {
34220  fabsf(0);
34221   ;
34222   return 0;
34223 }
34224 _ACEOF
34225 if ac_fn_cxx_try_compile "$LINENO"; then :
34226   glibcxx_cv_func_fabsf_use=yes
34227 else
34228   glibcxx_cv_func_fabsf_use=no
34229 fi
34230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34231       ac_ext=c
34232 ac_cpp='$CPP $CPPFLAGS'
34233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34236
34237
34238 fi
34239
34240   fi
34241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34242 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34243
34244   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34245     for ac_func in fabsf
34246 do :
34247   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34248 if test "x$ac_cv_func_fabsf" = x""yes; then :
34249   cat >>confdefs.h <<_ACEOF
34250 #define HAVE_FABSF 1
34251 _ACEOF
34252
34253 fi
34254 done
34255
34256   else
34257
34258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34259 $as_echo_n "checking for _fabsf declaration... " >&6; }
34260   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34261     if test "${glibcxx_cv_func__fabsf_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                       #ifdef HAVE_IEEEFP_H
34276                       #include <ieeefp.h>
34277                       #endif
34278
34279 int
34280 main ()
34281 {
34282  _fabsf(0);
34283   ;
34284   return 0;
34285 }
34286 _ACEOF
34287 if ac_fn_cxx_try_compile "$LINENO"; then :
34288   glibcxx_cv_func__fabsf_use=yes
34289 else
34290   glibcxx_cv_func__fabsf_use=no
34291 fi
34292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34293       ac_ext=c
34294 ac_cpp='$CPP $CPPFLAGS'
34295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34298
34299
34300 fi
34301
34302   fi
34303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34304 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34305
34306     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34307       for ac_func in _fabsf
34308 do :
34309   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34310 if test "x$ac_cv_func__fabsf" = x""yes; then :
34311   cat >>confdefs.h <<_ACEOF
34312 #define HAVE__FABSF 1
34313 _ACEOF
34314
34315 fi
34316 done
34317
34318     fi
34319   fi
34320
34321
34322
34323
34324
34325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34326 $as_echo_n "checking for fmodf declaration... " >&6; }
34327   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34328     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34329   $as_echo_n "(cached) " >&6
34330 else
34331
34332
34333       ac_ext=cpp
34334 ac_cpp='$CXXCPP $CPPFLAGS'
34335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34338
34339       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34340 /* end confdefs.h.  */
34341 #include <math.h>
34342 int
34343 main ()
34344 {
34345  fmodf(0, 0);
34346   ;
34347   return 0;
34348 }
34349 _ACEOF
34350 if ac_fn_cxx_try_compile "$LINENO"; then :
34351   glibcxx_cv_func_fmodf_use=yes
34352 else
34353   glibcxx_cv_func_fmodf_use=no
34354 fi
34355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34356       ac_ext=c
34357 ac_cpp='$CPP $CPPFLAGS'
34358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34361
34362
34363 fi
34364
34365   fi
34366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34367 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34368
34369   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34370     for ac_func in fmodf
34371 do :
34372   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34373 if test "x$ac_cv_func_fmodf" = x""yes; then :
34374   cat >>confdefs.h <<_ACEOF
34375 #define HAVE_FMODF 1
34376 _ACEOF
34377
34378 fi
34379 done
34380
34381   else
34382
34383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34384 $as_echo_n "checking for _fmodf declaration... " >&6; }
34385   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34386     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34387   $as_echo_n "(cached) " >&6
34388 else
34389
34390
34391       ac_ext=cpp
34392 ac_cpp='$CXXCPP $CPPFLAGS'
34393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34396
34397       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34398 /* end confdefs.h.  */
34399 #include <math.h>
34400 int
34401 main ()
34402 {
34403  _fmodf(0, 0);
34404   ;
34405   return 0;
34406 }
34407 _ACEOF
34408 if ac_fn_cxx_try_compile "$LINENO"; then :
34409   glibcxx_cv_func__fmodf_use=yes
34410 else
34411   glibcxx_cv_func__fmodf_use=no
34412 fi
34413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34414       ac_ext=c
34415 ac_cpp='$CPP $CPPFLAGS'
34416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34419
34420
34421 fi
34422
34423   fi
34424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34425 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34426
34427     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34428       for ac_func in _fmodf
34429 do :
34430   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34431 if test "x$ac_cv_func__fmodf" = x""yes; then :
34432   cat >>confdefs.h <<_ACEOF
34433 #define HAVE__FMODF 1
34434 _ACEOF
34435
34436 fi
34437 done
34438
34439     fi
34440   fi
34441
34442
34443
34444
34445
34446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34447 $as_echo_n "checking for frexpf declaration... " >&6; }
34448   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34449     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34450   $as_echo_n "(cached) " >&6
34451 else
34452
34453
34454       ac_ext=cpp
34455 ac_cpp='$CXXCPP $CPPFLAGS'
34456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34459
34460       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34461 /* end confdefs.h.  */
34462 #include <math.h>
34463 int
34464 main ()
34465 {
34466  frexpf(0, 0);
34467   ;
34468   return 0;
34469 }
34470 _ACEOF
34471 if ac_fn_cxx_try_compile "$LINENO"; then :
34472   glibcxx_cv_func_frexpf_use=yes
34473 else
34474   glibcxx_cv_func_frexpf_use=no
34475 fi
34476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34477       ac_ext=c
34478 ac_cpp='$CPP $CPPFLAGS'
34479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34482
34483
34484 fi
34485
34486   fi
34487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34488 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34489
34490   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34491     for ac_func in frexpf
34492 do :
34493   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34494 if test "x$ac_cv_func_frexpf" = x""yes; then :
34495   cat >>confdefs.h <<_ACEOF
34496 #define HAVE_FREXPF 1
34497 _ACEOF
34498
34499 fi
34500 done
34501
34502   else
34503
34504   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34505 $as_echo_n "checking for _frexpf declaration... " >&6; }
34506   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34507     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34508   $as_echo_n "(cached) " >&6
34509 else
34510
34511
34512       ac_ext=cpp
34513 ac_cpp='$CXXCPP $CPPFLAGS'
34514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34517
34518       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34519 /* end confdefs.h.  */
34520 #include <math.h>
34521 int
34522 main ()
34523 {
34524  _frexpf(0, 0);
34525   ;
34526   return 0;
34527 }
34528 _ACEOF
34529 if ac_fn_cxx_try_compile "$LINENO"; then :
34530   glibcxx_cv_func__frexpf_use=yes
34531 else
34532   glibcxx_cv_func__frexpf_use=no
34533 fi
34534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34535       ac_ext=c
34536 ac_cpp='$CPP $CPPFLAGS'
34537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34540
34541
34542 fi
34543
34544   fi
34545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34546 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34547
34548     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34549       for ac_func in _frexpf
34550 do :
34551   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34552 if test "x$ac_cv_func__frexpf" = x""yes; then :
34553   cat >>confdefs.h <<_ACEOF
34554 #define HAVE__FREXPF 1
34555 _ACEOF
34556
34557 fi
34558 done
34559
34560     fi
34561   fi
34562
34563
34564
34565
34566
34567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34568 $as_echo_n "checking for hypotf declaration... " >&6; }
34569   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34570     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34571   $as_echo_n "(cached) " >&6
34572 else
34573
34574
34575       ac_ext=cpp
34576 ac_cpp='$CXXCPP $CPPFLAGS'
34577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34580
34581       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34582 /* end confdefs.h.  */
34583 #include <math.h>
34584 int
34585 main ()
34586 {
34587  hypotf(0, 0);
34588   ;
34589   return 0;
34590 }
34591 _ACEOF
34592 if ac_fn_cxx_try_compile "$LINENO"; then :
34593   glibcxx_cv_func_hypotf_use=yes
34594 else
34595   glibcxx_cv_func_hypotf_use=no
34596 fi
34597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34598       ac_ext=c
34599 ac_cpp='$CPP $CPPFLAGS'
34600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34603
34604
34605 fi
34606
34607   fi
34608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34609 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34610
34611   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34612     for ac_func in hypotf
34613 do :
34614   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34615 if test "x$ac_cv_func_hypotf" = x""yes; then :
34616   cat >>confdefs.h <<_ACEOF
34617 #define HAVE_HYPOTF 1
34618 _ACEOF
34619
34620 fi
34621 done
34622
34623   else
34624
34625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34626 $as_echo_n "checking for _hypotf declaration... " >&6; }
34627   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34628     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34629   $as_echo_n "(cached) " >&6
34630 else
34631
34632
34633       ac_ext=cpp
34634 ac_cpp='$CXXCPP $CPPFLAGS'
34635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34638
34639       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34640 /* end confdefs.h.  */
34641 #include <math.h>
34642 int
34643 main ()
34644 {
34645  _hypotf(0, 0);
34646   ;
34647   return 0;
34648 }
34649 _ACEOF
34650 if ac_fn_cxx_try_compile "$LINENO"; then :
34651   glibcxx_cv_func__hypotf_use=yes
34652 else
34653   glibcxx_cv_func__hypotf_use=no
34654 fi
34655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34656       ac_ext=c
34657 ac_cpp='$CPP $CPPFLAGS'
34658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34661
34662
34663 fi
34664
34665   fi
34666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34667 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34668
34669     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34670       for ac_func in _hypotf
34671 do :
34672   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34673 if test "x$ac_cv_func__hypotf" = x""yes; then :
34674   cat >>confdefs.h <<_ACEOF
34675 #define HAVE__HYPOTF 1
34676 _ACEOF
34677
34678 fi
34679 done
34680
34681     fi
34682   fi
34683
34684
34685
34686
34687
34688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34689 $as_echo_n "checking for ldexpf declaration... " >&6; }
34690   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34691     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34692   $as_echo_n "(cached) " >&6
34693 else
34694
34695
34696       ac_ext=cpp
34697 ac_cpp='$CXXCPP $CPPFLAGS'
34698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34701
34702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34703 /* end confdefs.h.  */
34704 #include <math.h>
34705 int
34706 main ()
34707 {
34708  ldexpf(0, 0);
34709   ;
34710   return 0;
34711 }
34712 _ACEOF
34713 if ac_fn_cxx_try_compile "$LINENO"; then :
34714   glibcxx_cv_func_ldexpf_use=yes
34715 else
34716   glibcxx_cv_func_ldexpf_use=no
34717 fi
34718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34719       ac_ext=c
34720 ac_cpp='$CPP $CPPFLAGS'
34721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34724
34725
34726 fi
34727
34728   fi
34729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34730 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34731
34732   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34733     for ac_func in ldexpf
34734 do :
34735   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34736 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34737   cat >>confdefs.h <<_ACEOF
34738 #define HAVE_LDEXPF 1
34739 _ACEOF
34740
34741 fi
34742 done
34743
34744   else
34745
34746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34747 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34748   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34749     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34750   $as_echo_n "(cached) " >&6
34751 else
34752
34753
34754       ac_ext=cpp
34755 ac_cpp='$CXXCPP $CPPFLAGS'
34756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34759
34760       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34761 /* end confdefs.h.  */
34762 #include <math.h>
34763 int
34764 main ()
34765 {
34766  _ldexpf(0, 0);
34767   ;
34768   return 0;
34769 }
34770 _ACEOF
34771 if ac_fn_cxx_try_compile "$LINENO"; then :
34772   glibcxx_cv_func__ldexpf_use=yes
34773 else
34774   glibcxx_cv_func__ldexpf_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__ldexpf_use" >&5
34788 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34789
34790     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34791       for ac_func in _ldexpf
34792 do :
34793   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34794 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34795   cat >>confdefs.h <<_ACEOF
34796 #define HAVE__LDEXPF 1
34797 _ACEOF
34798
34799 fi
34800 done
34801
34802     fi
34803   fi
34804
34805
34806
34807
34808
34809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34810 $as_echo_n "checking for logf declaration... " >&6; }
34811   if test x${glibcxx_cv_func_logf_use+set} != xset; then
34812     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34813   $as_echo_n "(cached) " >&6
34814 else
34815
34816
34817       ac_ext=cpp
34818 ac_cpp='$CXXCPP $CPPFLAGS'
34819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34822
34823       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34824 /* end confdefs.h.  */
34825 #include <math.h>
34826                       #ifdef HAVE_IEEEFP_H
34827                       #include <ieeefp.h>
34828                       #endif
34829
34830 int
34831 main ()
34832 {
34833  logf(0);
34834   ;
34835   return 0;
34836 }
34837 _ACEOF
34838 if ac_fn_cxx_try_compile "$LINENO"; then :
34839   glibcxx_cv_func_logf_use=yes
34840 else
34841   glibcxx_cv_func_logf_use=no
34842 fi
34843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34844       ac_ext=c
34845 ac_cpp='$CPP $CPPFLAGS'
34846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34849
34850
34851 fi
34852
34853   fi
34854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34855 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34856
34857   if test x$glibcxx_cv_func_logf_use = x"yes"; then
34858     for ac_func in logf
34859 do :
34860   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34861 if test "x$ac_cv_func_logf" = x""yes; then :
34862   cat >>confdefs.h <<_ACEOF
34863 #define HAVE_LOGF 1
34864 _ACEOF
34865
34866 fi
34867 done
34868
34869   else
34870
34871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34872 $as_echo_n "checking for _logf declaration... " >&6; }
34873   if test x${glibcxx_cv_func__logf_use+set} != xset; then
34874     if test "${glibcxx_cv_func__logf_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  _logf(0);
34896   ;
34897   return 0;
34898 }
34899 _ACEOF
34900 if ac_fn_cxx_try_compile "$LINENO"; then :
34901   glibcxx_cv_func__logf_use=yes
34902 else
34903   glibcxx_cv_func__logf_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__logf_use" >&5
34917 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34918
34919     if test x$glibcxx_cv_func__logf_use = x"yes"; then
34920       for ac_func in _logf
34921 do :
34922   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34923 if test "x$ac_cv_func__logf" = x""yes; then :
34924   cat >>confdefs.h <<_ACEOF
34925 #define HAVE__LOGF 1
34926 _ACEOF
34927
34928 fi
34929 done
34930
34931     fi
34932   fi
34933
34934
34935
34936
34937
34938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34939 $as_echo_n "checking for log10f declaration... " >&6; }
34940   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34941     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34942   $as_echo_n "(cached) " >&6
34943 else
34944
34945
34946       ac_ext=cpp
34947 ac_cpp='$CXXCPP $CPPFLAGS'
34948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34951
34952       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34953 /* end confdefs.h.  */
34954 #include <math.h>
34955                       #ifdef HAVE_IEEEFP_H
34956                       #include <ieeefp.h>
34957                       #endif
34958
34959 int
34960 main ()
34961 {
34962  log10f(0);
34963   ;
34964   return 0;
34965 }
34966 _ACEOF
34967 if ac_fn_cxx_try_compile "$LINENO"; then :
34968   glibcxx_cv_func_log10f_use=yes
34969 else
34970   glibcxx_cv_func_log10f_use=no
34971 fi
34972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34973       ac_ext=c
34974 ac_cpp='$CPP $CPPFLAGS'
34975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34978
34979
34980 fi
34981
34982   fi
34983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34984 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34985
34986   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34987     for ac_func in log10f
34988 do :
34989   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34990 if test "x$ac_cv_func_log10f" = x""yes; then :
34991   cat >>confdefs.h <<_ACEOF
34992 #define HAVE_LOG10F 1
34993 _ACEOF
34994
34995 fi
34996 done
34997
34998   else
34999
35000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35001 $as_echo_n "checking for _log10f declaration... " >&6; }
35002   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35003     if test "${glibcxx_cv_func__log10f_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                       #ifdef HAVE_IEEEFP_H
35018                       #include <ieeefp.h>
35019                       #endif
35020
35021 int
35022 main ()
35023 {
35024  _log10f(0);
35025   ;
35026   return 0;
35027 }
35028 _ACEOF
35029 if ac_fn_cxx_try_compile "$LINENO"; then :
35030   glibcxx_cv_func__log10f_use=yes
35031 else
35032   glibcxx_cv_func__log10f_use=no
35033 fi
35034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35035       ac_ext=c
35036 ac_cpp='$CPP $CPPFLAGS'
35037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35040
35041
35042 fi
35043
35044   fi
35045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35046 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35047
35048     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35049       for ac_func in _log10f
35050 do :
35051   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35052 if test "x$ac_cv_func__log10f" = x""yes; then :
35053   cat >>confdefs.h <<_ACEOF
35054 #define HAVE__LOG10F 1
35055 _ACEOF
35056
35057 fi
35058 done
35059
35060     fi
35061   fi
35062
35063
35064
35065
35066
35067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35068 $as_echo_n "checking for modff declaration... " >&6; }
35069   if test x${glibcxx_cv_func_modff_use+set} != xset; then
35070     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35071   $as_echo_n "(cached) " >&6
35072 else
35073
35074
35075       ac_ext=cpp
35076 ac_cpp='$CXXCPP $CPPFLAGS'
35077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35080
35081       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35082 /* end confdefs.h.  */
35083 #include <math.h>
35084 int
35085 main ()
35086 {
35087  modff(0, 0);
35088   ;
35089   return 0;
35090 }
35091 _ACEOF
35092 if ac_fn_cxx_try_compile "$LINENO"; then :
35093   glibcxx_cv_func_modff_use=yes
35094 else
35095   glibcxx_cv_func_modff_use=no
35096 fi
35097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35098       ac_ext=c
35099 ac_cpp='$CPP $CPPFLAGS'
35100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35103
35104
35105 fi
35106
35107   fi
35108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35109 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35110
35111   if test x$glibcxx_cv_func_modff_use = x"yes"; then
35112     for ac_func in modff
35113 do :
35114   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35115 if test "x$ac_cv_func_modff" = x""yes; then :
35116   cat >>confdefs.h <<_ACEOF
35117 #define HAVE_MODFF 1
35118 _ACEOF
35119
35120 fi
35121 done
35122
35123   else
35124
35125   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35126 $as_echo_n "checking for _modff declaration... " >&6; }
35127   if test x${glibcxx_cv_func__modff_use+set} != xset; then
35128     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35129   $as_echo_n "(cached) " >&6
35130 else
35131
35132
35133       ac_ext=cpp
35134 ac_cpp='$CXXCPP $CPPFLAGS'
35135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35138
35139       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35140 /* end confdefs.h.  */
35141 #include <math.h>
35142 int
35143 main ()
35144 {
35145  _modff(0, 0);
35146   ;
35147   return 0;
35148 }
35149 _ACEOF
35150 if ac_fn_cxx_try_compile "$LINENO"; then :
35151   glibcxx_cv_func__modff_use=yes
35152 else
35153   glibcxx_cv_func__modff_use=no
35154 fi
35155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35156       ac_ext=c
35157 ac_cpp='$CPP $CPPFLAGS'
35158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35161
35162
35163 fi
35164
35165   fi
35166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35167 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35168
35169     if test x$glibcxx_cv_func__modff_use = x"yes"; then
35170       for ac_func in _modff
35171 do :
35172   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35173 if test "x$ac_cv_func__modff" = x""yes; then :
35174   cat >>confdefs.h <<_ACEOF
35175 #define HAVE__MODFF 1
35176 _ACEOF
35177
35178 fi
35179 done
35180
35181     fi
35182   fi
35183
35184
35185
35186
35187
35188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35189 $as_echo_n "checking for modf declaration... " >&6; }
35190   if test x${glibcxx_cv_func_modf_use+set} != xset; then
35191     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35192   $as_echo_n "(cached) " >&6
35193 else
35194
35195
35196       ac_ext=cpp
35197 ac_cpp='$CXXCPP $CPPFLAGS'
35198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35201
35202       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35203 /* end confdefs.h.  */
35204 #include <math.h>
35205 int
35206 main ()
35207 {
35208  modf(0, 0);
35209   ;
35210   return 0;
35211 }
35212 _ACEOF
35213 if ac_fn_cxx_try_compile "$LINENO"; then :
35214   glibcxx_cv_func_modf_use=yes
35215 else
35216   glibcxx_cv_func_modf_use=no
35217 fi
35218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35219       ac_ext=c
35220 ac_cpp='$CPP $CPPFLAGS'
35221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35224
35225
35226 fi
35227
35228   fi
35229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35230 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35231
35232   if test x$glibcxx_cv_func_modf_use = x"yes"; then
35233     for ac_func in modf
35234 do :
35235   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35236 if test "x$ac_cv_func_modf" = x""yes; then :
35237   cat >>confdefs.h <<_ACEOF
35238 #define HAVE_MODF 1
35239 _ACEOF
35240
35241 fi
35242 done
35243
35244   else
35245
35246   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35247 $as_echo_n "checking for _modf declaration... " >&6; }
35248   if test x${glibcxx_cv_func__modf_use+set} != xset; then
35249     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35250   $as_echo_n "(cached) " >&6
35251 else
35252
35253
35254       ac_ext=cpp
35255 ac_cpp='$CXXCPP $CPPFLAGS'
35256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35259
35260       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35261 /* end confdefs.h.  */
35262 #include <math.h>
35263 int
35264 main ()
35265 {
35266  _modf(0, 0);
35267   ;
35268   return 0;
35269 }
35270 _ACEOF
35271 if ac_fn_cxx_try_compile "$LINENO"; then :
35272   glibcxx_cv_func__modf_use=yes
35273 else
35274   glibcxx_cv_func__modf_use=no
35275 fi
35276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35277       ac_ext=c
35278 ac_cpp='$CPP $CPPFLAGS'
35279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35282
35283
35284 fi
35285
35286   fi
35287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35288 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35289
35290     if test x$glibcxx_cv_func__modf_use = x"yes"; then
35291       for ac_func in _modf
35292 do :
35293   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35294 if test "x$ac_cv_func__modf" = x""yes; then :
35295   cat >>confdefs.h <<_ACEOF
35296 #define HAVE__MODF 1
35297 _ACEOF
35298
35299 fi
35300 done
35301
35302     fi
35303   fi
35304
35305
35306
35307
35308
35309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35310 $as_echo_n "checking for powf declaration... " >&6; }
35311   if test x${glibcxx_cv_func_powf_use+set} != xset; then
35312     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35313   $as_echo_n "(cached) " >&6
35314 else
35315
35316
35317       ac_ext=cpp
35318 ac_cpp='$CXXCPP $CPPFLAGS'
35319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35322
35323       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35324 /* end confdefs.h.  */
35325 #include <math.h>
35326 int
35327 main ()
35328 {
35329  powf(0, 0);
35330   ;
35331   return 0;
35332 }
35333 _ACEOF
35334 if ac_fn_cxx_try_compile "$LINENO"; then :
35335   glibcxx_cv_func_powf_use=yes
35336 else
35337   glibcxx_cv_func_powf_use=no
35338 fi
35339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35340       ac_ext=c
35341 ac_cpp='$CPP $CPPFLAGS'
35342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35345
35346
35347 fi
35348
35349   fi
35350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35351 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35352
35353   if test x$glibcxx_cv_func_powf_use = x"yes"; then
35354     for ac_func in powf
35355 do :
35356   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35357 if test "x$ac_cv_func_powf" = x""yes; then :
35358   cat >>confdefs.h <<_ACEOF
35359 #define HAVE_POWF 1
35360 _ACEOF
35361
35362 fi
35363 done
35364
35365   else
35366
35367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35368 $as_echo_n "checking for _powf declaration... " >&6; }
35369   if test x${glibcxx_cv_func__powf_use+set} != xset; then
35370     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35371   $as_echo_n "(cached) " >&6
35372 else
35373
35374
35375       ac_ext=cpp
35376 ac_cpp='$CXXCPP $CPPFLAGS'
35377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35380
35381       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35382 /* end confdefs.h.  */
35383 #include <math.h>
35384 int
35385 main ()
35386 {
35387  _powf(0, 0);
35388   ;
35389   return 0;
35390 }
35391 _ACEOF
35392 if ac_fn_cxx_try_compile "$LINENO"; then :
35393   glibcxx_cv_func__powf_use=yes
35394 else
35395   glibcxx_cv_func__powf_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__powf_use" >&5
35409 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35410
35411     if test x$glibcxx_cv_func__powf_use = x"yes"; then
35412       for ac_func in _powf
35413 do :
35414   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35415 if test "x$ac_cv_func__powf" = x""yes; then :
35416   cat >>confdefs.h <<_ACEOF
35417 #define HAVE__POWF 1
35418 _ACEOF
35419
35420 fi
35421 done
35422
35423     fi
35424   fi
35425
35426
35427
35428
35429
35430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35431 $as_echo_n "checking for sqrtf declaration... " >&6; }
35432   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35433     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35434   $as_echo_n "(cached) " >&6
35435 else
35436
35437
35438       ac_ext=cpp
35439 ac_cpp='$CXXCPP $CPPFLAGS'
35440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35443
35444       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35445 /* end confdefs.h.  */
35446 #include <math.h>
35447                       #ifdef HAVE_IEEEFP_H
35448                       #include <ieeefp.h>
35449                       #endif
35450
35451 int
35452 main ()
35453 {
35454  sqrtf(0);
35455   ;
35456   return 0;
35457 }
35458 _ACEOF
35459 if ac_fn_cxx_try_compile "$LINENO"; then :
35460   glibcxx_cv_func_sqrtf_use=yes
35461 else
35462   glibcxx_cv_func_sqrtf_use=no
35463 fi
35464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35465       ac_ext=c
35466 ac_cpp='$CPP $CPPFLAGS'
35467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35470
35471
35472 fi
35473
35474   fi
35475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35476 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35477
35478   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35479     for ac_func in sqrtf
35480 do :
35481   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35482 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35483   cat >>confdefs.h <<_ACEOF
35484 #define HAVE_SQRTF 1
35485 _ACEOF
35486
35487 fi
35488 done
35489
35490   else
35491
35492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35493 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35494   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35495     if test "${glibcxx_cv_func__sqrtf_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                       #ifdef HAVE_IEEEFP_H
35510                       #include <ieeefp.h>
35511                       #endif
35512
35513 int
35514 main ()
35515 {
35516  _sqrtf(0);
35517   ;
35518   return 0;
35519 }
35520 _ACEOF
35521 if ac_fn_cxx_try_compile "$LINENO"; then :
35522   glibcxx_cv_func__sqrtf_use=yes
35523 else
35524   glibcxx_cv_func__sqrtf_use=no
35525 fi
35526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35527       ac_ext=c
35528 ac_cpp='$CPP $CPPFLAGS'
35529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35532
35533
35534 fi
35535
35536   fi
35537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35538 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35539
35540     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35541       for ac_func in _sqrtf
35542 do :
35543   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35544 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35545   cat >>confdefs.h <<_ACEOF
35546 #define HAVE__SQRTF 1
35547 _ACEOF
35548
35549 fi
35550 done
35551
35552     fi
35553   fi
35554
35555
35556
35557
35558
35559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35560 $as_echo_n "checking for sincosf declaration... " >&6; }
35561   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35562     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35563   $as_echo_n "(cached) " >&6
35564 else
35565
35566
35567       ac_ext=cpp
35568 ac_cpp='$CXXCPP $CPPFLAGS'
35569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35572
35573       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35574 /* end confdefs.h.  */
35575 #include <math.h>
35576 int
35577 main ()
35578 {
35579  sincosf(0, 0, 0);
35580   ;
35581   return 0;
35582 }
35583 _ACEOF
35584 if ac_fn_cxx_try_compile "$LINENO"; then :
35585   glibcxx_cv_func_sincosf_use=yes
35586 else
35587   glibcxx_cv_func_sincosf_use=no
35588 fi
35589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35590       ac_ext=c
35591 ac_cpp='$CPP $CPPFLAGS'
35592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35595
35596
35597 fi
35598
35599   fi
35600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35601 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35602
35603   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35604     for ac_func in sincosf
35605 do :
35606   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35607 if test "x$ac_cv_func_sincosf" = x""yes; then :
35608   cat >>confdefs.h <<_ACEOF
35609 #define HAVE_SINCOSF 1
35610 _ACEOF
35611
35612 fi
35613 done
35614
35615   else
35616
35617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35618 $as_echo_n "checking for _sincosf declaration... " >&6; }
35619   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35620     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35621   $as_echo_n "(cached) " >&6
35622 else
35623
35624
35625       ac_ext=cpp
35626 ac_cpp='$CXXCPP $CPPFLAGS'
35627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35630
35631       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35632 /* end confdefs.h.  */
35633 #include <math.h>
35634 int
35635 main ()
35636 {
35637  _sincosf(0, 0, 0);
35638   ;
35639   return 0;
35640 }
35641 _ACEOF
35642 if ac_fn_cxx_try_compile "$LINENO"; then :
35643   glibcxx_cv_func__sincosf_use=yes
35644 else
35645   glibcxx_cv_func__sincosf_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__sincosf_use" >&5
35659 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35660
35661     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35662       for ac_func in _sincosf
35663 do :
35664   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35665 if test "x$ac_cv_func__sincosf" = x""yes; then :
35666   cat >>confdefs.h <<_ACEOF
35667 #define HAVE__SINCOSF 1
35668 _ACEOF
35669
35670 fi
35671 done
35672
35673     fi
35674   fi
35675
35676
35677
35678
35679
35680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35681 $as_echo_n "checking for finitef declaration... " >&6; }
35682   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35683     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35684   $as_echo_n "(cached) " >&6
35685 else
35686
35687
35688       ac_ext=cpp
35689 ac_cpp='$CXXCPP $CPPFLAGS'
35690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35693
35694       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35695 /* end confdefs.h.  */
35696 #include <math.h>
35697                       #ifdef HAVE_IEEEFP_H
35698                       #include <ieeefp.h>
35699                       #endif
35700
35701 int
35702 main ()
35703 {
35704  finitef(0);
35705   ;
35706   return 0;
35707 }
35708 _ACEOF
35709 if ac_fn_cxx_try_compile "$LINENO"; then :
35710   glibcxx_cv_func_finitef_use=yes
35711 else
35712   glibcxx_cv_func_finitef_use=no
35713 fi
35714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35715       ac_ext=c
35716 ac_cpp='$CPP $CPPFLAGS'
35717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35720
35721
35722 fi
35723
35724   fi
35725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35726 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35727
35728   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35729     for ac_func in finitef
35730 do :
35731   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35732 if test "x$ac_cv_func_finitef" = x""yes; then :
35733   cat >>confdefs.h <<_ACEOF
35734 #define HAVE_FINITEF 1
35735 _ACEOF
35736
35737 fi
35738 done
35739
35740   else
35741
35742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35743 $as_echo_n "checking for _finitef declaration... " >&6; }
35744   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35745     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35746   $as_echo_n "(cached) " >&6
35747 else
35748
35749
35750       ac_ext=cpp
35751 ac_cpp='$CXXCPP $CPPFLAGS'
35752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35755
35756       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35757 /* end confdefs.h.  */
35758 #include <math.h>
35759                       #ifdef HAVE_IEEEFP_H
35760                       #include <ieeefp.h>
35761                       #endif
35762
35763 int
35764 main ()
35765 {
35766  _finitef(0);
35767   ;
35768   return 0;
35769 }
35770 _ACEOF
35771 if ac_fn_cxx_try_compile "$LINENO"; then :
35772   glibcxx_cv_func__finitef_use=yes
35773 else
35774   glibcxx_cv_func__finitef_use=no
35775 fi
35776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35777       ac_ext=c
35778 ac_cpp='$CPP $CPPFLAGS'
35779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35782
35783
35784 fi
35785
35786   fi
35787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35788 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35789
35790     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35791       for ac_func in _finitef
35792 do :
35793   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35794 if test "x$ac_cv_func__finitef" = x""yes; then :
35795   cat >>confdefs.h <<_ACEOF
35796 #define HAVE__FINITEF 1
35797 _ACEOF
35798
35799 fi
35800 done
35801
35802     fi
35803   fi
35804
35805
35806
35807
35808
35809     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35810 $as_echo_n "checking for long double trig functions... " >&6; }
35811   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35812   $as_echo_n "(cached) " >&6
35813 else
35814
35815
35816     ac_ext=cpp
35817 ac_cpp='$CXXCPP $CPPFLAGS'
35818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35821
35822     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35823 /* end confdefs.h.  */
35824 #include <math.h>
35825 int
35826 main ()
35827 {
35828 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35829   ;
35830   return 0;
35831 }
35832 _ACEOF
35833 if ac_fn_cxx_try_compile "$LINENO"; then :
35834   glibcxx_cv_func_long_double_trig_use=yes
35835 else
35836   glibcxx_cv_func_long_double_trig_use=no
35837 fi
35838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35839     ac_ext=c
35840 ac_cpp='$CPP $CPPFLAGS'
35841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35844
35845 fi
35846
35847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35848 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35849   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35850     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35851 do :
35852   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35853 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35854 eval as_val=\$$as_ac_var
35855    if test "x$as_val" = x""yes; then :
35856   cat >>confdefs.h <<_ACEOF
35857 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35858 _ACEOF
35859
35860 fi
35861 done
35862
35863   else
35864     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35865 $as_echo_n "checking for _long double trig functions... " >&6; }
35866     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35867   $as_echo_n "(cached) " >&6
35868 else
35869
35870
35871       ac_ext=cpp
35872 ac_cpp='$CXXCPP $CPPFLAGS'
35873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35876
35877       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35878 /* end confdefs.h.  */
35879 #include <math.h>
35880 int
35881 main ()
35882 {
35883 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35884   ;
35885   return 0;
35886 }
35887 _ACEOF
35888 if ac_fn_cxx_try_compile "$LINENO"; then :
35889   glibcxx_cv_func__long_double_trig_use=yes
35890 else
35891   glibcxx_cv_func__long_double_trig_use=no
35892 fi
35893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35894       ac_ext=c
35895 ac_cpp='$CPP $CPPFLAGS'
35896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35899
35900 fi
35901
35902     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35903 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35904     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35905       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35906 do :
35907   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35908 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35909 eval as_val=\$$as_ac_var
35910    if test "x$as_val" = x""yes; then :
35911   cat >>confdefs.h <<_ACEOF
35912 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35913 _ACEOF
35914
35915 fi
35916 done
35917
35918     fi
35919   fi
35920
35921
35922
35923
35924
35925     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35926 $as_echo_n "checking for long double round functions... " >&6; }
35927   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35928   $as_echo_n "(cached) " >&6
35929 else
35930
35931
35932     ac_ext=cpp
35933 ac_cpp='$CXXCPP $CPPFLAGS'
35934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35937
35938     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35939 /* end confdefs.h.  */
35940 #include <math.h>
35941 int
35942 main ()
35943 {
35944 ceill (0); floorl (0);
35945   ;
35946   return 0;
35947 }
35948 _ACEOF
35949 if ac_fn_cxx_try_compile "$LINENO"; then :
35950   glibcxx_cv_func_long_double_round_use=yes
35951 else
35952   glibcxx_cv_func_long_double_round_use=no
35953 fi
35954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35955     ac_ext=c
35956 ac_cpp='$CPP $CPPFLAGS'
35957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35960
35961 fi
35962
35963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35964 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35965   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35966     for ac_func in ceill floorl
35967 do :
35968   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35969 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35970 eval as_val=\$$as_ac_var
35971    if test "x$as_val" = x""yes; then :
35972   cat >>confdefs.h <<_ACEOF
35973 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35974 _ACEOF
35975
35976 fi
35977 done
35978
35979   else
35980     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35981 $as_echo_n "checking for _long double round functions... " >&6; }
35982     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35983   $as_echo_n "(cached) " >&6
35984 else
35985
35986
35987       ac_ext=cpp
35988 ac_cpp='$CXXCPP $CPPFLAGS'
35989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35992
35993       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35994 /* end confdefs.h.  */
35995 #include <math.h>
35996 int
35997 main ()
35998 {
35999 _ceill (0); _floorl (0);
36000   ;
36001   return 0;
36002 }
36003 _ACEOF
36004 if ac_fn_cxx_try_compile "$LINENO"; then :
36005   glibcxx_cv_func__long_double_round_use=yes
36006 else
36007   glibcxx_cv_func__long_double_round_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 fi
36017
36018     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36019 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36020     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36021       for ac_func in _ceill _floorl
36022 do :
36023   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36024 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36025 eval as_val=\$$as_ac_var
36026    if test "x$as_val" = x""yes; then :
36027   cat >>confdefs.h <<_ACEOF
36028 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36029 _ACEOF
36030
36031 fi
36032 done
36033
36034     fi
36035   fi
36036
36037
36038
36039
36040
36041
36042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36043 $as_echo_n "checking for isnanl declaration... " >&6; }
36044   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36045     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36046   $as_echo_n "(cached) " >&6
36047 else
36048
36049
36050       ac_ext=cpp
36051 ac_cpp='$CXXCPP $CPPFLAGS'
36052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36055
36056       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36057 /* end confdefs.h.  */
36058 #include <math.h>
36059                       #ifdef HAVE_IEEEFP_H
36060                       #include <ieeefp.h>
36061                       #endif
36062
36063 int
36064 main ()
36065 {
36066  isnanl(0);
36067   ;
36068   return 0;
36069 }
36070 _ACEOF
36071 if ac_fn_cxx_try_compile "$LINENO"; then :
36072   glibcxx_cv_func_isnanl_use=yes
36073 else
36074   glibcxx_cv_func_isnanl_use=no
36075 fi
36076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36077       ac_ext=c
36078 ac_cpp='$CPP $CPPFLAGS'
36079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36082
36083
36084 fi
36085
36086   fi
36087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36088 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36089
36090   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36091     for ac_func in isnanl
36092 do :
36093   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36094 if test "x$ac_cv_func_isnanl" = x""yes; then :
36095   cat >>confdefs.h <<_ACEOF
36096 #define HAVE_ISNANL 1
36097 _ACEOF
36098
36099 fi
36100 done
36101
36102   else
36103
36104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36105 $as_echo_n "checking for _isnanl declaration... " >&6; }
36106   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36107     if test "${glibcxx_cv_func__isnanl_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  _isnanl(0);
36129   ;
36130   return 0;
36131 }
36132 _ACEOF
36133 if ac_fn_cxx_try_compile "$LINENO"; then :
36134   glibcxx_cv_func__isnanl_use=yes
36135 else
36136   glibcxx_cv_func__isnanl_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__isnanl_use" >&5
36150 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36151
36152     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36153       for ac_func in _isnanl
36154 do :
36155   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36156 if test "x$ac_cv_func__isnanl" = x""yes; then :
36157   cat >>confdefs.h <<_ACEOF
36158 #define HAVE__ISNANL 1
36159 _ACEOF
36160
36161 fi
36162 done
36163
36164     fi
36165   fi
36166
36167
36168
36169
36170
36171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36172 $as_echo_n "checking for isinfl declaration... " >&6; }
36173   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36174     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36175   $as_echo_n "(cached) " >&6
36176 else
36177
36178
36179       ac_ext=cpp
36180 ac_cpp='$CXXCPP $CPPFLAGS'
36181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36184
36185       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36186 /* end confdefs.h.  */
36187 #include <math.h>
36188                       #ifdef HAVE_IEEEFP_H
36189                       #include <ieeefp.h>
36190                       #endif
36191
36192 int
36193 main ()
36194 {
36195  isinfl(0);
36196   ;
36197   return 0;
36198 }
36199 _ACEOF
36200 if ac_fn_cxx_try_compile "$LINENO"; then :
36201   glibcxx_cv_func_isinfl_use=yes
36202 else
36203   glibcxx_cv_func_isinfl_use=no
36204 fi
36205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36206       ac_ext=c
36207 ac_cpp='$CPP $CPPFLAGS'
36208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36211
36212
36213 fi
36214
36215   fi
36216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36217 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36218
36219   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36220     for ac_func in isinfl
36221 do :
36222   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36223 if test "x$ac_cv_func_isinfl" = x""yes; then :
36224   cat >>confdefs.h <<_ACEOF
36225 #define HAVE_ISINFL 1
36226 _ACEOF
36227
36228 fi
36229 done
36230
36231   else
36232
36233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36234 $as_echo_n "checking for _isinfl declaration... " >&6; }
36235   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36236     if test "${glibcxx_cv_func__isinfl_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                       #ifdef HAVE_IEEEFP_H
36251                       #include <ieeefp.h>
36252                       #endif
36253
36254 int
36255 main ()
36256 {
36257  _isinfl(0);
36258   ;
36259   return 0;
36260 }
36261 _ACEOF
36262 if ac_fn_cxx_try_compile "$LINENO"; then :
36263   glibcxx_cv_func__isinfl_use=yes
36264 else
36265   glibcxx_cv_func__isinfl_use=no
36266 fi
36267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36268       ac_ext=c
36269 ac_cpp='$CPP $CPPFLAGS'
36270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36273
36274
36275 fi
36276
36277   fi
36278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36279 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36280
36281     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36282       for ac_func in _isinfl
36283 do :
36284   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36285 if test "x$ac_cv_func__isinfl" = x""yes; then :
36286   cat >>confdefs.h <<_ACEOF
36287 #define HAVE__ISINFL 1
36288 _ACEOF
36289
36290 fi
36291 done
36292
36293     fi
36294   fi
36295
36296
36297
36298
36299
36300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36301 $as_echo_n "checking for atan2l declaration... " >&6; }
36302   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36303     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36304   $as_echo_n "(cached) " >&6
36305 else
36306
36307
36308       ac_ext=cpp
36309 ac_cpp='$CXXCPP $CPPFLAGS'
36310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36313
36314       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36315 /* end confdefs.h.  */
36316 #include <math.h>
36317 int
36318 main ()
36319 {
36320  atan2l(0, 0);
36321   ;
36322   return 0;
36323 }
36324 _ACEOF
36325 if ac_fn_cxx_try_compile "$LINENO"; then :
36326   glibcxx_cv_func_atan2l_use=yes
36327 else
36328   glibcxx_cv_func_atan2l_use=no
36329 fi
36330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36331       ac_ext=c
36332 ac_cpp='$CPP $CPPFLAGS'
36333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36336
36337
36338 fi
36339
36340   fi
36341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36342 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36343
36344   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36345     for ac_func in atan2l
36346 do :
36347   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36348 if test "x$ac_cv_func_atan2l" = x""yes; then :
36349   cat >>confdefs.h <<_ACEOF
36350 #define HAVE_ATAN2L 1
36351 _ACEOF
36352
36353 fi
36354 done
36355
36356   else
36357
36358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36359 $as_echo_n "checking for _atan2l declaration... " >&6; }
36360   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36361     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36362   $as_echo_n "(cached) " >&6
36363 else
36364
36365
36366       ac_ext=cpp
36367 ac_cpp='$CXXCPP $CPPFLAGS'
36368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36371
36372       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36373 /* end confdefs.h.  */
36374 #include <math.h>
36375 int
36376 main ()
36377 {
36378  _atan2l(0, 0);
36379   ;
36380   return 0;
36381 }
36382 _ACEOF
36383 if ac_fn_cxx_try_compile "$LINENO"; then :
36384   glibcxx_cv_func__atan2l_use=yes
36385 else
36386   glibcxx_cv_func__atan2l_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__atan2l_use" >&5
36400 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36401
36402     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36403       for ac_func in _atan2l
36404 do :
36405   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36406 if test "x$ac_cv_func__atan2l" = x""yes; then :
36407   cat >>confdefs.h <<_ACEOF
36408 #define HAVE__ATAN2L 1
36409 _ACEOF
36410
36411 fi
36412 done
36413
36414     fi
36415   fi
36416
36417
36418
36419
36420
36421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36422 $as_echo_n "checking for expl declaration... " >&6; }
36423   if test x${glibcxx_cv_func_expl_use+set} != xset; then
36424     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36425   $as_echo_n "(cached) " >&6
36426 else
36427
36428
36429       ac_ext=cpp
36430 ac_cpp='$CXXCPP $CPPFLAGS'
36431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36434
36435       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36436 /* end confdefs.h.  */
36437 #include <math.h>
36438                       #ifdef HAVE_IEEEFP_H
36439                       #include <ieeefp.h>
36440                       #endif
36441
36442 int
36443 main ()
36444 {
36445  expl(0);
36446   ;
36447   return 0;
36448 }
36449 _ACEOF
36450 if ac_fn_cxx_try_compile "$LINENO"; then :
36451   glibcxx_cv_func_expl_use=yes
36452 else
36453   glibcxx_cv_func_expl_use=no
36454 fi
36455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36456       ac_ext=c
36457 ac_cpp='$CPP $CPPFLAGS'
36458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36461
36462
36463 fi
36464
36465   fi
36466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36467 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36468
36469   if test x$glibcxx_cv_func_expl_use = x"yes"; then
36470     for ac_func in expl
36471 do :
36472   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36473 if test "x$ac_cv_func_expl" = x""yes; then :
36474   cat >>confdefs.h <<_ACEOF
36475 #define HAVE_EXPL 1
36476 _ACEOF
36477
36478 fi
36479 done
36480
36481   else
36482
36483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36484 $as_echo_n "checking for _expl declaration... " >&6; }
36485   if test x${glibcxx_cv_func__expl_use+set} != xset; then
36486     if test "${glibcxx_cv_func__expl_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  _expl(0);
36508   ;
36509   return 0;
36510 }
36511 _ACEOF
36512 if ac_fn_cxx_try_compile "$LINENO"; then :
36513   glibcxx_cv_func__expl_use=yes
36514 else
36515   glibcxx_cv_func__expl_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__expl_use" >&5
36529 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36530
36531     if test x$glibcxx_cv_func__expl_use = x"yes"; then
36532       for ac_func in _expl
36533 do :
36534   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36535 if test "x$ac_cv_func__expl" = x""yes; then :
36536   cat >>confdefs.h <<_ACEOF
36537 #define HAVE__EXPL 1
36538 _ACEOF
36539
36540 fi
36541 done
36542
36543     fi
36544   fi
36545
36546
36547
36548
36549
36550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36551 $as_echo_n "checking for fabsl declaration... " >&6; }
36552   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36553     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36554   $as_echo_n "(cached) " >&6
36555 else
36556
36557
36558       ac_ext=cpp
36559 ac_cpp='$CXXCPP $CPPFLAGS'
36560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36563
36564       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36565 /* end confdefs.h.  */
36566 #include <math.h>
36567                       #ifdef HAVE_IEEEFP_H
36568                       #include <ieeefp.h>
36569                       #endif
36570
36571 int
36572 main ()
36573 {
36574  fabsl(0);
36575   ;
36576   return 0;
36577 }
36578 _ACEOF
36579 if ac_fn_cxx_try_compile "$LINENO"; then :
36580   glibcxx_cv_func_fabsl_use=yes
36581 else
36582   glibcxx_cv_func_fabsl_use=no
36583 fi
36584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36585       ac_ext=c
36586 ac_cpp='$CPP $CPPFLAGS'
36587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36590
36591
36592 fi
36593
36594   fi
36595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36596 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36597
36598   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36599     for ac_func in fabsl
36600 do :
36601   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36602 if test "x$ac_cv_func_fabsl" = x""yes; then :
36603   cat >>confdefs.h <<_ACEOF
36604 #define HAVE_FABSL 1
36605 _ACEOF
36606
36607 fi
36608 done
36609
36610   else
36611
36612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36613 $as_echo_n "checking for _fabsl declaration... " >&6; }
36614   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36615     if test "${glibcxx_cv_func__fabsl_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                       #ifdef HAVE_IEEEFP_H
36630                       #include <ieeefp.h>
36631                       #endif
36632
36633 int
36634 main ()
36635 {
36636  _fabsl(0);
36637   ;
36638   return 0;
36639 }
36640 _ACEOF
36641 if ac_fn_cxx_try_compile "$LINENO"; then :
36642   glibcxx_cv_func__fabsl_use=yes
36643 else
36644   glibcxx_cv_func__fabsl_use=no
36645 fi
36646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36647       ac_ext=c
36648 ac_cpp='$CPP $CPPFLAGS'
36649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36652
36653
36654 fi
36655
36656   fi
36657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36658 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36659
36660     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36661       for ac_func in _fabsl
36662 do :
36663   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36664 if test "x$ac_cv_func__fabsl" = x""yes; then :
36665   cat >>confdefs.h <<_ACEOF
36666 #define HAVE__FABSL 1
36667 _ACEOF
36668
36669 fi
36670 done
36671
36672     fi
36673   fi
36674
36675
36676
36677
36678
36679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36680 $as_echo_n "checking for fmodl declaration... " >&6; }
36681   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36682     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36683   $as_echo_n "(cached) " >&6
36684 else
36685
36686
36687       ac_ext=cpp
36688 ac_cpp='$CXXCPP $CPPFLAGS'
36689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36692
36693       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36694 /* end confdefs.h.  */
36695 #include <math.h>
36696 int
36697 main ()
36698 {
36699  fmodl(0, 0);
36700   ;
36701   return 0;
36702 }
36703 _ACEOF
36704 if ac_fn_cxx_try_compile "$LINENO"; then :
36705   glibcxx_cv_func_fmodl_use=yes
36706 else
36707   glibcxx_cv_func_fmodl_use=no
36708 fi
36709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36710       ac_ext=c
36711 ac_cpp='$CPP $CPPFLAGS'
36712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36715
36716
36717 fi
36718
36719   fi
36720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36721 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36722
36723   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36724     for ac_func in fmodl
36725 do :
36726   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36727 if test "x$ac_cv_func_fmodl" = x""yes; then :
36728   cat >>confdefs.h <<_ACEOF
36729 #define HAVE_FMODL 1
36730 _ACEOF
36731
36732 fi
36733 done
36734
36735   else
36736
36737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36738 $as_echo_n "checking for _fmodl declaration... " >&6; }
36739   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36740     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36741   $as_echo_n "(cached) " >&6
36742 else
36743
36744
36745       ac_ext=cpp
36746 ac_cpp='$CXXCPP $CPPFLAGS'
36747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36750
36751       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36752 /* end confdefs.h.  */
36753 #include <math.h>
36754 int
36755 main ()
36756 {
36757  _fmodl(0, 0);
36758   ;
36759   return 0;
36760 }
36761 _ACEOF
36762 if ac_fn_cxx_try_compile "$LINENO"; then :
36763   glibcxx_cv_func__fmodl_use=yes
36764 else
36765   glibcxx_cv_func__fmodl_use=no
36766 fi
36767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36768       ac_ext=c
36769 ac_cpp='$CPP $CPPFLAGS'
36770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36773
36774
36775 fi
36776
36777   fi
36778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36779 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36780
36781     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36782       for ac_func in _fmodl
36783 do :
36784   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36785 if test "x$ac_cv_func__fmodl" = x""yes; then :
36786   cat >>confdefs.h <<_ACEOF
36787 #define HAVE__FMODL 1
36788 _ACEOF
36789
36790 fi
36791 done
36792
36793     fi
36794   fi
36795
36796
36797
36798
36799
36800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36801 $as_echo_n "checking for frexpl declaration... " >&6; }
36802   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36803     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36804   $as_echo_n "(cached) " >&6
36805 else
36806
36807
36808       ac_ext=cpp
36809 ac_cpp='$CXXCPP $CPPFLAGS'
36810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36813
36814       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36815 /* end confdefs.h.  */
36816 #include <math.h>
36817 int
36818 main ()
36819 {
36820  frexpl(0, 0);
36821   ;
36822   return 0;
36823 }
36824 _ACEOF
36825 if ac_fn_cxx_try_compile "$LINENO"; then :
36826   glibcxx_cv_func_frexpl_use=yes
36827 else
36828   glibcxx_cv_func_frexpl_use=no
36829 fi
36830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36831       ac_ext=c
36832 ac_cpp='$CPP $CPPFLAGS'
36833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36836
36837
36838 fi
36839
36840   fi
36841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36842 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36843
36844   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36845     for ac_func in frexpl
36846 do :
36847   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36848 if test "x$ac_cv_func_frexpl" = x""yes; then :
36849   cat >>confdefs.h <<_ACEOF
36850 #define HAVE_FREXPL 1
36851 _ACEOF
36852
36853 fi
36854 done
36855
36856   else
36857
36858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36859 $as_echo_n "checking for _frexpl declaration... " >&6; }
36860   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36861     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36862   $as_echo_n "(cached) " >&6
36863 else
36864
36865
36866       ac_ext=cpp
36867 ac_cpp='$CXXCPP $CPPFLAGS'
36868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36871
36872       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36873 /* end confdefs.h.  */
36874 #include <math.h>
36875 int
36876 main ()
36877 {
36878  _frexpl(0, 0);
36879   ;
36880   return 0;
36881 }
36882 _ACEOF
36883 if ac_fn_cxx_try_compile "$LINENO"; then :
36884   glibcxx_cv_func__frexpl_use=yes
36885 else
36886   glibcxx_cv_func__frexpl_use=no
36887 fi
36888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36889       ac_ext=c
36890 ac_cpp='$CPP $CPPFLAGS'
36891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36894
36895
36896 fi
36897
36898   fi
36899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36900 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36901
36902     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36903       for ac_func in _frexpl
36904 do :
36905   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36906 if test "x$ac_cv_func__frexpl" = x""yes; then :
36907   cat >>confdefs.h <<_ACEOF
36908 #define HAVE__FREXPL 1
36909 _ACEOF
36910
36911 fi
36912 done
36913
36914     fi
36915   fi
36916
36917
36918
36919
36920
36921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36922 $as_echo_n "checking for hypotl declaration... " >&6; }
36923   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36924     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36925   $as_echo_n "(cached) " >&6
36926 else
36927
36928
36929       ac_ext=cpp
36930 ac_cpp='$CXXCPP $CPPFLAGS'
36931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36934
36935       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36936 /* end confdefs.h.  */
36937 #include <math.h>
36938 int
36939 main ()
36940 {
36941  hypotl(0, 0);
36942   ;
36943   return 0;
36944 }
36945 _ACEOF
36946 if ac_fn_cxx_try_compile "$LINENO"; then :
36947   glibcxx_cv_func_hypotl_use=yes
36948 else
36949   glibcxx_cv_func_hypotl_use=no
36950 fi
36951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36952       ac_ext=c
36953 ac_cpp='$CPP $CPPFLAGS'
36954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36957
36958
36959 fi
36960
36961   fi
36962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36963 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36964
36965   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36966     for ac_func in hypotl
36967 do :
36968   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36969 if test "x$ac_cv_func_hypotl" = x""yes; then :
36970   cat >>confdefs.h <<_ACEOF
36971 #define HAVE_HYPOTL 1
36972 _ACEOF
36973
36974 fi
36975 done
36976
36977   else
36978
36979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36980 $as_echo_n "checking for _hypotl declaration... " >&6; }
36981   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36982     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36983   $as_echo_n "(cached) " >&6
36984 else
36985
36986
36987       ac_ext=cpp
36988 ac_cpp='$CXXCPP $CPPFLAGS'
36989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36992
36993       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36994 /* end confdefs.h.  */
36995 #include <math.h>
36996 int
36997 main ()
36998 {
36999  _hypotl(0, 0);
37000   ;
37001   return 0;
37002 }
37003 _ACEOF
37004 if ac_fn_cxx_try_compile "$LINENO"; then :
37005   glibcxx_cv_func__hypotl_use=yes
37006 else
37007   glibcxx_cv_func__hypotl_use=no
37008 fi
37009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37010       ac_ext=c
37011 ac_cpp='$CPP $CPPFLAGS'
37012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37015
37016
37017 fi
37018
37019   fi
37020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37021 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37022
37023     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37024       for ac_func in _hypotl
37025 do :
37026   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37027 if test "x$ac_cv_func__hypotl" = x""yes; then :
37028   cat >>confdefs.h <<_ACEOF
37029 #define HAVE__HYPOTL 1
37030 _ACEOF
37031
37032 fi
37033 done
37034
37035     fi
37036   fi
37037
37038
37039
37040
37041
37042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37043 $as_echo_n "checking for ldexpl declaration... " >&6; }
37044   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37045     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37046   $as_echo_n "(cached) " >&6
37047 else
37048
37049
37050       ac_ext=cpp
37051 ac_cpp='$CXXCPP $CPPFLAGS'
37052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37055
37056       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37057 /* end confdefs.h.  */
37058 #include <math.h>
37059 int
37060 main ()
37061 {
37062  ldexpl(0, 0);
37063   ;
37064   return 0;
37065 }
37066 _ACEOF
37067 if ac_fn_cxx_try_compile "$LINENO"; then :
37068   glibcxx_cv_func_ldexpl_use=yes
37069 else
37070   glibcxx_cv_func_ldexpl_use=no
37071 fi
37072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37073       ac_ext=c
37074 ac_cpp='$CPP $CPPFLAGS'
37075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37078
37079
37080 fi
37081
37082   fi
37083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37084 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37085
37086   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37087     for ac_func in ldexpl
37088 do :
37089   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37090 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37091   cat >>confdefs.h <<_ACEOF
37092 #define HAVE_LDEXPL 1
37093 _ACEOF
37094
37095 fi
37096 done
37097
37098   else
37099
37100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37101 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37102   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37103     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37104   $as_echo_n "(cached) " >&6
37105 else
37106
37107
37108       ac_ext=cpp
37109 ac_cpp='$CXXCPP $CPPFLAGS'
37110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37113
37114       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37115 /* end confdefs.h.  */
37116 #include <math.h>
37117 int
37118 main ()
37119 {
37120  _ldexpl(0, 0);
37121   ;
37122   return 0;
37123 }
37124 _ACEOF
37125 if ac_fn_cxx_try_compile "$LINENO"; then :
37126   glibcxx_cv_func__ldexpl_use=yes
37127 else
37128   glibcxx_cv_func__ldexpl_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__ldexpl_use" >&5
37142 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37143
37144     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37145       for ac_func in _ldexpl
37146 do :
37147   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37148 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37149   cat >>confdefs.h <<_ACEOF
37150 #define HAVE__LDEXPL 1
37151 _ACEOF
37152
37153 fi
37154 done
37155
37156     fi
37157   fi
37158
37159
37160
37161
37162
37163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37164 $as_echo_n "checking for logl declaration... " >&6; }
37165   if test x${glibcxx_cv_func_logl_use+set} != xset; then
37166     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37167   $as_echo_n "(cached) " >&6
37168 else
37169
37170
37171       ac_ext=cpp
37172 ac_cpp='$CXXCPP $CPPFLAGS'
37173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37176
37177       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37178 /* end confdefs.h.  */
37179 #include <math.h>
37180                       #ifdef HAVE_IEEEFP_H
37181                       #include <ieeefp.h>
37182                       #endif
37183
37184 int
37185 main ()
37186 {
37187  logl(0);
37188   ;
37189   return 0;
37190 }
37191 _ACEOF
37192 if ac_fn_cxx_try_compile "$LINENO"; then :
37193   glibcxx_cv_func_logl_use=yes
37194 else
37195   glibcxx_cv_func_logl_use=no
37196 fi
37197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37198       ac_ext=c
37199 ac_cpp='$CPP $CPPFLAGS'
37200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37203
37204
37205 fi
37206
37207   fi
37208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37209 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37210
37211   if test x$glibcxx_cv_func_logl_use = x"yes"; then
37212     for ac_func in logl
37213 do :
37214   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37215 if test "x$ac_cv_func_logl" = x""yes; then :
37216   cat >>confdefs.h <<_ACEOF
37217 #define HAVE_LOGL 1
37218 _ACEOF
37219
37220 fi
37221 done
37222
37223   else
37224
37225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37226 $as_echo_n "checking for _logl declaration... " >&6; }
37227   if test x${glibcxx_cv_func__logl_use+set} != xset; then
37228     if test "${glibcxx_cv_func__logl_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  _logl(0);
37250   ;
37251   return 0;
37252 }
37253 _ACEOF
37254 if ac_fn_cxx_try_compile "$LINENO"; then :
37255   glibcxx_cv_func__logl_use=yes
37256 else
37257   glibcxx_cv_func__logl_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__logl_use" >&5
37271 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37272
37273     if test x$glibcxx_cv_func__logl_use = x"yes"; then
37274       for ac_func in _logl
37275 do :
37276   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37277 if test "x$ac_cv_func__logl" = x""yes; then :
37278   cat >>confdefs.h <<_ACEOF
37279 #define HAVE__LOGL 1
37280 _ACEOF
37281
37282 fi
37283 done
37284
37285     fi
37286   fi
37287
37288
37289
37290
37291
37292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37293 $as_echo_n "checking for log10l declaration... " >&6; }
37294   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37295     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37296   $as_echo_n "(cached) " >&6
37297 else
37298
37299
37300       ac_ext=cpp
37301 ac_cpp='$CXXCPP $CPPFLAGS'
37302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37305
37306       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37307 /* end confdefs.h.  */
37308 #include <math.h>
37309                       #ifdef HAVE_IEEEFP_H
37310                       #include <ieeefp.h>
37311                       #endif
37312
37313 int
37314 main ()
37315 {
37316  log10l(0);
37317   ;
37318   return 0;
37319 }
37320 _ACEOF
37321 if ac_fn_cxx_try_compile "$LINENO"; then :
37322   glibcxx_cv_func_log10l_use=yes
37323 else
37324   glibcxx_cv_func_log10l_use=no
37325 fi
37326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37327       ac_ext=c
37328 ac_cpp='$CPP $CPPFLAGS'
37329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37332
37333
37334 fi
37335
37336   fi
37337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37338 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37339
37340   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37341     for ac_func in log10l
37342 do :
37343   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37344 if test "x$ac_cv_func_log10l" = x""yes; then :
37345   cat >>confdefs.h <<_ACEOF
37346 #define HAVE_LOG10L 1
37347 _ACEOF
37348
37349 fi
37350 done
37351
37352   else
37353
37354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37355 $as_echo_n "checking for _log10l declaration... " >&6; }
37356   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37357     if test "${glibcxx_cv_func__log10l_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                       #ifdef HAVE_IEEEFP_H
37372                       #include <ieeefp.h>
37373                       #endif
37374
37375 int
37376 main ()
37377 {
37378  _log10l(0);
37379   ;
37380   return 0;
37381 }
37382 _ACEOF
37383 if ac_fn_cxx_try_compile "$LINENO"; then :
37384   glibcxx_cv_func__log10l_use=yes
37385 else
37386   glibcxx_cv_func__log10l_use=no
37387 fi
37388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37389       ac_ext=c
37390 ac_cpp='$CPP $CPPFLAGS'
37391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37394
37395
37396 fi
37397
37398   fi
37399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37400 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37401
37402     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37403       for ac_func in _log10l
37404 do :
37405   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37406 if test "x$ac_cv_func__log10l" = x""yes; then :
37407   cat >>confdefs.h <<_ACEOF
37408 #define HAVE__LOG10L 1
37409 _ACEOF
37410
37411 fi
37412 done
37413
37414     fi
37415   fi
37416
37417
37418
37419
37420
37421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37422 $as_echo_n "checking for modfl declaration... " >&6; }
37423   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37424     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37425   $as_echo_n "(cached) " >&6
37426 else
37427
37428
37429       ac_ext=cpp
37430 ac_cpp='$CXXCPP $CPPFLAGS'
37431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37434
37435       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37436 /* end confdefs.h.  */
37437 #include <math.h>
37438 int
37439 main ()
37440 {
37441  modfl(0, 0);
37442   ;
37443   return 0;
37444 }
37445 _ACEOF
37446 if ac_fn_cxx_try_compile "$LINENO"; then :
37447   glibcxx_cv_func_modfl_use=yes
37448 else
37449   glibcxx_cv_func_modfl_use=no
37450 fi
37451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37452       ac_ext=c
37453 ac_cpp='$CPP $CPPFLAGS'
37454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37457
37458
37459 fi
37460
37461   fi
37462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37463 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37464
37465   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37466     for ac_func in modfl
37467 do :
37468   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37469 if test "x$ac_cv_func_modfl" = x""yes; then :
37470   cat >>confdefs.h <<_ACEOF
37471 #define HAVE_MODFL 1
37472 _ACEOF
37473
37474 fi
37475 done
37476
37477   else
37478
37479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37480 $as_echo_n "checking for _modfl declaration... " >&6; }
37481   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37482     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37483   $as_echo_n "(cached) " >&6
37484 else
37485
37486
37487       ac_ext=cpp
37488 ac_cpp='$CXXCPP $CPPFLAGS'
37489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37492
37493       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37494 /* end confdefs.h.  */
37495 #include <math.h>
37496 int
37497 main ()
37498 {
37499  _modfl(0, 0);
37500   ;
37501   return 0;
37502 }
37503 _ACEOF
37504 if ac_fn_cxx_try_compile "$LINENO"; then :
37505   glibcxx_cv_func__modfl_use=yes
37506 else
37507   glibcxx_cv_func__modfl_use=no
37508 fi
37509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37510       ac_ext=c
37511 ac_cpp='$CPP $CPPFLAGS'
37512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37515
37516
37517 fi
37518
37519   fi
37520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37521 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37522
37523     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37524       for ac_func in _modfl
37525 do :
37526   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37527 if test "x$ac_cv_func__modfl" = x""yes; then :
37528   cat >>confdefs.h <<_ACEOF
37529 #define HAVE__MODFL 1
37530 _ACEOF
37531
37532 fi
37533 done
37534
37535     fi
37536   fi
37537
37538
37539
37540
37541
37542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37543 $as_echo_n "checking for powl declaration... " >&6; }
37544   if test x${glibcxx_cv_func_powl_use+set} != xset; then
37545     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37546   $as_echo_n "(cached) " >&6
37547 else
37548
37549
37550       ac_ext=cpp
37551 ac_cpp='$CXXCPP $CPPFLAGS'
37552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37555
37556       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37557 /* end confdefs.h.  */
37558 #include <math.h>
37559 int
37560 main ()
37561 {
37562  powl(0, 0);
37563   ;
37564   return 0;
37565 }
37566 _ACEOF
37567 if ac_fn_cxx_try_compile "$LINENO"; then :
37568   glibcxx_cv_func_powl_use=yes
37569 else
37570   glibcxx_cv_func_powl_use=no
37571 fi
37572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37573       ac_ext=c
37574 ac_cpp='$CPP $CPPFLAGS'
37575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37578
37579
37580 fi
37581
37582   fi
37583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37584 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37585
37586   if test x$glibcxx_cv_func_powl_use = x"yes"; then
37587     for ac_func in powl
37588 do :
37589   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37590 if test "x$ac_cv_func_powl" = x""yes; then :
37591   cat >>confdefs.h <<_ACEOF
37592 #define HAVE_POWL 1
37593 _ACEOF
37594
37595 fi
37596 done
37597
37598   else
37599
37600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37601 $as_echo_n "checking for _powl declaration... " >&6; }
37602   if test x${glibcxx_cv_func__powl_use+set} != xset; then
37603     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37604   $as_echo_n "(cached) " >&6
37605 else
37606
37607
37608       ac_ext=cpp
37609 ac_cpp='$CXXCPP $CPPFLAGS'
37610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37613
37614       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37615 /* end confdefs.h.  */
37616 #include <math.h>
37617 int
37618 main ()
37619 {
37620  _powl(0, 0);
37621   ;
37622   return 0;
37623 }
37624 _ACEOF
37625 if ac_fn_cxx_try_compile "$LINENO"; then :
37626   glibcxx_cv_func__powl_use=yes
37627 else
37628   glibcxx_cv_func__powl_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__powl_use" >&5
37642 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37643
37644     if test x$glibcxx_cv_func__powl_use = x"yes"; then
37645       for ac_func in _powl
37646 do :
37647   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37648 if test "x$ac_cv_func__powl" = x""yes; then :
37649   cat >>confdefs.h <<_ACEOF
37650 #define HAVE__POWL 1
37651 _ACEOF
37652
37653 fi
37654 done
37655
37656     fi
37657   fi
37658
37659
37660
37661
37662
37663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37664 $as_echo_n "checking for sqrtl declaration... " >&6; }
37665   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37666     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37667   $as_echo_n "(cached) " >&6
37668 else
37669
37670
37671       ac_ext=cpp
37672 ac_cpp='$CXXCPP $CPPFLAGS'
37673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37676
37677       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37678 /* end confdefs.h.  */
37679 #include <math.h>
37680                       #ifdef HAVE_IEEEFP_H
37681                       #include <ieeefp.h>
37682                       #endif
37683
37684 int
37685 main ()
37686 {
37687  sqrtl(0);
37688   ;
37689   return 0;
37690 }
37691 _ACEOF
37692 if ac_fn_cxx_try_compile "$LINENO"; then :
37693   glibcxx_cv_func_sqrtl_use=yes
37694 else
37695   glibcxx_cv_func_sqrtl_use=no
37696 fi
37697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37698       ac_ext=c
37699 ac_cpp='$CPP $CPPFLAGS'
37700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37703
37704
37705 fi
37706
37707   fi
37708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37709 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37710
37711   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37712     for ac_func in sqrtl
37713 do :
37714   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37715 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37716   cat >>confdefs.h <<_ACEOF
37717 #define HAVE_SQRTL 1
37718 _ACEOF
37719
37720 fi
37721 done
37722
37723   else
37724
37725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37726 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37727   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37728     if test "${glibcxx_cv_func__sqrtl_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                       #ifdef HAVE_IEEEFP_H
37743                       #include <ieeefp.h>
37744                       #endif
37745
37746 int
37747 main ()
37748 {
37749  _sqrtl(0);
37750   ;
37751   return 0;
37752 }
37753 _ACEOF
37754 if ac_fn_cxx_try_compile "$LINENO"; then :
37755   glibcxx_cv_func__sqrtl_use=yes
37756 else
37757   glibcxx_cv_func__sqrtl_use=no
37758 fi
37759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37760       ac_ext=c
37761 ac_cpp='$CPP $CPPFLAGS'
37762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37765
37766
37767 fi
37768
37769   fi
37770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37771 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37772
37773     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37774       for ac_func in _sqrtl
37775 do :
37776   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37777 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37778   cat >>confdefs.h <<_ACEOF
37779 #define HAVE__SQRTL 1
37780 _ACEOF
37781
37782 fi
37783 done
37784
37785     fi
37786   fi
37787
37788
37789
37790
37791
37792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37793 $as_echo_n "checking for sincosl declaration... " >&6; }
37794   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37795     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37796   $as_echo_n "(cached) " >&6
37797 else
37798
37799
37800       ac_ext=cpp
37801 ac_cpp='$CXXCPP $CPPFLAGS'
37802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37805
37806       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37807 /* end confdefs.h.  */
37808 #include <math.h>
37809 int
37810 main ()
37811 {
37812  sincosl(0, 0, 0);
37813   ;
37814   return 0;
37815 }
37816 _ACEOF
37817 if ac_fn_cxx_try_compile "$LINENO"; then :
37818   glibcxx_cv_func_sincosl_use=yes
37819 else
37820   glibcxx_cv_func_sincosl_use=no
37821 fi
37822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37823       ac_ext=c
37824 ac_cpp='$CPP $CPPFLAGS'
37825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37828
37829
37830 fi
37831
37832   fi
37833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37834 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37835
37836   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37837     for ac_func in sincosl
37838 do :
37839   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37840 if test "x$ac_cv_func_sincosl" = x""yes; then :
37841   cat >>confdefs.h <<_ACEOF
37842 #define HAVE_SINCOSL 1
37843 _ACEOF
37844
37845 fi
37846 done
37847
37848   else
37849
37850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37851 $as_echo_n "checking for _sincosl declaration... " >&6; }
37852   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37853     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37854   $as_echo_n "(cached) " >&6
37855 else
37856
37857
37858       ac_ext=cpp
37859 ac_cpp='$CXXCPP $CPPFLAGS'
37860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37863
37864       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37865 /* end confdefs.h.  */
37866 #include <math.h>
37867 int
37868 main ()
37869 {
37870  _sincosl(0, 0, 0);
37871   ;
37872   return 0;
37873 }
37874 _ACEOF
37875 if ac_fn_cxx_try_compile "$LINENO"; then :
37876   glibcxx_cv_func__sincosl_use=yes
37877 else
37878   glibcxx_cv_func__sincosl_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__sincosl_use" >&5
37892 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37893
37894     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37895       for ac_func in _sincosl
37896 do :
37897   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37898 if test "x$ac_cv_func__sincosl" = x""yes; then :
37899   cat >>confdefs.h <<_ACEOF
37900 #define HAVE__SINCOSL 1
37901 _ACEOF
37902
37903 fi
37904 done
37905
37906     fi
37907   fi
37908
37909
37910
37911
37912
37913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37914 $as_echo_n "checking for finitel declaration... " >&6; }
37915   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37916     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37917   $as_echo_n "(cached) " >&6
37918 else
37919
37920
37921       ac_ext=cpp
37922 ac_cpp='$CXXCPP $CPPFLAGS'
37923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37926
37927       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37928 /* end confdefs.h.  */
37929 #include <math.h>
37930                       #ifdef HAVE_IEEEFP_H
37931                       #include <ieeefp.h>
37932                       #endif
37933
37934 int
37935 main ()
37936 {
37937  finitel(0);
37938   ;
37939   return 0;
37940 }
37941 _ACEOF
37942 if ac_fn_cxx_try_compile "$LINENO"; then :
37943   glibcxx_cv_func_finitel_use=yes
37944 else
37945   glibcxx_cv_func_finitel_use=no
37946 fi
37947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37948       ac_ext=c
37949 ac_cpp='$CPP $CPPFLAGS'
37950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37953
37954
37955 fi
37956
37957   fi
37958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37959 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37960
37961   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37962     for ac_func in finitel
37963 do :
37964   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37965 if test "x$ac_cv_func_finitel" = x""yes; then :
37966   cat >>confdefs.h <<_ACEOF
37967 #define HAVE_FINITEL 1
37968 _ACEOF
37969
37970 fi
37971 done
37972
37973   else
37974
37975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37976 $as_echo_n "checking for _finitel declaration... " >&6; }
37977   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37978     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37979   $as_echo_n "(cached) " >&6
37980 else
37981
37982
37983       ac_ext=cpp
37984 ac_cpp='$CXXCPP $CPPFLAGS'
37985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37988
37989       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37990 /* end confdefs.h.  */
37991 #include <math.h>
37992                       #ifdef HAVE_IEEEFP_H
37993                       #include <ieeefp.h>
37994                       #endif
37995
37996 int
37997 main ()
37998 {
37999  _finitel(0);
38000   ;
38001   return 0;
38002 }
38003 _ACEOF
38004 if ac_fn_cxx_try_compile "$LINENO"; then :
38005   glibcxx_cv_func__finitel_use=yes
38006 else
38007   glibcxx_cv_func__finitel_use=no
38008 fi
38009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38010       ac_ext=c
38011 ac_cpp='$CPP $CPPFLAGS'
38012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38015
38016
38017 fi
38018
38019   fi
38020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38021 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38022
38023     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38024       for ac_func in _finitel
38025 do :
38026   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38027 if test "x$ac_cv_func__finitel" = x""yes; then :
38028   cat >>confdefs.h <<_ACEOF
38029 #define HAVE__FINITEL 1
38030 _ACEOF
38031
38032 fi
38033 done
38034
38035     fi
38036   fi
38037
38038
38039
38040
38041   LIBS="$ac_save_LIBS"
38042   CXXFLAGS="$ac_save_CXXFLAGS"
38043
38044
38045   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38046   ac_save_CXXFLAGS="$CXXFLAGS"
38047   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38048
38049
38050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38051 $as_echo_n "checking for strtold declaration... " >&6; }
38052   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38053     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38054   $as_echo_n "(cached) " >&6
38055 else
38056
38057
38058       ac_ext=cpp
38059 ac_cpp='$CXXCPP $CPPFLAGS'
38060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38063
38064       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38065 /* end confdefs.h.  */
38066 #include <stdlib.h>
38067 int
38068 main ()
38069 {
38070  strtold(0, 0);
38071   ;
38072   return 0;
38073 }
38074 _ACEOF
38075 if ac_fn_cxx_try_compile "$LINENO"; then :
38076   glibcxx_cv_func_strtold_use=yes
38077 else
38078   glibcxx_cv_func_strtold_use=no
38079 fi
38080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38081       ac_ext=c
38082 ac_cpp='$CPP $CPPFLAGS'
38083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38086
38087
38088 fi
38089
38090   fi
38091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38092 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38093   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38094     for ac_func in strtold
38095 do :
38096   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38097 if test "x$ac_cv_func_strtold" = x""yes; then :
38098   cat >>confdefs.h <<_ACEOF
38099 #define HAVE_STRTOLD 1
38100 _ACEOF
38101
38102 fi
38103 done
38104
38105   fi
38106
38107
38108
38109
38110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38111 $as_echo_n "checking for strtof declaration... " >&6; }
38112   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38113     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38114   $as_echo_n "(cached) " >&6
38115 else
38116
38117
38118       ac_ext=cpp
38119 ac_cpp='$CXXCPP $CPPFLAGS'
38120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38123
38124       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38125 /* end confdefs.h.  */
38126 #include <stdlib.h>
38127 int
38128 main ()
38129 {
38130  strtof(0, 0);
38131   ;
38132   return 0;
38133 }
38134 _ACEOF
38135 if ac_fn_cxx_try_compile "$LINENO"; then :
38136   glibcxx_cv_func_strtof_use=yes
38137 else
38138   glibcxx_cv_func_strtof_use=no
38139 fi
38140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38141       ac_ext=c
38142 ac_cpp='$CPP $CPPFLAGS'
38143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38146
38147
38148 fi
38149
38150   fi
38151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38152 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38153   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38154     for ac_func in strtof
38155 do :
38156   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38157 if test "x$ac_cv_func_strtof" = x""yes; then :
38158   cat >>confdefs.h <<_ACEOF
38159 #define HAVE_STRTOF 1
38160 _ACEOF
38161
38162 fi
38163 done
38164
38165   fi
38166
38167
38168
38169
38170   CXXFLAGS="$ac_save_CXXFLAGS"
38171
38172     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38173
38174     # We don't yet support AIX's TLS ABI.
38175     #GCC_CHECK_TLS
38176
38177
38178
38179
38180
38181           am_save_CPPFLAGS="$CPPFLAGS"
38182
38183   for element in $INCICONV; do
38184     haveit=
38185     for x in $CPPFLAGS; do
38186
38187   acl_save_prefix="$prefix"
38188   prefix="$acl_final_prefix"
38189   acl_save_exec_prefix="$exec_prefix"
38190   exec_prefix="$acl_final_exec_prefix"
38191   eval x=\"$x\"
38192   exec_prefix="$acl_save_exec_prefix"
38193   prefix="$acl_save_prefix"
38194
38195       if test "X$x" = "X$element"; then
38196         haveit=yes
38197         break
38198       fi
38199     done
38200     if test -z "$haveit"; then
38201       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38202     fi
38203   done
38204
38205
38206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38207 $as_echo_n "checking for iconv... " >&6; }
38208 if test "${am_cv_func_iconv+set}" = set; then :
38209   $as_echo_n "(cached) " >&6
38210 else
38211
38212     am_cv_func_iconv="no, consider installing GNU libiconv"
38213     am_cv_lib_iconv=no
38214     if test x$gcc_no_link = xyes; then
38215   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38216 fi
38217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38218 /* end confdefs.h.  */
38219 #include <stdlib.h>
38220 #include <iconv.h>
38221 int
38222 main ()
38223 {
38224 iconv_t cd = iconv_open("","");
38225        iconv(cd,NULL,NULL,NULL,NULL);
38226        iconv_close(cd);
38227   ;
38228   return 0;
38229 }
38230 _ACEOF
38231 if ac_fn_c_try_link "$LINENO"; then :
38232   am_cv_func_iconv=yes
38233 fi
38234 rm -f core conftest.err conftest.$ac_objext \
38235     conftest$ac_exeext conftest.$ac_ext
38236     if test "$am_cv_func_iconv" != yes; then
38237       am_save_LIBS="$LIBS"
38238       LIBS="$LIBS $LIBICONV"
38239       if test x$gcc_no_link = xyes; then
38240   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38241 fi
38242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38243 /* end confdefs.h.  */
38244 #include <stdlib.h>
38245 #include <iconv.h>
38246 int
38247 main ()
38248 {
38249 iconv_t cd = iconv_open("","");
38250          iconv(cd,NULL,NULL,NULL,NULL);
38251          iconv_close(cd);
38252   ;
38253   return 0;
38254 }
38255 _ACEOF
38256 if ac_fn_c_try_link "$LINENO"; then :
38257   am_cv_lib_iconv=yes
38258         am_cv_func_iconv=yes
38259 fi
38260 rm -f core conftest.err conftest.$ac_objext \
38261     conftest$ac_exeext conftest.$ac_ext
38262       LIBS="$am_save_LIBS"
38263     fi
38264
38265 fi
38266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38267 $as_echo "$am_cv_func_iconv" >&6; }
38268   if test "$am_cv_func_iconv" = yes; then
38269
38270 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38271
38272   fi
38273   if test "$am_cv_lib_iconv" = yes; then
38274     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38275 $as_echo_n "checking how to link with libiconv... " >&6; }
38276     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38277 $as_echo "$LIBICONV" >&6; }
38278   else
38279             CPPFLAGS="$am_save_CPPFLAGS"
38280     LIBICONV=
38281     LTLIBICONV=
38282   fi
38283
38284
38285
38286   if test "$am_cv_func_iconv" = yes; then
38287     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38288 $as_echo_n "checking for iconv declaration... " >&6; }
38289     if test "${am_cv_proto_iconv+set}" = set; then :
38290   $as_echo_n "(cached) " >&6
38291 else
38292
38293       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38294 /* end confdefs.h.  */
38295
38296 #include <stdlib.h>
38297 #include <iconv.h>
38298 extern
38299 #ifdef __cplusplus
38300 "C"
38301 #endif
38302 #if defined(__STDC__) || defined(__cplusplus)
38303 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38304 #else
38305 size_t iconv();
38306 #endif
38307
38308 int
38309 main ()
38310 {
38311
38312   ;
38313   return 0;
38314 }
38315 _ACEOF
38316 if ac_fn_c_try_compile "$LINENO"; then :
38317   am_cv_proto_iconv_arg1=""
38318 else
38319   am_cv_proto_iconv_arg1="const"
38320 fi
38321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38322       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);"
38323 fi
38324
38325     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38326     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38327          }$am_cv_proto_iconv" >&5
38328 $as_echo "${ac_t:-
38329          }$am_cv_proto_iconv" >&6; }
38330
38331 cat >>confdefs.h <<_ACEOF
38332 #define ICONV_CONST $am_cv_proto_iconv_arg1
38333 _ACEOF
38334
38335   fi
38336
38337     ;;
38338
38339   *-darwin*)
38340     # Darwin versions vary, but the linker should work in a cross environment,
38341     # so we just check for all the features here.
38342     # Check for available headers.
38343
38344     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38345
38346   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38347   ac_save_CXXFLAGS="$CXXFLAGS"
38348   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38349
38350     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38351 $as_echo_n "checking for sin in -lm... " >&6; }
38352 if test "${ac_cv_lib_m_sin+set}" = set; then :
38353   $as_echo_n "(cached) " >&6
38354 else
38355   ac_check_lib_save_LIBS=$LIBS
38356 LIBS="-lm  $LIBS"
38357 if test x$gcc_no_link = xyes; then
38358   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38359 fi
38360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38361 /* end confdefs.h.  */
38362
38363 /* Override any GCC internal prototype to avoid an error.
38364    Use char because int might match the return type of a GCC
38365    builtin and then its argument prototype would still apply.  */
38366 #ifdef __cplusplus
38367 extern "C"
38368 #endif
38369 char sin ();
38370 int
38371 main ()
38372 {
38373 return sin ();
38374   ;
38375   return 0;
38376 }
38377 _ACEOF
38378 if ac_fn_c_try_link "$LINENO"; then :
38379   ac_cv_lib_m_sin=yes
38380 else
38381   ac_cv_lib_m_sin=no
38382 fi
38383 rm -f core conftest.err conftest.$ac_objext \
38384     conftest$ac_exeext conftest.$ac_ext
38385 LIBS=$ac_check_lib_save_LIBS
38386 fi
38387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38388 $as_echo "$ac_cv_lib_m_sin" >&6; }
38389 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38390   libm="-lm"
38391 fi
38392
38393   ac_save_LIBS="$LIBS"
38394   LIBS="$LIBS $libm"
38395
38396
38397
38398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38399 $as_echo_n "checking for isinf declaration... " >&6; }
38400   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38401     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38402   $as_echo_n "(cached) " >&6
38403 else
38404
38405
38406       ac_ext=cpp
38407 ac_cpp='$CXXCPP $CPPFLAGS'
38408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38411
38412       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38413 /* end confdefs.h.  */
38414 #include <math.h>
38415                       #ifdef HAVE_IEEEFP_H
38416                       #include <ieeefp.h>
38417                       #endif
38418
38419 int
38420 main ()
38421 {
38422  isinf(0);
38423   ;
38424   return 0;
38425 }
38426 _ACEOF
38427 if ac_fn_cxx_try_compile "$LINENO"; then :
38428   glibcxx_cv_func_isinf_use=yes
38429 else
38430   glibcxx_cv_func_isinf_use=no
38431 fi
38432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38433       ac_ext=c
38434 ac_cpp='$CPP $CPPFLAGS'
38435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38438
38439
38440 fi
38441
38442   fi
38443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38444 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38445
38446   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38447     for ac_func in isinf
38448 do :
38449   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38450 if test "x$ac_cv_func_isinf" = x""yes; then :
38451   cat >>confdefs.h <<_ACEOF
38452 #define HAVE_ISINF 1
38453 _ACEOF
38454
38455 fi
38456 done
38457
38458   else
38459
38460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38461 $as_echo_n "checking for _isinf declaration... " >&6; }
38462   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38463     if test "${glibcxx_cv_func__isinf_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  _isinf(0);
38485   ;
38486   return 0;
38487 }
38488 _ACEOF
38489 if ac_fn_cxx_try_compile "$LINENO"; then :
38490   glibcxx_cv_func__isinf_use=yes
38491 else
38492   glibcxx_cv_func__isinf_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__isinf_use" >&5
38506 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38507
38508     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38509       for ac_func in _isinf
38510 do :
38511   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38512 if test "x$ac_cv_func__isinf" = x""yes; then :
38513   cat >>confdefs.h <<_ACEOF
38514 #define HAVE__ISINF 1
38515 _ACEOF
38516
38517 fi
38518 done
38519
38520     fi
38521   fi
38522
38523
38524
38525
38526
38527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38528 $as_echo_n "checking for isnan declaration... " >&6; }
38529   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38530     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38531   $as_echo_n "(cached) " >&6
38532 else
38533
38534
38535       ac_ext=cpp
38536 ac_cpp='$CXXCPP $CPPFLAGS'
38537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38540
38541       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38542 /* end confdefs.h.  */
38543 #include <math.h>
38544                       #ifdef HAVE_IEEEFP_H
38545                       #include <ieeefp.h>
38546                       #endif
38547
38548 int
38549 main ()
38550 {
38551  isnan(0);
38552   ;
38553   return 0;
38554 }
38555 _ACEOF
38556 if ac_fn_cxx_try_compile "$LINENO"; then :
38557   glibcxx_cv_func_isnan_use=yes
38558 else
38559   glibcxx_cv_func_isnan_use=no
38560 fi
38561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38562       ac_ext=c
38563 ac_cpp='$CPP $CPPFLAGS'
38564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38567
38568
38569 fi
38570
38571   fi
38572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38573 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38574
38575   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38576     for ac_func in isnan
38577 do :
38578   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38579 if test "x$ac_cv_func_isnan" = x""yes; then :
38580   cat >>confdefs.h <<_ACEOF
38581 #define HAVE_ISNAN 1
38582 _ACEOF
38583
38584 fi
38585 done
38586
38587   else
38588
38589   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38590 $as_echo_n "checking for _isnan declaration... " >&6; }
38591   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38592     if test "${glibcxx_cv_func__isnan_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  _isnan(0);
38614   ;
38615   return 0;
38616 }
38617 _ACEOF
38618 if ac_fn_cxx_try_compile "$LINENO"; then :
38619   glibcxx_cv_func__isnan_use=yes
38620 else
38621   glibcxx_cv_func__isnan_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__isnan_use" >&5
38635 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38636
38637     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38638       for ac_func in _isnan
38639 do :
38640   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38641 if test "x$ac_cv_func__isnan" = x""yes; then :
38642   cat >>confdefs.h <<_ACEOF
38643 #define HAVE__ISNAN 1
38644 _ACEOF
38645
38646 fi
38647 done
38648
38649     fi
38650   fi
38651
38652
38653
38654
38655
38656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38657 $as_echo_n "checking for finite declaration... " >&6; }
38658   if test x${glibcxx_cv_func_finite_use+set} != xset; then
38659     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38660   $as_echo_n "(cached) " >&6
38661 else
38662
38663
38664       ac_ext=cpp
38665 ac_cpp='$CXXCPP $CPPFLAGS'
38666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38669
38670       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38671 /* end confdefs.h.  */
38672 #include <math.h>
38673                       #ifdef HAVE_IEEEFP_H
38674                       #include <ieeefp.h>
38675                       #endif
38676
38677 int
38678 main ()
38679 {
38680  finite(0);
38681   ;
38682   return 0;
38683 }
38684 _ACEOF
38685 if ac_fn_cxx_try_compile "$LINENO"; then :
38686   glibcxx_cv_func_finite_use=yes
38687 else
38688   glibcxx_cv_func_finite_use=no
38689 fi
38690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38691       ac_ext=c
38692 ac_cpp='$CPP $CPPFLAGS'
38693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38696
38697
38698 fi
38699
38700   fi
38701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38702 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38703
38704   if test x$glibcxx_cv_func_finite_use = x"yes"; then
38705     for ac_func in finite
38706 do :
38707   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38708 if test "x$ac_cv_func_finite" = x""yes; then :
38709   cat >>confdefs.h <<_ACEOF
38710 #define HAVE_FINITE 1
38711 _ACEOF
38712
38713 fi
38714 done
38715
38716   else
38717
38718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38719 $as_echo_n "checking for _finite declaration... " >&6; }
38720   if test x${glibcxx_cv_func__finite_use+set} != xset; then
38721     if test "${glibcxx_cv_func__finite_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                       #ifdef HAVE_IEEEFP_H
38736                       #include <ieeefp.h>
38737                       #endif
38738
38739 int
38740 main ()
38741 {
38742  _finite(0);
38743   ;
38744   return 0;
38745 }
38746 _ACEOF
38747 if ac_fn_cxx_try_compile "$LINENO"; then :
38748   glibcxx_cv_func__finite_use=yes
38749 else
38750   glibcxx_cv_func__finite_use=no
38751 fi
38752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38753       ac_ext=c
38754 ac_cpp='$CPP $CPPFLAGS'
38755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38758
38759
38760 fi
38761
38762   fi
38763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38764 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38765
38766     if test x$glibcxx_cv_func__finite_use = x"yes"; then
38767       for ac_func in _finite
38768 do :
38769   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38770 if test "x$ac_cv_func__finite" = x""yes; then :
38771   cat >>confdefs.h <<_ACEOF
38772 #define HAVE__FINITE 1
38773 _ACEOF
38774
38775 fi
38776 done
38777
38778     fi
38779   fi
38780
38781
38782
38783
38784
38785   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38786 $as_echo_n "checking for sincos declaration... " >&6; }
38787   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38788     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38789   $as_echo_n "(cached) " >&6
38790 else
38791
38792
38793       ac_ext=cpp
38794 ac_cpp='$CXXCPP $CPPFLAGS'
38795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38798
38799       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38800 /* end confdefs.h.  */
38801 #include <math.h>
38802 int
38803 main ()
38804 {
38805  sincos(0, 0, 0);
38806   ;
38807   return 0;
38808 }
38809 _ACEOF
38810 if ac_fn_cxx_try_compile "$LINENO"; then :
38811   glibcxx_cv_func_sincos_use=yes
38812 else
38813   glibcxx_cv_func_sincos_use=no
38814 fi
38815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38816       ac_ext=c
38817 ac_cpp='$CPP $CPPFLAGS'
38818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38821
38822
38823 fi
38824
38825   fi
38826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38827 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38828
38829   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38830     for ac_func in sincos
38831 do :
38832   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38833 if test "x$ac_cv_func_sincos" = x""yes; then :
38834   cat >>confdefs.h <<_ACEOF
38835 #define HAVE_SINCOS 1
38836 _ACEOF
38837
38838 fi
38839 done
38840
38841   else
38842
38843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38844 $as_echo_n "checking for _sincos declaration... " >&6; }
38845   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38846     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38847   $as_echo_n "(cached) " >&6
38848 else
38849
38850
38851       ac_ext=cpp
38852 ac_cpp='$CXXCPP $CPPFLAGS'
38853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38856
38857       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38858 /* end confdefs.h.  */
38859 #include <math.h>
38860 int
38861 main ()
38862 {
38863  _sincos(0, 0, 0);
38864   ;
38865   return 0;
38866 }
38867 _ACEOF
38868 if ac_fn_cxx_try_compile "$LINENO"; then :
38869   glibcxx_cv_func__sincos_use=yes
38870 else
38871   glibcxx_cv_func__sincos_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__sincos_use" >&5
38885 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38886
38887     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38888       for ac_func in _sincos
38889 do :
38890   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38891 if test "x$ac_cv_func__sincos" = x""yes; then :
38892   cat >>confdefs.h <<_ACEOF
38893 #define HAVE__SINCOS 1
38894 _ACEOF
38895
38896 fi
38897 done
38898
38899     fi
38900   fi
38901
38902
38903
38904
38905
38906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38907 $as_echo_n "checking for fpclass declaration... " >&6; }
38908   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38909     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38910   $as_echo_n "(cached) " >&6
38911 else
38912
38913
38914       ac_ext=cpp
38915 ac_cpp='$CXXCPP $CPPFLAGS'
38916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38919
38920       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38921 /* end confdefs.h.  */
38922 #include <math.h>
38923                       #ifdef HAVE_IEEEFP_H
38924                       #include <ieeefp.h>
38925                       #endif
38926
38927 int
38928 main ()
38929 {
38930  fpclass(0);
38931   ;
38932   return 0;
38933 }
38934 _ACEOF
38935 if ac_fn_cxx_try_compile "$LINENO"; then :
38936   glibcxx_cv_func_fpclass_use=yes
38937 else
38938   glibcxx_cv_func_fpclass_use=no
38939 fi
38940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38941       ac_ext=c
38942 ac_cpp='$CPP $CPPFLAGS'
38943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38946
38947
38948 fi
38949
38950   fi
38951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38952 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38953
38954   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38955     for ac_func in fpclass
38956 do :
38957   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38958 if test "x$ac_cv_func_fpclass" = x""yes; then :
38959   cat >>confdefs.h <<_ACEOF
38960 #define HAVE_FPCLASS 1
38961 _ACEOF
38962
38963 fi
38964 done
38965
38966   else
38967
38968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38969 $as_echo_n "checking for _fpclass declaration... " >&6; }
38970   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38971     if test "${glibcxx_cv_func__fpclass_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  _fpclass(0);
38993   ;
38994   return 0;
38995 }
38996 _ACEOF
38997 if ac_fn_cxx_try_compile "$LINENO"; then :
38998   glibcxx_cv_func__fpclass_use=yes
38999 else
39000   glibcxx_cv_func__fpclass_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__fpclass_use" >&5
39014 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39015
39016     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39017       for ac_func in _fpclass
39018 do :
39019   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39020 if test "x$ac_cv_func__fpclass" = x""yes; then :
39021   cat >>confdefs.h <<_ACEOF
39022 #define HAVE__FPCLASS 1
39023 _ACEOF
39024
39025 fi
39026 done
39027
39028     fi
39029   fi
39030
39031
39032
39033
39034
39035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39036 $as_echo_n "checking for qfpclass declaration... " >&6; }
39037   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39038     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39039   $as_echo_n "(cached) " >&6
39040 else
39041
39042
39043       ac_ext=cpp
39044 ac_cpp='$CXXCPP $CPPFLAGS'
39045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39048
39049       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39050 /* end confdefs.h.  */
39051 #include <math.h>
39052                       #ifdef HAVE_IEEEFP_H
39053                       #include <ieeefp.h>
39054                       #endif
39055
39056 int
39057 main ()
39058 {
39059  qfpclass(0);
39060   ;
39061   return 0;
39062 }
39063 _ACEOF
39064 if ac_fn_cxx_try_compile "$LINENO"; then :
39065   glibcxx_cv_func_qfpclass_use=yes
39066 else
39067   glibcxx_cv_func_qfpclass_use=no
39068 fi
39069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39070       ac_ext=c
39071 ac_cpp='$CPP $CPPFLAGS'
39072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39075
39076
39077 fi
39078
39079   fi
39080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39081 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39082
39083   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39084     for ac_func in qfpclass
39085 do :
39086   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39087 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39088   cat >>confdefs.h <<_ACEOF
39089 #define HAVE_QFPCLASS 1
39090 _ACEOF
39091
39092 fi
39093 done
39094
39095   else
39096
39097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39098 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39099   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39100     if test "${glibcxx_cv_func__qfpclass_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                       #ifdef HAVE_IEEEFP_H
39115                       #include <ieeefp.h>
39116                       #endif
39117
39118 int
39119 main ()
39120 {
39121  _qfpclass(0);
39122   ;
39123   return 0;
39124 }
39125 _ACEOF
39126 if ac_fn_cxx_try_compile "$LINENO"; then :
39127   glibcxx_cv_func__qfpclass_use=yes
39128 else
39129   glibcxx_cv_func__qfpclass_use=no
39130 fi
39131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39132       ac_ext=c
39133 ac_cpp='$CPP $CPPFLAGS'
39134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39137
39138
39139 fi
39140
39141   fi
39142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39143 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39144
39145     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39146       for ac_func in _qfpclass
39147 do :
39148   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39149 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39150   cat >>confdefs.h <<_ACEOF
39151 #define HAVE__QFPCLASS 1
39152 _ACEOF
39153
39154 fi
39155 done
39156
39157     fi
39158   fi
39159
39160
39161
39162
39163
39164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39165 $as_echo_n "checking for hypot declaration... " >&6; }
39166   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39167     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39168   $as_echo_n "(cached) " >&6
39169 else
39170
39171
39172       ac_ext=cpp
39173 ac_cpp='$CXXCPP $CPPFLAGS'
39174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39177
39178       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39179 /* end confdefs.h.  */
39180 #include <math.h>
39181 int
39182 main ()
39183 {
39184  hypot(0, 0);
39185   ;
39186   return 0;
39187 }
39188 _ACEOF
39189 if ac_fn_cxx_try_compile "$LINENO"; then :
39190   glibcxx_cv_func_hypot_use=yes
39191 else
39192   glibcxx_cv_func_hypot_use=no
39193 fi
39194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39195       ac_ext=c
39196 ac_cpp='$CPP $CPPFLAGS'
39197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39200
39201
39202 fi
39203
39204   fi
39205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39206 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39207
39208   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39209     for ac_func in hypot
39210 do :
39211   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39212 if test "x$ac_cv_func_hypot" = x""yes; then :
39213   cat >>confdefs.h <<_ACEOF
39214 #define HAVE_HYPOT 1
39215 _ACEOF
39216
39217 fi
39218 done
39219
39220   else
39221
39222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39223 $as_echo_n "checking for _hypot declaration... " >&6; }
39224   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39225     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39226   $as_echo_n "(cached) " >&6
39227 else
39228
39229
39230       ac_ext=cpp
39231 ac_cpp='$CXXCPP $CPPFLAGS'
39232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39235
39236       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39237 /* end confdefs.h.  */
39238 #include <math.h>
39239 int
39240 main ()
39241 {
39242  _hypot(0, 0);
39243   ;
39244   return 0;
39245 }
39246 _ACEOF
39247 if ac_fn_cxx_try_compile "$LINENO"; then :
39248   glibcxx_cv_func__hypot_use=yes
39249 else
39250   glibcxx_cv_func__hypot_use=no
39251 fi
39252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39253       ac_ext=c
39254 ac_cpp='$CPP $CPPFLAGS'
39255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39258
39259
39260 fi
39261
39262   fi
39263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39264 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39265
39266     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39267       for ac_func in _hypot
39268 do :
39269   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39270 if test "x$ac_cv_func__hypot" = x""yes; then :
39271   cat >>confdefs.h <<_ACEOF
39272 #define HAVE__HYPOT 1
39273 _ACEOF
39274
39275 fi
39276 done
39277
39278     fi
39279   fi
39280
39281
39282
39283
39284
39285     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39286 $as_echo_n "checking for float trig functions... " >&6; }
39287   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39288   $as_echo_n "(cached) " >&6
39289 else
39290
39291
39292     ac_ext=cpp
39293 ac_cpp='$CXXCPP $CPPFLAGS'
39294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39297
39298     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39299 /* end confdefs.h.  */
39300 #include <math.h>
39301 int
39302 main ()
39303 {
39304 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39305   ;
39306   return 0;
39307 }
39308 _ACEOF
39309 if ac_fn_cxx_try_compile "$LINENO"; then :
39310   glibcxx_cv_func_float_trig_use=yes
39311 else
39312   glibcxx_cv_func_float_trig_use=no
39313 fi
39314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39315     ac_ext=c
39316 ac_cpp='$CPP $CPPFLAGS'
39317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39320
39321 fi
39322
39323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39324 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39325   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39326     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39327 do :
39328   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39329 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39330 eval as_val=\$$as_ac_var
39331    if test "x$as_val" = x""yes; then :
39332   cat >>confdefs.h <<_ACEOF
39333 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39334 _ACEOF
39335
39336 fi
39337 done
39338
39339   else
39340     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39341 $as_echo_n "checking for _float trig functions... " >&6; }
39342     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39343   $as_echo_n "(cached) " >&6
39344 else
39345
39346
39347       ac_ext=cpp
39348 ac_cpp='$CXXCPP $CPPFLAGS'
39349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39352
39353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39354 /* end confdefs.h.  */
39355 #include <math.h>
39356 int
39357 main ()
39358 {
39359 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39360   ;
39361   return 0;
39362 }
39363 _ACEOF
39364 if ac_fn_cxx_try_compile "$LINENO"; then :
39365   glibcxx_cv_func__float_trig_use=yes
39366 else
39367   glibcxx_cv_func__float_trig_use=no
39368 fi
39369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39370       ac_ext=c
39371 ac_cpp='$CPP $CPPFLAGS'
39372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39375
39376 fi
39377
39378     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39379 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39380     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39381       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39382 do :
39383   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39384 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39385 eval as_val=\$$as_ac_var
39386    if test "x$as_val" = x""yes; then :
39387   cat >>confdefs.h <<_ACEOF
39388 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39389 _ACEOF
39390
39391 fi
39392 done
39393
39394     fi
39395   fi
39396
39397
39398
39399
39400
39401     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39402 $as_echo_n "checking for float round functions... " >&6; }
39403   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39404   $as_echo_n "(cached) " >&6
39405 else
39406
39407
39408     ac_ext=cpp
39409 ac_cpp='$CXXCPP $CPPFLAGS'
39410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39413
39414     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39415 /* end confdefs.h.  */
39416 #include <math.h>
39417 int
39418 main ()
39419 {
39420 ceilf (0); floorf (0);
39421   ;
39422   return 0;
39423 }
39424 _ACEOF
39425 if ac_fn_cxx_try_compile "$LINENO"; then :
39426   glibcxx_cv_func_float_round_use=yes
39427 else
39428   glibcxx_cv_func_float_round_use=no
39429 fi
39430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39431     ac_ext=c
39432 ac_cpp='$CPP $CPPFLAGS'
39433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39436
39437 fi
39438
39439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39440 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39441   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39442     for ac_func in ceilf floorf
39443 do :
39444   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39445 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39446 eval as_val=\$$as_ac_var
39447    if test "x$as_val" = x""yes; then :
39448   cat >>confdefs.h <<_ACEOF
39449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39450 _ACEOF
39451
39452 fi
39453 done
39454
39455   else
39456     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39457 $as_echo_n "checking for _float round functions... " >&6; }
39458     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39459   $as_echo_n "(cached) " >&6
39460 else
39461
39462
39463       ac_ext=cpp
39464 ac_cpp='$CXXCPP $CPPFLAGS'
39465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39468
39469       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39470 /* end confdefs.h.  */
39471 #include <math.h>
39472 int
39473 main ()
39474 {
39475 _ceilf (0); _floorf (0);
39476   ;
39477   return 0;
39478 }
39479 _ACEOF
39480 if ac_fn_cxx_try_compile "$LINENO"; then :
39481   glibcxx_cv_func__float_round_use=yes
39482 else
39483   glibcxx_cv_func__float_round_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 fi
39493
39494     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39495 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39496     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39497       for ac_func in _ceilf _floorf
39498 do :
39499   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39500 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39501 eval as_val=\$$as_ac_var
39502    if test "x$as_val" = x""yes; then :
39503   cat >>confdefs.h <<_ACEOF
39504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39505 _ACEOF
39506
39507 fi
39508 done
39509
39510     fi
39511   fi
39512
39513
39514
39515
39516
39517
39518   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39519 $as_echo_n "checking for expf declaration... " >&6; }
39520   if test x${glibcxx_cv_func_expf_use+set} != xset; then
39521     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39522   $as_echo_n "(cached) " >&6
39523 else
39524
39525
39526       ac_ext=cpp
39527 ac_cpp='$CXXCPP $CPPFLAGS'
39528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39531
39532       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39533 /* end confdefs.h.  */
39534 #include <math.h>
39535                       #ifdef HAVE_IEEEFP_H
39536                       #include <ieeefp.h>
39537                       #endif
39538
39539 int
39540 main ()
39541 {
39542  expf(0);
39543   ;
39544   return 0;
39545 }
39546 _ACEOF
39547 if ac_fn_cxx_try_compile "$LINENO"; then :
39548   glibcxx_cv_func_expf_use=yes
39549 else
39550   glibcxx_cv_func_expf_use=no
39551 fi
39552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39553       ac_ext=c
39554 ac_cpp='$CPP $CPPFLAGS'
39555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39558
39559
39560 fi
39561
39562   fi
39563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39564 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39565
39566   if test x$glibcxx_cv_func_expf_use = x"yes"; then
39567     for ac_func in expf
39568 do :
39569   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39570 if test "x$ac_cv_func_expf" = x""yes; then :
39571   cat >>confdefs.h <<_ACEOF
39572 #define HAVE_EXPF 1
39573 _ACEOF
39574
39575 fi
39576 done
39577
39578   else
39579
39580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39581 $as_echo_n "checking for _expf declaration... " >&6; }
39582   if test x${glibcxx_cv_func__expf_use+set} != xset; then
39583     if test "${glibcxx_cv_func__expf_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  _expf(0);
39605   ;
39606   return 0;
39607 }
39608 _ACEOF
39609 if ac_fn_cxx_try_compile "$LINENO"; then :
39610   glibcxx_cv_func__expf_use=yes
39611 else
39612   glibcxx_cv_func__expf_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__expf_use" >&5
39626 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39627
39628     if test x$glibcxx_cv_func__expf_use = x"yes"; then
39629       for ac_func in _expf
39630 do :
39631   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39632 if test "x$ac_cv_func__expf" = x""yes; then :
39633   cat >>confdefs.h <<_ACEOF
39634 #define HAVE__EXPF 1
39635 _ACEOF
39636
39637 fi
39638 done
39639
39640     fi
39641   fi
39642
39643
39644
39645
39646
39647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39648 $as_echo_n "checking for isnanf declaration... " >&6; }
39649   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39650     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39651   $as_echo_n "(cached) " >&6
39652 else
39653
39654
39655       ac_ext=cpp
39656 ac_cpp='$CXXCPP $CPPFLAGS'
39657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39660
39661       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39662 /* end confdefs.h.  */
39663 #include <math.h>
39664                       #ifdef HAVE_IEEEFP_H
39665                       #include <ieeefp.h>
39666                       #endif
39667
39668 int
39669 main ()
39670 {
39671  isnanf(0);
39672   ;
39673   return 0;
39674 }
39675 _ACEOF
39676 if ac_fn_cxx_try_compile "$LINENO"; then :
39677   glibcxx_cv_func_isnanf_use=yes
39678 else
39679   glibcxx_cv_func_isnanf_use=no
39680 fi
39681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39682       ac_ext=c
39683 ac_cpp='$CPP $CPPFLAGS'
39684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39687
39688
39689 fi
39690
39691   fi
39692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39693 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39694
39695   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39696     for ac_func in isnanf
39697 do :
39698   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39699 if test "x$ac_cv_func_isnanf" = x""yes; then :
39700   cat >>confdefs.h <<_ACEOF
39701 #define HAVE_ISNANF 1
39702 _ACEOF
39703
39704 fi
39705 done
39706
39707   else
39708
39709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39710 $as_echo_n "checking for _isnanf declaration... " >&6; }
39711   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39712     if test "${glibcxx_cv_func__isnanf_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  _isnanf(0);
39734   ;
39735   return 0;
39736 }
39737 _ACEOF
39738 if ac_fn_cxx_try_compile "$LINENO"; then :
39739   glibcxx_cv_func__isnanf_use=yes
39740 else
39741   glibcxx_cv_func__isnanf_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__isnanf_use" >&5
39755 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39756
39757     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39758       for ac_func in _isnanf
39759 do :
39760   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39761 if test "x$ac_cv_func__isnanf" = x""yes; then :
39762   cat >>confdefs.h <<_ACEOF
39763 #define HAVE__ISNANF 1
39764 _ACEOF
39765
39766 fi
39767 done
39768
39769     fi
39770   fi
39771
39772
39773
39774
39775
39776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39777 $as_echo_n "checking for isinff declaration... " >&6; }
39778   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39779     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39780   $as_echo_n "(cached) " >&6
39781 else
39782
39783
39784       ac_ext=cpp
39785 ac_cpp='$CXXCPP $CPPFLAGS'
39786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39789
39790       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39791 /* end confdefs.h.  */
39792 #include <math.h>
39793                       #ifdef HAVE_IEEEFP_H
39794                       #include <ieeefp.h>
39795                       #endif
39796
39797 int
39798 main ()
39799 {
39800  isinff(0);
39801   ;
39802   return 0;
39803 }
39804 _ACEOF
39805 if ac_fn_cxx_try_compile "$LINENO"; then :
39806   glibcxx_cv_func_isinff_use=yes
39807 else
39808   glibcxx_cv_func_isinff_use=no
39809 fi
39810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39811       ac_ext=c
39812 ac_cpp='$CPP $CPPFLAGS'
39813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39816
39817
39818 fi
39819
39820   fi
39821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39822 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39823
39824   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39825     for ac_func in isinff
39826 do :
39827   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39828 if test "x$ac_cv_func_isinff" = x""yes; then :
39829   cat >>confdefs.h <<_ACEOF
39830 #define HAVE_ISINFF 1
39831 _ACEOF
39832
39833 fi
39834 done
39835
39836   else
39837
39838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39839 $as_echo_n "checking for _isinff declaration... " >&6; }
39840   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39841     if test "${glibcxx_cv_func__isinff_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                       #ifdef HAVE_IEEEFP_H
39856                       #include <ieeefp.h>
39857                       #endif
39858
39859 int
39860 main ()
39861 {
39862  _isinff(0);
39863   ;
39864   return 0;
39865 }
39866 _ACEOF
39867 if ac_fn_cxx_try_compile "$LINENO"; then :
39868   glibcxx_cv_func__isinff_use=yes
39869 else
39870   glibcxx_cv_func__isinff_use=no
39871 fi
39872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39873       ac_ext=c
39874 ac_cpp='$CPP $CPPFLAGS'
39875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39878
39879
39880 fi
39881
39882   fi
39883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39884 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39885
39886     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39887       for ac_func in _isinff
39888 do :
39889   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39890 if test "x$ac_cv_func__isinff" = x""yes; then :
39891   cat >>confdefs.h <<_ACEOF
39892 #define HAVE__ISINFF 1
39893 _ACEOF
39894
39895 fi
39896 done
39897
39898     fi
39899   fi
39900
39901
39902
39903
39904
39905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39906 $as_echo_n "checking for atan2f declaration... " >&6; }
39907   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39908     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39909   $as_echo_n "(cached) " >&6
39910 else
39911
39912
39913       ac_ext=cpp
39914 ac_cpp='$CXXCPP $CPPFLAGS'
39915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39918
39919       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39920 /* end confdefs.h.  */
39921 #include <math.h>
39922 int
39923 main ()
39924 {
39925  atan2f(0, 0);
39926   ;
39927   return 0;
39928 }
39929 _ACEOF
39930 if ac_fn_cxx_try_compile "$LINENO"; then :
39931   glibcxx_cv_func_atan2f_use=yes
39932 else
39933   glibcxx_cv_func_atan2f_use=no
39934 fi
39935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39936       ac_ext=c
39937 ac_cpp='$CPP $CPPFLAGS'
39938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39941
39942
39943 fi
39944
39945   fi
39946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39947 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39948
39949   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39950     for ac_func in atan2f
39951 do :
39952   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39953 if test "x$ac_cv_func_atan2f" = x""yes; then :
39954   cat >>confdefs.h <<_ACEOF
39955 #define HAVE_ATAN2F 1
39956 _ACEOF
39957
39958 fi
39959 done
39960
39961   else
39962
39963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39964 $as_echo_n "checking for _atan2f declaration... " >&6; }
39965   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39966     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39967   $as_echo_n "(cached) " >&6
39968 else
39969
39970
39971       ac_ext=cpp
39972 ac_cpp='$CXXCPP $CPPFLAGS'
39973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39976
39977       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39978 /* end confdefs.h.  */
39979 #include <math.h>
39980 int
39981 main ()
39982 {
39983  _atan2f(0, 0);
39984   ;
39985   return 0;
39986 }
39987 _ACEOF
39988 if ac_fn_cxx_try_compile "$LINENO"; then :
39989   glibcxx_cv_func__atan2f_use=yes
39990 else
39991   glibcxx_cv_func__atan2f_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__atan2f_use" >&5
40005 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40006
40007     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40008       for ac_func in _atan2f
40009 do :
40010   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40011 if test "x$ac_cv_func__atan2f" = x""yes; then :
40012   cat >>confdefs.h <<_ACEOF
40013 #define HAVE__ATAN2F 1
40014 _ACEOF
40015
40016 fi
40017 done
40018
40019     fi
40020   fi
40021
40022
40023
40024
40025
40026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40027 $as_echo_n "checking for fabsf declaration... " >&6; }
40028   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40029     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40030   $as_echo_n "(cached) " >&6
40031 else
40032
40033
40034       ac_ext=cpp
40035 ac_cpp='$CXXCPP $CPPFLAGS'
40036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40039
40040       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40041 /* end confdefs.h.  */
40042 #include <math.h>
40043                       #ifdef HAVE_IEEEFP_H
40044                       #include <ieeefp.h>
40045                       #endif
40046
40047 int
40048 main ()
40049 {
40050  fabsf(0);
40051   ;
40052   return 0;
40053 }
40054 _ACEOF
40055 if ac_fn_cxx_try_compile "$LINENO"; then :
40056   glibcxx_cv_func_fabsf_use=yes
40057 else
40058   glibcxx_cv_func_fabsf_use=no
40059 fi
40060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40061       ac_ext=c
40062 ac_cpp='$CPP $CPPFLAGS'
40063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40066
40067
40068 fi
40069
40070   fi
40071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40072 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40073
40074   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40075     for ac_func in fabsf
40076 do :
40077   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40078 if test "x$ac_cv_func_fabsf" = x""yes; then :
40079   cat >>confdefs.h <<_ACEOF
40080 #define HAVE_FABSF 1
40081 _ACEOF
40082
40083 fi
40084 done
40085
40086   else
40087
40088   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40089 $as_echo_n "checking for _fabsf declaration... " >&6; }
40090   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40091     if test "${glibcxx_cv_func__fabsf_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                       #ifdef HAVE_IEEEFP_H
40106                       #include <ieeefp.h>
40107                       #endif
40108
40109 int
40110 main ()
40111 {
40112  _fabsf(0);
40113   ;
40114   return 0;
40115 }
40116 _ACEOF
40117 if ac_fn_cxx_try_compile "$LINENO"; then :
40118   glibcxx_cv_func__fabsf_use=yes
40119 else
40120   glibcxx_cv_func__fabsf_use=no
40121 fi
40122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40123       ac_ext=c
40124 ac_cpp='$CPP $CPPFLAGS'
40125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40128
40129
40130 fi
40131
40132   fi
40133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40134 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40135
40136     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40137       for ac_func in _fabsf
40138 do :
40139   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40140 if test "x$ac_cv_func__fabsf" = x""yes; then :
40141   cat >>confdefs.h <<_ACEOF
40142 #define HAVE__FABSF 1
40143 _ACEOF
40144
40145 fi
40146 done
40147
40148     fi
40149   fi
40150
40151
40152
40153
40154
40155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40156 $as_echo_n "checking for fmodf declaration... " >&6; }
40157   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40158     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40159   $as_echo_n "(cached) " >&6
40160 else
40161
40162
40163       ac_ext=cpp
40164 ac_cpp='$CXXCPP $CPPFLAGS'
40165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40168
40169       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40170 /* end confdefs.h.  */
40171 #include <math.h>
40172 int
40173 main ()
40174 {
40175  fmodf(0, 0);
40176   ;
40177   return 0;
40178 }
40179 _ACEOF
40180 if ac_fn_cxx_try_compile "$LINENO"; then :
40181   glibcxx_cv_func_fmodf_use=yes
40182 else
40183   glibcxx_cv_func_fmodf_use=no
40184 fi
40185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40186       ac_ext=c
40187 ac_cpp='$CPP $CPPFLAGS'
40188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40191
40192
40193 fi
40194
40195   fi
40196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40197 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40198
40199   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40200     for ac_func in fmodf
40201 do :
40202   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40203 if test "x$ac_cv_func_fmodf" = x""yes; then :
40204   cat >>confdefs.h <<_ACEOF
40205 #define HAVE_FMODF 1
40206 _ACEOF
40207
40208 fi
40209 done
40210
40211   else
40212
40213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40214 $as_echo_n "checking for _fmodf declaration... " >&6; }
40215   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40216     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40217   $as_echo_n "(cached) " >&6
40218 else
40219
40220
40221       ac_ext=cpp
40222 ac_cpp='$CXXCPP $CPPFLAGS'
40223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40226
40227       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40228 /* end confdefs.h.  */
40229 #include <math.h>
40230 int
40231 main ()
40232 {
40233  _fmodf(0, 0);
40234   ;
40235   return 0;
40236 }
40237 _ACEOF
40238 if ac_fn_cxx_try_compile "$LINENO"; then :
40239   glibcxx_cv_func__fmodf_use=yes
40240 else
40241   glibcxx_cv_func__fmodf_use=no
40242 fi
40243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40244       ac_ext=c
40245 ac_cpp='$CPP $CPPFLAGS'
40246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40249
40250
40251 fi
40252
40253   fi
40254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40255 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40256
40257     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40258       for ac_func in _fmodf
40259 do :
40260   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40261 if test "x$ac_cv_func__fmodf" = x""yes; then :
40262   cat >>confdefs.h <<_ACEOF
40263 #define HAVE__FMODF 1
40264 _ACEOF
40265
40266 fi
40267 done
40268
40269     fi
40270   fi
40271
40272
40273
40274
40275
40276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40277 $as_echo_n "checking for frexpf declaration... " >&6; }
40278   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40279     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40280   $as_echo_n "(cached) " >&6
40281 else
40282
40283
40284       ac_ext=cpp
40285 ac_cpp='$CXXCPP $CPPFLAGS'
40286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40289
40290       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40291 /* end confdefs.h.  */
40292 #include <math.h>
40293 int
40294 main ()
40295 {
40296  frexpf(0, 0);
40297   ;
40298   return 0;
40299 }
40300 _ACEOF
40301 if ac_fn_cxx_try_compile "$LINENO"; then :
40302   glibcxx_cv_func_frexpf_use=yes
40303 else
40304   glibcxx_cv_func_frexpf_use=no
40305 fi
40306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40307       ac_ext=c
40308 ac_cpp='$CPP $CPPFLAGS'
40309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40312
40313
40314 fi
40315
40316   fi
40317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40318 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40319
40320   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40321     for ac_func in frexpf
40322 do :
40323   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40324 if test "x$ac_cv_func_frexpf" = x""yes; then :
40325   cat >>confdefs.h <<_ACEOF
40326 #define HAVE_FREXPF 1
40327 _ACEOF
40328
40329 fi
40330 done
40331
40332   else
40333
40334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40335 $as_echo_n "checking for _frexpf declaration... " >&6; }
40336   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40337     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40338   $as_echo_n "(cached) " >&6
40339 else
40340
40341
40342       ac_ext=cpp
40343 ac_cpp='$CXXCPP $CPPFLAGS'
40344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40347
40348       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40349 /* end confdefs.h.  */
40350 #include <math.h>
40351 int
40352 main ()
40353 {
40354  _frexpf(0, 0);
40355   ;
40356   return 0;
40357 }
40358 _ACEOF
40359 if ac_fn_cxx_try_compile "$LINENO"; then :
40360   glibcxx_cv_func__frexpf_use=yes
40361 else
40362   glibcxx_cv_func__frexpf_use=no
40363 fi
40364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40365       ac_ext=c
40366 ac_cpp='$CPP $CPPFLAGS'
40367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40370
40371
40372 fi
40373
40374   fi
40375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40376 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40377
40378     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40379       for ac_func in _frexpf
40380 do :
40381   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40382 if test "x$ac_cv_func__frexpf" = x""yes; then :
40383   cat >>confdefs.h <<_ACEOF
40384 #define HAVE__FREXPF 1
40385 _ACEOF
40386
40387 fi
40388 done
40389
40390     fi
40391   fi
40392
40393
40394
40395
40396
40397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40398 $as_echo_n "checking for hypotf declaration... " >&6; }
40399   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40400     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40401   $as_echo_n "(cached) " >&6
40402 else
40403
40404
40405       ac_ext=cpp
40406 ac_cpp='$CXXCPP $CPPFLAGS'
40407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40410
40411       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40412 /* end confdefs.h.  */
40413 #include <math.h>
40414 int
40415 main ()
40416 {
40417  hypotf(0, 0);
40418   ;
40419   return 0;
40420 }
40421 _ACEOF
40422 if ac_fn_cxx_try_compile "$LINENO"; then :
40423   glibcxx_cv_func_hypotf_use=yes
40424 else
40425   glibcxx_cv_func_hypotf_use=no
40426 fi
40427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40428       ac_ext=c
40429 ac_cpp='$CPP $CPPFLAGS'
40430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40433
40434
40435 fi
40436
40437   fi
40438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40439 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40440
40441   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40442     for ac_func in hypotf
40443 do :
40444   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40445 if test "x$ac_cv_func_hypotf" = x""yes; then :
40446   cat >>confdefs.h <<_ACEOF
40447 #define HAVE_HYPOTF 1
40448 _ACEOF
40449
40450 fi
40451 done
40452
40453   else
40454
40455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40456 $as_echo_n "checking for _hypotf declaration... " >&6; }
40457   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40458     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40459   $as_echo_n "(cached) " >&6
40460 else
40461
40462
40463       ac_ext=cpp
40464 ac_cpp='$CXXCPP $CPPFLAGS'
40465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40468
40469       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40470 /* end confdefs.h.  */
40471 #include <math.h>
40472 int
40473 main ()
40474 {
40475  _hypotf(0, 0);
40476   ;
40477   return 0;
40478 }
40479 _ACEOF
40480 if ac_fn_cxx_try_compile "$LINENO"; then :
40481   glibcxx_cv_func__hypotf_use=yes
40482 else
40483   glibcxx_cv_func__hypotf_use=no
40484 fi
40485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40486       ac_ext=c
40487 ac_cpp='$CPP $CPPFLAGS'
40488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40491
40492
40493 fi
40494
40495   fi
40496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40497 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40498
40499     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40500       for ac_func in _hypotf
40501 do :
40502   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40503 if test "x$ac_cv_func__hypotf" = x""yes; then :
40504   cat >>confdefs.h <<_ACEOF
40505 #define HAVE__HYPOTF 1
40506 _ACEOF
40507
40508 fi
40509 done
40510
40511     fi
40512   fi
40513
40514
40515
40516
40517
40518   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40519 $as_echo_n "checking for ldexpf declaration... " >&6; }
40520   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40521     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40522   $as_echo_n "(cached) " >&6
40523 else
40524
40525
40526       ac_ext=cpp
40527 ac_cpp='$CXXCPP $CPPFLAGS'
40528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40531
40532       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40533 /* end confdefs.h.  */
40534 #include <math.h>
40535 int
40536 main ()
40537 {
40538  ldexpf(0, 0);
40539   ;
40540   return 0;
40541 }
40542 _ACEOF
40543 if ac_fn_cxx_try_compile "$LINENO"; then :
40544   glibcxx_cv_func_ldexpf_use=yes
40545 else
40546   glibcxx_cv_func_ldexpf_use=no
40547 fi
40548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40549       ac_ext=c
40550 ac_cpp='$CPP $CPPFLAGS'
40551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40554
40555
40556 fi
40557
40558   fi
40559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40560 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40561
40562   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40563     for ac_func in ldexpf
40564 do :
40565   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40566 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40567   cat >>confdefs.h <<_ACEOF
40568 #define HAVE_LDEXPF 1
40569 _ACEOF
40570
40571 fi
40572 done
40573
40574   else
40575
40576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40577 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40578   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40579     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40580   $as_echo_n "(cached) " >&6
40581 else
40582
40583
40584       ac_ext=cpp
40585 ac_cpp='$CXXCPP $CPPFLAGS'
40586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40589
40590       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40591 /* end confdefs.h.  */
40592 #include <math.h>
40593 int
40594 main ()
40595 {
40596  _ldexpf(0, 0);
40597   ;
40598   return 0;
40599 }
40600 _ACEOF
40601 if ac_fn_cxx_try_compile "$LINENO"; then :
40602   glibcxx_cv_func__ldexpf_use=yes
40603 else
40604   glibcxx_cv_func__ldexpf_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__ldexpf_use" >&5
40618 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40619
40620     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40621       for ac_func in _ldexpf
40622 do :
40623   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40624 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40625   cat >>confdefs.h <<_ACEOF
40626 #define HAVE__LDEXPF 1
40627 _ACEOF
40628
40629 fi
40630 done
40631
40632     fi
40633   fi
40634
40635
40636
40637
40638
40639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40640 $as_echo_n "checking for logf declaration... " >&6; }
40641   if test x${glibcxx_cv_func_logf_use+set} != xset; then
40642     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40643   $as_echo_n "(cached) " >&6
40644 else
40645
40646
40647       ac_ext=cpp
40648 ac_cpp='$CXXCPP $CPPFLAGS'
40649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40652
40653       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40654 /* end confdefs.h.  */
40655 #include <math.h>
40656                       #ifdef HAVE_IEEEFP_H
40657                       #include <ieeefp.h>
40658                       #endif
40659
40660 int
40661 main ()
40662 {
40663  logf(0);
40664   ;
40665   return 0;
40666 }
40667 _ACEOF
40668 if ac_fn_cxx_try_compile "$LINENO"; then :
40669   glibcxx_cv_func_logf_use=yes
40670 else
40671   glibcxx_cv_func_logf_use=no
40672 fi
40673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40674       ac_ext=c
40675 ac_cpp='$CPP $CPPFLAGS'
40676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40679
40680
40681 fi
40682
40683   fi
40684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40685 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40686
40687   if test x$glibcxx_cv_func_logf_use = x"yes"; then
40688     for ac_func in logf
40689 do :
40690   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40691 if test "x$ac_cv_func_logf" = x""yes; then :
40692   cat >>confdefs.h <<_ACEOF
40693 #define HAVE_LOGF 1
40694 _ACEOF
40695
40696 fi
40697 done
40698
40699   else
40700
40701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40702 $as_echo_n "checking for _logf declaration... " >&6; }
40703   if test x${glibcxx_cv_func__logf_use+set} != xset; then
40704     if test "${glibcxx_cv_func__logf_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  _logf(0);
40726   ;
40727   return 0;
40728 }
40729 _ACEOF
40730 if ac_fn_cxx_try_compile "$LINENO"; then :
40731   glibcxx_cv_func__logf_use=yes
40732 else
40733   glibcxx_cv_func__logf_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__logf_use" >&5
40747 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40748
40749     if test x$glibcxx_cv_func__logf_use = x"yes"; then
40750       for ac_func in _logf
40751 do :
40752   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40753 if test "x$ac_cv_func__logf" = x""yes; then :
40754   cat >>confdefs.h <<_ACEOF
40755 #define HAVE__LOGF 1
40756 _ACEOF
40757
40758 fi
40759 done
40760
40761     fi
40762   fi
40763
40764
40765
40766
40767
40768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40769 $as_echo_n "checking for log10f declaration... " >&6; }
40770   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40771     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40772   $as_echo_n "(cached) " >&6
40773 else
40774
40775
40776       ac_ext=cpp
40777 ac_cpp='$CXXCPP $CPPFLAGS'
40778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40781
40782       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40783 /* end confdefs.h.  */
40784 #include <math.h>
40785                       #ifdef HAVE_IEEEFP_H
40786                       #include <ieeefp.h>
40787                       #endif
40788
40789 int
40790 main ()
40791 {
40792  log10f(0);
40793   ;
40794   return 0;
40795 }
40796 _ACEOF
40797 if ac_fn_cxx_try_compile "$LINENO"; then :
40798   glibcxx_cv_func_log10f_use=yes
40799 else
40800   glibcxx_cv_func_log10f_use=no
40801 fi
40802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40803       ac_ext=c
40804 ac_cpp='$CPP $CPPFLAGS'
40805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40808
40809
40810 fi
40811
40812   fi
40813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40814 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40815
40816   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40817     for ac_func in log10f
40818 do :
40819   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40820 if test "x$ac_cv_func_log10f" = x""yes; then :
40821   cat >>confdefs.h <<_ACEOF
40822 #define HAVE_LOG10F 1
40823 _ACEOF
40824
40825 fi
40826 done
40827
40828   else
40829
40830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40831 $as_echo_n "checking for _log10f declaration... " >&6; }
40832   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40833     if test "${glibcxx_cv_func__log10f_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                       #ifdef HAVE_IEEEFP_H
40848                       #include <ieeefp.h>
40849                       #endif
40850
40851 int
40852 main ()
40853 {
40854  _log10f(0);
40855   ;
40856   return 0;
40857 }
40858 _ACEOF
40859 if ac_fn_cxx_try_compile "$LINENO"; then :
40860   glibcxx_cv_func__log10f_use=yes
40861 else
40862   glibcxx_cv_func__log10f_use=no
40863 fi
40864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40865       ac_ext=c
40866 ac_cpp='$CPP $CPPFLAGS'
40867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40870
40871
40872 fi
40873
40874   fi
40875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40876 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40877
40878     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40879       for ac_func in _log10f
40880 do :
40881   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40882 if test "x$ac_cv_func__log10f" = x""yes; then :
40883   cat >>confdefs.h <<_ACEOF
40884 #define HAVE__LOG10F 1
40885 _ACEOF
40886
40887 fi
40888 done
40889
40890     fi
40891   fi
40892
40893
40894
40895
40896
40897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40898 $as_echo_n "checking for modff declaration... " >&6; }
40899   if test x${glibcxx_cv_func_modff_use+set} != xset; then
40900     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40901   $as_echo_n "(cached) " >&6
40902 else
40903
40904
40905       ac_ext=cpp
40906 ac_cpp='$CXXCPP $CPPFLAGS'
40907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40910
40911       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40912 /* end confdefs.h.  */
40913 #include <math.h>
40914 int
40915 main ()
40916 {
40917  modff(0, 0);
40918   ;
40919   return 0;
40920 }
40921 _ACEOF
40922 if ac_fn_cxx_try_compile "$LINENO"; then :
40923   glibcxx_cv_func_modff_use=yes
40924 else
40925   glibcxx_cv_func_modff_use=no
40926 fi
40927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40928       ac_ext=c
40929 ac_cpp='$CPP $CPPFLAGS'
40930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40933
40934
40935 fi
40936
40937   fi
40938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40939 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40940
40941   if test x$glibcxx_cv_func_modff_use = x"yes"; then
40942     for ac_func in modff
40943 do :
40944   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40945 if test "x$ac_cv_func_modff" = x""yes; then :
40946   cat >>confdefs.h <<_ACEOF
40947 #define HAVE_MODFF 1
40948 _ACEOF
40949
40950 fi
40951 done
40952
40953   else
40954
40955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40956 $as_echo_n "checking for _modff declaration... " >&6; }
40957   if test x${glibcxx_cv_func__modff_use+set} != xset; then
40958     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40959   $as_echo_n "(cached) " >&6
40960 else
40961
40962
40963       ac_ext=cpp
40964 ac_cpp='$CXXCPP $CPPFLAGS'
40965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40968
40969       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40970 /* end confdefs.h.  */
40971 #include <math.h>
40972 int
40973 main ()
40974 {
40975  _modff(0, 0);
40976   ;
40977   return 0;
40978 }
40979 _ACEOF
40980 if ac_fn_cxx_try_compile "$LINENO"; then :
40981   glibcxx_cv_func__modff_use=yes
40982 else
40983   glibcxx_cv_func__modff_use=no
40984 fi
40985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40986       ac_ext=c
40987 ac_cpp='$CPP $CPPFLAGS'
40988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40991
40992
40993 fi
40994
40995   fi
40996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40997 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40998
40999     if test x$glibcxx_cv_func__modff_use = x"yes"; then
41000       for ac_func in _modff
41001 do :
41002   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41003 if test "x$ac_cv_func__modff" = x""yes; then :
41004   cat >>confdefs.h <<_ACEOF
41005 #define HAVE__MODFF 1
41006 _ACEOF
41007
41008 fi
41009 done
41010
41011     fi
41012   fi
41013
41014
41015
41016
41017
41018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41019 $as_echo_n "checking for modf declaration... " >&6; }
41020   if test x${glibcxx_cv_func_modf_use+set} != xset; then
41021     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41022   $as_echo_n "(cached) " >&6
41023 else
41024
41025
41026       ac_ext=cpp
41027 ac_cpp='$CXXCPP $CPPFLAGS'
41028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41031
41032       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41033 /* end confdefs.h.  */
41034 #include <math.h>
41035 int
41036 main ()
41037 {
41038  modf(0, 0);
41039   ;
41040   return 0;
41041 }
41042 _ACEOF
41043 if ac_fn_cxx_try_compile "$LINENO"; then :
41044   glibcxx_cv_func_modf_use=yes
41045 else
41046   glibcxx_cv_func_modf_use=no
41047 fi
41048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41049       ac_ext=c
41050 ac_cpp='$CPP $CPPFLAGS'
41051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41054
41055
41056 fi
41057
41058   fi
41059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41060 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41061
41062   if test x$glibcxx_cv_func_modf_use = x"yes"; then
41063     for ac_func in modf
41064 do :
41065   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41066 if test "x$ac_cv_func_modf" = x""yes; then :
41067   cat >>confdefs.h <<_ACEOF
41068 #define HAVE_MODF 1
41069 _ACEOF
41070
41071 fi
41072 done
41073
41074   else
41075
41076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41077 $as_echo_n "checking for _modf declaration... " >&6; }
41078   if test x${glibcxx_cv_func__modf_use+set} != xset; then
41079     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41080   $as_echo_n "(cached) " >&6
41081 else
41082
41083
41084       ac_ext=cpp
41085 ac_cpp='$CXXCPP $CPPFLAGS'
41086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41089
41090       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41091 /* end confdefs.h.  */
41092 #include <math.h>
41093 int
41094 main ()
41095 {
41096  _modf(0, 0);
41097   ;
41098   return 0;
41099 }
41100 _ACEOF
41101 if ac_fn_cxx_try_compile "$LINENO"; then :
41102   glibcxx_cv_func__modf_use=yes
41103 else
41104   glibcxx_cv_func__modf_use=no
41105 fi
41106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41107       ac_ext=c
41108 ac_cpp='$CPP $CPPFLAGS'
41109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41112
41113
41114 fi
41115
41116   fi
41117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41118 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41119
41120     if test x$glibcxx_cv_func__modf_use = x"yes"; then
41121       for ac_func in _modf
41122 do :
41123   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41124 if test "x$ac_cv_func__modf" = x""yes; then :
41125   cat >>confdefs.h <<_ACEOF
41126 #define HAVE__MODF 1
41127 _ACEOF
41128
41129 fi
41130 done
41131
41132     fi
41133   fi
41134
41135
41136
41137
41138
41139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41140 $as_echo_n "checking for powf declaration... " >&6; }
41141   if test x${glibcxx_cv_func_powf_use+set} != xset; then
41142     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41143   $as_echo_n "(cached) " >&6
41144 else
41145
41146
41147       ac_ext=cpp
41148 ac_cpp='$CXXCPP $CPPFLAGS'
41149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41152
41153       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41154 /* end confdefs.h.  */
41155 #include <math.h>
41156 int
41157 main ()
41158 {
41159  powf(0, 0);
41160   ;
41161   return 0;
41162 }
41163 _ACEOF
41164 if ac_fn_cxx_try_compile "$LINENO"; then :
41165   glibcxx_cv_func_powf_use=yes
41166 else
41167   glibcxx_cv_func_powf_use=no
41168 fi
41169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41170       ac_ext=c
41171 ac_cpp='$CPP $CPPFLAGS'
41172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41175
41176
41177 fi
41178
41179   fi
41180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41181 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41182
41183   if test x$glibcxx_cv_func_powf_use = x"yes"; then
41184     for ac_func in powf
41185 do :
41186   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41187 if test "x$ac_cv_func_powf" = x""yes; then :
41188   cat >>confdefs.h <<_ACEOF
41189 #define HAVE_POWF 1
41190 _ACEOF
41191
41192 fi
41193 done
41194
41195   else
41196
41197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41198 $as_echo_n "checking for _powf declaration... " >&6; }
41199   if test x${glibcxx_cv_func__powf_use+set} != xset; then
41200     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41201   $as_echo_n "(cached) " >&6
41202 else
41203
41204
41205       ac_ext=cpp
41206 ac_cpp='$CXXCPP $CPPFLAGS'
41207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41210
41211       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41212 /* end confdefs.h.  */
41213 #include <math.h>
41214 int
41215 main ()
41216 {
41217  _powf(0, 0);
41218   ;
41219   return 0;
41220 }
41221 _ACEOF
41222 if ac_fn_cxx_try_compile "$LINENO"; then :
41223   glibcxx_cv_func__powf_use=yes
41224 else
41225   glibcxx_cv_func__powf_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__powf_use" >&5
41239 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41240
41241     if test x$glibcxx_cv_func__powf_use = x"yes"; then
41242       for ac_func in _powf
41243 do :
41244   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41245 if test "x$ac_cv_func__powf" = x""yes; then :
41246   cat >>confdefs.h <<_ACEOF
41247 #define HAVE__POWF 1
41248 _ACEOF
41249
41250 fi
41251 done
41252
41253     fi
41254   fi
41255
41256
41257
41258
41259
41260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41261 $as_echo_n "checking for sqrtf declaration... " >&6; }
41262   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41263     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41264   $as_echo_n "(cached) " >&6
41265 else
41266
41267
41268       ac_ext=cpp
41269 ac_cpp='$CXXCPP $CPPFLAGS'
41270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41273
41274       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41275 /* end confdefs.h.  */
41276 #include <math.h>
41277                       #ifdef HAVE_IEEEFP_H
41278                       #include <ieeefp.h>
41279                       #endif
41280
41281 int
41282 main ()
41283 {
41284  sqrtf(0);
41285   ;
41286   return 0;
41287 }
41288 _ACEOF
41289 if ac_fn_cxx_try_compile "$LINENO"; then :
41290   glibcxx_cv_func_sqrtf_use=yes
41291 else
41292   glibcxx_cv_func_sqrtf_use=no
41293 fi
41294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41295       ac_ext=c
41296 ac_cpp='$CPP $CPPFLAGS'
41297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41300
41301
41302 fi
41303
41304   fi
41305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41306 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41307
41308   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41309     for ac_func in sqrtf
41310 do :
41311   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41312 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41313   cat >>confdefs.h <<_ACEOF
41314 #define HAVE_SQRTF 1
41315 _ACEOF
41316
41317 fi
41318 done
41319
41320   else
41321
41322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41323 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41324   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41325     if test "${glibcxx_cv_func__sqrtf_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                       #ifdef HAVE_IEEEFP_H
41340                       #include <ieeefp.h>
41341                       #endif
41342
41343 int
41344 main ()
41345 {
41346  _sqrtf(0);
41347   ;
41348   return 0;
41349 }
41350 _ACEOF
41351 if ac_fn_cxx_try_compile "$LINENO"; then :
41352   glibcxx_cv_func__sqrtf_use=yes
41353 else
41354   glibcxx_cv_func__sqrtf_use=no
41355 fi
41356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41357       ac_ext=c
41358 ac_cpp='$CPP $CPPFLAGS'
41359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41362
41363
41364 fi
41365
41366   fi
41367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41368 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41369
41370     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41371       for ac_func in _sqrtf
41372 do :
41373   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41374 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41375   cat >>confdefs.h <<_ACEOF
41376 #define HAVE__SQRTF 1
41377 _ACEOF
41378
41379 fi
41380 done
41381
41382     fi
41383   fi
41384
41385
41386
41387
41388
41389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41390 $as_echo_n "checking for sincosf declaration... " >&6; }
41391   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41392     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41393   $as_echo_n "(cached) " >&6
41394 else
41395
41396
41397       ac_ext=cpp
41398 ac_cpp='$CXXCPP $CPPFLAGS'
41399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41402
41403       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41404 /* end confdefs.h.  */
41405 #include <math.h>
41406 int
41407 main ()
41408 {
41409  sincosf(0, 0, 0);
41410   ;
41411   return 0;
41412 }
41413 _ACEOF
41414 if ac_fn_cxx_try_compile "$LINENO"; then :
41415   glibcxx_cv_func_sincosf_use=yes
41416 else
41417   glibcxx_cv_func_sincosf_use=no
41418 fi
41419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41420       ac_ext=c
41421 ac_cpp='$CPP $CPPFLAGS'
41422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41425
41426
41427 fi
41428
41429   fi
41430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41431 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41432
41433   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41434     for ac_func in sincosf
41435 do :
41436   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41437 if test "x$ac_cv_func_sincosf" = x""yes; then :
41438   cat >>confdefs.h <<_ACEOF
41439 #define HAVE_SINCOSF 1
41440 _ACEOF
41441
41442 fi
41443 done
41444
41445   else
41446
41447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41448 $as_echo_n "checking for _sincosf declaration... " >&6; }
41449   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41450     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41451   $as_echo_n "(cached) " >&6
41452 else
41453
41454
41455       ac_ext=cpp
41456 ac_cpp='$CXXCPP $CPPFLAGS'
41457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41460
41461       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41462 /* end confdefs.h.  */
41463 #include <math.h>
41464 int
41465 main ()
41466 {
41467  _sincosf(0, 0, 0);
41468   ;
41469   return 0;
41470 }
41471 _ACEOF
41472 if ac_fn_cxx_try_compile "$LINENO"; then :
41473   glibcxx_cv_func__sincosf_use=yes
41474 else
41475   glibcxx_cv_func__sincosf_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__sincosf_use" >&5
41489 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41490
41491     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41492       for ac_func in _sincosf
41493 do :
41494   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41495 if test "x$ac_cv_func__sincosf" = x""yes; then :
41496   cat >>confdefs.h <<_ACEOF
41497 #define HAVE__SINCOSF 1
41498 _ACEOF
41499
41500 fi
41501 done
41502
41503     fi
41504   fi
41505
41506
41507
41508
41509
41510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41511 $as_echo_n "checking for finitef declaration... " >&6; }
41512   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41513     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41514   $as_echo_n "(cached) " >&6
41515 else
41516
41517
41518       ac_ext=cpp
41519 ac_cpp='$CXXCPP $CPPFLAGS'
41520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41523
41524       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41525 /* end confdefs.h.  */
41526 #include <math.h>
41527                       #ifdef HAVE_IEEEFP_H
41528                       #include <ieeefp.h>
41529                       #endif
41530
41531 int
41532 main ()
41533 {
41534  finitef(0);
41535   ;
41536   return 0;
41537 }
41538 _ACEOF
41539 if ac_fn_cxx_try_compile "$LINENO"; then :
41540   glibcxx_cv_func_finitef_use=yes
41541 else
41542   glibcxx_cv_func_finitef_use=no
41543 fi
41544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41545       ac_ext=c
41546 ac_cpp='$CPP $CPPFLAGS'
41547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41550
41551
41552 fi
41553
41554   fi
41555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41556 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41557
41558   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41559     for ac_func in finitef
41560 do :
41561   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41562 if test "x$ac_cv_func_finitef" = x""yes; then :
41563   cat >>confdefs.h <<_ACEOF
41564 #define HAVE_FINITEF 1
41565 _ACEOF
41566
41567 fi
41568 done
41569
41570   else
41571
41572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41573 $as_echo_n "checking for _finitef declaration... " >&6; }
41574   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41575     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41576   $as_echo_n "(cached) " >&6
41577 else
41578
41579
41580       ac_ext=cpp
41581 ac_cpp='$CXXCPP $CPPFLAGS'
41582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41585
41586       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41587 /* end confdefs.h.  */
41588 #include <math.h>
41589                       #ifdef HAVE_IEEEFP_H
41590                       #include <ieeefp.h>
41591                       #endif
41592
41593 int
41594 main ()
41595 {
41596  _finitef(0);
41597   ;
41598   return 0;
41599 }
41600 _ACEOF
41601 if ac_fn_cxx_try_compile "$LINENO"; then :
41602   glibcxx_cv_func__finitef_use=yes
41603 else
41604   glibcxx_cv_func__finitef_use=no
41605 fi
41606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41607       ac_ext=c
41608 ac_cpp='$CPP $CPPFLAGS'
41609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41612
41613
41614 fi
41615
41616   fi
41617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41618 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41619
41620     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41621       for ac_func in _finitef
41622 do :
41623   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41624 if test "x$ac_cv_func__finitef" = x""yes; then :
41625   cat >>confdefs.h <<_ACEOF
41626 #define HAVE__FINITEF 1
41627 _ACEOF
41628
41629 fi
41630 done
41631
41632     fi
41633   fi
41634
41635
41636
41637
41638
41639     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41640 $as_echo_n "checking for long double trig functions... " >&6; }
41641   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41642   $as_echo_n "(cached) " >&6
41643 else
41644
41645
41646     ac_ext=cpp
41647 ac_cpp='$CXXCPP $CPPFLAGS'
41648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41651
41652     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41653 /* end confdefs.h.  */
41654 #include <math.h>
41655 int
41656 main ()
41657 {
41658 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41659   ;
41660   return 0;
41661 }
41662 _ACEOF
41663 if ac_fn_cxx_try_compile "$LINENO"; then :
41664   glibcxx_cv_func_long_double_trig_use=yes
41665 else
41666   glibcxx_cv_func_long_double_trig_use=no
41667 fi
41668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41669     ac_ext=c
41670 ac_cpp='$CPP $CPPFLAGS'
41671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41674
41675 fi
41676
41677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41678 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41679   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41680     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41681 do :
41682   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41683 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41684 eval as_val=\$$as_ac_var
41685    if test "x$as_val" = x""yes; then :
41686   cat >>confdefs.h <<_ACEOF
41687 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41688 _ACEOF
41689
41690 fi
41691 done
41692
41693   else
41694     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41695 $as_echo_n "checking for _long double trig functions... " >&6; }
41696     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41697   $as_echo_n "(cached) " >&6
41698 else
41699
41700
41701       ac_ext=cpp
41702 ac_cpp='$CXXCPP $CPPFLAGS'
41703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41706
41707       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41708 /* end confdefs.h.  */
41709 #include <math.h>
41710 int
41711 main ()
41712 {
41713 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41714   ;
41715   return 0;
41716 }
41717 _ACEOF
41718 if ac_fn_cxx_try_compile "$LINENO"; then :
41719   glibcxx_cv_func__long_double_trig_use=yes
41720 else
41721   glibcxx_cv_func__long_double_trig_use=no
41722 fi
41723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41724       ac_ext=c
41725 ac_cpp='$CPP $CPPFLAGS'
41726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41729
41730 fi
41731
41732     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41733 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41734     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41735       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41736 do :
41737   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41738 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41739 eval as_val=\$$as_ac_var
41740    if test "x$as_val" = x""yes; then :
41741   cat >>confdefs.h <<_ACEOF
41742 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41743 _ACEOF
41744
41745 fi
41746 done
41747
41748     fi
41749   fi
41750
41751
41752
41753
41754
41755     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41756 $as_echo_n "checking for long double round functions... " >&6; }
41757   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41758   $as_echo_n "(cached) " >&6
41759 else
41760
41761
41762     ac_ext=cpp
41763 ac_cpp='$CXXCPP $CPPFLAGS'
41764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41767
41768     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41769 /* end confdefs.h.  */
41770 #include <math.h>
41771 int
41772 main ()
41773 {
41774 ceill (0); floorl (0);
41775   ;
41776   return 0;
41777 }
41778 _ACEOF
41779 if ac_fn_cxx_try_compile "$LINENO"; then :
41780   glibcxx_cv_func_long_double_round_use=yes
41781 else
41782   glibcxx_cv_func_long_double_round_use=no
41783 fi
41784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41785     ac_ext=c
41786 ac_cpp='$CPP $CPPFLAGS'
41787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41790
41791 fi
41792
41793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41794 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41795   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41796     for ac_func in ceill floorl
41797 do :
41798   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41799 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41800 eval as_val=\$$as_ac_var
41801    if test "x$as_val" = x""yes; then :
41802   cat >>confdefs.h <<_ACEOF
41803 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41804 _ACEOF
41805
41806 fi
41807 done
41808
41809   else
41810     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41811 $as_echo_n "checking for _long double round functions... " >&6; }
41812     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41813   $as_echo_n "(cached) " >&6
41814 else
41815
41816
41817       ac_ext=cpp
41818 ac_cpp='$CXXCPP $CPPFLAGS'
41819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41822
41823       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41824 /* end confdefs.h.  */
41825 #include <math.h>
41826 int
41827 main ()
41828 {
41829 _ceill (0); _floorl (0);
41830   ;
41831   return 0;
41832 }
41833 _ACEOF
41834 if ac_fn_cxx_try_compile "$LINENO"; then :
41835   glibcxx_cv_func__long_double_round_use=yes
41836 else
41837   glibcxx_cv_func__long_double_round_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 fi
41847
41848     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41849 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41850     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41851       for ac_func in _ceill _floorl
41852 do :
41853   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41854 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41855 eval as_val=\$$as_ac_var
41856    if test "x$as_val" = x""yes; then :
41857   cat >>confdefs.h <<_ACEOF
41858 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41859 _ACEOF
41860
41861 fi
41862 done
41863
41864     fi
41865   fi
41866
41867
41868
41869
41870
41871
41872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41873 $as_echo_n "checking for isnanl declaration... " >&6; }
41874   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41875     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41876   $as_echo_n "(cached) " >&6
41877 else
41878
41879
41880       ac_ext=cpp
41881 ac_cpp='$CXXCPP $CPPFLAGS'
41882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41885
41886       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41887 /* end confdefs.h.  */
41888 #include <math.h>
41889                       #ifdef HAVE_IEEEFP_H
41890                       #include <ieeefp.h>
41891                       #endif
41892
41893 int
41894 main ()
41895 {
41896  isnanl(0);
41897   ;
41898   return 0;
41899 }
41900 _ACEOF
41901 if ac_fn_cxx_try_compile "$LINENO"; then :
41902   glibcxx_cv_func_isnanl_use=yes
41903 else
41904   glibcxx_cv_func_isnanl_use=no
41905 fi
41906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41907       ac_ext=c
41908 ac_cpp='$CPP $CPPFLAGS'
41909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41912
41913
41914 fi
41915
41916   fi
41917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41918 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41919
41920   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41921     for ac_func in isnanl
41922 do :
41923   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41924 if test "x$ac_cv_func_isnanl" = x""yes; then :
41925   cat >>confdefs.h <<_ACEOF
41926 #define HAVE_ISNANL 1
41927 _ACEOF
41928
41929 fi
41930 done
41931
41932   else
41933
41934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41935 $as_echo_n "checking for _isnanl declaration... " >&6; }
41936   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41937     if test "${glibcxx_cv_func__isnanl_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  _isnanl(0);
41959   ;
41960   return 0;
41961 }
41962 _ACEOF
41963 if ac_fn_cxx_try_compile "$LINENO"; then :
41964   glibcxx_cv_func__isnanl_use=yes
41965 else
41966   glibcxx_cv_func__isnanl_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__isnanl_use" >&5
41980 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41981
41982     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41983       for ac_func in _isnanl
41984 do :
41985   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41986 if test "x$ac_cv_func__isnanl" = x""yes; then :
41987   cat >>confdefs.h <<_ACEOF
41988 #define HAVE__ISNANL 1
41989 _ACEOF
41990
41991 fi
41992 done
41993
41994     fi
41995   fi
41996
41997
41998
41999
42000
42001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42002 $as_echo_n "checking for isinfl declaration... " >&6; }
42003   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42004     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42005   $as_echo_n "(cached) " >&6
42006 else
42007
42008
42009       ac_ext=cpp
42010 ac_cpp='$CXXCPP $CPPFLAGS'
42011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42014
42015       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42016 /* end confdefs.h.  */
42017 #include <math.h>
42018                       #ifdef HAVE_IEEEFP_H
42019                       #include <ieeefp.h>
42020                       #endif
42021
42022 int
42023 main ()
42024 {
42025  isinfl(0);
42026   ;
42027   return 0;
42028 }
42029 _ACEOF
42030 if ac_fn_cxx_try_compile "$LINENO"; then :
42031   glibcxx_cv_func_isinfl_use=yes
42032 else
42033   glibcxx_cv_func_isinfl_use=no
42034 fi
42035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42036       ac_ext=c
42037 ac_cpp='$CPP $CPPFLAGS'
42038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42041
42042
42043 fi
42044
42045   fi
42046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42047 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42048
42049   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42050     for ac_func in isinfl
42051 do :
42052   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42053 if test "x$ac_cv_func_isinfl" = x""yes; then :
42054   cat >>confdefs.h <<_ACEOF
42055 #define HAVE_ISINFL 1
42056 _ACEOF
42057
42058 fi
42059 done
42060
42061   else
42062
42063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42064 $as_echo_n "checking for _isinfl declaration... " >&6; }
42065   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42066     if test "${glibcxx_cv_func__isinfl_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                       #ifdef HAVE_IEEEFP_H
42081                       #include <ieeefp.h>
42082                       #endif
42083
42084 int
42085 main ()
42086 {
42087  _isinfl(0);
42088   ;
42089   return 0;
42090 }
42091 _ACEOF
42092 if ac_fn_cxx_try_compile "$LINENO"; then :
42093   glibcxx_cv_func__isinfl_use=yes
42094 else
42095   glibcxx_cv_func__isinfl_use=no
42096 fi
42097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42098       ac_ext=c
42099 ac_cpp='$CPP $CPPFLAGS'
42100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42103
42104
42105 fi
42106
42107   fi
42108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42109 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42110
42111     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42112       for ac_func in _isinfl
42113 do :
42114   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42115 if test "x$ac_cv_func__isinfl" = x""yes; then :
42116   cat >>confdefs.h <<_ACEOF
42117 #define HAVE__ISINFL 1
42118 _ACEOF
42119
42120 fi
42121 done
42122
42123     fi
42124   fi
42125
42126
42127
42128
42129
42130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42131 $as_echo_n "checking for atan2l declaration... " >&6; }
42132   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42133     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42134   $as_echo_n "(cached) " >&6
42135 else
42136
42137
42138       ac_ext=cpp
42139 ac_cpp='$CXXCPP $CPPFLAGS'
42140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42143
42144       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42145 /* end confdefs.h.  */
42146 #include <math.h>
42147 int
42148 main ()
42149 {
42150  atan2l(0, 0);
42151   ;
42152   return 0;
42153 }
42154 _ACEOF
42155 if ac_fn_cxx_try_compile "$LINENO"; then :
42156   glibcxx_cv_func_atan2l_use=yes
42157 else
42158   glibcxx_cv_func_atan2l_use=no
42159 fi
42160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42161       ac_ext=c
42162 ac_cpp='$CPP $CPPFLAGS'
42163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42166
42167
42168 fi
42169
42170   fi
42171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42172 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42173
42174   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42175     for ac_func in atan2l
42176 do :
42177   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42178 if test "x$ac_cv_func_atan2l" = x""yes; then :
42179   cat >>confdefs.h <<_ACEOF
42180 #define HAVE_ATAN2L 1
42181 _ACEOF
42182
42183 fi
42184 done
42185
42186   else
42187
42188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42189 $as_echo_n "checking for _atan2l declaration... " >&6; }
42190   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42191     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42192   $as_echo_n "(cached) " >&6
42193 else
42194
42195
42196       ac_ext=cpp
42197 ac_cpp='$CXXCPP $CPPFLAGS'
42198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42201
42202       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42203 /* end confdefs.h.  */
42204 #include <math.h>
42205 int
42206 main ()
42207 {
42208  _atan2l(0, 0);
42209   ;
42210   return 0;
42211 }
42212 _ACEOF
42213 if ac_fn_cxx_try_compile "$LINENO"; then :
42214   glibcxx_cv_func__atan2l_use=yes
42215 else
42216   glibcxx_cv_func__atan2l_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__atan2l_use" >&5
42230 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42231
42232     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42233       for ac_func in _atan2l
42234 do :
42235   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42236 if test "x$ac_cv_func__atan2l" = x""yes; then :
42237   cat >>confdefs.h <<_ACEOF
42238 #define HAVE__ATAN2L 1
42239 _ACEOF
42240
42241 fi
42242 done
42243
42244     fi
42245   fi
42246
42247
42248
42249
42250
42251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42252 $as_echo_n "checking for expl declaration... " >&6; }
42253   if test x${glibcxx_cv_func_expl_use+set} != xset; then
42254     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42255   $as_echo_n "(cached) " >&6
42256 else
42257
42258
42259       ac_ext=cpp
42260 ac_cpp='$CXXCPP $CPPFLAGS'
42261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42264
42265       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42266 /* end confdefs.h.  */
42267 #include <math.h>
42268                       #ifdef HAVE_IEEEFP_H
42269                       #include <ieeefp.h>
42270                       #endif
42271
42272 int
42273 main ()
42274 {
42275  expl(0);
42276   ;
42277   return 0;
42278 }
42279 _ACEOF
42280 if ac_fn_cxx_try_compile "$LINENO"; then :
42281   glibcxx_cv_func_expl_use=yes
42282 else
42283   glibcxx_cv_func_expl_use=no
42284 fi
42285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42286       ac_ext=c
42287 ac_cpp='$CPP $CPPFLAGS'
42288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42291
42292
42293 fi
42294
42295   fi
42296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42297 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42298
42299   if test x$glibcxx_cv_func_expl_use = x"yes"; then
42300     for ac_func in expl
42301 do :
42302   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42303 if test "x$ac_cv_func_expl" = x""yes; then :
42304   cat >>confdefs.h <<_ACEOF
42305 #define HAVE_EXPL 1
42306 _ACEOF
42307
42308 fi
42309 done
42310
42311   else
42312
42313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42314 $as_echo_n "checking for _expl declaration... " >&6; }
42315   if test x${glibcxx_cv_func__expl_use+set} != xset; then
42316     if test "${glibcxx_cv_func__expl_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  _expl(0);
42338   ;
42339   return 0;
42340 }
42341 _ACEOF
42342 if ac_fn_cxx_try_compile "$LINENO"; then :
42343   glibcxx_cv_func__expl_use=yes
42344 else
42345   glibcxx_cv_func__expl_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__expl_use" >&5
42359 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42360
42361     if test x$glibcxx_cv_func__expl_use = x"yes"; then
42362       for ac_func in _expl
42363 do :
42364   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42365 if test "x$ac_cv_func__expl" = x""yes; then :
42366   cat >>confdefs.h <<_ACEOF
42367 #define HAVE__EXPL 1
42368 _ACEOF
42369
42370 fi
42371 done
42372
42373     fi
42374   fi
42375
42376
42377
42378
42379
42380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42381 $as_echo_n "checking for fabsl declaration... " >&6; }
42382   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42383     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42384   $as_echo_n "(cached) " >&6
42385 else
42386
42387
42388       ac_ext=cpp
42389 ac_cpp='$CXXCPP $CPPFLAGS'
42390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42393
42394       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42395 /* end confdefs.h.  */
42396 #include <math.h>
42397                       #ifdef HAVE_IEEEFP_H
42398                       #include <ieeefp.h>
42399                       #endif
42400
42401 int
42402 main ()
42403 {
42404  fabsl(0);
42405   ;
42406   return 0;
42407 }
42408 _ACEOF
42409 if ac_fn_cxx_try_compile "$LINENO"; then :
42410   glibcxx_cv_func_fabsl_use=yes
42411 else
42412   glibcxx_cv_func_fabsl_use=no
42413 fi
42414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42415       ac_ext=c
42416 ac_cpp='$CPP $CPPFLAGS'
42417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42420
42421
42422 fi
42423
42424   fi
42425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42426 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42427
42428   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42429     for ac_func in fabsl
42430 do :
42431   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42432 if test "x$ac_cv_func_fabsl" = x""yes; then :
42433   cat >>confdefs.h <<_ACEOF
42434 #define HAVE_FABSL 1
42435 _ACEOF
42436
42437 fi
42438 done
42439
42440   else
42441
42442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42443 $as_echo_n "checking for _fabsl declaration... " >&6; }
42444   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42445     if test "${glibcxx_cv_func__fabsl_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                       #ifdef HAVE_IEEEFP_H
42460                       #include <ieeefp.h>
42461                       #endif
42462
42463 int
42464 main ()
42465 {
42466  _fabsl(0);
42467   ;
42468   return 0;
42469 }
42470 _ACEOF
42471 if ac_fn_cxx_try_compile "$LINENO"; then :
42472   glibcxx_cv_func__fabsl_use=yes
42473 else
42474   glibcxx_cv_func__fabsl_use=no
42475 fi
42476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42477       ac_ext=c
42478 ac_cpp='$CPP $CPPFLAGS'
42479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42482
42483
42484 fi
42485
42486   fi
42487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42488 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42489
42490     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42491       for ac_func in _fabsl
42492 do :
42493   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42494 if test "x$ac_cv_func__fabsl" = x""yes; then :
42495   cat >>confdefs.h <<_ACEOF
42496 #define HAVE__FABSL 1
42497 _ACEOF
42498
42499 fi
42500 done
42501
42502     fi
42503   fi
42504
42505
42506
42507
42508
42509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42510 $as_echo_n "checking for fmodl declaration... " >&6; }
42511   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42512     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42513   $as_echo_n "(cached) " >&6
42514 else
42515
42516
42517       ac_ext=cpp
42518 ac_cpp='$CXXCPP $CPPFLAGS'
42519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42522
42523       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42524 /* end confdefs.h.  */
42525 #include <math.h>
42526 int
42527 main ()
42528 {
42529  fmodl(0, 0);
42530   ;
42531   return 0;
42532 }
42533 _ACEOF
42534 if ac_fn_cxx_try_compile "$LINENO"; then :
42535   glibcxx_cv_func_fmodl_use=yes
42536 else
42537   glibcxx_cv_func_fmodl_use=no
42538 fi
42539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42540       ac_ext=c
42541 ac_cpp='$CPP $CPPFLAGS'
42542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42545
42546
42547 fi
42548
42549   fi
42550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42551 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42552
42553   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42554     for ac_func in fmodl
42555 do :
42556   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42557 if test "x$ac_cv_func_fmodl" = x""yes; then :
42558   cat >>confdefs.h <<_ACEOF
42559 #define HAVE_FMODL 1
42560 _ACEOF
42561
42562 fi
42563 done
42564
42565   else
42566
42567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42568 $as_echo_n "checking for _fmodl declaration... " >&6; }
42569   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42570     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42571   $as_echo_n "(cached) " >&6
42572 else
42573
42574
42575       ac_ext=cpp
42576 ac_cpp='$CXXCPP $CPPFLAGS'
42577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42580
42581       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42582 /* end confdefs.h.  */
42583 #include <math.h>
42584 int
42585 main ()
42586 {
42587  _fmodl(0, 0);
42588   ;
42589   return 0;
42590 }
42591 _ACEOF
42592 if ac_fn_cxx_try_compile "$LINENO"; then :
42593   glibcxx_cv_func__fmodl_use=yes
42594 else
42595   glibcxx_cv_func__fmodl_use=no
42596 fi
42597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42598       ac_ext=c
42599 ac_cpp='$CPP $CPPFLAGS'
42600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42603
42604
42605 fi
42606
42607   fi
42608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42609 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42610
42611     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42612       for ac_func in _fmodl
42613 do :
42614   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42615 if test "x$ac_cv_func__fmodl" = x""yes; then :
42616   cat >>confdefs.h <<_ACEOF
42617 #define HAVE__FMODL 1
42618 _ACEOF
42619
42620 fi
42621 done
42622
42623     fi
42624   fi
42625
42626
42627
42628
42629
42630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42631 $as_echo_n "checking for frexpl declaration... " >&6; }
42632   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42633     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42634   $as_echo_n "(cached) " >&6
42635 else
42636
42637
42638       ac_ext=cpp
42639 ac_cpp='$CXXCPP $CPPFLAGS'
42640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42643
42644       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42645 /* end confdefs.h.  */
42646 #include <math.h>
42647 int
42648 main ()
42649 {
42650  frexpl(0, 0);
42651   ;
42652   return 0;
42653 }
42654 _ACEOF
42655 if ac_fn_cxx_try_compile "$LINENO"; then :
42656   glibcxx_cv_func_frexpl_use=yes
42657 else
42658   glibcxx_cv_func_frexpl_use=no
42659 fi
42660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42661       ac_ext=c
42662 ac_cpp='$CPP $CPPFLAGS'
42663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42666
42667
42668 fi
42669
42670   fi
42671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42672 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42673
42674   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42675     for ac_func in frexpl
42676 do :
42677   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42678 if test "x$ac_cv_func_frexpl" = x""yes; then :
42679   cat >>confdefs.h <<_ACEOF
42680 #define HAVE_FREXPL 1
42681 _ACEOF
42682
42683 fi
42684 done
42685
42686   else
42687
42688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42689 $as_echo_n "checking for _frexpl declaration... " >&6; }
42690   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42691     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42692   $as_echo_n "(cached) " >&6
42693 else
42694
42695
42696       ac_ext=cpp
42697 ac_cpp='$CXXCPP $CPPFLAGS'
42698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42701
42702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42703 /* end confdefs.h.  */
42704 #include <math.h>
42705 int
42706 main ()
42707 {
42708  _frexpl(0, 0);
42709   ;
42710   return 0;
42711 }
42712 _ACEOF
42713 if ac_fn_cxx_try_compile "$LINENO"; then :
42714   glibcxx_cv_func__frexpl_use=yes
42715 else
42716   glibcxx_cv_func__frexpl_use=no
42717 fi
42718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42719       ac_ext=c
42720 ac_cpp='$CPP $CPPFLAGS'
42721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42724
42725
42726 fi
42727
42728   fi
42729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42730 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42731
42732     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42733       for ac_func in _frexpl
42734 do :
42735   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42736 if test "x$ac_cv_func__frexpl" = x""yes; then :
42737   cat >>confdefs.h <<_ACEOF
42738 #define HAVE__FREXPL 1
42739 _ACEOF
42740
42741 fi
42742 done
42743
42744     fi
42745   fi
42746
42747
42748
42749
42750
42751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42752 $as_echo_n "checking for hypotl declaration... " >&6; }
42753   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42754     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42755   $as_echo_n "(cached) " >&6
42756 else
42757
42758
42759       ac_ext=cpp
42760 ac_cpp='$CXXCPP $CPPFLAGS'
42761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42764
42765       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42766 /* end confdefs.h.  */
42767 #include <math.h>
42768 int
42769 main ()
42770 {
42771  hypotl(0, 0);
42772   ;
42773   return 0;
42774 }
42775 _ACEOF
42776 if ac_fn_cxx_try_compile "$LINENO"; then :
42777   glibcxx_cv_func_hypotl_use=yes
42778 else
42779   glibcxx_cv_func_hypotl_use=no
42780 fi
42781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42782       ac_ext=c
42783 ac_cpp='$CPP $CPPFLAGS'
42784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42787
42788
42789 fi
42790
42791   fi
42792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42793 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42794
42795   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42796     for ac_func in hypotl
42797 do :
42798   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42799 if test "x$ac_cv_func_hypotl" = x""yes; then :
42800   cat >>confdefs.h <<_ACEOF
42801 #define HAVE_HYPOTL 1
42802 _ACEOF
42803
42804 fi
42805 done
42806
42807   else
42808
42809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42810 $as_echo_n "checking for _hypotl declaration... " >&6; }
42811   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42812     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42813   $as_echo_n "(cached) " >&6
42814 else
42815
42816
42817       ac_ext=cpp
42818 ac_cpp='$CXXCPP $CPPFLAGS'
42819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42822
42823       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42824 /* end confdefs.h.  */
42825 #include <math.h>
42826 int
42827 main ()
42828 {
42829  _hypotl(0, 0);
42830   ;
42831   return 0;
42832 }
42833 _ACEOF
42834 if ac_fn_cxx_try_compile "$LINENO"; then :
42835   glibcxx_cv_func__hypotl_use=yes
42836 else
42837   glibcxx_cv_func__hypotl_use=no
42838 fi
42839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42840       ac_ext=c
42841 ac_cpp='$CPP $CPPFLAGS'
42842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42845
42846
42847 fi
42848
42849   fi
42850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42851 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42852
42853     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42854       for ac_func in _hypotl
42855 do :
42856   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42857 if test "x$ac_cv_func__hypotl" = x""yes; then :
42858   cat >>confdefs.h <<_ACEOF
42859 #define HAVE__HYPOTL 1
42860 _ACEOF
42861
42862 fi
42863 done
42864
42865     fi
42866   fi
42867
42868
42869
42870
42871
42872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42873 $as_echo_n "checking for ldexpl declaration... " >&6; }
42874   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42875     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42876   $as_echo_n "(cached) " >&6
42877 else
42878
42879
42880       ac_ext=cpp
42881 ac_cpp='$CXXCPP $CPPFLAGS'
42882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42885
42886       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42887 /* end confdefs.h.  */
42888 #include <math.h>
42889 int
42890 main ()
42891 {
42892  ldexpl(0, 0);
42893   ;
42894   return 0;
42895 }
42896 _ACEOF
42897 if ac_fn_cxx_try_compile "$LINENO"; then :
42898   glibcxx_cv_func_ldexpl_use=yes
42899 else
42900   glibcxx_cv_func_ldexpl_use=no
42901 fi
42902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42903       ac_ext=c
42904 ac_cpp='$CPP $CPPFLAGS'
42905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42908
42909
42910 fi
42911
42912   fi
42913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42914 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42915
42916   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42917     for ac_func in ldexpl
42918 do :
42919   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42920 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42921   cat >>confdefs.h <<_ACEOF
42922 #define HAVE_LDEXPL 1
42923 _ACEOF
42924
42925 fi
42926 done
42927
42928   else
42929
42930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42931 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42932   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42933     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42934   $as_echo_n "(cached) " >&6
42935 else
42936
42937
42938       ac_ext=cpp
42939 ac_cpp='$CXXCPP $CPPFLAGS'
42940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42943
42944       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42945 /* end confdefs.h.  */
42946 #include <math.h>
42947 int
42948 main ()
42949 {
42950  _ldexpl(0, 0);
42951   ;
42952   return 0;
42953 }
42954 _ACEOF
42955 if ac_fn_cxx_try_compile "$LINENO"; then :
42956   glibcxx_cv_func__ldexpl_use=yes
42957 else
42958   glibcxx_cv_func__ldexpl_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__ldexpl_use" >&5
42972 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42973
42974     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42975       for ac_func in _ldexpl
42976 do :
42977   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42978 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42979   cat >>confdefs.h <<_ACEOF
42980 #define HAVE__LDEXPL 1
42981 _ACEOF
42982
42983 fi
42984 done
42985
42986     fi
42987   fi
42988
42989
42990
42991
42992
42993   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42994 $as_echo_n "checking for logl declaration... " >&6; }
42995   if test x${glibcxx_cv_func_logl_use+set} != xset; then
42996     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42997   $as_echo_n "(cached) " >&6
42998 else
42999
43000
43001       ac_ext=cpp
43002 ac_cpp='$CXXCPP $CPPFLAGS'
43003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43006
43007       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43008 /* end confdefs.h.  */
43009 #include <math.h>
43010                       #ifdef HAVE_IEEEFP_H
43011                       #include <ieeefp.h>
43012                       #endif
43013
43014 int
43015 main ()
43016 {
43017  logl(0);
43018   ;
43019   return 0;
43020 }
43021 _ACEOF
43022 if ac_fn_cxx_try_compile "$LINENO"; then :
43023   glibcxx_cv_func_logl_use=yes
43024 else
43025   glibcxx_cv_func_logl_use=no
43026 fi
43027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43028       ac_ext=c
43029 ac_cpp='$CPP $CPPFLAGS'
43030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43033
43034
43035 fi
43036
43037   fi
43038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43039 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43040
43041   if test x$glibcxx_cv_func_logl_use = x"yes"; then
43042     for ac_func in logl
43043 do :
43044   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43045 if test "x$ac_cv_func_logl" = x""yes; then :
43046   cat >>confdefs.h <<_ACEOF
43047 #define HAVE_LOGL 1
43048 _ACEOF
43049
43050 fi
43051 done
43052
43053   else
43054
43055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43056 $as_echo_n "checking for _logl declaration... " >&6; }
43057   if test x${glibcxx_cv_func__logl_use+set} != xset; then
43058     if test "${glibcxx_cv_func__logl_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  _logl(0);
43080   ;
43081   return 0;
43082 }
43083 _ACEOF
43084 if ac_fn_cxx_try_compile "$LINENO"; then :
43085   glibcxx_cv_func__logl_use=yes
43086 else
43087   glibcxx_cv_func__logl_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__logl_use" >&5
43101 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43102
43103     if test x$glibcxx_cv_func__logl_use = x"yes"; then
43104       for ac_func in _logl
43105 do :
43106   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43107 if test "x$ac_cv_func__logl" = x""yes; then :
43108   cat >>confdefs.h <<_ACEOF
43109 #define HAVE__LOGL 1
43110 _ACEOF
43111
43112 fi
43113 done
43114
43115     fi
43116   fi
43117
43118
43119
43120
43121
43122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43123 $as_echo_n "checking for log10l declaration... " >&6; }
43124   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43125     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43126   $as_echo_n "(cached) " >&6
43127 else
43128
43129
43130       ac_ext=cpp
43131 ac_cpp='$CXXCPP $CPPFLAGS'
43132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43135
43136       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43137 /* end confdefs.h.  */
43138 #include <math.h>
43139                       #ifdef HAVE_IEEEFP_H
43140                       #include <ieeefp.h>
43141                       #endif
43142
43143 int
43144 main ()
43145 {
43146  log10l(0);
43147   ;
43148   return 0;
43149 }
43150 _ACEOF
43151 if ac_fn_cxx_try_compile "$LINENO"; then :
43152   glibcxx_cv_func_log10l_use=yes
43153 else
43154   glibcxx_cv_func_log10l_use=no
43155 fi
43156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43157       ac_ext=c
43158 ac_cpp='$CPP $CPPFLAGS'
43159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43162
43163
43164 fi
43165
43166   fi
43167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43168 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43169
43170   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43171     for ac_func in log10l
43172 do :
43173   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43174 if test "x$ac_cv_func_log10l" = x""yes; then :
43175   cat >>confdefs.h <<_ACEOF
43176 #define HAVE_LOG10L 1
43177 _ACEOF
43178
43179 fi
43180 done
43181
43182   else
43183
43184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43185 $as_echo_n "checking for _log10l declaration... " >&6; }
43186   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43187     if test "${glibcxx_cv_func__log10l_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                       #ifdef HAVE_IEEEFP_H
43202                       #include <ieeefp.h>
43203                       #endif
43204
43205 int
43206 main ()
43207 {
43208  _log10l(0);
43209   ;
43210   return 0;
43211 }
43212 _ACEOF
43213 if ac_fn_cxx_try_compile "$LINENO"; then :
43214   glibcxx_cv_func__log10l_use=yes
43215 else
43216   glibcxx_cv_func__log10l_use=no
43217 fi
43218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43219       ac_ext=c
43220 ac_cpp='$CPP $CPPFLAGS'
43221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43224
43225
43226 fi
43227
43228   fi
43229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43230 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43231
43232     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43233       for ac_func in _log10l
43234 do :
43235   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43236 if test "x$ac_cv_func__log10l" = x""yes; then :
43237   cat >>confdefs.h <<_ACEOF
43238 #define HAVE__LOG10L 1
43239 _ACEOF
43240
43241 fi
43242 done
43243
43244     fi
43245   fi
43246
43247
43248
43249
43250
43251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43252 $as_echo_n "checking for modfl declaration... " >&6; }
43253   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43254     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43255   $as_echo_n "(cached) " >&6
43256 else
43257
43258
43259       ac_ext=cpp
43260 ac_cpp='$CXXCPP $CPPFLAGS'
43261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43264
43265       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43266 /* end confdefs.h.  */
43267 #include <math.h>
43268 int
43269 main ()
43270 {
43271  modfl(0, 0);
43272   ;
43273   return 0;
43274 }
43275 _ACEOF
43276 if ac_fn_cxx_try_compile "$LINENO"; then :
43277   glibcxx_cv_func_modfl_use=yes
43278 else
43279   glibcxx_cv_func_modfl_use=no
43280 fi
43281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43282       ac_ext=c
43283 ac_cpp='$CPP $CPPFLAGS'
43284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43287
43288
43289 fi
43290
43291   fi
43292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43293 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43294
43295   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43296     for ac_func in modfl
43297 do :
43298   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43299 if test "x$ac_cv_func_modfl" = x""yes; then :
43300   cat >>confdefs.h <<_ACEOF
43301 #define HAVE_MODFL 1
43302 _ACEOF
43303
43304 fi
43305 done
43306
43307   else
43308
43309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43310 $as_echo_n "checking for _modfl declaration... " >&6; }
43311   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43312     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43313   $as_echo_n "(cached) " >&6
43314 else
43315
43316
43317       ac_ext=cpp
43318 ac_cpp='$CXXCPP $CPPFLAGS'
43319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43322
43323       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43324 /* end confdefs.h.  */
43325 #include <math.h>
43326 int
43327 main ()
43328 {
43329  _modfl(0, 0);
43330   ;
43331   return 0;
43332 }
43333 _ACEOF
43334 if ac_fn_cxx_try_compile "$LINENO"; then :
43335   glibcxx_cv_func__modfl_use=yes
43336 else
43337   glibcxx_cv_func__modfl_use=no
43338 fi
43339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43340       ac_ext=c
43341 ac_cpp='$CPP $CPPFLAGS'
43342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43345
43346
43347 fi
43348
43349   fi
43350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43351 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43352
43353     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43354       for ac_func in _modfl
43355 do :
43356   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43357 if test "x$ac_cv_func__modfl" = x""yes; then :
43358   cat >>confdefs.h <<_ACEOF
43359 #define HAVE__MODFL 1
43360 _ACEOF
43361
43362 fi
43363 done
43364
43365     fi
43366   fi
43367
43368
43369
43370
43371
43372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43373 $as_echo_n "checking for powl declaration... " >&6; }
43374   if test x${glibcxx_cv_func_powl_use+set} != xset; then
43375     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43376   $as_echo_n "(cached) " >&6
43377 else
43378
43379
43380       ac_ext=cpp
43381 ac_cpp='$CXXCPP $CPPFLAGS'
43382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43385
43386       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43387 /* end confdefs.h.  */
43388 #include <math.h>
43389 int
43390 main ()
43391 {
43392  powl(0, 0);
43393   ;
43394   return 0;
43395 }
43396 _ACEOF
43397 if ac_fn_cxx_try_compile "$LINENO"; then :
43398   glibcxx_cv_func_powl_use=yes
43399 else
43400   glibcxx_cv_func_powl_use=no
43401 fi
43402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43403       ac_ext=c
43404 ac_cpp='$CPP $CPPFLAGS'
43405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43408
43409
43410 fi
43411
43412   fi
43413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43414 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43415
43416   if test x$glibcxx_cv_func_powl_use = x"yes"; then
43417     for ac_func in powl
43418 do :
43419   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43420 if test "x$ac_cv_func_powl" = x""yes; then :
43421   cat >>confdefs.h <<_ACEOF
43422 #define HAVE_POWL 1
43423 _ACEOF
43424
43425 fi
43426 done
43427
43428   else
43429
43430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43431 $as_echo_n "checking for _powl declaration... " >&6; }
43432   if test x${glibcxx_cv_func__powl_use+set} != xset; then
43433     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43434   $as_echo_n "(cached) " >&6
43435 else
43436
43437
43438       ac_ext=cpp
43439 ac_cpp='$CXXCPP $CPPFLAGS'
43440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43443
43444       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43445 /* end confdefs.h.  */
43446 #include <math.h>
43447 int
43448 main ()
43449 {
43450  _powl(0, 0);
43451   ;
43452   return 0;
43453 }
43454 _ACEOF
43455 if ac_fn_cxx_try_compile "$LINENO"; then :
43456   glibcxx_cv_func__powl_use=yes
43457 else
43458   glibcxx_cv_func__powl_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__powl_use" >&5
43472 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43473
43474     if test x$glibcxx_cv_func__powl_use = x"yes"; then
43475       for ac_func in _powl
43476 do :
43477   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43478 if test "x$ac_cv_func__powl" = x""yes; then :
43479   cat >>confdefs.h <<_ACEOF
43480 #define HAVE__POWL 1
43481 _ACEOF
43482
43483 fi
43484 done
43485
43486     fi
43487   fi
43488
43489
43490
43491
43492
43493   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43494 $as_echo_n "checking for sqrtl declaration... " >&6; }
43495   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43496     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43497   $as_echo_n "(cached) " >&6
43498 else
43499
43500
43501       ac_ext=cpp
43502 ac_cpp='$CXXCPP $CPPFLAGS'
43503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43506
43507       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43508 /* end confdefs.h.  */
43509 #include <math.h>
43510                       #ifdef HAVE_IEEEFP_H
43511                       #include <ieeefp.h>
43512                       #endif
43513
43514 int
43515 main ()
43516 {
43517  sqrtl(0);
43518   ;
43519   return 0;
43520 }
43521 _ACEOF
43522 if ac_fn_cxx_try_compile "$LINENO"; then :
43523   glibcxx_cv_func_sqrtl_use=yes
43524 else
43525   glibcxx_cv_func_sqrtl_use=no
43526 fi
43527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43528       ac_ext=c
43529 ac_cpp='$CPP $CPPFLAGS'
43530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43533
43534
43535 fi
43536
43537   fi
43538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43539 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43540
43541   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43542     for ac_func in sqrtl
43543 do :
43544   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43545 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43546   cat >>confdefs.h <<_ACEOF
43547 #define HAVE_SQRTL 1
43548 _ACEOF
43549
43550 fi
43551 done
43552
43553   else
43554
43555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43556 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43557   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43558     if test "${glibcxx_cv_func__sqrtl_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                       #ifdef HAVE_IEEEFP_H
43573                       #include <ieeefp.h>
43574                       #endif
43575
43576 int
43577 main ()
43578 {
43579  _sqrtl(0);
43580   ;
43581   return 0;
43582 }
43583 _ACEOF
43584 if ac_fn_cxx_try_compile "$LINENO"; then :
43585   glibcxx_cv_func__sqrtl_use=yes
43586 else
43587   glibcxx_cv_func__sqrtl_use=no
43588 fi
43589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43590       ac_ext=c
43591 ac_cpp='$CPP $CPPFLAGS'
43592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43595
43596
43597 fi
43598
43599   fi
43600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43601 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43602
43603     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43604       for ac_func in _sqrtl
43605 do :
43606   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43607 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43608   cat >>confdefs.h <<_ACEOF
43609 #define HAVE__SQRTL 1
43610 _ACEOF
43611
43612 fi
43613 done
43614
43615     fi
43616   fi
43617
43618
43619
43620
43621
43622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43623 $as_echo_n "checking for sincosl declaration... " >&6; }
43624   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43625     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43626   $as_echo_n "(cached) " >&6
43627 else
43628
43629
43630       ac_ext=cpp
43631 ac_cpp='$CXXCPP $CPPFLAGS'
43632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43635
43636       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43637 /* end confdefs.h.  */
43638 #include <math.h>
43639 int
43640 main ()
43641 {
43642  sincosl(0, 0, 0);
43643   ;
43644   return 0;
43645 }
43646 _ACEOF
43647 if ac_fn_cxx_try_compile "$LINENO"; then :
43648   glibcxx_cv_func_sincosl_use=yes
43649 else
43650   glibcxx_cv_func_sincosl_use=no
43651 fi
43652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43653       ac_ext=c
43654 ac_cpp='$CPP $CPPFLAGS'
43655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43658
43659
43660 fi
43661
43662   fi
43663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43664 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43665
43666   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43667     for ac_func in sincosl
43668 do :
43669   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43670 if test "x$ac_cv_func_sincosl" = x""yes; then :
43671   cat >>confdefs.h <<_ACEOF
43672 #define HAVE_SINCOSL 1
43673 _ACEOF
43674
43675 fi
43676 done
43677
43678   else
43679
43680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43681 $as_echo_n "checking for _sincosl declaration... " >&6; }
43682   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43683     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43684   $as_echo_n "(cached) " >&6
43685 else
43686
43687
43688       ac_ext=cpp
43689 ac_cpp='$CXXCPP $CPPFLAGS'
43690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43693
43694       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43695 /* end confdefs.h.  */
43696 #include <math.h>
43697 int
43698 main ()
43699 {
43700  _sincosl(0, 0, 0);
43701   ;
43702   return 0;
43703 }
43704 _ACEOF
43705 if ac_fn_cxx_try_compile "$LINENO"; then :
43706   glibcxx_cv_func__sincosl_use=yes
43707 else
43708   glibcxx_cv_func__sincosl_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__sincosl_use" >&5
43722 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43723
43724     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43725       for ac_func in _sincosl
43726 do :
43727   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43728 if test "x$ac_cv_func__sincosl" = x""yes; then :
43729   cat >>confdefs.h <<_ACEOF
43730 #define HAVE__SINCOSL 1
43731 _ACEOF
43732
43733 fi
43734 done
43735
43736     fi
43737   fi
43738
43739
43740
43741
43742
43743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43744 $as_echo_n "checking for finitel declaration... " >&6; }
43745   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43746     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43747   $as_echo_n "(cached) " >&6
43748 else
43749
43750
43751       ac_ext=cpp
43752 ac_cpp='$CXXCPP $CPPFLAGS'
43753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43756
43757       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43758 /* end confdefs.h.  */
43759 #include <math.h>
43760                       #ifdef HAVE_IEEEFP_H
43761                       #include <ieeefp.h>
43762                       #endif
43763
43764 int
43765 main ()
43766 {
43767  finitel(0);
43768   ;
43769   return 0;
43770 }
43771 _ACEOF
43772 if ac_fn_cxx_try_compile "$LINENO"; then :
43773   glibcxx_cv_func_finitel_use=yes
43774 else
43775   glibcxx_cv_func_finitel_use=no
43776 fi
43777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43778       ac_ext=c
43779 ac_cpp='$CPP $CPPFLAGS'
43780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43783
43784
43785 fi
43786
43787   fi
43788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43789 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43790
43791   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43792     for ac_func in finitel
43793 do :
43794   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43795 if test "x$ac_cv_func_finitel" = x""yes; then :
43796   cat >>confdefs.h <<_ACEOF
43797 #define HAVE_FINITEL 1
43798 _ACEOF
43799
43800 fi
43801 done
43802
43803   else
43804
43805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43806 $as_echo_n "checking for _finitel declaration... " >&6; }
43807   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43808     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43809   $as_echo_n "(cached) " >&6
43810 else
43811
43812
43813       ac_ext=cpp
43814 ac_cpp='$CXXCPP $CPPFLAGS'
43815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43818
43819       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43820 /* end confdefs.h.  */
43821 #include <math.h>
43822                       #ifdef HAVE_IEEEFP_H
43823                       #include <ieeefp.h>
43824                       #endif
43825
43826 int
43827 main ()
43828 {
43829  _finitel(0);
43830   ;
43831   return 0;
43832 }
43833 _ACEOF
43834 if ac_fn_cxx_try_compile "$LINENO"; then :
43835   glibcxx_cv_func__finitel_use=yes
43836 else
43837   glibcxx_cv_func__finitel_use=no
43838 fi
43839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43840       ac_ext=c
43841 ac_cpp='$CPP $CPPFLAGS'
43842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43845
43846
43847 fi
43848
43849   fi
43850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43851 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43852
43853     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43854       for ac_func in _finitel
43855 do :
43856   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43857 if test "x$ac_cv_func__finitel" = x""yes; then :
43858   cat >>confdefs.h <<_ACEOF
43859 #define HAVE__FINITEL 1
43860 _ACEOF
43861
43862 fi
43863 done
43864
43865     fi
43866   fi
43867
43868
43869
43870
43871   LIBS="$ac_save_LIBS"
43872   CXXFLAGS="$ac_save_CXXFLAGS"
43873
43874
43875   ac_test_CXXFLAGS="${CXXFLAGS+set}"
43876   ac_save_CXXFLAGS="$CXXFLAGS"
43877   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43878
43879
43880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43881 $as_echo_n "checking for strtold declaration... " >&6; }
43882   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43883     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43884   $as_echo_n "(cached) " >&6
43885 else
43886
43887
43888       ac_ext=cpp
43889 ac_cpp='$CXXCPP $CPPFLAGS'
43890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43893
43894       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43895 /* end confdefs.h.  */
43896 #include <stdlib.h>
43897 int
43898 main ()
43899 {
43900  strtold(0, 0);
43901   ;
43902   return 0;
43903 }
43904 _ACEOF
43905 if ac_fn_cxx_try_compile "$LINENO"; then :
43906   glibcxx_cv_func_strtold_use=yes
43907 else
43908   glibcxx_cv_func_strtold_use=no
43909 fi
43910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43911       ac_ext=c
43912 ac_cpp='$CPP $CPPFLAGS'
43913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43916
43917
43918 fi
43919
43920   fi
43921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43922 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43923   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43924     for ac_func in strtold
43925 do :
43926   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43927 if test "x$ac_cv_func_strtold" = x""yes; then :
43928   cat >>confdefs.h <<_ACEOF
43929 #define HAVE_STRTOLD 1
43930 _ACEOF
43931
43932 fi
43933 done
43934
43935   fi
43936
43937
43938
43939
43940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43941 $as_echo_n "checking for strtof declaration... " >&6; }
43942   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43943     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43944   $as_echo_n "(cached) " >&6
43945 else
43946
43947
43948       ac_ext=cpp
43949 ac_cpp='$CXXCPP $CPPFLAGS'
43950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43953
43954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43955 /* end confdefs.h.  */
43956 #include <stdlib.h>
43957 int
43958 main ()
43959 {
43960  strtof(0, 0);
43961   ;
43962   return 0;
43963 }
43964 _ACEOF
43965 if ac_fn_cxx_try_compile "$LINENO"; then :
43966   glibcxx_cv_func_strtof_use=yes
43967 else
43968   glibcxx_cv_func_strtof_use=no
43969 fi
43970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43971       ac_ext=c
43972 ac_cpp='$CPP $CPPFLAGS'
43973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43976
43977
43978 fi
43979
43980   fi
43981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43982 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43983   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43984     for ac_func in strtof
43985 do :
43986   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43987 if test "x$ac_cv_func_strtof" = x""yes; then :
43988   cat >>confdefs.h <<_ACEOF
43989 #define HAVE_STRTOF 1
43990 _ACEOF
43991
43992 fi
43993 done
43994
43995   fi
43996
43997
43998
43999
44000   CXXFLAGS="$ac_save_CXXFLAGS"
44001
44002     ;;
44003
44004   *djgpp)
44005     # GLIBCXX_CHECK_MATH_SUPPORT
44006     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44007
44008     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44009
44010     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44011
44012     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44013
44014     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44015
44016     ;;
44017
44018   *-freebsd*)
44019     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44020
44021
44022   # If we're not using GNU ld, then there's no point in even trying these
44023   # tests.  Check for that first.  We should have already tested for gld
44024   # by now (in libtool), but require it now just to be safe...
44025   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44026   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44027
44028
44029
44030   # The name set by libtool depends on the version of libtool.  Shame on us
44031   # for depending on an impl detail, but c'est la vie.  Older versions used
44032   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44033   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44034   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44035   # set (hence we're using an older libtool), then set it.
44036   if test x${with_gnu_ld+set} != xset; then
44037     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44038       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44039       with_gnu_ld=no
44040     else
44041       with_gnu_ld=$ac_cv_prog_gnu_ld
44042     fi
44043   fi
44044
44045   # Start by getting the version number.  I think the libtool test already
44046   # does some of this, but throws away the result.
44047   glibcxx_ld_is_gold=no
44048   if test x"$with_gnu_ld" = x"yes"; then
44049     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44050 $as_echo_n "checking for ld version... " >&6; }
44051
44052     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44053       glibcxx_ld_is_gold=yes
44054     fi
44055     ldver=`$LD --version 2>/dev/null |
44056            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'`
44057
44058     glibcxx_gnu_ld_version=`echo $ldver | \
44059            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44060     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44061 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44062   fi
44063
44064   # Set --gc-sections.
44065   glibcxx_have_gc_sections=no
44066   if test "$glibcxx_ld_is_gold" = "yes"; then
44067     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44068       glibcxx_have_gc_sections=yes
44069     fi
44070   else
44071     glibcxx_gcsections_min_ld=21602
44072     if test x"$with_gnu_ld" = x"yes" &&
44073         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44074       glibcxx_have_gc_sections=yes
44075     fi
44076   fi
44077   if test "$glibcxx_have_gc_sections" = "yes"; then
44078     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44079     # NB: This flag only works reliably after 2.16.1. Configure tests
44080     # for this are difficult, so hard wire a value that should work.
44081
44082     ac_test_CFLAGS="${CFLAGS+set}"
44083     ac_save_CFLAGS="$CFLAGS"
44084     CFLAGS='-Wl,--gc-sections'
44085
44086     # Check for -Wl,--gc-sections
44087     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44088 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44089     if test x$gcc_no_link = xyes; then
44090   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44091 fi
44092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44093 /* end confdefs.h.  */
44094  int one(void) { return 1; }
44095      int two(void) { return 2; }
44096
44097 int
44098 main ()
44099 {
44100  two();
44101   ;
44102   return 0;
44103 }
44104 _ACEOF
44105 if ac_fn_c_try_link "$LINENO"; then :
44106   ac_gcsections=yes
44107 else
44108   ac_gcsections=no
44109 fi
44110 rm -f core conftest.err conftest.$ac_objext \
44111     conftest$ac_exeext conftest.$ac_ext
44112     if test "$ac_gcsections" = "yes"; then
44113       rm -f conftest.c
44114       touch conftest.c
44115       if $CC -c conftest.c; then
44116         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44117            grep "Warning: gc-sections option ignored" > /dev/null; then
44118           ac_gcsections=no
44119         fi
44120       fi
44121       rm -f conftest.c conftest.o conftest
44122     fi
44123     if test "$ac_gcsections" = "yes"; then
44124       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44125     fi
44126     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44127 $as_echo "$ac_gcsections" >&6; }
44128
44129     if test "$ac_test_CFLAGS" = set; then
44130       CFLAGS="$ac_save_CFLAGS"
44131     else
44132       # this is the suspicious part
44133       CFLAGS=''
44134     fi
44135   fi
44136
44137   # Set -z,relro.
44138   # Note this is only for shared objects.
44139   ac_ld_relro=no
44140   if test x"$with_gnu_ld" = x"yes"; then
44141     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44142 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44143     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44144     if test -n "$cxx_z_relo"; then
44145       OPT_LDFLAGS="-Wl,-z,relro"
44146       ac_ld_relro=yes
44147     fi
44148     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44149 $as_echo "$ac_ld_relro" >&6; }
44150   fi
44151
44152   # Set linker optimization flags.
44153   if test x"$with_gnu_ld" = x"yes"; then
44154     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44155   fi
44156
44157
44158
44159
44160     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44161
44162     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44163
44164     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44165
44166     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44167
44168     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44169
44170     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44171
44172     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44173
44174     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44175
44176     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44177
44178
44179     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44180
44181     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44182
44183     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44184
44185     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44186
44187     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44188
44189     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44190
44191     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44192
44193     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44194
44195     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44196
44197     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44198
44199     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44200
44201     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44202
44203     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44204
44205     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44206
44207     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44208
44209     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44210
44211     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44212
44213     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44214
44215     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44216
44217     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44218
44219     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44220
44221     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44222
44223     if test x"long_double_math_on_this_cpu" = x"yes"; then
44224       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44225
44226       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44227
44228       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44229
44230     fi
44231     ;;
44232   *-hpux*)
44233     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44234
44235
44236   # If we're not using GNU ld, then there's no point in even trying these
44237   # tests.  Check for that first.  We should have already tested for gld
44238   # by now (in libtool), but require it now just to be safe...
44239   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44240   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44241
44242
44243
44244   # The name set by libtool depends on the version of libtool.  Shame on us
44245   # for depending on an impl detail, but c'est la vie.  Older versions used
44246   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44247   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44248   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44249   # set (hence we're using an older libtool), then set it.
44250   if test x${with_gnu_ld+set} != xset; then
44251     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44252       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44253       with_gnu_ld=no
44254     else
44255       with_gnu_ld=$ac_cv_prog_gnu_ld
44256     fi
44257   fi
44258
44259   # Start by getting the version number.  I think the libtool test already
44260   # does some of this, but throws away the result.
44261   glibcxx_ld_is_gold=no
44262   if test x"$with_gnu_ld" = x"yes"; then
44263     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44264 $as_echo_n "checking for ld version... " >&6; }
44265
44266     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44267       glibcxx_ld_is_gold=yes
44268     fi
44269     ldver=`$LD --version 2>/dev/null |
44270            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'`
44271
44272     glibcxx_gnu_ld_version=`echo $ldver | \
44273            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44274     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44275 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44276   fi
44277
44278   # Set --gc-sections.
44279   glibcxx_have_gc_sections=no
44280   if test "$glibcxx_ld_is_gold" = "yes"; then
44281     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44282       glibcxx_have_gc_sections=yes
44283     fi
44284   else
44285     glibcxx_gcsections_min_ld=21602
44286     if test x"$with_gnu_ld" = x"yes" &&
44287         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44288       glibcxx_have_gc_sections=yes
44289     fi
44290   fi
44291   if test "$glibcxx_have_gc_sections" = "yes"; then
44292     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44293     # NB: This flag only works reliably after 2.16.1. Configure tests
44294     # for this are difficult, so hard wire a value that should work.
44295
44296     ac_test_CFLAGS="${CFLAGS+set}"
44297     ac_save_CFLAGS="$CFLAGS"
44298     CFLAGS='-Wl,--gc-sections'
44299
44300     # Check for -Wl,--gc-sections
44301     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44302 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44303     if test x$gcc_no_link = xyes; then
44304   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44305 fi
44306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44307 /* end confdefs.h.  */
44308  int one(void) { return 1; }
44309      int two(void) { return 2; }
44310
44311 int
44312 main ()
44313 {
44314  two();
44315   ;
44316   return 0;
44317 }
44318 _ACEOF
44319 if ac_fn_c_try_link "$LINENO"; then :
44320   ac_gcsections=yes
44321 else
44322   ac_gcsections=no
44323 fi
44324 rm -f core conftest.err conftest.$ac_objext \
44325     conftest$ac_exeext conftest.$ac_ext
44326     if test "$ac_gcsections" = "yes"; then
44327       rm -f conftest.c
44328       touch conftest.c
44329       if $CC -c conftest.c; then
44330         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44331            grep "Warning: gc-sections option ignored" > /dev/null; then
44332           ac_gcsections=no
44333         fi
44334       fi
44335       rm -f conftest.c conftest.o conftest
44336     fi
44337     if test "$ac_gcsections" = "yes"; then
44338       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44339     fi
44340     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44341 $as_echo "$ac_gcsections" >&6; }
44342
44343     if test "$ac_test_CFLAGS" = set; then
44344       CFLAGS="$ac_save_CFLAGS"
44345     else
44346       # this is the suspicious part
44347       CFLAGS=''
44348     fi
44349   fi
44350
44351   # Set -z,relro.
44352   # Note this is only for shared objects.
44353   ac_ld_relro=no
44354   if test x"$with_gnu_ld" = x"yes"; then
44355     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44356 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44357     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44358     if test -n "$cxx_z_relo"; then
44359       OPT_LDFLAGS="-Wl,-z,relro"
44360       ac_ld_relro=yes
44361     fi
44362     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44363 $as_echo "$ac_ld_relro" >&6; }
44364   fi
44365
44366   # Set linker optimization flags.
44367   if test x"$with_gnu_ld" = x"yes"; then
44368     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44369   fi
44370
44371
44372
44373
44374
44375     # GLIBCXX_CHECK_MATH_SUPPORT
44376     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44377
44378     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44379
44380     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44381
44382     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44383
44384     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44385
44386     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44387
44388     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44389
44390     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44391
44392     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44393
44394     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44395
44396     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44397
44398     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44399
44400     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44401
44402     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44403
44404     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44405
44406     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44407
44408     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44409
44410     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44411
44412     $as_echo "#define HAVE_MODF 1" >>confdefs.h
44413
44414     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44415
44416     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44417
44418
44419     # GLIBCXX_CHECK_STDLIB_SUPPORT
44420     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44421
44422
44423
44424
44425    # Check whether --enable-tls was given.
44426 if test "${enable_tls+set}" = set; then :
44427   enableval=$enable_tls;
44428       case "$enableval" in
44429        yes|no) ;;
44430        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44431       esac
44432
44433 else
44434   enable_tls=yes
44435 fi
44436
44437
44438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44439 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44440 if test "${gcc_cv_have_tls+set}" = set; then :
44441   $as_echo_n "(cached) " >&6
44442 else
44443
44444     if test "$cross_compiling" = yes; then :
44445                 if test x$gcc_no_link = xyes; then
44446   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44447 fi
44448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44449 /* end confdefs.h.  */
44450 __thread int a; int b; int main() { return a = b; }
44451 _ACEOF
44452 if ac_fn_c_try_link "$LINENO"; then :
44453   chktls_save_LDFLAGS="$LDFLAGS"
44454                           case $host in
44455             *-*-linux*)
44456               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44457               ;;
44458           esac
44459           chktls_save_CFLAGS="$CFLAGS"
44460           CFLAGS="-fPIC $CFLAGS"
44461                   if test x$gcc_no_link = xyes; then
44462   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44463 fi
44464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44465 /* end confdefs.h.  */
44466 int f() { return 0; }
44467 _ACEOF
44468 if ac_fn_c_try_link "$LINENO"; then :
44469   if test x$gcc_no_link = xyes; then
44470   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44471 fi
44472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44473 /* end confdefs.h.  */
44474 __thread int a; int b; int f() { return a = b; }
44475 _ACEOF
44476 if ac_fn_c_try_link "$LINENO"; then :
44477   gcc_cv_have_tls=yes
44478 else
44479   gcc_cv_have_tls=no
44480 fi
44481 rm -f core conftest.err conftest.$ac_objext \
44482     conftest$ac_exeext conftest.$ac_ext
44483 else
44484   gcc_cv_have_tls=yes
44485 fi
44486 rm -f core conftest.err conftest.$ac_objext \
44487     conftest$ac_exeext conftest.$ac_ext
44488           CFLAGS="$chktls_save_CFLAGS"
44489           LDFLAGS="$chktls_save_LDFLAGS"
44490 else
44491   gcc_cv_have_tls=no
44492 fi
44493 rm -f core conftest.err conftest.$ac_objext \
44494     conftest$ac_exeext conftest.$ac_ext
44495
44496
44497 else
44498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44499 /* end confdefs.h.  */
44500 __thread int a; int b; int main() { return a = b; }
44501 _ACEOF
44502 if ac_fn_c_try_run "$LINENO"; then :
44503                       chktls_save_LDFLAGS="$LDFLAGS"
44504       LDFLAGS="-static $LDFLAGS"
44505       if test x$gcc_no_link = xyes; then
44506   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44507 fi
44508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44509 /* end confdefs.h.  */
44510 int main() { return 0; }
44511 _ACEOF
44512 if ac_fn_c_try_link "$LINENO"; then :
44513   if test "$cross_compiling" = yes; then :
44514   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44516 as_fn_error "cannot run test program while cross compiling
44517 See \`config.log' for more details." "$LINENO" 5; }
44518 else
44519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44520 /* end confdefs.h.  */
44521 __thread int a; int b; int main() { return a = b; }
44522 _ACEOF
44523 if ac_fn_c_try_run "$LINENO"; then :
44524   gcc_cv_have_tls=yes
44525 else
44526   gcc_cv_have_tls=no
44527 fi
44528 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44529   conftest.$ac_objext conftest.beam conftest.$ac_ext
44530 fi
44531
44532 else
44533   gcc_cv_have_tls=yes
44534 fi
44535 rm -f core conftest.err conftest.$ac_objext \
44536     conftest$ac_exeext conftest.$ac_ext
44537       LDFLAGS="$chktls_save_LDFLAGS"
44538       if test $gcc_cv_have_tls = yes; then
44539                                                 chktls_save_CFLAGS="$CFLAGS"
44540         thread_CFLAGS=failed
44541         for flag in '' '-pthread' '-lpthread'; do
44542           CFLAGS="$flag $chktls_save_CFLAGS"
44543           if test x$gcc_no_link = xyes; then
44544   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44545 fi
44546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44547 /* end confdefs.h.  */
44548 #include <pthread.h>
44549                 void *g(void *d) { return NULL; }
44550 int
44551 main ()
44552 {
44553 pthread_t t; pthread_create(&t,NULL,g,NULL);
44554   ;
44555   return 0;
44556 }
44557 _ACEOF
44558 if ac_fn_c_try_link "$LINENO"; then :
44559   thread_CFLAGS="$flag"
44560 fi
44561 rm -f core conftest.err conftest.$ac_objext \
44562     conftest$ac_exeext conftest.$ac_ext
44563           if test "X$thread_CFLAGS" != Xfailed; then
44564             break
44565           fi
44566         done
44567         CFLAGS="$chktls_save_CFLAGS"
44568         if test "X$thread_CFLAGS" != Xfailed; then
44569           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44570                                                   if test "$cross_compiling" = yes; then :
44571   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44572 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44573 as_fn_error "cannot run test program while cross compiling
44574 See \`config.log' for more details." "$LINENO" 5; }
44575 else
44576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44577 /* end confdefs.h.  */
44578 #include <pthread.h>
44579                 __thread int a;
44580                 static int *volatile a_in_other_thread;
44581                 static void *
44582                 thread_func (void *arg)
44583                 {
44584                   a_in_other_thread = &a;
44585                   return (void *)0;
44586                 }
44587 int
44588 main ()
44589 {
44590 pthread_t thread;
44591                 void *thread_retval;
44592                 int *volatile a_in_main_thread;
44593                 a_in_main_thread = &a;
44594                 if (pthread_create (&thread, (pthread_attr_t *)0,
44595                                     thread_func, (void *)0))
44596                   return 0;
44597                 if (pthread_join (thread, &thread_retval))
44598                   return 0;
44599                 return (a_in_other_thread == a_in_main_thread);
44600   ;
44601   return 0;
44602 }
44603 _ACEOF
44604 if ac_fn_c_try_run "$LINENO"; then :
44605   gcc_cv_have_tls=yes
44606 else
44607   gcc_cv_have_tls=no
44608 fi
44609 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44610   conftest.$ac_objext conftest.beam conftest.$ac_ext
44611 fi
44612
44613           CFLAGS="$chktls_save_CFLAGS"
44614         fi
44615       fi
44616 else
44617   gcc_cv_have_tls=no
44618 fi
44619 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44620   conftest.$ac_objext conftest.beam conftest.$ac_ext
44621 fi
44622
44623 fi
44624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44625 $as_echo "$gcc_cv_have_tls" >&6; }
44626   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44627
44628 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44629
44630   fi
44631     case "$target" in
44632       *-hpux10*)
44633         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44634
44635         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44636
44637         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44638
44639         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44640
44641         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44642
44643         ;;
44644     esac
44645     ;;
44646   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44647
44648   # All these tests are for C++; save the language and the compiler flags.
44649   # The CXXFLAGS thing is suspicious, but based on similar bits previously
44650   # found in GLIBCXX_CONFIGURE.
44651
44652   ac_ext=cpp
44653 ac_cpp='$CXXCPP $CPPFLAGS'
44654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44657
44658   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44659   ac_save_CXXFLAGS="$CXXFLAGS"
44660
44661   # Check for maintainer-mode bits.
44662   if test x"$USE_MAINTAINER_MODE" = xno; then
44663     WERROR=''
44664   else
44665     WERROR='-Werror'
44666   fi
44667
44668   # Check for -ffunction-sections -fdata-sections
44669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44670 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44671   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44673 /* end confdefs.h.  */
44674 int foo; void bar() { };
44675 int
44676 main ()
44677 {
44678
44679   ;
44680   return 0;
44681 }
44682 _ACEOF
44683 if ac_fn_cxx_try_compile "$LINENO"; then :
44684   ac_fdsections=yes
44685 else
44686   ac_fdsections=no
44687 fi
44688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44689   if test "$ac_test_CXXFLAGS" = set; then
44690     CXXFLAGS="$ac_save_CXXFLAGS"
44691   else
44692     # this is the suspicious part
44693     CXXFLAGS=''
44694   fi
44695   if test x"$ac_fdsections" = x"yes"; then
44696     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44697   fi
44698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44699 $as_echo "$ac_fdsections" >&6; }
44700
44701   ac_ext=c
44702 ac_cpp='$CPP $CPPFLAGS'
44703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44706
44707
44708
44709
44710
44711   # If we're not using GNU ld, then there's no point in even trying these
44712   # tests.  Check for that first.  We should have already tested for gld
44713   # by now (in libtool), but require it now just to be safe...
44714   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44715   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44716
44717
44718
44719   # The name set by libtool depends on the version of libtool.  Shame on us
44720   # for depending on an impl detail, but c'est la vie.  Older versions used
44721   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44722   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44723   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44724   # set (hence we're using an older libtool), then set it.
44725   if test x${with_gnu_ld+set} != xset; then
44726     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44727       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44728       with_gnu_ld=no
44729     else
44730       with_gnu_ld=$ac_cv_prog_gnu_ld
44731     fi
44732   fi
44733
44734   # Start by getting the version number.  I think the libtool test already
44735   # does some of this, but throws away the result.
44736   glibcxx_ld_is_gold=no
44737   if test x"$with_gnu_ld" = x"yes"; then
44738     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44739 $as_echo_n "checking for ld version... " >&6; }
44740
44741     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44742       glibcxx_ld_is_gold=yes
44743     fi
44744     ldver=`$LD --version 2>/dev/null |
44745            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'`
44746
44747     glibcxx_gnu_ld_version=`echo $ldver | \
44748            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44749     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44750 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44751   fi
44752
44753   # Set --gc-sections.
44754   glibcxx_have_gc_sections=no
44755   if test "$glibcxx_ld_is_gold" = "yes"; then
44756     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44757       glibcxx_have_gc_sections=yes
44758     fi
44759   else
44760     glibcxx_gcsections_min_ld=21602
44761     if test x"$with_gnu_ld" = x"yes" &&
44762         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44763       glibcxx_have_gc_sections=yes
44764     fi
44765   fi
44766   if test "$glibcxx_have_gc_sections" = "yes"; then
44767     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44768     # NB: This flag only works reliably after 2.16.1. Configure tests
44769     # for this are difficult, so hard wire a value that should work.
44770
44771     ac_test_CFLAGS="${CFLAGS+set}"
44772     ac_save_CFLAGS="$CFLAGS"
44773     CFLAGS='-Wl,--gc-sections'
44774
44775     # Check for -Wl,--gc-sections
44776     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44777 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44778     if test x$gcc_no_link = xyes; then
44779   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44780 fi
44781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44782 /* end confdefs.h.  */
44783  int one(void) { return 1; }
44784      int two(void) { return 2; }
44785
44786 int
44787 main ()
44788 {
44789  two();
44790   ;
44791   return 0;
44792 }
44793 _ACEOF
44794 if ac_fn_c_try_link "$LINENO"; then :
44795   ac_gcsections=yes
44796 else
44797   ac_gcsections=no
44798 fi
44799 rm -f core conftest.err conftest.$ac_objext \
44800     conftest$ac_exeext conftest.$ac_ext
44801     if test "$ac_gcsections" = "yes"; then
44802       rm -f conftest.c
44803       touch conftest.c
44804       if $CC -c conftest.c; then
44805         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44806            grep "Warning: gc-sections option ignored" > /dev/null; then
44807           ac_gcsections=no
44808         fi
44809       fi
44810       rm -f conftest.c conftest.o conftest
44811     fi
44812     if test "$ac_gcsections" = "yes"; then
44813       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44814     fi
44815     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44816 $as_echo "$ac_gcsections" >&6; }
44817
44818     if test "$ac_test_CFLAGS" = set; then
44819       CFLAGS="$ac_save_CFLAGS"
44820     else
44821       # this is the suspicious part
44822       CFLAGS=''
44823     fi
44824   fi
44825
44826   # Set -z,relro.
44827   # Note this is only for shared objects.
44828   ac_ld_relro=no
44829   if test x"$with_gnu_ld" = x"yes"; then
44830     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44831 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44832     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44833     if test -n "$cxx_z_relo"; then
44834       OPT_LDFLAGS="-Wl,-z,relro"
44835       ac_ld_relro=yes
44836     fi
44837     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44838 $as_echo "$ac_ld_relro" >&6; }
44839   fi
44840
44841   # Set linker optimization flags.
44842   if test x"$with_gnu_ld" = x"yes"; then
44843     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44844   fi
44845
44846
44847
44848
44849
44850   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44851   ac_save_CXXFLAGS="$CXXFLAGS"
44852   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44853
44854     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44855 $as_echo_n "checking for sin in -lm... " >&6; }
44856 if test "${ac_cv_lib_m_sin+set}" = set; then :
44857   $as_echo_n "(cached) " >&6
44858 else
44859   ac_check_lib_save_LIBS=$LIBS
44860 LIBS="-lm  $LIBS"
44861 if test x$gcc_no_link = xyes; then
44862   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44863 fi
44864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44865 /* end confdefs.h.  */
44866
44867 /* Override any GCC internal prototype to avoid an error.
44868    Use char because int might match the return type of a GCC
44869    builtin and then its argument prototype would still apply.  */
44870 #ifdef __cplusplus
44871 extern "C"
44872 #endif
44873 char sin ();
44874 int
44875 main ()
44876 {
44877 return sin ();
44878   ;
44879   return 0;
44880 }
44881 _ACEOF
44882 if ac_fn_c_try_link "$LINENO"; then :
44883   ac_cv_lib_m_sin=yes
44884 else
44885   ac_cv_lib_m_sin=no
44886 fi
44887 rm -f core conftest.err conftest.$ac_objext \
44888     conftest$ac_exeext conftest.$ac_ext
44889 LIBS=$ac_check_lib_save_LIBS
44890 fi
44891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44892 $as_echo "$ac_cv_lib_m_sin" >&6; }
44893 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44894   libm="-lm"
44895 fi
44896
44897   ac_save_LIBS="$LIBS"
44898   LIBS="$LIBS $libm"
44899
44900
44901
44902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44903 $as_echo_n "checking for isinf declaration... " >&6; }
44904   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44905     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44906   $as_echo_n "(cached) " >&6
44907 else
44908
44909
44910       ac_ext=cpp
44911 ac_cpp='$CXXCPP $CPPFLAGS'
44912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44915
44916       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44917 /* end confdefs.h.  */
44918 #include <math.h>
44919                       #ifdef HAVE_IEEEFP_H
44920                       #include <ieeefp.h>
44921                       #endif
44922
44923 int
44924 main ()
44925 {
44926  isinf(0);
44927   ;
44928   return 0;
44929 }
44930 _ACEOF
44931 if ac_fn_cxx_try_compile "$LINENO"; then :
44932   glibcxx_cv_func_isinf_use=yes
44933 else
44934   glibcxx_cv_func_isinf_use=no
44935 fi
44936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44937       ac_ext=c
44938 ac_cpp='$CPP $CPPFLAGS'
44939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44942
44943
44944 fi
44945
44946   fi
44947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44948 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44949
44950   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44951     for ac_func in isinf
44952 do :
44953   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44954 if test "x$ac_cv_func_isinf" = x""yes; then :
44955   cat >>confdefs.h <<_ACEOF
44956 #define HAVE_ISINF 1
44957 _ACEOF
44958
44959 fi
44960 done
44961
44962   else
44963
44964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44965 $as_echo_n "checking for _isinf declaration... " >&6; }
44966   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44967     if test "${glibcxx_cv_func__isinf_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  _isinf(0);
44989   ;
44990   return 0;
44991 }
44992 _ACEOF
44993 if ac_fn_cxx_try_compile "$LINENO"; then :
44994   glibcxx_cv_func__isinf_use=yes
44995 else
44996   glibcxx_cv_func__isinf_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__isinf_use" >&5
45010 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45011
45012     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45013       for ac_func in _isinf
45014 do :
45015   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45016 if test "x$ac_cv_func__isinf" = x""yes; then :
45017   cat >>confdefs.h <<_ACEOF
45018 #define HAVE__ISINF 1
45019 _ACEOF
45020
45021 fi
45022 done
45023
45024     fi
45025   fi
45026
45027
45028
45029
45030
45031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45032 $as_echo_n "checking for isnan declaration... " >&6; }
45033   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45034     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45035   $as_echo_n "(cached) " >&6
45036 else
45037
45038
45039       ac_ext=cpp
45040 ac_cpp='$CXXCPP $CPPFLAGS'
45041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45044
45045       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45046 /* end confdefs.h.  */
45047 #include <math.h>
45048                       #ifdef HAVE_IEEEFP_H
45049                       #include <ieeefp.h>
45050                       #endif
45051
45052 int
45053 main ()
45054 {
45055  isnan(0);
45056   ;
45057   return 0;
45058 }
45059 _ACEOF
45060 if ac_fn_cxx_try_compile "$LINENO"; then :
45061   glibcxx_cv_func_isnan_use=yes
45062 else
45063   glibcxx_cv_func_isnan_use=no
45064 fi
45065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45066       ac_ext=c
45067 ac_cpp='$CPP $CPPFLAGS'
45068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45071
45072
45073 fi
45074
45075   fi
45076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45077 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45078
45079   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45080     for ac_func in isnan
45081 do :
45082   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45083 if test "x$ac_cv_func_isnan" = x""yes; then :
45084   cat >>confdefs.h <<_ACEOF
45085 #define HAVE_ISNAN 1
45086 _ACEOF
45087
45088 fi
45089 done
45090
45091   else
45092
45093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45094 $as_echo_n "checking for _isnan declaration... " >&6; }
45095   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45096     if test "${glibcxx_cv_func__isnan_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  _isnan(0);
45118   ;
45119   return 0;
45120 }
45121 _ACEOF
45122 if ac_fn_cxx_try_compile "$LINENO"; then :
45123   glibcxx_cv_func__isnan_use=yes
45124 else
45125   glibcxx_cv_func__isnan_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__isnan_use" >&5
45139 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45140
45141     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45142       for ac_func in _isnan
45143 do :
45144   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45145 if test "x$ac_cv_func__isnan" = x""yes; then :
45146   cat >>confdefs.h <<_ACEOF
45147 #define HAVE__ISNAN 1
45148 _ACEOF
45149
45150 fi
45151 done
45152
45153     fi
45154   fi
45155
45156
45157
45158
45159
45160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45161 $as_echo_n "checking for finite declaration... " >&6; }
45162   if test x${glibcxx_cv_func_finite_use+set} != xset; then
45163     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45164   $as_echo_n "(cached) " >&6
45165 else
45166
45167
45168       ac_ext=cpp
45169 ac_cpp='$CXXCPP $CPPFLAGS'
45170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45173
45174       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45175 /* end confdefs.h.  */
45176 #include <math.h>
45177                       #ifdef HAVE_IEEEFP_H
45178                       #include <ieeefp.h>
45179                       #endif
45180
45181 int
45182 main ()
45183 {
45184  finite(0);
45185   ;
45186   return 0;
45187 }
45188 _ACEOF
45189 if ac_fn_cxx_try_compile "$LINENO"; then :
45190   glibcxx_cv_func_finite_use=yes
45191 else
45192   glibcxx_cv_func_finite_use=no
45193 fi
45194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45195       ac_ext=c
45196 ac_cpp='$CPP $CPPFLAGS'
45197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45200
45201
45202 fi
45203
45204   fi
45205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45206 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45207
45208   if test x$glibcxx_cv_func_finite_use = x"yes"; then
45209     for ac_func in finite
45210 do :
45211   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45212 if test "x$ac_cv_func_finite" = x""yes; then :
45213   cat >>confdefs.h <<_ACEOF
45214 #define HAVE_FINITE 1
45215 _ACEOF
45216
45217 fi
45218 done
45219
45220   else
45221
45222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45223 $as_echo_n "checking for _finite declaration... " >&6; }
45224   if test x${glibcxx_cv_func__finite_use+set} != xset; then
45225     if test "${glibcxx_cv_func__finite_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                       #ifdef HAVE_IEEEFP_H
45240                       #include <ieeefp.h>
45241                       #endif
45242
45243 int
45244 main ()
45245 {
45246  _finite(0);
45247   ;
45248   return 0;
45249 }
45250 _ACEOF
45251 if ac_fn_cxx_try_compile "$LINENO"; then :
45252   glibcxx_cv_func__finite_use=yes
45253 else
45254   glibcxx_cv_func__finite_use=no
45255 fi
45256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45257       ac_ext=c
45258 ac_cpp='$CPP $CPPFLAGS'
45259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45262
45263
45264 fi
45265
45266   fi
45267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45268 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45269
45270     if test x$glibcxx_cv_func__finite_use = x"yes"; then
45271       for ac_func in _finite
45272 do :
45273   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45274 if test "x$ac_cv_func__finite" = x""yes; then :
45275   cat >>confdefs.h <<_ACEOF
45276 #define HAVE__FINITE 1
45277 _ACEOF
45278
45279 fi
45280 done
45281
45282     fi
45283   fi
45284
45285
45286
45287
45288
45289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45290 $as_echo_n "checking for sincos declaration... " >&6; }
45291   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45292     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45293   $as_echo_n "(cached) " >&6
45294 else
45295
45296
45297       ac_ext=cpp
45298 ac_cpp='$CXXCPP $CPPFLAGS'
45299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45302
45303       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45304 /* end confdefs.h.  */
45305 #include <math.h>
45306 int
45307 main ()
45308 {
45309  sincos(0, 0, 0);
45310   ;
45311   return 0;
45312 }
45313 _ACEOF
45314 if ac_fn_cxx_try_compile "$LINENO"; then :
45315   glibcxx_cv_func_sincos_use=yes
45316 else
45317   glibcxx_cv_func_sincos_use=no
45318 fi
45319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45320       ac_ext=c
45321 ac_cpp='$CPP $CPPFLAGS'
45322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45325
45326
45327 fi
45328
45329   fi
45330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45331 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45332
45333   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45334     for ac_func in sincos
45335 do :
45336   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45337 if test "x$ac_cv_func_sincos" = x""yes; then :
45338   cat >>confdefs.h <<_ACEOF
45339 #define HAVE_SINCOS 1
45340 _ACEOF
45341
45342 fi
45343 done
45344
45345   else
45346
45347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45348 $as_echo_n "checking for _sincos declaration... " >&6; }
45349   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45350     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45351   $as_echo_n "(cached) " >&6
45352 else
45353
45354
45355       ac_ext=cpp
45356 ac_cpp='$CXXCPP $CPPFLAGS'
45357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45360
45361       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45362 /* end confdefs.h.  */
45363 #include <math.h>
45364 int
45365 main ()
45366 {
45367  _sincos(0, 0, 0);
45368   ;
45369   return 0;
45370 }
45371 _ACEOF
45372 if ac_fn_cxx_try_compile "$LINENO"; then :
45373   glibcxx_cv_func__sincos_use=yes
45374 else
45375   glibcxx_cv_func__sincos_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__sincos_use" >&5
45389 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45390
45391     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45392       for ac_func in _sincos
45393 do :
45394   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45395 if test "x$ac_cv_func__sincos" = x""yes; then :
45396   cat >>confdefs.h <<_ACEOF
45397 #define HAVE__SINCOS 1
45398 _ACEOF
45399
45400 fi
45401 done
45402
45403     fi
45404   fi
45405
45406
45407
45408
45409
45410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45411 $as_echo_n "checking for fpclass declaration... " >&6; }
45412   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45413     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45414   $as_echo_n "(cached) " >&6
45415 else
45416
45417
45418       ac_ext=cpp
45419 ac_cpp='$CXXCPP $CPPFLAGS'
45420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45423
45424       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45425 /* end confdefs.h.  */
45426 #include <math.h>
45427                       #ifdef HAVE_IEEEFP_H
45428                       #include <ieeefp.h>
45429                       #endif
45430
45431 int
45432 main ()
45433 {
45434  fpclass(0);
45435   ;
45436   return 0;
45437 }
45438 _ACEOF
45439 if ac_fn_cxx_try_compile "$LINENO"; then :
45440   glibcxx_cv_func_fpclass_use=yes
45441 else
45442   glibcxx_cv_func_fpclass_use=no
45443 fi
45444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45445       ac_ext=c
45446 ac_cpp='$CPP $CPPFLAGS'
45447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45450
45451
45452 fi
45453
45454   fi
45455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45456 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45457
45458   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45459     for ac_func in fpclass
45460 do :
45461   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45462 if test "x$ac_cv_func_fpclass" = x""yes; then :
45463   cat >>confdefs.h <<_ACEOF
45464 #define HAVE_FPCLASS 1
45465 _ACEOF
45466
45467 fi
45468 done
45469
45470   else
45471
45472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45473 $as_echo_n "checking for _fpclass declaration... " >&6; }
45474   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45475     if test "${glibcxx_cv_func__fpclass_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  _fpclass(0);
45497   ;
45498   return 0;
45499 }
45500 _ACEOF
45501 if ac_fn_cxx_try_compile "$LINENO"; then :
45502   glibcxx_cv_func__fpclass_use=yes
45503 else
45504   glibcxx_cv_func__fpclass_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__fpclass_use" >&5
45518 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45519
45520     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45521       for ac_func in _fpclass
45522 do :
45523   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45524 if test "x$ac_cv_func__fpclass" = x""yes; then :
45525   cat >>confdefs.h <<_ACEOF
45526 #define HAVE__FPCLASS 1
45527 _ACEOF
45528
45529 fi
45530 done
45531
45532     fi
45533   fi
45534
45535
45536
45537
45538
45539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45540 $as_echo_n "checking for qfpclass declaration... " >&6; }
45541   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45542     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45543   $as_echo_n "(cached) " >&6
45544 else
45545
45546
45547       ac_ext=cpp
45548 ac_cpp='$CXXCPP $CPPFLAGS'
45549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45552
45553       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45554 /* end confdefs.h.  */
45555 #include <math.h>
45556                       #ifdef HAVE_IEEEFP_H
45557                       #include <ieeefp.h>
45558                       #endif
45559
45560 int
45561 main ()
45562 {
45563  qfpclass(0);
45564   ;
45565   return 0;
45566 }
45567 _ACEOF
45568 if ac_fn_cxx_try_compile "$LINENO"; then :
45569   glibcxx_cv_func_qfpclass_use=yes
45570 else
45571   glibcxx_cv_func_qfpclass_use=no
45572 fi
45573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45574       ac_ext=c
45575 ac_cpp='$CPP $CPPFLAGS'
45576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45579
45580
45581 fi
45582
45583   fi
45584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45585 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45586
45587   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45588     for ac_func in qfpclass
45589 do :
45590   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45591 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45592   cat >>confdefs.h <<_ACEOF
45593 #define HAVE_QFPCLASS 1
45594 _ACEOF
45595
45596 fi
45597 done
45598
45599   else
45600
45601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45602 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45603   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45604     if test "${glibcxx_cv_func__qfpclass_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                       #ifdef HAVE_IEEEFP_H
45619                       #include <ieeefp.h>
45620                       #endif
45621
45622 int
45623 main ()
45624 {
45625  _qfpclass(0);
45626   ;
45627   return 0;
45628 }
45629 _ACEOF
45630 if ac_fn_cxx_try_compile "$LINENO"; then :
45631   glibcxx_cv_func__qfpclass_use=yes
45632 else
45633   glibcxx_cv_func__qfpclass_use=no
45634 fi
45635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45636       ac_ext=c
45637 ac_cpp='$CPP $CPPFLAGS'
45638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45641
45642
45643 fi
45644
45645   fi
45646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45647 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45648
45649     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45650       for ac_func in _qfpclass
45651 do :
45652   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45653 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45654   cat >>confdefs.h <<_ACEOF
45655 #define HAVE__QFPCLASS 1
45656 _ACEOF
45657
45658 fi
45659 done
45660
45661     fi
45662   fi
45663
45664
45665
45666
45667
45668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45669 $as_echo_n "checking for hypot declaration... " >&6; }
45670   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45671     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45672   $as_echo_n "(cached) " >&6
45673 else
45674
45675
45676       ac_ext=cpp
45677 ac_cpp='$CXXCPP $CPPFLAGS'
45678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45681
45682       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45683 /* end confdefs.h.  */
45684 #include <math.h>
45685 int
45686 main ()
45687 {
45688  hypot(0, 0);
45689   ;
45690   return 0;
45691 }
45692 _ACEOF
45693 if ac_fn_cxx_try_compile "$LINENO"; then :
45694   glibcxx_cv_func_hypot_use=yes
45695 else
45696   glibcxx_cv_func_hypot_use=no
45697 fi
45698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45699       ac_ext=c
45700 ac_cpp='$CPP $CPPFLAGS'
45701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45704
45705
45706 fi
45707
45708   fi
45709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45710 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45711
45712   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45713     for ac_func in hypot
45714 do :
45715   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45716 if test "x$ac_cv_func_hypot" = x""yes; then :
45717   cat >>confdefs.h <<_ACEOF
45718 #define HAVE_HYPOT 1
45719 _ACEOF
45720
45721 fi
45722 done
45723
45724   else
45725
45726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45727 $as_echo_n "checking for _hypot declaration... " >&6; }
45728   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45729     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45730   $as_echo_n "(cached) " >&6
45731 else
45732
45733
45734       ac_ext=cpp
45735 ac_cpp='$CXXCPP $CPPFLAGS'
45736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45739
45740       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45741 /* end confdefs.h.  */
45742 #include <math.h>
45743 int
45744 main ()
45745 {
45746  _hypot(0, 0);
45747   ;
45748   return 0;
45749 }
45750 _ACEOF
45751 if ac_fn_cxx_try_compile "$LINENO"; then :
45752   glibcxx_cv_func__hypot_use=yes
45753 else
45754   glibcxx_cv_func__hypot_use=no
45755 fi
45756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45757       ac_ext=c
45758 ac_cpp='$CPP $CPPFLAGS'
45759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45762
45763
45764 fi
45765
45766   fi
45767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45768 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45769
45770     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45771       for ac_func in _hypot
45772 do :
45773   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45774 if test "x$ac_cv_func__hypot" = x""yes; then :
45775   cat >>confdefs.h <<_ACEOF
45776 #define HAVE__HYPOT 1
45777 _ACEOF
45778
45779 fi
45780 done
45781
45782     fi
45783   fi
45784
45785
45786
45787
45788
45789     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45790 $as_echo_n "checking for float trig functions... " >&6; }
45791   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45792   $as_echo_n "(cached) " >&6
45793 else
45794
45795
45796     ac_ext=cpp
45797 ac_cpp='$CXXCPP $CPPFLAGS'
45798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45801
45802     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45803 /* end confdefs.h.  */
45804 #include <math.h>
45805 int
45806 main ()
45807 {
45808 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45809   ;
45810   return 0;
45811 }
45812 _ACEOF
45813 if ac_fn_cxx_try_compile "$LINENO"; then :
45814   glibcxx_cv_func_float_trig_use=yes
45815 else
45816   glibcxx_cv_func_float_trig_use=no
45817 fi
45818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45819     ac_ext=c
45820 ac_cpp='$CPP $CPPFLAGS'
45821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45824
45825 fi
45826
45827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45828 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45829   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45830     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45831 do :
45832   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45833 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45834 eval as_val=\$$as_ac_var
45835    if test "x$as_val" = x""yes; then :
45836   cat >>confdefs.h <<_ACEOF
45837 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45838 _ACEOF
45839
45840 fi
45841 done
45842
45843   else
45844     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45845 $as_echo_n "checking for _float trig functions... " >&6; }
45846     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45847   $as_echo_n "(cached) " >&6
45848 else
45849
45850
45851       ac_ext=cpp
45852 ac_cpp='$CXXCPP $CPPFLAGS'
45853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45856
45857       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45858 /* end confdefs.h.  */
45859 #include <math.h>
45860 int
45861 main ()
45862 {
45863 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45864   ;
45865   return 0;
45866 }
45867 _ACEOF
45868 if ac_fn_cxx_try_compile "$LINENO"; then :
45869   glibcxx_cv_func__float_trig_use=yes
45870 else
45871   glibcxx_cv_func__float_trig_use=no
45872 fi
45873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45874       ac_ext=c
45875 ac_cpp='$CPP $CPPFLAGS'
45876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45879
45880 fi
45881
45882     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45883 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45884     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45885       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45886 do :
45887   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45888 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45889 eval as_val=\$$as_ac_var
45890    if test "x$as_val" = x""yes; then :
45891   cat >>confdefs.h <<_ACEOF
45892 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45893 _ACEOF
45894
45895 fi
45896 done
45897
45898     fi
45899   fi
45900
45901
45902
45903
45904
45905     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45906 $as_echo_n "checking for float round functions... " >&6; }
45907   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45908   $as_echo_n "(cached) " >&6
45909 else
45910
45911
45912     ac_ext=cpp
45913 ac_cpp='$CXXCPP $CPPFLAGS'
45914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45917
45918     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45919 /* end confdefs.h.  */
45920 #include <math.h>
45921 int
45922 main ()
45923 {
45924 ceilf (0); floorf (0);
45925   ;
45926   return 0;
45927 }
45928 _ACEOF
45929 if ac_fn_cxx_try_compile "$LINENO"; then :
45930   glibcxx_cv_func_float_round_use=yes
45931 else
45932   glibcxx_cv_func_float_round_use=no
45933 fi
45934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45935     ac_ext=c
45936 ac_cpp='$CPP $CPPFLAGS'
45937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45940
45941 fi
45942
45943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45944 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45945   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45946     for ac_func in ceilf floorf
45947 do :
45948   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45949 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45950 eval as_val=\$$as_ac_var
45951    if test "x$as_val" = x""yes; then :
45952   cat >>confdefs.h <<_ACEOF
45953 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45954 _ACEOF
45955
45956 fi
45957 done
45958
45959   else
45960     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45961 $as_echo_n "checking for _float round functions... " >&6; }
45962     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45963   $as_echo_n "(cached) " >&6
45964 else
45965
45966
45967       ac_ext=cpp
45968 ac_cpp='$CXXCPP $CPPFLAGS'
45969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45972
45973       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45974 /* end confdefs.h.  */
45975 #include <math.h>
45976 int
45977 main ()
45978 {
45979 _ceilf (0); _floorf (0);
45980   ;
45981   return 0;
45982 }
45983 _ACEOF
45984 if ac_fn_cxx_try_compile "$LINENO"; then :
45985   glibcxx_cv_func__float_round_use=yes
45986 else
45987   glibcxx_cv_func__float_round_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 fi
45997
45998     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45999 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46000     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46001       for ac_func in _ceilf _floorf
46002 do :
46003   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46004 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46005 eval as_val=\$$as_ac_var
46006    if test "x$as_val" = x""yes; then :
46007   cat >>confdefs.h <<_ACEOF
46008 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46009 _ACEOF
46010
46011 fi
46012 done
46013
46014     fi
46015   fi
46016
46017
46018
46019
46020
46021
46022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46023 $as_echo_n "checking for expf declaration... " >&6; }
46024   if test x${glibcxx_cv_func_expf_use+set} != xset; then
46025     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46026   $as_echo_n "(cached) " >&6
46027 else
46028
46029
46030       ac_ext=cpp
46031 ac_cpp='$CXXCPP $CPPFLAGS'
46032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46035
46036       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46037 /* end confdefs.h.  */
46038 #include <math.h>
46039                       #ifdef HAVE_IEEEFP_H
46040                       #include <ieeefp.h>
46041                       #endif
46042
46043 int
46044 main ()
46045 {
46046  expf(0);
46047   ;
46048   return 0;
46049 }
46050 _ACEOF
46051 if ac_fn_cxx_try_compile "$LINENO"; then :
46052   glibcxx_cv_func_expf_use=yes
46053 else
46054   glibcxx_cv_func_expf_use=no
46055 fi
46056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46057       ac_ext=c
46058 ac_cpp='$CPP $CPPFLAGS'
46059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46062
46063
46064 fi
46065
46066   fi
46067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46068 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46069
46070   if test x$glibcxx_cv_func_expf_use = x"yes"; then
46071     for ac_func in expf
46072 do :
46073   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46074 if test "x$ac_cv_func_expf" = x""yes; then :
46075   cat >>confdefs.h <<_ACEOF
46076 #define HAVE_EXPF 1
46077 _ACEOF
46078
46079 fi
46080 done
46081
46082   else
46083
46084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46085 $as_echo_n "checking for _expf declaration... " >&6; }
46086   if test x${glibcxx_cv_func__expf_use+set} != xset; then
46087     if test "${glibcxx_cv_func__expf_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  _expf(0);
46109   ;
46110   return 0;
46111 }
46112 _ACEOF
46113 if ac_fn_cxx_try_compile "$LINENO"; then :
46114   glibcxx_cv_func__expf_use=yes
46115 else
46116   glibcxx_cv_func__expf_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__expf_use" >&5
46130 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46131
46132     if test x$glibcxx_cv_func__expf_use = x"yes"; then
46133       for ac_func in _expf
46134 do :
46135   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46136 if test "x$ac_cv_func__expf" = x""yes; then :
46137   cat >>confdefs.h <<_ACEOF
46138 #define HAVE__EXPF 1
46139 _ACEOF
46140
46141 fi
46142 done
46143
46144     fi
46145   fi
46146
46147
46148
46149
46150
46151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46152 $as_echo_n "checking for isnanf declaration... " >&6; }
46153   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46154     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46155   $as_echo_n "(cached) " >&6
46156 else
46157
46158
46159       ac_ext=cpp
46160 ac_cpp='$CXXCPP $CPPFLAGS'
46161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46164
46165       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46166 /* end confdefs.h.  */
46167 #include <math.h>
46168                       #ifdef HAVE_IEEEFP_H
46169                       #include <ieeefp.h>
46170                       #endif
46171
46172 int
46173 main ()
46174 {
46175  isnanf(0);
46176   ;
46177   return 0;
46178 }
46179 _ACEOF
46180 if ac_fn_cxx_try_compile "$LINENO"; then :
46181   glibcxx_cv_func_isnanf_use=yes
46182 else
46183   glibcxx_cv_func_isnanf_use=no
46184 fi
46185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46186       ac_ext=c
46187 ac_cpp='$CPP $CPPFLAGS'
46188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46191
46192
46193 fi
46194
46195   fi
46196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46197 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46198
46199   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46200     for ac_func in isnanf
46201 do :
46202   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46203 if test "x$ac_cv_func_isnanf" = x""yes; then :
46204   cat >>confdefs.h <<_ACEOF
46205 #define HAVE_ISNANF 1
46206 _ACEOF
46207
46208 fi
46209 done
46210
46211   else
46212
46213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46214 $as_echo_n "checking for _isnanf declaration... " >&6; }
46215   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46216     if test "${glibcxx_cv_func__isnanf_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  _isnanf(0);
46238   ;
46239   return 0;
46240 }
46241 _ACEOF
46242 if ac_fn_cxx_try_compile "$LINENO"; then :
46243   glibcxx_cv_func__isnanf_use=yes
46244 else
46245   glibcxx_cv_func__isnanf_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__isnanf_use" >&5
46259 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46260
46261     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46262       for ac_func in _isnanf
46263 do :
46264   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46265 if test "x$ac_cv_func__isnanf" = x""yes; then :
46266   cat >>confdefs.h <<_ACEOF
46267 #define HAVE__ISNANF 1
46268 _ACEOF
46269
46270 fi
46271 done
46272
46273     fi
46274   fi
46275
46276
46277
46278
46279
46280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46281 $as_echo_n "checking for isinff declaration... " >&6; }
46282   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46283     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46284   $as_echo_n "(cached) " >&6
46285 else
46286
46287
46288       ac_ext=cpp
46289 ac_cpp='$CXXCPP $CPPFLAGS'
46290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46293
46294       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46295 /* end confdefs.h.  */
46296 #include <math.h>
46297                       #ifdef HAVE_IEEEFP_H
46298                       #include <ieeefp.h>
46299                       #endif
46300
46301 int
46302 main ()
46303 {
46304  isinff(0);
46305   ;
46306   return 0;
46307 }
46308 _ACEOF
46309 if ac_fn_cxx_try_compile "$LINENO"; then :
46310   glibcxx_cv_func_isinff_use=yes
46311 else
46312   glibcxx_cv_func_isinff_use=no
46313 fi
46314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46315       ac_ext=c
46316 ac_cpp='$CPP $CPPFLAGS'
46317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46320
46321
46322 fi
46323
46324   fi
46325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46326 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46327
46328   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46329     for ac_func in isinff
46330 do :
46331   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46332 if test "x$ac_cv_func_isinff" = x""yes; then :
46333   cat >>confdefs.h <<_ACEOF
46334 #define HAVE_ISINFF 1
46335 _ACEOF
46336
46337 fi
46338 done
46339
46340   else
46341
46342   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46343 $as_echo_n "checking for _isinff declaration... " >&6; }
46344   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46345     if test "${glibcxx_cv_func__isinff_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                       #ifdef HAVE_IEEEFP_H
46360                       #include <ieeefp.h>
46361                       #endif
46362
46363 int
46364 main ()
46365 {
46366  _isinff(0);
46367   ;
46368   return 0;
46369 }
46370 _ACEOF
46371 if ac_fn_cxx_try_compile "$LINENO"; then :
46372   glibcxx_cv_func__isinff_use=yes
46373 else
46374   glibcxx_cv_func__isinff_use=no
46375 fi
46376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46377       ac_ext=c
46378 ac_cpp='$CPP $CPPFLAGS'
46379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46382
46383
46384 fi
46385
46386   fi
46387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46388 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46389
46390     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46391       for ac_func in _isinff
46392 do :
46393   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46394 if test "x$ac_cv_func__isinff" = x""yes; then :
46395   cat >>confdefs.h <<_ACEOF
46396 #define HAVE__ISINFF 1
46397 _ACEOF
46398
46399 fi
46400 done
46401
46402     fi
46403   fi
46404
46405
46406
46407
46408
46409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46410 $as_echo_n "checking for atan2f declaration... " >&6; }
46411   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46412     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46413   $as_echo_n "(cached) " >&6
46414 else
46415
46416
46417       ac_ext=cpp
46418 ac_cpp='$CXXCPP $CPPFLAGS'
46419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46422
46423       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46424 /* end confdefs.h.  */
46425 #include <math.h>
46426 int
46427 main ()
46428 {
46429  atan2f(0, 0);
46430   ;
46431   return 0;
46432 }
46433 _ACEOF
46434 if ac_fn_cxx_try_compile "$LINENO"; then :
46435   glibcxx_cv_func_atan2f_use=yes
46436 else
46437   glibcxx_cv_func_atan2f_use=no
46438 fi
46439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46440       ac_ext=c
46441 ac_cpp='$CPP $CPPFLAGS'
46442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46445
46446
46447 fi
46448
46449   fi
46450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46451 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46452
46453   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46454     for ac_func in atan2f
46455 do :
46456   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46457 if test "x$ac_cv_func_atan2f" = x""yes; then :
46458   cat >>confdefs.h <<_ACEOF
46459 #define HAVE_ATAN2F 1
46460 _ACEOF
46461
46462 fi
46463 done
46464
46465   else
46466
46467   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46468 $as_echo_n "checking for _atan2f declaration... " >&6; }
46469   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46470     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46471   $as_echo_n "(cached) " >&6
46472 else
46473
46474
46475       ac_ext=cpp
46476 ac_cpp='$CXXCPP $CPPFLAGS'
46477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46480
46481       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46482 /* end confdefs.h.  */
46483 #include <math.h>
46484 int
46485 main ()
46486 {
46487  _atan2f(0, 0);
46488   ;
46489   return 0;
46490 }
46491 _ACEOF
46492 if ac_fn_cxx_try_compile "$LINENO"; then :
46493   glibcxx_cv_func__atan2f_use=yes
46494 else
46495   glibcxx_cv_func__atan2f_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__atan2f_use" >&5
46509 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46510
46511     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46512       for ac_func in _atan2f
46513 do :
46514   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46515 if test "x$ac_cv_func__atan2f" = x""yes; then :
46516   cat >>confdefs.h <<_ACEOF
46517 #define HAVE__ATAN2F 1
46518 _ACEOF
46519
46520 fi
46521 done
46522
46523     fi
46524   fi
46525
46526
46527
46528
46529
46530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46531 $as_echo_n "checking for fabsf declaration... " >&6; }
46532   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46533     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46534   $as_echo_n "(cached) " >&6
46535 else
46536
46537
46538       ac_ext=cpp
46539 ac_cpp='$CXXCPP $CPPFLAGS'
46540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46543
46544       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46545 /* end confdefs.h.  */
46546 #include <math.h>
46547                       #ifdef HAVE_IEEEFP_H
46548                       #include <ieeefp.h>
46549                       #endif
46550
46551 int
46552 main ()
46553 {
46554  fabsf(0);
46555   ;
46556   return 0;
46557 }
46558 _ACEOF
46559 if ac_fn_cxx_try_compile "$LINENO"; then :
46560   glibcxx_cv_func_fabsf_use=yes
46561 else
46562   glibcxx_cv_func_fabsf_use=no
46563 fi
46564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46565       ac_ext=c
46566 ac_cpp='$CPP $CPPFLAGS'
46567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46570
46571
46572 fi
46573
46574   fi
46575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46576 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46577
46578   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46579     for ac_func in fabsf
46580 do :
46581   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46582 if test "x$ac_cv_func_fabsf" = x""yes; then :
46583   cat >>confdefs.h <<_ACEOF
46584 #define HAVE_FABSF 1
46585 _ACEOF
46586
46587 fi
46588 done
46589
46590   else
46591
46592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46593 $as_echo_n "checking for _fabsf declaration... " >&6; }
46594   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46595     if test "${glibcxx_cv_func__fabsf_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                       #ifdef HAVE_IEEEFP_H
46610                       #include <ieeefp.h>
46611                       #endif
46612
46613 int
46614 main ()
46615 {
46616  _fabsf(0);
46617   ;
46618   return 0;
46619 }
46620 _ACEOF
46621 if ac_fn_cxx_try_compile "$LINENO"; then :
46622   glibcxx_cv_func__fabsf_use=yes
46623 else
46624   glibcxx_cv_func__fabsf_use=no
46625 fi
46626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46627       ac_ext=c
46628 ac_cpp='$CPP $CPPFLAGS'
46629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46632
46633
46634 fi
46635
46636   fi
46637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46638 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46639
46640     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46641       for ac_func in _fabsf
46642 do :
46643   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46644 if test "x$ac_cv_func__fabsf" = x""yes; then :
46645   cat >>confdefs.h <<_ACEOF
46646 #define HAVE__FABSF 1
46647 _ACEOF
46648
46649 fi
46650 done
46651
46652     fi
46653   fi
46654
46655
46656
46657
46658
46659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46660 $as_echo_n "checking for fmodf declaration... " >&6; }
46661   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46662     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46663   $as_echo_n "(cached) " >&6
46664 else
46665
46666
46667       ac_ext=cpp
46668 ac_cpp='$CXXCPP $CPPFLAGS'
46669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46672
46673       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46674 /* end confdefs.h.  */
46675 #include <math.h>
46676 int
46677 main ()
46678 {
46679  fmodf(0, 0);
46680   ;
46681   return 0;
46682 }
46683 _ACEOF
46684 if ac_fn_cxx_try_compile "$LINENO"; then :
46685   glibcxx_cv_func_fmodf_use=yes
46686 else
46687   glibcxx_cv_func_fmodf_use=no
46688 fi
46689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46690       ac_ext=c
46691 ac_cpp='$CPP $CPPFLAGS'
46692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46695
46696
46697 fi
46698
46699   fi
46700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46701 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46702
46703   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46704     for ac_func in fmodf
46705 do :
46706   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46707 if test "x$ac_cv_func_fmodf" = x""yes; then :
46708   cat >>confdefs.h <<_ACEOF
46709 #define HAVE_FMODF 1
46710 _ACEOF
46711
46712 fi
46713 done
46714
46715   else
46716
46717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46718 $as_echo_n "checking for _fmodf declaration... " >&6; }
46719   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46720     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46721   $as_echo_n "(cached) " >&6
46722 else
46723
46724
46725       ac_ext=cpp
46726 ac_cpp='$CXXCPP $CPPFLAGS'
46727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46730
46731       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46732 /* end confdefs.h.  */
46733 #include <math.h>
46734 int
46735 main ()
46736 {
46737  _fmodf(0, 0);
46738   ;
46739   return 0;
46740 }
46741 _ACEOF
46742 if ac_fn_cxx_try_compile "$LINENO"; then :
46743   glibcxx_cv_func__fmodf_use=yes
46744 else
46745   glibcxx_cv_func__fmodf_use=no
46746 fi
46747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46748       ac_ext=c
46749 ac_cpp='$CPP $CPPFLAGS'
46750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46753
46754
46755 fi
46756
46757   fi
46758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46759 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46760
46761     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46762       for ac_func in _fmodf
46763 do :
46764   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46765 if test "x$ac_cv_func__fmodf" = x""yes; then :
46766   cat >>confdefs.h <<_ACEOF
46767 #define HAVE__FMODF 1
46768 _ACEOF
46769
46770 fi
46771 done
46772
46773     fi
46774   fi
46775
46776
46777
46778
46779
46780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46781 $as_echo_n "checking for frexpf declaration... " >&6; }
46782   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46783     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46784   $as_echo_n "(cached) " >&6
46785 else
46786
46787
46788       ac_ext=cpp
46789 ac_cpp='$CXXCPP $CPPFLAGS'
46790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46793
46794       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46795 /* end confdefs.h.  */
46796 #include <math.h>
46797 int
46798 main ()
46799 {
46800  frexpf(0, 0);
46801   ;
46802   return 0;
46803 }
46804 _ACEOF
46805 if ac_fn_cxx_try_compile "$LINENO"; then :
46806   glibcxx_cv_func_frexpf_use=yes
46807 else
46808   glibcxx_cv_func_frexpf_use=no
46809 fi
46810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46811       ac_ext=c
46812 ac_cpp='$CPP $CPPFLAGS'
46813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46816
46817
46818 fi
46819
46820   fi
46821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46822 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46823
46824   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46825     for ac_func in frexpf
46826 do :
46827   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46828 if test "x$ac_cv_func_frexpf" = x""yes; then :
46829   cat >>confdefs.h <<_ACEOF
46830 #define HAVE_FREXPF 1
46831 _ACEOF
46832
46833 fi
46834 done
46835
46836   else
46837
46838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46839 $as_echo_n "checking for _frexpf declaration... " >&6; }
46840   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46841     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46842   $as_echo_n "(cached) " >&6
46843 else
46844
46845
46846       ac_ext=cpp
46847 ac_cpp='$CXXCPP $CPPFLAGS'
46848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46851
46852       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46853 /* end confdefs.h.  */
46854 #include <math.h>
46855 int
46856 main ()
46857 {
46858  _frexpf(0, 0);
46859   ;
46860   return 0;
46861 }
46862 _ACEOF
46863 if ac_fn_cxx_try_compile "$LINENO"; then :
46864   glibcxx_cv_func__frexpf_use=yes
46865 else
46866   glibcxx_cv_func__frexpf_use=no
46867 fi
46868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46869       ac_ext=c
46870 ac_cpp='$CPP $CPPFLAGS'
46871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46874
46875
46876 fi
46877
46878   fi
46879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46880 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46881
46882     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46883       for ac_func in _frexpf
46884 do :
46885   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46886 if test "x$ac_cv_func__frexpf" = x""yes; then :
46887   cat >>confdefs.h <<_ACEOF
46888 #define HAVE__FREXPF 1
46889 _ACEOF
46890
46891 fi
46892 done
46893
46894     fi
46895   fi
46896
46897
46898
46899
46900
46901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46902 $as_echo_n "checking for hypotf declaration... " >&6; }
46903   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46904     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46905   $as_echo_n "(cached) " >&6
46906 else
46907
46908
46909       ac_ext=cpp
46910 ac_cpp='$CXXCPP $CPPFLAGS'
46911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46914
46915       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46916 /* end confdefs.h.  */
46917 #include <math.h>
46918 int
46919 main ()
46920 {
46921  hypotf(0, 0);
46922   ;
46923   return 0;
46924 }
46925 _ACEOF
46926 if ac_fn_cxx_try_compile "$LINENO"; then :
46927   glibcxx_cv_func_hypotf_use=yes
46928 else
46929   glibcxx_cv_func_hypotf_use=no
46930 fi
46931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46932       ac_ext=c
46933 ac_cpp='$CPP $CPPFLAGS'
46934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46937
46938
46939 fi
46940
46941   fi
46942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46943 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46944
46945   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46946     for ac_func in hypotf
46947 do :
46948   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46949 if test "x$ac_cv_func_hypotf" = x""yes; then :
46950   cat >>confdefs.h <<_ACEOF
46951 #define HAVE_HYPOTF 1
46952 _ACEOF
46953
46954 fi
46955 done
46956
46957   else
46958
46959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46960 $as_echo_n "checking for _hypotf declaration... " >&6; }
46961   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46962     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46963   $as_echo_n "(cached) " >&6
46964 else
46965
46966
46967       ac_ext=cpp
46968 ac_cpp='$CXXCPP $CPPFLAGS'
46969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46972
46973       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46974 /* end confdefs.h.  */
46975 #include <math.h>
46976 int
46977 main ()
46978 {
46979  _hypotf(0, 0);
46980   ;
46981   return 0;
46982 }
46983 _ACEOF
46984 if ac_fn_cxx_try_compile "$LINENO"; then :
46985   glibcxx_cv_func__hypotf_use=yes
46986 else
46987   glibcxx_cv_func__hypotf_use=no
46988 fi
46989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46990       ac_ext=c
46991 ac_cpp='$CPP $CPPFLAGS'
46992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46995
46996
46997 fi
46998
46999   fi
47000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47001 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47002
47003     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47004       for ac_func in _hypotf
47005 do :
47006   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47007 if test "x$ac_cv_func__hypotf" = x""yes; then :
47008   cat >>confdefs.h <<_ACEOF
47009 #define HAVE__HYPOTF 1
47010 _ACEOF
47011
47012 fi
47013 done
47014
47015     fi
47016   fi
47017
47018
47019
47020
47021
47022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47023 $as_echo_n "checking for ldexpf declaration... " >&6; }
47024   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47025     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47026   $as_echo_n "(cached) " >&6
47027 else
47028
47029
47030       ac_ext=cpp
47031 ac_cpp='$CXXCPP $CPPFLAGS'
47032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47035
47036       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47037 /* end confdefs.h.  */
47038 #include <math.h>
47039 int
47040 main ()
47041 {
47042  ldexpf(0, 0);
47043   ;
47044   return 0;
47045 }
47046 _ACEOF
47047 if ac_fn_cxx_try_compile "$LINENO"; then :
47048   glibcxx_cv_func_ldexpf_use=yes
47049 else
47050   glibcxx_cv_func_ldexpf_use=no
47051 fi
47052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47053       ac_ext=c
47054 ac_cpp='$CPP $CPPFLAGS'
47055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47058
47059
47060 fi
47061
47062   fi
47063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47064 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47065
47066   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47067     for ac_func in ldexpf
47068 do :
47069   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47070 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47071   cat >>confdefs.h <<_ACEOF
47072 #define HAVE_LDEXPF 1
47073 _ACEOF
47074
47075 fi
47076 done
47077
47078   else
47079
47080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47081 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47082   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47083     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47084   $as_echo_n "(cached) " >&6
47085 else
47086
47087
47088       ac_ext=cpp
47089 ac_cpp='$CXXCPP $CPPFLAGS'
47090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47093
47094       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47095 /* end confdefs.h.  */
47096 #include <math.h>
47097 int
47098 main ()
47099 {
47100  _ldexpf(0, 0);
47101   ;
47102   return 0;
47103 }
47104 _ACEOF
47105 if ac_fn_cxx_try_compile "$LINENO"; then :
47106   glibcxx_cv_func__ldexpf_use=yes
47107 else
47108   glibcxx_cv_func__ldexpf_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__ldexpf_use" >&5
47122 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47123
47124     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47125       for ac_func in _ldexpf
47126 do :
47127   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47128 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47129   cat >>confdefs.h <<_ACEOF
47130 #define HAVE__LDEXPF 1
47131 _ACEOF
47132
47133 fi
47134 done
47135
47136     fi
47137   fi
47138
47139
47140
47141
47142
47143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47144 $as_echo_n "checking for logf declaration... " >&6; }
47145   if test x${glibcxx_cv_func_logf_use+set} != xset; then
47146     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47147   $as_echo_n "(cached) " >&6
47148 else
47149
47150
47151       ac_ext=cpp
47152 ac_cpp='$CXXCPP $CPPFLAGS'
47153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47156
47157       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47158 /* end confdefs.h.  */
47159 #include <math.h>
47160                       #ifdef HAVE_IEEEFP_H
47161                       #include <ieeefp.h>
47162                       #endif
47163
47164 int
47165 main ()
47166 {
47167  logf(0);
47168   ;
47169   return 0;
47170 }
47171 _ACEOF
47172 if ac_fn_cxx_try_compile "$LINENO"; then :
47173   glibcxx_cv_func_logf_use=yes
47174 else
47175   glibcxx_cv_func_logf_use=no
47176 fi
47177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47178       ac_ext=c
47179 ac_cpp='$CPP $CPPFLAGS'
47180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47183
47184
47185 fi
47186
47187   fi
47188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47189 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47190
47191   if test x$glibcxx_cv_func_logf_use = x"yes"; then
47192     for ac_func in logf
47193 do :
47194   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47195 if test "x$ac_cv_func_logf" = x""yes; then :
47196   cat >>confdefs.h <<_ACEOF
47197 #define HAVE_LOGF 1
47198 _ACEOF
47199
47200 fi
47201 done
47202
47203   else
47204
47205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47206 $as_echo_n "checking for _logf declaration... " >&6; }
47207   if test x${glibcxx_cv_func__logf_use+set} != xset; then
47208     if test "${glibcxx_cv_func__logf_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  _logf(0);
47230   ;
47231   return 0;
47232 }
47233 _ACEOF
47234 if ac_fn_cxx_try_compile "$LINENO"; then :
47235   glibcxx_cv_func__logf_use=yes
47236 else
47237   glibcxx_cv_func__logf_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__logf_use" >&5
47251 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47252
47253     if test x$glibcxx_cv_func__logf_use = x"yes"; then
47254       for ac_func in _logf
47255 do :
47256   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47257 if test "x$ac_cv_func__logf" = x""yes; then :
47258   cat >>confdefs.h <<_ACEOF
47259 #define HAVE__LOGF 1
47260 _ACEOF
47261
47262 fi
47263 done
47264
47265     fi
47266   fi
47267
47268
47269
47270
47271
47272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47273 $as_echo_n "checking for log10f declaration... " >&6; }
47274   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47275     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47276   $as_echo_n "(cached) " >&6
47277 else
47278
47279
47280       ac_ext=cpp
47281 ac_cpp='$CXXCPP $CPPFLAGS'
47282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47285
47286       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47287 /* end confdefs.h.  */
47288 #include <math.h>
47289                       #ifdef HAVE_IEEEFP_H
47290                       #include <ieeefp.h>
47291                       #endif
47292
47293 int
47294 main ()
47295 {
47296  log10f(0);
47297   ;
47298   return 0;
47299 }
47300 _ACEOF
47301 if ac_fn_cxx_try_compile "$LINENO"; then :
47302   glibcxx_cv_func_log10f_use=yes
47303 else
47304   glibcxx_cv_func_log10f_use=no
47305 fi
47306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47307       ac_ext=c
47308 ac_cpp='$CPP $CPPFLAGS'
47309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47312
47313
47314 fi
47315
47316   fi
47317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47318 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47319
47320   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47321     for ac_func in log10f
47322 do :
47323   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47324 if test "x$ac_cv_func_log10f" = x""yes; then :
47325   cat >>confdefs.h <<_ACEOF
47326 #define HAVE_LOG10F 1
47327 _ACEOF
47328
47329 fi
47330 done
47331
47332   else
47333
47334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47335 $as_echo_n "checking for _log10f declaration... " >&6; }
47336   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47337     if test "${glibcxx_cv_func__log10f_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                       #ifdef HAVE_IEEEFP_H
47352                       #include <ieeefp.h>
47353                       #endif
47354
47355 int
47356 main ()
47357 {
47358  _log10f(0);
47359   ;
47360   return 0;
47361 }
47362 _ACEOF
47363 if ac_fn_cxx_try_compile "$LINENO"; then :
47364   glibcxx_cv_func__log10f_use=yes
47365 else
47366   glibcxx_cv_func__log10f_use=no
47367 fi
47368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47369       ac_ext=c
47370 ac_cpp='$CPP $CPPFLAGS'
47371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47374
47375
47376 fi
47377
47378   fi
47379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47380 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47381
47382     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47383       for ac_func in _log10f
47384 do :
47385   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47386 if test "x$ac_cv_func__log10f" = x""yes; then :
47387   cat >>confdefs.h <<_ACEOF
47388 #define HAVE__LOG10F 1
47389 _ACEOF
47390
47391 fi
47392 done
47393
47394     fi
47395   fi
47396
47397
47398
47399
47400
47401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47402 $as_echo_n "checking for modff declaration... " >&6; }
47403   if test x${glibcxx_cv_func_modff_use+set} != xset; then
47404     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47405   $as_echo_n "(cached) " >&6
47406 else
47407
47408
47409       ac_ext=cpp
47410 ac_cpp='$CXXCPP $CPPFLAGS'
47411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47414
47415       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47416 /* end confdefs.h.  */
47417 #include <math.h>
47418 int
47419 main ()
47420 {
47421  modff(0, 0);
47422   ;
47423   return 0;
47424 }
47425 _ACEOF
47426 if ac_fn_cxx_try_compile "$LINENO"; then :
47427   glibcxx_cv_func_modff_use=yes
47428 else
47429   glibcxx_cv_func_modff_use=no
47430 fi
47431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47432       ac_ext=c
47433 ac_cpp='$CPP $CPPFLAGS'
47434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47437
47438
47439 fi
47440
47441   fi
47442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47443 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47444
47445   if test x$glibcxx_cv_func_modff_use = x"yes"; then
47446     for ac_func in modff
47447 do :
47448   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47449 if test "x$ac_cv_func_modff" = x""yes; then :
47450   cat >>confdefs.h <<_ACEOF
47451 #define HAVE_MODFF 1
47452 _ACEOF
47453
47454 fi
47455 done
47456
47457   else
47458
47459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47460 $as_echo_n "checking for _modff declaration... " >&6; }
47461   if test x${glibcxx_cv_func__modff_use+set} != xset; then
47462     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47463   $as_echo_n "(cached) " >&6
47464 else
47465
47466
47467       ac_ext=cpp
47468 ac_cpp='$CXXCPP $CPPFLAGS'
47469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47472
47473       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47474 /* end confdefs.h.  */
47475 #include <math.h>
47476 int
47477 main ()
47478 {
47479  _modff(0, 0);
47480   ;
47481   return 0;
47482 }
47483 _ACEOF
47484 if ac_fn_cxx_try_compile "$LINENO"; then :
47485   glibcxx_cv_func__modff_use=yes
47486 else
47487   glibcxx_cv_func__modff_use=no
47488 fi
47489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47490       ac_ext=c
47491 ac_cpp='$CPP $CPPFLAGS'
47492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47495
47496
47497 fi
47498
47499   fi
47500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47501 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47502
47503     if test x$glibcxx_cv_func__modff_use = x"yes"; then
47504       for ac_func in _modff
47505 do :
47506   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47507 if test "x$ac_cv_func__modff" = x""yes; then :
47508   cat >>confdefs.h <<_ACEOF
47509 #define HAVE__MODFF 1
47510 _ACEOF
47511
47512 fi
47513 done
47514
47515     fi
47516   fi
47517
47518
47519
47520
47521
47522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47523 $as_echo_n "checking for modf declaration... " >&6; }
47524   if test x${glibcxx_cv_func_modf_use+set} != xset; then
47525     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47526   $as_echo_n "(cached) " >&6
47527 else
47528
47529
47530       ac_ext=cpp
47531 ac_cpp='$CXXCPP $CPPFLAGS'
47532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47535
47536       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47537 /* end confdefs.h.  */
47538 #include <math.h>
47539 int
47540 main ()
47541 {
47542  modf(0, 0);
47543   ;
47544   return 0;
47545 }
47546 _ACEOF
47547 if ac_fn_cxx_try_compile "$LINENO"; then :
47548   glibcxx_cv_func_modf_use=yes
47549 else
47550   glibcxx_cv_func_modf_use=no
47551 fi
47552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47553       ac_ext=c
47554 ac_cpp='$CPP $CPPFLAGS'
47555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47558
47559
47560 fi
47561
47562   fi
47563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47564 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47565
47566   if test x$glibcxx_cv_func_modf_use = x"yes"; then
47567     for ac_func in modf
47568 do :
47569   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47570 if test "x$ac_cv_func_modf" = x""yes; then :
47571   cat >>confdefs.h <<_ACEOF
47572 #define HAVE_MODF 1
47573 _ACEOF
47574
47575 fi
47576 done
47577
47578   else
47579
47580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47581 $as_echo_n "checking for _modf declaration... " >&6; }
47582   if test x${glibcxx_cv_func__modf_use+set} != xset; then
47583     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47584   $as_echo_n "(cached) " >&6
47585 else
47586
47587
47588       ac_ext=cpp
47589 ac_cpp='$CXXCPP $CPPFLAGS'
47590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47593
47594       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47595 /* end confdefs.h.  */
47596 #include <math.h>
47597 int
47598 main ()
47599 {
47600  _modf(0, 0);
47601   ;
47602   return 0;
47603 }
47604 _ACEOF
47605 if ac_fn_cxx_try_compile "$LINENO"; then :
47606   glibcxx_cv_func__modf_use=yes
47607 else
47608   glibcxx_cv_func__modf_use=no
47609 fi
47610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47611       ac_ext=c
47612 ac_cpp='$CPP $CPPFLAGS'
47613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47616
47617
47618 fi
47619
47620   fi
47621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47622 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47623
47624     if test x$glibcxx_cv_func__modf_use = x"yes"; then
47625       for ac_func in _modf
47626 do :
47627   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47628 if test "x$ac_cv_func__modf" = x""yes; then :
47629   cat >>confdefs.h <<_ACEOF
47630 #define HAVE__MODF 1
47631 _ACEOF
47632
47633 fi
47634 done
47635
47636     fi
47637   fi
47638
47639
47640
47641
47642
47643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47644 $as_echo_n "checking for powf declaration... " >&6; }
47645   if test x${glibcxx_cv_func_powf_use+set} != xset; then
47646     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47647   $as_echo_n "(cached) " >&6
47648 else
47649
47650
47651       ac_ext=cpp
47652 ac_cpp='$CXXCPP $CPPFLAGS'
47653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47656
47657       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47658 /* end confdefs.h.  */
47659 #include <math.h>
47660 int
47661 main ()
47662 {
47663  powf(0, 0);
47664   ;
47665   return 0;
47666 }
47667 _ACEOF
47668 if ac_fn_cxx_try_compile "$LINENO"; then :
47669   glibcxx_cv_func_powf_use=yes
47670 else
47671   glibcxx_cv_func_powf_use=no
47672 fi
47673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47674       ac_ext=c
47675 ac_cpp='$CPP $CPPFLAGS'
47676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47679
47680
47681 fi
47682
47683   fi
47684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47685 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47686
47687   if test x$glibcxx_cv_func_powf_use = x"yes"; then
47688     for ac_func in powf
47689 do :
47690   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47691 if test "x$ac_cv_func_powf" = x""yes; then :
47692   cat >>confdefs.h <<_ACEOF
47693 #define HAVE_POWF 1
47694 _ACEOF
47695
47696 fi
47697 done
47698
47699   else
47700
47701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47702 $as_echo_n "checking for _powf declaration... " >&6; }
47703   if test x${glibcxx_cv_func__powf_use+set} != xset; then
47704     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47705   $as_echo_n "(cached) " >&6
47706 else
47707
47708
47709       ac_ext=cpp
47710 ac_cpp='$CXXCPP $CPPFLAGS'
47711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47714
47715       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47716 /* end confdefs.h.  */
47717 #include <math.h>
47718 int
47719 main ()
47720 {
47721  _powf(0, 0);
47722   ;
47723   return 0;
47724 }
47725 _ACEOF
47726 if ac_fn_cxx_try_compile "$LINENO"; then :
47727   glibcxx_cv_func__powf_use=yes
47728 else
47729   glibcxx_cv_func__powf_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__powf_use" >&5
47743 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47744
47745     if test x$glibcxx_cv_func__powf_use = x"yes"; then
47746       for ac_func in _powf
47747 do :
47748   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47749 if test "x$ac_cv_func__powf" = x""yes; then :
47750   cat >>confdefs.h <<_ACEOF
47751 #define HAVE__POWF 1
47752 _ACEOF
47753
47754 fi
47755 done
47756
47757     fi
47758   fi
47759
47760
47761
47762
47763
47764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47765 $as_echo_n "checking for sqrtf declaration... " >&6; }
47766   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47767     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47768   $as_echo_n "(cached) " >&6
47769 else
47770
47771
47772       ac_ext=cpp
47773 ac_cpp='$CXXCPP $CPPFLAGS'
47774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47777
47778       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47779 /* end confdefs.h.  */
47780 #include <math.h>
47781                       #ifdef HAVE_IEEEFP_H
47782                       #include <ieeefp.h>
47783                       #endif
47784
47785 int
47786 main ()
47787 {
47788  sqrtf(0);
47789   ;
47790   return 0;
47791 }
47792 _ACEOF
47793 if ac_fn_cxx_try_compile "$LINENO"; then :
47794   glibcxx_cv_func_sqrtf_use=yes
47795 else
47796   glibcxx_cv_func_sqrtf_use=no
47797 fi
47798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47799       ac_ext=c
47800 ac_cpp='$CPP $CPPFLAGS'
47801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47804
47805
47806 fi
47807
47808   fi
47809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47810 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47811
47812   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47813     for ac_func in sqrtf
47814 do :
47815   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47816 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47817   cat >>confdefs.h <<_ACEOF
47818 #define HAVE_SQRTF 1
47819 _ACEOF
47820
47821 fi
47822 done
47823
47824   else
47825
47826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47827 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47828   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47829     if test "${glibcxx_cv_func__sqrtf_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                       #ifdef HAVE_IEEEFP_H
47844                       #include <ieeefp.h>
47845                       #endif
47846
47847 int
47848 main ()
47849 {
47850  _sqrtf(0);
47851   ;
47852   return 0;
47853 }
47854 _ACEOF
47855 if ac_fn_cxx_try_compile "$LINENO"; then :
47856   glibcxx_cv_func__sqrtf_use=yes
47857 else
47858   glibcxx_cv_func__sqrtf_use=no
47859 fi
47860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47861       ac_ext=c
47862 ac_cpp='$CPP $CPPFLAGS'
47863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47866
47867
47868 fi
47869
47870   fi
47871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47872 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47873
47874     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47875       for ac_func in _sqrtf
47876 do :
47877   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47878 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47879   cat >>confdefs.h <<_ACEOF
47880 #define HAVE__SQRTF 1
47881 _ACEOF
47882
47883 fi
47884 done
47885
47886     fi
47887   fi
47888
47889
47890
47891
47892
47893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47894 $as_echo_n "checking for sincosf declaration... " >&6; }
47895   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47896     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47897   $as_echo_n "(cached) " >&6
47898 else
47899
47900
47901       ac_ext=cpp
47902 ac_cpp='$CXXCPP $CPPFLAGS'
47903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47906
47907       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47908 /* end confdefs.h.  */
47909 #include <math.h>
47910 int
47911 main ()
47912 {
47913  sincosf(0, 0, 0);
47914   ;
47915   return 0;
47916 }
47917 _ACEOF
47918 if ac_fn_cxx_try_compile "$LINENO"; then :
47919   glibcxx_cv_func_sincosf_use=yes
47920 else
47921   glibcxx_cv_func_sincosf_use=no
47922 fi
47923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47924       ac_ext=c
47925 ac_cpp='$CPP $CPPFLAGS'
47926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47929
47930
47931 fi
47932
47933   fi
47934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47935 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47936
47937   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47938     for ac_func in sincosf
47939 do :
47940   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47941 if test "x$ac_cv_func_sincosf" = x""yes; then :
47942   cat >>confdefs.h <<_ACEOF
47943 #define HAVE_SINCOSF 1
47944 _ACEOF
47945
47946 fi
47947 done
47948
47949   else
47950
47951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47952 $as_echo_n "checking for _sincosf declaration... " >&6; }
47953   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47954     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47955   $as_echo_n "(cached) " >&6
47956 else
47957
47958
47959       ac_ext=cpp
47960 ac_cpp='$CXXCPP $CPPFLAGS'
47961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47964
47965       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47966 /* end confdefs.h.  */
47967 #include <math.h>
47968 int
47969 main ()
47970 {
47971  _sincosf(0, 0, 0);
47972   ;
47973   return 0;
47974 }
47975 _ACEOF
47976 if ac_fn_cxx_try_compile "$LINENO"; then :
47977   glibcxx_cv_func__sincosf_use=yes
47978 else
47979   glibcxx_cv_func__sincosf_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__sincosf_use" >&5
47993 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47994
47995     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47996       for ac_func in _sincosf
47997 do :
47998   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47999 if test "x$ac_cv_func__sincosf" = x""yes; then :
48000   cat >>confdefs.h <<_ACEOF
48001 #define HAVE__SINCOSF 1
48002 _ACEOF
48003
48004 fi
48005 done
48006
48007     fi
48008   fi
48009
48010
48011
48012
48013
48014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48015 $as_echo_n "checking for finitef declaration... " >&6; }
48016   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48017     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48018   $as_echo_n "(cached) " >&6
48019 else
48020
48021
48022       ac_ext=cpp
48023 ac_cpp='$CXXCPP $CPPFLAGS'
48024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48027
48028       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48029 /* end confdefs.h.  */
48030 #include <math.h>
48031                       #ifdef HAVE_IEEEFP_H
48032                       #include <ieeefp.h>
48033                       #endif
48034
48035 int
48036 main ()
48037 {
48038  finitef(0);
48039   ;
48040   return 0;
48041 }
48042 _ACEOF
48043 if ac_fn_cxx_try_compile "$LINENO"; then :
48044   glibcxx_cv_func_finitef_use=yes
48045 else
48046   glibcxx_cv_func_finitef_use=no
48047 fi
48048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48049       ac_ext=c
48050 ac_cpp='$CPP $CPPFLAGS'
48051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48054
48055
48056 fi
48057
48058   fi
48059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48060 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48061
48062   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48063     for ac_func in finitef
48064 do :
48065   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48066 if test "x$ac_cv_func_finitef" = x""yes; then :
48067   cat >>confdefs.h <<_ACEOF
48068 #define HAVE_FINITEF 1
48069 _ACEOF
48070
48071 fi
48072 done
48073
48074   else
48075
48076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48077 $as_echo_n "checking for _finitef declaration... " >&6; }
48078   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48079     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48080   $as_echo_n "(cached) " >&6
48081 else
48082
48083
48084       ac_ext=cpp
48085 ac_cpp='$CXXCPP $CPPFLAGS'
48086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48089
48090       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48091 /* end confdefs.h.  */
48092 #include <math.h>
48093                       #ifdef HAVE_IEEEFP_H
48094                       #include <ieeefp.h>
48095                       #endif
48096
48097 int
48098 main ()
48099 {
48100  _finitef(0);
48101   ;
48102   return 0;
48103 }
48104 _ACEOF
48105 if ac_fn_cxx_try_compile "$LINENO"; then :
48106   glibcxx_cv_func__finitef_use=yes
48107 else
48108   glibcxx_cv_func__finitef_use=no
48109 fi
48110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48111       ac_ext=c
48112 ac_cpp='$CPP $CPPFLAGS'
48113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48116
48117
48118 fi
48119
48120   fi
48121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48122 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48123
48124     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48125       for ac_func in _finitef
48126 do :
48127   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48128 if test "x$ac_cv_func__finitef" = x""yes; then :
48129   cat >>confdefs.h <<_ACEOF
48130 #define HAVE__FINITEF 1
48131 _ACEOF
48132
48133 fi
48134 done
48135
48136     fi
48137   fi
48138
48139
48140
48141
48142
48143     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48144 $as_echo_n "checking for long double trig functions... " >&6; }
48145   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48146   $as_echo_n "(cached) " >&6
48147 else
48148
48149
48150     ac_ext=cpp
48151 ac_cpp='$CXXCPP $CPPFLAGS'
48152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48155
48156     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48157 /* end confdefs.h.  */
48158 #include <math.h>
48159 int
48160 main ()
48161 {
48162 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48163   ;
48164   return 0;
48165 }
48166 _ACEOF
48167 if ac_fn_cxx_try_compile "$LINENO"; then :
48168   glibcxx_cv_func_long_double_trig_use=yes
48169 else
48170   glibcxx_cv_func_long_double_trig_use=no
48171 fi
48172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48173     ac_ext=c
48174 ac_cpp='$CPP $CPPFLAGS'
48175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48178
48179 fi
48180
48181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48182 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48183   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48184     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48185 do :
48186   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48187 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48188 eval as_val=\$$as_ac_var
48189    if test "x$as_val" = x""yes; then :
48190   cat >>confdefs.h <<_ACEOF
48191 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48192 _ACEOF
48193
48194 fi
48195 done
48196
48197   else
48198     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48199 $as_echo_n "checking for _long double trig functions... " >&6; }
48200     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48201   $as_echo_n "(cached) " >&6
48202 else
48203
48204
48205       ac_ext=cpp
48206 ac_cpp='$CXXCPP $CPPFLAGS'
48207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48210
48211       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48212 /* end confdefs.h.  */
48213 #include <math.h>
48214 int
48215 main ()
48216 {
48217 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48218   ;
48219   return 0;
48220 }
48221 _ACEOF
48222 if ac_fn_cxx_try_compile "$LINENO"; then :
48223   glibcxx_cv_func__long_double_trig_use=yes
48224 else
48225   glibcxx_cv_func__long_double_trig_use=no
48226 fi
48227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48228       ac_ext=c
48229 ac_cpp='$CPP $CPPFLAGS'
48230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48233
48234 fi
48235
48236     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48237 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48238     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48239       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48240 do :
48241   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48242 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48243 eval as_val=\$$as_ac_var
48244    if test "x$as_val" = x""yes; then :
48245   cat >>confdefs.h <<_ACEOF
48246 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48247 _ACEOF
48248
48249 fi
48250 done
48251
48252     fi
48253   fi
48254
48255
48256
48257
48258
48259     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48260 $as_echo_n "checking for long double round functions... " >&6; }
48261   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48262   $as_echo_n "(cached) " >&6
48263 else
48264
48265
48266     ac_ext=cpp
48267 ac_cpp='$CXXCPP $CPPFLAGS'
48268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48271
48272     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48273 /* end confdefs.h.  */
48274 #include <math.h>
48275 int
48276 main ()
48277 {
48278 ceill (0); floorl (0);
48279   ;
48280   return 0;
48281 }
48282 _ACEOF
48283 if ac_fn_cxx_try_compile "$LINENO"; then :
48284   glibcxx_cv_func_long_double_round_use=yes
48285 else
48286   glibcxx_cv_func_long_double_round_use=no
48287 fi
48288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48289     ac_ext=c
48290 ac_cpp='$CPP $CPPFLAGS'
48291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48294
48295 fi
48296
48297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48298 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48299   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48300     for ac_func in ceill floorl
48301 do :
48302   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48303 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48304 eval as_val=\$$as_ac_var
48305    if test "x$as_val" = x""yes; then :
48306   cat >>confdefs.h <<_ACEOF
48307 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48308 _ACEOF
48309
48310 fi
48311 done
48312
48313   else
48314     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48315 $as_echo_n "checking for _long double round functions... " >&6; }
48316     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48317   $as_echo_n "(cached) " >&6
48318 else
48319
48320
48321       ac_ext=cpp
48322 ac_cpp='$CXXCPP $CPPFLAGS'
48323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48326
48327       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48328 /* end confdefs.h.  */
48329 #include <math.h>
48330 int
48331 main ()
48332 {
48333 _ceill (0); _floorl (0);
48334   ;
48335   return 0;
48336 }
48337 _ACEOF
48338 if ac_fn_cxx_try_compile "$LINENO"; then :
48339   glibcxx_cv_func__long_double_round_use=yes
48340 else
48341   glibcxx_cv_func__long_double_round_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 fi
48351
48352     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48353 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48354     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48355       for ac_func in _ceill _floorl
48356 do :
48357   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48358 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48359 eval as_val=\$$as_ac_var
48360    if test "x$as_val" = x""yes; then :
48361   cat >>confdefs.h <<_ACEOF
48362 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48363 _ACEOF
48364
48365 fi
48366 done
48367
48368     fi
48369   fi
48370
48371
48372
48373
48374
48375
48376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48377 $as_echo_n "checking for isnanl declaration... " >&6; }
48378   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48379     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48380   $as_echo_n "(cached) " >&6
48381 else
48382
48383
48384       ac_ext=cpp
48385 ac_cpp='$CXXCPP $CPPFLAGS'
48386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48389
48390       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48391 /* end confdefs.h.  */
48392 #include <math.h>
48393                       #ifdef HAVE_IEEEFP_H
48394                       #include <ieeefp.h>
48395                       #endif
48396
48397 int
48398 main ()
48399 {
48400  isnanl(0);
48401   ;
48402   return 0;
48403 }
48404 _ACEOF
48405 if ac_fn_cxx_try_compile "$LINENO"; then :
48406   glibcxx_cv_func_isnanl_use=yes
48407 else
48408   glibcxx_cv_func_isnanl_use=no
48409 fi
48410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48411       ac_ext=c
48412 ac_cpp='$CPP $CPPFLAGS'
48413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48416
48417
48418 fi
48419
48420   fi
48421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48422 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48423
48424   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48425     for ac_func in isnanl
48426 do :
48427   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48428 if test "x$ac_cv_func_isnanl" = x""yes; then :
48429   cat >>confdefs.h <<_ACEOF
48430 #define HAVE_ISNANL 1
48431 _ACEOF
48432
48433 fi
48434 done
48435
48436   else
48437
48438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48439 $as_echo_n "checking for _isnanl declaration... " >&6; }
48440   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48441     if test "${glibcxx_cv_func__isnanl_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  _isnanl(0);
48463   ;
48464   return 0;
48465 }
48466 _ACEOF
48467 if ac_fn_cxx_try_compile "$LINENO"; then :
48468   glibcxx_cv_func__isnanl_use=yes
48469 else
48470   glibcxx_cv_func__isnanl_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__isnanl_use" >&5
48484 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48485
48486     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48487       for ac_func in _isnanl
48488 do :
48489   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48490 if test "x$ac_cv_func__isnanl" = x""yes; then :
48491   cat >>confdefs.h <<_ACEOF
48492 #define HAVE__ISNANL 1
48493 _ACEOF
48494
48495 fi
48496 done
48497
48498     fi
48499   fi
48500
48501
48502
48503
48504
48505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48506 $as_echo_n "checking for isinfl declaration... " >&6; }
48507   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48508     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48509   $as_echo_n "(cached) " >&6
48510 else
48511
48512
48513       ac_ext=cpp
48514 ac_cpp='$CXXCPP $CPPFLAGS'
48515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48518
48519       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48520 /* end confdefs.h.  */
48521 #include <math.h>
48522                       #ifdef HAVE_IEEEFP_H
48523                       #include <ieeefp.h>
48524                       #endif
48525
48526 int
48527 main ()
48528 {
48529  isinfl(0);
48530   ;
48531   return 0;
48532 }
48533 _ACEOF
48534 if ac_fn_cxx_try_compile "$LINENO"; then :
48535   glibcxx_cv_func_isinfl_use=yes
48536 else
48537   glibcxx_cv_func_isinfl_use=no
48538 fi
48539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48540       ac_ext=c
48541 ac_cpp='$CPP $CPPFLAGS'
48542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48545
48546
48547 fi
48548
48549   fi
48550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48551 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48552
48553   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48554     for ac_func in isinfl
48555 do :
48556   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48557 if test "x$ac_cv_func_isinfl" = x""yes; then :
48558   cat >>confdefs.h <<_ACEOF
48559 #define HAVE_ISINFL 1
48560 _ACEOF
48561
48562 fi
48563 done
48564
48565   else
48566
48567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48568 $as_echo_n "checking for _isinfl declaration... " >&6; }
48569   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48570     if test "${glibcxx_cv_func__isinfl_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                       #ifdef HAVE_IEEEFP_H
48585                       #include <ieeefp.h>
48586                       #endif
48587
48588 int
48589 main ()
48590 {
48591  _isinfl(0);
48592   ;
48593   return 0;
48594 }
48595 _ACEOF
48596 if ac_fn_cxx_try_compile "$LINENO"; then :
48597   glibcxx_cv_func__isinfl_use=yes
48598 else
48599   glibcxx_cv_func__isinfl_use=no
48600 fi
48601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48602       ac_ext=c
48603 ac_cpp='$CPP $CPPFLAGS'
48604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48607
48608
48609 fi
48610
48611   fi
48612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48613 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48614
48615     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48616       for ac_func in _isinfl
48617 do :
48618   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48619 if test "x$ac_cv_func__isinfl" = x""yes; then :
48620   cat >>confdefs.h <<_ACEOF
48621 #define HAVE__ISINFL 1
48622 _ACEOF
48623
48624 fi
48625 done
48626
48627     fi
48628   fi
48629
48630
48631
48632
48633
48634   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48635 $as_echo_n "checking for atan2l declaration... " >&6; }
48636   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48637     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48638   $as_echo_n "(cached) " >&6
48639 else
48640
48641
48642       ac_ext=cpp
48643 ac_cpp='$CXXCPP $CPPFLAGS'
48644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48647
48648       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48649 /* end confdefs.h.  */
48650 #include <math.h>
48651 int
48652 main ()
48653 {
48654  atan2l(0, 0);
48655   ;
48656   return 0;
48657 }
48658 _ACEOF
48659 if ac_fn_cxx_try_compile "$LINENO"; then :
48660   glibcxx_cv_func_atan2l_use=yes
48661 else
48662   glibcxx_cv_func_atan2l_use=no
48663 fi
48664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48665       ac_ext=c
48666 ac_cpp='$CPP $CPPFLAGS'
48667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48670
48671
48672 fi
48673
48674   fi
48675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48676 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48677
48678   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48679     for ac_func in atan2l
48680 do :
48681   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48682 if test "x$ac_cv_func_atan2l" = x""yes; then :
48683   cat >>confdefs.h <<_ACEOF
48684 #define HAVE_ATAN2L 1
48685 _ACEOF
48686
48687 fi
48688 done
48689
48690   else
48691
48692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48693 $as_echo_n "checking for _atan2l declaration... " >&6; }
48694   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48695     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48696   $as_echo_n "(cached) " >&6
48697 else
48698
48699
48700       ac_ext=cpp
48701 ac_cpp='$CXXCPP $CPPFLAGS'
48702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48705
48706       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48707 /* end confdefs.h.  */
48708 #include <math.h>
48709 int
48710 main ()
48711 {
48712  _atan2l(0, 0);
48713   ;
48714   return 0;
48715 }
48716 _ACEOF
48717 if ac_fn_cxx_try_compile "$LINENO"; then :
48718   glibcxx_cv_func__atan2l_use=yes
48719 else
48720   glibcxx_cv_func__atan2l_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__atan2l_use" >&5
48734 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48735
48736     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48737       for ac_func in _atan2l
48738 do :
48739   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48740 if test "x$ac_cv_func__atan2l" = x""yes; then :
48741   cat >>confdefs.h <<_ACEOF
48742 #define HAVE__ATAN2L 1
48743 _ACEOF
48744
48745 fi
48746 done
48747
48748     fi
48749   fi
48750
48751
48752
48753
48754
48755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48756 $as_echo_n "checking for expl declaration... " >&6; }
48757   if test x${glibcxx_cv_func_expl_use+set} != xset; then
48758     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48759   $as_echo_n "(cached) " >&6
48760 else
48761
48762
48763       ac_ext=cpp
48764 ac_cpp='$CXXCPP $CPPFLAGS'
48765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48768
48769       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48770 /* end confdefs.h.  */
48771 #include <math.h>
48772                       #ifdef HAVE_IEEEFP_H
48773                       #include <ieeefp.h>
48774                       #endif
48775
48776 int
48777 main ()
48778 {
48779  expl(0);
48780   ;
48781   return 0;
48782 }
48783 _ACEOF
48784 if ac_fn_cxx_try_compile "$LINENO"; then :
48785   glibcxx_cv_func_expl_use=yes
48786 else
48787   glibcxx_cv_func_expl_use=no
48788 fi
48789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48790       ac_ext=c
48791 ac_cpp='$CPP $CPPFLAGS'
48792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48795
48796
48797 fi
48798
48799   fi
48800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48801 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48802
48803   if test x$glibcxx_cv_func_expl_use = x"yes"; then
48804     for ac_func in expl
48805 do :
48806   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48807 if test "x$ac_cv_func_expl" = x""yes; then :
48808   cat >>confdefs.h <<_ACEOF
48809 #define HAVE_EXPL 1
48810 _ACEOF
48811
48812 fi
48813 done
48814
48815   else
48816
48817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48818 $as_echo_n "checking for _expl declaration... " >&6; }
48819   if test x${glibcxx_cv_func__expl_use+set} != xset; then
48820     if test "${glibcxx_cv_func__expl_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  _expl(0);
48842   ;
48843   return 0;
48844 }
48845 _ACEOF
48846 if ac_fn_cxx_try_compile "$LINENO"; then :
48847   glibcxx_cv_func__expl_use=yes
48848 else
48849   glibcxx_cv_func__expl_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__expl_use" >&5
48863 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48864
48865     if test x$glibcxx_cv_func__expl_use = x"yes"; then
48866       for ac_func in _expl
48867 do :
48868   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48869 if test "x$ac_cv_func__expl" = x""yes; then :
48870   cat >>confdefs.h <<_ACEOF
48871 #define HAVE__EXPL 1
48872 _ACEOF
48873
48874 fi
48875 done
48876
48877     fi
48878   fi
48879
48880
48881
48882
48883
48884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48885 $as_echo_n "checking for fabsl declaration... " >&6; }
48886   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48887     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48888   $as_echo_n "(cached) " >&6
48889 else
48890
48891
48892       ac_ext=cpp
48893 ac_cpp='$CXXCPP $CPPFLAGS'
48894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48897
48898       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48899 /* end confdefs.h.  */
48900 #include <math.h>
48901                       #ifdef HAVE_IEEEFP_H
48902                       #include <ieeefp.h>
48903                       #endif
48904
48905 int
48906 main ()
48907 {
48908  fabsl(0);
48909   ;
48910   return 0;
48911 }
48912 _ACEOF
48913 if ac_fn_cxx_try_compile "$LINENO"; then :
48914   glibcxx_cv_func_fabsl_use=yes
48915 else
48916   glibcxx_cv_func_fabsl_use=no
48917 fi
48918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48919       ac_ext=c
48920 ac_cpp='$CPP $CPPFLAGS'
48921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48924
48925
48926 fi
48927
48928   fi
48929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48930 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48931
48932   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48933     for ac_func in fabsl
48934 do :
48935   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48936 if test "x$ac_cv_func_fabsl" = x""yes; then :
48937   cat >>confdefs.h <<_ACEOF
48938 #define HAVE_FABSL 1
48939 _ACEOF
48940
48941 fi
48942 done
48943
48944   else
48945
48946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48947 $as_echo_n "checking for _fabsl declaration... " >&6; }
48948   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48949     if test "${glibcxx_cv_func__fabsl_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                       #ifdef HAVE_IEEEFP_H
48964                       #include <ieeefp.h>
48965                       #endif
48966
48967 int
48968 main ()
48969 {
48970  _fabsl(0);
48971   ;
48972   return 0;
48973 }
48974 _ACEOF
48975 if ac_fn_cxx_try_compile "$LINENO"; then :
48976   glibcxx_cv_func__fabsl_use=yes
48977 else
48978   glibcxx_cv_func__fabsl_use=no
48979 fi
48980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48981       ac_ext=c
48982 ac_cpp='$CPP $CPPFLAGS'
48983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48986
48987
48988 fi
48989
48990   fi
48991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48992 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48993
48994     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48995       for ac_func in _fabsl
48996 do :
48997   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48998 if test "x$ac_cv_func__fabsl" = x""yes; then :
48999   cat >>confdefs.h <<_ACEOF
49000 #define HAVE__FABSL 1
49001 _ACEOF
49002
49003 fi
49004 done
49005
49006     fi
49007   fi
49008
49009
49010
49011
49012
49013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49014 $as_echo_n "checking for fmodl declaration... " >&6; }
49015   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49016     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49017   $as_echo_n "(cached) " >&6
49018 else
49019
49020
49021       ac_ext=cpp
49022 ac_cpp='$CXXCPP $CPPFLAGS'
49023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49026
49027       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49028 /* end confdefs.h.  */
49029 #include <math.h>
49030 int
49031 main ()
49032 {
49033  fmodl(0, 0);
49034   ;
49035   return 0;
49036 }
49037 _ACEOF
49038 if ac_fn_cxx_try_compile "$LINENO"; then :
49039   glibcxx_cv_func_fmodl_use=yes
49040 else
49041   glibcxx_cv_func_fmodl_use=no
49042 fi
49043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49044       ac_ext=c
49045 ac_cpp='$CPP $CPPFLAGS'
49046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49049
49050
49051 fi
49052
49053   fi
49054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49055 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49056
49057   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49058     for ac_func in fmodl
49059 do :
49060   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49061 if test "x$ac_cv_func_fmodl" = x""yes; then :
49062   cat >>confdefs.h <<_ACEOF
49063 #define HAVE_FMODL 1
49064 _ACEOF
49065
49066 fi
49067 done
49068
49069   else
49070
49071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49072 $as_echo_n "checking for _fmodl declaration... " >&6; }
49073   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49074     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49075   $as_echo_n "(cached) " >&6
49076 else
49077
49078
49079       ac_ext=cpp
49080 ac_cpp='$CXXCPP $CPPFLAGS'
49081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49084
49085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49086 /* end confdefs.h.  */
49087 #include <math.h>
49088 int
49089 main ()
49090 {
49091  _fmodl(0, 0);
49092   ;
49093   return 0;
49094 }
49095 _ACEOF
49096 if ac_fn_cxx_try_compile "$LINENO"; then :
49097   glibcxx_cv_func__fmodl_use=yes
49098 else
49099   glibcxx_cv_func__fmodl_use=no
49100 fi
49101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49102       ac_ext=c
49103 ac_cpp='$CPP $CPPFLAGS'
49104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49107
49108
49109 fi
49110
49111   fi
49112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49113 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49114
49115     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49116       for ac_func in _fmodl
49117 do :
49118   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49119 if test "x$ac_cv_func__fmodl" = x""yes; then :
49120   cat >>confdefs.h <<_ACEOF
49121 #define HAVE__FMODL 1
49122 _ACEOF
49123
49124 fi
49125 done
49126
49127     fi
49128   fi
49129
49130
49131
49132
49133
49134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49135 $as_echo_n "checking for frexpl declaration... " >&6; }
49136   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49137     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49138   $as_echo_n "(cached) " >&6
49139 else
49140
49141
49142       ac_ext=cpp
49143 ac_cpp='$CXXCPP $CPPFLAGS'
49144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49147
49148       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49149 /* end confdefs.h.  */
49150 #include <math.h>
49151 int
49152 main ()
49153 {
49154  frexpl(0, 0);
49155   ;
49156   return 0;
49157 }
49158 _ACEOF
49159 if ac_fn_cxx_try_compile "$LINENO"; then :
49160   glibcxx_cv_func_frexpl_use=yes
49161 else
49162   glibcxx_cv_func_frexpl_use=no
49163 fi
49164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49165       ac_ext=c
49166 ac_cpp='$CPP $CPPFLAGS'
49167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49170
49171
49172 fi
49173
49174   fi
49175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49176 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49177
49178   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49179     for ac_func in frexpl
49180 do :
49181   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49182 if test "x$ac_cv_func_frexpl" = x""yes; then :
49183   cat >>confdefs.h <<_ACEOF
49184 #define HAVE_FREXPL 1
49185 _ACEOF
49186
49187 fi
49188 done
49189
49190   else
49191
49192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49193 $as_echo_n "checking for _frexpl declaration... " >&6; }
49194   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49195     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49196   $as_echo_n "(cached) " >&6
49197 else
49198
49199
49200       ac_ext=cpp
49201 ac_cpp='$CXXCPP $CPPFLAGS'
49202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49205
49206       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49207 /* end confdefs.h.  */
49208 #include <math.h>
49209 int
49210 main ()
49211 {
49212  _frexpl(0, 0);
49213   ;
49214   return 0;
49215 }
49216 _ACEOF
49217 if ac_fn_cxx_try_compile "$LINENO"; then :
49218   glibcxx_cv_func__frexpl_use=yes
49219 else
49220   glibcxx_cv_func__frexpl_use=no
49221 fi
49222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49223       ac_ext=c
49224 ac_cpp='$CPP $CPPFLAGS'
49225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49228
49229
49230 fi
49231
49232   fi
49233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49234 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49235
49236     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49237       for ac_func in _frexpl
49238 do :
49239   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49240 if test "x$ac_cv_func__frexpl" = x""yes; then :
49241   cat >>confdefs.h <<_ACEOF
49242 #define HAVE__FREXPL 1
49243 _ACEOF
49244
49245 fi
49246 done
49247
49248     fi
49249   fi
49250
49251
49252
49253
49254
49255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49256 $as_echo_n "checking for hypotl declaration... " >&6; }
49257   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49258     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49259   $as_echo_n "(cached) " >&6
49260 else
49261
49262
49263       ac_ext=cpp
49264 ac_cpp='$CXXCPP $CPPFLAGS'
49265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49268
49269       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49270 /* end confdefs.h.  */
49271 #include <math.h>
49272 int
49273 main ()
49274 {
49275  hypotl(0, 0);
49276   ;
49277   return 0;
49278 }
49279 _ACEOF
49280 if ac_fn_cxx_try_compile "$LINENO"; then :
49281   glibcxx_cv_func_hypotl_use=yes
49282 else
49283   glibcxx_cv_func_hypotl_use=no
49284 fi
49285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49286       ac_ext=c
49287 ac_cpp='$CPP $CPPFLAGS'
49288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49291
49292
49293 fi
49294
49295   fi
49296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49297 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49298
49299   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49300     for ac_func in hypotl
49301 do :
49302   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49303 if test "x$ac_cv_func_hypotl" = x""yes; then :
49304   cat >>confdefs.h <<_ACEOF
49305 #define HAVE_HYPOTL 1
49306 _ACEOF
49307
49308 fi
49309 done
49310
49311   else
49312
49313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49314 $as_echo_n "checking for _hypotl declaration... " >&6; }
49315   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49316     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49317   $as_echo_n "(cached) " >&6
49318 else
49319
49320
49321       ac_ext=cpp
49322 ac_cpp='$CXXCPP $CPPFLAGS'
49323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49326
49327       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49328 /* end confdefs.h.  */
49329 #include <math.h>
49330 int
49331 main ()
49332 {
49333  _hypotl(0, 0);
49334   ;
49335   return 0;
49336 }
49337 _ACEOF
49338 if ac_fn_cxx_try_compile "$LINENO"; then :
49339   glibcxx_cv_func__hypotl_use=yes
49340 else
49341   glibcxx_cv_func__hypotl_use=no
49342 fi
49343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49344       ac_ext=c
49345 ac_cpp='$CPP $CPPFLAGS'
49346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49349
49350
49351 fi
49352
49353   fi
49354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49355 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49356
49357     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49358       for ac_func in _hypotl
49359 do :
49360   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49361 if test "x$ac_cv_func__hypotl" = x""yes; then :
49362   cat >>confdefs.h <<_ACEOF
49363 #define HAVE__HYPOTL 1
49364 _ACEOF
49365
49366 fi
49367 done
49368
49369     fi
49370   fi
49371
49372
49373
49374
49375
49376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49377 $as_echo_n "checking for ldexpl declaration... " >&6; }
49378   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49379     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49380   $as_echo_n "(cached) " >&6
49381 else
49382
49383
49384       ac_ext=cpp
49385 ac_cpp='$CXXCPP $CPPFLAGS'
49386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49389
49390       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49391 /* end confdefs.h.  */
49392 #include <math.h>
49393 int
49394 main ()
49395 {
49396  ldexpl(0, 0);
49397   ;
49398   return 0;
49399 }
49400 _ACEOF
49401 if ac_fn_cxx_try_compile "$LINENO"; then :
49402   glibcxx_cv_func_ldexpl_use=yes
49403 else
49404   glibcxx_cv_func_ldexpl_use=no
49405 fi
49406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49407       ac_ext=c
49408 ac_cpp='$CPP $CPPFLAGS'
49409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49412
49413
49414 fi
49415
49416   fi
49417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49418 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49419
49420   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49421     for ac_func in ldexpl
49422 do :
49423   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49424 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49425   cat >>confdefs.h <<_ACEOF
49426 #define HAVE_LDEXPL 1
49427 _ACEOF
49428
49429 fi
49430 done
49431
49432   else
49433
49434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49435 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49436   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49437     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49438   $as_echo_n "(cached) " >&6
49439 else
49440
49441
49442       ac_ext=cpp
49443 ac_cpp='$CXXCPP $CPPFLAGS'
49444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49447
49448       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49449 /* end confdefs.h.  */
49450 #include <math.h>
49451 int
49452 main ()
49453 {
49454  _ldexpl(0, 0);
49455   ;
49456   return 0;
49457 }
49458 _ACEOF
49459 if ac_fn_cxx_try_compile "$LINENO"; then :
49460   glibcxx_cv_func__ldexpl_use=yes
49461 else
49462   glibcxx_cv_func__ldexpl_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__ldexpl_use" >&5
49476 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49477
49478     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49479       for ac_func in _ldexpl
49480 do :
49481   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49482 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49483   cat >>confdefs.h <<_ACEOF
49484 #define HAVE__LDEXPL 1
49485 _ACEOF
49486
49487 fi
49488 done
49489
49490     fi
49491   fi
49492
49493
49494
49495
49496
49497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49498 $as_echo_n "checking for logl declaration... " >&6; }
49499   if test x${glibcxx_cv_func_logl_use+set} != xset; then
49500     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49501   $as_echo_n "(cached) " >&6
49502 else
49503
49504
49505       ac_ext=cpp
49506 ac_cpp='$CXXCPP $CPPFLAGS'
49507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49510
49511       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49512 /* end confdefs.h.  */
49513 #include <math.h>
49514                       #ifdef HAVE_IEEEFP_H
49515                       #include <ieeefp.h>
49516                       #endif
49517
49518 int
49519 main ()
49520 {
49521  logl(0);
49522   ;
49523   return 0;
49524 }
49525 _ACEOF
49526 if ac_fn_cxx_try_compile "$LINENO"; then :
49527   glibcxx_cv_func_logl_use=yes
49528 else
49529   glibcxx_cv_func_logl_use=no
49530 fi
49531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49532       ac_ext=c
49533 ac_cpp='$CPP $CPPFLAGS'
49534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49537
49538
49539 fi
49540
49541   fi
49542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49543 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49544
49545   if test x$glibcxx_cv_func_logl_use = x"yes"; then
49546     for ac_func in logl
49547 do :
49548   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49549 if test "x$ac_cv_func_logl" = x""yes; then :
49550   cat >>confdefs.h <<_ACEOF
49551 #define HAVE_LOGL 1
49552 _ACEOF
49553
49554 fi
49555 done
49556
49557   else
49558
49559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49560 $as_echo_n "checking for _logl declaration... " >&6; }
49561   if test x${glibcxx_cv_func__logl_use+set} != xset; then
49562     if test "${glibcxx_cv_func__logl_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  _logl(0);
49584   ;
49585   return 0;
49586 }
49587 _ACEOF
49588 if ac_fn_cxx_try_compile "$LINENO"; then :
49589   glibcxx_cv_func__logl_use=yes
49590 else
49591   glibcxx_cv_func__logl_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__logl_use" >&5
49605 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49606
49607     if test x$glibcxx_cv_func__logl_use = x"yes"; then
49608       for ac_func in _logl
49609 do :
49610   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49611 if test "x$ac_cv_func__logl" = x""yes; then :
49612   cat >>confdefs.h <<_ACEOF
49613 #define HAVE__LOGL 1
49614 _ACEOF
49615
49616 fi
49617 done
49618
49619     fi
49620   fi
49621
49622
49623
49624
49625
49626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49627 $as_echo_n "checking for log10l declaration... " >&6; }
49628   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49629     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49630   $as_echo_n "(cached) " >&6
49631 else
49632
49633
49634       ac_ext=cpp
49635 ac_cpp='$CXXCPP $CPPFLAGS'
49636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49639
49640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49641 /* end confdefs.h.  */
49642 #include <math.h>
49643                       #ifdef HAVE_IEEEFP_H
49644                       #include <ieeefp.h>
49645                       #endif
49646
49647 int
49648 main ()
49649 {
49650  log10l(0);
49651   ;
49652   return 0;
49653 }
49654 _ACEOF
49655 if ac_fn_cxx_try_compile "$LINENO"; then :
49656   glibcxx_cv_func_log10l_use=yes
49657 else
49658   glibcxx_cv_func_log10l_use=no
49659 fi
49660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49661       ac_ext=c
49662 ac_cpp='$CPP $CPPFLAGS'
49663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49666
49667
49668 fi
49669
49670   fi
49671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49672 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49673
49674   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49675     for ac_func in log10l
49676 do :
49677   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49678 if test "x$ac_cv_func_log10l" = x""yes; then :
49679   cat >>confdefs.h <<_ACEOF
49680 #define HAVE_LOG10L 1
49681 _ACEOF
49682
49683 fi
49684 done
49685
49686   else
49687
49688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49689 $as_echo_n "checking for _log10l declaration... " >&6; }
49690   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49691     if test "${glibcxx_cv_func__log10l_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                       #ifdef HAVE_IEEEFP_H
49706                       #include <ieeefp.h>
49707                       #endif
49708
49709 int
49710 main ()
49711 {
49712  _log10l(0);
49713   ;
49714   return 0;
49715 }
49716 _ACEOF
49717 if ac_fn_cxx_try_compile "$LINENO"; then :
49718   glibcxx_cv_func__log10l_use=yes
49719 else
49720   glibcxx_cv_func__log10l_use=no
49721 fi
49722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49723       ac_ext=c
49724 ac_cpp='$CPP $CPPFLAGS'
49725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49728
49729
49730 fi
49731
49732   fi
49733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49734 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49735
49736     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49737       for ac_func in _log10l
49738 do :
49739   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49740 if test "x$ac_cv_func__log10l" = x""yes; then :
49741   cat >>confdefs.h <<_ACEOF
49742 #define HAVE__LOG10L 1
49743 _ACEOF
49744
49745 fi
49746 done
49747
49748     fi
49749   fi
49750
49751
49752
49753
49754
49755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49756 $as_echo_n "checking for modfl declaration... " >&6; }
49757   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49758     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49759   $as_echo_n "(cached) " >&6
49760 else
49761
49762
49763       ac_ext=cpp
49764 ac_cpp='$CXXCPP $CPPFLAGS'
49765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49768
49769       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49770 /* end confdefs.h.  */
49771 #include <math.h>
49772 int
49773 main ()
49774 {
49775  modfl(0, 0);
49776   ;
49777   return 0;
49778 }
49779 _ACEOF
49780 if ac_fn_cxx_try_compile "$LINENO"; then :
49781   glibcxx_cv_func_modfl_use=yes
49782 else
49783   glibcxx_cv_func_modfl_use=no
49784 fi
49785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49786       ac_ext=c
49787 ac_cpp='$CPP $CPPFLAGS'
49788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49791
49792
49793 fi
49794
49795   fi
49796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49797 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49798
49799   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49800     for ac_func in modfl
49801 do :
49802   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49803 if test "x$ac_cv_func_modfl" = x""yes; then :
49804   cat >>confdefs.h <<_ACEOF
49805 #define HAVE_MODFL 1
49806 _ACEOF
49807
49808 fi
49809 done
49810
49811   else
49812
49813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49814 $as_echo_n "checking for _modfl declaration... " >&6; }
49815   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49816     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49817   $as_echo_n "(cached) " >&6
49818 else
49819
49820
49821       ac_ext=cpp
49822 ac_cpp='$CXXCPP $CPPFLAGS'
49823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49826
49827       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49828 /* end confdefs.h.  */
49829 #include <math.h>
49830 int
49831 main ()
49832 {
49833  _modfl(0, 0);
49834   ;
49835   return 0;
49836 }
49837 _ACEOF
49838 if ac_fn_cxx_try_compile "$LINENO"; then :
49839   glibcxx_cv_func__modfl_use=yes
49840 else
49841   glibcxx_cv_func__modfl_use=no
49842 fi
49843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49844       ac_ext=c
49845 ac_cpp='$CPP $CPPFLAGS'
49846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49849
49850
49851 fi
49852
49853   fi
49854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49855 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49856
49857     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49858       for ac_func in _modfl
49859 do :
49860   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49861 if test "x$ac_cv_func__modfl" = x""yes; then :
49862   cat >>confdefs.h <<_ACEOF
49863 #define HAVE__MODFL 1
49864 _ACEOF
49865
49866 fi
49867 done
49868
49869     fi
49870   fi
49871
49872
49873
49874
49875
49876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49877 $as_echo_n "checking for powl declaration... " >&6; }
49878   if test x${glibcxx_cv_func_powl_use+set} != xset; then
49879     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49880   $as_echo_n "(cached) " >&6
49881 else
49882
49883
49884       ac_ext=cpp
49885 ac_cpp='$CXXCPP $CPPFLAGS'
49886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49889
49890       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49891 /* end confdefs.h.  */
49892 #include <math.h>
49893 int
49894 main ()
49895 {
49896  powl(0, 0);
49897   ;
49898   return 0;
49899 }
49900 _ACEOF
49901 if ac_fn_cxx_try_compile "$LINENO"; then :
49902   glibcxx_cv_func_powl_use=yes
49903 else
49904   glibcxx_cv_func_powl_use=no
49905 fi
49906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49907       ac_ext=c
49908 ac_cpp='$CPP $CPPFLAGS'
49909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49912
49913
49914 fi
49915
49916   fi
49917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49918 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49919
49920   if test x$glibcxx_cv_func_powl_use = x"yes"; then
49921     for ac_func in powl
49922 do :
49923   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49924 if test "x$ac_cv_func_powl" = x""yes; then :
49925   cat >>confdefs.h <<_ACEOF
49926 #define HAVE_POWL 1
49927 _ACEOF
49928
49929 fi
49930 done
49931
49932   else
49933
49934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49935 $as_echo_n "checking for _powl declaration... " >&6; }
49936   if test x${glibcxx_cv_func__powl_use+set} != xset; then
49937     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49938   $as_echo_n "(cached) " >&6
49939 else
49940
49941
49942       ac_ext=cpp
49943 ac_cpp='$CXXCPP $CPPFLAGS'
49944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49947
49948       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49949 /* end confdefs.h.  */
49950 #include <math.h>
49951 int
49952 main ()
49953 {
49954  _powl(0, 0);
49955   ;
49956   return 0;
49957 }
49958 _ACEOF
49959 if ac_fn_cxx_try_compile "$LINENO"; then :
49960   glibcxx_cv_func__powl_use=yes
49961 else
49962   glibcxx_cv_func__powl_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__powl_use" >&5
49976 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49977
49978     if test x$glibcxx_cv_func__powl_use = x"yes"; then
49979       for ac_func in _powl
49980 do :
49981   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49982 if test "x$ac_cv_func__powl" = x""yes; then :
49983   cat >>confdefs.h <<_ACEOF
49984 #define HAVE__POWL 1
49985 _ACEOF
49986
49987 fi
49988 done
49989
49990     fi
49991   fi
49992
49993
49994
49995
49996
49997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49998 $as_echo_n "checking for sqrtl declaration... " >&6; }
49999   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50000     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50001   $as_echo_n "(cached) " >&6
50002 else
50003
50004
50005       ac_ext=cpp
50006 ac_cpp='$CXXCPP $CPPFLAGS'
50007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50010
50011       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50012 /* end confdefs.h.  */
50013 #include <math.h>
50014                       #ifdef HAVE_IEEEFP_H
50015                       #include <ieeefp.h>
50016                       #endif
50017
50018 int
50019 main ()
50020 {
50021  sqrtl(0);
50022   ;
50023   return 0;
50024 }
50025 _ACEOF
50026 if ac_fn_cxx_try_compile "$LINENO"; then :
50027   glibcxx_cv_func_sqrtl_use=yes
50028 else
50029   glibcxx_cv_func_sqrtl_use=no
50030 fi
50031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50032       ac_ext=c
50033 ac_cpp='$CPP $CPPFLAGS'
50034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50037
50038
50039 fi
50040
50041   fi
50042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50043 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50044
50045   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50046     for ac_func in sqrtl
50047 do :
50048   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50049 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50050   cat >>confdefs.h <<_ACEOF
50051 #define HAVE_SQRTL 1
50052 _ACEOF
50053
50054 fi
50055 done
50056
50057   else
50058
50059   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50060 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50061   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50062     if test "${glibcxx_cv_func__sqrtl_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                       #ifdef HAVE_IEEEFP_H
50077                       #include <ieeefp.h>
50078                       #endif
50079
50080 int
50081 main ()
50082 {
50083  _sqrtl(0);
50084   ;
50085   return 0;
50086 }
50087 _ACEOF
50088 if ac_fn_cxx_try_compile "$LINENO"; then :
50089   glibcxx_cv_func__sqrtl_use=yes
50090 else
50091   glibcxx_cv_func__sqrtl_use=no
50092 fi
50093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50094       ac_ext=c
50095 ac_cpp='$CPP $CPPFLAGS'
50096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50099
50100
50101 fi
50102
50103   fi
50104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50105 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50106
50107     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50108       for ac_func in _sqrtl
50109 do :
50110   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50111 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50112   cat >>confdefs.h <<_ACEOF
50113 #define HAVE__SQRTL 1
50114 _ACEOF
50115
50116 fi
50117 done
50118
50119     fi
50120   fi
50121
50122
50123
50124
50125
50126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50127 $as_echo_n "checking for sincosl declaration... " >&6; }
50128   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50129     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50130   $as_echo_n "(cached) " >&6
50131 else
50132
50133
50134       ac_ext=cpp
50135 ac_cpp='$CXXCPP $CPPFLAGS'
50136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50139
50140       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50141 /* end confdefs.h.  */
50142 #include <math.h>
50143 int
50144 main ()
50145 {
50146  sincosl(0, 0, 0);
50147   ;
50148   return 0;
50149 }
50150 _ACEOF
50151 if ac_fn_cxx_try_compile "$LINENO"; then :
50152   glibcxx_cv_func_sincosl_use=yes
50153 else
50154   glibcxx_cv_func_sincosl_use=no
50155 fi
50156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50157       ac_ext=c
50158 ac_cpp='$CPP $CPPFLAGS'
50159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50162
50163
50164 fi
50165
50166   fi
50167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50168 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50169
50170   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50171     for ac_func in sincosl
50172 do :
50173   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50174 if test "x$ac_cv_func_sincosl" = x""yes; then :
50175   cat >>confdefs.h <<_ACEOF
50176 #define HAVE_SINCOSL 1
50177 _ACEOF
50178
50179 fi
50180 done
50181
50182   else
50183
50184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50185 $as_echo_n "checking for _sincosl declaration... " >&6; }
50186   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50187     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50188   $as_echo_n "(cached) " >&6
50189 else
50190
50191
50192       ac_ext=cpp
50193 ac_cpp='$CXXCPP $CPPFLAGS'
50194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50197
50198       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50199 /* end confdefs.h.  */
50200 #include <math.h>
50201 int
50202 main ()
50203 {
50204  _sincosl(0, 0, 0);
50205   ;
50206   return 0;
50207 }
50208 _ACEOF
50209 if ac_fn_cxx_try_compile "$LINENO"; then :
50210   glibcxx_cv_func__sincosl_use=yes
50211 else
50212   glibcxx_cv_func__sincosl_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__sincosl_use" >&5
50226 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50227
50228     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50229       for ac_func in _sincosl
50230 do :
50231   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50232 if test "x$ac_cv_func__sincosl" = x""yes; then :
50233   cat >>confdefs.h <<_ACEOF
50234 #define HAVE__SINCOSL 1
50235 _ACEOF
50236
50237 fi
50238 done
50239
50240     fi
50241   fi
50242
50243
50244
50245
50246
50247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50248 $as_echo_n "checking for finitel declaration... " >&6; }
50249   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50250     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50251   $as_echo_n "(cached) " >&6
50252 else
50253
50254
50255       ac_ext=cpp
50256 ac_cpp='$CXXCPP $CPPFLAGS'
50257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50260
50261       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50262 /* end confdefs.h.  */
50263 #include <math.h>
50264                       #ifdef HAVE_IEEEFP_H
50265                       #include <ieeefp.h>
50266                       #endif
50267
50268 int
50269 main ()
50270 {
50271  finitel(0);
50272   ;
50273   return 0;
50274 }
50275 _ACEOF
50276 if ac_fn_cxx_try_compile "$LINENO"; then :
50277   glibcxx_cv_func_finitel_use=yes
50278 else
50279   glibcxx_cv_func_finitel_use=no
50280 fi
50281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50282       ac_ext=c
50283 ac_cpp='$CPP $CPPFLAGS'
50284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50287
50288
50289 fi
50290
50291   fi
50292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50293 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50294
50295   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50296     for ac_func in finitel
50297 do :
50298   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50299 if test "x$ac_cv_func_finitel" = x""yes; then :
50300   cat >>confdefs.h <<_ACEOF
50301 #define HAVE_FINITEL 1
50302 _ACEOF
50303
50304 fi
50305 done
50306
50307   else
50308
50309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50310 $as_echo_n "checking for _finitel declaration... " >&6; }
50311   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50312     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50313   $as_echo_n "(cached) " >&6
50314 else
50315
50316
50317       ac_ext=cpp
50318 ac_cpp='$CXXCPP $CPPFLAGS'
50319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50322
50323       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50324 /* end confdefs.h.  */
50325 #include <math.h>
50326                       #ifdef HAVE_IEEEFP_H
50327                       #include <ieeefp.h>
50328                       #endif
50329
50330 int
50331 main ()
50332 {
50333  _finitel(0);
50334   ;
50335   return 0;
50336 }
50337 _ACEOF
50338 if ac_fn_cxx_try_compile "$LINENO"; then :
50339   glibcxx_cv_func__finitel_use=yes
50340 else
50341   glibcxx_cv_func__finitel_use=no
50342 fi
50343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50344       ac_ext=c
50345 ac_cpp='$CPP $CPPFLAGS'
50346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50349
50350
50351 fi
50352
50353   fi
50354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50355 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50356
50357     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50358       for ac_func in _finitel
50359 do :
50360   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50361 if test "x$ac_cv_func__finitel" = x""yes; then :
50362   cat >>confdefs.h <<_ACEOF
50363 #define HAVE__FINITEL 1
50364 _ACEOF
50365
50366 fi
50367 done
50368
50369     fi
50370   fi
50371
50372
50373
50374
50375   LIBS="$ac_save_LIBS"
50376   CXXFLAGS="$ac_save_CXXFLAGS"
50377
50378
50379   ac_test_CXXFLAGS="${CXXFLAGS+set}"
50380   ac_save_CXXFLAGS="$CXXFLAGS"
50381   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50382
50383
50384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50385 $as_echo_n "checking for strtold declaration... " >&6; }
50386   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50387     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50388   $as_echo_n "(cached) " >&6
50389 else
50390
50391
50392       ac_ext=cpp
50393 ac_cpp='$CXXCPP $CPPFLAGS'
50394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50397
50398       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50399 /* end confdefs.h.  */
50400 #include <stdlib.h>
50401 int
50402 main ()
50403 {
50404  strtold(0, 0);
50405   ;
50406   return 0;
50407 }
50408 _ACEOF
50409 if ac_fn_cxx_try_compile "$LINENO"; then :
50410   glibcxx_cv_func_strtold_use=yes
50411 else
50412   glibcxx_cv_func_strtold_use=no
50413 fi
50414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50415       ac_ext=c
50416 ac_cpp='$CPP $CPPFLAGS'
50417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50420
50421
50422 fi
50423
50424   fi
50425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50426 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50427   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50428     for ac_func in strtold
50429 do :
50430   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50431 if test "x$ac_cv_func_strtold" = x""yes; then :
50432   cat >>confdefs.h <<_ACEOF
50433 #define HAVE_STRTOLD 1
50434 _ACEOF
50435
50436 fi
50437 done
50438
50439   fi
50440
50441
50442
50443
50444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50445 $as_echo_n "checking for strtof declaration... " >&6; }
50446   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50447     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50448   $as_echo_n "(cached) " >&6
50449 else
50450
50451
50452       ac_ext=cpp
50453 ac_cpp='$CXXCPP $CPPFLAGS'
50454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50457
50458       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50459 /* end confdefs.h.  */
50460 #include <stdlib.h>
50461 int
50462 main ()
50463 {
50464  strtof(0, 0);
50465   ;
50466   return 0;
50467 }
50468 _ACEOF
50469 if ac_fn_cxx_try_compile "$LINENO"; then :
50470   glibcxx_cv_func_strtof_use=yes
50471 else
50472   glibcxx_cv_func_strtof_use=no
50473 fi
50474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50475       ac_ext=c
50476 ac_cpp='$CPP $CPPFLAGS'
50477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50480
50481
50482 fi
50483
50484   fi
50485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50486 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50487   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50488     for ac_func in strtof
50489 do :
50490   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50491 if test "x$ac_cv_func_strtof" = x""yes; then :
50492   cat >>confdefs.h <<_ACEOF
50493 #define HAVE_STRTOF 1
50494 _ACEOF
50495
50496 fi
50497 done
50498
50499   fi
50500
50501
50502
50503
50504   CXXFLAGS="$ac_save_CXXFLAGS"
50505
50506     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50507
50508
50509
50510    # Check whether --enable-tls was given.
50511 if test "${enable_tls+set}" = set; then :
50512   enableval=$enable_tls;
50513       case "$enableval" in
50514        yes|no) ;;
50515        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50516       esac
50517
50518 else
50519   enable_tls=yes
50520 fi
50521
50522
50523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50524 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50525 if test "${gcc_cv_have_tls+set}" = set; then :
50526   $as_echo_n "(cached) " >&6
50527 else
50528
50529     if test "$cross_compiling" = yes; then :
50530                 if test x$gcc_no_link = xyes; then
50531   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50532 fi
50533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50534 /* end confdefs.h.  */
50535 __thread int a; int b; int main() { return a = b; }
50536 _ACEOF
50537 if ac_fn_c_try_link "$LINENO"; then :
50538   chktls_save_LDFLAGS="$LDFLAGS"
50539                           case $host in
50540             *-*-linux*)
50541               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50542               ;;
50543           esac
50544           chktls_save_CFLAGS="$CFLAGS"
50545           CFLAGS="-fPIC $CFLAGS"
50546                   if test x$gcc_no_link = xyes; then
50547   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50548 fi
50549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50550 /* end confdefs.h.  */
50551 int f() { return 0; }
50552 _ACEOF
50553 if ac_fn_c_try_link "$LINENO"; then :
50554   if test x$gcc_no_link = xyes; then
50555   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50556 fi
50557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50558 /* end confdefs.h.  */
50559 __thread int a; int b; int f() { return a = b; }
50560 _ACEOF
50561 if ac_fn_c_try_link "$LINENO"; then :
50562   gcc_cv_have_tls=yes
50563 else
50564   gcc_cv_have_tls=no
50565 fi
50566 rm -f core conftest.err conftest.$ac_objext \
50567     conftest$ac_exeext conftest.$ac_ext
50568 else
50569   gcc_cv_have_tls=yes
50570 fi
50571 rm -f core conftest.err conftest.$ac_objext \
50572     conftest$ac_exeext conftest.$ac_ext
50573           CFLAGS="$chktls_save_CFLAGS"
50574           LDFLAGS="$chktls_save_LDFLAGS"
50575 else
50576   gcc_cv_have_tls=no
50577 fi
50578 rm -f core conftest.err conftest.$ac_objext \
50579     conftest$ac_exeext conftest.$ac_ext
50580
50581
50582 else
50583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50584 /* end confdefs.h.  */
50585 __thread int a; int b; int main() { return a = b; }
50586 _ACEOF
50587 if ac_fn_c_try_run "$LINENO"; then :
50588                       chktls_save_LDFLAGS="$LDFLAGS"
50589       LDFLAGS="-static $LDFLAGS"
50590       if test x$gcc_no_link = xyes; then
50591   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50592 fi
50593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50594 /* end confdefs.h.  */
50595 int main() { return 0; }
50596 _ACEOF
50597 if ac_fn_c_try_link "$LINENO"; then :
50598   if test "$cross_compiling" = yes; then :
50599   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50601 as_fn_error "cannot run test program while cross compiling
50602 See \`config.log' for more details." "$LINENO" 5; }
50603 else
50604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50605 /* end confdefs.h.  */
50606 __thread int a; int b; int main() { return a = b; }
50607 _ACEOF
50608 if ac_fn_c_try_run "$LINENO"; then :
50609   gcc_cv_have_tls=yes
50610 else
50611   gcc_cv_have_tls=no
50612 fi
50613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50614   conftest.$ac_objext conftest.beam conftest.$ac_ext
50615 fi
50616
50617 else
50618   gcc_cv_have_tls=yes
50619 fi
50620 rm -f core conftest.err conftest.$ac_objext \
50621     conftest$ac_exeext conftest.$ac_ext
50622       LDFLAGS="$chktls_save_LDFLAGS"
50623       if test $gcc_cv_have_tls = yes; then
50624                                                 chktls_save_CFLAGS="$CFLAGS"
50625         thread_CFLAGS=failed
50626         for flag in '' '-pthread' '-lpthread'; do
50627           CFLAGS="$flag $chktls_save_CFLAGS"
50628           if test x$gcc_no_link = xyes; then
50629   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50630 fi
50631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50632 /* end confdefs.h.  */
50633 #include <pthread.h>
50634                 void *g(void *d) { return NULL; }
50635 int
50636 main ()
50637 {
50638 pthread_t t; pthread_create(&t,NULL,g,NULL);
50639   ;
50640   return 0;
50641 }
50642 _ACEOF
50643 if ac_fn_c_try_link "$LINENO"; then :
50644   thread_CFLAGS="$flag"
50645 fi
50646 rm -f core conftest.err conftest.$ac_objext \
50647     conftest$ac_exeext conftest.$ac_ext
50648           if test "X$thread_CFLAGS" != Xfailed; then
50649             break
50650           fi
50651         done
50652         CFLAGS="$chktls_save_CFLAGS"
50653         if test "X$thread_CFLAGS" != Xfailed; then
50654           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50655                                                   if test "$cross_compiling" = yes; then :
50656   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50657 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50658 as_fn_error "cannot run test program while cross compiling
50659 See \`config.log' for more details." "$LINENO" 5; }
50660 else
50661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50662 /* end confdefs.h.  */
50663 #include <pthread.h>
50664                 __thread int a;
50665                 static int *volatile a_in_other_thread;
50666                 static void *
50667                 thread_func (void *arg)
50668                 {
50669                   a_in_other_thread = &a;
50670                   return (void *)0;
50671                 }
50672 int
50673 main ()
50674 {
50675 pthread_t thread;
50676                 void *thread_retval;
50677                 int *volatile a_in_main_thread;
50678                 a_in_main_thread = &a;
50679                 if (pthread_create (&thread, (pthread_attr_t *)0,
50680                                     thread_func, (void *)0))
50681                   return 0;
50682                 if (pthread_join (thread, &thread_retval))
50683                   return 0;
50684                 return (a_in_other_thread == a_in_main_thread);
50685   ;
50686   return 0;
50687 }
50688 _ACEOF
50689 if ac_fn_c_try_run "$LINENO"; then :
50690   gcc_cv_have_tls=yes
50691 else
50692   gcc_cv_have_tls=no
50693 fi
50694 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50695   conftest.$ac_objext conftest.beam conftest.$ac_ext
50696 fi
50697
50698           CFLAGS="$chktls_save_CFLAGS"
50699         fi
50700       fi
50701 else
50702   gcc_cv_have_tls=no
50703 fi
50704 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50705   conftest.$ac_objext conftest.beam conftest.$ac_ext
50706 fi
50707
50708 fi
50709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50710 $as_echo "$gcc_cv_have_tls" >&6; }
50711   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50712
50713 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50714
50715   fi
50716
50717
50718
50719
50720
50721           am_save_CPPFLAGS="$CPPFLAGS"
50722
50723   for element in $INCICONV; do
50724     haveit=
50725     for x in $CPPFLAGS; do
50726
50727   acl_save_prefix="$prefix"
50728   prefix="$acl_final_prefix"
50729   acl_save_exec_prefix="$exec_prefix"
50730   exec_prefix="$acl_final_exec_prefix"
50731   eval x=\"$x\"
50732   exec_prefix="$acl_save_exec_prefix"
50733   prefix="$acl_save_prefix"
50734
50735       if test "X$x" = "X$element"; then
50736         haveit=yes
50737         break
50738       fi
50739     done
50740     if test -z "$haveit"; then
50741       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50742     fi
50743   done
50744
50745
50746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50747 $as_echo_n "checking for iconv... " >&6; }
50748 if test "${am_cv_func_iconv+set}" = set; then :
50749   $as_echo_n "(cached) " >&6
50750 else
50751
50752     am_cv_func_iconv="no, consider installing GNU libiconv"
50753     am_cv_lib_iconv=no
50754     if test x$gcc_no_link = xyes; then
50755   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50756 fi
50757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50758 /* end confdefs.h.  */
50759 #include <stdlib.h>
50760 #include <iconv.h>
50761 int
50762 main ()
50763 {
50764 iconv_t cd = iconv_open("","");
50765        iconv(cd,NULL,NULL,NULL,NULL);
50766        iconv_close(cd);
50767   ;
50768   return 0;
50769 }
50770 _ACEOF
50771 if ac_fn_c_try_link "$LINENO"; then :
50772   am_cv_func_iconv=yes
50773 fi
50774 rm -f core conftest.err conftest.$ac_objext \
50775     conftest$ac_exeext conftest.$ac_ext
50776     if test "$am_cv_func_iconv" != yes; then
50777       am_save_LIBS="$LIBS"
50778       LIBS="$LIBS $LIBICONV"
50779       if test x$gcc_no_link = xyes; then
50780   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50781 fi
50782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50783 /* end confdefs.h.  */
50784 #include <stdlib.h>
50785 #include <iconv.h>
50786 int
50787 main ()
50788 {
50789 iconv_t cd = iconv_open("","");
50790          iconv(cd,NULL,NULL,NULL,NULL);
50791          iconv_close(cd);
50792   ;
50793   return 0;
50794 }
50795 _ACEOF
50796 if ac_fn_c_try_link "$LINENO"; then :
50797   am_cv_lib_iconv=yes
50798         am_cv_func_iconv=yes
50799 fi
50800 rm -f core conftest.err conftest.$ac_objext \
50801     conftest$ac_exeext conftest.$ac_ext
50802       LIBS="$am_save_LIBS"
50803     fi
50804
50805 fi
50806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50807 $as_echo "$am_cv_func_iconv" >&6; }
50808   if test "$am_cv_func_iconv" = yes; then
50809
50810 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50811
50812   fi
50813   if test "$am_cv_lib_iconv" = yes; then
50814     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50815 $as_echo_n "checking how to link with libiconv... " >&6; }
50816     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50817 $as_echo "$LIBICONV" >&6; }
50818   else
50819             CPPFLAGS="$am_save_CPPFLAGS"
50820     LIBICONV=
50821     LTLIBICONV=
50822   fi
50823
50824
50825
50826   if test "$am_cv_func_iconv" = yes; then
50827     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50828 $as_echo_n "checking for iconv declaration... " >&6; }
50829     if test "${am_cv_proto_iconv+set}" = set; then :
50830   $as_echo_n "(cached) " >&6
50831 else
50832
50833       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50834 /* end confdefs.h.  */
50835
50836 #include <stdlib.h>
50837 #include <iconv.h>
50838 extern
50839 #ifdef __cplusplus
50840 "C"
50841 #endif
50842 #if defined(__STDC__) || defined(__cplusplus)
50843 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50844 #else
50845 size_t iconv();
50846 #endif
50847
50848 int
50849 main ()
50850 {
50851
50852   ;
50853   return 0;
50854 }
50855 _ACEOF
50856 if ac_fn_c_try_compile "$LINENO"; then :
50857   am_cv_proto_iconv_arg1=""
50858 else
50859   am_cv_proto_iconv_arg1="const"
50860 fi
50861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50862       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);"
50863 fi
50864
50865     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50866     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50867          }$am_cv_proto_iconv" >&5
50868 $as_echo "${ac_t:-
50869          }$am_cv_proto_iconv" >&6; }
50870
50871 cat >>confdefs.h <<_ACEOF
50872 #define ICONV_CONST $am_cv_proto_iconv_arg1
50873 _ACEOF
50874
50875   fi
50876
50877     ;;
50878   *-mingw32*)
50879
50880   # If we're not using GNU ld, then there's no point in even trying these
50881   # tests.  Check for that first.  We should have already tested for gld
50882   # by now (in libtool), but require it now just to be safe...
50883   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50884   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50885
50886
50887
50888   # The name set by libtool depends on the version of libtool.  Shame on us
50889   # for depending on an impl detail, but c'est la vie.  Older versions used
50890   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50891   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50892   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
50893   # set (hence we're using an older libtool), then set it.
50894   if test x${with_gnu_ld+set} != xset; then
50895     if test x${ac_cv_prog_gnu_ld+set} != xset; then
50896       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
50897       with_gnu_ld=no
50898     else
50899       with_gnu_ld=$ac_cv_prog_gnu_ld
50900     fi
50901   fi
50902
50903   # Start by getting the version number.  I think the libtool test already
50904   # does some of this, but throws away the result.
50905   glibcxx_ld_is_gold=no
50906   if test x"$with_gnu_ld" = x"yes"; then
50907     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50908 $as_echo_n "checking for ld version... " >&6; }
50909
50910     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50911       glibcxx_ld_is_gold=yes
50912     fi
50913     ldver=`$LD --version 2>/dev/null |
50914            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'`
50915
50916     glibcxx_gnu_ld_version=`echo $ldver | \
50917            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50918     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50919 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50920   fi
50921
50922   # Set --gc-sections.
50923   glibcxx_have_gc_sections=no
50924   if test "$glibcxx_ld_is_gold" = "yes"; then
50925     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50926       glibcxx_have_gc_sections=yes
50927     fi
50928   else
50929     glibcxx_gcsections_min_ld=21602
50930     if test x"$with_gnu_ld" = x"yes" &&
50931         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50932       glibcxx_have_gc_sections=yes
50933     fi
50934   fi
50935   if test "$glibcxx_have_gc_sections" = "yes"; then
50936     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
50937     # NB: This flag only works reliably after 2.16.1. Configure tests
50938     # for this are difficult, so hard wire a value that should work.
50939
50940     ac_test_CFLAGS="${CFLAGS+set}"
50941     ac_save_CFLAGS="$CFLAGS"
50942     CFLAGS='-Wl,--gc-sections'
50943
50944     # Check for -Wl,--gc-sections
50945     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50946 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50947     if test x$gcc_no_link = xyes; then
50948   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50949 fi
50950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50951 /* end confdefs.h.  */
50952  int one(void) { return 1; }
50953      int two(void) { return 2; }
50954
50955 int
50956 main ()
50957 {
50958  two();
50959   ;
50960   return 0;
50961 }
50962 _ACEOF
50963 if ac_fn_c_try_link "$LINENO"; then :
50964   ac_gcsections=yes
50965 else
50966   ac_gcsections=no
50967 fi
50968 rm -f core conftest.err conftest.$ac_objext \
50969     conftest$ac_exeext conftest.$ac_ext
50970     if test "$ac_gcsections" = "yes"; then
50971       rm -f conftest.c
50972       touch conftest.c
50973       if $CC -c conftest.c; then
50974         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50975            grep "Warning: gc-sections option ignored" > /dev/null; then
50976           ac_gcsections=no
50977         fi
50978       fi
50979       rm -f conftest.c conftest.o conftest
50980     fi
50981     if test "$ac_gcsections" = "yes"; then
50982       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50983     fi
50984     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50985 $as_echo "$ac_gcsections" >&6; }
50986
50987     if test "$ac_test_CFLAGS" = set; then
50988       CFLAGS="$ac_save_CFLAGS"
50989     else
50990       # this is the suspicious part
50991       CFLAGS=''
50992     fi
50993   fi
50994
50995   # Set -z,relro.
50996   # Note this is only for shared objects.
50997   ac_ld_relro=no
50998   if test x"$with_gnu_ld" = x"yes"; then
50999     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51000 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51001     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51002     if test -n "$cxx_z_relo"; then
51003       OPT_LDFLAGS="-Wl,-z,relro"
51004       ac_ld_relro=yes
51005     fi
51006     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51007 $as_echo "$ac_ld_relro" >&6; }
51008   fi
51009
51010   # Set linker optimization flags.
51011   if test x"$with_gnu_ld" = x"yes"; then
51012     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51013   fi
51014
51015
51016
51017
51018
51019   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51020   ac_save_CXXFLAGS="$CXXFLAGS"
51021   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51022
51023     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51024 $as_echo_n "checking for sin in -lm... " >&6; }
51025 if test "${ac_cv_lib_m_sin+set}" = set; then :
51026   $as_echo_n "(cached) " >&6
51027 else
51028   ac_check_lib_save_LIBS=$LIBS
51029 LIBS="-lm  $LIBS"
51030 if test x$gcc_no_link = xyes; then
51031   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51032 fi
51033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51034 /* end confdefs.h.  */
51035
51036 /* Override any GCC internal prototype to avoid an error.
51037    Use char because int might match the return type of a GCC
51038    builtin and then its argument prototype would still apply.  */
51039 #ifdef __cplusplus
51040 extern "C"
51041 #endif
51042 char sin ();
51043 int
51044 main ()
51045 {
51046 return sin ();
51047   ;
51048   return 0;
51049 }
51050 _ACEOF
51051 if ac_fn_c_try_link "$LINENO"; then :
51052   ac_cv_lib_m_sin=yes
51053 else
51054   ac_cv_lib_m_sin=no
51055 fi
51056 rm -f core conftest.err conftest.$ac_objext \
51057     conftest$ac_exeext conftest.$ac_ext
51058 LIBS=$ac_check_lib_save_LIBS
51059 fi
51060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51061 $as_echo "$ac_cv_lib_m_sin" >&6; }
51062 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51063   libm="-lm"
51064 fi
51065
51066   ac_save_LIBS="$LIBS"
51067   LIBS="$LIBS $libm"
51068
51069
51070
51071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51072 $as_echo_n "checking for isinf declaration... " >&6; }
51073   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51074     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51075   $as_echo_n "(cached) " >&6
51076 else
51077
51078
51079       ac_ext=cpp
51080 ac_cpp='$CXXCPP $CPPFLAGS'
51081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51084
51085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51086 /* end confdefs.h.  */
51087 #include <math.h>
51088                       #ifdef HAVE_IEEEFP_H
51089                       #include <ieeefp.h>
51090                       #endif
51091
51092 int
51093 main ()
51094 {
51095  isinf(0);
51096   ;
51097   return 0;
51098 }
51099 _ACEOF
51100 if ac_fn_cxx_try_compile "$LINENO"; then :
51101   glibcxx_cv_func_isinf_use=yes
51102 else
51103   glibcxx_cv_func_isinf_use=no
51104 fi
51105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51106       ac_ext=c
51107 ac_cpp='$CPP $CPPFLAGS'
51108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51111
51112
51113 fi
51114
51115   fi
51116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51117 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51118
51119   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51120     for ac_func in isinf
51121 do :
51122   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51123 if test "x$ac_cv_func_isinf" = x""yes; then :
51124   cat >>confdefs.h <<_ACEOF
51125 #define HAVE_ISINF 1
51126 _ACEOF
51127
51128 fi
51129 done
51130
51131   else
51132
51133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51134 $as_echo_n "checking for _isinf declaration... " >&6; }
51135   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51136     if test "${glibcxx_cv_func__isinf_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  _isinf(0);
51158   ;
51159   return 0;
51160 }
51161 _ACEOF
51162 if ac_fn_cxx_try_compile "$LINENO"; then :
51163   glibcxx_cv_func__isinf_use=yes
51164 else
51165   glibcxx_cv_func__isinf_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__isinf_use" >&5
51179 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51180
51181     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51182       for ac_func in _isinf
51183 do :
51184   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51185 if test "x$ac_cv_func__isinf" = x""yes; then :
51186   cat >>confdefs.h <<_ACEOF
51187 #define HAVE__ISINF 1
51188 _ACEOF
51189
51190 fi
51191 done
51192
51193     fi
51194   fi
51195
51196
51197
51198
51199
51200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51201 $as_echo_n "checking for isnan declaration... " >&6; }
51202   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51203     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51204   $as_echo_n "(cached) " >&6
51205 else
51206
51207
51208       ac_ext=cpp
51209 ac_cpp='$CXXCPP $CPPFLAGS'
51210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51213
51214       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51215 /* end confdefs.h.  */
51216 #include <math.h>
51217                       #ifdef HAVE_IEEEFP_H
51218                       #include <ieeefp.h>
51219                       #endif
51220
51221 int
51222 main ()
51223 {
51224  isnan(0);
51225   ;
51226   return 0;
51227 }
51228 _ACEOF
51229 if ac_fn_cxx_try_compile "$LINENO"; then :
51230   glibcxx_cv_func_isnan_use=yes
51231 else
51232   glibcxx_cv_func_isnan_use=no
51233 fi
51234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51235       ac_ext=c
51236 ac_cpp='$CPP $CPPFLAGS'
51237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51240
51241
51242 fi
51243
51244   fi
51245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51246 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51247
51248   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51249     for ac_func in isnan
51250 do :
51251   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51252 if test "x$ac_cv_func_isnan" = x""yes; then :
51253   cat >>confdefs.h <<_ACEOF
51254 #define HAVE_ISNAN 1
51255 _ACEOF
51256
51257 fi
51258 done
51259
51260   else
51261
51262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51263 $as_echo_n "checking for _isnan declaration... " >&6; }
51264   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51265     if test "${glibcxx_cv_func__isnan_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  _isnan(0);
51287   ;
51288   return 0;
51289 }
51290 _ACEOF
51291 if ac_fn_cxx_try_compile "$LINENO"; then :
51292   glibcxx_cv_func__isnan_use=yes
51293 else
51294   glibcxx_cv_func__isnan_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__isnan_use" >&5
51308 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51309
51310     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51311       for ac_func in _isnan
51312 do :
51313   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51314 if test "x$ac_cv_func__isnan" = x""yes; then :
51315   cat >>confdefs.h <<_ACEOF
51316 #define HAVE__ISNAN 1
51317 _ACEOF
51318
51319 fi
51320 done
51321
51322     fi
51323   fi
51324
51325
51326
51327
51328
51329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51330 $as_echo_n "checking for finite declaration... " >&6; }
51331   if test x${glibcxx_cv_func_finite_use+set} != xset; then
51332     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51333   $as_echo_n "(cached) " >&6
51334 else
51335
51336
51337       ac_ext=cpp
51338 ac_cpp='$CXXCPP $CPPFLAGS'
51339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51342
51343       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51344 /* end confdefs.h.  */
51345 #include <math.h>
51346                       #ifdef HAVE_IEEEFP_H
51347                       #include <ieeefp.h>
51348                       #endif
51349
51350 int
51351 main ()
51352 {
51353  finite(0);
51354   ;
51355   return 0;
51356 }
51357 _ACEOF
51358 if ac_fn_cxx_try_compile "$LINENO"; then :
51359   glibcxx_cv_func_finite_use=yes
51360 else
51361   glibcxx_cv_func_finite_use=no
51362 fi
51363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51364       ac_ext=c
51365 ac_cpp='$CPP $CPPFLAGS'
51366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51369
51370
51371 fi
51372
51373   fi
51374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51375 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51376
51377   if test x$glibcxx_cv_func_finite_use = x"yes"; then
51378     for ac_func in finite
51379 do :
51380   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51381 if test "x$ac_cv_func_finite" = x""yes; then :
51382   cat >>confdefs.h <<_ACEOF
51383 #define HAVE_FINITE 1
51384 _ACEOF
51385
51386 fi
51387 done
51388
51389   else
51390
51391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51392 $as_echo_n "checking for _finite declaration... " >&6; }
51393   if test x${glibcxx_cv_func__finite_use+set} != xset; then
51394     if test "${glibcxx_cv_func__finite_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                       #ifdef HAVE_IEEEFP_H
51409                       #include <ieeefp.h>
51410                       #endif
51411
51412 int
51413 main ()
51414 {
51415  _finite(0);
51416   ;
51417   return 0;
51418 }
51419 _ACEOF
51420 if ac_fn_cxx_try_compile "$LINENO"; then :
51421   glibcxx_cv_func__finite_use=yes
51422 else
51423   glibcxx_cv_func__finite_use=no
51424 fi
51425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51426       ac_ext=c
51427 ac_cpp='$CPP $CPPFLAGS'
51428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51431
51432
51433 fi
51434
51435   fi
51436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51437 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51438
51439     if test x$glibcxx_cv_func__finite_use = x"yes"; then
51440       for ac_func in _finite
51441 do :
51442   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51443 if test "x$ac_cv_func__finite" = x""yes; then :
51444   cat >>confdefs.h <<_ACEOF
51445 #define HAVE__FINITE 1
51446 _ACEOF
51447
51448 fi
51449 done
51450
51451     fi
51452   fi
51453
51454
51455
51456
51457
51458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51459 $as_echo_n "checking for sincos declaration... " >&6; }
51460   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51461     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51462   $as_echo_n "(cached) " >&6
51463 else
51464
51465
51466       ac_ext=cpp
51467 ac_cpp='$CXXCPP $CPPFLAGS'
51468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51471
51472       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51473 /* end confdefs.h.  */
51474 #include <math.h>
51475 int
51476 main ()
51477 {
51478  sincos(0, 0, 0);
51479   ;
51480   return 0;
51481 }
51482 _ACEOF
51483 if ac_fn_cxx_try_compile "$LINENO"; then :
51484   glibcxx_cv_func_sincos_use=yes
51485 else
51486   glibcxx_cv_func_sincos_use=no
51487 fi
51488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51489       ac_ext=c
51490 ac_cpp='$CPP $CPPFLAGS'
51491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51494
51495
51496 fi
51497
51498   fi
51499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51500 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51501
51502   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51503     for ac_func in sincos
51504 do :
51505   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51506 if test "x$ac_cv_func_sincos" = x""yes; then :
51507   cat >>confdefs.h <<_ACEOF
51508 #define HAVE_SINCOS 1
51509 _ACEOF
51510
51511 fi
51512 done
51513
51514   else
51515
51516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51517 $as_echo_n "checking for _sincos declaration... " >&6; }
51518   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51519     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51520   $as_echo_n "(cached) " >&6
51521 else
51522
51523
51524       ac_ext=cpp
51525 ac_cpp='$CXXCPP $CPPFLAGS'
51526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51529
51530       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51531 /* end confdefs.h.  */
51532 #include <math.h>
51533 int
51534 main ()
51535 {
51536  _sincos(0, 0, 0);
51537   ;
51538   return 0;
51539 }
51540 _ACEOF
51541 if ac_fn_cxx_try_compile "$LINENO"; then :
51542   glibcxx_cv_func__sincos_use=yes
51543 else
51544   glibcxx_cv_func__sincos_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__sincos_use" >&5
51558 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51559
51560     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51561       for ac_func in _sincos
51562 do :
51563   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51564 if test "x$ac_cv_func__sincos" = x""yes; then :
51565   cat >>confdefs.h <<_ACEOF
51566 #define HAVE__SINCOS 1
51567 _ACEOF
51568
51569 fi
51570 done
51571
51572     fi
51573   fi
51574
51575
51576
51577
51578
51579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51580 $as_echo_n "checking for fpclass declaration... " >&6; }
51581   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51582     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51583   $as_echo_n "(cached) " >&6
51584 else
51585
51586
51587       ac_ext=cpp
51588 ac_cpp='$CXXCPP $CPPFLAGS'
51589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51592
51593       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51594 /* end confdefs.h.  */
51595 #include <math.h>
51596                       #ifdef HAVE_IEEEFP_H
51597                       #include <ieeefp.h>
51598                       #endif
51599
51600 int
51601 main ()
51602 {
51603  fpclass(0);
51604   ;
51605   return 0;
51606 }
51607 _ACEOF
51608 if ac_fn_cxx_try_compile "$LINENO"; then :
51609   glibcxx_cv_func_fpclass_use=yes
51610 else
51611   glibcxx_cv_func_fpclass_use=no
51612 fi
51613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51614       ac_ext=c
51615 ac_cpp='$CPP $CPPFLAGS'
51616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51619
51620
51621 fi
51622
51623   fi
51624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51625 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51626
51627   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51628     for ac_func in fpclass
51629 do :
51630   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51631 if test "x$ac_cv_func_fpclass" = x""yes; then :
51632   cat >>confdefs.h <<_ACEOF
51633 #define HAVE_FPCLASS 1
51634 _ACEOF
51635
51636 fi
51637 done
51638
51639   else
51640
51641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51642 $as_echo_n "checking for _fpclass declaration... " >&6; }
51643   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51644     if test "${glibcxx_cv_func__fpclass_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  _fpclass(0);
51666   ;
51667   return 0;
51668 }
51669 _ACEOF
51670 if ac_fn_cxx_try_compile "$LINENO"; then :
51671   glibcxx_cv_func__fpclass_use=yes
51672 else
51673   glibcxx_cv_func__fpclass_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__fpclass_use" >&5
51687 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51688
51689     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51690       for ac_func in _fpclass
51691 do :
51692   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51693 if test "x$ac_cv_func__fpclass" = x""yes; then :
51694   cat >>confdefs.h <<_ACEOF
51695 #define HAVE__FPCLASS 1
51696 _ACEOF
51697
51698 fi
51699 done
51700
51701     fi
51702   fi
51703
51704
51705
51706
51707
51708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51709 $as_echo_n "checking for qfpclass declaration... " >&6; }
51710   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51711     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51712   $as_echo_n "(cached) " >&6
51713 else
51714
51715
51716       ac_ext=cpp
51717 ac_cpp='$CXXCPP $CPPFLAGS'
51718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51721
51722       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51723 /* end confdefs.h.  */
51724 #include <math.h>
51725                       #ifdef HAVE_IEEEFP_H
51726                       #include <ieeefp.h>
51727                       #endif
51728
51729 int
51730 main ()
51731 {
51732  qfpclass(0);
51733   ;
51734   return 0;
51735 }
51736 _ACEOF
51737 if ac_fn_cxx_try_compile "$LINENO"; then :
51738   glibcxx_cv_func_qfpclass_use=yes
51739 else
51740   glibcxx_cv_func_qfpclass_use=no
51741 fi
51742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51743       ac_ext=c
51744 ac_cpp='$CPP $CPPFLAGS'
51745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51748
51749
51750 fi
51751
51752   fi
51753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51754 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51755
51756   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51757     for ac_func in qfpclass
51758 do :
51759   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51760 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51761   cat >>confdefs.h <<_ACEOF
51762 #define HAVE_QFPCLASS 1
51763 _ACEOF
51764
51765 fi
51766 done
51767
51768   else
51769
51770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51771 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51772   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51773     if test "${glibcxx_cv_func__qfpclass_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                       #ifdef HAVE_IEEEFP_H
51788                       #include <ieeefp.h>
51789                       #endif
51790
51791 int
51792 main ()
51793 {
51794  _qfpclass(0);
51795   ;
51796   return 0;
51797 }
51798 _ACEOF
51799 if ac_fn_cxx_try_compile "$LINENO"; then :
51800   glibcxx_cv_func__qfpclass_use=yes
51801 else
51802   glibcxx_cv_func__qfpclass_use=no
51803 fi
51804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51805       ac_ext=c
51806 ac_cpp='$CPP $CPPFLAGS'
51807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51810
51811
51812 fi
51813
51814   fi
51815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51816 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51817
51818     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51819       for ac_func in _qfpclass
51820 do :
51821   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51822 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51823   cat >>confdefs.h <<_ACEOF
51824 #define HAVE__QFPCLASS 1
51825 _ACEOF
51826
51827 fi
51828 done
51829
51830     fi
51831   fi
51832
51833
51834
51835
51836
51837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51838 $as_echo_n "checking for hypot declaration... " >&6; }
51839   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51840     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51841   $as_echo_n "(cached) " >&6
51842 else
51843
51844
51845       ac_ext=cpp
51846 ac_cpp='$CXXCPP $CPPFLAGS'
51847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51850
51851       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51852 /* end confdefs.h.  */
51853 #include <math.h>
51854 int
51855 main ()
51856 {
51857  hypot(0, 0);
51858   ;
51859   return 0;
51860 }
51861 _ACEOF
51862 if ac_fn_cxx_try_compile "$LINENO"; then :
51863   glibcxx_cv_func_hypot_use=yes
51864 else
51865   glibcxx_cv_func_hypot_use=no
51866 fi
51867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51868       ac_ext=c
51869 ac_cpp='$CPP $CPPFLAGS'
51870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51873
51874
51875 fi
51876
51877   fi
51878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51879 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51880
51881   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51882     for ac_func in hypot
51883 do :
51884   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51885 if test "x$ac_cv_func_hypot" = x""yes; then :
51886   cat >>confdefs.h <<_ACEOF
51887 #define HAVE_HYPOT 1
51888 _ACEOF
51889
51890 fi
51891 done
51892
51893   else
51894
51895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51896 $as_echo_n "checking for _hypot declaration... " >&6; }
51897   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51898     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51899   $as_echo_n "(cached) " >&6
51900 else
51901
51902
51903       ac_ext=cpp
51904 ac_cpp='$CXXCPP $CPPFLAGS'
51905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51908
51909       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51910 /* end confdefs.h.  */
51911 #include <math.h>
51912 int
51913 main ()
51914 {
51915  _hypot(0, 0);
51916   ;
51917   return 0;
51918 }
51919 _ACEOF
51920 if ac_fn_cxx_try_compile "$LINENO"; then :
51921   glibcxx_cv_func__hypot_use=yes
51922 else
51923   glibcxx_cv_func__hypot_use=no
51924 fi
51925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51926       ac_ext=c
51927 ac_cpp='$CPP $CPPFLAGS'
51928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51931
51932
51933 fi
51934
51935   fi
51936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51937 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51938
51939     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51940       for ac_func in _hypot
51941 do :
51942   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51943 if test "x$ac_cv_func__hypot" = x""yes; then :
51944   cat >>confdefs.h <<_ACEOF
51945 #define HAVE__HYPOT 1
51946 _ACEOF
51947
51948 fi
51949 done
51950
51951     fi
51952   fi
51953
51954
51955
51956
51957
51958     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51959 $as_echo_n "checking for float trig functions... " >&6; }
51960   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51961   $as_echo_n "(cached) " >&6
51962 else
51963
51964
51965     ac_ext=cpp
51966 ac_cpp='$CXXCPP $CPPFLAGS'
51967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51970
51971     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51972 /* end confdefs.h.  */
51973 #include <math.h>
51974 int
51975 main ()
51976 {
51977 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51978   ;
51979   return 0;
51980 }
51981 _ACEOF
51982 if ac_fn_cxx_try_compile "$LINENO"; then :
51983   glibcxx_cv_func_float_trig_use=yes
51984 else
51985   glibcxx_cv_func_float_trig_use=no
51986 fi
51987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51988     ac_ext=c
51989 ac_cpp='$CPP $CPPFLAGS'
51990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51993
51994 fi
51995
51996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51997 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51998   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51999     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52000 do :
52001   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52002 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52003 eval as_val=\$$as_ac_var
52004    if test "x$as_val" = x""yes; then :
52005   cat >>confdefs.h <<_ACEOF
52006 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52007 _ACEOF
52008
52009 fi
52010 done
52011
52012   else
52013     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52014 $as_echo_n "checking for _float trig functions... " >&6; }
52015     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52016   $as_echo_n "(cached) " >&6
52017 else
52018
52019
52020       ac_ext=cpp
52021 ac_cpp='$CXXCPP $CPPFLAGS'
52022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52025
52026       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52027 /* end confdefs.h.  */
52028 #include <math.h>
52029 int
52030 main ()
52031 {
52032 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52033   ;
52034   return 0;
52035 }
52036 _ACEOF
52037 if ac_fn_cxx_try_compile "$LINENO"; then :
52038   glibcxx_cv_func__float_trig_use=yes
52039 else
52040   glibcxx_cv_func__float_trig_use=no
52041 fi
52042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52043       ac_ext=c
52044 ac_cpp='$CPP $CPPFLAGS'
52045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52048
52049 fi
52050
52051     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52052 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52053     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52054       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52055 do :
52056   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52057 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52058 eval as_val=\$$as_ac_var
52059    if test "x$as_val" = x""yes; then :
52060   cat >>confdefs.h <<_ACEOF
52061 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52062 _ACEOF
52063
52064 fi
52065 done
52066
52067     fi
52068   fi
52069
52070
52071
52072
52073
52074     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52075 $as_echo_n "checking for float round functions... " >&6; }
52076   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52077   $as_echo_n "(cached) " >&6
52078 else
52079
52080
52081     ac_ext=cpp
52082 ac_cpp='$CXXCPP $CPPFLAGS'
52083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52086
52087     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52088 /* end confdefs.h.  */
52089 #include <math.h>
52090 int
52091 main ()
52092 {
52093 ceilf (0); floorf (0);
52094   ;
52095   return 0;
52096 }
52097 _ACEOF
52098 if ac_fn_cxx_try_compile "$LINENO"; then :
52099   glibcxx_cv_func_float_round_use=yes
52100 else
52101   glibcxx_cv_func_float_round_use=no
52102 fi
52103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52104     ac_ext=c
52105 ac_cpp='$CPP $CPPFLAGS'
52106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52109
52110 fi
52111
52112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52113 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52114   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52115     for ac_func in ceilf floorf
52116 do :
52117   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52118 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52119 eval as_val=\$$as_ac_var
52120    if test "x$as_val" = x""yes; then :
52121   cat >>confdefs.h <<_ACEOF
52122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52123 _ACEOF
52124
52125 fi
52126 done
52127
52128   else
52129     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52130 $as_echo_n "checking for _float round functions... " >&6; }
52131     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52132   $as_echo_n "(cached) " >&6
52133 else
52134
52135
52136       ac_ext=cpp
52137 ac_cpp='$CXXCPP $CPPFLAGS'
52138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52141
52142       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52143 /* end confdefs.h.  */
52144 #include <math.h>
52145 int
52146 main ()
52147 {
52148 _ceilf (0); _floorf (0);
52149   ;
52150   return 0;
52151 }
52152 _ACEOF
52153 if ac_fn_cxx_try_compile "$LINENO"; then :
52154   glibcxx_cv_func__float_round_use=yes
52155 else
52156   glibcxx_cv_func__float_round_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 fi
52166
52167     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52168 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52169     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52170       for ac_func in _ceilf _floorf
52171 do :
52172   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52173 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52174 eval as_val=\$$as_ac_var
52175    if test "x$as_val" = x""yes; then :
52176   cat >>confdefs.h <<_ACEOF
52177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52178 _ACEOF
52179
52180 fi
52181 done
52182
52183     fi
52184   fi
52185
52186
52187
52188
52189
52190
52191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52192 $as_echo_n "checking for expf declaration... " >&6; }
52193   if test x${glibcxx_cv_func_expf_use+set} != xset; then
52194     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52195   $as_echo_n "(cached) " >&6
52196 else
52197
52198
52199       ac_ext=cpp
52200 ac_cpp='$CXXCPP $CPPFLAGS'
52201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52204
52205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52206 /* end confdefs.h.  */
52207 #include <math.h>
52208                       #ifdef HAVE_IEEEFP_H
52209                       #include <ieeefp.h>
52210                       #endif
52211
52212 int
52213 main ()
52214 {
52215  expf(0);
52216   ;
52217   return 0;
52218 }
52219 _ACEOF
52220 if ac_fn_cxx_try_compile "$LINENO"; then :
52221   glibcxx_cv_func_expf_use=yes
52222 else
52223   glibcxx_cv_func_expf_use=no
52224 fi
52225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52226       ac_ext=c
52227 ac_cpp='$CPP $CPPFLAGS'
52228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52231
52232
52233 fi
52234
52235   fi
52236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52237 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52238
52239   if test x$glibcxx_cv_func_expf_use = x"yes"; then
52240     for ac_func in expf
52241 do :
52242   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52243 if test "x$ac_cv_func_expf" = x""yes; then :
52244   cat >>confdefs.h <<_ACEOF
52245 #define HAVE_EXPF 1
52246 _ACEOF
52247
52248 fi
52249 done
52250
52251   else
52252
52253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52254 $as_echo_n "checking for _expf declaration... " >&6; }
52255   if test x${glibcxx_cv_func__expf_use+set} != xset; then
52256     if test "${glibcxx_cv_func__expf_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  _expf(0);
52278   ;
52279   return 0;
52280 }
52281 _ACEOF
52282 if ac_fn_cxx_try_compile "$LINENO"; then :
52283   glibcxx_cv_func__expf_use=yes
52284 else
52285   glibcxx_cv_func__expf_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__expf_use" >&5
52299 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52300
52301     if test x$glibcxx_cv_func__expf_use = x"yes"; then
52302       for ac_func in _expf
52303 do :
52304   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52305 if test "x$ac_cv_func__expf" = x""yes; then :
52306   cat >>confdefs.h <<_ACEOF
52307 #define HAVE__EXPF 1
52308 _ACEOF
52309
52310 fi
52311 done
52312
52313     fi
52314   fi
52315
52316
52317
52318
52319
52320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52321 $as_echo_n "checking for isnanf declaration... " >&6; }
52322   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52323     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52324   $as_echo_n "(cached) " >&6
52325 else
52326
52327
52328       ac_ext=cpp
52329 ac_cpp='$CXXCPP $CPPFLAGS'
52330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52333
52334       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52335 /* end confdefs.h.  */
52336 #include <math.h>
52337                       #ifdef HAVE_IEEEFP_H
52338                       #include <ieeefp.h>
52339                       #endif
52340
52341 int
52342 main ()
52343 {
52344  isnanf(0);
52345   ;
52346   return 0;
52347 }
52348 _ACEOF
52349 if ac_fn_cxx_try_compile "$LINENO"; then :
52350   glibcxx_cv_func_isnanf_use=yes
52351 else
52352   glibcxx_cv_func_isnanf_use=no
52353 fi
52354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52355       ac_ext=c
52356 ac_cpp='$CPP $CPPFLAGS'
52357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52360
52361
52362 fi
52363
52364   fi
52365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52366 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52367
52368   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52369     for ac_func in isnanf
52370 do :
52371   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52372 if test "x$ac_cv_func_isnanf" = x""yes; then :
52373   cat >>confdefs.h <<_ACEOF
52374 #define HAVE_ISNANF 1
52375 _ACEOF
52376
52377 fi
52378 done
52379
52380   else
52381
52382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52383 $as_echo_n "checking for _isnanf declaration... " >&6; }
52384   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52385     if test "${glibcxx_cv_func__isnanf_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  _isnanf(0);
52407   ;
52408   return 0;
52409 }
52410 _ACEOF
52411 if ac_fn_cxx_try_compile "$LINENO"; then :
52412   glibcxx_cv_func__isnanf_use=yes
52413 else
52414   glibcxx_cv_func__isnanf_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__isnanf_use" >&5
52428 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52429
52430     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52431       for ac_func in _isnanf
52432 do :
52433   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52434 if test "x$ac_cv_func__isnanf" = x""yes; then :
52435   cat >>confdefs.h <<_ACEOF
52436 #define HAVE__ISNANF 1
52437 _ACEOF
52438
52439 fi
52440 done
52441
52442     fi
52443   fi
52444
52445
52446
52447
52448
52449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52450 $as_echo_n "checking for isinff declaration... " >&6; }
52451   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52452     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52453   $as_echo_n "(cached) " >&6
52454 else
52455
52456
52457       ac_ext=cpp
52458 ac_cpp='$CXXCPP $CPPFLAGS'
52459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52462
52463       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52464 /* end confdefs.h.  */
52465 #include <math.h>
52466                       #ifdef HAVE_IEEEFP_H
52467                       #include <ieeefp.h>
52468                       #endif
52469
52470 int
52471 main ()
52472 {
52473  isinff(0);
52474   ;
52475   return 0;
52476 }
52477 _ACEOF
52478 if ac_fn_cxx_try_compile "$LINENO"; then :
52479   glibcxx_cv_func_isinff_use=yes
52480 else
52481   glibcxx_cv_func_isinff_use=no
52482 fi
52483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52484       ac_ext=c
52485 ac_cpp='$CPP $CPPFLAGS'
52486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52489
52490
52491 fi
52492
52493   fi
52494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52495 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52496
52497   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52498     for ac_func in isinff
52499 do :
52500   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52501 if test "x$ac_cv_func_isinff" = x""yes; then :
52502   cat >>confdefs.h <<_ACEOF
52503 #define HAVE_ISINFF 1
52504 _ACEOF
52505
52506 fi
52507 done
52508
52509   else
52510
52511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52512 $as_echo_n "checking for _isinff declaration... " >&6; }
52513   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52514     if test "${glibcxx_cv_func__isinff_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                       #ifdef HAVE_IEEEFP_H
52529                       #include <ieeefp.h>
52530                       #endif
52531
52532 int
52533 main ()
52534 {
52535  _isinff(0);
52536   ;
52537   return 0;
52538 }
52539 _ACEOF
52540 if ac_fn_cxx_try_compile "$LINENO"; then :
52541   glibcxx_cv_func__isinff_use=yes
52542 else
52543   glibcxx_cv_func__isinff_use=no
52544 fi
52545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52546       ac_ext=c
52547 ac_cpp='$CPP $CPPFLAGS'
52548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52551
52552
52553 fi
52554
52555   fi
52556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52557 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52558
52559     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52560       for ac_func in _isinff
52561 do :
52562   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52563 if test "x$ac_cv_func__isinff" = x""yes; then :
52564   cat >>confdefs.h <<_ACEOF
52565 #define HAVE__ISINFF 1
52566 _ACEOF
52567
52568 fi
52569 done
52570
52571     fi
52572   fi
52573
52574
52575
52576
52577
52578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52579 $as_echo_n "checking for atan2f declaration... " >&6; }
52580   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52581     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52582   $as_echo_n "(cached) " >&6
52583 else
52584
52585
52586       ac_ext=cpp
52587 ac_cpp='$CXXCPP $CPPFLAGS'
52588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52591
52592       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52593 /* end confdefs.h.  */
52594 #include <math.h>
52595 int
52596 main ()
52597 {
52598  atan2f(0, 0);
52599   ;
52600   return 0;
52601 }
52602 _ACEOF
52603 if ac_fn_cxx_try_compile "$LINENO"; then :
52604   glibcxx_cv_func_atan2f_use=yes
52605 else
52606   glibcxx_cv_func_atan2f_use=no
52607 fi
52608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52609       ac_ext=c
52610 ac_cpp='$CPP $CPPFLAGS'
52611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52614
52615
52616 fi
52617
52618   fi
52619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52620 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52621
52622   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52623     for ac_func in atan2f
52624 do :
52625   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52626 if test "x$ac_cv_func_atan2f" = x""yes; then :
52627   cat >>confdefs.h <<_ACEOF
52628 #define HAVE_ATAN2F 1
52629 _ACEOF
52630
52631 fi
52632 done
52633
52634   else
52635
52636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52637 $as_echo_n "checking for _atan2f declaration... " >&6; }
52638   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52639     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52640   $as_echo_n "(cached) " >&6
52641 else
52642
52643
52644       ac_ext=cpp
52645 ac_cpp='$CXXCPP $CPPFLAGS'
52646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52649
52650       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52651 /* end confdefs.h.  */
52652 #include <math.h>
52653 int
52654 main ()
52655 {
52656  _atan2f(0, 0);
52657   ;
52658   return 0;
52659 }
52660 _ACEOF
52661 if ac_fn_cxx_try_compile "$LINENO"; then :
52662   glibcxx_cv_func__atan2f_use=yes
52663 else
52664   glibcxx_cv_func__atan2f_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__atan2f_use" >&5
52678 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52679
52680     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52681       for ac_func in _atan2f
52682 do :
52683   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52684 if test "x$ac_cv_func__atan2f" = x""yes; then :
52685   cat >>confdefs.h <<_ACEOF
52686 #define HAVE__ATAN2F 1
52687 _ACEOF
52688
52689 fi
52690 done
52691
52692     fi
52693   fi
52694
52695
52696
52697
52698
52699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52700 $as_echo_n "checking for fabsf declaration... " >&6; }
52701   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52702     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52703   $as_echo_n "(cached) " >&6
52704 else
52705
52706
52707       ac_ext=cpp
52708 ac_cpp='$CXXCPP $CPPFLAGS'
52709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52712
52713       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52714 /* end confdefs.h.  */
52715 #include <math.h>
52716                       #ifdef HAVE_IEEEFP_H
52717                       #include <ieeefp.h>
52718                       #endif
52719
52720 int
52721 main ()
52722 {
52723  fabsf(0);
52724   ;
52725   return 0;
52726 }
52727 _ACEOF
52728 if ac_fn_cxx_try_compile "$LINENO"; then :
52729   glibcxx_cv_func_fabsf_use=yes
52730 else
52731   glibcxx_cv_func_fabsf_use=no
52732 fi
52733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52734       ac_ext=c
52735 ac_cpp='$CPP $CPPFLAGS'
52736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52739
52740
52741 fi
52742
52743   fi
52744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52745 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52746
52747   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52748     for ac_func in fabsf
52749 do :
52750   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52751 if test "x$ac_cv_func_fabsf" = x""yes; then :
52752   cat >>confdefs.h <<_ACEOF
52753 #define HAVE_FABSF 1
52754 _ACEOF
52755
52756 fi
52757 done
52758
52759   else
52760
52761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52762 $as_echo_n "checking for _fabsf declaration... " >&6; }
52763   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52764     if test "${glibcxx_cv_func__fabsf_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                       #ifdef HAVE_IEEEFP_H
52779                       #include <ieeefp.h>
52780                       #endif
52781
52782 int
52783 main ()
52784 {
52785  _fabsf(0);
52786   ;
52787   return 0;
52788 }
52789 _ACEOF
52790 if ac_fn_cxx_try_compile "$LINENO"; then :
52791   glibcxx_cv_func__fabsf_use=yes
52792 else
52793   glibcxx_cv_func__fabsf_use=no
52794 fi
52795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52796       ac_ext=c
52797 ac_cpp='$CPP $CPPFLAGS'
52798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52801
52802
52803 fi
52804
52805   fi
52806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52807 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52808
52809     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52810       for ac_func in _fabsf
52811 do :
52812   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52813 if test "x$ac_cv_func__fabsf" = x""yes; then :
52814   cat >>confdefs.h <<_ACEOF
52815 #define HAVE__FABSF 1
52816 _ACEOF
52817
52818 fi
52819 done
52820
52821     fi
52822   fi
52823
52824
52825
52826
52827
52828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52829 $as_echo_n "checking for fmodf declaration... " >&6; }
52830   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52831     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52832   $as_echo_n "(cached) " >&6
52833 else
52834
52835
52836       ac_ext=cpp
52837 ac_cpp='$CXXCPP $CPPFLAGS'
52838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52841
52842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52843 /* end confdefs.h.  */
52844 #include <math.h>
52845 int
52846 main ()
52847 {
52848  fmodf(0, 0);
52849   ;
52850   return 0;
52851 }
52852 _ACEOF
52853 if ac_fn_cxx_try_compile "$LINENO"; then :
52854   glibcxx_cv_func_fmodf_use=yes
52855 else
52856   glibcxx_cv_func_fmodf_use=no
52857 fi
52858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52859       ac_ext=c
52860 ac_cpp='$CPP $CPPFLAGS'
52861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52864
52865
52866 fi
52867
52868   fi
52869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52870 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52871
52872   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52873     for ac_func in fmodf
52874 do :
52875   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52876 if test "x$ac_cv_func_fmodf" = x""yes; then :
52877   cat >>confdefs.h <<_ACEOF
52878 #define HAVE_FMODF 1
52879 _ACEOF
52880
52881 fi
52882 done
52883
52884   else
52885
52886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52887 $as_echo_n "checking for _fmodf declaration... " >&6; }
52888   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52889     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52890   $as_echo_n "(cached) " >&6
52891 else
52892
52893
52894       ac_ext=cpp
52895 ac_cpp='$CXXCPP $CPPFLAGS'
52896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52899
52900       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52901 /* end confdefs.h.  */
52902 #include <math.h>
52903 int
52904 main ()
52905 {
52906  _fmodf(0, 0);
52907   ;
52908   return 0;
52909 }
52910 _ACEOF
52911 if ac_fn_cxx_try_compile "$LINENO"; then :
52912   glibcxx_cv_func__fmodf_use=yes
52913 else
52914   glibcxx_cv_func__fmodf_use=no
52915 fi
52916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52917       ac_ext=c
52918 ac_cpp='$CPP $CPPFLAGS'
52919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52922
52923
52924 fi
52925
52926   fi
52927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52928 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52929
52930     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52931       for ac_func in _fmodf
52932 do :
52933   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52934 if test "x$ac_cv_func__fmodf" = x""yes; then :
52935   cat >>confdefs.h <<_ACEOF
52936 #define HAVE__FMODF 1
52937 _ACEOF
52938
52939 fi
52940 done
52941
52942     fi
52943   fi
52944
52945
52946
52947
52948
52949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52950 $as_echo_n "checking for frexpf declaration... " >&6; }
52951   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52952     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52953   $as_echo_n "(cached) " >&6
52954 else
52955
52956
52957       ac_ext=cpp
52958 ac_cpp='$CXXCPP $CPPFLAGS'
52959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52962
52963       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52964 /* end confdefs.h.  */
52965 #include <math.h>
52966 int
52967 main ()
52968 {
52969  frexpf(0, 0);
52970   ;
52971   return 0;
52972 }
52973 _ACEOF
52974 if ac_fn_cxx_try_compile "$LINENO"; then :
52975   glibcxx_cv_func_frexpf_use=yes
52976 else
52977   glibcxx_cv_func_frexpf_use=no
52978 fi
52979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52980       ac_ext=c
52981 ac_cpp='$CPP $CPPFLAGS'
52982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52985
52986
52987 fi
52988
52989   fi
52990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52991 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52992
52993   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52994     for ac_func in frexpf
52995 do :
52996   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52997 if test "x$ac_cv_func_frexpf" = x""yes; then :
52998   cat >>confdefs.h <<_ACEOF
52999 #define HAVE_FREXPF 1
53000 _ACEOF
53001
53002 fi
53003 done
53004
53005   else
53006
53007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53008 $as_echo_n "checking for _frexpf declaration... " >&6; }
53009   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53010     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53011   $as_echo_n "(cached) " >&6
53012 else
53013
53014
53015       ac_ext=cpp
53016 ac_cpp='$CXXCPP $CPPFLAGS'
53017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53020
53021       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53022 /* end confdefs.h.  */
53023 #include <math.h>
53024 int
53025 main ()
53026 {
53027  _frexpf(0, 0);
53028   ;
53029   return 0;
53030 }
53031 _ACEOF
53032 if ac_fn_cxx_try_compile "$LINENO"; then :
53033   glibcxx_cv_func__frexpf_use=yes
53034 else
53035   glibcxx_cv_func__frexpf_use=no
53036 fi
53037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53038       ac_ext=c
53039 ac_cpp='$CPP $CPPFLAGS'
53040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53043
53044
53045 fi
53046
53047   fi
53048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53049 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53050
53051     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53052       for ac_func in _frexpf
53053 do :
53054   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53055 if test "x$ac_cv_func__frexpf" = x""yes; then :
53056   cat >>confdefs.h <<_ACEOF
53057 #define HAVE__FREXPF 1
53058 _ACEOF
53059
53060 fi
53061 done
53062
53063     fi
53064   fi
53065
53066
53067
53068
53069
53070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53071 $as_echo_n "checking for hypotf declaration... " >&6; }
53072   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53073     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53074   $as_echo_n "(cached) " >&6
53075 else
53076
53077
53078       ac_ext=cpp
53079 ac_cpp='$CXXCPP $CPPFLAGS'
53080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53083
53084       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53085 /* end confdefs.h.  */
53086 #include <math.h>
53087 int
53088 main ()
53089 {
53090  hypotf(0, 0);
53091   ;
53092   return 0;
53093 }
53094 _ACEOF
53095 if ac_fn_cxx_try_compile "$LINENO"; then :
53096   glibcxx_cv_func_hypotf_use=yes
53097 else
53098   glibcxx_cv_func_hypotf_use=no
53099 fi
53100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53101       ac_ext=c
53102 ac_cpp='$CPP $CPPFLAGS'
53103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53106
53107
53108 fi
53109
53110   fi
53111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53112 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53113
53114   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53115     for ac_func in hypotf
53116 do :
53117   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53118 if test "x$ac_cv_func_hypotf" = x""yes; then :
53119   cat >>confdefs.h <<_ACEOF
53120 #define HAVE_HYPOTF 1
53121 _ACEOF
53122
53123 fi
53124 done
53125
53126   else
53127
53128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53129 $as_echo_n "checking for _hypotf declaration... " >&6; }
53130   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53131     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53132   $as_echo_n "(cached) " >&6
53133 else
53134
53135
53136       ac_ext=cpp
53137 ac_cpp='$CXXCPP $CPPFLAGS'
53138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53141
53142       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53143 /* end confdefs.h.  */
53144 #include <math.h>
53145 int
53146 main ()
53147 {
53148  _hypotf(0, 0);
53149   ;
53150   return 0;
53151 }
53152 _ACEOF
53153 if ac_fn_cxx_try_compile "$LINENO"; then :
53154   glibcxx_cv_func__hypotf_use=yes
53155 else
53156   glibcxx_cv_func__hypotf_use=no
53157 fi
53158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53159       ac_ext=c
53160 ac_cpp='$CPP $CPPFLAGS'
53161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53164
53165
53166 fi
53167
53168   fi
53169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53170 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53171
53172     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53173       for ac_func in _hypotf
53174 do :
53175   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53176 if test "x$ac_cv_func__hypotf" = x""yes; then :
53177   cat >>confdefs.h <<_ACEOF
53178 #define HAVE__HYPOTF 1
53179 _ACEOF
53180
53181 fi
53182 done
53183
53184     fi
53185   fi
53186
53187
53188
53189
53190
53191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53192 $as_echo_n "checking for ldexpf declaration... " >&6; }
53193   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53194     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53195   $as_echo_n "(cached) " >&6
53196 else
53197
53198
53199       ac_ext=cpp
53200 ac_cpp='$CXXCPP $CPPFLAGS'
53201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53204
53205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53206 /* end confdefs.h.  */
53207 #include <math.h>
53208 int
53209 main ()
53210 {
53211  ldexpf(0, 0);
53212   ;
53213   return 0;
53214 }
53215 _ACEOF
53216 if ac_fn_cxx_try_compile "$LINENO"; then :
53217   glibcxx_cv_func_ldexpf_use=yes
53218 else
53219   glibcxx_cv_func_ldexpf_use=no
53220 fi
53221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53222       ac_ext=c
53223 ac_cpp='$CPP $CPPFLAGS'
53224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53227
53228
53229 fi
53230
53231   fi
53232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53233 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53234
53235   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53236     for ac_func in ldexpf
53237 do :
53238   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53239 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53240   cat >>confdefs.h <<_ACEOF
53241 #define HAVE_LDEXPF 1
53242 _ACEOF
53243
53244 fi
53245 done
53246
53247   else
53248
53249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53250 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53251   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53252     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53253   $as_echo_n "(cached) " >&6
53254 else
53255
53256
53257       ac_ext=cpp
53258 ac_cpp='$CXXCPP $CPPFLAGS'
53259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53262
53263       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53264 /* end confdefs.h.  */
53265 #include <math.h>
53266 int
53267 main ()
53268 {
53269  _ldexpf(0, 0);
53270   ;
53271   return 0;
53272 }
53273 _ACEOF
53274 if ac_fn_cxx_try_compile "$LINENO"; then :
53275   glibcxx_cv_func__ldexpf_use=yes
53276 else
53277   glibcxx_cv_func__ldexpf_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__ldexpf_use" >&5
53291 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53292
53293     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53294       for ac_func in _ldexpf
53295 do :
53296   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53297 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53298   cat >>confdefs.h <<_ACEOF
53299 #define HAVE__LDEXPF 1
53300 _ACEOF
53301
53302 fi
53303 done
53304
53305     fi
53306   fi
53307
53308
53309
53310
53311
53312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53313 $as_echo_n "checking for logf declaration... " >&6; }
53314   if test x${glibcxx_cv_func_logf_use+set} != xset; then
53315     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53316   $as_echo_n "(cached) " >&6
53317 else
53318
53319
53320       ac_ext=cpp
53321 ac_cpp='$CXXCPP $CPPFLAGS'
53322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53325
53326       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53327 /* end confdefs.h.  */
53328 #include <math.h>
53329                       #ifdef HAVE_IEEEFP_H
53330                       #include <ieeefp.h>
53331                       #endif
53332
53333 int
53334 main ()
53335 {
53336  logf(0);
53337   ;
53338   return 0;
53339 }
53340 _ACEOF
53341 if ac_fn_cxx_try_compile "$LINENO"; then :
53342   glibcxx_cv_func_logf_use=yes
53343 else
53344   glibcxx_cv_func_logf_use=no
53345 fi
53346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53347       ac_ext=c
53348 ac_cpp='$CPP $CPPFLAGS'
53349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53352
53353
53354 fi
53355
53356   fi
53357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53358 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53359
53360   if test x$glibcxx_cv_func_logf_use = x"yes"; then
53361     for ac_func in logf
53362 do :
53363   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53364 if test "x$ac_cv_func_logf" = x""yes; then :
53365   cat >>confdefs.h <<_ACEOF
53366 #define HAVE_LOGF 1
53367 _ACEOF
53368
53369 fi
53370 done
53371
53372   else
53373
53374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53375 $as_echo_n "checking for _logf declaration... " >&6; }
53376   if test x${glibcxx_cv_func__logf_use+set} != xset; then
53377     if test "${glibcxx_cv_func__logf_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  _logf(0);
53399   ;
53400   return 0;
53401 }
53402 _ACEOF
53403 if ac_fn_cxx_try_compile "$LINENO"; then :
53404   glibcxx_cv_func__logf_use=yes
53405 else
53406   glibcxx_cv_func__logf_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__logf_use" >&5
53420 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53421
53422     if test x$glibcxx_cv_func__logf_use = x"yes"; then
53423       for ac_func in _logf
53424 do :
53425   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53426 if test "x$ac_cv_func__logf" = x""yes; then :
53427   cat >>confdefs.h <<_ACEOF
53428 #define HAVE__LOGF 1
53429 _ACEOF
53430
53431 fi
53432 done
53433
53434     fi
53435   fi
53436
53437
53438
53439
53440
53441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53442 $as_echo_n "checking for log10f declaration... " >&6; }
53443   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53444     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53445   $as_echo_n "(cached) " >&6
53446 else
53447
53448
53449       ac_ext=cpp
53450 ac_cpp='$CXXCPP $CPPFLAGS'
53451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53454
53455       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53456 /* end confdefs.h.  */
53457 #include <math.h>
53458                       #ifdef HAVE_IEEEFP_H
53459                       #include <ieeefp.h>
53460                       #endif
53461
53462 int
53463 main ()
53464 {
53465  log10f(0);
53466   ;
53467   return 0;
53468 }
53469 _ACEOF
53470 if ac_fn_cxx_try_compile "$LINENO"; then :
53471   glibcxx_cv_func_log10f_use=yes
53472 else
53473   glibcxx_cv_func_log10f_use=no
53474 fi
53475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53476       ac_ext=c
53477 ac_cpp='$CPP $CPPFLAGS'
53478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53481
53482
53483 fi
53484
53485   fi
53486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53487 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53488
53489   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53490     for ac_func in log10f
53491 do :
53492   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53493 if test "x$ac_cv_func_log10f" = x""yes; then :
53494   cat >>confdefs.h <<_ACEOF
53495 #define HAVE_LOG10F 1
53496 _ACEOF
53497
53498 fi
53499 done
53500
53501   else
53502
53503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53504 $as_echo_n "checking for _log10f declaration... " >&6; }
53505   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53506     if test "${glibcxx_cv_func__log10f_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                       #ifdef HAVE_IEEEFP_H
53521                       #include <ieeefp.h>
53522                       #endif
53523
53524 int
53525 main ()
53526 {
53527  _log10f(0);
53528   ;
53529   return 0;
53530 }
53531 _ACEOF
53532 if ac_fn_cxx_try_compile "$LINENO"; then :
53533   glibcxx_cv_func__log10f_use=yes
53534 else
53535   glibcxx_cv_func__log10f_use=no
53536 fi
53537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53538       ac_ext=c
53539 ac_cpp='$CPP $CPPFLAGS'
53540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53543
53544
53545 fi
53546
53547   fi
53548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53549 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53550
53551     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53552       for ac_func in _log10f
53553 do :
53554   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53555 if test "x$ac_cv_func__log10f" = x""yes; then :
53556   cat >>confdefs.h <<_ACEOF
53557 #define HAVE__LOG10F 1
53558 _ACEOF
53559
53560 fi
53561 done
53562
53563     fi
53564   fi
53565
53566
53567
53568
53569
53570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53571 $as_echo_n "checking for modff declaration... " >&6; }
53572   if test x${glibcxx_cv_func_modff_use+set} != xset; then
53573     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53574   $as_echo_n "(cached) " >&6
53575 else
53576
53577
53578       ac_ext=cpp
53579 ac_cpp='$CXXCPP $CPPFLAGS'
53580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53583
53584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53585 /* end confdefs.h.  */
53586 #include <math.h>
53587 int
53588 main ()
53589 {
53590  modff(0, 0);
53591   ;
53592   return 0;
53593 }
53594 _ACEOF
53595 if ac_fn_cxx_try_compile "$LINENO"; then :
53596   glibcxx_cv_func_modff_use=yes
53597 else
53598   glibcxx_cv_func_modff_use=no
53599 fi
53600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53601       ac_ext=c
53602 ac_cpp='$CPP $CPPFLAGS'
53603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53606
53607
53608 fi
53609
53610   fi
53611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53612 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53613
53614   if test x$glibcxx_cv_func_modff_use = x"yes"; then
53615     for ac_func in modff
53616 do :
53617   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53618 if test "x$ac_cv_func_modff" = x""yes; then :
53619   cat >>confdefs.h <<_ACEOF
53620 #define HAVE_MODFF 1
53621 _ACEOF
53622
53623 fi
53624 done
53625
53626   else
53627
53628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53629 $as_echo_n "checking for _modff declaration... " >&6; }
53630   if test x${glibcxx_cv_func__modff_use+set} != xset; then
53631     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53632   $as_echo_n "(cached) " >&6
53633 else
53634
53635
53636       ac_ext=cpp
53637 ac_cpp='$CXXCPP $CPPFLAGS'
53638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53641
53642       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53643 /* end confdefs.h.  */
53644 #include <math.h>
53645 int
53646 main ()
53647 {
53648  _modff(0, 0);
53649   ;
53650   return 0;
53651 }
53652 _ACEOF
53653 if ac_fn_cxx_try_compile "$LINENO"; then :
53654   glibcxx_cv_func__modff_use=yes
53655 else
53656   glibcxx_cv_func__modff_use=no
53657 fi
53658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53659       ac_ext=c
53660 ac_cpp='$CPP $CPPFLAGS'
53661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53664
53665
53666 fi
53667
53668   fi
53669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53670 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53671
53672     if test x$glibcxx_cv_func__modff_use = x"yes"; then
53673       for ac_func in _modff
53674 do :
53675   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53676 if test "x$ac_cv_func__modff" = x""yes; then :
53677   cat >>confdefs.h <<_ACEOF
53678 #define HAVE__MODFF 1
53679 _ACEOF
53680
53681 fi
53682 done
53683
53684     fi
53685   fi
53686
53687
53688
53689
53690
53691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53692 $as_echo_n "checking for modf declaration... " >&6; }
53693   if test x${glibcxx_cv_func_modf_use+set} != xset; then
53694     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53695   $as_echo_n "(cached) " >&6
53696 else
53697
53698
53699       ac_ext=cpp
53700 ac_cpp='$CXXCPP $CPPFLAGS'
53701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53704
53705       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53706 /* end confdefs.h.  */
53707 #include <math.h>
53708 int
53709 main ()
53710 {
53711  modf(0, 0);
53712   ;
53713   return 0;
53714 }
53715 _ACEOF
53716 if ac_fn_cxx_try_compile "$LINENO"; then :
53717   glibcxx_cv_func_modf_use=yes
53718 else
53719   glibcxx_cv_func_modf_use=no
53720 fi
53721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53722       ac_ext=c
53723 ac_cpp='$CPP $CPPFLAGS'
53724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53727
53728
53729 fi
53730
53731   fi
53732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53733 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53734
53735   if test x$glibcxx_cv_func_modf_use = x"yes"; then
53736     for ac_func in modf
53737 do :
53738   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53739 if test "x$ac_cv_func_modf" = x""yes; then :
53740   cat >>confdefs.h <<_ACEOF
53741 #define HAVE_MODF 1
53742 _ACEOF
53743
53744 fi
53745 done
53746
53747   else
53748
53749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53750 $as_echo_n "checking for _modf declaration... " >&6; }
53751   if test x${glibcxx_cv_func__modf_use+set} != xset; then
53752     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53753   $as_echo_n "(cached) " >&6
53754 else
53755
53756
53757       ac_ext=cpp
53758 ac_cpp='$CXXCPP $CPPFLAGS'
53759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53762
53763       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53764 /* end confdefs.h.  */
53765 #include <math.h>
53766 int
53767 main ()
53768 {
53769  _modf(0, 0);
53770   ;
53771   return 0;
53772 }
53773 _ACEOF
53774 if ac_fn_cxx_try_compile "$LINENO"; then :
53775   glibcxx_cv_func__modf_use=yes
53776 else
53777   glibcxx_cv_func__modf_use=no
53778 fi
53779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53780       ac_ext=c
53781 ac_cpp='$CPP $CPPFLAGS'
53782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53785
53786
53787 fi
53788
53789   fi
53790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53791 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53792
53793     if test x$glibcxx_cv_func__modf_use = x"yes"; then
53794       for ac_func in _modf
53795 do :
53796   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53797 if test "x$ac_cv_func__modf" = x""yes; then :
53798   cat >>confdefs.h <<_ACEOF
53799 #define HAVE__MODF 1
53800 _ACEOF
53801
53802 fi
53803 done
53804
53805     fi
53806   fi
53807
53808
53809
53810
53811
53812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53813 $as_echo_n "checking for powf declaration... " >&6; }
53814   if test x${glibcxx_cv_func_powf_use+set} != xset; then
53815     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53816   $as_echo_n "(cached) " >&6
53817 else
53818
53819
53820       ac_ext=cpp
53821 ac_cpp='$CXXCPP $CPPFLAGS'
53822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53825
53826       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53827 /* end confdefs.h.  */
53828 #include <math.h>
53829 int
53830 main ()
53831 {
53832  powf(0, 0);
53833   ;
53834   return 0;
53835 }
53836 _ACEOF
53837 if ac_fn_cxx_try_compile "$LINENO"; then :
53838   glibcxx_cv_func_powf_use=yes
53839 else
53840   glibcxx_cv_func_powf_use=no
53841 fi
53842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53843       ac_ext=c
53844 ac_cpp='$CPP $CPPFLAGS'
53845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53848
53849
53850 fi
53851
53852   fi
53853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53854 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53855
53856   if test x$glibcxx_cv_func_powf_use = x"yes"; then
53857     for ac_func in powf
53858 do :
53859   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53860 if test "x$ac_cv_func_powf" = x""yes; then :
53861   cat >>confdefs.h <<_ACEOF
53862 #define HAVE_POWF 1
53863 _ACEOF
53864
53865 fi
53866 done
53867
53868   else
53869
53870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53871 $as_echo_n "checking for _powf declaration... " >&6; }
53872   if test x${glibcxx_cv_func__powf_use+set} != xset; then
53873     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53874   $as_echo_n "(cached) " >&6
53875 else
53876
53877
53878       ac_ext=cpp
53879 ac_cpp='$CXXCPP $CPPFLAGS'
53880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53883
53884       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53885 /* end confdefs.h.  */
53886 #include <math.h>
53887 int
53888 main ()
53889 {
53890  _powf(0, 0);
53891   ;
53892   return 0;
53893 }
53894 _ACEOF
53895 if ac_fn_cxx_try_compile "$LINENO"; then :
53896   glibcxx_cv_func__powf_use=yes
53897 else
53898   glibcxx_cv_func__powf_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__powf_use" >&5
53912 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53913
53914     if test x$glibcxx_cv_func__powf_use = x"yes"; then
53915       for ac_func in _powf
53916 do :
53917   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53918 if test "x$ac_cv_func__powf" = x""yes; then :
53919   cat >>confdefs.h <<_ACEOF
53920 #define HAVE__POWF 1
53921 _ACEOF
53922
53923 fi
53924 done
53925
53926     fi
53927   fi
53928
53929
53930
53931
53932
53933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53934 $as_echo_n "checking for sqrtf declaration... " >&6; }
53935   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53936     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53937   $as_echo_n "(cached) " >&6
53938 else
53939
53940
53941       ac_ext=cpp
53942 ac_cpp='$CXXCPP $CPPFLAGS'
53943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53946
53947       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53948 /* end confdefs.h.  */
53949 #include <math.h>
53950                       #ifdef HAVE_IEEEFP_H
53951                       #include <ieeefp.h>
53952                       #endif
53953
53954 int
53955 main ()
53956 {
53957  sqrtf(0);
53958   ;
53959   return 0;
53960 }
53961 _ACEOF
53962 if ac_fn_cxx_try_compile "$LINENO"; then :
53963   glibcxx_cv_func_sqrtf_use=yes
53964 else
53965   glibcxx_cv_func_sqrtf_use=no
53966 fi
53967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53968       ac_ext=c
53969 ac_cpp='$CPP $CPPFLAGS'
53970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53973
53974
53975 fi
53976
53977   fi
53978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53979 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53980
53981   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53982     for ac_func in sqrtf
53983 do :
53984   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53985 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53986   cat >>confdefs.h <<_ACEOF
53987 #define HAVE_SQRTF 1
53988 _ACEOF
53989
53990 fi
53991 done
53992
53993   else
53994
53995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53996 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53997   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53998     if test "${glibcxx_cv_func__sqrtf_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                       #ifdef HAVE_IEEEFP_H
54013                       #include <ieeefp.h>
54014                       #endif
54015
54016 int
54017 main ()
54018 {
54019  _sqrtf(0);
54020   ;
54021   return 0;
54022 }
54023 _ACEOF
54024 if ac_fn_cxx_try_compile "$LINENO"; then :
54025   glibcxx_cv_func__sqrtf_use=yes
54026 else
54027   glibcxx_cv_func__sqrtf_use=no
54028 fi
54029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54030       ac_ext=c
54031 ac_cpp='$CPP $CPPFLAGS'
54032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54035
54036
54037 fi
54038
54039   fi
54040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54041 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54042
54043     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54044       for ac_func in _sqrtf
54045 do :
54046   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54047 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54048   cat >>confdefs.h <<_ACEOF
54049 #define HAVE__SQRTF 1
54050 _ACEOF
54051
54052 fi
54053 done
54054
54055     fi
54056   fi
54057
54058
54059
54060
54061
54062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54063 $as_echo_n "checking for sincosf declaration... " >&6; }
54064   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54065     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54066   $as_echo_n "(cached) " >&6
54067 else
54068
54069
54070       ac_ext=cpp
54071 ac_cpp='$CXXCPP $CPPFLAGS'
54072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54075
54076       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54077 /* end confdefs.h.  */
54078 #include <math.h>
54079 int
54080 main ()
54081 {
54082  sincosf(0, 0, 0);
54083   ;
54084   return 0;
54085 }
54086 _ACEOF
54087 if ac_fn_cxx_try_compile "$LINENO"; then :
54088   glibcxx_cv_func_sincosf_use=yes
54089 else
54090   glibcxx_cv_func_sincosf_use=no
54091 fi
54092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54093       ac_ext=c
54094 ac_cpp='$CPP $CPPFLAGS'
54095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54098
54099
54100 fi
54101
54102   fi
54103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54104 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54105
54106   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54107     for ac_func in sincosf
54108 do :
54109   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54110 if test "x$ac_cv_func_sincosf" = x""yes; then :
54111   cat >>confdefs.h <<_ACEOF
54112 #define HAVE_SINCOSF 1
54113 _ACEOF
54114
54115 fi
54116 done
54117
54118   else
54119
54120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54121 $as_echo_n "checking for _sincosf declaration... " >&6; }
54122   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54123     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54124   $as_echo_n "(cached) " >&6
54125 else
54126
54127
54128       ac_ext=cpp
54129 ac_cpp='$CXXCPP $CPPFLAGS'
54130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54133
54134       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54135 /* end confdefs.h.  */
54136 #include <math.h>
54137 int
54138 main ()
54139 {
54140  _sincosf(0, 0, 0);
54141   ;
54142   return 0;
54143 }
54144 _ACEOF
54145 if ac_fn_cxx_try_compile "$LINENO"; then :
54146   glibcxx_cv_func__sincosf_use=yes
54147 else
54148   glibcxx_cv_func__sincosf_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__sincosf_use" >&5
54162 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54163
54164     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54165       for ac_func in _sincosf
54166 do :
54167   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54168 if test "x$ac_cv_func__sincosf" = x""yes; then :
54169   cat >>confdefs.h <<_ACEOF
54170 #define HAVE__SINCOSF 1
54171 _ACEOF
54172
54173 fi
54174 done
54175
54176     fi
54177   fi
54178
54179
54180
54181
54182
54183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54184 $as_echo_n "checking for finitef declaration... " >&6; }
54185   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54186     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54187   $as_echo_n "(cached) " >&6
54188 else
54189
54190
54191       ac_ext=cpp
54192 ac_cpp='$CXXCPP $CPPFLAGS'
54193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54196
54197       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54198 /* end confdefs.h.  */
54199 #include <math.h>
54200                       #ifdef HAVE_IEEEFP_H
54201                       #include <ieeefp.h>
54202                       #endif
54203
54204 int
54205 main ()
54206 {
54207  finitef(0);
54208   ;
54209   return 0;
54210 }
54211 _ACEOF
54212 if ac_fn_cxx_try_compile "$LINENO"; then :
54213   glibcxx_cv_func_finitef_use=yes
54214 else
54215   glibcxx_cv_func_finitef_use=no
54216 fi
54217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54218       ac_ext=c
54219 ac_cpp='$CPP $CPPFLAGS'
54220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54223
54224
54225 fi
54226
54227   fi
54228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54229 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54230
54231   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54232     for ac_func in finitef
54233 do :
54234   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54235 if test "x$ac_cv_func_finitef" = x""yes; then :
54236   cat >>confdefs.h <<_ACEOF
54237 #define HAVE_FINITEF 1
54238 _ACEOF
54239
54240 fi
54241 done
54242
54243   else
54244
54245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54246 $as_echo_n "checking for _finitef declaration... " >&6; }
54247   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54248     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54249   $as_echo_n "(cached) " >&6
54250 else
54251
54252
54253       ac_ext=cpp
54254 ac_cpp='$CXXCPP $CPPFLAGS'
54255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54258
54259       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54260 /* end confdefs.h.  */
54261 #include <math.h>
54262                       #ifdef HAVE_IEEEFP_H
54263                       #include <ieeefp.h>
54264                       #endif
54265
54266 int
54267 main ()
54268 {
54269  _finitef(0);
54270   ;
54271   return 0;
54272 }
54273 _ACEOF
54274 if ac_fn_cxx_try_compile "$LINENO"; then :
54275   glibcxx_cv_func__finitef_use=yes
54276 else
54277   glibcxx_cv_func__finitef_use=no
54278 fi
54279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54280       ac_ext=c
54281 ac_cpp='$CPP $CPPFLAGS'
54282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54285
54286
54287 fi
54288
54289   fi
54290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54291 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54292
54293     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54294       for ac_func in _finitef
54295 do :
54296   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54297 if test "x$ac_cv_func__finitef" = x""yes; then :
54298   cat >>confdefs.h <<_ACEOF
54299 #define HAVE__FINITEF 1
54300 _ACEOF
54301
54302 fi
54303 done
54304
54305     fi
54306   fi
54307
54308
54309
54310
54311
54312     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54313 $as_echo_n "checking for long double trig functions... " >&6; }
54314   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54315   $as_echo_n "(cached) " >&6
54316 else
54317
54318
54319     ac_ext=cpp
54320 ac_cpp='$CXXCPP $CPPFLAGS'
54321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54324
54325     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54326 /* end confdefs.h.  */
54327 #include <math.h>
54328 int
54329 main ()
54330 {
54331 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54332   ;
54333   return 0;
54334 }
54335 _ACEOF
54336 if ac_fn_cxx_try_compile "$LINENO"; then :
54337   glibcxx_cv_func_long_double_trig_use=yes
54338 else
54339   glibcxx_cv_func_long_double_trig_use=no
54340 fi
54341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54342     ac_ext=c
54343 ac_cpp='$CPP $CPPFLAGS'
54344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54347
54348 fi
54349
54350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54351 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54352   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54353     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54354 do :
54355   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54356 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54357 eval as_val=\$$as_ac_var
54358    if test "x$as_val" = x""yes; then :
54359   cat >>confdefs.h <<_ACEOF
54360 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54361 _ACEOF
54362
54363 fi
54364 done
54365
54366   else
54367     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54368 $as_echo_n "checking for _long double trig functions... " >&6; }
54369     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54370   $as_echo_n "(cached) " >&6
54371 else
54372
54373
54374       ac_ext=cpp
54375 ac_cpp='$CXXCPP $CPPFLAGS'
54376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54379
54380       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54381 /* end confdefs.h.  */
54382 #include <math.h>
54383 int
54384 main ()
54385 {
54386 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54387   ;
54388   return 0;
54389 }
54390 _ACEOF
54391 if ac_fn_cxx_try_compile "$LINENO"; then :
54392   glibcxx_cv_func__long_double_trig_use=yes
54393 else
54394   glibcxx_cv_func__long_double_trig_use=no
54395 fi
54396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54397       ac_ext=c
54398 ac_cpp='$CPP $CPPFLAGS'
54399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54402
54403 fi
54404
54405     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54406 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54407     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54408       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54409 do :
54410   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54411 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54412 eval as_val=\$$as_ac_var
54413    if test "x$as_val" = x""yes; then :
54414   cat >>confdefs.h <<_ACEOF
54415 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54416 _ACEOF
54417
54418 fi
54419 done
54420
54421     fi
54422   fi
54423
54424
54425
54426
54427
54428     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54429 $as_echo_n "checking for long double round functions... " >&6; }
54430   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54431   $as_echo_n "(cached) " >&6
54432 else
54433
54434
54435     ac_ext=cpp
54436 ac_cpp='$CXXCPP $CPPFLAGS'
54437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54440
54441     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54442 /* end confdefs.h.  */
54443 #include <math.h>
54444 int
54445 main ()
54446 {
54447 ceill (0); floorl (0);
54448   ;
54449   return 0;
54450 }
54451 _ACEOF
54452 if ac_fn_cxx_try_compile "$LINENO"; then :
54453   glibcxx_cv_func_long_double_round_use=yes
54454 else
54455   glibcxx_cv_func_long_double_round_use=no
54456 fi
54457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54458     ac_ext=c
54459 ac_cpp='$CPP $CPPFLAGS'
54460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54463
54464 fi
54465
54466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54467 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54468   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54469     for ac_func in ceill floorl
54470 do :
54471   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54472 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54473 eval as_val=\$$as_ac_var
54474    if test "x$as_val" = x""yes; then :
54475   cat >>confdefs.h <<_ACEOF
54476 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54477 _ACEOF
54478
54479 fi
54480 done
54481
54482   else
54483     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54484 $as_echo_n "checking for _long double round functions... " >&6; }
54485     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54486   $as_echo_n "(cached) " >&6
54487 else
54488
54489
54490       ac_ext=cpp
54491 ac_cpp='$CXXCPP $CPPFLAGS'
54492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54495
54496       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54497 /* end confdefs.h.  */
54498 #include <math.h>
54499 int
54500 main ()
54501 {
54502 _ceill (0); _floorl (0);
54503   ;
54504   return 0;
54505 }
54506 _ACEOF
54507 if ac_fn_cxx_try_compile "$LINENO"; then :
54508   glibcxx_cv_func__long_double_round_use=yes
54509 else
54510   glibcxx_cv_func__long_double_round_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 fi
54520
54521     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54522 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54523     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54524       for ac_func in _ceill _floorl
54525 do :
54526   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54527 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54528 eval as_val=\$$as_ac_var
54529    if test "x$as_val" = x""yes; then :
54530   cat >>confdefs.h <<_ACEOF
54531 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54532 _ACEOF
54533
54534 fi
54535 done
54536
54537     fi
54538   fi
54539
54540
54541
54542
54543
54544
54545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54546 $as_echo_n "checking for isnanl declaration... " >&6; }
54547   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54548     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54549   $as_echo_n "(cached) " >&6
54550 else
54551
54552
54553       ac_ext=cpp
54554 ac_cpp='$CXXCPP $CPPFLAGS'
54555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54558
54559       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54560 /* end confdefs.h.  */
54561 #include <math.h>
54562                       #ifdef HAVE_IEEEFP_H
54563                       #include <ieeefp.h>
54564                       #endif
54565
54566 int
54567 main ()
54568 {
54569  isnanl(0);
54570   ;
54571   return 0;
54572 }
54573 _ACEOF
54574 if ac_fn_cxx_try_compile "$LINENO"; then :
54575   glibcxx_cv_func_isnanl_use=yes
54576 else
54577   glibcxx_cv_func_isnanl_use=no
54578 fi
54579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54580       ac_ext=c
54581 ac_cpp='$CPP $CPPFLAGS'
54582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54585
54586
54587 fi
54588
54589   fi
54590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54591 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54592
54593   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54594     for ac_func in isnanl
54595 do :
54596   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54597 if test "x$ac_cv_func_isnanl" = x""yes; then :
54598   cat >>confdefs.h <<_ACEOF
54599 #define HAVE_ISNANL 1
54600 _ACEOF
54601
54602 fi
54603 done
54604
54605   else
54606
54607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54608 $as_echo_n "checking for _isnanl declaration... " >&6; }
54609   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54610     if test "${glibcxx_cv_func__isnanl_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  _isnanl(0);
54632   ;
54633   return 0;
54634 }
54635 _ACEOF
54636 if ac_fn_cxx_try_compile "$LINENO"; then :
54637   glibcxx_cv_func__isnanl_use=yes
54638 else
54639   glibcxx_cv_func__isnanl_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__isnanl_use" >&5
54653 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54654
54655     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54656       for ac_func in _isnanl
54657 do :
54658   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54659 if test "x$ac_cv_func__isnanl" = x""yes; then :
54660   cat >>confdefs.h <<_ACEOF
54661 #define HAVE__ISNANL 1
54662 _ACEOF
54663
54664 fi
54665 done
54666
54667     fi
54668   fi
54669
54670
54671
54672
54673
54674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54675 $as_echo_n "checking for isinfl declaration... " >&6; }
54676   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54677     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54678   $as_echo_n "(cached) " >&6
54679 else
54680
54681
54682       ac_ext=cpp
54683 ac_cpp='$CXXCPP $CPPFLAGS'
54684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54687
54688       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54689 /* end confdefs.h.  */
54690 #include <math.h>
54691                       #ifdef HAVE_IEEEFP_H
54692                       #include <ieeefp.h>
54693                       #endif
54694
54695 int
54696 main ()
54697 {
54698  isinfl(0);
54699   ;
54700   return 0;
54701 }
54702 _ACEOF
54703 if ac_fn_cxx_try_compile "$LINENO"; then :
54704   glibcxx_cv_func_isinfl_use=yes
54705 else
54706   glibcxx_cv_func_isinfl_use=no
54707 fi
54708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54709       ac_ext=c
54710 ac_cpp='$CPP $CPPFLAGS'
54711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54714
54715
54716 fi
54717
54718   fi
54719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54720 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54721
54722   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54723     for ac_func in isinfl
54724 do :
54725   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54726 if test "x$ac_cv_func_isinfl" = x""yes; then :
54727   cat >>confdefs.h <<_ACEOF
54728 #define HAVE_ISINFL 1
54729 _ACEOF
54730
54731 fi
54732 done
54733
54734   else
54735
54736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54737 $as_echo_n "checking for _isinfl declaration... " >&6; }
54738   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54739     if test "${glibcxx_cv_func__isinfl_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                       #ifdef HAVE_IEEEFP_H
54754                       #include <ieeefp.h>
54755                       #endif
54756
54757 int
54758 main ()
54759 {
54760  _isinfl(0);
54761   ;
54762   return 0;
54763 }
54764 _ACEOF
54765 if ac_fn_cxx_try_compile "$LINENO"; then :
54766   glibcxx_cv_func__isinfl_use=yes
54767 else
54768   glibcxx_cv_func__isinfl_use=no
54769 fi
54770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54771       ac_ext=c
54772 ac_cpp='$CPP $CPPFLAGS'
54773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54776
54777
54778 fi
54779
54780   fi
54781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54782 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54783
54784     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54785       for ac_func in _isinfl
54786 do :
54787   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54788 if test "x$ac_cv_func__isinfl" = x""yes; then :
54789   cat >>confdefs.h <<_ACEOF
54790 #define HAVE__ISINFL 1
54791 _ACEOF
54792
54793 fi
54794 done
54795
54796     fi
54797   fi
54798
54799
54800
54801
54802
54803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54804 $as_echo_n "checking for atan2l declaration... " >&6; }
54805   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54806     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54807   $as_echo_n "(cached) " >&6
54808 else
54809
54810
54811       ac_ext=cpp
54812 ac_cpp='$CXXCPP $CPPFLAGS'
54813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54816
54817       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54818 /* end confdefs.h.  */
54819 #include <math.h>
54820 int
54821 main ()
54822 {
54823  atan2l(0, 0);
54824   ;
54825   return 0;
54826 }
54827 _ACEOF
54828 if ac_fn_cxx_try_compile "$LINENO"; then :
54829   glibcxx_cv_func_atan2l_use=yes
54830 else
54831   glibcxx_cv_func_atan2l_use=no
54832 fi
54833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54834       ac_ext=c
54835 ac_cpp='$CPP $CPPFLAGS'
54836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54839
54840
54841 fi
54842
54843   fi
54844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54845 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54846
54847   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54848     for ac_func in atan2l
54849 do :
54850   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54851 if test "x$ac_cv_func_atan2l" = x""yes; then :
54852   cat >>confdefs.h <<_ACEOF
54853 #define HAVE_ATAN2L 1
54854 _ACEOF
54855
54856 fi
54857 done
54858
54859   else
54860
54861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54862 $as_echo_n "checking for _atan2l declaration... " >&6; }
54863   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54864     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54865   $as_echo_n "(cached) " >&6
54866 else
54867
54868
54869       ac_ext=cpp
54870 ac_cpp='$CXXCPP $CPPFLAGS'
54871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54874
54875       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54876 /* end confdefs.h.  */
54877 #include <math.h>
54878 int
54879 main ()
54880 {
54881  _atan2l(0, 0);
54882   ;
54883   return 0;
54884 }
54885 _ACEOF
54886 if ac_fn_cxx_try_compile "$LINENO"; then :
54887   glibcxx_cv_func__atan2l_use=yes
54888 else
54889   glibcxx_cv_func__atan2l_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__atan2l_use" >&5
54903 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54904
54905     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54906       for ac_func in _atan2l
54907 do :
54908   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54909 if test "x$ac_cv_func__atan2l" = x""yes; then :
54910   cat >>confdefs.h <<_ACEOF
54911 #define HAVE__ATAN2L 1
54912 _ACEOF
54913
54914 fi
54915 done
54916
54917     fi
54918   fi
54919
54920
54921
54922
54923
54924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54925 $as_echo_n "checking for expl declaration... " >&6; }
54926   if test x${glibcxx_cv_func_expl_use+set} != xset; then
54927     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54928   $as_echo_n "(cached) " >&6
54929 else
54930
54931
54932       ac_ext=cpp
54933 ac_cpp='$CXXCPP $CPPFLAGS'
54934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54937
54938       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54939 /* end confdefs.h.  */
54940 #include <math.h>
54941                       #ifdef HAVE_IEEEFP_H
54942                       #include <ieeefp.h>
54943                       #endif
54944
54945 int
54946 main ()
54947 {
54948  expl(0);
54949   ;
54950   return 0;
54951 }
54952 _ACEOF
54953 if ac_fn_cxx_try_compile "$LINENO"; then :
54954   glibcxx_cv_func_expl_use=yes
54955 else
54956   glibcxx_cv_func_expl_use=no
54957 fi
54958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54959       ac_ext=c
54960 ac_cpp='$CPP $CPPFLAGS'
54961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54964
54965
54966 fi
54967
54968   fi
54969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54970 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54971
54972   if test x$glibcxx_cv_func_expl_use = x"yes"; then
54973     for ac_func in expl
54974 do :
54975   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54976 if test "x$ac_cv_func_expl" = x""yes; then :
54977   cat >>confdefs.h <<_ACEOF
54978 #define HAVE_EXPL 1
54979 _ACEOF
54980
54981 fi
54982 done
54983
54984   else
54985
54986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54987 $as_echo_n "checking for _expl declaration... " >&6; }
54988   if test x${glibcxx_cv_func__expl_use+set} != xset; then
54989     if test "${glibcxx_cv_func__expl_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  _expl(0);
55011   ;
55012   return 0;
55013 }
55014 _ACEOF
55015 if ac_fn_cxx_try_compile "$LINENO"; then :
55016   glibcxx_cv_func__expl_use=yes
55017 else
55018   glibcxx_cv_func__expl_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__expl_use" >&5
55032 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55033
55034     if test x$glibcxx_cv_func__expl_use = x"yes"; then
55035       for ac_func in _expl
55036 do :
55037   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55038 if test "x$ac_cv_func__expl" = x""yes; then :
55039   cat >>confdefs.h <<_ACEOF
55040 #define HAVE__EXPL 1
55041 _ACEOF
55042
55043 fi
55044 done
55045
55046     fi
55047   fi
55048
55049
55050
55051
55052
55053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55054 $as_echo_n "checking for fabsl declaration... " >&6; }
55055   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55056     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55057   $as_echo_n "(cached) " >&6
55058 else
55059
55060
55061       ac_ext=cpp
55062 ac_cpp='$CXXCPP $CPPFLAGS'
55063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55066
55067       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55068 /* end confdefs.h.  */
55069 #include <math.h>
55070                       #ifdef HAVE_IEEEFP_H
55071                       #include <ieeefp.h>
55072                       #endif
55073
55074 int
55075 main ()
55076 {
55077  fabsl(0);
55078   ;
55079   return 0;
55080 }
55081 _ACEOF
55082 if ac_fn_cxx_try_compile "$LINENO"; then :
55083   glibcxx_cv_func_fabsl_use=yes
55084 else
55085   glibcxx_cv_func_fabsl_use=no
55086 fi
55087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55088       ac_ext=c
55089 ac_cpp='$CPP $CPPFLAGS'
55090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55093
55094
55095 fi
55096
55097   fi
55098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55099 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55100
55101   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55102     for ac_func in fabsl
55103 do :
55104   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55105 if test "x$ac_cv_func_fabsl" = x""yes; then :
55106   cat >>confdefs.h <<_ACEOF
55107 #define HAVE_FABSL 1
55108 _ACEOF
55109
55110 fi
55111 done
55112
55113   else
55114
55115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55116 $as_echo_n "checking for _fabsl declaration... " >&6; }
55117   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55118     if test "${glibcxx_cv_func__fabsl_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                       #ifdef HAVE_IEEEFP_H
55133                       #include <ieeefp.h>
55134                       #endif
55135
55136 int
55137 main ()
55138 {
55139  _fabsl(0);
55140   ;
55141   return 0;
55142 }
55143 _ACEOF
55144 if ac_fn_cxx_try_compile "$LINENO"; then :
55145   glibcxx_cv_func__fabsl_use=yes
55146 else
55147   glibcxx_cv_func__fabsl_use=no
55148 fi
55149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55150       ac_ext=c
55151 ac_cpp='$CPP $CPPFLAGS'
55152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55155
55156
55157 fi
55158
55159   fi
55160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55161 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55162
55163     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55164       for ac_func in _fabsl
55165 do :
55166   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55167 if test "x$ac_cv_func__fabsl" = x""yes; then :
55168   cat >>confdefs.h <<_ACEOF
55169 #define HAVE__FABSL 1
55170 _ACEOF
55171
55172 fi
55173 done
55174
55175     fi
55176   fi
55177
55178
55179
55180
55181
55182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55183 $as_echo_n "checking for fmodl declaration... " >&6; }
55184   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55185     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55186   $as_echo_n "(cached) " >&6
55187 else
55188
55189
55190       ac_ext=cpp
55191 ac_cpp='$CXXCPP $CPPFLAGS'
55192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55195
55196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55197 /* end confdefs.h.  */
55198 #include <math.h>
55199 int
55200 main ()
55201 {
55202  fmodl(0, 0);
55203   ;
55204   return 0;
55205 }
55206 _ACEOF
55207 if ac_fn_cxx_try_compile "$LINENO"; then :
55208   glibcxx_cv_func_fmodl_use=yes
55209 else
55210   glibcxx_cv_func_fmodl_use=no
55211 fi
55212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55213       ac_ext=c
55214 ac_cpp='$CPP $CPPFLAGS'
55215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55218
55219
55220 fi
55221
55222   fi
55223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55224 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55225
55226   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55227     for ac_func in fmodl
55228 do :
55229   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55230 if test "x$ac_cv_func_fmodl" = x""yes; then :
55231   cat >>confdefs.h <<_ACEOF
55232 #define HAVE_FMODL 1
55233 _ACEOF
55234
55235 fi
55236 done
55237
55238   else
55239
55240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55241 $as_echo_n "checking for _fmodl declaration... " >&6; }
55242   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55243     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55244   $as_echo_n "(cached) " >&6
55245 else
55246
55247
55248       ac_ext=cpp
55249 ac_cpp='$CXXCPP $CPPFLAGS'
55250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55253
55254       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55255 /* end confdefs.h.  */
55256 #include <math.h>
55257 int
55258 main ()
55259 {
55260  _fmodl(0, 0);
55261   ;
55262   return 0;
55263 }
55264 _ACEOF
55265 if ac_fn_cxx_try_compile "$LINENO"; then :
55266   glibcxx_cv_func__fmodl_use=yes
55267 else
55268   glibcxx_cv_func__fmodl_use=no
55269 fi
55270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55271       ac_ext=c
55272 ac_cpp='$CPP $CPPFLAGS'
55273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55276
55277
55278 fi
55279
55280   fi
55281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55282 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55283
55284     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55285       for ac_func in _fmodl
55286 do :
55287   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55288 if test "x$ac_cv_func__fmodl" = x""yes; then :
55289   cat >>confdefs.h <<_ACEOF
55290 #define HAVE__FMODL 1
55291 _ACEOF
55292
55293 fi
55294 done
55295
55296     fi
55297   fi
55298
55299
55300
55301
55302
55303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55304 $as_echo_n "checking for frexpl declaration... " >&6; }
55305   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55306     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55307   $as_echo_n "(cached) " >&6
55308 else
55309
55310
55311       ac_ext=cpp
55312 ac_cpp='$CXXCPP $CPPFLAGS'
55313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55316
55317       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55318 /* end confdefs.h.  */
55319 #include <math.h>
55320 int
55321 main ()
55322 {
55323  frexpl(0, 0);
55324   ;
55325   return 0;
55326 }
55327 _ACEOF
55328 if ac_fn_cxx_try_compile "$LINENO"; then :
55329   glibcxx_cv_func_frexpl_use=yes
55330 else
55331   glibcxx_cv_func_frexpl_use=no
55332 fi
55333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55334       ac_ext=c
55335 ac_cpp='$CPP $CPPFLAGS'
55336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55339
55340
55341 fi
55342
55343   fi
55344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55345 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55346
55347   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55348     for ac_func in frexpl
55349 do :
55350   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55351 if test "x$ac_cv_func_frexpl" = x""yes; then :
55352   cat >>confdefs.h <<_ACEOF
55353 #define HAVE_FREXPL 1
55354 _ACEOF
55355
55356 fi
55357 done
55358
55359   else
55360
55361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55362 $as_echo_n "checking for _frexpl declaration... " >&6; }
55363   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55364     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55365   $as_echo_n "(cached) " >&6
55366 else
55367
55368
55369       ac_ext=cpp
55370 ac_cpp='$CXXCPP $CPPFLAGS'
55371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55374
55375       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55376 /* end confdefs.h.  */
55377 #include <math.h>
55378 int
55379 main ()
55380 {
55381  _frexpl(0, 0);
55382   ;
55383   return 0;
55384 }
55385 _ACEOF
55386 if ac_fn_cxx_try_compile "$LINENO"; then :
55387   glibcxx_cv_func__frexpl_use=yes
55388 else
55389   glibcxx_cv_func__frexpl_use=no
55390 fi
55391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55392       ac_ext=c
55393 ac_cpp='$CPP $CPPFLAGS'
55394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55397
55398
55399 fi
55400
55401   fi
55402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55403 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55404
55405     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55406       for ac_func in _frexpl
55407 do :
55408   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55409 if test "x$ac_cv_func__frexpl" = x""yes; then :
55410   cat >>confdefs.h <<_ACEOF
55411 #define HAVE__FREXPL 1
55412 _ACEOF
55413
55414 fi
55415 done
55416
55417     fi
55418   fi
55419
55420
55421
55422
55423
55424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55425 $as_echo_n "checking for hypotl declaration... " >&6; }
55426   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55427     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55428   $as_echo_n "(cached) " >&6
55429 else
55430
55431
55432       ac_ext=cpp
55433 ac_cpp='$CXXCPP $CPPFLAGS'
55434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55437
55438       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55439 /* end confdefs.h.  */
55440 #include <math.h>
55441 int
55442 main ()
55443 {
55444  hypotl(0, 0);
55445   ;
55446   return 0;
55447 }
55448 _ACEOF
55449 if ac_fn_cxx_try_compile "$LINENO"; then :
55450   glibcxx_cv_func_hypotl_use=yes
55451 else
55452   glibcxx_cv_func_hypotl_use=no
55453 fi
55454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55455       ac_ext=c
55456 ac_cpp='$CPP $CPPFLAGS'
55457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55460
55461
55462 fi
55463
55464   fi
55465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55466 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55467
55468   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55469     for ac_func in hypotl
55470 do :
55471   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55472 if test "x$ac_cv_func_hypotl" = x""yes; then :
55473   cat >>confdefs.h <<_ACEOF
55474 #define HAVE_HYPOTL 1
55475 _ACEOF
55476
55477 fi
55478 done
55479
55480   else
55481
55482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55483 $as_echo_n "checking for _hypotl declaration... " >&6; }
55484   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55485     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55486   $as_echo_n "(cached) " >&6
55487 else
55488
55489
55490       ac_ext=cpp
55491 ac_cpp='$CXXCPP $CPPFLAGS'
55492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55495
55496       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55497 /* end confdefs.h.  */
55498 #include <math.h>
55499 int
55500 main ()
55501 {
55502  _hypotl(0, 0);
55503   ;
55504   return 0;
55505 }
55506 _ACEOF
55507 if ac_fn_cxx_try_compile "$LINENO"; then :
55508   glibcxx_cv_func__hypotl_use=yes
55509 else
55510   glibcxx_cv_func__hypotl_use=no
55511 fi
55512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55513       ac_ext=c
55514 ac_cpp='$CPP $CPPFLAGS'
55515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55518
55519
55520 fi
55521
55522   fi
55523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55524 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55525
55526     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55527       for ac_func in _hypotl
55528 do :
55529   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55530 if test "x$ac_cv_func__hypotl" = x""yes; then :
55531   cat >>confdefs.h <<_ACEOF
55532 #define HAVE__HYPOTL 1
55533 _ACEOF
55534
55535 fi
55536 done
55537
55538     fi
55539   fi
55540
55541
55542
55543
55544
55545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55546 $as_echo_n "checking for ldexpl declaration... " >&6; }
55547   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55548     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55549   $as_echo_n "(cached) " >&6
55550 else
55551
55552
55553       ac_ext=cpp
55554 ac_cpp='$CXXCPP $CPPFLAGS'
55555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55558
55559       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55560 /* end confdefs.h.  */
55561 #include <math.h>
55562 int
55563 main ()
55564 {
55565  ldexpl(0, 0);
55566   ;
55567   return 0;
55568 }
55569 _ACEOF
55570 if ac_fn_cxx_try_compile "$LINENO"; then :
55571   glibcxx_cv_func_ldexpl_use=yes
55572 else
55573   glibcxx_cv_func_ldexpl_use=no
55574 fi
55575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55576       ac_ext=c
55577 ac_cpp='$CPP $CPPFLAGS'
55578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55581
55582
55583 fi
55584
55585   fi
55586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55587 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55588
55589   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55590     for ac_func in ldexpl
55591 do :
55592   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55593 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55594   cat >>confdefs.h <<_ACEOF
55595 #define HAVE_LDEXPL 1
55596 _ACEOF
55597
55598 fi
55599 done
55600
55601   else
55602
55603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55604 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55605   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55606     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55607   $as_echo_n "(cached) " >&6
55608 else
55609
55610
55611       ac_ext=cpp
55612 ac_cpp='$CXXCPP $CPPFLAGS'
55613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55616
55617       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55618 /* end confdefs.h.  */
55619 #include <math.h>
55620 int
55621 main ()
55622 {
55623  _ldexpl(0, 0);
55624   ;
55625   return 0;
55626 }
55627 _ACEOF
55628 if ac_fn_cxx_try_compile "$LINENO"; then :
55629   glibcxx_cv_func__ldexpl_use=yes
55630 else
55631   glibcxx_cv_func__ldexpl_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__ldexpl_use" >&5
55645 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55646
55647     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55648       for ac_func in _ldexpl
55649 do :
55650   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55651 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55652   cat >>confdefs.h <<_ACEOF
55653 #define HAVE__LDEXPL 1
55654 _ACEOF
55655
55656 fi
55657 done
55658
55659     fi
55660   fi
55661
55662
55663
55664
55665
55666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55667 $as_echo_n "checking for logl declaration... " >&6; }
55668   if test x${glibcxx_cv_func_logl_use+set} != xset; then
55669     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55670   $as_echo_n "(cached) " >&6
55671 else
55672
55673
55674       ac_ext=cpp
55675 ac_cpp='$CXXCPP $CPPFLAGS'
55676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55679
55680       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55681 /* end confdefs.h.  */
55682 #include <math.h>
55683                       #ifdef HAVE_IEEEFP_H
55684                       #include <ieeefp.h>
55685                       #endif
55686
55687 int
55688 main ()
55689 {
55690  logl(0);
55691   ;
55692   return 0;
55693 }
55694 _ACEOF
55695 if ac_fn_cxx_try_compile "$LINENO"; then :
55696   glibcxx_cv_func_logl_use=yes
55697 else
55698   glibcxx_cv_func_logl_use=no
55699 fi
55700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55701       ac_ext=c
55702 ac_cpp='$CPP $CPPFLAGS'
55703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55706
55707
55708 fi
55709
55710   fi
55711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55712 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55713
55714   if test x$glibcxx_cv_func_logl_use = x"yes"; then
55715     for ac_func in logl
55716 do :
55717   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55718 if test "x$ac_cv_func_logl" = x""yes; then :
55719   cat >>confdefs.h <<_ACEOF
55720 #define HAVE_LOGL 1
55721 _ACEOF
55722
55723 fi
55724 done
55725
55726   else
55727
55728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55729 $as_echo_n "checking for _logl declaration... " >&6; }
55730   if test x${glibcxx_cv_func__logl_use+set} != xset; then
55731     if test "${glibcxx_cv_func__logl_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  _logl(0);
55753   ;
55754   return 0;
55755 }
55756 _ACEOF
55757 if ac_fn_cxx_try_compile "$LINENO"; then :
55758   glibcxx_cv_func__logl_use=yes
55759 else
55760   glibcxx_cv_func__logl_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__logl_use" >&5
55774 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55775
55776     if test x$glibcxx_cv_func__logl_use = x"yes"; then
55777       for ac_func in _logl
55778 do :
55779   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55780 if test "x$ac_cv_func__logl" = x""yes; then :
55781   cat >>confdefs.h <<_ACEOF
55782 #define HAVE__LOGL 1
55783 _ACEOF
55784
55785 fi
55786 done
55787
55788     fi
55789   fi
55790
55791
55792
55793
55794
55795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55796 $as_echo_n "checking for log10l declaration... " >&6; }
55797   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55798     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55799   $as_echo_n "(cached) " >&6
55800 else
55801
55802
55803       ac_ext=cpp
55804 ac_cpp='$CXXCPP $CPPFLAGS'
55805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55808
55809       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55810 /* end confdefs.h.  */
55811 #include <math.h>
55812                       #ifdef HAVE_IEEEFP_H
55813                       #include <ieeefp.h>
55814                       #endif
55815
55816 int
55817 main ()
55818 {
55819  log10l(0);
55820   ;
55821   return 0;
55822 }
55823 _ACEOF
55824 if ac_fn_cxx_try_compile "$LINENO"; then :
55825   glibcxx_cv_func_log10l_use=yes
55826 else
55827   glibcxx_cv_func_log10l_use=no
55828 fi
55829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55830       ac_ext=c
55831 ac_cpp='$CPP $CPPFLAGS'
55832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55835
55836
55837 fi
55838
55839   fi
55840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55841 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55842
55843   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55844     for ac_func in log10l
55845 do :
55846   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55847 if test "x$ac_cv_func_log10l" = x""yes; then :
55848   cat >>confdefs.h <<_ACEOF
55849 #define HAVE_LOG10L 1
55850 _ACEOF
55851
55852 fi
55853 done
55854
55855   else
55856
55857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55858 $as_echo_n "checking for _log10l declaration... " >&6; }
55859   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55860     if test "${glibcxx_cv_func__log10l_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                       #ifdef HAVE_IEEEFP_H
55875                       #include <ieeefp.h>
55876                       #endif
55877
55878 int
55879 main ()
55880 {
55881  _log10l(0);
55882   ;
55883   return 0;
55884 }
55885 _ACEOF
55886 if ac_fn_cxx_try_compile "$LINENO"; then :
55887   glibcxx_cv_func__log10l_use=yes
55888 else
55889   glibcxx_cv_func__log10l_use=no
55890 fi
55891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55892       ac_ext=c
55893 ac_cpp='$CPP $CPPFLAGS'
55894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55897
55898
55899 fi
55900
55901   fi
55902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55903 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55904
55905     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55906       for ac_func in _log10l
55907 do :
55908   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55909 if test "x$ac_cv_func__log10l" = x""yes; then :
55910   cat >>confdefs.h <<_ACEOF
55911 #define HAVE__LOG10L 1
55912 _ACEOF
55913
55914 fi
55915 done
55916
55917     fi
55918   fi
55919
55920
55921
55922
55923
55924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55925 $as_echo_n "checking for modfl declaration... " >&6; }
55926   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55927     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55928   $as_echo_n "(cached) " >&6
55929 else
55930
55931
55932       ac_ext=cpp
55933 ac_cpp='$CXXCPP $CPPFLAGS'
55934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55937
55938       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55939 /* end confdefs.h.  */
55940 #include <math.h>
55941 int
55942 main ()
55943 {
55944  modfl(0, 0);
55945   ;
55946   return 0;
55947 }
55948 _ACEOF
55949 if ac_fn_cxx_try_compile "$LINENO"; then :
55950   glibcxx_cv_func_modfl_use=yes
55951 else
55952   glibcxx_cv_func_modfl_use=no
55953 fi
55954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55955       ac_ext=c
55956 ac_cpp='$CPP $CPPFLAGS'
55957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55960
55961
55962 fi
55963
55964   fi
55965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55966 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55967
55968   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55969     for ac_func in modfl
55970 do :
55971   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55972 if test "x$ac_cv_func_modfl" = x""yes; then :
55973   cat >>confdefs.h <<_ACEOF
55974 #define HAVE_MODFL 1
55975 _ACEOF
55976
55977 fi
55978 done
55979
55980   else
55981
55982   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55983 $as_echo_n "checking for _modfl declaration... " >&6; }
55984   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55985     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55986   $as_echo_n "(cached) " >&6
55987 else
55988
55989
55990       ac_ext=cpp
55991 ac_cpp='$CXXCPP $CPPFLAGS'
55992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55995
55996       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55997 /* end confdefs.h.  */
55998 #include <math.h>
55999 int
56000 main ()
56001 {
56002  _modfl(0, 0);
56003   ;
56004   return 0;
56005 }
56006 _ACEOF
56007 if ac_fn_cxx_try_compile "$LINENO"; then :
56008   glibcxx_cv_func__modfl_use=yes
56009 else
56010   glibcxx_cv_func__modfl_use=no
56011 fi
56012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56013       ac_ext=c
56014 ac_cpp='$CPP $CPPFLAGS'
56015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56018
56019
56020 fi
56021
56022   fi
56023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56024 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56025
56026     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56027       for ac_func in _modfl
56028 do :
56029   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56030 if test "x$ac_cv_func__modfl" = x""yes; then :
56031   cat >>confdefs.h <<_ACEOF
56032 #define HAVE__MODFL 1
56033 _ACEOF
56034
56035 fi
56036 done
56037
56038     fi
56039   fi
56040
56041
56042
56043
56044
56045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56046 $as_echo_n "checking for powl declaration... " >&6; }
56047   if test x${glibcxx_cv_func_powl_use+set} != xset; then
56048     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56049   $as_echo_n "(cached) " >&6
56050 else
56051
56052
56053       ac_ext=cpp
56054 ac_cpp='$CXXCPP $CPPFLAGS'
56055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56058
56059       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56060 /* end confdefs.h.  */
56061 #include <math.h>
56062 int
56063 main ()
56064 {
56065  powl(0, 0);
56066   ;
56067   return 0;
56068 }
56069 _ACEOF
56070 if ac_fn_cxx_try_compile "$LINENO"; then :
56071   glibcxx_cv_func_powl_use=yes
56072 else
56073   glibcxx_cv_func_powl_use=no
56074 fi
56075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56076       ac_ext=c
56077 ac_cpp='$CPP $CPPFLAGS'
56078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56081
56082
56083 fi
56084
56085   fi
56086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56087 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56088
56089   if test x$glibcxx_cv_func_powl_use = x"yes"; then
56090     for ac_func in powl
56091 do :
56092   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56093 if test "x$ac_cv_func_powl" = x""yes; then :
56094   cat >>confdefs.h <<_ACEOF
56095 #define HAVE_POWL 1
56096 _ACEOF
56097
56098 fi
56099 done
56100
56101   else
56102
56103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56104 $as_echo_n "checking for _powl declaration... " >&6; }
56105   if test x${glibcxx_cv_func__powl_use+set} != xset; then
56106     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56107   $as_echo_n "(cached) " >&6
56108 else
56109
56110
56111       ac_ext=cpp
56112 ac_cpp='$CXXCPP $CPPFLAGS'
56113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56116
56117       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56118 /* end confdefs.h.  */
56119 #include <math.h>
56120 int
56121 main ()
56122 {
56123  _powl(0, 0);
56124   ;
56125   return 0;
56126 }
56127 _ACEOF
56128 if ac_fn_cxx_try_compile "$LINENO"; then :
56129   glibcxx_cv_func__powl_use=yes
56130 else
56131   glibcxx_cv_func__powl_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__powl_use" >&5
56145 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56146
56147     if test x$glibcxx_cv_func__powl_use = x"yes"; then
56148       for ac_func in _powl
56149 do :
56150   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56151 if test "x$ac_cv_func__powl" = x""yes; then :
56152   cat >>confdefs.h <<_ACEOF
56153 #define HAVE__POWL 1
56154 _ACEOF
56155
56156 fi
56157 done
56158
56159     fi
56160   fi
56161
56162
56163
56164
56165
56166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56167 $as_echo_n "checking for sqrtl declaration... " >&6; }
56168   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56169     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56170   $as_echo_n "(cached) " >&6
56171 else
56172
56173
56174       ac_ext=cpp
56175 ac_cpp='$CXXCPP $CPPFLAGS'
56176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56179
56180       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56181 /* end confdefs.h.  */
56182 #include <math.h>
56183                       #ifdef HAVE_IEEEFP_H
56184                       #include <ieeefp.h>
56185                       #endif
56186
56187 int
56188 main ()
56189 {
56190  sqrtl(0);
56191   ;
56192   return 0;
56193 }
56194 _ACEOF
56195 if ac_fn_cxx_try_compile "$LINENO"; then :
56196   glibcxx_cv_func_sqrtl_use=yes
56197 else
56198   glibcxx_cv_func_sqrtl_use=no
56199 fi
56200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56201       ac_ext=c
56202 ac_cpp='$CPP $CPPFLAGS'
56203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56206
56207
56208 fi
56209
56210   fi
56211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56212 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56213
56214   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56215     for ac_func in sqrtl
56216 do :
56217   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56218 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56219   cat >>confdefs.h <<_ACEOF
56220 #define HAVE_SQRTL 1
56221 _ACEOF
56222
56223 fi
56224 done
56225
56226   else
56227
56228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56229 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56230   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56231     if test "${glibcxx_cv_func__sqrtl_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                       #ifdef HAVE_IEEEFP_H
56246                       #include <ieeefp.h>
56247                       #endif
56248
56249 int
56250 main ()
56251 {
56252  _sqrtl(0);
56253   ;
56254   return 0;
56255 }
56256 _ACEOF
56257 if ac_fn_cxx_try_compile "$LINENO"; then :
56258   glibcxx_cv_func__sqrtl_use=yes
56259 else
56260   glibcxx_cv_func__sqrtl_use=no
56261 fi
56262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56263       ac_ext=c
56264 ac_cpp='$CPP $CPPFLAGS'
56265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56268
56269
56270 fi
56271
56272   fi
56273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56274 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56275
56276     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56277       for ac_func in _sqrtl
56278 do :
56279   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56280 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56281   cat >>confdefs.h <<_ACEOF
56282 #define HAVE__SQRTL 1
56283 _ACEOF
56284
56285 fi
56286 done
56287
56288     fi
56289   fi
56290
56291
56292
56293
56294
56295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56296 $as_echo_n "checking for sincosl declaration... " >&6; }
56297   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56298     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56299   $as_echo_n "(cached) " >&6
56300 else
56301
56302
56303       ac_ext=cpp
56304 ac_cpp='$CXXCPP $CPPFLAGS'
56305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56308
56309       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56310 /* end confdefs.h.  */
56311 #include <math.h>
56312 int
56313 main ()
56314 {
56315  sincosl(0, 0, 0);
56316   ;
56317   return 0;
56318 }
56319 _ACEOF
56320 if ac_fn_cxx_try_compile "$LINENO"; then :
56321   glibcxx_cv_func_sincosl_use=yes
56322 else
56323   glibcxx_cv_func_sincosl_use=no
56324 fi
56325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56326       ac_ext=c
56327 ac_cpp='$CPP $CPPFLAGS'
56328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56331
56332
56333 fi
56334
56335   fi
56336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56337 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56338
56339   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56340     for ac_func in sincosl
56341 do :
56342   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56343 if test "x$ac_cv_func_sincosl" = x""yes; then :
56344   cat >>confdefs.h <<_ACEOF
56345 #define HAVE_SINCOSL 1
56346 _ACEOF
56347
56348 fi
56349 done
56350
56351   else
56352
56353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56354 $as_echo_n "checking for _sincosl declaration... " >&6; }
56355   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56356     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56357   $as_echo_n "(cached) " >&6
56358 else
56359
56360
56361       ac_ext=cpp
56362 ac_cpp='$CXXCPP $CPPFLAGS'
56363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56366
56367       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56368 /* end confdefs.h.  */
56369 #include <math.h>
56370 int
56371 main ()
56372 {
56373  _sincosl(0, 0, 0);
56374   ;
56375   return 0;
56376 }
56377 _ACEOF
56378 if ac_fn_cxx_try_compile "$LINENO"; then :
56379   glibcxx_cv_func__sincosl_use=yes
56380 else
56381   glibcxx_cv_func__sincosl_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__sincosl_use" >&5
56395 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56396
56397     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56398       for ac_func in _sincosl
56399 do :
56400   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56401 if test "x$ac_cv_func__sincosl" = x""yes; then :
56402   cat >>confdefs.h <<_ACEOF
56403 #define HAVE__SINCOSL 1
56404 _ACEOF
56405
56406 fi
56407 done
56408
56409     fi
56410   fi
56411
56412
56413
56414
56415
56416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56417 $as_echo_n "checking for finitel declaration... " >&6; }
56418   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56419     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56420   $as_echo_n "(cached) " >&6
56421 else
56422
56423
56424       ac_ext=cpp
56425 ac_cpp='$CXXCPP $CPPFLAGS'
56426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56429
56430       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56431 /* end confdefs.h.  */
56432 #include <math.h>
56433                       #ifdef HAVE_IEEEFP_H
56434                       #include <ieeefp.h>
56435                       #endif
56436
56437 int
56438 main ()
56439 {
56440  finitel(0);
56441   ;
56442   return 0;
56443 }
56444 _ACEOF
56445 if ac_fn_cxx_try_compile "$LINENO"; then :
56446   glibcxx_cv_func_finitel_use=yes
56447 else
56448   glibcxx_cv_func_finitel_use=no
56449 fi
56450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56451       ac_ext=c
56452 ac_cpp='$CPP $CPPFLAGS'
56453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56456
56457
56458 fi
56459
56460   fi
56461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56462 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56463
56464   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56465     for ac_func in finitel
56466 do :
56467   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56468 if test "x$ac_cv_func_finitel" = x""yes; then :
56469   cat >>confdefs.h <<_ACEOF
56470 #define HAVE_FINITEL 1
56471 _ACEOF
56472
56473 fi
56474 done
56475
56476   else
56477
56478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56479 $as_echo_n "checking for _finitel declaration... " >&6; }
56480   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56481     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56482   $as_echo_n "(cached) " >&6
56483 else
56484
56485
56486       ac_ext=cpp
56487 ac_cpp='$CXXCPP $CPPFLAGS'
56488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56491
56492       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56493 /* end confdefs.h.  */
56494 #include <math.h>
56495                       #ifdef HAVE_IEEEFP_H
56496                       #include <ieeefp.h>
56497                       #endif
56498
56499 int
56500 main ()
56501 {
56502  _finitel(0);
56503   ;
56504   return 0;
56505 }
56506 _ACEOF
56507 if ac_fn_cxx_try_compile "$LINENO"; then :
56508   glibcxx_cv_func__finitel_use=yes
56509 else
56510   glibcxx_cv_func__finitel_use=no
56511 fi
56512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56513       ac_ext=c
56514 ac_cpp='$CPP $CPPFLAGS'
56515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56518
56519
56520 fi
56521
56522   fi
56523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56524 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56525
56526     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56527       for ac_func in _finitel
56528 do :
56529   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56530 if test "x$ac_cv_func__finitel" = x""yes; then :
56531   cat >>confdefs.h <<_ACEOF
56532 #define HAVE__FINITEL 1
56533 _ACEOF
56534
56535 fi
56536 done
56537
56538     fi
56539   fi
56540
56541
56542
56543
56544   LIBS="$ac_save_LIBS"
56545   CXXFLAGS="$ac_save_CXXFLAGS"
56546
56547
56548   ac_test_CXXFLAGS="${CXXFLAGS+set}"
56549   ac_save_CXXFLAGS="$CXXFLAGS"
56550   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56551
56552
56553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56554 $as_echo_n "checking for strtold declaration... " >&6; }
56555   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56556     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56557   $as_echo_n "(cached) " >&6
56558 else
56559
56560
56561       ac_ext=cpp
56562 ac_cpp='$CXXCPP $CPPFLAGS'
56563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56566
56567       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56568 /* end confdefs.h.  */
56569 #include <stdlib.h>
56570 int
56571 main ()
56572 {
56573  strtold(0, 0);
56574   ;
56575   return 0;
56576 }
56577 _ACEOF
56578 if ac_fn_cxx_try_compile "$LINENO"; then :
56579   glibcxx_cv_func_strtold_use=yes
56580 else
56581   glibcxx_cv_func_strtold_use=no
56582 fi
56583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56584       ac_ext=c
56585 ac_cpp='$CPP $CPPFLAGS'
56586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56589
56590
56591 fi
56592
56593   fi
56594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56595 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56596   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56597     for ac_func in strtold
56598 do :
56599   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56600 if test "x$ac_cv_func_strtold" = x""yes; then :
56601   cat >>confdefs.h <<_ACEOF
56602 #define HAVE_STRTOLD 1
56603 _ACEOF
56604
56605 fi
56606 done
56607
56608   fi
56609
56610
56611
56612
56613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56614 $as_echo_n "checking for strtof declaration... " >&6; }
56615   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56616     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56617   $as_echo_n "(cached) " >&6
56618 else
56619
56620
56621       ac_ext=cpp
56622 ac_cpp='$CXXCPP $CPPFLAGS'
56623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56626
56627       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56628 /* end confdefs.h.  */
56629 #include <stdlib.h>
56630 int
56631 main ()
56632 {
56633  strtof(0, 0);
56634   ;
56635   return 0;
56636 }
56637 _ACEOF
56638 if ac_fn_cxx_try_compile "$LINENO"; then :
56639   glibcxx_cv_func_strtof_use=yes
56640 else
56641   glibcxx_cv_func_strtof_use=no
56642 fi
56643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56644       ac_ext=c
56645 ac_cpp='$CPP $CPPFLAGS'
56646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56649
56650
56651 fi
56652
56653   fi
56654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56655 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56656   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56657     for ac_func in strtof
56658 do :
56659   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56660 if test "x$ac_cv_func_strtof" = x""yes; then :
56661   cat >>confdefs.h <<_ACEOF
56662 #define HAVE_STRTOF 1
56663 _ACEOF
56664
56665 fi
56666 done
56667
56668   fi
56669
56670
56671
56672
56673   CXXFLAGS="$ac_save_CXXFLAGS"
56674
56675     ;;
56676   *-netbsd*)
56677     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56678
56679
56680   # If we're not using GNU ld, then there's no point in even trying these
56681   # tests.  Check for that first.  We should have already tested for gld
56682   # by now (in libtool), but require it now just to be safe...
56683   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56684   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56685
56686
56687
56688   # The name set by libtool depends on the version of libtool.  Shame on us
56689   # for depending on an impl detail, but c'est la vie.  Older versions used
56690   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56691   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56692   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56693   # set (hence we're using an older libtool), then set it.
56694   if test x${with_gnu_ld+set} != xset; then
56695     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56696       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56697       with_gnu_ld=no
56698     else
56699       with_gnu_ld=$ac_cv_prog_gnu_ld
56700     fi
56701   fi
56702
56703   # Start by getting the version number.  I think the libtool test already
56704   # does some of this, but throws away the result.
56705   glibcxx_ld_is_gold=no
56706   if test x"$with_gnu_ld" = x"yes"; then
56707     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56708 $as_echo_n "checking for ld version... " >&6; }
56709
56710     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56711       glibcxx_ld_is_gold=yes
56712     fi
56713     ldver=`$LD --version 2>/dev/null |
56714            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'`
56715
56716     glibcxx_gnu_ld_version=`echo $ldver | \
56717            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56718     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56719 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56720   fi
56721
56722   # Set --gc-sections.
56723   glibcxx_have_gc_sections=no
56724   if test "$glibcxx_ld_is_gold" = "yes"; then
56725     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56726       glibcxx_have_gc_sections=yes
56727     fi
56728   else
56729     glibcxx_gcsections_min_ld=21602
56730     if test x"$with_gnu_ld" = x"yes" &&
56731         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56732       glibcxx_have_gc_sections=yes
56733     fi
56734   fi
56735   if test "$glibcxx_have_gc_sections" = "yes"; then
56736     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56737     # NB: This flag only works reliably after 2.16.1. Configure tests
56738     # for this are difficult, so hard wire a value that should work.
56739
56740     ac_test_CFLAGS="${CFLAGS+set}"
56741     ac_save_CFLAGS="$CFLAGS"
56742     CFLAGS='-Wl,--gc-sections'
56743
56744     # Check for -Wl,--gc-sections
56745     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56746 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56747     if test x$gcc_no_link = xyes; then
56748   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56749 fi
56750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56751 /* end confdefs.h.  */
56752  int one(void) { return 1; }
56753      int two(void) { return 2; }
56754
56755 int
56756 main ()
56757 {
56758  two();
56759   ;
56760   return 0;
56761 }
56762 _ACEOF
56763 if ac_fn_c_try_link "$LINENO"; then :
56764   ac_gcsections=yes
56765 else
56766   ac_gcsections=no
56767 fi
56768 rm -f core conftest.err conftest.$ac_objext \
56769     conftest$ac_exeext conftest.$ac_ext
56770     if test "$ac_gcsections" = "yes"; then
56771       rm -f conftest.c
56772       touch conftest.c
56773       if $CC -c conftest.c; then
56774         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56775            grep "Warning: gc-sections option ignored" > /dev/null; then
56776           ac_gcsections=no
56777         fi
56778       fi
56779       rm -f conftest.c conftest.o conftest
56780     fi
56781     if test "$ac_gcsections" = "yes"; then
56782       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56783     fi
56784     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56785 $as_echo "$ac_gcsections" >&6; }
56786
56787     if test "$ac_test_CFLAGS" = set; then
56788       CFLAGS="$ac_save_CFLAGS"
56789     else
56790       # this is the suspicious part
56791       CFLAGS=''
56792     fi
56793   fi
56794
56795   # Set -z,relro.
56796   # Note this is only for shared objects.
56797   ac_ld_relro=no
56798   if test x"$with_gnu_ld" = x"yes"; then
56799     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56800 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56801     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56802     if test -n "$cxx_z_relo"; then
56803       OPT_LDFLAGS="-Wl,-z,relro"
56804       ac_ld_relro=yes
56805     fi
56806     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56807 $as_echo "$ac_ld_relro" >&6; }
56808   fi
56809
56810   # Set linker optimization flags.
56811   if test x"$with_gnu_ld" = x"yes"; then
56812     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56813   fi
56814
56815
56816
56817
56818     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56819
56820     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56821
56822     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56823
56824     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56825
56826     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56827
56828     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56829
56830     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56831
56832     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56833
56834     if test x"long_double_math_on_this_cpu" = x"yes"; then
56835       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56836
56837       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56838
56839       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56840
56841     fi
56842     ;;
56843   *-netware)
56844     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56845
56846
56847   # If we're not using GNU ld, then there's no point in even trying these
56848   # tests.  Check for that first.  We should have already tested for gld
56849   # by now (in libtool), but require it now just to be safe...
56850   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56851   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56852
56853
56854
56855   # The name set by libtool depends on the version of libtool.  Shame on us
56856   # for depending on an impl detail, but c'est la vie.  Older versions used
56857   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56858   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56859   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56860   # set (hence we're using an older libtool), then set it.
56861   if test x${with_gnu_ld+set} != xset; then
56862     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56863       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56864       with_gnu_ld=no
56865     else
56866       with_gnu_ld=$ac_cv_prog_gnu_ld
56867     fi
56868   fi
56869
56870   # Start by getting the version number.  I think the libtool test already
56871   # does some of this, but throws away the result.
56872   glibcxx_ld_is_gold=no
56873   if test x"$with_gnu_ld" = x"yes"; then
56874     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56875 $as_echo_n "checking for ld version... " >&6; }
56876
56877     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56878       glibcxx_ld_is_gold=yes
56879     fi
56880     ldver=`$LD --version 2>/dev/null |
56881            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'`
56882
56883     glibcxx_gnu_ld_version=`echo $ldver | \
56884            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56885     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56886 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56887   fi
56888
56889   # Set --gc-sections.
56890   glibcxx_have_gc_sections=no
56891   if test "$glibcxx_ld_is_gold" = "yes"; then
56892     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56893       glibcxx_have_gc_sections=yes
56894     fi
56895   else
56896     glibcxx_gcsections_min_ld=21602
56897     if test x"$with_gnu_ld" = x"yes" &&
56898         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56899       glibcxx_have_gc_sections=yes
56900     fi
56901   fi
56902   if test "$glibcxx_have_gc_sections" = "yes"; then
56903     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56904     # NB: This flag only works reliably after 2.16.1. Configure tests
56905     # for this are difficult, so hard wire a value that should work.
56906
56907     ac_test_CFLAGS="${CFLAGS+set}"
56908     ac_save_CFLAGS="$CFLAGS"
56909     CFLAGS='-Wl,--gc-sections'
56910
56911     # Check for -Wl,--gc-sections
56912     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56913 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56914     if test x$gcc_no_link = xyes; then
56915   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56916 fi
56917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56918 /* end confdefs.h.  */
56919  int one(void) { return 1; }
56920      int two(void) { return 2; }
56921
56922 int
56923 main ()
56924 {
56925  two();
56926   ;
56927   return 0;
56928 }
56929 _ACEOF
56930 if ac_fn_c_try_link "$LINENO"; then :
56931   ac_gcsections=yes
56932 else
56933   ac_gcsections=no
56934 fi
56935 rm -f core conftest.err conftest.$ac_objext \
56936     conftest$ac_exeext conftest.$ac_ext
56937     if test "$ac_gcsections" = "yes"; then
56938       rm -f conftest.c
56939       touch conftest.c
56940       if $CC -c conftest.c; then
56941         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56942            grep "Warning: gc-sections option ignored" > /dev/null; then
56943           ac_gcsections=no
56944         fi
56945       fi
56946       rm -f conftest.c conftest.o conftest
56947     fi
56948     if test "$ac_gcsections" = "yes"; then
56949       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56950     fi
56951     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56952 $as_echo "$ac_gcsections" >&6; }
56953
56954     if test "$ac_test_CFLAGS" = set; then
56955       CFLAGS="$ac_save_CFLAGS"
56956     else
56957       # this is the suspicious part
56958       CFLAGS=''
56959     fi
56960   fi
56961
56962   # Set -z,relro.
56963   # Note this is only for shared objects.
56964   ac_ld_relro=no
56965   if test x"$with_gnu_ld" = x"yes"; then
56966     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56967 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56968     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56969     if test -n "$cxx_z_relo"; then
56970       OPT_LDFLAGS="-Wl,-z,relro"
56971       ac_ld_relro=yes
56972     fi
56973     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56974 $as_echo "$ac_ld_relro" >&6; }
56975   fi
56976
56977   # Set linker optimization flags.
56978   if test x"$with_gnu_ld" = x"yes"; then
56979     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56980   fi
56981
56982
56983
56984
56985     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56986
56987     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56988
56989     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56990
56991     ;;
56992   *-qnx6.1* | *-qnx6.2*)
56993     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56994
56995
56996   # If we're not using GNU ld, then there's no point in even trying these
56997   # tests.  Check for that first.  We should have already tested for gld
56998   # by now (in libtool), but require it now just to be safe...
56999   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57000   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57001
57002
57003
57004   # The name set by libtool depends on the version of libtool.  Shame on us
57005   # for depending on an impl detail, but c'est la vie.  Older versions used
57006   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57007   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57008   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57009   # set (hence we're using an older libtool), then set it.
57010   if test x${with_gnu_ld+set} != xset; then
57011     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57012       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57013       with_gnu_ld=no
57014     else
57015       with_gnu_ld=$ac_cv_prog_gnu_ld
57016     fi
57017   fi
57018
57019   # Start by getting the version number.  I think the libtool test already
57020   # does some of this, but throws away the result.
57021   glibcxx_ld_is_gold=no
57022   if test x"$with_gnu_ld" = x"yes"; then
57023     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57024 $as_echo_n "checking for ld version... " >&6; }
57025
57026     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57027       glibcxx_ld_is_gold=yes
57028     fi
57029     ldver=`$LD --version 2>/dev/null |
57030            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'`
57031
57032     glibcxx_gnu_ld_version=`echo $ldver | \
57033            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57034     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57035 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57036   fi
57037
57038   # Set --gc-sections.
57039   glibcxx_have_gc_sections=no
57040   if test "$glibcxx_ld_is_gold" = "yes"; then
57041     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57042       glibcxx_have_gc_sections=yes
57043     fi
57044   else
57045     glibcxx_gcsections_min_ld=21602
57046     if test x"$with_gnu_ld" = x"yes" &&
57047         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57048       glibcxx_have_gc_sections=yes
57049     fi
57050   fi
57051   if test "$glibcxx_have_gc_sections" = "yes"; then
57052     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57053     # NB: This flag only works reliably after 2.16.1. Configure tests
57054     # for this are difficult, so hard wire a value that should work.
57055
57056     ac_test_CFLAGS="${CFLAGS+set}"
57057     ac_save_CFLAGS="$CFLAGS"
57058     CFLAGS='-Wl,--gc-sections'
57059
57060     # Check for -Wl,--gc-sections
57061     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57062 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57063     if test x$gcc_no_link = xyes; then
57064   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57065 fi
57066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57067 /* end confdefs.h.  */
57068  int one(void) { return 1; }
57069      int two(void) { return 2; }
57070
57071 int
57072 main ()
57073 {
57074  two();
57075   ;
57076   return 0;
57077 }
57078 _ACEOF
57079 if ac_fn_c_try_link "$LINENO"; then :
57080   ac_gcsections=yes
57081 else
57082   ac_gcsections=no
57083 fi
57084 rm -f core conftest.err conftest.$ac_objext \
57085     conftest$ac_exeext conftest.$ac_ext
57086     if test "$ac_gcsections" = "yes"; then
57087       rm -f conftest.c
57088       touch conftest.c
57089       if $CC -c conftest.c; then
57090         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57091            grep "Warning: gc-sections option ignored" > /dev/null; then
57092           ac_gcsections=no
57093         fi
57094       fi
57095       rm -f conftest.c conftest.o conftest
57096     fi
57097     if test "$ac_gcsections" = "yes"; then
57098       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57099     fi
57100     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57101 $as_echo "$ac_gcsections" >&6; }
57102
57103     if test "$ac_test_CFLAGS" = set; then
57104       CFLAGS="$ac_save_CFLAGS"
57105     else
57106       # this is the suspicious part
57107       CFLAGS=''
57108     fi
57109   fi
57110
57111   # Set -z,relro.
57112   # Note this is only for shared objects.
57113   ac_ld_relro=no
57114   if test x"$with_gnu_ld" = x"yes"; then
57115     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57116 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57117     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57118     if test -n "$cxx_z_relo"; then
57119       OPT_LDFLAGS="-Wl,-z,relro"
57120       ac_ld_relro=yes
57121     fi
57122     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57123 $as_echo "$ac_ld_relro" >&6; }
57124   fi
57125
57126   # Set linker optimization flags.
57127   if test x"$with_gnu_ld" = x"yes"; then
57128     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57129   fi
57130
57131
57132
57133
57134     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57135
57136     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57137
57138     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57139
57140     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57141
57142     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57143
57144     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57145
57146     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57147
57148     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57149
57150     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57151
57152     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57153
57154     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57155
57156     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57157
57158     ;;
57159   *-rtems*)
57160
57161   # All these tests are for C++; save the language and the compiler flags.
57162   # The CXXFLAGS thing is suspicious, but based on similar bits previously
57163   # found in GLIBCXX_CONFIGURE.
57164
57165   ac_ext=cpp
57166 ac_cpp='$CXXCPP $CPPFLAGS'
57167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57170
57171   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57172   ac_save_CXXFLAGS="$CXXFLAGS"
57173
57174   # Check for maintainer-mode bits.
57175   if test x"$USE_MAINTAINER_MODE" = xno; then
57176     WERROR=''
57177   else
57178     WERROR='-Werror'
57179   fi
57180
57181   # Check for -ffunction-sections -fdata-sections
57182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57183 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57184   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57186 /* end confdefs.h.  */
57187 int foo; void bar() { };
57188 int
57189 main ()
57190 {
57191
57192   ;
57193   return 0;
57194 }
57195 _ACEOF
57196 if ac_fn_cxx_try_compile "$LINENO"; then :
57197   ac_fdsections=yes
57198 else
57199   ac_fdsections=no
57200 fi
57201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57202   if test "$ac_test_CXXFLAGS" = set; then
57203     CXXFLAGS="$ac_save_CXXFLAGS"
57204   else
57205     # this is the suspicious part
57206     CXXFLAGS=''
57207   fi
57208   if test x"$ac_fdsections" = x"yes"; then
57209     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57210   fi
57211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57212 $as_echo "$ac_fdsections" >&6; }
57213
57214   ac_ext=c
57215 ac_cpp='$CPP $CPPFLAGS'
57216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57219
57220
57221
57222
57223
57224   # If we're not using GNU ld, then there's no point in even trying these
57225   # tests.  Check for that first.  We should have already tested for gld
57226   # by now (in libtool), but require it now just to be safe...
57227   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57228   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57229
57230
57231
57232   # The name set by libtool depends on the version of libtool.  Shame on us
57233   # for depending on an impl detail, but c'est la vie.  Older versions used
57234   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57235   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57236   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57237   # set (hence we're using an older libtool), then set it.
57238   if test x${with_gnu_ld+set} != xset; then
57239     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57240       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57241       with_gnu_ld=no
57242     else
57243       with_gnu_ld=$ac_cv_prog_gnu_ld
57244     fi
57245   fi
57246
57247   # Start by getting the version number.  I think the libtool test already
57248   # does some of this, but throws away the result.
57249   glibcxx_ld_is_gold=no
57250   if test x"$with_gnu_ld" = x"yes"; then
57251     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57252 $as_echo_n "checking for ld version... " >&6; }
57253
57254     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57255       glibcxx_ld_is_gold=yes
57256     fi
57257     ldver=`$LD --version 2>/dev/null |
57258            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'`
57259
57260     glibcxx_gnu_ld_version=`echo $ldver | \
57261            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57262     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57263 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57264   fi
57265
57266   # Set --gc-sections.
57267   glibcxx_have_gc_sections=no
57268   if test "$glibcxx_ld_is_gold" = "yes"; then
57269     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57270       glibcxx_have_gc_sections=yes
57271     fi
57272   else
57273     glibcxx_gcsections_min_ld=21602
57274     if test x"$with_gnu_ld" = x"yes" &&
57275         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57276       glibcxx_have_gc_sections=yes
57277     fi
57278   fi
57279   if test "$glibcxx_have_gc_sections" = "yes"; then
57280     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57281     # NB: This flag only works reliably after 2.16.1. Configure tests
57282     # for this are difficult, so hard wire a value that should work.
57283
57284     ac_test_CFLAGS="${CFLAGS+set}"
57285     ac_save_CFLAGS="$CFLAGS"
57286     CFLAGS='-Wl,--gc-sections'
57287
57288     # Check for -Wl,--gc-sections
57289     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57290 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57291     if test x$gcc_no_link = xyes; then
57292   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57293 fi
57294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57295 /* end confdefs.h.  */
57296  int one(void) { return 1; }
57297      int two(void) { return 2; }
57298
57299 int
57300 main ()
57301 {
57302  two();
57303   ;
57304   return 0;
57305 }
57306 _ACEOF
57307 if ac_fn_c_try_link "$LINENO"; then :
57308   ac_gcsections=yes
57309 else
57310   ac_gcsections=no
57311 fi
57312 rm -f core conftest.err conftest.$ac_objext \
57313     conftest$ac_exeext conftest.$ac_ext
57314     if test "$ac_gcsections" = "yes"; then
57315       rm -f conftest.c
57316       touch conftest.c
57317       if $CC -c conftest.c; then
57318         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57319            grep "Warning: gc-sections option ignored" > /dev/null; then
57320           ac_gcsections=no
57321         fi
57322       fi
57323       rm -f conftest.c conftest.o conftest
57324     fi
57325     if test "$ac_gcsections" = "yes"; then
57326       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57327     fi
57328     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57329 $as_echo "$ac_gcsections" >&6; }
57330
57331     if test "$ac_test_CFLAGS" = set; then
57332       CFLAGS="$ac_save_CFLAGS"
57333     else
57334       # this is the suspicious part
57335       CFLAGS=''
57336     fi
57337   fi
57338
57339   # Set -z,relro.
57340   # Note this is only for shared objects.
57341   ac_ld_relro=no
57342   if test x"$with_gnu_ld" = x"yes"; then
57343     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57344 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57345     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57346     if test -n "$cxx_z_relo"; then
57347       OPT_LDFLAGS="-Wl,-z,relro"
57348       ac_ld_relro=yes
57349     fi
57350     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57351 $as_echo "$ac_ld_relro" >&6; }
57352   fi
57353
57354   # Set linker optimization flags.
57355   if test x"$with_gnu_ld" = x"yes"; then
57356     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57357   fi
57358
57359
57360
57361
57362
57363   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57364   ac_save_CXXFLAGS="$CXXFLAGS"
57365   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57366
57367     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
57368 $as_echo_n "checking for sin in -lm... " >&6; }
57369 if test "${ac_cv_lib_m_sin+set}" = set; then :
57370   $as_echo_n "(cached) " >&6
57371 else
57372   ac_check_lib_save_LIBS=$LIBS
57373 LIBS="-lm  $LIBS"
57374 if test x$gcc_no_link = xyes; then
57375   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57376 fi
57377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57378 /* end confdefs.h.  */
57379
57380 /* Override any GCC internal prototype to avoid an error.
57381    Use char because int might match the return type of a GCC
57382    builtin and then its argument prototype would still apply.  */
57383 #ifdef __cplusplus
57384 extern "C"
57385 #endif
57386 char sin ();
57387 int
57388 main ()
57389 {
57390 return sin ();
57391   ;
57392   return 0;
57393 }
57394 _ACEOF
57395 if ac_fn_c_try_link "$LINENO"; then :
57396   ac_cv_lib_m_sin=yes
57397 else
57398   ac_cv_lib_m_sin=no
57399 fi
57400 rm -f core conftest.err conftest.$ac_objext \
57401     conftest$ac_exeext conftest.$ac_ext
57402 LIBS=$ac_check_lib_save_LIBS
57403 fi
57404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
57405 $as_echo "$ac_cv_lib_m_sin" >&6; }
57406 if test "x$ac_cv_lib_m_sin" = x""yes; then :
57407   libm="-lm"
57408 fi
57409
57410   ac_save_LIBS="$LIBS"
57411   LIBS="$LIBS $libm"
57412
57413
57414
57415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
57416 $as_echo_n "checking for isinf declaration... " >&6; }
57417   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
57418     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
57419   $as_echo_n "(cached) " >&6
57420 else
57421
57422
57423       ac_ext=cpp
57424 ac_cpp='$CXXCPP $CPPFLAGS'
57425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57428
57429       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57430 /* end confdefs.h.  */
57431 #include <math.h>
57432                       #ifdef HAVE_IEEEFP_H
57433                       #include <ieeefp.h>
57434                       #endif
57435
57436 int
57437 main ()
57438 {
57439  isinf(0);
57440   ;
57441   return 0;
57442 }
57443 _ACEOF
57444 if ac_fn_cxx_try_compile "$LINENO"; then :
57445   glibcxx_cv_func_isinf_use=yes
57446 else
57447   glibcxx_cv_func_isinf_use=no
57448 fi
57449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57450       ac_ext=c
57451 ac_cpp='$CPP $CPPFLAGS'
57452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57455
57456
57457 fi
57458
57459   fi
57460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
57461 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
57462
57463   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
57464     for ac_func in isinf
57465 do :
57466   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
57467 if test "x$ac_cv_func_isinf" = x""yes; then :
57468   cat >>confdefs.h <<_ACEOF
57469 #define HAVE_ISINF 1
57470 _ACEOF
57471
57472 fi
57473 done
57474
57475   else
57476
57477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
57478 $as_echo_n "checking for _isinf declaration... " >&6; }
57479   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
57480     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
57481   $as_echo_n "(cached) " >&6
57482 else
57483
57484
57485       ac_ext=cpp
57486 ac_cpp='$CXXCPP $CPPFLAGS'
57487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57490
57491       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57492 /* end confdefs.h.  */
57493 #include <math.h>
57494                       #ifdef HAVE_IEEEFP_H
57495                       #include <ieeefp.h>
57496                       #endif
57497
57498 int
57499 main ()
57500 {
57501  _isinf(0);
57502   ;
57503   return 0;
57504 }
57505 _ACEOF
57506 if ac_fn_cxx_try_compile "$LINENO"; then :
57507   glibcxx_cv_func__isinf_use=yes
57508 else
57509   glibcxx_cv_func__isinf_use=no
57510 fi
57511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57512       ac_ext=c
57513 ac_cpp='$CPP $CPPFLAGS'
57514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57517
57518
57519 fi
57520
57521   fi
57522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
57523 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
57524
57525     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
57526       for ac_func in _isinf
57527 do :
57528   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
57529 if test "x$ac_cv_func__isinf" = x""yes; then :
57530   cat >>confdefs.h <<_ACEOF
57531 #define HAVE__ISINF 1
57532 _ACEOF
57533
57534 fi
57535 done
57536
57537     fi
57538   fi
57539
57540
57541
57542
57543
57544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
57545 $as_echo_n "checking for isnan declaration... " >&6; }
57546   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
57547     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
57548   $as_echo_n "(cached) " >&6
57549 else
57550
57551
57552       ac_ext=cpp
57553 ac_cpp='$CXXCPP $CPPFLAGS'
57554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57557
57558       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57559 /* end confdefs.h.  */
57560 #include <math.h>
57561                       #ifdef HAVE_IEEEFP_H
57562                       #include <ieeefp.h>
57563                       #endif
57564
57565 int
57566 main ()
57567 {
57568  isnan(0);
57569   ;
57570   return 0;
57571 }
57572 _ACEOF
57573 if ac_fn_cxx_try_compile "$LINENO"; then :
57574   glibcxx_cv_func_isnan_use=yes
57575 else
57576   glibcxx_cv_func_isnan_use=no
57577 fi
57578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57579       ac_ext=c
57580 ac_cpp='$CPP $CPPFLAGS'
57581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57584
57585
57586 fi
57587
57588   fi
57589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
57590 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
57591
57592   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
57593     for ac_func in isnan
57594 do :
57595   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
57596 if test "x$ac_cv_func_isnan" = x""yes; then :
57597   cat >>confdefs.h <<_ACEOF
57598 #define HAVE_ISNAN 1
57599 _ACEOF
57600
57601 fi
57602 done
57603
57604   else
57605
57606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
57607 $as_echo_n "checking for _isnan declaration... " >&6; }
57608   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
57609     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
57610   $as_echo_n "(cached) " >&6
57611 else
57612
57613
57614       ac_ext=cpp
57615 ac_cpp='$CXXCPP $CPPFLAGS'
57616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57619
57620       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57621 /* end confdefs.h.  */
57622 #include <math.h>
57623                       #ifdef HAVE_IEEEFP_H
57624                       #include <ieeefp.h>
57625                       #endif
57626
57627 int
57628 main ()
57629 {
57630  _isnan(0);
57631   ;
57632   return 0;
57633 }
57634 _ACEOF
57635 if ac_fn_cxx_try_compile "$LINENO"; then :
57636   glibcxx_cv_func__isnan_use=yes
57637 else
57638   glibcxx_cv_func__isnan_use=no
57639 fi
57640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57641       ac_ext=c
57642 ac_cpp='$CPP $CPPFLAGS'
57643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57646
57647
57648 fi
57649
57650   fi
57651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
57652 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
57653
57654     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
57655       for ac_func in _isnan
57656 do :
57657   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
57658 if test "x$ac_cv_func__isnan" = x""yes; then :
57659   cat >>confdefs.h <<_ACEOF
57660 #define HAVE__ISNAN 1
57661 _ACEOF
57662
57663 fi
57664 done
57665
57666     fi
57667   fi
57668
57669
57670
57671
57672
57673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
57674 $as_echo_n "checking for finite declaration... " >&6; }
57675   if test x${glibcxx_cv_func_finite_use+set} != xset; then
57676     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
57677   $as_echo_n "(cached) " >&6
57678 else
57679
57680
57681       ac_ext=cpp
57682 ac_cpp='$CXXCPP $CPPFLAGS'
57683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57686
57687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57688 /* end confdefs.h.  */
57689 #include <math.h>
57690                       #ifdef HAVE_IEEEFP_H
57691                       #include <ieeefp.h>
57692                       #endif
57693
57694 int
57695 main ()
57696 {
57697  finite(0);
57698   ;
57699   return 0;
57700 }
57701 _ACEOF
57702 if ac_fn_cxx_try_compile "$LINENO"; then :
57703   glibcxx_cv_func_finite_use=yes
57704 else
57705   glibcxx_cv_func_finite_use=no
57706 fi
57707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57708       ac_ext=c
57709 ac_cpp='$CPP $CPPFLAGS'
57710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57713
57714
57715 fi
57716
57717   fi
57718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
57719 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
57720
57721   if test x$glibcxx_cv_func_finite_use = x"yes"; then
57722     for ac_func in finite
57723 do :
57724   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
57725 if test "x$ac_cv_func_finite" = x""yes; then :
57726   cat >>confdefs.h <<_ACEOF
57727 #define HAVE_FINITE 1
57728 _ACEOF
57729
57730 fi
57731 done
57732
57733   else
57734
57735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
57736 $as_echo_n "checking for _finite declaration... " >&6; }
57737   if test x${glibcxx_cv_func__finite_use+set} != xset; then
57738     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
57739   $as_echo_n "(cached) " >&6
57740 else
57741
57742
57743       ac_ext=cpp
57744 ac_cpp='$CXXCPP $CPPFLAGS'
57745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57748
57749       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57750 /* end confdefs.h.  */
57751 #include <math.h>
57752                       #ifdef HAVE_IEEEFP_H
57753                       #include <ieeefp.h>
57754                       #endif
57755
57756 int
57757 main ()
57758 {
57759  _finite(0);
57760   ;
57761   return 0;
57762 }
57763 _ACEOF
57764 if ac_fn_cxx_try_compile "$LINENO"; then :
57765   glibcxx_cv_func__finite_use=yes
57766 else
57767   glibcxx_cv_func__finite_use=no
57768 fi
57769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57770       ac_ext=c
57771 ac_cpp='$CPP $CPPFLAGS'
57772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57775
57776
57777 fi
57778
57779   fi
57780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
57781 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
57782
57783     if test x$glibcxx_cv_func__finite_use = x"yes"; then
57784       for ac_func in _finite
57785 do :
57786   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
57787 if test "x$ac_cv_func__finite" = x""yes; then :
57788   cat >>confdefs.h <<_ACEOF
57789 #define HAVE__FINITE 1
57790 _ACEOF
57791
57792 fi
57793 done
57794
57795     fi
57796   fi
57797
57798
57799
57800
57801
57802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
57803 $as_echo_n "checking for sincos declaration... " >&6; }
57804   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
57805     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
57806   $as_echo_n "(cached) " >&6
57807 else
57808
57809
57810       ac_ext=cpp
57811 ac_cpp='$CXXCPP $CPPFLAGS'
57812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57815
57816       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57817 /* end confdefs.h.  */
57818 #include <math.h>
57819 int
57820 main ()
57821 {
57822  sincos(0, 0, 0);
57823   ;
57824   return 0;
57825 }
57826 _ACEOF
57827 if ac_fn_cxx_try_compile "$LINENO"; then :
57828   glibcxx_cv_func_sincos_use=yes
57829 else
57830   glibcxx_cv_func_sincos_use=no
57831 fi
57832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57833       ac_ext=c
57834 ac_cpp='$CPP $CPPFLAGS'
57835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57838
57839
57840 fi
57841
57842   fi
57843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
57844 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
57845
57846   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
57847     for ac_func in sincos
57848 do :
57849   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
57850 if test "x$ac_cv_func_sincos" = x""yes; then :
57851   cat >>confdefs.h <<_ACEOF
57852 #define HAVE_SINCOS 1
57853 _ACEOF
57854
57855 fi
57856 done
57857
57858   else
57859
57860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
57861 $as_echo_n "checking for _sincos declaration... " >&6; }
57862   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
57863     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
57864   $as_echo_n "(cached) " >&6
57865 else
57866
57867
57868       ac_ext=cpp
57869 ac_cpp='$CXXCPP $CPPFLAGS'
57870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57873
57874       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57875 /* end confdefs.h.  */
57876 #include <math.h>
57877 int
57878 main ()
57879 {
57880  _sincos(0, 0, 0);
57881   ;
57882   return 0;
57883 }
57884 _ACEOF
57885 if ac_fn_cxx_try_compile "$LINENO"; then :
57886   glibcxx_cv_func__sincos_use=yes
57887 else
57888   glibcxx_cv_func__sincos_use=no
57889 fi
57890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57891       ac_ext=c
57892 ac_cpp='$CPP $CPPFLAGS'
57893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57896
57897
57898 fi
57899
57900   fi
57901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
57902 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
57903
57904     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
57905       for ac_func in _sincos
57906 do :
57907   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
57908 if test "x$ac_cv_func__sincos" = x""yes; then :
57909   cat >>confdefs.h <<_ACEOF
57910 #define HAVE__SINCOS 1
57911 _ACEOF
57912
57913 fi
57914 done
57915
57916     fi
57917   fi
57918
57919
57920
57921
57922
57923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
57924 $as_echo_n "checking for fpclass declaration... " >&6; }
57925   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
57926     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
57927   $as_echo_n "(cached) " >&6
57928 else
57929
57930
57931       ac_ext=cpp
57932 ac_cpp='$CXXCPP $CPPFLAGS'
57933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57936
57937       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57938 /* end confdefs.h.  */
57939 #include <math.h>
57940                       #ifdef HAVE_IEEEFP_H
57941                       #include <ieeefp.h>
57942                       #endif
57943
57944 int
57945 main ()
57946 {
57947  fpclass(0);
57948   ;
57949   return 0;
57950 }
57951 _ACEOF
57952 if ac_fn_cxx_try_compile "$LINENO"; then :
57953   glibcxx_cv_func_fpclass_use=yes
57954 else
57955   glibcxx_cv_func_fpclass_use=no
57956 fi
57957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57958       ac_ext=c
57959 ac_cpp='$CPP $CPPFLAGS'
57960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57963
57964
57965 fi
57966
57967   fi
57968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
57969 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
57970
57971   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
57972     for ac_func in fpclass
57973 do :
57974   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
57975 if test "x$ac_cv_func_fpclass" = x""yes; then :
57976   cat >>confdefs.h <<_ACEOF
57977 #define HAVE_FPCLASS 1
57978 _ACEOF
57979
57980 fi
57981 done
57982
57983   else
57984
57985   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
57986 $as_echo_n "checking for _fpclass declaration... " >&6; }
57987   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
57988     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
57989   $as_echo_n "(cached) " >&6
57990 else
57991
57992
57993       ac_ext=cpp
57994 ac_cpp='$CXXCPP $CPPFLAGS'
57995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57998
57999       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58000 /* end confdefs.h.  */
58001 #include <math.h>
58002                       #ifdef HAVE_IEEEFP_H
58003                       #include <ieeefp.h>
58004                       #endif
58005
58006 int
58007 main ()
58008 {
58009  _fpclass(0);
58010   ;
58011   return 0;
58012 }
58013 _ACEOF
58014 if ac_fn_cxx_try_compile "$LINENO"; then :
58015   glibcxx_cv_func__fpclass_use=yes
58016 else
58017   glibcxx_cv_func__fpclass_use=no
58018 fi
58019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58020       ac_ext=c
58021 ac_cpp='$CPP $CPPFLAGS'
58022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58025
58026
58027 fi
58028
58029   fi
58030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58031 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58032
58033     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58034       for ac_func in _fpclass
58035 do :
58036   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58037 if test "x$ac_cv_func__fpclass" = x""yes; then :
58038   cat >>confdefs.h <<_ACEOF
58039 #define HAVE__FPCLASS 1
58040 _ACEOF
58041
58042 fi
58043 done
58044
58045     fi
58046   fi
58047
58048
58049
58050
58051
58052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58053 $as_echo_n "checking for qfpclass declaration... " >&6; }
58054   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58055     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58056   $as_echo_n "(cached) " >&6
58057 else
58058
58059
58060       ac_ext=cpp
58061 ac_cpp='$CXXCPP $CPPFLAGS'
58062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58065
58066       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58067 /* end confdefs.h.  */
58068 #include <math.h>
58069                       #ifdef HAVE_IEEEFP_H
58070                       #include <ieeefp.h>
58071                       #endif
58072
58073 int
58074 main ()
58075 {
58076  qfpclass(0);
58077   ;
58078   return 0;
58079 }
58080 _ACEOF
58081 if ac_fn_cxx_try_compile "$LINENO"; then :
58082   glibcxx_cv_func_qfpclass_use=yes
58083 else
58084   glibcxx_cv_func_qfpclass_use=no
58085 fi
58086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58087       ac_ext=c
58088 ac_cpp='$CPP $CPPFLAGS'
58089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58092
58093
58094 fi
58095
58096   fi
58097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58098 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58099
58100   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58101     for ac_func in qfpclass
58102 do :
58103   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58104 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58105   cat >>confdefs.h <<_ACEOF
58106 #define HAVE_QFPCLASS 1
58107 _ACEOF
58108
58109 fi
58110 done
58111
58112   else
58113
58114   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58115 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58116   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58117     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58118   $as_echo_n "(cached) " >&6
58119 else
58120
58121
58122       ac_ext=cpp
58123 ac_cpp='$CXXCPP $CPPFLAGS'
58124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58127
58128       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58129 /* end confdefs.h.  */
58130 #include <math.h>
58131                       #ifdef HAVE_IEEEFP_H
58132                       #include <ieeefp.h>
58133                       #endif
58134
58135 int
58136 main ()
58137 {
58138  _qfpclass(0);
58139   ;
58140   return 0;
58141 }
58142 _ACEOF
58143 if ac_fn_cxx_try_compile "$LINENO"; then :
58144   glibcxx_cv_func__qfpclass_use=yes
58145 else
58146   glibcxx_cv_func__qfpclass_use=no
58147 fi
58148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58149       ac_ext=c
58150 ac_cpp='$CPP $CPPFLAGS'
58151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58154
58155
58156 fi
58157
58158   fi
58159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58160 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58161
58162     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58163       for ac_func in _qfpclass
58164 do :
58165   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58166 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58167   cat >>confdefs.h <<_ACEOF
58168 #define HAVE__QFPCLASS 1
58169 _ACEOF
58170
58171 fi
58172 done
58173
58174     fi
58175   fi
58176
58177
58178
58179
58180
58181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58182 $as_echo_n "checking for hypot declaration... " >&6; }
58183   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58184     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58185   $as_echo_n "(cached) " >&6
58186 else
58187
58188
58189       ac_ext=cpp
58190 ac_cpp='$CXXCPP $CPPFLAGS'
58191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58194
58195       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58196 /* end confdefs.h.  */
58197 #include <math.h>
58198 int
58199 main ()
58200 {
58201  hypot(0, 0);
58202   ;
58203   return 0;
58204 }
58205 _ACEOF
58206 if ac_fn_cxx_try_compile "$LINENO"; then :
58207   glibcxx_cv_func_hypot_use=yes
58208 else
58209   glibcxx_cv_func_hypot_use=no
58210 fi
58211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58212       ac_ext=c
58213 ac_cpp='$CPP $CPPFLAGS'
58214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58217
58218
58219 fi
58220
58221   fi
58222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58223 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58224
58225   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58226     for ac_func in hypot
58227 do :
58228   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58229 if test "x$ac_cv_func_hypot" = x""yes; then :
58230   cat >>confdefs.h <<_ACEOF
58231 #define HAVE_HYPOT 1
58232 _ACEOF
58233
58234 fi
58235 done
58236
58237   else
58238
58239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58240 $as_echo_n "checking for _hypot declaration... " >&6; }
58241   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58242     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58243   $as_echo_n "(cached) " >&6
58244 else
58245
58246
58247       ac_ext=cpp
58248 ac_cpp='$CXXCPP $CPPFLAGS'
58249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58252
58253       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58254 /* end confdefs.h.  */
58255 #include <math.h>
58256 int
58257 main ()
58258 {
58259  _hypot(0, 0);
58260   ;
58261   return 0;
58262 }
58263 _ACEOF
58264 if ac_fn_cxx_try_compile "$LINENO"; then :
58265   glibcxx_cv_func__hypot_use=yes
58266 else
58267   glibcxx_cv_func__hypot_use=no
58268 fi
58269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58270       ac_ext=c
58271 ac_cpp='$CPP $CPPFLAGS'
58272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58275
58276
58277 fi
58278
58279   fi
58280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58281 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58282
58283     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58284       for ac_func in _hypot
58285 do :
58286   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58287 if test "x$ac_cv_func__hypot" = x""yes; then :
58288   cat >>confdefs.h <<_ACEOF
58289 #define HAVE__HYPOT 1
58290 _ACEOF
58291
58292 fi
58293 done
58294
58295     fi
58296   fi
58297
58298
58299
58300
58301
58302     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58303 $as_echo_n "checking for float trig functions... " >&6; }
58304   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58305   $as_echo_n "(cached) " >&6
58306 else
58307
58308
58309     ac_ext=cpp
58310 ac_cpp='$CXXCPP $CPPFLAGS'
58311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58314
58315     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58316 /* end confdefs.h.  */
58317 #include <math.h>
58318 int
58319 main ()
58320 {
58321 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58322   ;
58323   return 0;
58324 }
58325 _ACEOF
58326 if ac_fn_cxx_try_compile "$LINENO"; then :
58327   glibcxx_cv_func_float_trig_use=yes
58328 else
58329   glibcxx_cv_func_float_trig_use=no
58330 fi
58331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58332     ac_ext=c
58333 ac_cpp='$CPP $CPPFLAGS'
58334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58337
58338 fi
58339
58340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58341 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58342   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58343     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58344 do :
58345   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58346 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58347 eval as_val=\$$as_ac_var
58348    if test "x$as_val" = x""yes; then :
58349   cat >>confdefs.h <<_ACEOF
58350 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58351 _ACEOF
58352
58353 fi
58354 done
58355
58356   else
58357     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
58358 $as_echo_n "checking for _float trig functions... " >&6; }
58359     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
58360   $as_echo_n "(cached) " >&6
58361 else
58362
58363
58364       ac_ext=cpp
58365 ac_cpp='$CXXCPP $CPPFLAGS'
58366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58369
58370       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58371 /* end confdefs.h.  */
58372 #include <math.h>
58373 int
58374 main ()
58375 {
58376 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
58377   ;
58378   return 0;
58379 }
58380 _ACEOF
58381 if ac_fn_cxx_try_compile "$LINENO"; then :
58382   glibcxx_cv_func__float_trig_use=yes
58383 else
58384   glibcxx_cv_func__float_trig_use=no
58385 fi
58386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58387       ac_ext=c
58388 ac_cpp='$CPP $CPPFLAGS'
58389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58392
58393 fi
58394
58395     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
58396 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
58397     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
58398       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
58399 do :
58400   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58401 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58402 eval as_val=\$$as_ac_var
58403    if test "x$as_val" = x""yes; then :
58404   cat >>confdefs.h <<_ACEOF
58405 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58406 _ACEOF
58407
58408 fi
58409 done
58410
58411     fi
58412   fi
58413
58414
58415
58416
58417
58418     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
58419 $as_echo_n "checking for float round functions... " >&6; }
58420   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
58421   $as_echo_n "(cached) " >&6
58422 else
58423
58424
58425     ac_ext=cpp
58426 ac_cpp='$CXXCPP $CPPFLAGS'
58427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58430
58431     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58432 /* end confdefs.h.  */
58433 #include <math.h>
58434 int
58435 main ()
58436 {
58437 ceilf (0); floorf (0);
58438   ;
58439   return 0;
58440 }
58441 _ACEOF
58442 if ac_fn_cxx_try_compile "$LINENO"; then :
58443   glibcxx_cv_func_float_round_use=yes
58444 else
58445   glibcxx_cv_func_float_round_use=no
58446 fi
58447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58448     ac_ext=c
58449 ac_cpp='$CPP $CPPFLAGS'
58450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58453
58454 fi
58455
58456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
58457 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
58458   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
58459     for ac_func in ceilf floorf
58460 do :
58461   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58462 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58463 eval as_val=\$$as_ac_var
58464    if test "x$as_val" = x""yes; then :
58465   cat >>confdefs.h <<_ACEOF
58466 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58467 _ACEOF
58468
58469 fi
58470 done
58471
58472   else
58473     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
58474 $as_echo_n "checking for _float round functions... " >&6; }
58475     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
58476   $as_echo_n "(cached) " >&6
58477 else
58478
58479
58480       ac_ext=cpp
58481 ac_cpp='$CXXCPP $CPPFLAGS'
58482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58485
58486       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58487 /* end confdefs.h.  */
58488 #include <math.h>
58489 int
58490 main ()
58491 {
58492 _ceilf (0); _floorf (0);
58493   ;
58494   return 0;
58495 }
58496 _ACEOF
58497 if ac_fn_cxx_try_compile "$LINENO"; then :
58498   glibcxx_cv_func__float_round_use=yes
58499 else
58500   glibcxx_cv_func__float_round_use=no
58501 fi
58502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58503       ac_ext=c
58504 ac_cpp='$CPP $CPPFLAGS'
58505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58508
58509 fi
58510
58511     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
58512 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
58513     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58514       for ac_func in _ceilf _floorf
58515 do :
58516   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58517 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58518 eval as_val=\$$as_ac_var
58519    if test "x$as_val" = x""yes; then :
58520   cat >>confdefs.h <<_ACEOF
58521 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58522 _ACEOF
58523
58524 fi
58525 done
58526
58527     fi
58528   fi
58529
58530
58531
58532
58533
58534
58535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
58536 $as_echo_n "checking for expf declaration... " >&6; }
58537   if test x${glibcxx_cv_func_expf_use+set} != xset; then
58538     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
58539   $as_echo_n "(cached) " >&6
58540 else
58541
58542
58543       ac_ext=cpp
58544 ac_cpp='$CXXCPP $CPPFLAGS'
58545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58548
58549       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58550 /* end confdefs.h.  */
58551 #include <math.h>
58552                       #ifdef HAVE_IEEEFP_H
58553                       #include <ieeefp.h>
58554                       #endif
58555
58556 int
58557 main ()
58558 {
58559  expf(0);
58560   ;
58561   return 0;
58562 }
58563 _ACEOF
58564 if ac_fn_cxx_try_compile "$LINENO"; then :
58565   glibcxx_cv_func_expf_use=yes
58566 else
58567   glibcxx_cv_func_expf_use=no
58568 fi
58569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58570       ac_ext=c
58571 ac_cpp='$CPP $CPPFLAGS'
58572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58575
58576
58577 fi
58578
58579   fi
58580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
58581 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
58582
58583   if test x$glibcxx_cv_func_expf_use = x"yes"; then
58584     for ac_func in expf
58585 do :
58586   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
58587 if test "x$ac_cv_func_expf" = x""yes; then :
58588   cat >>confdefs.h <<_ACEOF
58589 #define HAVE_EXPF 1
58590 _ACEOF
58591
58592 fi
58593 done
58594
58595   else
58596
58597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
58598 $as_echo_n "checking for _expf declaration... " >&6; }
58599   if test x${glibcxx_cv_func__expf_use+set} != xset; then
58600     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
58601   $as_echo_n "(cached) " >&6
58602 else
58603
58604
58605       ac_ext=cpp
58606 ac_cpp='$CXXCPP $CPPFLAGS'
58607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58610
58611       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58612 /* end confdefs.h.  */
58613 #include <math.h>
58614                       #ifdef HAVE_IEEEFP_H
58615                       #include <ieeefp.h>
58616                       #endif
58617
58618 int
58619 main ()
58620 {
58621  _expf(0);
58622   ;
58623   return 0;
58624 }
58625 _ACEOF
58626 if ac_fn_cxx_try_compile "$LINENO"; then :
58627   glibcxx_cv_func__expf_use=yes
58628 else
58629   glibcxx_cv_func__expf_use=no
58630 fi
58631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58632       ac_ext=c
58633 ac_cpp='$CPP $CPPFLAGS'
58634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58637
58638
58639 fi
58640
58641   fi
58642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
58643 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
58644
58645     if test x$glibcxx_cv_func__expf_use = x"yes"; then
58646       for ac_func in _expf
58647 do :
58648   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
58649 if test "x$ac_cv_func__expf" = x""yes; then :
58650   cat >>confdefs.h <<_ACEOF
58651 #define HAVE__EXPF 1
58652 _ACEOF
58653
58654 fi
58655 done
58656
58657     fi
58658   fi
58659
58660
58661
58662
58663
58664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
58665 $as_echo_n "checking for isnanf declaration... " >&6; }
58666   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58667     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
58668   $as_echo_n "(cached) " >&6
58669 else
58670
58671
58672       ac_ext=cpp
58673 ac_cpp='$CXXCPP $CPPFLAGS'
58674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58677
58678       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58679 /* end confdefs.h.  */
58680 #include <math.h>
58681                       #ifdef HAVE_IEEEFP_H
58682                       #include <ieeefp.h>
58683                       #endif
58684
58685 int
58686 main ()
58687 {
58688  isnanf(0);
58689   ;
58690   return 0;
58691 }
58692 _ACEOF
58693 if ac_fn_cxx_try_compile "$LINENO"; then :
58694   glibcxx_cv_func_isnanf_use=yes
58695 else
58696   glibcxx_cv_func_isnanf_use=no
58697 fi
58698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58699       ac_ext=c
58700 ac_cpp='$CPP $CPPFLAGS'
58701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58704
58705
58706 fi
58707
58708   fi
58709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
58710 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
58711
58712   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58713     for ac_func in isnanf
58714 do :
58715   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
58716 if test "x$ac_cv_func_isnanf" = x""yes; then :
58717   cat >>confdefs.h <<_ACEOF
58718 #define HAVE_ISNANF 1
58719 _ACEOF
58720
58721 fi
58722 done
58723
58724   else
58725
58726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
58727 $as_echo_n "checking for _isnanf declaration... " >&6; }
58728   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
58729     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
58730   $as_echo_n "(cached) " >&6
58731 else
58732
58733
58734       ac_ext=cpp
58735 ac_cpp='$CXXCPP $CPPFLAGS'
58736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58739
58740       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58741 /* end confdefs.h.  */
58742 #include <math.h>
58743                       #ifdef HAVE_IEEEFP_H
58744                       #include <ieeefp.h>
58745                       #endif
58746
58747 int
58748 main ()
58749 {
58750  _isnanf(0);
58751   ;
58752   return 0;
58753 }
58754 _ACEOF
58755 if ac_fn_cxx_try_compile "$LINENO"; then :
58756   glibcxx_cv_func__isnanf_use=yes
58757 else
58758   glibcxx_cv_func__isnanf_use=no
58759 fi
58760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58761       ac_ext=c
58762 ac_cpp='$CPP $CPPFLAGS'
58763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58766
58767
58768 fi
58769
58770   fi
58771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
58772 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
58773
58774     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
58775       for ac_func in _isnanf
58776 do :
58777   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
58778 if test "x$ac_cv_func__isnanf" = x""yes; then :
58779   cat >>confdefs.h <<_ACEOF
58780 #define HAVE__ISNANF 1
58781 _ACEOF
58782
58783 fi
58784 done
58785
58786     fi
58787   fi
58788
58789
58790
58791
58792
58793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
58794 $as_echo_n "checking for isinff declaration... " >&6; }
58795   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
58796     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
58797   $as_echo_n "(cached) " >&6
58798 else
58799
58800
58801       ac_ext=cpp
58802 ac_cpp='$CXXCPP $CPPFLAGS'
58803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58806
58807       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58808 /* end confdefs.h.  */
58809 #include <math.h>
58810                       #ifdef HAVE_IEEEFP_H
58811                       #include <ieeefp.h>
58812                       #endif
58813
58814 int
58815 main ()
58816 {
58817  isinff(0);
58818   ;
58819   return 0;
58820 }
58821 _ACEOF
58822 if ac_fn_cxx_try_compile "$LINENO"; then :
58823   glibcxx_cv_func_isinff_use=yes
58824 else
58825   glibcxx_cv_func_isinff_use=no
58826 fi
58827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58828       ac_ext=c
58829 ac_cpp='$CPP $CPPFLAGS'
58830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58833
58834
58835 fi
58836
58837   fi
58838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
58839 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
58840
58841   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
58842     for ac_func in isinff
58843 do :
58844   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
58845 if test "x$ac_cv_func_isinff" = x""yes; then :
58846   cat >>confdefs.h <<_ACEOF
58847 #define HAVE_ISINFF 1
58848 _ACEOF
58849
58850 fi
58851 done
58852
58853   else
58854
58855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
58856 $as_echo_n "checking for _isinff declaration... " >&6; }
58857   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
58858     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
58859   $as_echo_n "(cached) " >&6
58860 else
58861
58862
58863       ac_ext=cpp
58864 ac_cpp='$CXXCPP $CPPFLAGS'
58865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58868
58869       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58870 /* end confdefs.h.  */
58871 #include <math.h>
58872                       #ifdef HAVE_IEEEFP_H
58873                       #include <ieeefp.h>
58874                       #endif
58875
58876 int
58877 main ()
58878 {
58879  _isinff(0);
58880   ;
58881   return 0;
58882 }
58883 _ACEOF
58884 if ac_fn_cxx_try_compile "$LINENO"; then :
58885   glibcxx_cv_func__isinff_use=yes
58886 else
58887   glibcxx_cv_func__isinff_use=no
58888 fi
58889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58890       ac_ext=c
58891 ac_cpp='$CPP $CPPFLAGS'
58892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58895
58896
58897 fi
58898
58899   fi
58900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
58901 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
58902
58903     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58904       for ac_func in _isinff
58905 do :
58906   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
58907 if test "x$ac_cv_func__isinff" = x""yes; then :
58908   cat >>confdefs.h <<_ACEOF
58909 #define HAVE__ISINFF 1
58910 _ACEOF
58911
58912 fi
58913 done
58914
58915     fi
58916   fi
58917
58918
58919
58920
58921
58922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
58923 $as_echo_n "checking for atan2f declaration... " >&6; }
58924   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58925     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
58926   $as_echo_n "(cached) " >&6
58927 else
58928
58929
58930       ac_ext=cpp
58931 ac_cpp='$CXXCPP $CPPFLAGS'
58932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58935
58936       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58937 /* end confdefs.h.  */
58938 #include <math.h>
58939 int
58940 main ()
58941 {
58942  atan2f(0, 0);
58943   ;
58944   return 0;
58945 }
58946 _ACEOF
58947 if ac_fn_cxx_try_compile "$LINENO"; then :
58948   glibcxx_cv_func_atan2f_use=yes
58949 else
58950   glibcxx_cv_func_atan2f_use=no
58951 fi
58952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58953       ac_ext=c
58954 ac_cpp='$CPP $CPPFLAGS'
58955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58958
58959
58960 fi
58961
58962   fi
58963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
58964 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
58965
58966   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58967     for ac_func in atan2f
58968 do :
58969   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
58970 if test "x$ac_cv_func_atan2f" = x""yes; then :
58971   cat >>confdefs.h <<_ACEOF
58972 #define HAVE_ATAN2F 1
58973 _ACEOF
58974
58975 fi
58976 done
58977
58978   else
58979
58980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
58981 $as_echo_n "checking for _atan2f declaration... " >&6; }
58982   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58983     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
58984   $as_echo_n "(cached) " >&6
58985 else
58986
58987
58988       ac_ext=cpp
58989 ac_cpp='$CXXCPP $CPPFLAGS'
58990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58993
58994       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58995 /* end confdefs.h.  */
58996 #include <math.h>
58997 int
58998 main ()
58999 {
59000  _atan2f(0, 0);
59001   ;
59002   return 0;
59003 }
59004 _ACEOF
59005 if ac_fn_cxx_try_compile "$LINENO"; then :
59006   glibcxx_cv_func__atan2f_use=yes
59007 else
59008   glibcxx_cv_func__atan2f_use=no
59009 fi
59010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59011       ac_ext=c
59012 ac_cpp='$CPP $CPPFLAGS'
59013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59016
59017
59018 fi
59019
59020   fi
59021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59022 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59023
59024     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59025       for ac_func in _atan2f
59026 do :
59027   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59028 if test "x$ac_cv_func__atan2f" = x""yes; then :
59029   cat >>confdefs.h <<_ACEOF
59030 #define HAVE__ATAN2F 1
59031 _ACEOF
59032
59033 fi
59034 done
59035
59036     fi
59037   fi
59038
59039
59040
59041
59042
59043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59044 $as_echo_n "checking for fabsf declaration... " >&6; }
59045   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59046     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59047   $as_echo_n "(cached) " >&6
59048 else
59049
59050
59051       ac_ext=cpp
59052 ac_cpp='$CXXCPP $CPPFLAGS'
59053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59056
59057       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59058 /* end confdefs.h.  */
59059 #include <math.h>
59060                       #ifdef HAVE_IEEEFP_H
59061                       #include <ieeefp.h>
59062                       #endif
59063
59064 int
59065 main ()
59066 {
59067  fabsf(0);
59068   ;
59069   return 0;
59070 }
59071 _ACEOF
59072 if ac_fn_cxx_try_compile "$LINENO"; then :
59073   glibcxx_cv_func_fabsf_use=yes
59074 else
59075   glibcxx_cv_func_fabsf_use=no
59076 fi
59077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59078       ac_ext=c
59079 ac_cpp='$CPP $CPPFLAGS'
59080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59083
59084
59085 fi
59086
59087   fi
59088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59089 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59090
59091   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59092     for ac_func in fabsf
59093 do :
59094   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59095 if test "x$ac_cv_func_fabsf" = x""yes; then :
59096   cat >>confdefs.h <<_ACEOF
59097 #define HAVE_FABSF 1
59098 _ACEOF
59099
59100 fi
59101 done
59102
59103   else
59104
59105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59106 $as_echo_n "checking for _fabsf declaration... " >&6; }
59107   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59108     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59109   $as_echo_n "(cached) " >&6
59110 else
59111
59112
59113       ac_ext=cpp
59114 ac_cpp='$CXXCPP $CPPFLAGS'
59115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59118
59119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59120 /* end confdefs.h.  */
59121 #include <math.h>
59122                       #ifdef HAVE_IEEEFP_H
59123                       #include <ieeefp.h>
59124                       #endif
59125
59126 int
59127 main ()
59128 {
59129  _fabsf(0);
59130   ;
59131   return 0;
59132 }
59133 _ACEOF
59134 if ac_fn_cxx_try_compile "$LINENO"; then :
59135   glibcxx_cv_func__fabsf_use=yes
59136 else
59137   glibcxx_cv_func__fabsf_use=no
59138 fi
59139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59140       ac_ext=c
59141 ac_cpp='$CPP $CPPFLAGS'
59142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59145
59146
59147 fi
59148
59149   fi
59150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59151 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59152
59153     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59154       for ac_func in _fabsf
59155 do :
59156   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59157 if test "x$ac_cv_func__fabsf" = x""yes; then :
59158   cat >>confdefs.h <<_ACEOF
59159 #define HAVE__FABSF 1
59160 _ACEOF
59161
59162 fi
59163 done
59164
59165     fi
59166   fi
59167
59168
59169
59170
59171
59172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59173 $as_echo_n "checking for fmodf declaration... " >&6; }
59174   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59175     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59176   $as_echo_n "(cached) " >&6
59177 else
59178
59179
59180       ac_ext=cpp
59181 ac_cpp='$CXXCPP $CPPFLAGS'
59182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59185
59186       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59187 /* end confdefs.h.  */
59188 #include <math.h>
59189 int
59190 main ()
59191 {
59192  fmodf(0, 0);
59193   ;
59194   return 0;
59195 }
59196 _ACEOF
59197 if ac_fn_cxx_try_compile "$LINENO"; then :
59198   glibcxx_cv_func_fmodf_use=yes
59199 else
59200   glibcxx_cv_func_fmodf_use=no
59201 fi
59202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59203       ac_ext=c
59204 ac_cpp='$CPP $CPPFLAGS'
59205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59208
59209
59210 fi
59211
59212   fi
59213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59214 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59215
59216   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59217     for ac_func in fmodf
59218 do :
59219   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59220 if test "x$ac_cv_func_fmodf" = x""yes; then :
59221   cat >>confdefs.h <<_ACEOF
59222 #define HAVE_FMODF 1
59223 _ACEOF
59224
59225 fi
59226 done
59227
59228   else
59229
59230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59231 $as_echo_n "checking for _fmodf declaration... " >&6; }
59232   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59233     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59234   $as_echo_n "(cached) " >&6
59235 else
59236
59237
59238       ac_ext=cpp
59239 ac_cpp='$CXXCPP $CPPFLAGS'
59240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59243
59244       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59245 /* end confdefs.h.  */
59246 #include <math.h>
59247 int
59248 main ()
59249 {
59250  _fmodf(0, 0);
59251   ;
59252   return 0;
59253 }
59254 _ACEOF
59255 if ac_fn_cxx_try_compile "$LINENO"; then :
59256   glibcxx_cv_func__fmodf_use=yes
59257 else
59258   glibcxx_cv_func__fmodf_use=no
59259 fi
59260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59261       ac_ext=c
59262 ac_cpp='$CPP $CPPFLAGS'
59263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59266
59267
59268 fi
59269
59270   fi
59271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59272 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59273
59274     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59275       for ac_func in _fmodf
59276 do :
59277   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59278 if test "x$ac_cv_func__fmodf" = x""yes; then :
59279   cat >>confdefs.h <<_ACEOF
59280 #define HAVE__FMODF 1
59281 _ACEOF
59282
59283 fi
59284 done
59285
59286     fi
59287   fi
59288
59289
59290
59291
59292
59293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59294 $as_echo_n "checking for frexpf declaration... " >&6; }
59295   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59296     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59297   $as_echo_n "(cached) " >&6
59298 else
59299
59300
59301       ac_ext=cpp
59302 ac_cpp='$CXXCPP $CPPFLAGS'
59303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59306
59307       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59308 /* end confdefs.h.  */
59309 #include <math.h>
59310 int
59311 main ()
59312 {
59313  frexpf(0, 0);
59314   ;
59315   return 0;
59316 }
59317 _ACEOF
59318 if ac_fn_cxx_try_compile "$LINENO"; then :
59319   glibcxx_cv_func_frexpf_use=yes
59320 else
59321   glibcxx_cv_func_frexpf_use=no
59322 fi
59323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59324       ac_ext=c
59325 ac_cpp='$CPP $CPPFLAGS'
59326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59329
59330
59331 fi
59332
59333   fi
59334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59335 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59336
59337   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59338     for ac_func in frexpf
59339 do :
59340   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59341 if test "x$ac_cv_func_frexpf" = x""yes; then :
59342   cat >>confdefs.h <<_ACEOF
59343 #define HAVE_FREXPF 1
59344 _ACEOF
59345
59346 fi
59347 done
59348
59349   else
59350
59351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59352 $as_echo_n "checking for _frexpf declaration... " >&6; }
59353   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59354     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59355   $as_echo_n "(cached) " >&6
59356 else
59357
59358
59359       ac_ext=cpp
59360 ac_cpp='$CXXCPP $CPPFLAGS'
59361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59364
59365       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59366 /* end confdefs.h.  */
59367 #include <math.h>
59368 int
59369 main ()
59370 {
59371  _frexpf(0, 0);
59372   ;
59373   return 0;
59374 }
59375 _ACEOF
59376 if ac_fn_cxx_try_compile "$LINENO"; then :
59377   glibcxx_cv_func__frexpf_use=yes
59378 else
59379   glibcxx_cv_func__frexpf_use=no
59380 fi
59381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59382       ac_ext=c
59383 ac_cpp='$CPP $CPPFLAGS'
59384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59387
59388
59389 fi
59390
59391   fi
59392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
59393 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
59394
59395     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59396       for ac_func in _frexpf
59397 do :
59398   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
59399 if test "x$ac_cv_func__frexpf" = x""yes; then :
59400   cat >>confdefs.h <<_ACEOF
59401 #define HAVE__FREXPF 1
59402 _ACEOF
59403
59404 fi
59405 done
59406
59407     fi
59408   fi
59409
59410
59411
59412
59413
59414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
59415 $as_echo_n "checking for hypotf declaration... " >&6; }
59416   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59417     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
59418   $as_echo_n "(cached) " >&6
59419 else
59420
59421
59422       ac_ext=cpp
59423 ac_cpp='$CXXCPP $CPPFLAGS'
59424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59427
59428       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59429 /* end confdefs.h.  */
59430 #include <math.h>
59431 int
59432 main ()
59433 {
59434  hypotf(0, 0);
59435   ;
59436   return 0;
59437 }
59438 _ACEOF
59439 if ac_fn_cxx_try_compile "$LINENO"; then :
59440   glibcxx_cv_func_hypotf_use=yes
59441 else
59442   glibcxx_cv_func_hypotf_use=no
59443 fi
59444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59445       ac_ext=c
59446 ac_cpp='$CPP $CPPFLAGS'
59447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59450
59451
59452 fi
59453
59454   fi
59455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
59456 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
59457
59458   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59459     for ac_func in hypotf
59460 do :
59461   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
59462 if test "x$ac_cv_func_hypotf" = x""yes; then :
59463   cat >>confdefs.h <<_ACEOF
59464 #define HAVE_HYPOTF 1
59465 _ACEOF
59466
59467 fi
59468 done
59469
59470   else
59471
59472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
59473 $as_echo_n "checking for _hypotf declaration... " >&6; }
59474   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59475     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
59476   $as_echo_n "(cached) " >&6
59477 else
59478
59479
59480       ac_ext=cpp
59481 ac_cpp='$CXXCPP $CPPFLAGS'
59482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59485
59486       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59487 /* end confdefs.h.  */
59488 #include <math.h>
59489 int
59490 main ()
59491 {
59492  _hypotf(0, 0);
59493   ;
59494   return 0;
59495 }
59496 _ACEOF
59497 if ac_fn_cxx_try_compile "$LINENO"; then :
59498   glibcxx_cv_func__hypotf_use=yes
59499 else
59500   glibcxx_cv_func__hypotf_use=no
59501 fi
59502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59503       ac_ext=c
59504 ac_cpp='$CPP $CPPFLAGS'
59505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59508
59509
59510 fi
59511
59512   fi
59513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
59514 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
59515
59516     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59517       for ac_func in _hypotf
59518 do :
59519   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
59520 if test "x$ac_cv_func__hypotf" = x""yes; then :
59521   cat >>confdefs.h <<_ACEOF
59522 #define HAVE__HYPOTF 1
59523 _ACEOF
59524
59525 fi
59526 done
59527
59528     fi
59529   fi
59530
59531
59532
59533
59534
59535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
59536 $as_echo_n "checking for ldexpf declaration... " >&6; }
59537   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
59538     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
59539   $as_echo_n "(cached) " >&6
59540 else
59541
59542
59543       ac_ext=cpp
59544 ac_cpp='$CXXCPP $CPPFLAGS'
59545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59548
59549       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59550 /* end confdefs.h.  */
59551 #include <math.h>
59552 int
59553 main ()
59554 {
59555  ldexpf(0, 0);
59556   ;
59557   return 0;
59558 }
59559 _ACEOF
59560 if ac_fn_cxx_try_compile "$LINENO"; then :
59561   glibcxx_cv_func_ldexpf_use=yes
59562 else
59563   glibcxx_cv_func_ldexpf_use=no
59564 fi
59565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59566       ac_ext=c
59567 ac_cpp='$CPP $CPPFLAGS'
59568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59571
59572
59573 fi
59574
59575   fi
59576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
59577 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
59578
59579   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
59580     for ac_func in ldexpf
59581 do :
59582   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
59583 if test "x$ac_cv_func_ldexpf" = x""yes; then :
59584   cat >>confdefs.h <<_ACEOF
59585 #define HAVE_LDEXPF 1
59586 _ACEOF
59587
59588 fi
59589 done
59590
59591   else
59592
59593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
59594 $as_echo_n "checking for _ldexpf declaration... " >&6; }
59595   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
59596     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
59597   $as_echo_n "(cached) " >&6
59598 else
59599
59600
59601       ac_ext=cpp
59602 ac_cpp='$CXXCPP $CPPFLAGS'
59603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59606
59607       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59608 /* end confdefs.h.  */
59609 #include <math.h>
59610 int
59611 main ()
59612 {
59613  _ldexpf(0, 0);
59614   ;
59615   return 0;
59616 }
59617 _ACEOF
59618 if ac_fn_cxx_try_compile "$LINENO"; then :
59619   glibcxx_cv_func__ldexpf_use=yes
59620 else
59621   glibcxx_cv_func__ldexpf_use=no
59622 fi
59623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59624       ac_ext=c
59625 ac_cpp='$CPP $CPPFLAGS'
59626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59629
59630
59631 fi
59632
59633   fi
59634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
59635 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
59636
59637     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
59638       for ac_func in _ldexpf
59639 do :
59640   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
59641 if test "x$ac_cv_func__ldexpf" = x""yes; then :
59642   cat >>confdefs.h <<_ACEOF
59643 #define HAVE__LDEXPF 1
59644 _ACEOF
59645
59646 fi
59647 done
59648
59649     fi
59650   fi
59651
59652
59653
59654
59655
59656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
59657 $as_echo_n "checking for logf declaration... " >&6; }
59658   if test x${glibcxx_cv_func_logf_use+set} != xset; then
59659     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
59660   $as_echo_n "(cached) " >&6
59661 else
59662
59663
59664       ac_ext=cpp
59665 ac_cpp='$CXXCPP $CPPFLAGS'
59666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59669
59670       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59671 /* end confdefs.h.  */
59672 #include <math.h>
59673                       #ifdef HAVE_IEEEFP_H
59674                       #include <ieeefp.h>
59675                       #endif
59676
59677 int
59678 main ()
59679 {
59680  logf(0);
59681   ;
59682   return 0;
59683 }
59684 _ACEOF
59685 if ac_fn_cxx_try_compile "$LINENO"; then :
59686   glibcxx_cv_func_logf_use=yes
59687 else
59688   glibcxx_cv_func_logf_use=no
59689 fi
59690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59691       ac_ext=c
59692 ac_cpp='$CPP $CPPFLAGS'
59693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59696
59697
59698 fi
59699
59700   fi
59701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
59702 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
59703
59704   if test x$glibcxx_cv_func_logf_use = x"yes"; then
59705     for ac_func in logf
59706 do :
59707   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
59708 if test "x$ac_cv_func_logf" = x""yes; then :
59709   cat >>confdefs.h <<_ACEOF
59710 #define HAVE_LOGF 1
59711 _ACEOF
59712
59713 fi
59714 done
59715
59716   else
59717
59718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
59719 $as_echo_n "checking for _logf declaration... " >&6; }
59720   if test x${glibcxx_cv_func__logf_use+set} != xset; then
59721     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
59722   $as_echo_n "(cached) " >&6
59723 else
59724
59725
59726       ac_ext=cpp
59727 ac_cpp='$CXXCPP $CPPFLAGS'
59728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59731
59732       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59733 /* end confdefs.h.  */
59734 #include <math.h>
59735                       #ifdef HAVE_IEEEFP_H
59736                       #include <ieeefp.h>
59737                       #endif
59738
59739 int
59740 main ()
59741 {
59742  _logf(0);
59743   ;
59744   return 0;
59745 }
59746 _ACEOF
59747 if ac_fn_cxx_try_compile "$LINENO"; then :
59748   glibcxx_cv_func__logf_use=yes
59749 else
59750   glibcxx_cv_func__logf_use=no
59751 fi
59752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59753       ac_ext=c
59754 ac_cpp='$CPP $CPPFLAGS'
59755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59758
59759
59760 fi
59761
59762   fi
59763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
59764 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
59765
59766     if test x$glibcxx_cv_func__logf_use = x"yes"; then
59767       for ac_func in _logf
59768 do :
59769   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
59770 if test "x$ac_cv_func__logf" = x""yes; then :
59771   cat >>confdefs.h <<_ACEOF
59772 #define HAVE__LOGF 1
59773 _ACEOF
59774
59775 fi
59776 done
59777
59778     fi
59779   fi
59780
59781
59782
59783
59784
59785   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
59786 $as_echo_n "checking for log10f declaration... " >&6; }
59787   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
59788     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
59789   $as_echo_n "(cached) " >&6
59790 else
59791
59792
59793       ac_ext=cpp
59794 ac_cpp='$CXXCPP $CPPFLAGS'
59795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59798
59799       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59800 /* end confdefs.h.  */
59801 #include <math.h>
59802                       #ifdef HAVE_IEEEFP_H
59803                       #include <ieeefp.h>
59804                       #endif
59805
59806 int
59807 main ()
59808 {
59809  log10f(0);
59810   ;
59811   return 0;
59812 }
59813 _ACEOF
59814 if ac_fn_cxx_try_compile "$LINENO"; then :
59815   glibcxx_cv_func_log10f_use=yes
59816 else
59817   glibcxx_cv_func_log10f_use=no
59818 fi
59819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59820       ac_ext=c
59821 ac_cpp='$CPP $CPPFLAGS'
59822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59825
59826
59827 fi
59828
59829   fi
59830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
59831 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
59832
59833   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
59834     for ac_func in log10f
59835 do :
59836   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
59837 if test "x$ac_cv_func_log10f" = x""yes; then :
59838   cat >>confdefs.h <<_ACEOF
59839 #define HAVE_LOG10F 1
59840 _ACEOF
59841
59842 fi
59843 done
59844
59845   else
59846
59847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
59848 $as_echo_n "checking for _log10f declaration... " >&6; }
59849   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
59850     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
59851   $as_echo_n "(cached) " >&6
59852 else
59853
59854
59855       ac_ext=cpp
59856 ac_cpp='$CXXCPP $CPPFLAGS'
59857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59860
59861       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59862 /* end confdefs.h.  */
59863 #include <math.h>
59864                       #ifdef HAVE_IEEEFP_H
59865                       #include <ieeefp.h>
59866                       #endif
59867
59868 int
59869 main ()
59870 {
59871  _log10f(0);
59872   ;
59873   return 0;
59874 }
59875 _ACEOF
59876 if ac_fn_cxx_try_compile "$LINENO"; then :
59877   glibcxx_cv_func__log10f_use=yes
59878 else
59879   glibcxx_cv_func__log10f_use=no
59880 fi
59881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59882       ac_ext=c
59883 ac_cpp='$CPP $CPPFLAGS'
59884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59887
59888
59889 fi
59890
59891   fi
59892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
59893 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
59894
59895     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
59896       for ac_func in _log10f
59897 do :
59898   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
59899 if test "x$ac_cv_func__log10f" = x""yes; then :
59900   cat >>confdefs.h <<_ACEOF
59901 #define HAVE__LOG10F 1
59902 _ACEOF
59903
59904 fi
59905 done
59906
59907     fi
59908   fi
59909
59910
59911
59912
59913
59914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
59915 $as_echo_n "checking for modff declaration... " >&6; }
59916   if test x${glibcxx_cv_func_modff_use+set} != xset; then
59917     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
59918   $as_echo_n "(cached) " >&6
59919 else
59920
59921
59922       ac_ext=cpp
59923 ac_cpp='$CXXCPP $CPPFLAGS'
59924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59927
59928       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59929 /* end confdefs.h.  */
59930 #include <math.h>
59931 int
59932 main ()
59933 {
59934  modff(0, 0);
59935   ;
59936   return 0;
59937 }
59938 _ACEOF
59939 if ac_fn_cxx_try_compile "$LINENO"; then :
59940   glibcxx_cv_func_modff_use=yes
59941 else
59942   glibcxx_cv_func_modff_use=no
59943 fi
59944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59945       ac_ext=c
59946 ac_cpp='$CPP $CPPFLAGS'
59947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59950
59951
59952 fi
59953
59954   fi
59955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
59956 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
59957
59958   if test x$glibcxx_cv_func_modff_use = x"yes"; then
59959     for ac_func in modff
59960 do :
59961   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
59962 if test "x$ac_cv_func_modff" = x""yes; then :
59963   cat >>confdefs.h <<_ACEOF
59964 #define HAVE_MODFF 1
59965 _ACEOF
59966
59967 fi
59968 done
59969
59970   else
59971
59972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
59973 $as_echo_n "checking for _modff declaration... " >&6; }
59974   if test x${glibcxx_cv_func__modff_use+set} != xset; then
59975     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
59976   $as_echo_n "(cached) " >&6
59977 else
59978
59979
59980       ac_ext=cpp
59981 ac_cpp='$CXXCPP $CPPFLAGS'
59982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59985
59986       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59987 /* end confdefs.h.  */
59988 #include <math.h>
59989 int
59990 main ()
59991 {
59992  _modff(0, 0);
59993   ;
59994   return 0;
59995 }
59996 _ACEOF
59997 if ac_fn_cxx_try_compile "$LINENO"; then :
59998   glibcxx_cv_func__modff_use=yes
59999 else
60000   glibcxx_cv_func__modff_use=no
60001 fi
60002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60003       ac_ext=c
60004 ac_cpp='$CPP $CPPFLAGS'
60005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60008
60009
60010 fi
60011
60012   fi
60013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60014 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60015
60016     if test x$glibcxx_cv_func__modff_use = x"yes"; then
60017       for ac_func in _modff
60018 do :
60019   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60020 if test "x$ac_cv_func__modff" = x""yes; then :
60021   cat >>confdefs.h <<_ACEOF
60022 #define HAVE__MODFF 1
60023 _ACEOF
60024
60025 fi
60026 done
60027
60028     fi
60029   fi
60030
60031
60032
60033
60034
60035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60036 $as_echo_n "checking for modf declaration... " >&6; }
60037   if test x${glibcxx_cv_func_modf_use+set} != xset; then
60038     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60039   $as_echo_n "(cached) " >&6
60040 else
60041
60042
60043       ac_ext=cpp
60044 ac_cpp='$CXXCPP $CPPFLAGS'
60045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60048
60049       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60050 /* end confdefs.h.  */
60051 #include <math.h>
60052 int
60053 main ()
60054 {
60055  modf(0, 0);
60056   ;
60057   return 0;
60058 }
60059 _ACEOF
60060 if ac_fn_cxx_try_compile "$LINENO"; then :
60061   glibcxx_cv_func_modf_use=yes
60062 else
60063   glibcxx_cv_func_modf_use=no
60064 fi
60065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60066       ac_ext=c
60067 ac_cpp='$CPP $CPPFLAGS'
60068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60071
60072
60073 fi
60074
60075   fi
60076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60077 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60078
60079   if test x$glibcxx_cv_func_modf_use = x"yes"; then
60080     for ac_func in modf
60081 do :
60082   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60083 if test "x$ac_cv_func_modf" = x""yes; then :
60084   cat >>confdefs.h <<_ACEOF
60085 #define HAVE_MODF 1
60086 _ACEOF
60087
60088 fi
60089 done
60090
60091   else
60092
60093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60094 $as_echo_n "checking for _modf declaration... " >&6; }
60095   if test x${glibcxx_cv_func__modf_use+set} != xset; then
60096     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60097   $as_echo_n "(cached) " >&6
60098 else
60099
60100
60101       ac_ext=cpp
60102 ac_cpp='$CXXCPP $CPPFLAGS'
60103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60106
60107       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60108 /* end confdefs.h.  */
60109 #include <math.h>
60110 int
60111 main ()
60112 {
60113  _modf(0, 0);
60114   ;
60115   return 0;
60116 }
60117 _ACEOF
60118 if ac_fn_cxx_try_compile "$LINENO"; then :
60119   glibcxx_cv_func__modf_use=yes
60120 else
60121   glibcxx_cv_func__modf_use=no
60122 fi
60123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60124       ac_ext=c
60125 ac_cpp='$CPP $CPPFLAGS'
60126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60129
60130
60131 fi
60132
60133   fi
60134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60135 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60136
60137     if test x$glibcxx_cv_func__modf_use = x"yes"; then
60138       for ac_func in _modf
60139 do :
60140   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60141 if test "x$ac_cv_func__modf" = x""yes; then :
60142   cat >>confdefs.h <<_ACEOF
60143 #define HAVE__MODF 1
60144 _ACEOF
60145
60146 fi
60147 done
60148
60149     fi
60150   fi
60151
60152
60153
60154
60155
60156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60157 $as_echo_n "checking for powf declaration... " >&6; }
60158   if test x${glibcxx_cv_func_powf_use+set} != xset; then
60159     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60160   $as_echo_n "(cached) " >&6
60161 else
60162
60163
60164       ac_ext=cpp
60165 ac_cpp='$CXXCPP $CPPFLAGS'
60166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60169
60170       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60171 /* end confdefs.h.  */
60172 #include <math.h>
60173 int
60174 main ()
60175 {
60176  powf(0, 0);
60177   ;
60178   return 0;
60179 }
60180 _ACEOF
60181 if ac_fn_cxx_try_compile "$LINENO"; then :
60182   glibcxx_cv_func_powf_use=yes
60183 else
60184   glibcxx_cv_func_powf_use=no
60185 fi
60186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60187       ac_ext=c
60188 ac_cpp='$CPP $CPPFLAGS'
60189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60192
60193
60194 fi
60195
60196   fi
60197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60198 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60199
60200   if test x$glibcxx_cv_func_powf_use = x"yes"; then
60201     for ac_func in powf
60202 do :
60203   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60204 if test "x$ac_cv_func_powf" = x""yes; then :
60205   cat >>confdefs.h <<_ACEOF
60206 #define HAVE_POWF 1
60207 _ACEOF
60208
60209 fi
60210 done
60211
60212   else
60213
60214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60215 $as_echo_n "checking for _powf declaration... " >&6; }
60216   if test x${glibcxx_cv_func__powf_use+set} != xset; then
60217     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60218   $as_echo_n "(cached) " >&6
60219 else
60220
60221
60222       ac_ext=cpp
60223 ac_cpp='$CXXCPP $CPPFLAGS'
60224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60227
60228       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60229 /* end confdefs.h.  */
60230 #include <math.h>
60231 int
60232 main ()
60233 {
60234  _powf(0, 0);
60235   ;
60236   return 0;
60237 }
60238 _ACEOF
60239 if ac_fn_cxx_try_compile "$LINENO"; then :
60240   glibcxx_cv_func__powf_use=yes
60241 else
60242   glibcxx_cv_func__powf_use=no
60243 fi
60244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60245       ac_ext=c
60246 ac_cpp='$CPP $CPPFLAGS'
60247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60250
60251
60252 fi
60253
60254   fi
60255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60256 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60257
60258     if test x$glibcxx_cv_func__powf_use = x"yes"; then
60259       for ac_func in _powf
60260 do :
60261   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60262 if test "x$ac_cv_func__powf" = x""yes; then :
60263   cat >>confdefs.h <<_ACEOF
60264 #define HAVE__POWF 1
60265 _ACEOF
60266
60267 fi
60268 done
60269
60270     fi
60271   fi
60272
60273
60274
60275
60276
60277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60278 $as_echo_n "checking for sqrtf declaration... " >&6; }
60279   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60280     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60281   $as_echo_n "(cached) " >&6
60282 else
60283
60284
60285       ac_ext=cpp
60286 ac_cpp='$CXXCPP $CPPFLAGS'
60287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60290
60291       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60292 /* end confdefs.h.  */
60293 #include <math.h>
60294                       #ifdef HAVE_IEEEFP_H
60295                       #include <ieeefp.h>
60296                       #endif
60297
60298 int
60299 main ()
60300 {
60301  sqrtf(0);
60302   ;
60303   return 0;
60304 }
60305 _ACEOF
60306 if ac_fn_cxx_try_compile "$LINENO"; then :
60307   glibcxx_cv_func_sqrtf_use=yes
60308 else
60309   glibcxx_cv_func_sqrtf_use=no
60310 fi
60311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60312       ac_ext=c
60313 ac_cpp='$CPP $CPPFLAGS'
60314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60317
60318
60319 fi
60320
60321   fi
60322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60323 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60324
60325   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60326     for ac_func in sqrtf
60327 do :
60328   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60329 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60330   cat >>confdefs.h <<_ACEOF
60331 #define HAVE_SQRTF 1
60332 _ACEOF
60333
60334 fi
60335 done
60336
60337   else
60338
60339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60340 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60341   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60342     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60343   $as_echo_n "(cached) " >&6
60344 else
60345
60346
60347       ac_ext=cpp
60348 ac_cpp='$CXXCPP $CPPFLAGS'
60349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60352
60353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60354 /* end confdefs.h.  */
60355 #include <math.h>
60356                       #ifdef HAVE_IEEEFP_H
60357                       #include <ieeefp.h>
60358                       #endif
60359
60360 int
60361 main ()
60362 {
60363  _sqrtf(0);
60364   ;
60365   return 0;
60366 }
60367 _ACEOF
60368 if ac_fn_cxx_try_compile "$LINENO"; then :
60369   glibcxx_cv_func__sqrtf_use=yes
60370 else
60371   glibcxx_cv_func__sqrtf_use=no
60372 fi
60373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60374       ac_ext=c
60375 ac_cpp='$CPP $CPPFLAGS'
60376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60379
60380
60381 fi
60382
60383   fi
60384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
60385 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
60386
60387     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60388       for ac_func in _sqrtf
60389 do :
60390   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
60391 if test "x$ac_cv_func__sqrtf" = x""yes; then :
60392   cat >>confdefs.h <<_ACEOF
60393 #define HAVE__SQRTF 1
60394 _ACEOF
60395
60396 fi
60397 done
60398
60399     fi
60400   fi
60401
60402
60403
60404
60405
60406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
60407 $as_echo_n "checking for sincosf declaration... " >&6; }
60408   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60409     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
60410   $as_echo_n "(cached) " >&6
60411 else
60412
60413
60414       ac_ext=cpp
60415 ac_cpp='$CXXCPP $CPPFLAGS'
60416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60419
60420       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60421 /* end confdefs.h.  */
60422 #include <math.h>
60423 int
60424 main ()
60425 {
60426  sincosf(0, 0, 0);
60427   ;
60428   return 0;
60429 }
60430 _ACEOF
60431 if ac_fn_cxx_try_compile "$LINENO"; then :
60432   glibcxx_cv_func_sincosf_use=yes
60433 else
60434   glibcxx_cv_func_sincosf_use=no
60435 fi
60436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60437       ac_ext=c
60438 ac_cpp='$CPP $CPPFLAGS'
60439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60442
60443
60444 fi
60445
60446   fi
60447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
60448 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
60449
60450   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
60451     for ac_func in sincosf
60452 do :
60453   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
60454 if test "x$ac_cv_func_sincosf" = x""yes; then :
60455   cat >>confdefs.h <<_ACEOF
60456 #define HAVE_SINCOSF 1
60457 _ACEOF
60458
60459 fi
60460 done
60461
60462   else
60463
60464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
60465 $as_echo_n "checking for _sincosf declaration... " >&6; }
60466   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
60467     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
60468   $as_echo_n "(cached) " >&6
60469 else
60470
60471
60472       ac_ext=cpp
60473 ac_cpp='$CXXCPP $CPPFLAGS'
60474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60477
60478       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60479 /* end confdefs.h.  */
60480 #include <math.h>
60481 int
60482 main ()
60483 {
60484  _sincosf(0, 0, 0);
60485   ;
60486   return 0;
60487 }
60488 _ACEOF
60489 if ac_fn_cxx_try_compile "$LINENO"; then :
60490   glibcxx_cv_func__sincosf_use=yes
60491 else
60492   glibcxx_cv_func__sincosf_use=no
60493 fi
60494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60495       ac_ext=c
60496 ac_cpp='$CPP $CPPFLAGS'
60497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60500
60501
60502 fi
60503
60504   fi
60505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
60506 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
60507
60508     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
60509       for ac_func in _sincosf
60510 do :
60511   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
60512 if test "x$ac_cv_func__sincosf" = x""yes; then :
60513   cat >>confdefs.h <<_ACEOF
60514 #define HAVE__SINCOSF 1
60515 _ACEOF
60516
60517 fi
60518 done
60519
60520     fi
60521   fi
60522
60523
60524
60525
60526
60527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
60528 $as_echo_n "checking for finitef declaration... " >&6; }
60529   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
60530     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
60531   $as_echo_n "(cached) " >&6
60532 else
60533
60534
60535       ac_ext=cpp
60536 ac_cpp='$CXXCPP $CPPFLAGS'
60537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60540
60541       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60542 /* end confdefs.h.  */
60543 #include <math.h>
60544                       #ifdef HAVE_IEEEFP_H
60545                       #include <ieeefp.h>
60546                       #endif
60547
60548 int
60549 main ()
60550 {
60551  finitef(0);
60552   ;
60553   return 0;
60554 }
60555 _ACEOF
60556 if ac_fn_cxx_try_compile "$LINENO"; then :
60557   glibcxx_cv_func_finitef_use=yes
60558 else
60559   glibcxx_cv_func_finitef_use=no
60560 fi
60561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60562       ac_ext=c
60563 ac_cpp='$CPP $CPPFLAGS'
60564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60567
60568
60569 fi
60570
60571   fi
60572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
60573 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
60574
60575   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
60576     for ac_func in finitef
60577 do :
60578   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
60579 if test "x$ac_cv_func_finitef" = x""yes; then :
60580   cat >>confdefs.h <<_ACEOF
60581 #define HAVE_FINITEF 1
60582 _ACEOF
60583
60584 fi
60585 done
60586
60587   else
60588
60589   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
60590 $as_echo_n "checking for _finitef declaration... " >&6; }
60591   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
60592     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
60593   $as_echo_n "(cached) " >&6
60594 else
60595
60596
60597       ac_ext=cpp
60598 ac_cpp='$CXXCPP $CPPFLAGS'
60599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60602
60603       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60604 /* end confdefs.h.  */
60605 #include <math.h>
60606                       #ifdef HAVE_IEEEFP_H
60607                       #include <ieeefp.h>
60608                       #endif
60609
60610 int
60611 main ()
60612 {
60613  _finitef(0);
60614   ;
60615   return 0;
60616 }
60617 _ACEOF
60618 if ac_fn_cxx_try_compile "$LINENO"; then :
60619   glibcxx_cv_func__finitef_use=yes
60620 else
60621   glibcxx_cv_func__finitef_use=no
60622 fi
60623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60624       ac_ext=c
60625 ac_cpp='$CPP $CPPFLAGS'
60626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60629
60630
60631 fi
60632
60633   fi
60634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
60635 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
60636
60637     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
60638       for ac_func in _finitef
60639 do :
60640   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
60641 if test "x$ac_cv_func__finitef" = x""yes; then :
60642   cat >>confdefs.h <<_ACEOF
60643 #define HAVE__FINITEF 1
60644 _ACEOF
60645
60646 fi
60647 done
60648
60649     fi
60650   fi
60651
60652
60653
60654
60655
60656     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
60657 $as_echo_n "checking for long double trig functions... " >&6; }
60658   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
60659   $as_echo_n "(cached) " >&6
60660 else
60661
60662
60663     ac_ext=cpp
60664 ac_cpp='$CXXCPP $CPPFLAGS'
60665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60668
60669     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60670 /* end confdefs.h.  */
60671 #include <math.h>
60672 int
60673 main ()
60674 {
60675 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
60676   ;
60677   return 0;
60678 }
60679 _ACEOF
60680 if ac_fn_cxx_try_compile "$LINENO"; then :
60681   glibcxx_cv_func_long_double_trig_use=yes
60682 else
60683   glibcxx_cv_func_long_double_trig_use=no
60684 fi
60685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60686     ac_ext=c
60687 ac_cpp='$CPP $CPPFLAGS'
60688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60691
60692 fi
60693
60694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
60695 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
60696   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
60697     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
60698 do :
60699   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60700 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60701 eval as_val=\$$as_ac_var
60702    if test "x$as_val" = x""yes; then :
60703   cat >>confdefs.h <<_ACEOF
60704 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60705 _ACEOF
60706
60707 fi
60708 done
60709
60710   else
60711     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
60712 $as_echo_n "checking for _long double trig functions... " >&6; }
60713     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
60714   $as_echo_n "(cached) " >&6
60715 else
60716
60717
60718       ac_ext=cpp
60719 ac_cpp='$CXXCPP $CPPFLAGS'
60720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60723
60724       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60725 /* end confdefs.h.  */
60726 #include <math.h>
60727 int
60728 main ()
60729 {
60730 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
60731   ;
60732   return 0;
60733 }
60734 _ACEOF
60735 if ac_fn_cxx_try_compile "$LINENO"; then :
60736   glibcxx_cv_func__long_double_trig_use=yes
60737 else
60738   glibcxx_cv_func__long_double_trig_use=no
60739 fi
60740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60741       ac_ext=c
60742 ac_cpp='$CPP $CPPFLAGS'
60743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60746
60747 fi
60748
60749     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
60750 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
60751     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
60752       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
60753 do :
60754   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60755 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60756 eval as_val=\$$as_ac_var
60757    if test "x$as_val" = x""yes; then :
60758   cat >>confdefs.h <<_ACEOF
60759 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60760 _ACEOF
60761
60762 fi
60763 done
60764
60765     fi
60766   fi
60767
60768
60769
60770
60771
60772     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
60773 $as_echo_n "checking for long double round functions... " >&6; }
60774   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
60775   $as_echo_n "(cached) " >&6
60776 else
60777
60778
60779     ac_ext=cpp
60780 ac_cpp='$CXXCPP $CPPFLAGS'
60781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60784
60785     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60786 /* end confdefs.h.  */
60787 #include <math.h>
60788 int
60789 main ()
60790 {
60791 ceill (0); floorl (0);
60792   ;
60793   return 0;
60794 }
60795 _ACEOF
60796 if ac_fn_cxx_try_compile "$LINENO"; then :
60797   glibcxx_cv_func_long_double_round_use=yes
60798 else
60799   glibcxx_cv_func_long_double_round_use=no
60800 fi
60801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60802     ac_ext=c
60803 ac_cpp='$CPP $CPPFLAGS'
60804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60807
60808 fi
60809
60810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
60811 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
60812   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
60813     for ac_func in ceill floorl
60814 do :
60815   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60816 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60817 eval as_val=\$$as_ac_var
60818    if test "x$as_val" = x""yes; then :
60819   cat >>confdefs.h <<_ACEOF
60820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60821 _ACEOF
60822
60823 fi
60824 done
60825
60826   else
60827     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
60828 $as_echo_n "checking for _long double round functions... " >&6; }
60829     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
60830   $as_echo_n "(cached) " >&6
60831 else
60832
60833
60834       ac_ext=cpp
60835 ac_cpp='$CXXCPP $CPPFLAGS'
60836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60839
60840       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60841 /* end confdefs.h.  */
60842 #include <math.h>
60843 int
60844 main ()
60845 {
60846 _ceill (0); _floorl (0);
60847   ;
60848   return 0;
60849 }
60850 _ACEOF
60851 if ac_fn_cxx_try_compile "$LINENO"; then :
60852   glibcxx_cv_func__long_double_round_use=yes
60853 else
60854   glibcxx_cv_func__long_double_round_use=no
60855 fi
60856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60857       ac_ext=c
60858 ac_cpp='$CPP $CPPFLAGS'
60859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60862
60863 fi
60864
60865     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
60866 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
60867     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
60868       for ac_func in _ceill _floorl
60869 do :
60870   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60871 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60872 eval as_val=\$$as_ac_var
60873    if test "x$as_val" = x""yes; then :
60874   cat >>confdefs.h <<_ACEOF
60875 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60876 _ACEOF
60877
60878 fi
60879 done
60880
60881     fi
60882   fi
60883
60884
60885
60886
60887
60888
60889   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
60890 $as_echo_n "checking for isnanl declaration... " >&6; }
60891   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
60892     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
60893   $as_echo_n "(cached) " >&6
60894 else
60895
60896
60897       ac_ext=cpp
60898 ac_cpp='$CXXCPP $CPPFLAGS'
60899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60902
60903       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60904 /* end confdefs.h.  */
60905 #include <math.h>
60906                       #ifdef HAVE_IEEEFP_H
60907                       #include <ieeefp.h>
60908                       #endif
60909
60910 int
60911 main ()
60912 {
60913  isnanl(0);
60914   ;
60915   return 0;
60916 }
60917 _ACEOF
60918 if ac_fn_cxx_try_compile "$LINENO"; then :
60919   glibcxx_cv_func_isnanl_use=yes
60920 else
60921   glibcxx_cv_func_isnanl_use=no
60922 fi
60923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60924       ac_ext=c
60925 ac_cpp='$CPP $CPPFLAGS'
60926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60929
60930
60931 fi
60932
60933   fi
60934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
60935 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
60936
60937   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
60938     for ac_func in isnanl
60939 do :
60940   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
60941 if test "x$ac_cv_func_isnanl" = x""yes; then :
60942   cat >>confdefs.h <<_ACEOF
60943 #define HAVE_ISNANL 1
60944 _ACEOF
60945
60946 fi
60947 done
60948
60949   else
60950
60951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
60952 $as_echo_n "checking for _isnanl declaration... " >&6; }
60953   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
60954     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
60955   $as_echo_n "(cached) " >&6
60956 else
60957
60958
60959       ac_ext=cpp
60960 ac_cpp='$CXXCPP $CPPFLAGS'
60961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60964
60965       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60966 /* end confdefs.h.  */
60967 #include <math.h>
60968                       #ifdef HAVE_IEEEFP_H
60969                       #include <ieeefp.h>
60970                       #endif
60971
60972 int
60973 main ()
60974 {
60975  _isnanl(0);
60976   ;
60977   return 0;
60978 }
60979 _ACEOF
60980 if ac_fn_cxx_try_compile "$LINENO"; then :
60981   glibcxx_cv_func__isnanl_use=yes
60982 else
60983   glibcxx_cv_func__isnanl_use=no
60984 fi
60985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60986       ac_ext=c
60987 ac_cpp='$CPP $CPPFLAGS'
60988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60991
60992
60993 fi
60994
60995   fi
60996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
60997 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
60998
60999     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61000       for ac_func in _isnanl
61001 do :
61002   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61003 if test "x$ac_cv_func__isnanl" = x""yes; then :
61004   cat >>confdefs.h <<_ACEOF
61005 #define HAVE__ISNANL 1
61006 _ACEOF
61007
61008 fi
61009 done
61010
61011     fi
61012   fi
61013
61014
61015
61016
61017
61018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61019 $as_echo_n "checking for isinfl declaration... " >&6; }
61020   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61021     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61022   $as_echo_n "(cached) " >&6
61023 else
61024
61025
61026       ac_ext=cpp
61027 ac_cpp='$CXXCPP $CPPFLAGS'
61028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61031
61032       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61033 /* end confdefs.h.  */
61034 #include <math.h>
61035                       #ifdef HAVE_IEEEFP_H
61036                       #include <ieeefp.h>
61037                       #endif
61038
61039 int
61040 main ()
61041 {
61042  isinfl(0);
61043   ;
61044   return 0;
61045 }
61046 _ACEOF
61047 if ac_fn_cxx_try_compile "$LINENO"; then :
61048   glibcxx_cv_func_isinfl_use=yes
61049 else
61050   glibcxx_cv_func_isinfl_use=no
61051 fi
61052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61053       ac_ext=c
61054 ac_cpp='$CPP $CPPFLAGS'
61055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61058
61059
61060 fi
61061
61062   fi
61063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61064 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61065
61066   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61067     for ac_func in isinfl
61068 do :
61069   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61070 if test "x$ac_cv_func_isinfl" = x""yes; then :
61071   cat >>confdefs.h <<_ACEOF
61072 #define HAVE_ISINFL 1
61073 _ACEOF
61074
61075 fi
61076 done
61077
61078   else
61079
61080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61081 $as_echo_n "checking for _isinfl declaration... " >&6; }
61082   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61083     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61084   $as_echo_n "(cached) " >&6
61085 else
61086
61087
61088       ac_ext=cpp
61089 ac_cpp='$CXXCPP $CPPFLAGS'
61090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61093
61094       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61095 /* end confdefs.h.  */
61096 #include <math.h>
61097                       #ifdef HAVE_IEEEFP_H
61098                       #include <ieeefp.h>
61099                       #endif
61100
61101 int
61102 main ()
61103 {
61104  _isinfl(0);
61105   ;
61106   return 0;
61107 }
61108 _ACEOF
61109 if ac_fn_cxx_try_compile "$LINENO"; then :
61110   glibcxx_cv_func__isinfl_use=yes
61111 else
61112   glibcxx_cv_func__isinfl_use=no
61113 fi
61114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61115       ac_ext=c
61116 ac_cpp='$CPP $CPPFLAGS'
61117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61120
61121
61122 fi
61123
61124   fi
61125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61126 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61127
61128     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61129       for ac_func in _isinfl
61130 do :
61131   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61132 if test "x$ac_cv_func__isinfl" = x""yes; then :
61133   cat >>confdefs.h <<_ACEOF
61134 #define HAVE__ISINFL 1
61135 _ACEOF
61136
61137 fi
61138 done
61139
61140     fi
61141   fi
61142
61143
61144
61145
61146
61147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61148 $as_echo_n "checking for atan2l declaration... " >&6; }
61149   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61150     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61151   $as_echo_n "(cached) " >&6
61152 else
61153
61154
61155       ac_ext=cpp
61156 ac_cpp='$CXXCPP $CPPFLAGS'
61157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61160
61161       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61162 /* end confdefs.h.  */
61163 #include <math.h>
61164 int
61165 main ()
61166 {
61167  atan2l(0, 0);
61168   ;
61169   return 0;
61170 }
61171 _ACEOF
61172 if ac_fn_cxx_try_compile "$LINENO"; then :
61173   glibcxx_cv_func_atan2l_use=yes
61174 else
61175   glibcxx_cv_func_atan2l_use=no
61176 fi
61177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61178       ac_ext=c
61179 ac_cpp='$CPP $CPPFLAGS'
61180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61183
61184
61185 fi
61186
61187   fi
61188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61189 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61190
61191   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61192     for ac_func in atan2l
61193 do :
61194   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61195 if test "x$ac_cv_func_atan2l" = x""yes; then :
61196   cat >>confdefs.h <<_ACEOF
61197 #define HAVE_ATAN2L 1
61198 _ACEOF
61199
61200 fi
61201 done
61202
61203   else
61204
61205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61206 $as_echo_n "checking for _atan2l declaration... " >&6; }
61207   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61208     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61209   $as_echo_n "(cached) " >&6
61210 else
61211
61212
61213       ac_ext=cpp
61214 ac_cpp='$CXXCPP $CPPFLAGS'
61215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61218
61219       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61220 /* end confdefs.h.  */
61221 #include <math.h>
61222 int
61223 main ()
61224 {
61225  _atan2l(0, 0);
61226   ;
61227   return 0;
61228 }
61229 _ACEOF
61230 if ac_fn_cxx_try_compile "$LINENO"; then :
61231   glibcxx_cv_func__atan2l_use=yes
61232 else
61233   glibcxx_cv_func__atan2l_use=no
61234 fi
61235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61236       ac_ext=c
61237 ac_cpp='$CPP $CPPFLAGS'
61238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61241
61242
61243 fi
61244
61245   fi
61246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61247 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61248
61249     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61250       for ac_func in _atan2l
61251 do :
61252   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61253 if test "x$ac_cv_func__atan2l" = x""yes; then :
61254   cat >>confdefs.h <<_ACEOF
61255 #define HAVE__ATAN2L 1
61256 _ACEOF
61257
61258 fi
61259 done
61260
61261     fi
61262   fi
61263
61264
61265
61266
61267
61268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61269 $as_echo_n "checking for expl declaration... " >&6; }
61270   if test x${glibcxx_cv_func_expl_use+set} != xset; then
61271     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61272   $as_echo_n "(cached) " >&6
61273 else
61274
61275
61276       ac_ext=cpp
61277 ac_cpp='$CXXCPP $CPPFLAGS'
61278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61281
61282       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61283 /* end confdefs.h.  */
61284 #include <math.h>
61285                       #ifdef HAVE_IEEEFP_H
61286                       #include <ieeefp.h>
61287                       #endif
61288
61289 int
61290 main ()
61291 {
61292  expl(0);
61293   ;
61294   return 0;
61295 }
61296 _ACEOF
61297 if ac_fn_cxx_try_compile "$LINENO"; then :
61298   glibcxx_cv_func_expl_use=yes
61299 else
61300   glibcxx_cv_func_expl_use=no
61301 fi
61302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61303       ac_ext=c
61304 ac_cpp='$CPP $CPPFLAGS'
61305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61308
61309
61310 fi
61311
61312   fi
61313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61314 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61315
61316   if test x$glibcxx_cv_func_expl_use = x"yes"; then
61317     for ac_func in expl
61318 do :
61319   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61320 if test "x$ac_cv_func_expl" = x""yes; then :
61321   cat >>confdefs.h <<_ACEOF
61322 #define HAVE_EXPL 1
61323 _ACEOF
61324
61325 fi
61326 done
61327
61328   else
61329
61330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61331 $as_echo_n "checking for _expl declaration... " >&6; }
61332   if test x${glibcxx_cv_func__expl_use+set} != xset; then
61333     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61334   $as_echo_n "(cached) " >&6
61335 else
61336
61337
61338       ac_ext=cpp
61339 ac_cpp='$CXXCPP $CPPFLAGS'
61340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61343
61344       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61345 /* end confdefs.h.  */
61346 #include <math.h>
61347                       #ifdef HAVE_IEEEFP_H
61348                       #include <ieeefp.h>
61349                       #endif
61350
61351 int
61352 main ()
61353 {
61354  _expl(0);
61355   ;
61356   return 0;
61357 }
61358 _ACEOF
61359 if ac_fn_cxx_try_compile "$LINENO"; then :
61360   glibcxx_cv_func__expl_use=yes
61361 else
61362   glibcxx_cv_func__expl_use=no
61363 fi
61364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61365       ac_ext=c
61366 ac_cpp='$CPP $CPPFLAGS'
61367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61370
61371
61372 fi
61373
61374   fi
61375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
61376 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
61377
61378     if test x$glibcxx_cv_func__expl_use = x"yes"; then
61379       for ac_func in _expl
61380 do :
61381   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
61382 if test "x$ac_cv_func__expl" = x""yes; then :
61383   cat >>confdefs.h <<_ACEOF
61384 #define HAVE__EXPL 1
61385 _ACEOF
61386
61387 fi
61388 done
61389
61390     fi
61391   fi
61392
61393
61394
61395
61396
61397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
61398 $as_echo_n "checking for fabsl declaration... " >&6; }
61399   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
61400     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
61401   $as_echo_n "(cached) " >&6
61402 else
61403
61404
61405       ac_ext=cpp
61406 ac_cpp='$CXXCPP $CPPFLAGS'
61407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61410
61411       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61412 /* end confdefs.h.  */
61413 #include <math.h>
61414                       #ifdef HAVE_IEEEFP_H
61415                       #include <ieeefp.h>
61416                       #endif
61417
61418 int
61419 main ()
61420 {
61421  fabsl(0);
61422   ;
61423   return 0;
61424 }
61425 _ACEOF
61426 if ac_fn_cxx_try_compile "$LINENO"; then :
61427   glibcxx_cv_func_fabsl_use=yes
61428 else
61429   glibcxx_cv_func_fabsl_use=no
61430 fi
61431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61432       ac_ext=c
61433 ac_cpp='$CPP $CPPFLAGS'
61434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61437
61438
61439 fi
61440
61441   fi
61442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
61443 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
61444
61445   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
61446     for ac_func in fabsl
61447 do :
61448   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
61449 if test "x$ac_cv_func_fabsl" = x""yes; then :
61450   cat >>confdefs.h <<_ACEOF
61451 #define HAVE_FABSL 1
61452 _ACEOF
61453
61454 fi
61455 done
61456
61457   else
61458
61459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
61460 $as_echo_n "checking for _fabsl declaration... " >&6; }
61461   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
61462     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
61463   $as_echo_n "(cached) " >&6
61464 else
61465
61466
61467       ac_ext=cpp
61468 ac_cpp='$CXXCPP $CPPFLAGS'
61469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61472
61473       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61474 /* end confdefs.h.  */
61475 #include <math.h>
61476                       #ifdef HAVE_IEEEFP_H
61477                       #include <ieeefp.h>
61478                       #endif
61479
61480 int
61481 main ()
61482 {
61483  _fabsl(0);
61484   ;
61485   return 0;
61486 }
61487 _ACEOF
61488 if ac_fn_cxx_try_compile "$LINENO"; then :
61489   glibcxx_cv_func__fabsl_use=yes
61490 else
61491   glibcxx_cv_func__fabsl_use=no
61492 fi
61493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61494       ac_ext=c
61495 ac_cpp='$CPP $CPPFLAGS'
61496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61499
61500
61501 fi
61502
61503   fi
61504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
61505 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
61506
61507     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
61508       for ac_func in _fabsl
61509 do :
61510   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
61511 if test "x$ac_cv_func__fabsl" = x""yes; then :
61512   cat >>confdefs.h <<_ACEOF
61513 #define HAVE__FABSL 1
61514 _ACEOF
61515
61516 fi
61517 done
61518
61519     fi
61520   fi
61521
61522
61523
61524
61525
61526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
61527 $as_echo_n "checking for fmodl declaration... " >&6; }
61528   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
61529     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
61530   $as_echo_n "(cached) " >&6
61531 else
61532
61533
61534       ac_ext=cpp
61535 ac_cpp='$CXXCPP $CPPFLAGS'
61536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61539
61540       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61541 /* end confdefs.h.  */
61542 #include <math.h>
61543 int
61544 main ()
61545 {
61546  fmodl(0, 0);
61547   ;
61548   return 0;
61549 }
61550 _ACEOF
61551 if ac_fn_cxx_try_compile "$LINENO"; then :
61552   glibcxx_cv_func_fmodl_use=yes
61553 else
61554   glibcxx_cv_func_fmodl_use=no
61555 fi
61556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61557       ac_ext=c
61558 ac_cpp='$CPP $CPPFLAGS'
61559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61562
61563
61564 fi
61565
61566   fi
61567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
61568 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
61569
61570   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
61571     for ac_func in fmodl
61572 do :
61573   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
61574 if test "x$ac_cv_func_fmodl" = x""yes; then :
61575   cat >>confdefs.h <<_ACEOF
61576 #define HAVE_FMODL 1
61577 _ACEOF
61578
61579 fi
61580 done
61581
61582   else
61583
61584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
61585 $as_echo_n "checking for _fmodl declaration... " >&6; }
61586   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
61587     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
61588   $as_echo_n "(cached) " >&6
61589 else
61590
61591
61592       ac_ext=cpp
61593 ac_cpp='$CXXCPP $CPPFLAGS'
61594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61597
61598       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61599 /* end confdefs.h.  */
61600 #include <math.h>
61601 int
61602 main ()
61603 {
61604  _fmodl(0, 0);
61605   ;
61606   return 0;
61607 }
61608 _ACEOF
61609 if ac_fn_cxx_try_compile "$LINENO"; then :
61610   glibcxx_cv_func__fmodl_use=yes
61611 else
61612   glibcxx_cv_func__fmodl_use=no
61613 fi
61614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61615       ac_ext=c
61616 ac_cpp='$CPP $CPPFLAGS'
61617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61620
61621
61622 fi
61623
61624   fi
61625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
61626 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
61627
61628     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
61629       for ac_func in _fmodl
61630 do :
61631   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
61632 if test "x$ac_cv_func__fmodl" = x""yes; then :
61633   cat >>confdefs.h <<_ACEOF
61634 #define HAVE__FMODL 1
61635 _ACEOF
61636
61637 fi
61638 done
61639
61640     fi
61641   fi
61642
61643
61644
61645
61646
61647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
61648 $as_echo_n "checking for frexpl declaration... " >&6; }
61649   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
61650     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
61651   $as_echo_n "(cached) " >&6
61652 else
61653
61654
61655       ac_ext=cpp
61656 ac_cpp='$CXXCPP $CPPFLAGS'
61657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61660
61661       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61662 /* end confdefs.h.  */
61663 #include <math.h>
61664 int
61665 main ()
61666 {
61667  frexpl(0, 0);
61668   ;
61669   return 0;
61670 }
61671 _ACEOF
61672 if ac_fn_cxx_try_compile "$LINENO"; then :
61673   glibcxx_cv_func_frexpl_use=yes
61674 else
61675   glibcxx_cv_func_frexpl_use=no
61676 fi
61677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61678       ac_ext=c
61679 ac_cpp='$CPP $CPPFLAGS'
61680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61683
61684
61685 fi
61686
61687   fi
61688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
61689 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
61690
61691   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
61692     for ac_func in frexpl
61693 do :
61694   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
61695 if test "x$ac_cv_func_frexpl" = x""yes; then :
61696   cat >>confdefs.h <<_ACEOF
61697 #define HAVE_FREXPL 1
61698 _ACEOF
61699
61700 fi
61701 done
61702
61703   else
61704
61705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
61706 $as_echo_n "checking for _frexpl declaration... " >&6; }
61707   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
61708     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
61709   $as_echo_n "(cached) " >&6
61710 else
61711
61712
61713       ac_ext=cpp
61714 ac_cpp='$CXXCPP $CPPFLAGS'
61715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61718
61719       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61720 /* end confdefs.h.  */
61721 #include <math.h>
61722 int
61723 main ()
61724 {
61725  _frexpl(0, 0);
61726   ;
61727   return 0;
61728 }
61729 _ACEOF
61730 if ac_fn_cxx_try_compile "$LINENO"; then :
61731   glibcxx_cv_func__frexpl_use=yes
61732 else
61733   glibcxx_cv_func__frexpl_use=no
61734 fi
61735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61736       ac_ext=c
61737 ac_cpp='$CPP $CPPFLAGS'
61738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61741
61742
61743 fi
61744
61745   fi
61746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
61747 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
61748
61749     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
61750       for ac_func in _frexpl
61751 do :
61752   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
61753 if test "x$ac_cv_func__frexpl" = x""yes; then :
61754   cat >>confdefs.h <<_ACEOF
61755 #define HAVE__FREXPL 1
61756 _ACEOF
61757
61758 fi
61759 done
61760
61761     fi
61762   fi
61763
61764
61765
61766
61767
61768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
61769 $as_echo_n "checking for hypotl declaration... " >&6; }
61770   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
61771     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
61772   $as_echo_n "(cached) " >&6
61773 else
61774
61775
61776       ac_ext=cpp
61777 ac_cpp='$CXXCPP $CPPFLAGS'
61778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61781
61782       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61783 /* end confdefs.h.  */
61784 #include <math.h>
61785 int
61786 main ()
61787 {
61788  hypotl(0, 0);
61789   ;
61790   return 0;
61791 }
61792 _ACEOF
61793 if ac_fn_cxx_try_compile "$LINENO"; then :
61794   glibcxx_cv_func_hypotl_use=yes
61795 else
61796   glibcxx_cv_func_hypotl_use=no
61797 fi
61798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61799       ac_ext=c
61800 ac_cpp='$CPP $CPPFLAGS'
61801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61804
61805
61806 fi
61807
61808   fi
61809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
61810 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
61811
61812   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
61813     for ac_func in hypotl
61814 do :
61815   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
61816 if test "x$ac_cv_func_hypotl" = x""yes; then :
61817   cat >>confdefs.h <<_ACEOF
61818 #define HAVE_HYPOTL 1
61819 _ACEOF
61820
61821 fi
61822 done
61823
61824   else
61825
61826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
61827 $as_echo_n "checking for _hypotl declaration... " >&6; }
61828   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
61829     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
61830   $as_echo_n "(cached) " >&6
61831 else
61832
61833
61834       ac_ext=cpp
61835 ac_cpp='$CXXCPP $CPPFLAGS'
61836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61839
61840       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61841 /* end confdefs.h.  */
61842 #include <math.h>
61843 int
61844 main ()
61845 {
61846  _hypotl(0, 0);
61847   ;
61848   return 0;
61849 }
61850 _ACEOF
61851 if ac_fn_cxx_try_compile "$LINENO"; then :
61852   glibcxx_cv_func__hypotl_use=yes
61853 else
61854   glibcxx_cv_func__hypotl_use=no
61855 fi
61856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61857       ac_ext=c
61858 ac_cpp='$CPP $CPPFLAGS'
61859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61862
61863
61864 fi
61865
61866   fi
61867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
61868 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
61869
61870     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
61871       for ac_func in _hypotl
61872 do :
61873   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
61874 if test "x$ac_cv_func__hypotl" = x""yes; then :
61875   cat >>confdefs.h <<_ACEOF
61876 #define HAVE__HYPOTL 1
61877 _ACEOF
61878
61879 fi
61880 done
61881
61882     fi
61883   fi
61884
61885
61886
61887
61888
61889   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
61890 $as_echo_n "checking for ldexpl declaration... " >&6; }
61891   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
61892     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
61893   $as_echo_n "(cached) " >&6
61894 else
61895
61896
61897       ac_ext=cpp
61898 ac_cpp='$CXXCPP $CPPFLAGS'
61899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61902
61903       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61904 /* end confdefs.h.  */
61905 #include <math.h>
61906 int
61907 main ()
61908 {
61909  ldexpl(0, 0);
61910   ;
61911   return 0;
61912 }
61913 _ACEOF
61914 if ac_fn_cxx_try_compile "$LINENO"; then :
61915   glibcxx_cv_func_ldexpl_use=yes
61916 else
61917   glibcxx_cv_func_ldexpl_use=no
61918 fi
61919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61920       ac_ext=c
61921 ac_cpp='$CPP $CPPFLAGS'
61922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61925
61926
61927 fi
61928
61929   fi
61930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
61931 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
61932
61933   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
61934     for ac_func in ldexpl
61935 do :
61936   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
61937 if test "x$ac_cv_func_ldexpl" = x""yes; then :
61938   cat >>confdefs.h <<_ACEOF
61939 #define HAVE_LDEXPL 1
61940 _ACEOF
61941
61942 fi
61943 done
61944
61945   else
61946
61947   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
61948 $as_echo_n "checking for _ldexpl declaration... " >&6; }
61949   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
61950     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
61951   $as_echo_n "(cached) " >&6
61952 else
61953
61954
61955       ac_ext=cpp
61956 ac_cpp='$CXXCPP $CPPFLAGS'
61957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61960
61961       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61962 /* end confdefs.h.  */
61963 #include <math.h>
61964 int
61965 main ()
61966 {
61967  _ldexpl(0, 0);
61968   ;
61969   return 0;
61970 }
61971 _ACEOF
61972 if ac_fn_cxx_try_compile "$LINENO"; then :
61973   glibcxx_cv_func__ldexpl_use=yes
61974 else
61975   glibcxx_cv_func__ldexpl_use=no
61976 fi
61977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61978       ac_ext=c
61979 ac_cpp='$CPP $CPPFLAGS'
61980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61983
61984
61985 fi
61986
61987   fi
61988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
61989 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
61990
61991     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
61992       for ac_func in _ldexpl
61993 do :
61994   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
61995 if test "x$ac_cv_func__ldexpl" = x""yes; then :
61996   cat >>confdefs.h <<_ACEOF
61997 #define HAVE__LDEXPL 1
61998 _ACEOF
61999
62000 fi
62001 done
62002
62003     fi
62004   fi
62005
62006
62007
62008
62009
62010   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62011 $as_echo_n "checking for logl declaration... " >&6; }
62012   if test x${glibcxx_cv_func_logl_use+set} != xset; then
62013     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62014   $as_echo_n "(cached) " >&6
62015 else
62016
62017
62018       ac_ext=cpp
62019 ac_cpp='$CXXCPP $CPPFLAGS'
62020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62023
62024       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62025 /* end confdefs.h.  */
62026 #include <math.h>
62027                       #ifdef HAVE_IEEEFP_H
62028                       #include <ieeefp.h>
62029                       #endif
62030
62031 int
62032 main ()
62033 {
62034  logl(0);
62035   ;
62036   return 0;
62037 }
62038 _ACEOF
62039 if ac_fn_cxx_try_compile "$LINENO"; then :
62040   glibcxx_cv_func_logl_use=yes
62041 else
62042   glibcxx_cv_func_logl_use=no
62043 fi
62044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62045       ac_ext=c
62046 ac_cpp='$CPP $CPPFLAGS'
62047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62050
62051
62052 fi
62053
62054   fi
62055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62056 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62057
62058   if test x$glibcxx_cv_func_logl_use = x"yes"; then
62059     for ac_func in logl
62060 do :
62061   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62062 if test "x$ac_cv_func_logl" = x""yes; then :
62063   cat >>confdefs.h <<_ACEOF
62064 #define HAVE_LOGL 1
62065 _ACEOF
62066
62067 fi
62068 done
62069
62070   else
62071
62072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62073 $as_echo_n "checking for _logl declaration... " >&6; }
62074   if test x${glibcxx_cv_func__logl_use+set} != xset; then
62075     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62076   $as_echo_n "(cached) " >&6
62077 else
62078
62079
62080       ac_ext=cpp
62081 ac_cpp='$CXXCPP $CPPFLAGS'
62082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62085
62086       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62087 /* end confdefs.h.  */
62088 #include <math.h>
62089                       #ifdef HAVE_IEEEFP_H
62090                       #include <ieeefp.h>
62091                       #endif
62092
62093 int
62094 main ()
62095 {
62096  _logl(0);
62097   ;
62098   return 0;
62099 }
62100 _ACEOF
62101 if ac_fn_cxx_try_compile "$LINENO"; then :
62102   glibcxx_cv_func__logl_use=yes
62103 else
62104   glibcxx_cv_func__logl_use=no
62105 fi
62106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62107       ac_ext=c
62108 ac_cpp='$CPP $CPPFLAGS'
62109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62112
62113
62114 fi
62115
62116   fi
62117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62118 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62119
62120     if test x$glibcxx_cv_func__logl_use = x"yes"; then
62121       for ac_func in _logl
62122 do :
62123   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62124 if test "x$ac_cv_func__logl" = x""yes; then :
62125   cat >>confdefs.h <<_ACEOF
62126 #define HAVE__LOGL 1
62127 _ACEOF
62128
62129 fi
62130 done
62131
62132     fi
62133   fi
62134
62135
62136
62137
62138
62139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62140 $as_echo_n "checking for log10l declaration... " >&6; }
62141   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62142     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62143   $as_echo_n "(cached) " >&6
62144 else
62145
62146
62147       ac_ext=cpp
62148 ac_cpp='$CXXCPP $CPPFLAGS'
62149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62152
62153       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62154 /* end confdefs.h.  */
62155 #include <math.h>
62156                       #ifdef HAVE_IEEEFP_H
62157                       #include <ieeefp.h>
62158                       #endif
62159
62160 int
62161 main ()
62162 {
62163  log10l(0);
62164   ;
62165   return 0;
62166 }
62167 _ACEOF
62168 if ac_fn_cxx_try_compile "$LINENO"; then :
62169   glibcxx_cv_func_log10l_use=yes
62170 else
62171   glibcxx_cv_func_log10l_use=no
62172 fi
62173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62174       ac_ext=c
62175 ac_cpp='$CPP $CPPFLAGS'
62176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62179
62180
62181 fi
62182
62183   fi
62184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62185 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62186
62187   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62188     for ac_func in log10l
62189 do :
62190   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62191 if test "x$ac_cv_func_log10l" = x""yes; then :
62192   cat >>confdefs.h <<_ACEOF
62193 #define HAVE_LOG10L 1
62194 _ACEOF
62195
62196 fi
62197 done
62198
62199   else
62200
62201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62202 $as_echo_n "checking for _log10l declaration... " >&6; }
62203   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62204     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62205   $as_echo_n "(cached) " >&6
62206 else
62207
62208
62209       ac_ext=cpp
62210 ac_cpp='$CXXCPP $CPPFLAGS'
62211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62214
62215       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62216 /* end confdefs.h.  */
62217 #include <math.h>
62218                       #ifdef HAVE_IEEEFP_H
62219                       #include <ieeefp.h>
62220                       #endif
62221
62222 int
62223 main ()
62224 {
62225  _log10l(0);
62226   ;
62227   return 0;
62228 }
62229 _ACEOF
62230 if ac_fn_cxx_try_compile "$LINENO"; then :
62231   glibcxx_cv_func__log10l_use=yes
62232 else
62233   glibcxx_cv_func__log10l_use=no
62234 fi
62235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62236       ac_ext=c
62237 ac_cpp='$CPP $CPPFLAGS'
62238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62241
62242
62243 fi
62244
62245   fi
62246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62247 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62248
62249     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62250       for ac_func in _log10l
62251 do :
62252   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62253 if test "x$ac_cv_func__log10l" = x""yes; then :
62254   cat >>confdefs.h <<_ACEOF
62255 #define HAVE__LOG10L 1
62256 _ACEOF
62257
62258 fi
62259 done
62260
62261     fi
62262   fi
62263
62264
62265
62266
62267
62268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62269 $as_echo_n "checking for modfl declaration... " >&6; }
62270   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62271     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62272   $as_echo_n "(cached) " >&6
62273 else
62274
62275
62276       ac_ext=cpp
62277 ac_cpp='$CXXCPP $CPPFLAGS'
62278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62281
62282       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62283 /* end confdefs.h.  */
62284 #include <math.h>
62285 int
62286 main ()
62287 {
62288  modfl(0, 0);
62289   ;
62290   return 0;
62291 }
62292 _ACEOF
62293 if ac_fn_cxx_try_compile "$LINENO"; then :
62294   glibcxx_cv_func_modfl_use=yes
62295 else
62296   glibcxx_cv_func_modfl_use=no
62297 fi
62298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62299       ac_ext=c
62300 ac_cpp='$CPP $CPPFLAGS'
62301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62304
62305
62306 fi
62307
62308   fi
62309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62310 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62311
62312   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62313     for ac_func in modfl
62314 do :
62315   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62316 if test "x$ac_cv_func_modfl" = x""yes; then :
62317   cat >>confdefs.h <<_ACEOF
62318 #define HAVE_MODFL 1
62319 _ACEOF
62320
62321 fi
62322 done
62323
62324   else
62325
62326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62327 $as_echo_n "checking for _modfl declaration... " >&6; }
62328   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62329     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62330   $as_echo_n "(cached) " >&6
62331 else
62332
62333
62334       ac_ext=cpp
62335 ac_cpp='$CXXCPP $CPPFLAGS'
62336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62339
62340       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62341 /* end confdefs.h.  */
62342 #include <math.h>
62343 int
62344 main ()
62345 {
62346  _modfl(0, 0);
62347   ;
62348   return 0;
62349 }
62350 _ACEOF
62351 if ac_fn_cxx_try_compile "$LINENO"; then :
62352   glibcxx_cv_func__modfl_use=yes
62353 else
62354   glibcxx_cv_func__modfl_use=no
62355 fi
62356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62357       ac_ext=c
62358 ac_cpp='$CPP $CPPFLAGS'
62359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62362
62363
62364 fi
62365
62366   fi
62367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
62368 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
62369
62370     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
62371       for ac_func in _modfl
62372 do :
62373   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
62374 if test "x$ac_cv_func__modfl" = x""yes; then :
62375   cat >>confdefs.h <<_ACEOF
62376 #define HAVE__MODFL 1
62377 _ACEOF
62378
62379 fi
62380 done
62381
62382     fi
62383   fi
62384
62385
62386
62387
62388
62389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
62390 $as_echo_n "checking for powl declaration... " >&6; }
62391   if test x${glibcxx_cv_func_powl_use+set} != xset; then
62392     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
62393   $as_echo_n "(cached) " >&6
62394 else
62395
62396
62397       ac_ext=cpp
62398 ac_cpp='$CXXCPP $CPPFLAGS'
62399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62402
62403       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62404 /* end confdefs.h.  */
62405 #include <math.h>
62406 int
62407 main ()
62408 {
62409  powl(0, 0);
62410   ;
62411   return 0;
62412 }
62413 _ACEOF
62414 if ac_fn_cxx_try_compile "$LINENO"; then :
62415   glibcxx_cv_func_powl_use=yes
62416 else
62417   glibcxx_cv_func_powl_use=no
62418 fi
62419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62420       ac_ext=c
62421 ac_cpp='$CPP $CPPFLAGS'
62422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62425
62426
62427 fi
62428
62429   fi
62430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
62431 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
62432
62433   if test x$glibcxx_cv_func_powl_use = x"yes"; then
62434     for ac_func in powl
62435 do :
62436   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
62437 if test "x$ac_cv_func_powl" = x""yes; then :
62438   cat >>confdefs.h <<_ACEOF
62439 #define HAVE_POWL 1
62440 _ACEOF
62441
62442 fi
62443 done
62444
62445   else
62446
62447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
62448 $as_echo_n "checking for _powl declaration... " >&6; }
62449   if test x${glibcxx_cv_func__powl_use+set} != xset; then
62450     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
62451   $as_echo_n "(cached) " >&6
62452 else
62453
62454
62455       ac_ext=cpp
62456 ac_cpp='$CXXCPP $CPPFLAGS'
62457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62460
62461       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62462 /* end confdefs.h.  */
62463 #include <math.h>
62464 int
62465 main ()
62466 {
62467  _powl(0, 0);
62468   ;
62469   return 0;
62470 }
62471 _ACEOF
62472 if ac_fn_cxx_try_compile "$LINENO"; then :
62473   glibcxx_cv_func__powl_use=yes
62474 else
62475   glibcxx_cv_func__powl_use=no
62476 fi
62477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62478       ac_ext=c
62479 ac_cpp='$CPP $CPPFLAGS'
62480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62483
62484
62485 fi
62486
62487   fi
62488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
62489 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
62490
62491     if test x$glibcxx_cv_func__powl_use = x"yes"; then
62492       for ac_func in _powl
62493 do :
62494   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
62495 if test "x$ac_cv_func__powl" = x""yes; then :
62496   cat >>confdefs.h <<_ACEOF
62497 #define HAVE__POWL 1
62498 _ACEOF
62499
62500 fi
62501 done
62502
62503     fi
62504   fi
62505
62506
62507
62508
62509
62510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
62511 $as_echo_n "checking for sqrtl declaration... " >&6; }
62512   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
62513     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
62514   $as_echo_n "(cached) " >&6
62515 else
62516
62517
62518       ac_ext=cpp
62519 ac_cpp='$CXXCPP $CPPFLAGS'
62520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62523
62524       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62525 /* end confdefs.h.  */
62526 #include <math.h>
62527                       #ifdef HAVE_IEEEFP_H
62528                       #include <ieeefp.h>
62529                       #endif
62530
62531 int
62532 main ()
62533 {
62534  sqrtl(0);
62535   ;
62536   return 0;
62537 }
62538 _ACEOF
62539 if ac_fn_cxx_try_compile "$LINENO"; then :
62540   glibcxx_cv_func_sqrtl_use=yes
62541 else
62542   glibcxx_cv_func_sqrtl_use=no
62543 fi
62544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62545       ac_ext=c
62546 ac_cpp='$CPP $CPPFLAGS'
62547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62550
62551
62552 fi
62553
62554   fi
62555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
62556 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
62557
62558   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
62559     for ac_func in sqrtl
62560 do :
62561   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
62562 if test "x$ac_cv_func_sqrtl" = x""yes; then :
62563   cat >>confdefs.h <<_ACEOF
62564 #define HAVE_SQRTL 1
62565 _ACEOF
62566
62567 fi
62568 done
62569
62570   else
62571
62572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
62573 $as_echo_n "checking for _sqrtl declaration... " >&6; }
62574   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
62575     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
62576   $as_echo_n "(cached) " >&6
62577 else
62578
62579
62580       ac_ext=cpp
62581 ac_cpp='$CXXCPP $CPPFLAGS'
62582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62585
62586       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62587 /* end confdefs.h.  */
62588 #include <math.h>
62589                       #ifdef HAVE_IEEEFP_H
62590                       #include <ieeefp.h>
62591                       #endif
62592
62593 int
62594 main ()
62595 {
62596  _sqrtl(0);
62597   ;
62598   return 0;
62599 }
62600 _ACEOF
62601 if ac_fn_cxx_try_compile "$LINENO"; then :
62602   glibcxx_cv_func__sqrtl_use=yes
62603 else
62604   glibcxx_cv_func__sqrtl_use=no
62605 fi
62606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62607       ac_ext=c
62608 ac_cpp='$CPP $CPPFLAGS'
62609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62612
62613
62614 fi
62615
62616   fi
62617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
62618 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
62619
62620     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
62621       for ac_func in _sqrtl
62622 do :
62623   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
62624 if test "x$ac_cv_func__sqrtl" = x""yes; then :
62625   cat >>confdefs.h <<_ACEOF
62626 #define HAVE__SQRTL 1
62627 _ACEOF
62628
62629 fi
62630 done
62631
62632     fi
62633   fi
62634
62635
62636
62637
62638
62639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
62640 $as_echo_n "checking for sincosl declaration... " >&6; }
62641   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
62642     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
62643   $as_echo_n "(cached) " >&6
62644 else
62645
62646
62647       ac_ext=cpp
62648 ac_cpp='$CXXCPP $CPPFLAGS'
62649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62652
62653       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62654 /* end confdefs.h.  */
62655 #include <math.h>
62656 int
62657 main ()
62658 {
62659  sincosl(0, 0, 0);
62660   ;
62661   return 0;
62662 }
62663 _ACEOF
62664 if ac_fn_cxx_try_compile "$LINENO"; then :
62665   glibcxx_cv_func_sincosl_use=yes
62666 else
62667   glibcxx_cv_func_sincosl_use=no
62668 fi
62669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62670       ac_ext=c
62671 ac_cpp='$CPP $CPPFLAGS'
62672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62675
62676
62677 fi
62678
62679   fi
62680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
62681 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
62682
62683   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
62684     for ac_func in sincosl
62685 do :
62686   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
62687 if test "x$ac_cv_func_sincosl" = x""yes; then :
62688   cat >>confdefs.h <<_ACEOF
62689 #define HAVE_SINCOSL 1
62690 _ACEOF
62691
62692 fi
62693 done
62694
62695   else
62696
62697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
62698 $as_echo_n "checking for _sincosl declaration... " >&6; }
62699   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
62700     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
62701   $as_echo_n "(cached) " >&6
62702 else
62703
62704
62705       ac_ext=cpp
62706 ac_cpp='$CXXCPP $CPPFLAGS'
62707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62710
62711       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62712 /* end confdefs.h.  */
62713 #include <math.h>
62714 int
62715 main ()
62716 {
62717  _sincosl(0, 0, 0);
62718   ;
62719   return 0;
62720 }
62721 _ACEOF
62722 if ac_fn_cxx_try_compile "$LINENO"; then :
62723   glibcxx_cv_func__sincosl_use=yes
62724 else
62725   glibcxx_cv_func__sincosl_use=no
62726 fi
62727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62728       ac_ext=c
62729 ac_cpp='$CPP $CPPFLAGS'
62730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62733
62734
62735 fi
62736
62737   fi
62738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
62739 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
62740
62741     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
62742       for ac_func in _sincosl
62743 do :
62744   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
62745 if test "x$ac_cv_func__sincosl" = x""yes; then :
62746   cat >>confdefs.h <<_ACEOF
62747 #define HAVE__SINCOSL 1
62748 _ACEOF
62749
62750 fi
62751 done
62752
62753     fi
62754   fi
62755
62756
62757
62758
62759
62760   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
62761 $as_echo_n "checking for finitel declaration... " >&6; }
62762   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
62763     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
62764   $as_echo_n "(cached) " >&6
62765 else
62766
62767
62768       ac_ext=cpp
62769 ac_cpp='$CXXCPP $CPPFLAGS'
62770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62773
62774       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62775 /* end confdefs.h.  */
62776 #include <math.h>
62777                       #ifdef HAVE_IEEEFP_H
62778                       #include <ieeefp.h>
62779                       #endif
62780
62781 int
62782 main ()
62783 {
62784  finitel(0);
62785   ;
62786   return 0;
62787 }
62788 _ACEOF
62789 if ac_fn_cxx_try_compile "$LINENO"; then :
62790   glibcxx_cv_func_finitel_use=yes
62791 else
62792   glibcxx_cv_func_finitel_use=no
62793 fi
62794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62795       ac_ext=c
62796 ac_cpp='$CPP $CPPFLAGS'
62797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62800
62801
62802 fi
62803
62804   fi
62805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
62806 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
62807
62808   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
62809     for ac_func in finitel
62810 do :
62811   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
62812 if test "x$ac_cv_func_finitel" = x""yes; then :
62813   cat >>confdefs.h <<_ACEOF
62814 #define HAVE_FINITEL 1
62815 _ACEOF
62816
62817 fi
62818 done
62819
62820   else
62821
62822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
62823 $as_echo_n "checking for _finitel declaration... " >&6; }
62824   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
62825     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
62826   $as_echo_n "(cached) " >&6
62827 else
62828
62829
62830       ac_ext=cpp
62831 ac_cpp='$CXXCPP $CPPFLAGS'
62832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62835
62836       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62837 /* end confdefs.h.  */
62838 #include <math.h>
62839                       #ifdef HAVE_IEEEFP_H
62840                       #include <ieeefp.h>
62841                       #endif
62842
62843 int
62844 main ()
62845 {
62846  _finitel(0);
62847   ;
62848   return 0;
62849 }
62850 _ACEOF
62851 if ac_fn_cxx_try_compile "$LINENO"; then :
62852   glibcxx_cv_func__finitel_use=yes
62853 else
62854   glibcxx_cv_func__finitel_use=no
62855 fi
62856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62857       ac_ext=c
62858 ac_cpp='$CPP $CPPFLAGS'
62859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62862
62863
62864 fi
62865
62866   fi
62867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
62868 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
62869
62870     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
62871       for ac_func in _finitel
62872 do :
62873   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
62874 if test "x$ac_cv_func__finitel" = x""yes; then :
62875   cat >>confdefs.h <<_ACEOF
62876 #define HAVE__FINITEL 1
62877 _ACEOF
62878
62879 fi
62880 done
62881
62882     fi
62883   fi
62884
62885
62886
62887
62888   LIBS="$ac_save_LIBS"
62889   CXXFLAGS="$ac_save_CXXFLAGS"
62890
62891
62892   ac_test_CXXFLAGS="${CXXFLAGS+set}"
62893   ac_save_CXXFLAGS="$CXXFLAGS"
62894   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
62895
62896
62897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
62898 $as_echo_n "checking for strtold declaration... " >&6; }
62899   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
62900     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
62901   $as_echo_n "(cached) " >&6
62902 else
62903
62904
62905       ac_ext=cpp
62906 ac_cpp='$CXXCPP $CPPFLAGS'
62907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62910
62911       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62912 /* end confdefs.h.  */
62913 #include <stdlib.h>
62914 int
62915 main ()
62916 {
62917  strtold(0, 0);
62918   ;
62919   return 0;
62920 }
62921 _ACEOF
62922 if ac_fn_cxx_try_compile "$LINENO"; then :
62923   glibcxx_cv_func_strtold_use=yes
62924 else
62925   glibcxx_cv_func_strtold_use=no
62926 fi
62927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62928       ac_ext=c
62929 ac_cpp='$CPP $CPPFLAGS'
62930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62933
62934
62935 fi
62936
62937   fi
62938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
62939 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
62940   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
62941     for ac_func in strtold
62942 do :
62943   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
62944 if test "x$ac_cv_func_strtold" = x""yes; then :
62945   cat >>confdefs.h <<_ACEOF
62946 #define HAVE_STRTOLD 1
62947 _ACEOF
62948
62949 fi
62950 done
62951
62952   fi
62953
62954
62955
62956
62957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
62958 $as_echo_n "checking for strtof declaration... " >&6; }
62959   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
62960     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
62961   $as_echo_n "(cached) " >&6
62962 else
62963
62964
62965       ac_ext=cpp
62966 ac_cpp='$CXXCPP $CPPFLAGS'
62967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62970
62971       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62972 /* end confdefs.h.  */
62973 #include <stdlib.h>
62974 int
62975 main ()
62976 {
62977  strtof(0, 0);
62978   ;
62979   return 0;
62980 }
62981 _ACEOF
62982 if ac_fn_cxx_try_compile "$LINENO"; then :
62983   glibcxx_cv_func_strtof_use=yes
62984 else
62985   glibcxx_cv_func_strtof_use=no
62986 fi
62987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62988       ac_ext=c
62989 ac_cpp='$CPP $CPPFLAGS'
62990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62993
62994
62995 fi
62996
62997   fi
62998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
62999 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63000   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63001     for ac_func in strtof
63002 do :
63003   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63004 if test "x$ac_cv_func_strtof" = x""yes; then :
63005   cat >>confdefs.h <<_ACEOF
63006 #define HAVE_STRTOF 1
63007 _ACEOF
63008
63009 fi
63010 done
63011
63012   fi
63013
63014
63015
63016
63017   CXXFLAGS="$ac_save_CXXFLAGS"
63018
63019     ;;
63020   *-solaris*)
63021     case "$target" in
63022       *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63023
63024   # If we're not using GNU ld, then there's no point in even trying these
63025   # tests.  Check for that first.  We should have already tested for gld
63026   # by now (in libtool), but require it now just to be safe...
63027   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63028   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63029
63030
63031
63032   # The name set by libtool depends on the version of libtool.  Shame on us
63033   # for depending on an impl detail, but c'est la vie.  Older versions used
63034   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63035   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63036   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
63037   # set (hence we're using an older libtool), then set it.
63038   if test x${with_gnu_ld+set} != xset; then
63039     if test x${ac_cv_prog_gnu_ld+set} != xset; then
63040       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
63041       with_gnu_ld=no
63042     else
63043       with_gnu_ld=$ac_cv_prog_gnu_ld
63044     fi
63045   fi
63046
63047   # Start by getting the version number.  I think the libtool test already
63048   # does some of this, but throws away the result.
63049   glibcxx_ld_is_gold=no
63050   if test x"$with_gnu_ld" = x"yes"; then
63051     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63052 $as_echo_n "checking for ld version... " >&6; }
63053
63054     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63055       glibcxx_ld_is_gold=yes
63056     fi
63057     ldver=`$LD --version 2>/dev/null |
63058            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'`
63059
63060     glibcxx_gnu_ld_version=`echo $ldver | \
63061            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63062     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63063 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63064   fi
63065
63066   # Set --gc-sections.
63067   glibcxx_have_gc_sections=no
63068   if test "$glibcxx_ld_is_gold" = "yes"; then
63069     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63070       glibcxx_have_gc_sections=yes
63071     fi
63072   else
63073     glibcxx_gcsections_min_ld=21602
63074     if test x"$with_gnu_ld" = x"yes" &&
63075         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63076       glibcxx_have_gc_sections=yes
63077     fi
63078   fi
63079   if test "$glibcxx_have_gc_sections" = "yes"; then
63080     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
63081     # NB: This flag only works reliably after 2.16.1. Configure tests
63082     # for this are difficult, so hard wire a value that should work.
63083
63084     ac_test_CFLAGS="${CFLAGS+set}"
63085     ac_save_CFLAGS="$CFLAGS"
63086     CFLAGS='-Wl,--gc-sections'
63087
63088     # Check for -Wl,--gc-sections
63089     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63090 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63091     if test x$gcc_no_link = xyes; then
63092   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63093 fi
63094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63095 /* end confdefs.h.  */
63096  int one(void) { return 1; }
63097      int two(void) { return 2; }
63098
63099 int
63100 main ()
63101 {
63102  two();
63103   ;
63104   return 0;
63105 }
63106 _ACEOF
63107 if ac_fn_c_try_link "$LINENO"; then :
63108   ac_gcsections=yes
63109 else
63110   ac_gcsections=no
63111 fi
63112 rm -f core conftest.err conftest.$ac_objext \
63113     conftest$ac_exeext conftest.$ac_ext
63114     if test "$ac_gcsections" = "yes"; then
63115       rm -f conftest.c
63116       touch conftest.c
63117       if $CC -c conftest.c; then
63118         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63119            grep "Warning: gc-sections option ignored" > /dev/null; then
63120           ac_gcsections=no
63121         fi
63122       fi
63123       rm -f conftest.c conftest.o conftest
63124     fi
63125     if test "$ac_gcsections" = "yes"; then
63126       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63127     fi
63128     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63129 $as_echo "$ac_gcsections" >&6; }
63130
63131     if test "$ac_test_CFLAGS" = set; then
63132       CFLAGS="$ac_save_CFLAGS"
63133     else
63134       # this is the suspicious part
63135       CFLAGS=''
63136     fi
63137   fi
63138
63139   # Set -z,relro.
63140   # Note this is only for shared objects.
63141   ac_ld_relro=no
63142   if test x"$with_gnu_ld" = x"yes"; then
63143     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63144 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63145     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63146     if test -n "$cxx_z_relo"; then
63147       OPT_LDFLAGS="-Wl,-z,relro"
63148       ac_ld_relro=yes
63149     fi
63150     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63151 $as_echo "$ac_ld_relro" >&6; }
63152   fi
63153
63154   # Set linker optimization flags.
63155   if test x"$with_gnu_ld" = x"yes"; then
63156     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63157   fi
63158
63159
63160
63161
63162          $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63163
63164          $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63165
63166          $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63167
63168          # All of the dependencies for wide character support are here, so
63169          # turn it on.
63170          $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63171
63172         ;;
63173     esac
63174     case "$target" in
63175       *-*-solaris2.10)
63176       # These two C99 functions are present only in Solaris >= 10
63177       $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63178
63179       $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63180
63181      ;;
63182     esac
63183     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63184
63185     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63186
63187     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63188
63189     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63190
63191     ;;
63192   *-tpf)
63193     SECTION_FLAGS='-ffunction-sections -fdata-sections'
63194
63195
63196   # If we're not using GNU ld, then there's no point in even trying these
63197   # tests.  Check for that first.  We should have already tested for gld
63198   # by now (in libtool), but require it now just to be safe...
63199   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63200   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63201
63202
63203
63204   # The name set by libtool depends on the version of libtool.  Shame on us
63205   # for depending on an impl detail, but c'est la vie.  Older versions used
63206   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63207   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63208   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
63209   # set (hence we're using an older libtool), then set it.
63210   if test x${with_gnu_ld+set} != xset; then
63211     if test x${ac_cv_prog_gnu_ld+set} != xset; then
63212       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
63213       with_gnu_ld=no
63214     else
63215       with_gnu_ld=$ac_cv_prog_gnu_ld
63216     fi
63217   fi
63218
63219   # Start by getting the version number.  I think the libtool test already
63220   # does some of this, but throws away the result.
63221   glibcxx_ld_is_gold=no
63222   if test x"$with_gnu_ld" = x"yes"; then
63223     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63224 $as_echo_n "checking for ld version... " >&6; }
63225
63226     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63227       glibcxx_ld_is_gold=yes
63228     fi
63229     ldver=`$LD --version 2>/dev/null |
63230            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'`
63231
63232     glibcxx_gnu_ld_version=`echo $ldver | \
63233            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63234     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63235 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63236   fi
63237
63238   # Set --gc-sections.
63239   glibcxx_have_gc_sections=no
63240   if test "$glibcxx_ld_is_gold" = "yes"; then
63241     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63242       glibcxx_have_gc_sections=yes
63243     fi
63244   else
63245     glibcxx_gcsections_min_ld=21602
63246     if test x"$with_gnu_ld" = x"yes" &&
63247         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63248       glibcxx_have_gc_sections=yes
63249     fi
63250   fi
63251   if test "$glibcxx_have_gc_sections" = "yes"; then
63252     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
63253     # NB: This flag only works reliably after 2.16.1. Configure tests
63254     # for this are difficult, so hard wire a value that should work.
63255
63256     ac_test_CFLAGS="${CFLAGS+set}"
63257     ac_save_CFLAGS="$CFLAGS"
63258     CFLAGS='-Wl,--gc-sections'
63259
63260     # Check for -Wl,--gc-sections
63261     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63262 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63263     if test x$gcc_no_link = xyes; then
63264   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63265 fi
63266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63267 /* end confdefs.h.  */
63268  int one(void) { return 1; }
63269      int two(void) { return 2; }
63270
63271 int
63272 main ()
63273 {
63274  two();
63275   ;
63276   return 0;
63277 }
63278 _ACEOF
63279 if ac_fn_c_try_link "$LINENO"; then :
63280   ac_gcsections=yes
63281 else
63282   ac_gcsections=no
63283 fi
63284 rm -f core conftest.err conftest.$ac_objext \
63285     conftest$ac_exeext conftest.$ac_ext
63286     if test "$ac_gcsections" = "yes"; then
63287       rm -f conftest.c
63288       touch conftest.c
63289       if $CC -c conftest.c; then
63290         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63291            grep "Warning: gc-sections option ignored" > /dev/null; then
63292           ac_gcsections=no
63293         fi
63294       fi
63295       rm -f conftest.c conftest.o conftest
63296     fi
63297     if test "$ac_gcsections" = "yes"; then
63298       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63299     fi
63300     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63301 $as_echo "$ac_gcsections" >&6; }
63302
63303     if test "$ac_test_CFLAGS" = set; then
63304       CFLAGS="$ac_save_CFLAGS"
63305     else
63306       # this is the suspicious part
63307       CFLAGS=''
63308     fi
63309   fi
63310
63311   # Set -z,relro.
63312   # Note this is only for shared objects.
63313   ac_ld_relro=no
63314   if test x"$with_gnu_ld" = x"yes"; then
63315     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63316 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63317     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63318     if test -n "$cxx_z_relo"; then
63319       OPT_LDFLAGS="-Wl,-z,relro"
63320       ac_ld_relro=yes
63321     fi
63322     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63323 $as_echo "$ac_ld_relro" >&6; }
63324   fi
63325
63326   # Set linker optimization flags.
63327   if test x"$with_gnu_ld" = x"yes"; then
63328     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63329   fi
63330
63331
63332
63333
63334     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63335
63336     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63337
63338     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63339
63340     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63341
63342     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63343
63344     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63345
63346     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63347
63348     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63349
63350     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63351
63352     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63353
63354     if test x"long_double_math_on_this_cpu" = x"yes"; then
63355       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63356
63357       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63358
63359       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63360
63361       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63362
63363     fi
63364     ;;
63365   *-vxworks)
63366     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
63367
63368     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
63369
63370     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
63371
63372     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
63373
63374     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
63375
63376     $as_echo "#define HAVE_COSF 1" >>confdefs.h
63377
63378     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
63379
63380     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
63381
63382     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
63383
63384     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
63385
63386     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
63387
63388     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63389
63390     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
63391
63392     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
63393
63394     $as_echo "#define HAVE_POWF 1" >>confdefs.h
63395
63396     $as_echo "#define HAVE_SINF 1" >>confdefs.h
63397
63398     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
63399
63400     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
63401
63402     $as_echo "#define HAVE_TANF 1" >>confdefs.h
63403
63404     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
63405
63406     ;;
63407   *)
63408     as_fn_error "No support for this host/target combination." "$LINENO" 5
63409    ;;
63410 esac
63411
63412   fi
63413
63414   # At some point, we should differentiate between architectures
63415   # like x86, which have long double versions, and alpha/powerpc/etc.,
63416   # which don't. For the time being, punt.
63417   if test x"long_double_math_on_this_cpu" = x"yes"; then
63418     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
63419
63420     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
63421
63422     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
63423
63424     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
63425
63426     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
63427
63428     $as_echo "#define HAVE_COSL 1" >>confdefs.h
63429
63430     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
63431
63432     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
63433
63434     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
63435
63436     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
63437
63438     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
63439
63440     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
63441
63442     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
63443
63444     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
63445
63446     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
63447
63448     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
63449
63450     $as_echo "#define HAVE_POWL 1" >>confdefs.h
63451
63452     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
63453
63454     $as_echo "#define HAVE_SINL 1" >>confdefs.h
63455
63456     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
63457
63458     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
63459
63460     $as_echo "#define HAVE_TANL 1" >>confdefs.h
63461
63462     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
63463
63464   fi
63465 fi
63466
63467 # Check for _Unwind_GetIPInfo.
63468
63469
63470 # Check whether --with-system-libunwind was given.
63471 if test "${with_system_libunwind+set}" = set; then :
63472   withval=$with_system_libunwind;
63473 fi
63474
63475   # If system-libunwind was not specifically set, pick a default setting.
63476   if test x$with_system_libunwind = x; then
63477     case ${target} in
63478       ia64-*-hpux*) with_system_libunwind=yes ;;
63479       *) with_system_libunwind=no ;;
63480     esac
63481   fi
63482   # Based on system-libunwind and target, do we have ipinfo?
63483   if  test x$with_system_libunwind = xyes; then
63484     case ${target} in
63485       ia64-*-*) have_unwind_getipinfo=no ;;
63486       *) have_unwind_getipinfo=yes ;;
63487     esac
63488   else
63489     # Darwin before version 9 does not have _Unwind_GetIPInfo.
63490
63491     case ${target} in
63492       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
63493       *) have_unwind_getipinfo=yes ;;
63494     esac
63495
63496   fi
63497
63498   if test x$have_unwind_getipinfo = xyes; then
63499
63500 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
63501
63502   fi
63503
63504
63505
63506  # Check whether --enable-linux-futex was given.
63507 if test "${enable_linux_futex+set}" = set; then :
63508   enableval=$enable_linux_futex;
63509       case "$enableval" in
63510        yes|no|default) ;;
63511        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
63512                           esac
63513
63514 else
63515   enable_linux_futex=default
63516 fi
63517
63518
63519 case "$target" in
63520   *-linux*)
63521     case "$enable_linux_futex" in
63522       default)
63523         # If headers don't have gettid/futex syscalls definition, then
63524         # default to no, otherwise there will be compile time failures.
63525         # Otherwise, default to yes.  If we don't detect we are
63526         # compiled/linked against NPTL and not cross-compiling, check
63527         # if programs are run by default against NPTL and if not, issue
63528         # a warning.
63529         enable_linux_futex=no
63530         if test x$gcc_no_link = xyes; then
63531   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63532 fi
63533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63534 /* end confdefs.h.  */
63535 #include <sys/syscall.h>
63536            int lk;
63537 int
63538 main ()
63539 {
63540 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63541   ;
63542   return 0;
63543 }
63544 _ACEOF
63545 if ac_fn_c_try_link "$LINENO"; then :
63546   save_LIBS="$LIBS"
63547            LIBS="-lpthread $LIBS"
63548            if test x$gcc_no_link = xyes; then
63549   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63550 fi
63551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63552 /* end confdefs.h.  */
63553 #ifndef _GNU_SOURCE
63554              #define _GNU_SOURCE 1
63555              #endif
63556              #include <pthread.h>
63557              pthread_t th; void *status;
63558 int
63559 main ()
63560 {
63561 pthread_tryjoin_np (th, &status);
63562   ;
63563   return 0;
63564 }
63565 _ACEOF
63566 if ac_fn_c_try_link "$LINENO"; then :
63567   enable_linux_futex=yes
63568 else
63569   if test x$cross_compiling = xno; then
63570                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
63571                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
63572                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
63573 If so, please configure with --disable-linux-futex" >&5
63574 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
63575 If so, please configure with --disable-linux-futex" >&2;}
63576                fi
63577              fi
63578              enable_linux_futex=yes
63579 fi
63580 rm -f core conftest.err conftest.$ac_objext \
63581     conftest$ac_exeext conftest.$ac_ext
63582            LIBS="$save_LIBS"
63583 fi
63584 rm -f core conftest.err conftest.$ac_objext \
63585     conftest$ac_exeext conftest.$ac_ext
63586         ;;
63587       yes)
63588         if test x$gcc_no_link = xyes; then
63589   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63590 fi
63591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63592 /* end confdefs.h.  */
63593 #include <sys/syscall.h>
63594            int lk;
63595 int
63596 main ()
63597 {
63598 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63599   ;
63600   return 0;
63601 }
63602 _ACEOF
63603 if ac_fn_c_try_link "$LINENO"; then :
63604
63605 else
63606   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
63607 fi
63608 rm -f core conftest.err conftest.$ac_objext \
63609     conftest$ac_exeext conftest.$ac_ext
63610         ;;
63611     esac
63612     ;;
63613   *)
63614     enable_linux_futex=no
63615     ;;
63616 esac
63617 if test x$enable_linux_futex = xyes; then
63618
63619 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
63620
63621 fi
63622
63623
63624
63625
63626 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
63627
63628 acx_cv_header_stdint=stddef.h
63629 acx_cv_header_stdint_kind="(already complete)"
63630 for i in stdint.h $inttype_headers; do
63631   unset ac_cv_type_uintptr_t
63632   unset ac_cv_type_uintmax_t
63633   unset ac_cv_type_int_least32_t
63634   unset ac_cv_type_int_fast32_t
63635   unset ac_cv_type_uint64_t
63636   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
63637   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
63638 #include <$i>
63639 "
63640 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
63641   acx_cv_header_stdint=$i
63642 else
63643   continue
63644 fi
63645
63646   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
63647 #include <$i>
63648 "
63649 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
63650
63651 else
63652   acx_cv_header_stdint_kind="(mostly complete)"
63653 fi
63654
63655   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
63656 #include <$i>
63657 "
63658 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
63659
63660 else
63661   acx_cv_header_stdint_kind="(mostly complete)"
63662 fi
63663
63664   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
63665 #include <$i>
63666 "
63667 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
63668
63669 else
63670   acx_cv_header_stdint_kind="(mostly complete)"
63671 fi
63672
63673   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
63674 #include <$i>
63675 "
63676 if test "x$ac_cv_type_uint64_t" = x""yes; then :
63677
63678 else
63679   acx_cv_header_stdint_kind="(lacks uint64_t)"
63680 fi
63681
63682   break
63683 done
63684 if test "$acx_cv_header_stdint" = stddef.h; then
63685   acx_cv_header_stdint_kind="(lacks uintmax_t)"
63686   for i in stdint.h $inttype_headers; do
63687     unset ac_cv_type_uintptr_t
63688     unset ac_cv_type_uint32_t
63689     unset ac_cv_type_uint64_t
63690     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
63691     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
63692 #include <$i>
63693 "
63694 if test "x$ac_cv_type_uint32_t" = x""yes; then :
63695   acx_cv_header_stdint=$i
63696 else
63697   continue
63698 fi
63699
63700     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
63701 #include <$i>
63702 "
63703 if test "x$ac_cv_type_uint64_t" = x""yes; then :
63704
63705 fi
63706
63707     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
63708 #include <$i>
63709 "
63710 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
63711
63712 fi
63713
63714     break
63715   done
63716 fi
63717 if test "$acx_cv_header_stdint" = stddef.h; then
63718   acx_cv_header_stdint_kind="(u_intXX_t style)"
63719   for i in sys/types.h $inttype_headers; do
63720     unset ac_cv_type_u_int32_t
63721     unset ac_cv_type_u_int64_t
63722     $as_echo_n "looking for u_intXX_t types in $i, " >&6
63723     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
63724 #include <$i>
63725 "
63726 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
63727   acx_cv_header_stdint=$i
63728 else
63729   continue
63730 fi
63731
63732     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
63733 #include <$i>
63734 "
63735 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
63736
63737 fi
63738
63739     break
63740   done
63741 fi
63742 if test "$acx_cv_header_stdint" = stddef.h; then
63743   acx_cv_header_stdint_kind="(using manual detection)"
63744 fi
63745
63746 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
63747 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
63748 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
63749 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
63750 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
63751
63752 # ----------------- Summarize what we found so far
63753
63754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
63755 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
63756
63757 case `$as_basename -- include/gstdint.h ||
63758 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
63759          Xinclude/gstdint.h : 'X\(//\)$' \| \
63760          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
63761 $as_echo X/include/gstdint.h |
63762     sed '/^.*\/\([^/][^/]*\)\/*$/{
63763             s//\1/
63764             q
63765           }
63766           /^X\/\(\/\/\)$/{
63767             s//\1/
63768             q
63769           }
63770           /^X\/\(\/\).*/{
63771             s//\1/
63772             q
63773           }
63774           s/.*/./; q'` in
63775   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
63776 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
63777   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
63778 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
63779   *) ;;
63780 esac
63781
63782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
63783 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
63784
63785 # ----------------- done included file, check C basic types --------
63786
63787 # Lacking an uintptr_t?  Test size of void *
63788 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
63789   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
63790 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63791 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63792 # This bug is HP SR number 8606223364.
63793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
63794 $as_echo_n "checking size of void *... " >&6; }
63795 if test "${ac_cv_sizeof_void_p+set}" = set; then :
63796   $as_echo_n "(cached) " >&6
63797 else
63798   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
63799
63800 else
63801   if test "$ac_cv_type_void_p" = yes; then
63802      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63804 { as_fn_set_status 77
63805 as_fn_error "cannot compute sizeof (void *)
63806 See \`config.log' for more details." "$LINENO" 5; }; }
63807    else
63808      ac_cv_sizeof_void_p=0
63809    fi
63810 fi
63811
63812 fi
63813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
63814 $as_echo "$ac_cv_sizeof_void_p" >&6; }
63815
63816
63817
63818 cat >>confdefs.h <<_ACEOF
63819 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
63820 _ACEOF
63821
63822  ;;
63823 esac
63824
63825 # Lacking an uint64_t?  Test size of long
63826 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
63827   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
63828 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63829 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63830 # This bug is HP SR number 8606223364.
63831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
63832 $as_echo_n "checking size of long... " >&6; }
63833 if test "${ac_cv_sizeof_long+set}" = set; then :
63834   $as_echo_n "(cached) " >&6
63835 else
63836   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
63837
63838 else
63839   if test "$ac_cv_type_long" = yes; then
63840      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63841 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63842 { as_fn_set_status 77
63843 as_fn_error "cannot compute sizeof (long)
63844 See \`config.log' for more details." "$LINENO" 5; }; }
63845    else
63846      ac_cv_sizeof_long=0
63847    fi
63848 fi
63849
63850 fi
63851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
63852 $as_echo "$ac_cv_sizeof_long" >&6; }
63853
63854
63855
63856 cat >>confdefs.h <<_ACEOF
63857 #define SIZEOF_LONG $ac_cv_sizeof_long
63858 _ACEOF
63859
63860  ;;
63861 esac
63862
63863 if test $acx_cv_header_stdint = stddef.h; then
63864   # Lacking a good header?  Test size of everything and deduce all types.
63865   # The cast to long int works around a bug in the HP C Compiler
63866 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63867 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63868 # This bug is HP SR number 8606223364.
63869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
63870 $as_echo_n "checking size of int... " >&6; }
63871 if test "${ac_cv_sizeof_int+set}" = set; then :
63872   $as_echo_n "(cached) " >&6
63873 else
63874   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
63875
63876 else
63877   if test "$ac_cv_type_int" = yes; then
63878      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63879 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63880 { as_fn_set_status 77
63881 as_fn_error "cannot compute sizeof (int)
63882 See \`config.log' for more details." "$LINENO" 5; }; }
63883    else
63884      ac_cv_sizeof_int=0
63885    fi
63886 fi
63887
63888 fi
63889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
63890 $as_echo "$ac_cv_sizeof_int" >&6; }
63891
63892
63893
63894 cat >>confdefs.h <<_ACEOF
63895 #define SIZEOF_INT $ac_cv_sizeof_int
63896 _ACEOF
63897
63898
63899   # The cast to long int works around a bug in the HP C Compiler
63900 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63901 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63902 # This bug is HP SR number 8606223364.
63903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
63904 $as_echo_n "checking size of short... " >&6; }
63905 if test "${ac_cv_sizeof_short+set}" = set; then :
63906   $as_echo_n "(cached) " >&6
63907 else
63908   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
63909
63910 else
63911   if test "$ac_cv_type_short" = yes; then
63912      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63914 { as_fn_set_status 77
63915 as_fn_error "cannot compute sizeof (short)
63916 See \`config.log' for more details." "$LINENO" 5; }; }
63917    else
63918      ac_cv_sizeof_short=0
63919    fi
63920 fi
63921
63922 fi
63923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
63924 $as_echo "$ac_cv_sizeof_short" >&6; }
63925
63926
63927
63928 cat >>confdefs.h <<_ACEOF
63929 #define SIZEOF_SHORT $ac_cv_sizeof_short
63930 _ACEOF
63931
63932
63933   # The cast to long int works around a bug in the HP C Compiler
63934 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63935 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63936 # This bug is HP SR number 8606223364.
63937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
63938 $as_echo_n "checking size of char... " >&6; }
63939 if test "${ac_cv_sizeof_char+set}" = set; then :
63940   $as_echo_n "(cached) " >&6
63941 else
63942   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
63943
63944 else
63945   if test "$ac_cv_type_char" = yes; then
63946      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63948 { as_fn_set_status 77
63949 as_fn_error "cannot compute sizeof (char)
63950 See \`config.log' for more details." "$LINENO" 5; }; }
63951    else
63952      ac_cv_sizeof_char=0
63953    fi
63954 fi
63955
63956 fi
63957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
63958 $as_echo "$ac_cv_sizeof_char" >&6; }
63959
63960
63961
63962 cat >>confdefs.h <<_ACEOF
63963 #define SIZEOF_CHAR $ac_cv_sizeof_char
63964 _ACEOF
63965
63966
63967
63968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
63969 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
63970   case "$ac_cv_sizeof_char" in
63971     1) acx_cv_type_int8_t=char ;;
63972     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
63973   esac
63974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
63975 $as_echo "$acx_cv_type_int8_t" >&6; }
63976
63977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
63978 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
63979   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
63980     2:*) acx_cv_type_int16_t=int ;;
63981     *:2) acx_cv_type_int16_t=short ;;
63982     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
63983   esac
63984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
63985 $as_echo "$acx_cv_type_int16_t" >&6; }
63986
63987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
63988 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
63989   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
63990     4:*) acx_cv_type_int32_t=int ;;
63991     *:4) acx_cv_type_int32_t=long ;;
63992     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
63993   esac
63994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
63995 $as_echo "$acx_cv_type_int32_t" >&6; }
63996 fi
63997
63998 # These tests are here to make the output prettier
63999
64000 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64001   case "$ac_cv_sizeof_long" in
64002     8) acx_cv_type_int64_t=long ;;
64003   esac
64004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64005 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64007 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64008 fi
64009
64010 # Now we can use the above types
64011
64012 if test "$ac_cv_type_uintptr_t" != yes; then
64013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64014 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64015   case $ac_cv_sizeof_void_p in
64016     2) acx_cv_type_intptr_t=int16_t ;;
64017     4) acx_cv_type_intptr_t=int32_t ;;
64018     8) acx_cv_type_intptr_t=int64_t ;;
64019     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64020   esac
64021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64022 $as_echo "$acx_cv_type_intptr_t" >&6; }
64023 fi
64024
64025 # ----------------- done all checks, emit header -------------
64026 ac_config_commands="$ac_config_commands include/gstdint.h"
64027
64028
64029
64030
64031 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
64032
64033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64034 $as_echo_n "checking for GNU c++filt... " >&6; }
64035 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64036   $as_echo_n "(cached) " >&6
64037 else
64038   if test -z "$CXXFILT"; then
64039   ac_path_CXXFILT_found=false
64040   # Loop through the user's path and test for each of PROGNAME-LIST
64041   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64042 for as_dir in $PATH
64043 do
64044   IFS=$as_save_IFS
64045   test -z "$as_dir" && as_dir=.
64046     for ac_prog in c++filt gc++filt; do
64047     for ac_exec_ext in '' $ac_executable_extensions; do
64048       ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64049       { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64050 # Check for GNU $ac_path_CXXFILT
64051 case `"$ac_path_CXXFILT" --version 2>&1` in
64052 *GNU*)
64053   ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64054 esac
64055
64056       $ac_path_CXXFILT_found && break 3
64057     done
64058   done
64059   done
64060 IFS=$as_save_IFS
64061   if test -z "$ac_cv_path_CXXFILT"; then
64062     :
64063   fi
64064 else
64065   ac_cv_path_CXXFILT=$CXXFILT
64066 fi
64067
64068 fi
64069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64070 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64071   CXXFILT=$ac_cv_path_CXXFILT
64072
64073
64074
64075  # Check whether --enable-symvers was given.
64076 if test "${enable_symvers+set}" = set; then :
64077   enableval=$enable_symvers;
64078       case "$enableval" in
64079        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64080        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64081                           esac
64082
64083 else
64084   enable_symvers=yes
64085 fi
64086
64087
64088
64089 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64090 # don't know enough about $LD to do tricks...
64091
64092 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64093 # with extern "C++" in version scripts.
64094
64095
64096 # Turn a 'yes' into a suitable default.
64097 if test x$enable_symvers = xyes ; then
64098   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64099     enable_symvers=no
64100   else
64101     if test $with_gnu_ld = yes ; then
64102       case ${target_os} in
64103         hpux*)
64104           enable_symvers=no ;;
64105         *)
64106           enable_symvers=gnu ;;
64107       esac
64108     else
64109       case ${target_os} in
64110         darwin*)
64111           enable_symvers=darwin ;;
64112         # Sun symbol versioning exists since Solaris 2.5.
64113         solaris2.[5-9]* | solaris2.1[0-9]*)
64114           # make_sunver.pl needs GNU c++filt to support extern "C++" in
64115           # version scripts, so disable symbol versioning if none can be
64116           # found.
64117           if test -z "$ac_cv_path_CXXFILT"; then
64118             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64119 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64120             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
64121 $as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
64122             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64123 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64124             enable_symvers=no
64125           else
64126             enable_symvers=sun
64127           fi
64128           ;;
64129         *)
64130           enable_symvers=no ;;
64131       esac
64132     fi
64133   fi
64134 fi
64135
64136 # Check to see if 'darwin' or 'darwin-export' can win.
64137 if test x$enable_symvers = xdarwin-export ; then
64138     enable_symvers=darwin
64139 fi
64140
64141 # Check if 'sun' was requested on non-Solaris 2 platforms.
64142 if test x$enable_symvers = xsun ; then
64143   case ${target_os} in
64144     solaris2*)
64145       # All fine.
64146       ;;
64147     *)
64148       # Unlikely to work.
64149       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64150 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64151       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64152 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64153       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64154 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64155       enable_symvers=no
64156       ;;
64157   esac
64158 fi
64159
64160 # Check to see if 'gnu' can win.
64161 if test $enable_symvers = gnu ||
64162   test $enable_symvers = gnu-versioned-namespace ||
64163   test $enable_symvers = sun; then
64164   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64166 $as_echo_n "checking for shared libgcc... " >&6; }
64167   ac_save_CFLAGS="$CFLAGS"
64168   CFLAGS=' -lgcc_s'
64169   if test x$gcc_no_link = xyes; then
64170   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64171 fi
64172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64173 /* end confdefs.h.  */
64174
64175 int
64176 main ()
64177 {
64178 return 0;
64179   ;
64180   return 0;
64181 }
64182 _ACEOF
64183 if ac_fn_c_try_link "$LINENO"; then :
64184   glibcxx_shared_libgcc=yes
64185 else
64186   glibcxx_shared_libgcc=no
64187 fi
64188 rm -f core conftest.err conftest.$ac_objext \
64189     conftest$ac_exeext conftest.$ac_ext
64190   CFLAGS="$ac_save_CFLAGS"
64191   if test $glibcxx_shared_libgcc = no; then
64192     cat > conftest.c <<EOF
64193 int main (void) { return 0; }
64194 EOF
64195     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64196                              -shared -shared-libgcc -o conftest.so \
64197                              conftest.c -v 2>&1 >/dev/null \
64198                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64199     rm -f conftest.c conftest.so
64200     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64201       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64202       if test x$gcc_no_link = xyes; then
64203   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64204 fi
64205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64206 /* end confdefs.h.  */
64207
64208 int
64209 main ()
64210 {
64211 return 0;
64212   ;
64213   return 0;
64214 }
64215 _ACEOF
64216 if ac_fn_c_try_link "$LINENO"; then :
64217   glibcxx_shared_libgcc=yes
64218 fi
64219 rm -f core conftest.err conftest.$ac_objext \
64220     conftest$ac_exeext conftest.$ac_ext
64221       CFLAGS="$ac_save_CFLAGS"
64222     fi
64223   fi
64224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64225 $as_echo "$glibcxx_shared_libgcc" >&6; }
64226
64227   # For GNU ld, we need at least this version.  The format is described in
64228   # GLIBCXX_CHECK_LINKER_FEATURES above.
64229   glibcxx_min_gnu_ld_version=21400
64230
64231   # If no shared libgcc, can't win.
64232   if test $glibcxx_shared_libgcc != yes; then
64233       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64234 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64235       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64236 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64237       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64238 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64239       enable_symvers=no
64240   elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64241     : All interesting versions of Sun ld support sun style symbol versioning.
64242   elif test $with_gnu_ld != yes ; then
64243     # just fail for now
64244     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64245 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64246     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64247 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64248     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64249 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64250     enable_symvers=no
64251   elif test $glibcxx_ld_is_gold = yes ; then
64252     : All versions of gold support symbol versioning.
64253   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64254     # The right tools, the right setup, but too old.  Fallbacks?
64255     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64256 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64257     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64258 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64259     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64260 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64261     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64262 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64263     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64264 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64265     enable_symvers=no
64266   fi
64267 fi
64268
64269 # Everything parsed; figure out what file to use.
64270 case $enable_symvers in
64271   no)
64272     SYMVER_FILE=config/abi/pre/none.ver
64273     ;;
64274   gnu)
64275     SYMVER_FILE=config/abi/pre/gnu.ver
64276
64277 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64278
64279     ;;
64280   gnu-versioned-namespace)
64281     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64282
64283 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
64284
64285     ;;
64286   darwin)
64287     SYMVER_FILE=config/abi/pre/gnu.ver
64288
64289 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
64290
64291     ;;
64292   sun)
64293     SYMVER_FILE=config/abi/pre/gnu.ver
64294
64295 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
64296
64297     ;;
64298 esac
64299
64300 if test x$enable_symvers != xno ; then
64301
64302 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
64303
64304 fi
64305
64306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
64307 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
64308 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
64309   $as_echo_n "(cached) " >&6
64310 else
64311
64312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64313 /* end confdefs.h.  */
64314 void foo (void); __asm (".symver foo, bar@SYMVER");
64315 int
64316 main ()
64317 {
64318
64319   ;
64320   return 0;
64321 }
64322 _ACEOF
64323 if ac_fn_c_try_compile "$LINENO"; then :
64324   glibcxx_cv_have_as_symver_directive=yes
64325 else
64326   glibcxx_cv_have_as_symver_directive=no
64327 fi
64328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64329 fi
64330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
64331 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
64332 if test $glibcxx_cv_have_as_symver_directive = yes; then
64333
64334 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
64335
64336 fi
64337
64338
64339
64340
64341
64342
64343
64344
64345 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
64346 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
64347
64348 if test $enable_symvers != no ; then
64349    case ${target_os} in
64350      # The Solaris 2 runtime linker doesn't support the GNU extension of
64351      # binding the same symbol to different versions
64352      solaris2*)
64353        symvers_renaming=no  ;;
64354      # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
64355      *)
64356
64357 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
64358
64359        symvers_renaming=yes  ;;
64360     esac
64361 else
64362     symvers_renaming=no
64363 fi
64364
64365
64366 # Now, set up compatibility support, if any.
64367 # In addition, need this to deal with std::size_t mangling in
64368 # src/compatibility.cc.  In a perfect world, could use
64369 # typeid(std::size_t).name()[0] to do direct substitution.
64370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
64371 $as_echo_n "checking for size_t as unsigned int... " >&6; }
64372 ac_save_CFLAGS="$CFLAGS"
64373 CFLAGS="-Werror"
64374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64375 /* end confdefs.h.  */
64376
64377 int
64378 main ()
64379 {
64380 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
64381   ;
64382   return 0;
64383 }
64384 _ACEOF
64385 if ac_fn_c_try_compile "$LINENO"; then :
64386   glibcxx_size_t_is_i=yes
64387 else
64388   glibcxx_size_t_is_i=no
64389 fi
64390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64391 CFLAGS=$ac_save_CFLAGS
64392 if test "$glibcxx_size_t_is_i" = yes; then
64393
64394 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
64395
64396 fi
64397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
64398 $as_echo "$glibcxx_size_t_is_i" >&6; }
64399
64400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
64401 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
64402 ac_save_CFLAGS="$CFLAGS"
64403 CFLAGS="-Werror"
64404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64405 /* end confdefs.h.  */
64406
64407 int
64408 main ()
64409 {
64410 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
64411   ;
64412   return 0;
64413 }
64414 _ACEOF
64415 if ac_fn_c_try_compile "$LINENO"; then :
64416   glibcxx_ptrdiff_t_is_i=yes
64417 else
64418   glibcxx_ptrdiff_t_is_i=no
64419 fi
64420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64421 CFLAGS=$ac_save_CFLAGS
64422 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
64423
64424 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
64425
64426 fi
64427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
64428 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
64429
64430
64431  # Check whether --enable-visibility was given.
64432 if test "${enable_visibility+set}" = set; then :
64433   enableval=$enable_visibility;
64434       case "$enableval" in
64435        yes|no) ;;
64436        *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
64437       esac
64438
64439 else
64440   enable_visibility=yes
64441 fi
64442
64443
64444
64445 if test x$enable_visibility = xyes ; then
64446       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
64447 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
64448 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
64449   $as_echo_n "(cached) " >&6
64450 else
64451
64452   save_CFLAGS="$CFLAGS"
64453   CFLAGS="$CFLAGS -Werror"
64454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64455 /* end confdefs.h.  */
64456 void __attribute__((visibility("hidden"))) foo(void) { }
64457 int
64458 main ()
64459 {
64460
64461   ;
64462   return 0;
64463 }
64464 _ACEOF
64465 if ac_fn_c_try_compile "$LINENO"; then :
64466   glibcxx_cv_have_attribute_visibility=yes
64467 else
64468   glibcxx_cv_have_attribute_visibility=no
64469 fi
64470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64471   CFLAGS="$save_CFLAGS"
64472 fi
64473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
64474 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
64475   if test $glibcxx_cv_have_attribute_visibility = no; then
64476     enable_visibility=no
64477   fi
64478 fi
64479
64480
64481 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
64482 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
64483
64484
64485 ac_ldbl_compat=no
64486 case "$target" in
64487   powerpc*-*-linux* | \
64488   powerpc*-*-gnu* | \
64489   sparc*-*-linux* | \
64490   s390*-*-linux* | \
64491   alpha*-*-linux*)
64492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64493 /* end confdefs.h.  */
64494
64495 int
64496 main ()
64497 {
64498
64499 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
64500 #error no need for long double compatibility
64501 #endif
64502
64503   ;
64504   return 0;
64505 }
64506 _ACEOF
64507 if ac_fn_c_try_compile "$LINENO"; then :
64508   ac_ldbl_compat=yes
64509 else
64510   ac_ldbl_compat=no
64511 fi
64512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64513   if test "$ac_ldbl_compat" = yes; then
64514
64515 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
64516
64517     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
64518   fi
64519 esac
64520
64521
64522 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
64523
64524   if $GLIBCXX_IS_NATIVE ; then
64525     # Do checks for resource limit functions.
64526
64527   setrlimit_have_headers=yes
64528   for ac_header in unistd.h sys/time.h sys/resource.h
64529 do :
64530   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
64531 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
64532 eval as_val=\$$as_ac_Header
64533    if test "x$as_val" = x""yes; then :
64534   cat >>confdefs.h <<_ACEOF
64535 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
64536 _ACEOF
64537
64538 else
64539   setrlimit_have_headers=no
64540 fi
64541
64542 done
64543
64544   # If don't have the headers, then we can't run the tests now, and we
64545   # won't be seeing any of these during testsuite compilation.
64546   if test $setrlimit_have_headers = yes; then
64547     # Can't do these in a loop, else the resulting syntax is wrong.
64548
64549   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
64550 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
64551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64552 /* end confdefs.h.  */
64553 #include <unistd.h>
64554      #include <sys/time.h>
64555      #include <sys/resource.h>
64556
64557 int
64558 main ()
64559 {
64560  int f = RLIMIT_DATA ;
64561   ;
64562   return 0;
64563 }
64564 _ACEOF
64565 if ac_fn_c_try_compile "$LINENO"; then :
64566   glibcxx_mresult=1
64567 else
64568   glibcxx_mresult=0
64569 fi
64570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64571
64572 cat >>confdefs.h <<_ACEOF
64573 #define HAVE_LIMIT_DATA $glibcxx_mresult
64574 _ACEOF
64575
64576   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64578 $as_echo "$res" >&6; }
64579
64580
64581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
64582 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
64583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64584 /* end confdefs.h.  */
64585 #include <unistd.h>
64586      #include <sys/time.h>
64587      #include <sys/resource.h>
64588
64589 int
64590 main ()
64591 {
64592  int f = RLIMIT_RSS ;
64593   ;
64594   return 0;
64595 }
64596 _ACEOF
64597 if ac_fn_c_try_compile "$LINENO"; then :
64598   glibcxx_mresult=1
64599 else
64600   glibcxx_mresult=0
64601 fi
64602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64603
64604 cat >>confdefs.h <<_ACEOF
64605 #define HAVE_LIMIT_RSS $glibcxx_mresult
64606 _ACEOF
64607
64608   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64610 $as_echo "$res" >&6; }
64611
64612
64613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
64614 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
64615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64616 /* end confdefs.h.  */
64617 #include <unistd.h>
64618      #include <sys/time.h>
64619      #include <sys/resource.h>
64620
64621 int
64622 main ()
64623 {
64624  int f = RLIMIT_VMEM ;
64625   ;
64626   return 0;
64627 }
64628 _ACEOF
64629 if ac_fn_c_try_compile "$LINENO"; then :
64630   glibcxx_mresult=1
64631 else
64632   glibcxx_mresult=0
64633 fi
64634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64635
64636 cat >>confdefs.h <<_ACEOF
64637 #define HAVE_LIMIT_VMEM $glibcxx_mresult
64638 _ACEOF
64639
64640   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64642 $as_echo "$res" >&6; }
64643
64644
64645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
64646 $as_echo_n "checking for RLIMIT_AS... " >&6; }
64647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64648 /* end confdefs.h.  */
64649 #include <unistd.h>
64650      #include <sys/time.h>
64651      #include <sys/resource.h>
64652
64653 int
64654 main ()
64655 {
64656  int f = RLIMIT_AS ;
64657   ;
64658   return 0;
64659 }
64660 _ACEOF
64661 if ac_fn_c_try_compile "$LINENO"; then :
64662   glibcxx_mresult=1
64663 else
64664   glibcxx_mresult=0
64665 fi
64666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64667
64668 cat >>confdefs.h <<_ACEOF
64669 #define HAVE_LIMIT_AS $glibcxx_mresult
64670 _ACEOF
64671
64672   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64674 $as_echo "$res" >&6; }
64675
64676
64677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
64678 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
64679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64680 /* end confdefs.h.  */
64681 #include <unistd.h>
64682      #include <sys/time.h>
64683      #include <sys/resource.h>
64684
64685 int
64686 main ()
64687 {
64688  int f = RLIMIT_FSIZE ;
64689   ;
64690   return 0;
64691 }
64692 _ACEOF
64693 if ac_fn_c_try_compile "$LINENO"; then :
64694   glibcxx_mresult=1
64695 else
64696   glibcxx_mresult=0
64697 fi
64698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64699
64700 cat >>confdefs.h <<_ACEOF
64701 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
64702 _ACEOF
64703
64704   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64706 $as_echo "$res" >&6; }
64707
64708
64709     # Check for rlimit, setrlimit.
64710     if test "${glibcxx_cv_setrlimit+set}" = set; then :
64711   $as_echo_n "(cached) " >&6
64712 else
64713
64714       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64715 /* end confdefs.h.  */
64716 #include <unistd.h>
64717          #include <sys/time.h>
64718          #include <sys/resource.h>
64719
64720 int
64721 main ()
64722 {
64723 struct rlimit r;
64724          setrlimit(0, &r);
64725   ;
64726   return 0;
64727 }
64728 _ACEOF
64729 if ac_fn_c_try_compile "$LINENO"; then :
64730   glibcxx_cv_setrlimit=yes
64731 else
64732   glibcxx_cv_setrlimit=no
64733 fi
64734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64735
64736 fi
64737
64738   fi
64739
64740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
64741 $as_echo_n "checking for testsuite resource limits support... " >&6; }
64742   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
64743     ac_res_limits=yes
64744
64745 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
64746
64747   else
64748     ac_res_limits=no
64749   fi
64750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
64751 $as_echo "$ac_res_limits" >&6; }
64752
64753
64754     # Look for setenv, so that extended locale tests can be performed.
64755
64756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
64757 $as_echo_n "checking for setenv declaration... " >&6; }
64758   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
64759     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
64760   $as_echo_n "(cached) " >&6
64761 else
64762
64763
64764       ac_ext=cpp
64765 ac_cpp='$CXXCPP $CPPFLAGS'
64766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64769
64770       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64771 /* end confdefs.h.  */
64772 #include <stdlib.h>
64773 int
64774 main ()
64775 {
64776  setenv(0, 0, 0);
64777   ;
64778   return 0;
64779 }
64780 _ACEOF
64781 if ac_fn_cxx_try_compile "$LINENO"; then :
64782   glibcxx_cv_func_setenv_use=yes
64783 else
64784   glibcxx_cv_func_setenv_use=no
64785 fi
64786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64787       ac_ext=c
64788 ac_cpp='$CPP $CPPFLAGS'
64789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64792
64793
64794 fi
64795
64796   fi
64797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
64798 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
64799   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
64800     for ac_func in setenv
64801 do :
64802   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
64803 if test "x$ac_cv_func_setenv" = x""yes; then :
64804   cat >>confdefs.h <<_ACEOF
64805 #define HAVE_SETENV 1
64806 _ACEOF
64807
64808 fi
64809 done
64810
64811   fi
64812
64813   fi
64814
64815   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
64816      test $enable_symvers != no; then
64817     case "$host" in
64818       *-*-cygwin*)
64819         enable_abi_check=no ;;
64820       *)
64821         enable_abi_check=yes ;;
64822     esac
64823   else
64824     # Only build this as native, since automake does not understand
64825     # CXX_FOR_BUILD.
64826     enable_abi_check=no
64827   fi
64828
64829   # Export file names for ABI checking.
64830   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
64831
64832
64833
64834 # Define documentation rules conditionally.
64835
64836 # See if makeinfo has been installed and is modern enough
64837 # that we can use it.
64838
64839   # Extract the first word of "makeinfo", so it can be a program name with args.
64840 set dummy makeinfo; ac_word=$2
64841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64842 $as_echo_n "checking for $ac_word... " >&6; }
64843 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
64844   $as_echo_n "(cached) " >&6
64845 else
64846   if test -n "$MAKEINFO"; then
64847   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
64848 else
64849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64850 for as_dir in $PATH
64851 do
64852   IFS=$as_save_IFS
64853   test -z "$as_dir" && as_dir=.
64854     for ac_exec_ext in '' $ac_executable_extensions; do
64855   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64856     ac_cv_prog_MAKEINFO="makeinfo"
64857     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64858     break 2
64859   fi
64860 done
64861   done
64862 IFS=$as_save_IFS
64863
64864 fi
64865 fi
64866 MAKEINFO=$ac_cv_prog_MAKEINFO
64867 if test -n "$MAKEINFO"; then
64868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
64869 $as_echo "$MAKEINFO" >&6; }
64870 else
64871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64872 $as_echo "no" >&6; }
64873 fi
64874
64875
64876   if test -n "$MAKEINFO"; then
64877     # Found it, now check the version.
64878     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
64879 $as_echo_n "checking for modern makeinfo... " >&6; }
64880 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
64881   $as_echo_n "(cached) " >&6
64882 else
64883   ac_prog_version=`eval $MAKEINFO --version 2>&1 |
64884                                      sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
64885
64886                     case $ac_prog_version in
64887                       '')  gcc_cv_prog_makeinfo_modern=no;;
64888                       4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
64889                       *)   gcc_cv_prog_makeinfo_modern=no;;
64890                     esac
64891
64892 fi
64893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
64894 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
64895   else
64896     gcc_cv_prog_makeinfo_modern=no
64897   fi
64898   if test $gcc_cv_prog_makeinfo_modern = no; then
64899     MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
64900   fi
64901
64902  if test $gcc_cv_prog_makeinfo_modern = "yes"; then
64903   BUILD_INFO_TRUE=
64904   BUILD_INFO_FALSE='#'
64905 else
64906   BUILD_INFO_TRUE='#'
64907   BUILD_INFO_FALSE=
64908 fi
64909
64910
64911 # Check for doxygen
64912 # Extract the first word of "doxygen", so it can be a program name with args.
64913 set dummy doxygen; ac_word=$2
64914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64915 $as_echo_n "checking for $ac_word... " >&6; }
64916 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
64917   $as_echo_n "(cached) " >&6
64918 else
64919   if test -n "$DOXYGEN"; then
64920   ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
64921 else
64922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64923 for as_dir in $PATH
64924 do
64925   IFS=$as_save_IFS
64926   test -z "$as_dir" && as_dir=.
64927     for ac_exec_ext in '' $ac_executable_extensions; do
64928   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64929     ac_cv_prog_DOXYGEN="yes"
64930     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64931     break 2
64932   fi
64933 done
64934   done
64935 IFS=$as_save_IFS
64936
64937   test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
64938 fi
64939 fi
64940 DOXYGEN=$ac_cv_prog_DOXYGEN
64941 if test -n "$DOXYGEN"; then
64942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
64943 $as_echo "$DOXYGEN" >&6; }
64944 else
64945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64946 $as_echo "no" >&6; }
64947 fi
64948
64949
64950 # Extract the first word of "dot", so it can be a program name with args.
64951 set dummy dot; ac_word=$2
64952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64953 $as_echo_n "checking for $ac_word... " >&6; }
64954 if test "${ac_cv_prog_DOT+set}" = set; then :
64955   $as_echo_n "(cached) " >&6
64956 else
64957   if test -n "$DOT"; then
64958   ac_cv_prog_DOT="$DOT" # Let the user override the test.
64959 else
64960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64961 for as_dir in $PATH
64962 do
64963   IFS=$as_save_IFS
64964   test -z "$as_dir" && as_dir=.
64965     for ac_exec_ext in '' $ac_executable_extensions; do
64966   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64967     ac_cv_prog_DOT="yes"
64968     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64969     break 2
64970   fi
64971 done
64972   done
64973 IFS=$as_save_IFS
64974
64975   test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
64976 fi
64977 fi
64978 DOT=$ac_cv_prog_DOT
64979 if test -n "$DOT"; then
64980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
64981 $as_echo "$DOT" >&6; }
64982 else
64983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64984 $as_echo "no" >&6; }
64985 fi
64986
64987
64988
64989 # Check for docbook
64990 # Extract the first word of "xsltproc", so it can be a program name with args.
64991 set dummy xsltproc; ac_word=$2
64992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64993 $as_echo_n "checking for $ac_word... " >&6; }
64994 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
64995   $as_echo_n "(cached) " >&6
64996 else
64997   if test -n "$XSLTPROC"; then
64998   ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
64999 else
65000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65001 for as_dir in $PATH
65002 do
65003   IFS=$as_save_IFS
65004   test -z "$as_dir" && as_dir=.
65005     for ac_exec_ext in '' $ac_executable_extensions; do
65006   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65007     ac_cv_prog_XSLTPROC="yes"
65008     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65009     break 2
65010   fi
65011 done
65012   done
65013 IFS=$as_save_IFS
65014
65015   test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65016 fi
65017 fi
65018 XSLTPROC=$ac_cv_prog_XSLTPROC
65019 if test -n "$XSLTPROC"; then
65020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65021 $as_echo "$XSLTPROC" >&6; }
65022 else
65023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65024 $as_echo "no" >&6; }
65025 fi
65026
65027
65028 # Extract the first word of "xmllint", so it can be a program name with args.
65029 set dummy xmllint; ac_word=$2
65030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65031 $as_echo_n "checking for $ac_word... " >&6; }
65032 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65033   $as_echo_n "(cached) " >&6
65034 else
65035   if test -n "$XMLLINT"; then
65036   ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65037 else
65038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65039 for as_dir in $PATH
65040 do
65041   IFS=$as_save_IFS
65042   test -z "$as_dir" && as_dir=.
65043     for ac_exec_ext in '' $ac_executable_extensions; do
65044   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65045     ac_cv_prog_XMLLINT="yes"
65046     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65047     break 2
65048   fi
65049 done
65050   done
65051 IFS=$as_save_IFS
65052
65053   test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65054 fi
65055 fi
65056 XMLLINT=$ac_cv_prog_XMLLINT
65057 if test -n "$XMLLINT"; then
65058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65059 $as_echo "$XMLLINT" >&6; }
65060 else
65061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65062 $as_echo "no" >&6; }
65063 fi
65064
65065
65066
65067 glibcxx_stylesheets=no
65068 if test -f /usr/share/sgml/docbook/xsl-ns-stylesheets/VERSION; then
65069   glibcxx_stylesheets=yes
65070 fi
65071
65072 # Check for xml/html dependencies.
65073  if test $ac_cv_prog_DOXYGEN = "yes" &&
65074                test $ac_cv_prog_DOT = "yes" &&
65075                test $ac_cv_prog_XSLTPROC = "yes" &&
65076                test $ac_cv_prog_XMLLINT = "yes" &&
65077                test $glibcxx_stylesheets = "yes"; then
65078   BUILD_XML_TRUE=
65079   BUILD_XML_FALSE='#'
65080 else
65081   BUILD_XML_TRUE='#'
65082   BUILD_XML_FALSE=
65083 fi
65084
65085
65086  if test $ac_cv_prog_DOXYGEN = "yes" &&
65087                test $ac_cv_prog_DOT = "yes" &&
65088                test $ac_cv_prog_XSLTPROC = "yes" &&
65089                test $ac_cv_prog_XMLLINT = "yes" &&
65090                test $glibcxx_stylesheets = "yes"; then
65091   BUILD_HTML_TRUE=
65092   BUILD_HTML_FALSE='#'
65093 else
65094   BUILD_HTML_TRUE='#'
65095   BUILD_HTML_FALSE=
65096 fi
65097
65098
65099 # Check for man dependencies.
65100  if test $ac_cv_prog_DOXYGEN = "yes" &&
65101                test $ac_cv_prog_DOT = "yes"; then
65102   BUILD_MAN_TRUE=
65103   BUILD_MAN_FALSE='#'
65104 else
65105   BUILD_MAN_TRUE='#'
65106   BUILD_MAN_FALSE=
65107 fi
65108
65109
65110 # Check for pdf/epub dependencies.
65111 # Extract the first word of "dblatex", so it can be a program name with args.
65112 set dummy dblatex; ac_word=$2
65113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65114 $as_echo_n "checking for $ac_word... " >&6; }
65115 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65116   $as_echo_n "(cached) " >&6
65117 else
65118   if test -n "$DBLATEX"; then
65119   ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65120 else
65121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65122 for as_dir in $PATH
65123 do
65124   IFS=$as_save_IFS
65125   test -z "$as_dir" && as_dir=.
65126     for ac_exec_ext in '' $ac_executable_extensions; do
65127   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65128     ac_cv_prog_DBLATEX="yes"
65129     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65130     break 2
65131   fi
65132 done
65133   done
65134 IFS=$as_save_IFS
65135
65136   test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65137 fi
65138 fi
65139 DBLATEX=$ac_cv_prog_DBLATEX
65140 if test -n "$DBLATEX"; then
65141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65142 $as_echo "$DBLATEX" >&6; }
65143 else
65144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65145 $as_echo "no" >&6; }
65146 fi
65147
65148
65149 # Extract the first word of "pdflatex", so it can be a program name with args.
65150 set dummy pdflatex; ac_word=$2
65151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65152 $as_echo_n "checking for $ac_word... " >&6; }
65153 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65154   $as_echo_n "(cached) " >&6
65155 else
65156   if test -n "$PDFLATEX"; then
65157   ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65158 else
65159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65160 for as_dir in $PATH
65161 do
65162   IFS=$as_save_IFS
65163   test -z "$as_dir" && as_dir=.
65164     for ac_exec_ext in '' $ac_executable_extensions; do
65165   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65166     ac_cv_prog_PDFLATEX="yes"
65167     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65168     break 2
65169   fi
65170 done
65171   done
65172 IFS=$as_save_IFS
65173
65174   test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65175 fi
65176 fi
65177 PDFLATEX=$ac_cv_prog_PDFLATEX
65178 if test -n "$PDFLATEX"; then
65179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65180 $as_echo "$PDFLATEX" >&6; }
65181 else
65182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65183 $as_echo "no" >&6; }
65184 fi
65185
65186
65187  if test $ac_cv_prog_DBLATEX = "yes" &&
65188                test $ac_cv_prog_PDFLATEX = "yes"; then
65189   BUILD_PDF_TRUE=
65190   BUILD_PDF_FALSE='#'
65191 else
65192   BUILD_PDF_TRUE='#'
65193   BUILD_PDF_FALSE=
65194 fi
65195
65196
65197 # Extract the first word of "ruby", so it can be a program name with args.
65198 set dummy ruby; ac_word=$2
65199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65200 $as_echo_n "checking for $ac_word... " >&6; }
65201 if test "${ac_cv_prog_RUBY+set}" = set; then :
65202   $as_echo_n "(cached) " >&6
65203 else
65204   if test -n "$RUBY"; then
65205   ac_cv_prog_RUBY="$RUBY" # Let the user override the test.
65206 else
65207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65208 for as_dir in $PATH
65209 do
65210   IFS=$as_save_IFS
65211   test -z "$as_dir" && as_dir=.
65212     for ac_exec_ext in '' $ac_executable_extensions; do
65213   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65214     ac_cv_prog_RUBY="yes"
65215     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65216     break 2
65217   fi
65218 done
65219   done
65220 IFS=$as_save_IFS
65221
65222   test -z "$ac_cv_prog_RUBY" && ac_cv_prog_RUBY="no"
65223 fi
65224 fi
65225 RUBY=$ac_cv_prog_RUBY
65226 if test -n "$RUBY"; then
65227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
65228 $as_echo "$RUBY" >&6; }
65229 else
65230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65231 $as_echo "no" >&6; }
65232 fi
65233
65234
65235 # Extract the first word of "dbtoepubm", so it can be a program name with args.
65236 set dummy dbtoepubm; ac_word=$2
65237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65238 $as_echo_n "checking for $ac_word... " >&6; }
65239 if test "${ac_cv_prog_DBTOEPUB+set}" = set; then :
65240   $as_echo_n "(cached) " >&6
65241 else
65242   if test -n "$DBTOEPUB"; then
65243   ac_cv_prog_DBTOEPUB="$DBTOEPUB" # Let the user override the test.
65244 else
65245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65246 for as_dir in $PATH
65247 do
65248   IFS=$as_save_IFS
65249   test -z "$as_dir" && as_dir=.
65250     for ac_exec_ext in '' $ac_executable_extensions; do
65251   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65252     ac_cv_prog_DBTOEPUB="yes"
65253     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65254     break 2
65255   fi
65256 done
65257   done
65258 IFS=$as_save_IFS
65259
65260   test -z "$ac_cv_prog_DBTOEPUB" && ac_cv_prog_DBTOEPUB="no"
65261 fi
65262 fi
65263 DBTOEPUB=$ac_cv_prog_DBTOEPUB
65264 if test -n "$DBTOEPUB"; then
65265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBTOEPUB" >&5
65266 $as_echo "$DBTOEPUB" >&6; }
65267 else
65268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65269 $as_echo "no" >&6; }
65270 fi
65271
65272
65273  if test $ac_cv_prog_RUBY = "yes" &&
65274                test $ac_cv_prog_DBTOEPUB = "yes"; then
65275   BUILD_EPUB_TRUE=
65276   BUILD_EPUB_FALSE='#'
65277 else
65278   BUILD_EPUB_TRUE='#'
65279   BUILD_EPUB_FALSE=
65280 fi
65281
65282
65283
65284 # Propagate the target-specific source directories through the build chain.
65285 ATOMICITY_SRCDIR=config/${atomicity_dir}
65286 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
65287 ATOMIC_FLAGS=${atomic_flags}
65288 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
65289 OS_INC_SRCDIR=config/${os_include_dir}
65290 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
65291 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
65292
65293
65294
65295
65296
65297
65298
65299
65300
65301 # Determine cross-compile flags and AM_CONDITIONALs.
65302 #AC_SUBST(GLIBCXX_IS_NATIVE)
65303 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
65304     if test $is_hosted = yes; then
65305   GLIBCXX_HOSTED_TRUE=
65306   GLIBCXX_HOSTED_FALSE='#'
65307 else
65308   GLIBCXX_HOSTED_TRUE='#'
65309   GLIBCXX_HOSTED_FALSE=
65310 fi
65311
65312
65313     if test $enable_libstdcxx_pch = yes; then
65314   GLIBCXX_BUILD_PCH_TRUE=
65315   GLIBCXX_BUILD_PCH_FALSE='#'
65316 else
65317   GLIBCXX_BUILD_PCH_TRUE='#'
65318   GLIBCXX_BUILD_PCH_FALSE=
65319 fi
65320
65321
65322     if test $enable_cheaders = c; then
65323   GLIBCXX_C_HEADERS_C_TRUE=
65324   GLIBCXX_C_HEADERS_C_FALSE='#'
65325 else
65326   GLIBCXX_C_HEADERS_C_TRUE='#'
65327   GLIBCXX_C_HEADERS_C_FALSE=
65328 fi
65329
65330
65331     if test $enable_cheaders = c_std; then
65332   GLIBCXX_C_HEADERS_C_STD_TRUE=
65333   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
65334 else
65335   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
65336   GLIBCXX_C_HEADERS_C_STD_FALSE=
65337 fi
65338
65339
65340     if test $enable_cheaders = c_global; then
65341   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
65342   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
65343 else
65344   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
65345   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
65346 fi
65347
65348
65349     if test $c_compatibility = yes; then
65350   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
65351   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
65352 else
65353   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
65354   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
65355 fi
65356
65357
65358     if test $enable_libstdcxx_debug = yes; then
65359   GLIBCXX_BUILD_DEBUG_TRUE=
65360   GLIBCXX_BUILD_DEBUG_FALSE='#'
65361 else
65362   GLIBCXX_BUILD_DEBUG_TRUE='#'
65363   GLIBCXX_BUILD_DEBUG_FALSE=
65364 fi
65365
65366
65367     if test $enable_parallel = yes; then
65368   ENABLE_PARALLEL_TRUE=
65369   ENABLE_PARALLEL_FALSE='#'
65370 else
65371   ENABLE_PARALLEL_TRUE='#'
65372   ENABLE_PARALLEL_FALSE=
65373 fi
65374
65375
65376     if test $enable_extern_template = yes; then
65377   ENABLE_EXTERN_TEMPLATE_TRUE=
65378   ENABLE_EXTERN_TEMPLATE_FALSE='#'
65379 else
65380   ENABLE_EXTERN_TEMPLATE_TRUE='#'
65381   ENABLE_EXTERN_TEMPLATE_FALSE=
65382 fi
65383
65384
65385     if test $enable_symvers != no; then
65386   ENABLE_SYMVERS_TRUE=
65387   ENABLE_SYMVERS_FALSE='#'
65388 else
65389   ENABLE_SYMVERS_TRUE='#'
65390   ENABLE_SYMVERS_FALSE=
65391 fi
65392
65393
65394     if test $enable_symvers = gnu; then
65395   ENABLE_SYMVERS_GNU_TRUE=
65396   ENABLE_SYMVERS_GNU_FALSE='#'
65397 else
65398   ENABLE_SYMVERS_GNU_TRUE='#'
65399   ENABLE_SYMVERS_GNU_FALSE=
65400 fi
65401
65402
65403     if test $enable_symvers = gnu-versioned-namespace; then
65404   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
65405   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
65406 else
65407   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
65408   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
65409 fi
65410
65411
65412     if test $enable_symvers = darwin; then
65413   ENABLE_SYMVERS_DARWIN_TRUE=
65414   ENABLE_SYMVERS_DARWIN_FALSE='#'
65415 else
65416   ENABLE_SYMVERS_DARWIN_TRUE='#'
65417   ENABLE_SYMVERS_DARWIN_FALSE=
65418 fi
65419
65420
65421     if test $enable_symvers = sun; then
65422   ENABLE_SYMVERS_SUN_TRUE=
65423   ENABLE_SYMVERS_SUN_FALSE='#'
65424 else
65425   ENABLE_SYMVERS_SUN_TRUE='#'
65426   ENABLE_SYMVERS_SUN_FALSE=
65427 fi
65428
65429
65430     if test $symvers_renaming = no; then
65431   ENABLE_SYMVERS_SOL2_TRUE=
65432   ENABLE_SYMVERS_SOL2_FALSE='#'
65433 else
65434   ENABLE_SYMVERS_SOL2_TRUE='#'
65435   ENABLE_SYMVERS_SOL2_FALSE=
65436 fi
65437
65438
65439     if test $enable_visibility = yes; then
65440   ENABLE_VISIBILITY_TRUE=
65441   ENABLE_VISIBILITY_FALSE='#'
65442 else
65443   ENABLE_VISIBILITY_TRUE='#'
65444   ENABLE_VISIBILITY_FALSE=
65445 fi
65446
65447
65448     if test $ac_ldbl_compat = yes; then
65449   GLIBCXX_LDBL_COMPAT_TRUE=
65450   GLIBCXX_LDBL_COMPAT_FALSE='#'
65451 else
65452   GLIBCXX_LDBL_COMPAT_TRUE='#'
65453   GLIBCXX_LDBL_COMPAT_FALSE=
65454 fi
65455
65456
65457
65458
65459 cat >confcache <<\_ACEOF
65460 # This file is a shell script that caches the results of configure
65461 # tests run on this system so they can be shared between configure
65462 # scripts and configure runs, see configure's option --config-cache.
65463 # It is not useful on other systems.  If it contains results you don't
65464 # want to keep, you may remove or edit it.
65465 #
65466 # config.status only pays attention to the cache file if you give it
65467 # the --recheck option to rerun configure.
65468 #
65469 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65470 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65471 # following values.
65472
65473 _ACEOF
65474
65475 # The following way of writing the cache mishandles newlines in values,
65476 # but we know of no workaround that is simple, portable, and efficient.
65477 # So, we kill variables containing newlines.
65478 # Ultrix sh set writes to stderr and can't be redirected directly,
65479 # and sets the high bit in the cache file unless we assign to the vars.
65480 (
65481   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65482     eval ac_val=\$$ac_var
65483     case $ac_val in #(
65484     *${as_nl}*)
65485       case $ac_var in #(
65486       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65487 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65488       esac
65489       case $ac_var in #(
65490       _ | IFS | as_nl) ;; #(
65491       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65492       *) { eval $ac_var=; unset $ac_var;} ;;
65493       esac ;;
65494     esac
65495   done
65496
65497   (set) 2>&1 |
65498     case $as_nl`(ac_space=' '; set) 2>&1` in #(
65499     *${as_nl}ac_space=\ *)
65500       # `set' does not quote correctly, so add quotes: double-quote
65501       # substitution turns \\\\ into \\, and sed turns \\ into \.
65502       sed -n \
65503         "s/'/'\\\\''/g;
65504           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65505       ;; #(
65506     *)
65507       # `set' quotes correctly as required by POSIX, so do not add quotes.
65508       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65509       ;;
65510     esac |
65511     sort
65512 ) |
65513   sed '
65514      /^ac_cv_env_/b end
65515      t clear
65516      :clear
65517      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65518      t end
65519      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65520      :end' >>confcache
65521 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65522   if test -w "$cache_file"; then
65523     test "x$cache_file" != "x/dev/null" &&
65524       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
65525 $as_echo "$as_me: updating cache $cache_file" >&6;}
65526     cat confcache >$cache_file
65527   else
65528     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
65529 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65530   fi
65531 fi
65532 rm -f confcache
65533
65534 if test ${multilib} = yes; then
65535   multilib_arg="--enable-multilib"
65536 else
65537   multilib_arg=
65538 fi
65539
65540 # Export all the install information.
65541
65542   glibcxx_toolexecdir=no
65543   glibcxx_toolexeclibdir=no
65544   glibcxx_prefixdir=$prefix
65545
65546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
65547 $as_echo_n "checking for gxx-include-dir... " >&6; }
65548
65549 # Check whether --with-gxx-include-dir was given.
65550 if test "${with_gxx_include_dir+set}" = set; then :
65551   withval=$with_gxx_include_dir; case "$withval" in
65552       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
65553       no)  gxx_include_dir=no ;;
65554       *)   gxx_include_dir=$withval ;;
65555      esac
65556 else
65557   gxx_include_dir=no
65558 fi
65559
65560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
65561 $as_echo "$gxx_include_dir" >&6; }
65562
65563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
65564 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
65565   # Check whether --enable-version-specific-runtime-libs was given.
65566 if test "${enable_version_specific_runtime_libs+set}" = set; then :
65567   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
65568       yes) version_specific_libs=yes ;;
65569       no)  version_specific_libs=no ;;
65570       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
65571      esac
65572 else
65573   version_specific_libs=no
65574 fi
65575
65576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
65577 $as_echo "$version_specific_libs" >&6; }
65578
65579   # Default case for install directory for include files.
65580   if test $version_specific_libs = no && test $gxx_include_dir = no; then
65581     gxx_include_dir='include/c++/${gcc_version}'
65582     if test -n "$with_cross_host" &&
65583        test x"$with_cross_host" != x"no"; then
65584       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
65585     else
65586       gxx_include_dir='${prefix}/'"$gxx_include_dir"
65587     fi
65588   fi
65589
65590   # Version-specific runtime libs processing.
65591   if test $version_specific_libs = yes; then
65592     # Need the gcc compiler version to know where to install libraries
65593     # and header files if --enable-version-specific-runtime-libs option
65594     # is selected.  FIXME: these variables are misnamed, there are
65595     # no executables installed in _toolexecdir or _toolexeclibdir.
65596     if test x"$gxx_include_dir" = x"no"; then
65597       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
65598     fi
65599     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
65600     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
65601   fi
65602
65603   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
65604   # Install a library built with a cross compiler in tooldir, not libdir.
65605   if test x"$glibcxx_toolexecdir" = x"no"; then
65606     if test -n "$with_cross_host" &&
65607        test x"$with_cross_host" != x"no"; then
65608       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
65609       glibcxx_toolexeclibdir='${toolexecdir}/lib'
65610     else
65611       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
65612       glibcxx_toolexeclibdir='${libdir}'
65613     fi
65614     multi_os_directory=`$CXX -print-multi-os-directory`
65615     case $multi_os_directory in
65616       .) ;; # Avoid trailing /.
65617       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
65618     esac
65619   fi
65620
65621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
65622 $as_echo_n "checking for install location... " >&6; }
65623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
65624 $as_echo "$gxx_include_dir" >&6; }
65625
65626
65627
65628
65629
65630
65631
65632 # Export all the include and flag information to Makefiles.
65633
65634   # Used for every C++ compile we perform.
65635   GLIBCXX_INCLUDES="\
65636 -I$glibcxx_builddir/include/$host_alias \
65637 -I$glibcxx_builddir/include \
65638 -I$glibcxx_srcdir/libsupc++"
65639
65640   # For Canadian crosses, pick this up too.
65641   if test $CANADIAN = yes; then
65642     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
65643   fi
65644
65645   # Stuff in the actual top level.  Currently only used by libsupc++ to
65646   # get unwind* headers from the gcc dir.
65647   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
65648   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
65649
65650   # Now, export this to all the little Makefiles....
65651
65652
65653
65654
65655   # Optimization flags that are probably a good idea for thrill-seekers. Just
65656   # uncomment the lines below and make, everything else is ready to go...
65657   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
65658   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
65659
65660
65661   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
65662
65663
65664
65665 if test "$enable_shared" = yes; then
65666   LIBSUPCXX_PICFLAGS="-prefer-pic"
65667 else
65668   LIBSUPCXX_PICFLAGS=
65669 fi
65670
65671
65672 ac_config_files="$ac_config_files Makefile"
65673
65674 ac_config_files="$ac_config_files scripts/testsuite_flags"
65675
65676 ac_config_files="$ac_config_files scripts/extract_symvers"
65677
65678
65679 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
65680 # that multilib installs will end up installed in the correct place.
65681 # The testsuite needs it for multilib-aware ABI baseline files.
65682 # To work around this not being passed down from config-ml.in ->
65683 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
65684 # append it here.  Only modify Makefiles that have just been created.
65685 #
65686 # Also, get rid of this simulated-VPATH thing that automake does.
65687 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
65688
65689
65690 ac_config_commands="$ac_config_commands generate-headers"
65691
65692
65693 cat >confcache <<\_ACEOF
65694 # This file is a shell script that caches the results of configure
65695 # tests run on this system so they can be shared between configure
65696 # scripts and configure runs, see configure's option --config-cache.
65697 # It is not useful on other systems.  If it contains results you don't
65698 # want to keep, you may remove or edit it.
65699 #
65700 # config.status only pays attention to the cache file if you give it
65701 # the --recheck option to rerun configure.
65702 #
65703 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65704 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65705 # following values.
65706
65707 _ACEOF
65708
65709 # The following way of writing the cache mishandles newlines in values,
65710 # but we know of no workaround that is simple, portable, and efficient.
65711 # So, we kill variables containing newlines.
65712 # Ultrix sh set writes to stderr and can't be redirected directly,
65713 # and sets the high bit in the cache file unless we assign to the vars.
65714 (
65715   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65716     eval ac_val=\$$ac_var
65717     case $ac_val in #(
65718     *${as_nl}*)
65719       case $ac_var in #(
65720       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65721 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65722       esac
65723       case $ac_var in #(
65724       _ | IFS | as_nl) ;; #(
65725       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65726       *) { eval $ac_var=; unset $ac_var;} ;;
65727       esac ;;
65728     esac
65729   done
65730
65731   (set) 2>&1 |
65732     case $as_nl`(ac_space=' '; set) 2>&1` in #(
65733     *${as_nl}ac_space=\ *)
65734       # `set' does not quote correctly, so add quotes: double-quote
65735       # substitution turns \\\\ into \\, and sed turns \\ into \.
65736       sed -n \
65737         "s/'/'\\\\''/g;
65738           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65739       ;; #(
65740     *)
65741       # `set' quotes correctly as required by POSIX, so do not add quotes.
65742       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65743       ;;
65744     esac |
65745     sort
65746 ) |
65747   sed '
65748      /^ac_cv_env_/b end
65749      t clear
65750      :clear
65751      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65752      t end
65753      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65754      :end' >>confcache
65755 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65756   if test -w "$cache_file"; then
65757     test "x$cache_file" != "x/dev/null" &&
65758       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
65759 $as_echo "$as_me: updating cache $cache_file" >&6;}
65760     cat confcache >$cache_file
65761   else
65762     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
65763 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65764   fi
65765 fi
65766 rm -f confcache
65767
65768 test "x$prefix" = xNONE && prefix=$ac_default_prefix
65769 # Let make expand exec_prefix.
65770 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
65771
65772 DEFS=-DHAVE_CONFIG_H
65773
65774 ac_libobjs=
65775 ac_ltlibobjs=
65776 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
65777   # 1. Remove the extension, and $U if already installed.
65778   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
65779   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
65780   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
65781   #    will be set to the directory where LIBOBJS objects are built.
65782   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
65783   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
65784 done
65785 LIBOBJS=$ac_libobjs
65786
65787 LTLIBOBJS=$ac_ltlibobjs
65788
65789
65790  if test -n "$EXEEXT"; then
65791   am__EXEEXT_TRUE=
65792   am__EXEEXT_FALSE='#'
65793 else
65794   am__EXEEXT_TRUE='#'
65795   am__EXEEXT_FALSE=
65796 fi
65797
65798 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
65799   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
65800 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65801 fi
65802 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
65803   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
65804 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65805 fi
65806 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
65807   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
65808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65809 fi
65810 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
65811   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
65812 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65813 fi
65814 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
65815   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
65816 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65817 fi
65818 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
65819   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
65820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65821 fi
65822 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
65823   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
65824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65825 fi
65826 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
65827   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
65828 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65829 fi
65830 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
65831   as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
65832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65833 fi
65834 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
65835   as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
65836 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65837 fi
65838 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
65839   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
65840 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65841 fi
65842 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
65843   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
65844 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65845 fi
65846 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
65847   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
65848 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65849 fi
65850 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
65851   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
65852 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65853 fi
65854 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
65855   as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
65856 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65857 fi
65858 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
65859   as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
65860 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65861 fi
65862 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
65863   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
65864 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65865 fi
65866 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
65867   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
65868 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65869 fi
65870 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
65871   as_fn_error "conditional \"BUILD_INFO\" was never defined.
65872 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65873 fi
65874 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
65875   as_fn_error "conditional \"BUILD_XML\" was never defined.
65876 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65877 fi
65878 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
65879   as_fn_error "conditional \"BUILD_HTML\" was never defined.
65880 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65881 fi
65882 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
65883   as_fn_error "conditional \"BUILD_MAN\" was never defined.
65884 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65885 fi
65886 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
65887   as_fn_error "conditional \"BUILD_PDF\" was never defined.
65888 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65889 fi
65890 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
65891   as_fn_error "conditional \"BUILD_EPUB\" was never defined.
65892 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65893 fi
65894
65895 : ${CONFIG_STATUS=./config.status}
65896 ac_write_fail=0
65897 ac_clean_files_save=$ac_clean_files
65898 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
65899 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
65900 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
65901 as_write_fail=0
65902 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
65903 #! $SHELL
65904 # Generated by $as_me.
65905 # Run this file to recreate the current configuration.
65906 # Compiler output produced by configure, useful for debugging
65907 # configure, is in config.log if it exists.
65908
65909 debug=false
65910 ac_cs_recheck=false
65911 ac_cs_silent=false
65912
65913 SHELL=\${CONFIG_SHELL-$SHELL}
65914 export SHELL
65915 _ASEOF
65916 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
65917 ## -------------------- ##
65918 ## M4sh Initialization. ##
65919 ## -------------------- ##
65920
65921 # Be more Bourne compatible
65922 DUALCASE=1; export DUALCASE # for MKS sh
65923 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
65924   emulate sh
65925   NULLCMD=:
65926   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
65927   # is contrary to our usage.  Disable this feature.
65928   alias -g '${1+"$@"}'='"$@"'
65929   setopt NO_GLOB_SUBST
65930 else
65931   case `(set -o) 2>/dev/null` in #(
65932   *posix*) :
65933     set -o posix ;; #(
65934   *) :
65935      ;;
65936 esac
65937 fi
65938
65939
65940 as_nl='
65941 '
65942 export as_nl
65943 # Printing a long string crashes Solaris 7 /usr/bin/printf.
65944 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
65945 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
65946 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
65947 # Prefer a ksh shell builtin over an external printf program on Solaris,
65948 # but without wasting forks for bash or zsh.
65949 if test -z "$BASH_VERSION$ZSH_VERSION" \
65950     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
65951   as_echo='print -r --'
65952   as_echo_n='print -rn --'
65953 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
65954   as_echo='printf %s\n'
65955   as_echo_n='printf %s'
65956 else
65957   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
65958     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
65959     as_echo_n='/usr/ucb/echo -n'
65960   else
65961     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65962     as_echo_n_body='eval
65963       arg=$1;
65964       case $arg in #(
65965       *"$as_nl"*)
65966         expr "X$arg" : "X\\(.*\\)$as_nl";
65967         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65968       esac;
65969       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65970     '
65971     export as_echo_n_body
65972     as_echo_n='sh -c $as_echo_n_body as_echo'
65973   fi
65974   export as_echo_body
65975   as_echo='sh -c $as_echo_body as_echo'
65976 fi
65977
65978 # The user is always right.
65979 if test "${PATH_SEPARATOR+set}" != set; then
65980   PATH_SEPARATOR=:
65981   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
65982     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
65983       PATH_SEPARATOR=';'
65984   }
65985 fi
65986
65987
65988 # IFS
65989 # We need space, tab and new line, in precisely that order.  Quoting is
65990 # there to prevent editors from complaining about space-tab.
65991 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65992 # splitting by setting IFS to empty value.)
65993 IFS=" ""        $as_nl"
65994
65995 # Find who we are.  Look in the path if we contain no directory separator.
65996 case $0 in #((
65997   *[\\/]* ) as_myself=$0 ;;
65998   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65999 for as_dir in $PATH
66000 do
66001   IFS=$as_save_IFS
66002   test -z "$as_dir" && as_dir=.
66003     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66004   done
66005 IFS=$as_save_IFS
66006
66007      ;;
66008 esac
66009 # We did not find ourselves, most probably we were run as `sh COMMAND'
66010 # in which case we are not to be found in the path.
66011 if test "x$as_myself" = x; then
66012   as_myself=$0
66013 fi
66014 if test ! -f "$as_myself"; then
66015   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66016   exit 1
66017 fi
66018
66019 # Unset variables that we do not need and which cause bugs (e.g. in
66020 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
66021 # suppresses any "Segmentation fault" message there.  '((' could
66022 # trigger a bug in pdksh 5.2.14.
66023 for as_var in BASH_ENV ENV MAIL MAILPATH
66024 do eval test x\${$as_var+set} = xset \
66025   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66026 done
66027 PS1='$ '
66028 PS2='> '
66029 PS4='+ '
66030
66031 # NLS nuisances.
66032 LC_ALL=C
66033 export LC_ALL
66034 LANGUAGE=C
66035 export LANGUAGE
66036
66037 # CDPATH.
66038 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66039
66040
66041 # as_fn_error ERROR [LINENO LOG_FD]
66042 # ---------------------------------
66043 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66044 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66045 # script with status $?, using 1 if that was 0.
66046 as_fn_error ()
66047 {
66048   as_status=$?; test $as_status -eq 0 && as_status=1
66049   if test "$3"; then
66050     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66051     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66052   fi
66053   $as_echo "$as_me: error: $1" >&2
66054   as_fn_exit $as_status
66055 } # as_fn_error
66056
66057
66058 # as_fn_set_status STATUS
66059 # -----------------------
66060 # Set $? to STATUS, without forking.
66061 as_fn_set_status ()
66062 {
66063   return $1
66064 } # as_fn_set_status
66065
66066 # as_fn_exit STATUS
66067 # -----------------
66068 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66069 as_fn_exit ()
66070 {
66071   set +e
66072   as_fn_set_status $1
66073   exit $1
66074 } # as_fn_exit
66075
66076 # as_fn_unset VAR
66077 # ---------------
66078 # Portably unset VAR.
66079 as_fn_unset ()
66080 {
66081   { eval $1=; unset $1;}
66082 }
66083 as_unset=as_fn_unset
66084 # as_fn_append VAR VALUE
66085 # ----------------------
66086 # Append the text in VALUE to the end of the definition contained in VAR. Take
66087 # advantage of any shell optimizations that allow amortized linear growth over
66088 # repeated appends, instead of the typical quadratic growth present in naive
66089 # implementations.
66090 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66091   eval 'as_fn_append ()
66092   {
66093     eval $1+=\$2
66094   }'
66095 else
66096   as_fn_append ()
66097   {
66098     eval $1=\$$1\$2
66099   }
66100 fi # as_fn_append
66101
66102 # as_fn_arith ARG...
66103 # ------------------
66104 # Perform arithmetic evaluation on the ARGs, and store the result in the
66105 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66106 # must be portable across $(()) and expr.
66107 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66108   eval 'as_fn_arith ()
66109   {
66110     as_val=$(( $* ))
66111   }'
66112 else
66113   as_fn_arith ()
66114   {
66115     as_val=`expr "$@" || test $? -eq 1`
66116   }
66117 fi # as_fn_arith
66118
66119
66120 if expr a : '\(a\)' >/dev/null 2>&1 &&
66121    test "X`expr 00001 : '.*\(...\)'`" = X001; then
66122   as_expr=expr
66123 else
66124   as_expr=false
66125 fi
66126
66127 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66128   as_basename=basename
66129 else
66130   as_basename=false
66131 fi
66132
66133 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66134   as_dirname=dirname
66135 else
66136   as_dirname=false
66137 fi
66138
66139 as_me=`$as_basename -- "$0" ||
66140 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66141          X"$0" : 'X\(//\)$' \| \
66142          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66143 $as_echo X/"$0" |
66144     sed '/^.*\/\([^/][^/]*\)\/*$/{
66145             s//\1/
66146             q
66147           }
66148           /^X\/\(\/\/\)$/{
66149             s//\1/
66150             q
66151           }
66152           /^X\/\(\/\).*/{
66153             s//\1/
66154             q
66155           }
66156           s/.*/./; q'`
66157
66158 # Avoid depending upon Character Ranges.
66159 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66160 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66161 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66162 as_cr_digits='0123456789'
66163 as_cr_alnum=$as_cr_Letters$as_cr_digits
66164
66165 ECHO_C= ECHO_N= ECHO_T=
66166 case `echo -n x` in #(((((
66167 -n*)
66168   case `echo 'xy\c'` in
66169   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
66170   xy)  ECHO_C='\c';;
66171   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
66172        ECHO_T=' ';;
66173   esac;;
66174 *)
66175   ECHO_N='-n';;
66176 esac
66177
66178 rm -f conf$$ conf$$.exe conf$$.file
66179 if test -d conf$$.dir; then
66180   rm -f conf$$.dir/conf$$.file
66181 else
66182   rm -f conf$$.dir
66183   mkdir conf$$.dir 2>/dev/null
66184 fi
66185 if (echo >conf$$.file) 2>/dev/null; then
66186   if ln -s conf$$.file conf$$ 2>/dev/null; then
66187     as_ln_s='ln -s'
66188     # ... but there are two gotchas:
66189     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66190     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66191     # In both cases, we have to default to `cp -p'.
66192     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66193       as_ln_s='cp -p'
66194   elif ln conf$$.file conf$$ 2>/dev/null; then
66195     as_ln_s=ln
66196   else
66197     as_ln_s='cp -p'
66198   fi
66199 else
66200   as_ln_s='cp -p'
66201 fi
66202 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66203 rmdir conf$$.dir 2>/dev/null
66204
66205
66206 # as_fn_mkdir_p
66207 # -------------
66208 # Create "$as_dir" as a directory, including parents if necessary.
66209 as_fn_mkdir_p ()
66210 {
66211
66212   case $as_dir in #(
66213   -*) as_dir=./$as_dir;;
66214   esac
66215   test -d "$as_dir" || eval $as_mkdir_p || {
66216     as_dirs=
66217     while :; do
66218       case $as_dir in #(
66219       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66220       *) as_qdir=$as_dir;;
66221       esac
66222       as_dirs="'$as_qdir' $as_dirs"
66223       as_dir=`$as_dirname -- "$as_dir" ||
66224 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66225          X"$as_dir" : 'X\(//\)[^/]' \| \
66226          X"$as_dir" : 'X\(//\)$' \| \
66227          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66228 $as_echo X"$as_dir" |
66229     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66230             s//\1/
66231             q
66232           }
66233           /^X\(\/\/\)[^/].*/{
66234             s//\1/
66235             q
66236           }
66237           /^X\(\/\/\)$/{
66238             s//\1/
66239             q
66240           }
66241           /^X\(\/\).*/{
66242             s//\1/
66243             q
66244           }
66245           s/.*/./; q'`
66246       test -d "$as_dir" && break
66247     done
66248     test -z "$as_dirs" || eval "mkdir $as_dirs"
66249   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66250
66251
66252 } # as_fn_mkdir_p
66253 if mkdir -p . 2>/dev/null; then
66254   as_mkdir_p='mkdir -p "$as_dir"'
66255 else
66256   test -d ./-p && rmdir ./-p
66257   as_mkdir_p=false
66258 fi
66259
66260 if test -x / >/dev/null 2>&1; then
66261   as_test_x='test -x'
66262 else
66263   if ls -dL / >/dev/null 2>&1; then
66264     as_ls_L_option=L
66265   else
66266     as_ls_L_option=
66267   fi
66268   as_test_x='
66269     eval sh -c '\''
66270       if test -d "$1"; then
66271         test -d "$1/.";
66272       else
66273         case $1 in #(
66274         -*)set "./$1";;
66275         esac;
66276         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
66277         ???[sx]*):;;*)false;;esac;fi
66278     '\'' sh
66279   '
66280 fi
66281 as_executable_p=$as_test_x
66282
66283 # Sed expression to map a string onto a valid CPP name.
66284 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
66285
66286 # Sed expression to map a string onto a valid variable name.
66287 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
66288
66289
66290 exec 6>&1
66291 ## ----------------------------------- ##
66292 ## Main body of $CONFIG_STATUS script. ##
66293 ## ----------------------------------- ##
66294 _ASEOF
66295 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
66296
66297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66298 # Save the log message, to keep $0 and so on meaningful, and to
66299 # report actual input values of CONFIG_FILES etc. instead of their
66300 # values after options handling.
66301 ac_log="
66302 This file was extended by package-unused $as_me version-unused, which was
66303 generated by GNU Autoconf 2.64.  Invocation command line was
66304
66305   CONFIG_FILES    = $CONFIG_FILES
66306   CONFIG_HEADERS  = $CONFIG_HEADERS
66307   CONFIG_LINKS    = $CONFIG_LINKS
66308   CONFIG_COMMANDS = $CONFIG_COMMANDS
66309   $ $0 $@
66310
66311 on `(hostname || uname -n) 2>/dev/null | sed 1q`
66312 "
66313
66314 _ACEOF
66315
66316 case $ac_config_files in *"
66317 "*) set x $ac_config_files; shift; ac_config_files=$*;;
66318 esac
66319
66320 case $ac_config_headers in *"
66321 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
66322 esac
66323
66324
66325 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66326 # Files that config.status was made for.
66327 config_files="$ac_config_files"
66328 config_headers="$ac_config_headers"
66329 config_commands="$ac_config_commands"
66330
66331 _ACEOF
66332
66333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66334 ac_cs_usage="\
66335 \`$as_me' instantiates files and other configuration actions
66336 from templates according to the current configuration.  Unless the files
66337 and actions are specified as TAGs, all are instantiated by default.
66338
66339 Usage: $0 [OPTION]... [TAG]...
66340
66341   -h, --help       print this help, then exit
66342   -V, --version    print version number and configuration settings, then exit
66343   -q, --quiet, --silent
66344                    do not print progress messages
66345   -d, --debug      don't remove temporary files
66346       --recheck    update $as_me by reconfiguring in the same conditions
66347       --file=FILE[:TEMPLATE]
66348                    instantiate the configuration file FILE
66349       --header=FILE[:TEMPLATE]
66350                    instantiate the configuration header FILE
66351
66352 Configuration files:
66353 $config_files
66354
66355 Configuration headers:
66356 $config_headers
66357
66358 Configuration commands:
66359 $config_commands
66360
66361 Report bugs to the package provider."
66362
66363 _ACEOF
66364 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66365 ac_cs_version="\\
66366 package-unused config.status version-unused
66367 configured by $0, generated by GNU Autoconf 2.64,
66368   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
66369
66370 Copyright (C) 2009 Free Software Foundation, Inc.
66371 This config.status script is free software; the Free Software Foundation
66372 gives unlimited permission to copy, distribute and modify it."
66373
66374 ac_pwd='$ac_pwd'
66375 srcdir='$srcdir'
66376 INSTALL='$INSTALL'
66377 MKDIR_P='$MKDIR_P'
66378 AWK='$AWK'
66379 test -n "\$AWK" || AWK=awk
66380 _ACEOF
66381
66382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66383 # The default lists apply if the user does not specify any file.
66384 ac_need_defaults=:
66385 while test $# != 0
66386 do
66387   case $1 in
66388   --*=*)
66389     ac_option=`expr "X$1" : 'X\([^=]*\)='`
66390     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
66391     ac_shift=:
66392     ;;
66393   *)
66394     ac_option=$1
66395     ac_optarg=$2
66396     ac_shift=shift
66397     ;;
66398   esac
66399
66400   case $ac_option in
66401   # Handling of the options.
66402   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
66403     ac_cs_recheck=: ;;
66404   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
66405     $as_echo "$ac_cs_version"; exit ;;
66406   --debug | --debu | --deb | --de | --d | -d )
66407     debug=: ;;
66408   --file | --fil | --fi | --f )
66409     $ac_shift
66410     case $ac_optarg in
66411     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66412     esac
66413     as_fn_append CONFIG_FILES " '$ac_optarg'"
66414     ac_need_defaults=false;;
66415   --header | --heade | --head | --hea )
66416     $ac_shift
66417     case $ac_optarg in
66418     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66419     esac
66420     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
66421     ac_need_defaults=false;;
66422   --he | --h)
66423     # Conflict between --help and --header
66424     as_fn_error "ambiguous option: \`$1'
66425 Try \`$0 --help' for more information.";;
66426   --help | --hel | -h )
66427     $as_echo "$ac_cs_usage"; exit ;;
66428   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
66429   | -silent | --silent | --silen | --sile | --sil | --si | --s)
66430     ac_cs_silent=: ;;
66431
66432   # This is an error.
66433   -*) as_fn_error "unrecognized option: \`$1'
66434 Try \`$0 --help' for more information." ;;
66435
66436   *) as_fn_append ac_config_targets " $1"
66437      ac_need_defaults=false ;;
66438
66439   esac
66440   shift
66441 done
66442
66443 ac_configure_extra_args=
66444
66445 if $ac_cs_silent; then
66446   exec 6>/dev/null
66447   ac_configure_extra_args="$ac_configure_extra_args --silent"
66448 fi
66449
66450 _ACEOF
66451 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66452 if \$ac_cs_recheck; then
66453   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66454   shift
66455   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
66456   CONFIG_SHELL='$SHELL'
66457   export CONFIG_SHELL
66458   exec "\$@"
66459 fi
66460
66461 _ACEOF
66462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66463 exec 5>>config.log
66464 {
66465   echo
66466   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
66467 ## Running $as_me. ##
66468 _ASBOX
66469   $as_echo "$ac_log"
66470 } >&5
66471
66472 _ACEOF
66473 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66474 #
66475 # INIT-COMMANDS
66476 #
66477
66478 srcdir="$srcdir"
66479 host="$host"
66480 target="$target"
66481 with_multisubdir="$with_multisubdir"
66482 with_multisrctop="$with_multisrctop"
66483 with_target_subdir="$with_target_subdir"
66484 ac_configure_args="${multilib_arg} ${ac_configure_args}"
66485 multi_basedir="$multi_basedir"
66486 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
66487 CC="$CC"
66488 CXX="$CXX"
66489 GFORTRAN="$GFORTRAN"
66490 GCJ="$GCJ"
66491
66492
66493 # The HP-UX ksh and POSIX shell print the target directory to stdout
66494 # if CDPATH is set.
66495 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66496
66497 sed_quote_subst='$sed_quote_subst'
66498 double_quote_subst='$double_quote_subst'
66499 delay_variable_subst='$delay_variable_subst'
66500 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
66501 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
66502 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
66503 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
66504 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
66505 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
66506 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
66507 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
66508 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
66509 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
66510 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
66511 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
66512 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
66513 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
66514 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
66515 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
66516 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
66517 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
66518 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
66519 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
66520 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
66521 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
66522 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
66523 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
66524 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
66525 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
66526 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
66527 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
66528 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
66529 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
66530 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
66531 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
66532 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
66533 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
66534 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
66535 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
66536 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
66537 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
66538 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
66539 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
66540 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
66541 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
66542 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
66543 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
66544 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
66545 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
66546 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
66547 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
66548 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"`'
66549 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
66550 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
66551 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
66552 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
66553 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
66554 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
66555 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
66556 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
66557 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
66558 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
66559 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
66560 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
66561 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
66562 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
66563 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
66564 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66565 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
66566 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
66567 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
66568 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
66569 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
66570 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
66571 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66572 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
66573 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66574 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
66575 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66576 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
66577 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
66578 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
66579 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
66580 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
66581 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
66582 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
66583 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
66584 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
66585 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
66586 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
66587 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
66588 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
66589 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
66590 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
66591 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
66592 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
66593 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
66594 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
66595 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
66596 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
66597 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
66598 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
66599 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
66600 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
66601 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
66602 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
66603 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
66604 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
66605 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
66606 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
66607 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
66608 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
66609 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
66610 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
66611 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
66612 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
66613 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
66614 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
66615 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
66616 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
66617 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
66618 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
66619 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
66620 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
66621 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
66622 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
66623 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
66624 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
66625 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
66626 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
66627 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
66628 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66629 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66630 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
66631 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
66632 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
66633 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
66634 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
66635 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
66636 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
66637 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
66638 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
66639 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66640 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66641 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
66642 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66643 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66644 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66645 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66646 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66647 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66648 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
66649 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
66650 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
66651 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66652 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
66653 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
66654 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
66655 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
66656 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
66657 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
66658 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
66659 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
66660 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
66661 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
66662 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
66663 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66664 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
66665 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
66666 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66667 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
66668 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
66669 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
66670 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
66671 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
66672 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
66673 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
66674 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
66675
66676 LTCC='$LTCC'
66677 LTCFLAGS='$LTCFLAGS'
66678 compiler='$compiler_DEFAULT'
66679
66680 # A function that is used when there is no print builtin or printf.
66681 func_fallback_echo ()
66682 {
66683   eval 'cat <<_LTECHO_EOF
66684 \$1
66685 _LTECHO_EOF'
66686 }
66687
66688 # Quote evaled strings.
66689 for var in SHELL \
66690 ECHO \
66691 SED \
66692 GREP \
66693 EGREP \
66694 FGREP \
66695 LD \
66696 NM \
66697 LN_S \
66698 lt_SP2NL \
66699 lt_NL2SP \
66700 reload_flag \
66701 OBJDUMP \
66702 deplibs_check_method \
66703 file_magic_cmd \
66704 AR \
66705 AR_FLAGS \
66706 STRIP \
66707 RANLIB \
66708 CC \
66709 CFLAGS \
66710 compiler \
66711 lt_cv_sys_global_symbol_pipe \
66712 lt_cv_sys_global_symbol_to_cdecl \
66713 lt_cv_sys_global_symbol_to_c_name_address \
66714 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
66715 lt_prog_compiler_no_builtin_flag \
66716 lt_prog_compiler_wl \
66717 lt_prog_compiler_pic \
66718 lt_prog_compiler_static \
66719 lt_cv_prog_compiler_c_o \
66720 need_locks \
66721 DSYMUTIL \
66722 NMEDIT \
66723 LIPO \
66724 OTOOL \
66725 OTOOL64 \
66726 shrext_cmds \
66727 export_dynamic_flag_spec \
66728 whole_archive_flag_spec \
66729 compiler_needs_object \
66730 with_gnu_ld \
66731 allow_undefined_flag \
66732 no_undefined_flag \
66733 hardcode_libdir_flag_spec \
66734 hardcode_libdir_flag_spec_ld \
66735 hardcode_libdir_separator \
66736 fix_srcfile_path \
66737 exclude_expsyms \
66738 include_expsyms \
66739 file_list_spec \
66740 variables_saved_for_relink \
66741 libname_spec \
66742 library_names_spec \
66743 soname_spec \
66744 install_override_mode \
66745 finish_eval \
66746 old_striplib \
66747 striplib \
66748 compiler_lib_search_dirs \
66749 predep_objects \
66750 postdep_objects \
66751 predeps \
66752 postdeps \
66753 compiler_lib_search_path \
66754 LD_CXX \
66755 reload_flag_CXX \
66756 compiler_CXX \
66757 lt_prog_compiler_no_builtin_flag_CXX \
66758 lt_prog_compiler_wl_CXX \
66759 lt_prog_compiler_pic_CXX \
66760 lt_prog_compiler_static_CXX \
66761 lt_cv_prog_compiler_c_o_CXX \
66762 export_dynamic_flag_spec_CXX \
66763 whole_archive_flag_spec_CXX \
66764 compiler_needs_object_CXX \
66765 with_gnu_ld_CXX \
66766 allow_undefined_flag_CXX \
66767 no_undefined_flag_CXX \
66768 hardcode_libdir_flag_spec_CXX \
66769 hardcode_libdir_flag_spec_ld_CXX \
66770 hardcode_libdir_separator_CXX \
66771 fix_srcfile_path_CXX \
66772 exclude_expsyms_CXX \
66773 include_expsyms_CXX \
66774 file_list_spec_CXX \
66775 compiler_lib_search_dirs_CXX \
66776 predep_objects_CXX \
66777 postdep_objects_CXX \
66778 predeps_CXX \
66779 postdeps_CXX \
66780 compiler_lib_search_path_CXX; do
66781     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
66782     *[\\\\\\\`\\"\\\$]*)
66783       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
66784       ;;
66785     *)
66786       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
66787       ;;
66788     esac
66789 done
66790
66791 # Double-quote double-evaled strings.
66792 for var in reload_cmds \
66793 old_postinstall_cmds \
66794 old_postuninstall_cmds \
66795 old_archive_cmds \
66796 extract_expsyms_cmds \
66797 old_archive_from_new_cmds \
66798 old_archive_from_expsyms_cmds \
66799 archive_cmds \
66800 archive_expsym_cmds \
66801 module_cmds \
66802 module_expsym_cmds \
66803 export_symbols_cmds \
66804 prelink_cmds \
66805 postinstall_cmds \
66806 postuninstall_cmds \
66807 finish_cmds \
66808 sys_lib_search_path_spec \
66809 sys_lib_dlsearch_path_spec \
66810 reload_cmds_CXX \
66811 old_archive_cmds_CXX \
66812 old_archive_from_new_cmds_CXX \
66813 old_archive_from_expsyms_cmds_CXX \
66814 archive_cmds_CXX \
66815 archive_expsym_cmds_CXX \
66816 module_cmds_CXX \
66817 module_expsym_cmds_CXX \
66818 export_symbols_cmds_CXX \
66819 prelink_cmds_CXX; do
66820     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
66821     *[\\\\\\\`\\"\\\$]*)
66822       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
66823       ;;
66824     *)
66825       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
66826       ;;
66827     esac
66828 done
66829
66830 ac_aux_dir='$ac_aux_dir'
66831 xsi_shell='$xsi_shell'
66832 lt_shell_append='$lt_shell_append'
66833
66834 # See if we are running on zsh, and set the options which allow our
66835 # commands through without removal of \ escapes INIT.
66836 if test -n "\${ZSH_VERSION+set}" ; then
66837    setopt NO_GLOB_SUBST
66838 fi
66839
66840
66841     PACKAGE='$PACKAGE'
66842     VERSION='$VERSION'
66843     TIMESTAMP='$TIMESTAMP'
66844     RM='$RM'
66845     ofile='$ofile'
66846
66847
66848
66849
66850
66851
66852 GCC="$GCC"
66853 CC="$CC"
66854 acx_cv_header_stdint="$acx_cv_header_stdint"
66855 acx_cv_type_int8_t="$acx_cv_type_int8_t"
66856 acx_cv_type_int16_t="$acx_cv_type_int16_t"
66857 acx_cv_type_int32_t="$acx_cv_type_int32_t"
66858 acx_cv_type_int64_t="$acx_cv_type_int64_t"
66859 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
66860 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
66861 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
66862 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
66863 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
66864 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
66865 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
66866 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
66867 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
66868
66869
66870 _ACEOF
66871
66872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66873
66874 # Handling of arguments.
66875 for ac_config_target in $ac_config_targets
66876 do
66877   case $ac_config_target in
66878     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
66879     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
66880     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
66881     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
66882     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
66883     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
66884     "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
66885     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
66886     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
66887     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
66888     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
66889     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
66890     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
66891     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
66892     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
66893
66894   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
66895   esac
66896 done
66897
66898
66899 # If the user did not use the arguments to specify the items to instantiate,
66900 # then the envvar interface is used.  Set only those that are not.
66901 # We use the long form for the default assignment because of an extremely
66902 # bizarre bug on SunOS 4.1.3.
66903 if $ac_need_defaults; then
66904   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
66905   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
66906   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
66907 fi
66908
66909 # Have a temporary directory for convenience.  Make it in the build tree
66910 # simply because there is no reason against having it here, and in addition,
66911 # creating and moving files from /tmp can sometimes cause problems.
66912 # Hook for its removal unless debugging.
66913 # Note that there is a small window in which the directory will not be cleaned:
66914 # after its creation but before its name has been assigned to `$tmp'.
66915 $debug ||
66916 {
66917   tmp=
66918   trap 'exit_status=$?
66919   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
66920 ' 0
66921   trap 'as_fn_exit 1' 1 2 13 15
66922 }
66923 # Create a (secure) tmp directory for tmp files.
66924
66925 {
66926   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
66927   test -n "$tmp" && test -d "$tmp"
66928 }  ||
66929 {
66930   tmp=./conf$$-$RANDOM
66931   (umask 077 && mkdir "$tmp")
66932 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
66933
66934 # Set up the scripts for CONFIG_FILES section.
66935 # No need to generate them if there are no CONFIG_FILES.
66936 # This happens for instance with `./config.status config.h'.
66937 if test -n "$CONFIG_FILES"; then
66938
66939
66940 ac_cr=`echo X | tr X '\015'`
66941 # On cygwin, bash can eat \r inside `` if the user requested igncr.
66942 # But we know of no other shell where ac_cr would be empty at this
66943 # point, so we can use a bashism as a fallback.
66944 if test "x$ac_cr" = x; then
66945   eval ac_cr=\$\'\\r\'
66946 fi
66947 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
66948 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
66949   ac_cs_awk_cr='\r'
66950 else
66951   ac_cs_awk_cr=$ac_cr
66952 fi
66953
66954 echo 'BEGIN {' >"$tmp/subs1.awk" &&
66955 _ACEOF
66956
66957
66958 {
66959   echo "cat >conf$$subs.awk <<_ACEOF" &&
66960   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
66961   echo "_ACEOF"
66962 } >conf$$subs.sh ||
66963   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
66964 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
66965 ac_delim='%!_!# '
66966 for ac_last_try in false false false false false :; do
66967   . ./conf$$subs.sh ||
66968     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
66969
66970   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
66971   if test $ac_delim_n = $ac_delim_num; then
66972     break
66973   elif $ac_last_try; then
66974     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
66975   else
66976     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
66977   fi
66978 done
66979 rm -f conf$$subs.sh
66980
66981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66982 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
66983 _ACEOF
66984 sed -n '
66985 h
66986 s/^/S["/; s/!.*/"]=/
66987 p
66988 g
66989 s/^[^!]*!//
66990 :repl
66991 t repl
66992 s/'"$ac_delim"'$//
66993 t delim
66994 :nl
66995 h
66996 s/\(.\{148\}\).*/\1/
66997 t more1
66998 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
66999 p
67000 n
67001 b repl
67002 :more1
67003 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67004 p
67005 g
67006 s/.\{148\}//
67007 t nl
67008 :delim
67009 h
67010 s/\(.\{148\}\).*/\1/
67011 t more2
67012 s/["\\]/\\&/g; s/^/"/; s/$/"/
67013 p
67014 b
67015 :more2
67016 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67017 p
67018 g
67019 s/.\{148\}//
67020 t delim
67021 ' <conf$$subs.awk | sed '
67022 /^[^""]/{
67023   N
67024   s/\n//
67025 }
67026 ' >>$CONFIG_STATUS || ac_write_fail=1
67027 rm -f conf$$subs.awk
67028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67029 _ACAWK
67030 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67031   for (key in S) S_is_set[key] = 1
67032   FS = "\a"
67033
67034 }
67035 {
67036   line = $ 0
67037   nfields = split(line, field, "@")
67038   substed = 0
67039   len = length(field[1])
67040   for (i = 2; i < nfields; i++) {
67041     key = field[i]
67042     keylen = length(key)
67043     if (S_is_set[key]) {
67044       value = S[key]
67045       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67046       len += length(value) + length(field[++i])
67047       substed = 1
67048     } else
67049       len += 1 + keylen
67050   }
67051
67052   print line
67053 }
67054
67055 _ACAWK
67056 _ACEOF
67057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67058 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67059   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67060 else
67061   cat
67062 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67063   || as_fn_error "could not setup config files machinery" "$LINENO" 5
67064 _ACEOF
67065
67066 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67067 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67068 # trailing colons and then remove the whole line if VPATH becomes empty
67069 # (actually we leave an empty line to preserve line numbers).
67070 if test "x$srcdir" = x.; then
67071   ac_vpsub='/^[  ]*VPATH[        ]*=/{
67072 s/:*\$(srcdir):*/:/
67073 s/:*\${srcdir}:*/:/
67074 s/:*@srcdir@:*/:/
67075 s/^\([^=]*=[     ]*\):*/\1/
67076 s/:*$//
67077 s/^[^=]*=[       ]*$//
67078 }'
67079 fi
67080
67081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67082 fi # test -n "$CONFIG_FILES"
67083
67084 # Set up the scripts for CONFIG_HEADERS section.
67085 # No need to generate them if there are no CONFIG_HEADERS.
67086 # This happens for instance with `./config.status Makefile'.
67087 if test -n "$CONFIG_HEADERS"; then
67088 cat >"$tmp/defines.awk" <<\_ACAWK ||
67089 BEGIN {
67090 _ACEOF
67091
67092 # Transform confdefs.h into an awk script `defines.awk', embedded as
67093 # here-document in config.status, that substitutes the proper values into
67094 # config.h.in to produce config.h.
67095
67096 # Create a delimiter string that does not exist in confdefs.h, to ease
67097 # handling of long lines.
67098 ac_delim='%!_!# '
67099 for ac_last_try in false false :; do
67100   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67101   if test -z "$ac_t"; then
67102     break
67103   elif $ac_last_try; then
67104     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67105   else
67106     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67107   fi
67108 done
67109
67110 # For the awk script, D is an array of macro values keyed by name,
67111 # likewise P contains macro parameters if any.  Preserve backslash
67112 # newline sequences.
67113
67114 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67115 sed -n '
67116 s/.\{148\}/&'"$ac_delim"'/g
67117 t rset
67118 :rset
67119 s/^[     ]*#[    ]*define[       ][      ]*/ /
67120 t def
67121 d
67122 :def
67123 s/\\$//
67124 t bsnl
67125 s/["\\]/\\&/g
67126 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
67127 D["\1"]=" \3"/p
67128 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
67129 d
67130 :bsnl
67131 s/["\\]/\\&/g
67132 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
67133 D["\1"]=" \3\\\\\\n"\\/p
67134 t cont
67135 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67136 t cont
67137 d
67138 :cont
67139 n
67140 s/.\{148\}/&'"$ac_delim"'/g
67141 t clear
67142 :clear
67143 s/\\$//
67144 t bsnlc
67145 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67146 d
67147 :bsnlc
67148 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67149 b cont
67150 ' <confdefs.h | sed '
67151 s/'"$ac_delim"'/"\\\
67152 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67153
67154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67155   for (key in D) D_is_set[key] = 1
67156   FS = "\a"
67157 }
67158 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67159   line = \$ 0
67160   split(line, arg, " ")
67161   if (arg[1] == "#") {
67162     defundef = arg[2]
67163     mac1 = arg[3]
67164   } else {
67165     defundef = substr(arg[1], 2)
67166     mac1 = arg[2]
67167   }
67168   split(mac1, mac2, "(") #)
67169   macro = mac2[1]
67170   prefix = substr(line, 1, index(line, defundef) - 1)
67171   if (D_is_set[macro]) {
67172     # Preserve the white space surrounding the "#".
67173     print prefix "define", macro P[macro] D[macro]
67174     next
67175   } else {
67176     # Replace #undef with comments.  This is necessary, for example,
67177     # in the case of _POSIX_SOURCE, which is predefined and required
67178     # on some systems where configure will not decide to define it.
67179     if (defundef == "undef") {
67180       print "/*", prefix defundef, macro, "*/"
67181       next
67182     }
67183   }
67184 }
67185 { print }
67186 _ACAWK
67187 _ACEOF
67188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67189   as_fn_error "could not setup config headers machinery" "$LINENO" 5
67190 fi # test -n "$CONFIG_HEADERS"
67191
67192
67193 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
67194 shift
67195 for ac_tag
67196 do
67197   case $ac_tag in
67198   :[FHLC]) ac_mode=$ac_tag; continue;;
67199   esac
67200   case $ac_mode$ac_tag in
67201   :[FHL]*:*);;
67202   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67203   :[FH]-) ac_tag=-:-;;
67204   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67205   esac
67206   ac_save_IFS=$IFS
67207   IFS=:
67208   set x $ac_tag
67209   IFS=$ac_save_IFS
67210   shift
67211   ac_file=$1
67212   shift
67213
67214   case $ac_mode in
67215   :L) ac_source=$1;;
67216   :[FH])
67217     ac_file_inputs=
67218     for ac_f
67219     do
67220       case $ac_f in
67221       -) ac_f="$tmp/stdin";;
67222       *) # Look for the file first in the build tree, then in the source tree
67223          # (if the path is not absolute).  The absolute path cannot be DOS-style,
67224          # because $ac_f cannot contain `:'.
67225          test -f "$ac_f" ||
67226            case $ac_f in
67227            [\\/$]*) false;;
67228            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67229            esac ||
67230            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67231       esac
67232       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67233       as_fn_append ac_file_inputs " '$ac_f'"
67234     done
67235
67236     # Let's still pretend it is `configure' which instantiates (i.e., don't
67237     # use $as_me), people would be surprised to read:
67238     #    /* config.h.  Generated by config.status.  */
67239     configure_input='Generated from '`
67240           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67241         `' by configure.'
67242     if test x"$ac_file" != x-; then
67243       configure_input="$ac_file.  $configure_input"
67244       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67245 $as_echo "$as_me: creating $ac_file" >&6;}
67246     fi
67247     # Neutralize special characters interpreted by sed in replacement strings.
67248     case $configure_input in #(
67249     *\&* | *\|* | *\\* )
67250        ac_sed_conf_input=`$as_echo "$configure_input" |
67251        sed 's/[\\\\&|]/\\\\&/g'`;; #(
67252     *) ac_sed_conf_input=$configure_input;;
67253     esac
67254
67255     case $ac_tag in
67256     *:-:* | *:-) cat >"$tmp/stdin" \
67257       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
67258     esac
67259     ;;
67260   esac
67261
67262   ac_dir=`$as_dirname -- "$ac_file" ||
67263 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67264          X"$ac_file" : 'X\(//\)[^/]' \| \
67265          X"$ac_file" : 'X\(//\)$' \| \
67266          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67267 $as_echo X"$ac_file" |
67268     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67269             s//\1/
67270             q
67271           }
67272           /^X\(\/\/\)[^/].*/{
67273             s//\1/
67274             q
67275           }
67276           /^X\(\/\/\)$/{
67277             s//\1/
67278             q
67279           }
67280           /^X\(\/\).*/{
67281             s//\1/
67282             q
67283           }
67284           s/.*/./; q'`
67285   as_dir="$ac_dir"; as_fn_mkdir_p
67286   ac_builddir=.
67287
67288 case "$ac_dir" in
67289 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67290 *)
67291   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
67292   # A ".." for each directory in $ac_dir_suffix.
67293   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
67294   case $ac_top_builddir_sub in
67295   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
67296   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
67297   esac ;;
67298 esac
67299 ac_abs_top_builddir=$ac_pwd
67300 ac_abs_builddir=$ac_pwd$ac_dir_suffix
67301 # for backward compatibility:
67302 ac_top_builddir=$ac_top_build_prefix
67303
67304 case $srcdir in
67305   .)  # We are building in place.
67306     ac_srcdir=.
67307     ac_top_srcdir=$ac_top_builddir_sub
67308     ac_abs_top_srcdir=$ac_pwd ;;
67309   [\\/]* | ?:[\\/]* )  # Absolute name.
67310     ac_srcdir=$srcdir$ac_dir_suffix;
67311     ac_top_srcdir=$srcdir
67312     ac_abs_top_srcdir=$srcdir ;;
67313   *) # Relative name.
67314     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
67315     ac_top_srcdir=$ac_top_build_prefix$srcdir
67316     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
67317 esac
67318 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
67319
67320
67321   case $ac_mode in
67322   :F)
67323   #
67324   # CONFIG_FILE
67325   #
67326
67327   case $INSTALL in
67328   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
67329   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
67330   esac
67331   ac_MKDIR_P=$MKDIR_P
67332   case $MKDIR_P in
67333   [\\/$]* | ?:[\\/]* ) ;;
67334   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
67335   esac
67336 _ACEOF
67337
67338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67339 # If the template does not know about datarootdir, expand it.
67340 # FIXME: This hack should be removed a few years after 2.60.
67341 ac_datarootdir_hack=; ac_datarootdir_seen=
67342 ac_sed_dataroot='
67343 /datarootdir/ {
67344   p
67345   q
67346 }
67347 /@datadir@/p
67348 /@docdir@/p
67349 /@infodir@/p
67350 /@localedir@/p
67351 /@mandir@/p'
67352 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
67353 *datarootdir*) ac_datarootdir_seen=yes;;
67354 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
67355   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
67356 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
67357 _ACEOF
67358 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67359   ac_datarootdir_hack='
67360   s&@datadir@&$datadir&g
67361   s&@docdir@&$docdir&g
67362   s&@infodir@&$infodir&g
67363   s&@localedir@&$localedir&g
67364   s&@mandir@&$mandir&g
67365   s&\\\${datarootdir}&$datarootdir&g' ;;
67366 esac
67367 _ACEOF
67368
67369 # Neutralize VPATH when `$srcdir' = `.'.
67370 # Shell code in configure.ac might set extrasub.
67371 # FIXME: do we really want to maintain this feature?
67372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67373 ac_sed_extra="$ac_vpsub
67374 $extrasub
67375 _ACEOF
67376 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67377 :t
67378 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
67379 s|@configure_input@|$ac_sed_conf_input|;t t
67380 s&@top_builddir@&$ac_top_builddir_sub&;t t
67381 s&@top_build_prefix@&$ac_top_build_prefix&;t t
67382 s&@srcdir@&$ac_srcdir&;t t
67383 s&@abs_srcdir@&$ac_abs_srcdir&;t t
67384 s&@top_srcdir@&$ac_top_srcdir&;t t
67385 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
67386 s&@builddir@&$ac_builddir&;t t
67387 s&@abs_builddir@&$ac_abs_builddir&;t t
67388 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
67389 s&@INSTALL@&$ac_INSTALL&;t t
67390 s&@MKDIR_P@&$ac_MKDIR_P&;t t
67391 $ac_datarootdir_hack
67392 "
67393 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
67394   || as_fn_error "could not create $ac_file" "$LINENO" 5
67395
67396 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
67397   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
67398   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
67399   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67400 which seems to be undefined.  Please make sure it is defined." >&5
67401 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67402 which seems to be undefined.  Please make sure it is defined." >&2;}
67403
67404   rm -f "$tmp/stdin"
67405   case $ac_file in
67406   -) cat "$tmp/out" && rm -f "$tmp/out";;
67407   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
67408   esac \
67409   || as_fn_error "could not create $ac_file" "$LINENO" 5
67410  ;;
67411   :H)
67412   #
67413   # CONFIG_HEADER
67414   #
67415   if test x"$ac_file" != x-; then
67416     {
67417       $as_echo "/* $configure_input  */" \
67418       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
67419     } >"$tmp/config.h" \
67420       || as_fn_error "could not create $ac_file" "$LINENO" 5
67421     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
67422       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
67423 $as_echo "$as_me: $ac_file is unchanged" >&6;}
67424     else
67425       rm -f "$ac_file"
67426       mv "$tmp/config.h" "$ac_file" \
67427         || as_fn_error "could not create $ac_file" "$LINENO" 5
67428     fi
67429   else
67430     $as_echo "/* $configure_input  */" \
67431       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
67432       || as_fn_error "could not create -" "$LINENO" 5
67433   fi
67434 # Compute "$ac_file"'s index in $config_headers.
67435 _am_arg="$ac_file"
67436 _am_stamp_count=1
67437 for _am_header in $config_headers :; do
67438   case $_am_header in
67439     $_am_arg | $_am_arg:* )
67440       break ;;
67441     * )
67442       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
67443   esac
67444 done
67445 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
67446 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67447          X"$_am_arg" : 'X\(//\)[^/]' \| \
67448          X"$_am_arg" : 'X\(//\)$' \| \
67449          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
67450 $as_echo X"$_am_arg" |
67451     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67452             s//\1/
67453             q
67454           }
67455           /^X\(\/\/\)[^/].*/{
67456             s//\1/
67457             q
67458           }
67459           /^X\(\/\/\)$/{
67460             s//\1/
67461             q
67462           }
67463           /^X\(\/\).*/{
67464             s//\1/
67465             q
67466           }
67467           s/.*/./; q'`/stamp-h$_am_stamp_count
67468  ;;
67469
67470   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
67471 $as_echo "$as_me: executing $ac_file commands" >&6;}
67472  ;;
67473   esac
67474
67475
67476   case $ac_file$ac_mode in
67477     "default-1":C)
67478 # Only add multilib support code if we just rebuilt the top-level
67479 # Makefile.
67480 case " $CONFIG_FILES " in
67481  *" Makefile "*)
67482    ac_file=Makefile . ${multi_basedir}/config-ml.in
67483    ;;
67484 esac ;;
67485     "libtool":C)
67486
67487     # See if we are running on zsh, and set the options which allow our
67488     # commands through without removal of \ escapes.
67489     if test -n "${ZSH_VERSION+set}" ; then
67490       setopt NO_GLOB_SUBST
67491     fi
67492
67493     cfgfile="${ofile}T"
67494     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
67495     $RM "$cfgfile"
67496
67497     cat <<_LT_EOF >> "$cfgfile"
67498 #! $SHELL
67499
67500 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
67501 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
67502 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
67503 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
67504 #
67505 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
67506 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
67507 #   Written by Gordon Matzigkeit, 1996
67508 #
67509 #   This file is part of GNU Libtool.
67510 #
67511 # GNU Libtool is free software; you can redistribute it and/or
67512 # modify it under the terms of the GNU General Public License as
67513 # published by the Free Software Foundation; either version 2 of
67514 # the License, or (at your option) any later version.
67515 #
67516 # As a special exception to the GNU General Public License,
67517 # if you distribute this file as part of a program or library that
67518 # is built using GNU Libtool, you may include this file under the
67519 # same distribution terms that you use for the rest of that program.
67520 #
67521 # GNU Libtool is distributed in the hope that it will be useful,
67522 # but WITHOUT ANY WARRANTY; without even the implied warranty of
67523 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
67524 # GNU General Public License for more details.
67525 #
67526 # You should have received a copy of the GNU General Public License
67527 # along with GNU Libtool; see the file COPYING.  If not, a copy
67528 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
67529 # obtained by writing to the Free Software Foundation, Inc.,
67530 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
67531
67532
67533 # The names of the tagged configurations supported by this script.
67534 available_tags="CXX "
67535
67536 # ### BEGIN LIBTOOL CONFIG
67537
67538 # Which release of libtool.m4 was used?
67539 macro_version=$macro_version
67540 macro_revision=$macro_revision
67541
67542 # Whether or not to build shared libraries.
67543 build_libtool_libs=$enable_shared
67544
67545 # Whether or not to build static libraries.
67546 build_old_libs=$enable_static
67547
67548 # What type of objects to build.
67549 pic_mode=$pic_mode
67550
67551 # Whether or not to optimize for fast installation.
67552 fast_install=$enable_fast_install
67553
67554 # Shell to use when invoking shell scripts.
67555 SHELL=$lt_SHELL
67556
67557 # An echo program that protects backslashes.
67558 ECHO=$lt_ECHO
67559
67560 # The host system.
67561 host_alias=$host_alias
67562 host=$host
67563 host_os=$host_os
67564
67565 # The build system.
67566 build_alias=$build_alias
67567 build=$build
67568 build_os=$build_os
67569
67570 # A sed program that does not truncate output.
67571 SED=$lt_SED
67572
67573 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
67574 Xsed="\$SED -e 1s/^X//"
67575
67576 # A grep program that handles long lines.
67577 GREP=$lt_GREP
67578
67579 # An ERE matcher.
67580 EGREP=$lt_EGREP
67581
67582 # A literal string matcher.
67583 FGREP=$lt_FGREP
67584
67585 # A BSD- or MS-compatible name lister.
67586 NM=$lt_NM
67587
67588 # Whether we need soft or hard links.
67589 LN_S=$lt_LN_S
67590
67591 # What is the maximum length of a command?
67592 max_cmd_len=$max_cmd_len
67593
67594 # Object file suffix (normally "o").
67595 objext=$ac_objext
67596
67597 # Executable file suffix (normally "").
67598 exeext=$exeext
67599
67600 # whether the shell understands "unset".
67601 lt_unset=$lt_unset
67602
67603 # turn spaces into newlines.
67604 SP2NL=$lt_lt_SP2NL
67605
67606 # turn newlines into spaces.
67607 NL2SP=$lt_lt_NL2SP
67608
67609 # An object symbol dumper.
67610 OBJDUMP=$lt_OBJDUMP
67611
67612 # Method to check whether dependent libraries are shared objects.
67613 deplibs_check_method=$lt_deplibs_check_method
67614
67615 # Command to use when deplibs_check_method == "file_magic".
67616 file_magic_cmd=$lt_file_magic_cmd
67617
67618 # The archiver.
67619 AR=$lt_AR
67620 AR_FLAGS=$lt_AR_FLAGS
67621
67622 # A symbol stripping program.
67623 STRIP=$lt_STRIP
67624
67625 # Commands used to install an old-style archive.
67626 RANLIB=$lt_RANLIB
67627 old_postinstall_cmds=$lt_old_postinstall_cmds
67628 old_postuninstall_cmds=$lt_old_postuninstall_cmds
67629
67630 # Whether to use a lock for old archive extraction.
67631 lock_old_archive_extraction=$lock_old_archive_extraction
67632
67633 # A C compiler.
67634 LTCC=$lt_CC
67635
67636 # LTCC compiler flags.
67637 LTCFLAGS=$lt_CFLAGS
67638
67639 # Take the output of nm and produce a listing of raw symbols and C names.
67640 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
67641
67642 # Transform the output of nm in a proper C declaration.
67643 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
67644
67645 # Transform the output of nm in a C name address pair.
67646 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
67647
67648 # Transform the output of nm in a C name address pair when lib prefix is needed.
67649 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
67650
67651 # The name of the directory that contains temporary libtool files.
67652 objdir=$objdir
67653
67654 # Used to examine libraries when file_magic_cmd begins with "file".
67655 MAGIC_CMD=$MAGIC_CMD
67656
67657 # Must we lock files when doing compilation?
67658 need_locks=$lt_need_locks
67659
67660 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
67661 DSYMUTIL=$lt_DSYMUTIL
67662
67663 # Tool to change global to local symbols on Mac OS X.
67664 NMEDIT=$lt_NMEDIT
67665
67666 # Tool to manipulate fat objects and archives on Mac OS X.
67667 LIPO=$lt_LIPO
67668
67669 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
67670 OTOOL=$lt_OTOOL
67671
67672 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
67673 OTOOL64=$lt_OTOOL64
67674
67675 # Old archive suffix (normally "a").
67676 libext=$libext
67677
67678 # Shared library suffix (normally ".so").
67679 shrext_cmds=$lt_shrext_cmds
67680
67681 # The commands to extract the exported symbol list from a shared archive.
67682 extract_expsyms_cmds=$lt_extract_expsyms_cmds
67683
67684 # Variables whose values should be saved in libtool wrapper scripts and
67685 # restored at link time.
67686 variables_saved_for_relink=$lt_variables_saved_for_relink
67687
67688 # Do we need the "lib" prefix for modules?
67689 need_lib_prefix=$need_lib_prefix
67690
67691 # Do we need a version for libraries?
67692 need_version=$need_version
67693
67694 # Library versioning type.
67695 version_type=$version_type
67696
67697 # Shared library runtime path variable.
67698 runpath_var=$runpath_var
67699
67700 # Shared library path variable.
67701 shlibpath_var=$shlibpath_var
67702
67703 # Is shlibpath searched before the hard-coded library search path?
67704 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
67705
67706 # Format of library name prefix.
67707 libname_spec=$lt_libname_spec
67708
67709 # List of archive names.  First name is the real one, the rest are links.
67710 # The last name is the one that the linker finds with -lNAME
67711 library_names_spec=$lt_library_names_spec
67712
67713 # The coded name of the library, if different from the real name.
67714 soname_spec=$lt_soname_spec
67715
67716 # Permission mode override for installation of shared libraries.
67717 install_override_mode=$lt_install_override_mode
67718
67719 # Command to use after installation of a shared archive.
67720 postinstall_cmds=$lt_postinstall_cmds
67721
67722 # Command to use after uninstallation of a shared archive.
67723 postuninstall_cmds=$lt_postuninstall_cmds
67724
67725 # Commands used to finish a libtool library installation in a directory.
67726 finish_cmds=$lt_finish_cmds
67727
67728 # As "finish_cmds", except a single script fragment to be evaled but
67729 # not shown.
67730 finish_eval=$lt_finish_eval
67731
67732 # Whether we should hardcode library paths into libraries.
67733 hardcode_into_libs=$hardcode_into_libs
67734
67735 # Compile-time system search path for libraries.
67736 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
67737
67738 # Run-time system search path for libraries.
67739 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
67740
67741 # Whether dlopen is supported.
67742 dlopen_support=$enable_dlopen
67743
67744 # Whether dlopen of programs is supported.
67745 dlopen_self=$enable_dlopen_self
67746
67747 # Whether dlopen of statically linked programs is supported.
67748 dlopen_self_static=$enable_dlopen_self_static
67749
67750 # Commands to strip libraries.
67751 old_striplib=$lt_old_striplib
67752 striplib=$lt_striplib
67753
67754
67755 # The linker used to build libraries.
67756 LD=$lt_LD
67757
67758 # How to create reloadable object files.
67759 reload_flag=$lt_reload_flag
67760 reload_cmds=$lt_reload_cmds
67761
67762 # Commands used to build an old-style archive.
67763 old_archive_cmds=$lt_old_archive_cmds
67764
67765 # A language specific compiler.
67766 CC=$lt_compiler
67767
67768 # Is the compiler the GNU compiler?
67769 with_gcc=$GCC
67770
67771 # Compiler flag to turn off builtin functions.
67772 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
67773
67774 # How to pass a linker flag through the compiler.
67775 wl=$lt_lt_prog_compiler_wl
67776
67777 # Additional compiler flags for building library objects.
67778 pic_flag=$lt_lt_prog_compiler_pic
67779
67780 # Compiler flag to prevent dynamic linking.
67781 link_static_flag=$lt_lt_prog_compiler_static
67782
67783 # Does compiler simultaneously support -c and -o options?
67784 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
67785
67786 # Whether or not to add -lc for building shared libraries.
67787 build_libtool_need_lc=$archive_cmds_need_lc
67788
67789 # Whether or not to disallow shared libs when runtime libs are static.
67790 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
67791
67792 # Compiler flag to allow reflexive dlopens.
67793 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
67794
67795 # Compiler flag to generate shared objects directly from archives.
67796 whole_archive_flag_spec=$lt_whole_archive_flag_spec
67797
67798 # Whether the compiler copes with passing no objects directly.
67799 compiler_needs_object=$lt_compiler_needs_object
67800
67801 # Create an old-style archive from a shared archive.
67802 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
67803
67804 # Create a temporary old-style archive to link instead of a shared archive.
67805 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
67806
67807 # Commands used to build a shared archive.
67808 archive_cmds=$lt_archive_cmds
67809 archive_expsym_cmds=$lt_archive_expsym_cmds
67810
67811 # Commands used to build a loadable module if different from building
67812 # a shared archive.
67813 module_cmds=$lt_module_cmds
67814 module_expsym_cmds=$lt_module_expsym_cmds
67815
67816 # Whether we are building with GNU ld or not.
67817 with_gnu_ld=$lt_with_gnu_ld
67818
67819 # Flag that allows shared libraries with undefined symbols to be built.
67820 allow_undefined_flag=$lt_allow_undefined_flag
67821
67822 # Flag that enforces no undefined symbols.
67823 no_undefined_flag=$lt_no_undefined_flag
67824
67825 # Flag to hardcode \$libdir into a binary during linking.
67826 # This must work even if \$libdir does not exist
67827 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
67828
67829 # If ld is used when linking, flag to hardcode \$libdir into a binary
67830 # during linking.  This must work even if \$libdir does not exist.
67831 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
67832
67833 # Whether we need a single "-rpath" flag with a separated argument.
67834 hardcode_libdir_separator=$lt_hardcode_libdir_separator
67835
67836 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
67837 # DIR into the resulting binary.
67838 hardcode_direct=$hardcode_direct
67839
67840 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
67841 # DIR into the resulting binary and the resulting library dependency is
67842 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
67843 # library is relocated.
67844 hardcode_direct_absolute=$hardcode_direct_absolute
67845
67846 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
67847 # into the resulting binary.
67848 hardcode_minus_L=$hardcode_minus_L
67849
67850 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
67851 # into the resulting binary.
67852 hardcode_shlibpath_var=$hardcode_shlibpath_var
67853
67854 # Set to "yes" if building a shared library automatically hardcodes DIR
67855 # into the library and all subsequent libraries and executables linked
67856 # against it.
67857 hardcode_automatic=$hardcode_automatic
67858
67859 # Set to yes if linker adds runtime paths of dependent libraries
67860 # to runtime path list.
67861 inherit_rpath=$inherit_rpath
67862
67863 # Whether libtool must link a program against all its dependency libraries.
67864 link_all_deplibs=$link_all_deplibs
67865
67866 # Fix the shell variable \$srcfile for the compiler.
67867 fix_srcfile_path=$lt_fix_srcfile_path
67868
67869 # Set to "yes" if exported symbols are required.
67870 always_export_symbols=$always_export_symbols
67871
67872 # The commands to list exported symbols.
67873 export_symbols_cmds=$lt_export_symbols_cmds
67874
67875 # Symbols that should not be listed in the preloaded symbols.
67876 exclude_expsyms=$lt_exclude_expsyms
67877
67878 # Symbols that must always be exported.
67879 include_expsyms=$lt_include_expsyms
67880
67881 # Commands necessary for linking programs (against libraries) with templates.
67882 prelink_cmds=$lt_prelink_cmds
67883
67884 # Specify filename containing input files.
67885 file_list_spec=$lt_file_list_spec
67886
67887 # How to hardcode a shared library path into an executable.
67888 hardcode_action=$hardcode_action
67889
67890 # The directories searched by this compiler when creating a shared library.
67891 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
67892
67893 # Dependencies to place before and after the objects being linked to
67894 # create a shared library.
67895 predep_objects=$lt_predep_objects
67896 postdep_objects=$lt_postdep_objects
67897 predeps=$lt_predeps
67898 postdeps=$lt_postdeps
67899
67900 # The library search path used internally by the compiler when linking
67901 # a shared library.
67902 compiler_lib_search_path=$lt_compiler_lib_search_path
67903
67904 # ### END LIBTOOL CONFIG
67905
67906 _LT_EOF
67907
67908   case $host_os in
67909   aix3*)
67910     cat <<\_LT_EOF >> "$cfgfile"
67911 # AIX sometimes has problems with the GCC collect2 program.  For some
67912 # reason, if we set the COLLECT_NAMES environment variable, the problems
67913 # vanish in a puff of smoke.
67914 if test "X${COLLECT_NAMES+set}" != Xset; then
67915   COLLECT_NAMES=
67916   export COLLECT_NAMES
67917 fi
67918 _LT_EOF
67919     ;;
67920   esac
67921
67922
67923 ltmain="$ac_aux_dir/ltmain.sh"
67924
67925
67926   # We use sed instead of cat because bash on DJGPP gets confused if
67927   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
67928   # text mode, it properly converts lines to CR/LF.  This bash problem
67929   # is reportedly fixed, but why not run on old versions too?
67930   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
67931     || (rm -f "$cfgfile"; exit 1)
67932
67933   case $xsi_shell in
67934   yes)
67935     cat << \_LT_EOF >> "$cfgfile"
67936
67937 # func_dirname file append nondir_replacement
67938 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
67939 # otherwise set result to NONDIR_REPLACEMENT.
67940 func_dirname ()
67941 {
67942   case ${1} in
67943     */*) func_dirname_result="${1%/*}${2}" ;;
67944     *  ) func_dirname_result="${3}" ;;
67945   esac
67946 }
67947
67948 # func_basename file
67949 func_basename ()
67950 {
67951   func_basename_result="${1##*/}"
67952 }
67953
67954 # func_dirname_and_basename file append nondir_replacement
67955 # perform func_basename and func_dirname in a single function
67956 # call:
67957 #   dirname:  Compute the dirname of FILE.  If nonempty,
67958 #             add APPEND to the result, otherwise set result
67959 #             to NONDIR_REPLACEMENT.
67960 #             value returned in "$func_dirname_result"
67961 #   basename: Compute filename of FILE.
67962 #             value retuned in "$func_basename_result"
67963 # Implementation must be kept synchronized with func_dirname
67964 # and func_basename. For efficiency, we do not delegate to
67965 # those functions but instead duplicate the functionality here.
67966 func_dirname_and_basename ()
67967 {
67968   case ${1} in
67969     */*) func_dirname_result="${1%/*}${2}" ;;
67970     *  ) func_dirname_result="${3}" ;;
67971   esac
67972   func_basename_result="${1##*/}"
67973 }
67974
67975 # func_stripname prefix suffix name
67976 # strip PREFIX and SUFFIX off of NAME.
67977 # PREFIX and SUFFIX must not contain globbing or regex special
67978 # characters, hashes, percent signs, but SUFFIX may contain a leading
67979 # dot (in which case that matches only a dot).
67980 func_stripname ()
67981 {
67982   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
67983   # positional parameters, so assign one to ordinary parameter first.
67984   func_stripname_result=${3}
67985   func_stripname_result=${func_stripname_result#"${1}"}
67986   func_stripname_result=${func_stripname_result%"${2}"}
67987 }
67988
67989 # func_opt_split
67990 func_opt_split ()
67991 {
67992   func_opt_split_opt=${1%%=*}
67993   func_opt_split_arg=${1#*=}
67994 }
67995
67996 # func_lo2o object
67997 func_lo2o ()
67998 {
67999   case ${1} in
68000     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68001     *)    func_lo2o_result=${1} ;;
68002   esac
68003 }
68004
68005 # func_xform libobj-or-source
68006 func_xform ()
68007 {
68008   func_xform_result=${1%.*}.lo
68009 }
68010
68011 # func_arith arithmetic-term...
68012 func_arith ()
68013 {
68014   func_arith_result=$(( $* ))
68015 }
68016
68017 # func_len string
68018 # STRING may not start with a hyphen.
68019 func_len ()
68020 {
68021   func_len_result=${#1}
68022 }
68023
68024 _LT_EOF
68025     ;;
68026   *) # Bourne compatible functions.
68027     cat << \_LT_EOF >> "$cfgfile"
68028
68029 # func_dirname file append nondir_replacement
68030 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
68031 # otherwise set result to NONDIR_REPLACEMENT.
68032 func_dirname ()
68033 {
68034   # Extract subdirectory from the argument.
68035   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68036   if test "X$func_dirname_result" = "X${1}"; then
68037     func_dirname_result="${3}"
68038   else
68039     func_dirname_result="$func_dirname_result${2}"
68040   fi
68041 }
68042
68043 # func_basename file
68044 func_basename ()
68045 {
68046   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68047 }
68048
68049
68050 # func_stripname prefix suffix name
68051 # strip PREFIX and SUFFIX off of NAME.
68052 # PREFIX and SUFFIX must not contain globbing or regex special
68053 # characters, hashes, percent signs, but SUFFIX may contain a leading
68054 # dot (in which case that matches only a dot).
68055 # func_strip_suffix prefix name
68056 func_stripname ()
68057 {
68058   case ${2} in
68059     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68060     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68061   esac
68062 }
68063
68064 # sed scripts:
68065 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68066 my_sed_long_arg='1s/^-[^=]*=//'
68067
68068 # func_opt_split
68069 func_opt_split ()
68070 {
68071   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68072   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68073 }
68074
68075 # func_lo2o object
68076 func_lo2o ()
68077 {
68078   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68079 }
68080
68081 # func_xform libobj-or-source
68082 func_xform ()
68083 {
68084   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68085 }
68086
68087 # func_arith arithmetic-term...
68088 func_arith ()
68089 {
68090   func_arith_result=`expr "$@"`
68091 }
68092
68093 # func_len string
68094 # STRING may not start with a hyphen.
68095 func_len ()
68096 {
68097   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68098 }
68099
68100 _LT_EOF
68101 esac
68102
68103 case $lt_shell_append in
68104   yes)
68105     cat << \_LT_EOF >> "$cfgfile"
68106
68107 # func_append var value
68108 # Append VALUE to the end of shell variable VAR.
68109 func_append ()
68110 {
68111   eval "$1+=\$2"
68112 }
68113 _LT_EOF
68114     ;;
68115   *)
68116     cat << \_LT_EOF >> "$cfgfile"
68117
68118 # func_append var value
68119 # Append VALUE to the end of shell variable VAR.
68120 func_append ()
68121 {
68122   eval "$1=\$$1\$2"
68123 }
68124
68125 _LT_EOF
68126     ;;
68127   esac
68128
68129
68130   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68131     || (rm -f "$cfgfile"; exit 1)
68132
68133   mv -f "$cfgfile" "$ofile" ||
68134     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68135   chmod +x "$ofile"
68136
68137
68138     cat <<_LT_EOF >> "$ofile"
68139
68140 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68141
68142 # The linker used to build libraries.
68143 LD=$lt_LD_CXX
68144
68145 # How to create reloadable object files.
68146 reload_flag=$lt_reload_flag_CXX
68147 reload_cmds=$lt_reload_cmds_CXX
68148
68149 # Commands used to build an old-style archive.
68150 old_archive_cmds=$lt_old_archive_cmds_CXX
68151
68152 # A language specific compiler.
68153 CC=$lt_compiler_CXX
68154
68155 # Is the compiler the GNU compiler?
68156 with_gcc=$GCC_CXX
68157
68158 # Compiler flag to turn off builtin functions.
68159 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68160
68161 # How to pass a linker flag through the compiler.
68162 wl=$lt_lt_prog_compiler_wl_CXX
68163
68164 # Additional compiler flags for building library objects.
68165 pic_flag=$lt_lt_prog_compiler_pic_CXX
68166
68167 # Compiler flag to prevent dynamic linking.
68168 link_static_flag=$lt_lt_prog_compiler_static_CXX
68169
68170 # Does compiler simultaneously support -c and -o options?
68171 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68172
68173 # Whether or not to add -lc for building shared libraries.
68174 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68175
68176 # Whether or not to disallow shared libs when runtime libs are static.
68177 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68178
68179 # Compiler flag to allow reflexive dlopens.
68180 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68181
68182 # Compiler flag to generate shared objects directly from archives.
68183 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68184
68185 # Whether the compiler copes with passing no objects directly.
68186 compiler_needs_object=$lt_compiler_needs_object_CXX
68187
68188 # Create an old-style archive from a shared archive.
68189 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68190
68191 # Create a temporary old-style archive to link instead of a shared archive.
68192 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68193
68194 # Commands used to build a shared archive.
68195 archive_cmds=$lt_archive_cmds_CXX
68196 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68197
68198 # Commands used to build a loadable module if different from building
68199 # a shared archive.
68200 module_cmds=$lt_module_cmds_CXX
68201 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68202
68203 # Whether we are building with GNU ld or not.
68204 with_gnu_ld=$lt_with_gnu_ld_CXX
68205
68206 # Flag that allows shared libraries with undefined symbols to be built.
68207 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68208
68209 # Flag that enforces no undefined symbols.
68210 no_undefined_flag=$lt_no_undefined_flag_CXX
68211
68212 # Flag to hardcode \$libdir into a binary during linking.
68213 # This must work even if \$libdir does not exist
68214 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68215
68216 # If ld is used when linking, flag to hardcode \$libdir into a binary
68217 # during linking.  This must work even if \$libdir does not exist.
68218 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68219
68220 # Whether we need a single "-rpath" flag with a separated argument.
68221 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68222
68223 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68224 # DIR into the resulting binary.
68225 hardcode_direct=$hardcode_direct_CXX
68226
68227 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68228 # DIR into the resulting binary and the resulting library dependency is
68229 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68230 # library is relocated.
68231 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68232
68233 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68234 # into the resulting binary.
68235 hardcode_minus_L=$hardcode_minus_L_CXX
68236
68237 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68238 # into the resulting binary.
68239 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68240
68241 # Set to "yes" if building a shared library automatically hardcodes DIR
68242 # into the library and all subsequent libraries and executables linked
68243 # against it.
68244 hardcode_automatic=$hardcode_automatic_CXX
68245
68246 # Set to yes if linker adds runtime paths of dependent libraries
68247 # to runtime path list.
68248 inherit_rpath=$inherit_rpath_CXX
68249
68250 # Whether libtool must link a program against all its dependency libraries.
68251 link_all_deplibs=$link_all_deplibs_CXX
68252
68253 # Fix the shell variable \$srcfile for the compiler.
68254 fix_srcfile_path=$lt_fix_srcfile_path_CXX
68255
68256 # Set to "yes" if exported symbols are required.
68257 always_export_symbols=$always_export_symbols_CXX
68258
68259 # The commands to list exported symbols.
68260 export_symbols_cmds=$lt_export_symbols_cmds_CXX
68261
68262 # Symbols that should not be listed in the preloaded symbols.
68263 exclude_expsyms=$lt_exclude_expsyms_CXX
68264
68265 # Symbols that must always be exported.
68266 include_expsyms=$lt_include_expsyms_CXX
68267
68268 # Commands necessary for linking programs (against libraries) with templates.
68269 prelink_cmds=$lt_prelink_cmds_CXX
68270
68271 # Specify filename containing input files.
68272 file_list_spec=$lt_file_list_spec_CXX
68273
68274 # How to hardcode a shared library path into an executable.
68275 hardcode_action=$hardcode_action_CXX
68276
68277 # The directories searched by this compiler when creating a shared library.
68278 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
68279
68280 # Dependencies to place before and after the objects being linked to
68281 # create a shared library.
68282 predep_objects=$lt_predep_objects_CXX
68283 postdep_objects=$lt_postdep_objects_CXX
68284 predeps=$lt_predeps_CXX
68285 postdeps=$lt_postdeps_CXX
68286
68287 # The library search path used internally by the compiler when linking
68288 # a shared library.
68289 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
68290
68291 # ### END LIBTOOL TAG CONFIG: CXX
68292 _LT_EOF
68293
68294  ;;
68295     "include/gstdint.h":C)
68296 if test "$GCC" = yes; then
68297   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
68298 else
68299   echo "/* generated for $CC */" > tmp-stdint.h
68300 fi
68301
68302 sed 's/^ *//' >> tmp-stdint.h <<EOF
68303
68304   #ifndef GCC_GENERATED_STDINT_H
68305   #define GCC_GENERATED_STDINT_H 1
68306
68307   #include <sys/types.h>
68308 EOF
68309
68310 if test "$acx_cv_header_stdint" != stdint.h; then
68311   echo "#include <stddef.h>" >> tmp-stdint.h
68312 fi
68313 if test "$acx_cv_header_stdint" != stddef.h; then
68314   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
68315 fi
68316
68317 sed 's/^ *//' >> tmp-stdint.h <<EOF
68318   /* glibc uses these symbols as guards to prevent redefinitions.  */
68319   #ifdef __int8_t_defined
68320   #define _INT8_T
68321   #define _INT16_T
68322   #define _INT32_T
68323   #endif
68324   #ifdef __uint32_t_defined
68325   #define _UINT32_T
68326   #endif
68327
68328 EOF
68329
68330 # ----------------- done header, emit basic int types -------------
68331 if test "$acx_cv_header_stdint" = stddef.h; then
68332   sed 's/^ *//' >> tmp-stdint.h <<EOF
68333
68334     #ifndef _UINT8_T
68335     #define _UINT8_T
68336     #ifndef __uint8_t_defined
68337     #define __uint8_t_defined
68338     #ifndef uint8_t
68339     typedef unsigned $acx_cv_type_int8_t uint8_t;
68340     #endif
68341     #endif
68342     #endif
68343
68344     #ifndef _UINT16_T
68345     #define _UINT16_T
68346     #ifndef __uint16_t_defined
68347     #define __uint16_t_defined
68348     #ifndef uint16_t
68349     typedef unsigned $acx_cv_type_int16_t uint16_t;
68350     #endif
68351     #endif
68352     #endif
68353
68354     #ifndef _UINT32_T
68355     #define _UINT32_T
68356     #ifndef __uint32_t_defined
68357     #define __uint32_t_defined
68358     #ifndef uint32_t
68359     typedef unsigned $acx_cv_type_int32_t uint32_t;
68360     #endif
68361     #endif
68362     #endif
68363
68364     #ifndef _INT8_T
68365     #define _INT8_T
68366     #ifndef __int8_t_defined
68367     #define __int8_t_defined
68368     #ifndef int8_t
68369     typedef $acx_cv_type_int8_t int8_t;
68370     #endif
68371     #endif
68372     #endif
68373
68374     #ifndef _INT16_T
68375     #define _INT16_T
68376     #ifndef __int16_t_defined
68377     #define __int16_t_defined
68378     #ifndef int16_t
68379     typedef $acx_cv_type_int16_t int16_t;
68380     #endif
68381     #endif
68382     #endif
68383
68384     #ifndef _INT32_T
68385     #define _INT32_T
68386     #ifndef __int32_t_defined
68387     #define __int32_t_defined
68388     #ifndef int32_t
68389     typedef $acx_cv_type_int32_t int32_t;
68390     #endif
68391     #endif
68392     #endif
68393 EOF
68394 elif test "$ac_cv_type_u_int32_t" = yes; then
68395   sed 's/^ *//' >> tmp-stdint.h <<EOF
68396
68397     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
68398     #ifndef _INT8_T
68399     #define _INT8_T
68400     #endif
68401     #ifndef _INT16_T
68402     #define _INT16_T
68403     #endif
68404     #ifndef _INT32_T
68405     #define _INT32_T
68406     #endif
68407
68408     #ifndef _UINT8_T
68409     #define _UINT8_T
68410     #ifndef __uint8_t_defined
68411     #define __uint8_t_defined
68412     #ifndef uint8_t
68413     typedef u_int8_t uint8_t;
68414     #endif
68415     #endif
68416     #endif
68417
68418     #ifndef _UINT16_T
68419     #define _UINT16_T
68420     #ifndef __uint16_t_defined
68421     #define __uint16_t_defined
68422     #ifndef uint16_t
68423     typedef u_int16_t uint16_t;
68424     #endif
68425     #endif
68426     #endif
68427
68428     #ifndef _UINT32_T
68429     #define _UINT32_T
68430     #ifndef __uint32_t_defined
68431     #define __uint32_t_defined
68432     #ifndef uint32_t
68433     typedef u_int32_t uint32_t;
68434     #endif
68435     #endif
68436     #endif
68437 EOF
68438 else
68439   sed 's/^ *//' >> tmp-stdint.h <<EOF
68440
68441     /* Some systems have guard macros to prevent redefinitions, define them.  */
68442     #ifndef _INT8_T
68443     #define _INT8_T
68444     #endif
68445     #ifndef _INT16_T
68446     #define _INT16_T
68447     #endif
68448     #ifndef _INT32_T
68449     #define _INT32_T
68450     #endif
68451     #ifndef _UINT8_T
68452     #define _UINT8_T
68453     #endif
68454     #ifndef _UINT16_T
68455     #define _UINT16_T
68456     #endif
68457     #ifndef _UINT32_T
68458     #define _UINT32_T
68459     #endif
68460 EOF
68461 fi
68462
68463 # ------------- done basic int types, emit int64_t types ------------
68464 if test "$ac_cv_type_uint64_t" = yes; then
68465   sed 's/^ *//' >> tmp-stdint.h <<EOF
68466
68467     /* system headers have good uint64_t and int64_t */
68468     #ifndef _INT64_T
68469     #define _INT64_T
68470     #endif
68471     #ifndef _UINT64_T
68472     #define _UINT64_T
68473     #endif
68474 EOF
68475 elif test "$ac_cv_type_u_int64_t" = yes; then
68476   sed 's/^ *//' >> tmp-stdint.h <<EOF
68477
68478     /* system headers have an u_int64_t (and int64_t) */
68479     #ifndef _INT64_T
68480     #define _INT64_T
68481     #endif
68482     #ifndef _UINT64_T
68483     #define _UINT64_T
68484     #ifndef __uint64_t_defined
68485     #define __uint64_t_defined
68486     #ifndef uint64_t
68487     typedef u_int64_t uint64_t;
68488     #endif
68489     #endif
68490     #endif
68491 EOF
68492 elif test -n "$acx_cv_type_int64_t"; then
68493   sed 's/^ *//' >> tmp-stdint.h <<EOF
68494
68495     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
68496     #ifndef _INT64_T
68497     #define _INT64_T
68498     #ifndef int64_t
68499     typedef $acx_cv_type_int64_t int64_t;
68500     #endif
68501     #endif
68502     #ifndef _UINT64_T
68503     #define _UINT64_T
68504     #ifndef __uint64_t_defined
68505     #define __uint64_t_defined
68506     #ifndef uint64_t
68507     typedef unsigned $acx_cv_type_int64_t uint64_t;
68508     #endif
68509     #endif
68510     #endif
68511 EOF
68512 else
68513   sed 's/^ *//' >> tmp-stdint.h <<EOF
68514
68515     /* some common heuristics for int64_t, using compiler-specific tests */
68516     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
68517     #ifndef _INT64_T
68518     #define _INT64_T
68519     #ifndef __int64_t_defined
68520     #ifndef int64_t
68521     typedef long long int64_t;
68522     #endif
68523     #endif
68524     #endif
68525     #ifndef _UINT64_T
68526     #define _UINT64_T
68527     #ifndef uint64_t
68528     typedef unsigned long long uint64_t;
68529     #endif
68530     #endif
68531
68532     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
68533     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
68534        does not implement __extension__.  But that compiler doesn't define
68535        __GNUC_MINOR__.  */
68536     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
68537     # define __extension__
68538     # endif
68539
68540     # ifndef _INT64_T
68541     # define _INT64_T
68542     # ifndef int64_t
68543     __extension__ typedef long long int64_t;
68544     # endif
68545     # endif
68546     # ifndef _UINT64_T
68547     # define _UINT64_T
68548     # ifndef uint64_t
68549     __extension__ typedef unsigned long long uint64_t;
68550     # endif
68551     # endif
68552
68553     #elif !defined __STRICT_ANSI__
68554     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
68555
68556     #  ifndef _INT64_T
68557     #  define _INT64_T
68558     #  ifndef int64_t
68559     typedef __int64 int64_t;
68560     #  endif
68561     #  endif
68562     #  ifndef _UINT64_T
68563     #  define _UINT64_T
68564     #  ifndef uint64_t
68565     typedef unsigned __int64 uint64_t;
68566     #  endif
68567     #  endif
68568     # endif /* compiler */
68569
68570     #endif /* ANSI version */
68571 EOF
68572 fi
68573
68574 # ------------- done int64_t types, emit intptr types ------------
68575 if test "$ac_cv_type_uintptr_t" != yes; then
68576   sed 's/^ *//' >> tmp-stdint.h <<EOF
68577
68578     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
68579     #ifndef __uintptr_t_defined
68580     #ifndef uintptr_t
68581     typedef u$acx_cv_type_intptr_t uintptr_t;
68582     #endif
68583     #endif
68584     #ifndef __intptr_t_defined
68585     #ifndef intptr_t
68586     typedef $acx_cv_type_intptr_t  intptr_t;
68587     #endif
68588     #endif
68589 EOF
68590 fi
68591
68592 # ------------- done intptr types, emit int_least types ------------
68593 if test "$ac_cv_type_int_least32_t" != yes; then
68594   sed 's/^ *//' >> tmp-stdint.h <<EOF
68595
68596     /* Define int_least types */
68597     typedef int8_t     int_least8_t;
68598     typedef int16_t    int_least16_t;
68599     typedef int32_t    int_least32_t;
68600     #ifdef _INT64_T
68601     typedef int64_t    int_least64_t;
68602     #endif
68603
68604     typedef uint8_t    uint_least8_t;
68605     typedef uint16_t   uint_least16_t;
68606     typedef uint32_t   uint_least32_t;
68607     #ifdef _UINT64_T
68608     typedef uint64_t   uint_least64_t;
68609     #endif
68610 EOF
68611 fi
68612
68613 # ------------- done intptr types, emit int_fast types ------------
68614 if test "$ac_cv_type_int_fast32_t" != yes; then
68615       sed 's/^ *//' >> tmp-stdint.h <<EOF
68616
68617     /* Define int_fast types.  short is often slow */
68618     typedef int8_t       int_fast8_t;
68619     typedef int          int_fast16_t;
68620     typedef int32_t      int_fast32_t;
68621     #ifdef _INT64_T
68622     typedef int64_t      int_fast64_t;
68623     #endif
68624
68625     typedef uint8_t      uint_fast8_t;
68626     typedef unsigned int uint_fast16_t;
68627     typedef uint32_t     uint_fast32_t;
68628     #ifdef _UINT64_T
68629     typedef uint64_t     uint_fast64_t;
68630     #endif
68631 EOF
68632 fi
68633
68634 if test "$ac_cv_type_uintmax_t" != yes; then
68635   sed 's/^ *//' >> tmp-stdint.h <<EOF
68636
68637     /* Define intmax based on what we found */
68638     #ifndef intmax_t
68639     #ifdef _INT64_T
68640     typedef int64_t       intmax_t;
68641     #else
68642     typedef long          intmax_t;
68643     #endif
68644     #endif
68645     #ifndef uintmax_t
68646     #ifdef _UINT64_T
68647     typedef uint64_t      uintmax_t;
68648     #else
68649     typedef unsigned long uintmax_t;
68650     #endif
68651     #endif
68652 EOF
68653 fi
68654
68655 sed 's/^ *//' >> tmp-stdint.h <<EOF
68656
68657   #endif /* GCC_GENERATED_STDINT_H */
68658 EOF
68659
68660 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
68661   rm -f tmp-stdint.h
68662 else
68663   mv -f tmp-stdint.h include/gstdint.h
68664 fi
68665
68666  ;;
68667     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
68668     "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
68669     "include/Makefile":F) cat > vpsed$$ << \_EOF
68670 s!`test -f '$<' || echo '$(srcdir)/'`!!
68671 _EOF
68672    sed -f vpsed$$ $ac_file > tmp$$
68673    mv tmp$$ $ac_file
68674    rm vpsed$$
68675    echo 'MULTISUBDIR =' >> $ac_file
68676    ml_norecursion=yes
68677    . ${multi_basedir}/config-ml.in
68678    { ml_norecursion=; unset ml_norecursion;}
68679  ;;
68680     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
68681 s!`test -f '$<' || echo '$(srcdir)/'`!!
68682 _EOF
68683    sed -f vpsed$$ $ac_file > tmp$$
68684    mv tmp$$ $ac_file
68685    rm vpsed$$
68686    echo 'MULTISUBDIR =' >> $ac_file
68687    ml_norecursion=yes
68688    . ${multi_basedir}/config-ml.in
68689    { ml_norecursion=; unset ml_norecursion;}
68690  ;;
68691     "python/Makefile":F) cat > vpsed$$ << \_EOF
68692 s!`test -f '$<' || echo '$(srcdir)/'`!!
68693 _EOF
68694    sed -f vpsed$$ $ac_file > tmp$$
68695    mv tmp$$ $ac_file
68696    rm vpsed$$
68697    echo 'MULTISUBDIR =' >> $ac_file
68698    ml_norecursion=yes
68699    . ${multi_basedir}/config-ml.in
68700    { ml_norecursion=; unset ml_norecursion;}
68701  ;;
68702     "src/Makefile":F) cat > vpsed$$ << \_EOF
68703 s!`test -f '$<' || echo '$(srcdir)/'`!!
68704 _EOF
68705    sed -f vpsed$$ $ac_file > tmp$$
68706    mv tmp$$ $ac_file
68707    rm vpsed$$
68708    echo 'MULTISUBDIR =' >> $ac_file
68709    ml_norecursion=yes
68710    . ${multi_basedir}/config-ml.in
68711    { ml_norecursion=; unset ml_norecursion;}
68712  ;;
68713     "doc/Makefile":F) cat > vpsed$$ << \_EOF
68714 s!`test -f '$<' || echo '$(srcdir)/'`!!
68715 _EOF
68716    sed -f vpsed$$ $ac_file > tmp$$
68717    mv tmp$$ $ac_file
68718    rm vpsed$$
68719    echo 'MULTISUBDIR =' >> $ac_file
68720    ml_norecursion=yes
68721    . ${multi_basedir}/config-ml.in
68722    { ml_norecursion=; unset ml_norecursion;}
68723  ;;
68724     "po/Makefile":F) cat > vpsed$$ << \_EOF
68725 s!`test -f '$<' || echo '$(srcdir)/'`!!
68726 _EOF
68727    sed -f vpsed$$ $ac_file > tmp$$
68728    mv tmp$$ $ac_file
68729    rm vpsed$$
68730    echo 'MULTISUBDIR =' >> $ac_file
68731    ml_norecursion=yes
68732    . ${multi_basedir}/config-ml.in
68733    { ml_norecursion=; unset ml_norecursion;}
68734  ;;
68735     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
68736 s!`test -f '$<' || echo '$(srcdir)/'`!!
68737 _EOF
68738    sed -f vpsed$$ $ac_file > tmp$$
68739    mv tmp$$ $ac_file
68740    rm vpsed$$
68741    echo 'MULTISUBDIR =' >> $ac_file
68742    ml_norecursion=yes
68743    . ${multi_basedir}/config-ml.in
68744    { ml_norecursion=; unset ml_norecursion;}
68745  ;;
68746     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
68747
68748   esac
68749 done # for ac_tag
68750
68751
68752 as_fn_exit 0
68753 _ACEOF
68754 ac_clean_files=$ac_clean_files_save
68755
68756 test $ac_write_fail = 0 ||
68757   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
68758
68759
68760 # configure is writing to config.log, and then calls config.status.
68761 # config.status does its own redirection, appending to config.log.
68762 # Unfortunately, on DOS this fails, as config.log is still kept open
68763 # by configure, so config.status won't be able to write to it; its
68764 # output is simply discarded.  So we exec the FD to /dev/null,
68765 # effectively closing config.log, so it can be properly (re)opened and
68766 # appended to by config.status.  When coming back to configure, we
68767 # need to make the FD available again.
68768 if test "$no_create" != yes; then
68769   ac_cs_success=:
68770   ac_config_status_args=
68771   test "$silent" = yes &&
68772     ac_config_status_args="$ac_config_status_args --quiet"
68773   exec 5>/dev/null
68774   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
68775   exec 5>>config.log
68776   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
68777   # would make configure fail if this is the last instruction.
68778   $ac_cs_success || as_fn_exit $?
68779 fi
68780 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
68781   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
68782 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
68783 fi
68784