PR libstdc++/51798 continued.
[platform/upstream/gcc.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/shared/hashtable-aux.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 PIC_CXXFLAGS
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_PDF_FALSE
622 BUILD_PDF_TRUE
623 PDFLATEX
624 DBLATEX
625 BUILD_MAN_FALSE
626 BUILD_MAN_TRUE
627 BUILD_HTML_FALSE
628 BUILD_HTML_TRUE
629 BUILD_XML_FALSE
630 BUILD_XML_TRUE
631 BUILD_EPUB_FALSE
632 BUILD_EPUB_TRUE
633 XSL_STYLE_DIR
634 XMLLINT
635 XSLTPROC
636 DOT
637 DOXYGEN
638 BUILD_INFO_FALSE
639 BUILD_INFO_TRUE
640 baseline_subdir_switch
641 baseline_dir
642 GLIBCXX_LDBL_COMPAT_FALSE
643 GLIBCXX_LDBL_COMPAT_TRUE
644 ENABLE_VISIBILITY_FALSE
645 ENABLE_VISIBILITY_TRUE
646 libtool_VERSION
647 ENABLE_SYMVERS_SOL2_FALSE
648 ENABLE_SYMVERS_SOL2_TRUE
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
657 ENABLE_SYMVERS_FALSE
658 ENABLE_SYMVERS_TRUE
659 port_specific_symbol_files
660 SYMVER_FILE
661 CXXFILT
662 LTLIBICONV
663 LIBICONV
664 OPT_LDFLAGS
665 SECTION_LDFLAGS
666 GLIBCXX_LIBS
667 ENABLE_WERROR_FALSE
668 ENABLE_WERROR_TRUE
669 ENABLE_PYTHONDIR_FALSE
670 ENABLE_PYTHONDIR_TRUE
671 python_mod_dir
672 ENABLE_EXTERN_TEMPLATE_FALSE
673 ENABLE_EXTERN_TEMPLATE_TRUE
674 EXTRA_CXX_FLAGS
675 ENABLE_PARALLEL_FALSE
676 ENABLE_PARALLEL_TRUE
677 GLIBCXX_BUILD_DEBUG_FALSE
678 GLIBCXX_BUILD_DEBUG_TRUE
679 DEBUG_FLAGS
680 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
681 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
682 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
683 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
684 GLIBCXX_C_HEADERS_C_STD_FALSE
685 GLIBCXX_C_HEADERS_C_STD_TRUE
686 GLIBCXX_C_HEADERS_C_FALSE
687 GLIBCXX_C_HEADERS_C_TRUE
688 C_INCLUDE_DIR
689 ALLOCATOR_NAME
690 ALLOCATOR_H
691 CLOCALE_INTERNAL_H
692 CLOCALE_CC
693 CTIME_CC
694 CTIME_H
695 CNUMERIC_CC
696 CMONEY_CC
697 CMESSAGES_CC
698 CCTYPE_CC
699 CCOLLATE_CC
700 CCODECVT_CC
701 CMESSAGES_H
702 CLOCALE_H
703 USE_NLS
704 glibcxx_localedir
705 glibcxx_POFILES
706 glibcxx_MOFILES
707 check_msgfmt
708 BASIC_FILE_CC
709 BASIC_FILE_H
710 CSTDIO_H
711 SECTION_FLAGS
712 WERROR
713 glibcxx_PCHFLAGS
714 GLIBCXX_BUILD_PCH_FALSE
715 GLIBCXX_BUILD_PCH_TRUE
716 GLIBCXX_HOSTED_FALSE
717 GLIBCXX_HOSTED_TRUE
718 enable_static
719 enable_shared
720 lt_host_flags
721 CXXCPP
722 OTOOL64
723 OTOOL
724 LIPO
725 NMEDIT
726 DSYMUTIL
727 OBJDUMP
728 NM
729 ac_ct_DUMPBIN
730 DUMPBIN
731 LD
732 FGREP
733 SED
734 LIBTOOL
735 EGREP
736 GREP
737 CPP
738 MAINT
739 MAINTAINER_MODE_FALSE
740 MAINTAINER_MODE_TRUE
741 RANLIB
742 AR
743 AS
744 LN_S
745 toplevel_srcdir
746 toplevel_builddir
747 glibcxx_srcdir
748 glibcxx_builddir
749 ac_ct_CXX
750 CXXFLAGS
751 CXX
752 OBJEXT
753 EXEEXT
754 ac_ct_CC
755 CPPFLAGS
756 LDFLAGS
757 CFLAGS
758 CC
759 am__untar
760 am__tar
761 AMTAR
762 am__leading_dot
763 SET_MAKE
764 AWK
765 mkdir_p
766 MKDIR_P
767 INSTALL_STRIP_PROGRAM
768 STRIP
769 install_sh
770 MAKEINFO
771 AUTOHEADER
772 AUTOMAKE
773 AUTOCONF
774 ACLOCAL
775 VERSION
776 PACKAGE
777 CYGPATH_W
778 am__isrc
779 INSTALL_DATA
780 INSTALL_SCRIPT
781 INSTALL_PROGRAM
782 target_os
783 target_vendor
784 target_cpu
785 target
786 host_os
787 host_vendor
788 host_cpu
789 host
790 build_os
791 build_vendor
792 build_cpu
793 build
794 multi_basedir
795 target_alias
796 host_alias
797 build_alias
798 LIBS
799 ECHO_T
800 ECHO_N
801 ECHO_C
802 DEFS
803 mandir
804 localedir
805 libdir
806 psdir
807 pdfdir
808 dvidir
809 htmldir
810 infodir
811 docdir
812 oldincludedir
813 includedir
814 localstatedir
815 sharedstatedir
816 sysconfdir
817 datadir
818 datarootdir
819 libexecdir
820 sbindir
821 bindir
822 program_transform_name
823 prefix
824 exec_prefix
825 PACKAGE_URL
826 PACKAGE_BUGREPORT
827 PACKAGE_STRING
828 PACKAGE_VERSION
829 PACKAGE_TARNAME
830 PACKAGE_NAME
831 PATH_SEPARATOR
832 SHELL'
833 ac_subst_files=''
834 ac_user_opts='
835 enable_option_checking
836 enable_multilib
837 with_target_subdir
838 with_cross_host
839 with_newlib
840 enable_maintainer_mode
841 enable_shared
842 enable_static
843 with_pic
844 enable_fast_install
845 with_gnu_ld
846 enable_libtool_lock
847 enable_hosted_libstdcxx
848 enable_sjlj_exceptions
849 enable_libstdcxx_pch
850 enable_cstdio
851 enable_clocale
852 enable_nls
853 enable_libstdcxx_allocator
854 enable_cheaders
855 enable_long_long
856 enable_wchar_t
857 enable_c99
858 enable_concept_checks
859 enable_libstdcxx_debug_flags
860 enable_libstdcxx_debug
861 enable_cxx_flags
862 enable_fully_dynamic_string
863 enable_extern_template
864 with_python_dir
865 enable_werror
866 enable_libstdcxx_time
867 enable_tls
868 enable_rpath
869 with_libiconv_prefix
870 with_system_libunwind
871 enable_linux_futex
872 enable_symvers
873 enable_libstdcxx_visibility
874 enable_libstdcxx_threads
875 with_gxx_include_dir
876 enable_version_specific_runtime_libs
877 '
878       ac_precious_vars='build_alias
879 host_alias
880 target_alias
881 CC
882 CFLAGS
883 LDFLAGS
884 LIBS
885 CPPFLAGS
886 CXX
887 CXXFLAGS
888 CCC
889 CPP
890 CXXCPP
891 CXXFILT'
892
893
894 # Initialize some variables set by options.
895 ac_init_help=
896 ac_init_version=false
897 ac_unrecognized_opts=
898 ac_unrecognized_sep=
899 # The variables have the same names as the options, with
900 # dashes changed to underlines.
901 cache_file=/dev/null
902 exec_prefix=NONE
903 no_create=
904 no_recursion=
905 prefix=NONE
906 program_prefix=NONE
907 program_suffix=NONE
908 program_transform_name=s,x,x,
909 silent=
910 site=
911 srcdir=
912 verbose=
913 x_includes=NONE
914 x_libraries=NONE
915
916 # Installation directory options.
917 # These are left unexpanded so users can "make install exec_prefix=/foo"
918 # and all the variables that are supposed to be based on exec_prefix
919 # by default will actually change.
920 # Use braces instead of parens because sh, perl, etc. also accept them.
921 # (The list follows the same order as the GNU Coding Standards.)
922 bindir='${exec_prefix}/bin'
923 sbindir='${exec_prefix}/sbin'
924 libexecdir='${exec_prefix}/libexec'
925 datarootdir='${prefix}/share'
926 datadir='${datarootdir}'
927 sysconfdir='${prefix}/etc'
928 sharedstatedir='${prefix}/com'
929 localstatedir='${prefix}/var'
930 includedir='${prefix}/include'
931 oldincludedir='/usr/include'
932 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
933 infodir='${datarootdir}/info'
934 htmldir='${docdir}'
935 dvidir='${docdir}'
936 pdfdir='${docdir}'
937 psdir='${docdir}'
938 libdir='${exec_prefix}/lib'
939 localedir='${datarootdir}/locale'
940 mandir='${datarootdir}/man'
941
942 ac_prev=
943 ac_dashdash=
944 for ac_option
945 do
946   # If the previous option needs an argument, assign it.
947   if test -n "$ac_prev"; then
948     eval $ac_prev=\$ac_option
949     ac_prev=
950     continue
951   fi
952
953   case $ac_option in
954   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
955   *)    ac_optarg=yes ;;
956   esac
957
958   # Accept the important Cygnus configure options, so we can diagnose typos.
959
960   case $ac_dashdash$ac_option in
961   --)
962     ac_dashdash=yes ;;
963
964   -bindir | --bindir | --bindi | --bind | --bin | --bi)
965     ac_prev=bindir ;;
966   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
967     bindir=$ac_optarg ;;
968
969   -build | --build | --buil | --bui | --bu)
970     ac_prev=build_alias ;;
971   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
972     build_alias=$ac_optarg ;;
973
974   -cache-file | --cache-file | --cache-fil | --cache-fi \
975   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
976     ac_prev=cache_file ;;
977   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
978   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
979     cache_file=$ac_optarg ;;
980
981   --config-cache | -C)
982     cache_file=config.cache ;;
983
984   -datadir | --datadir | --datadi | --datad)
985     ac_prev=datadir ;;
986   -datadir=* | --datadir=* | --datadi=* | --datad=*)
987     datadir=$ac_optarg ;;
988
989   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
990   | --dataroo | --dataro | --datar)
991     ac_prev=datarootdir ;;
992   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
993   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
994     datarootdir=$ac_optarg ;;
995
996   -disable-* | --disable-*)
997     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
998     # Reject names that are not valid shell variable names.
999     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1000       as_fn_error "invalid feature name: $ac_useropt"
1001     ac_useropt_orig=$ac_useropt
1002     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1003     case $ac_user_opts in
1004       *"
1005 "enable_$ac_useropt"
1006 "*) ;;
1007       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1008          ac_unrecognized_sep=', ';;
1009     esac
1010     eval enable_$ac_useropt=no ;;
1011
1012   -docdir | --docdir | --docdi | --doc | --do)
1013     ac_prev=docdir ;;
1014   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1015     docdir=$ac_optarg ;;
1016
1017   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1018     ac_prev=dvidir ;;
1019   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1020     dvidir=$ac_optarg ;;
1021
1022   -enable-* | --enable-*)
1023     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1024     # Reject names that are not valid shell variable names.
1025     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1026       as_fn_error "invalid feature name: $ac_useropt"
1027     ac_useropt_orig=$ac_useropt
1028     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1029     case $ac_user_opts in
1030       *"
1031 "enable_$ac_useropt"
1032 "*) ;;
1033       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1034          ac_unrecognized_sep=', ';;
1035     esac
1036     eval enable_$ac_useropt=\$ac_optarg ;;
1037
1038   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1039   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1040   | --exec | --exe | --ex)
1041     ac_prev=exec_prefix ;;
1042   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1043   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1044   | --exec=* | --exe=* | --ex=*)
1045     exec_prefix=$ac_optarg ;;
1046
1047   -gas | --gas | --ga | --g)
1048     # Obsolete; use --with-gas.
1049     with_gas=yes ;;
1050
1051   -help | --help | --hel | --he | -h)
1052     ac_init_help=long ;;
1053   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1054     ac_init_help=recursive ;;
1055   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1056     ac_init_help=short ;;
1057
1058   -host | --host | --hos | --ho)
1059     ac_prev=host_alias ;;
1060   -host=* | --host=* | --hos=* | --ho=*)
1061     host_alias=$ac_optarg ;;
1062
1063   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1064     ac_prev=htmldir ;;
1065   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1066   | --ht=*)
1067     htmldir=$ac_optarg ;;
1068
1069   -includedir | --includedir | --includedi | --included | --include \
1070   | --includ | --inclu | --incl | --inc)
1071     ac_prev=includedir ;;
1072   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1073   | --includ=* | --inclu=* | --incl=* | --inc=*)
1074     includedir=$ac_optarg ;;
1075
1076   -infodir | --infodir | --infodi | --infod | --info | --inf)
1077     ac_prev=infodir ;;
1078   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1079     infodir=$ac_optarg ;;
1080
1081   -libdir | --libdir | --libdi | --libd)
1082     ac_prev=libdir ;;
1083   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1084     libdir=$ac_optarg ;;
1085
1086   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1087   | --libexe | --libex | --libe)
1088     ac_prev=libexecdir ;;
1089   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1090   | --libexe=* | --libex=* | --libe=*)
1091     libexecdir=$ac_optarg ;;
1092
1093   -localedir | --localedir | --localedi | --localed | --locale)
1094     ac_prev=localedir ;;
1095   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1096     localedir=$ac_optarg ;;
1097
1098   -localstatedir | --localstatedir | --localstatedi | --localstated \
1099   | --localstate | --localstat | --localsta | --localst | --locals)
1100     ac_prev=localstatedir ;;
1101   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1102   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1103     localstatedir=$ac_optarg ;;
1104
1105   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1106     ac_prev=mandir ;;
1107   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1108     mandir=$ac_optarg ;;
1109
1110   -nfp | --nfp | --nf)
1111     # Obsolete; use --without-fp.
1112     with_fp=no ;;
1113
1114   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1115   | --no-cr | --no-c | -n)
1116     no_create=yes ;;
1117
1118   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1119   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1120     no_recursion=yes ;;
1121
1122   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1123   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1124   | --oldin | --oldi | --old | --ol | --o)
1125     ac_prev=oldincludedir ;;
1126   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1127   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1128   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1129     oldincludedir=$ac_optarg ;;
1130
1131   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1132     ac_prev=prefix ;;
1133   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1134     prefix=$ac_optarg ;;
1135
1136   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1137   | --program-pre | --program-pr | --program-p)
1138     ac_prev=program_prefix ;;
1139   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1140   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1141     program_prefix=$ac_optarg ;;
1142
1143   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1144   | --program-suf | --program-su | --program-s)
1145     ac_prev=program_suffix ;;
1146   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1147   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1148     program_suffix=$ac_optarg ;;
1149
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     ac_prev=program_transform_name ;;
1158   -program-transform-name=* | --program-transform-name=* \
1159   | --program-transform-nam=* | --program-transform-na=* \
1160   | --program-transform-n=* | --program-transform-=* \
1161   | --program-transform=* | --program-transfor=* \
1162   | --program-transfo=* | --program-transf=* \
1163   | --program-trans=* | --program-tran=* \
1164   | --progr-tra=* | --program-tr=* | --program-t=*)
1165     program_transform_name=$ac_optarg ;;
1166
1167   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1168     ac_prev=pdfdir ;;
1169   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1170     pdfdir=$ac_optarg ;;
1171
1172   -psdir | --psdir | --psdi | --psd | --ps)
1173     ac_prev=psdir ;;
1174   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1175     psdir=$ac_optarg ;;
1176
1177   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1178   | -silent | --silent | --silen | --sile | --sil)
1179     silent=yes ;;
1180
1181   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1182     ac_prev=sbindir ;;
1183   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1184   | --sbi=* | --sb=*)
1185     sbindir=$ac_optarg ;;
1186
1187   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1188   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1189   | --sharedst | --shareds | --shared | --share | --shar \
1190   | --sha | --sh)
1191     ac_prev=sharedstatedir ;;
1192   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1193   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1194   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1195   | --sha=* | --sh=*)
1196     sharedstatedir=$ac_optarg ;;
1197
1198   -site | --site | --sit)
1199     ac_prev=site ;;
1200   -site=* | --site=* | --sit=*)
1201     site=$ac_optarg ;;
1202
1203   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1204     ac_prev=srcdir ;;
1205   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1206     srcdir=$ac_optarg ;;
1207
1208   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1209   | --syscon | --sysco | --sysc | --sys | --sy)
1210     ac_prev=sysconfdir ;;
1211   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1212   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1213     sysconfdir=$ac_optarg ;;
1214
1215   -target | --target | --targe | --targ | --tar | --ta | --t)
1216     ac_prev=target_alias ;;
1217   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1218     target_alias=$ac_optarg ;;
1219
1220   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1221     verbose=yes ;;
1222
1223   -version | --version | --versio | --versi | --vers | -V)
1224     ac_init_version=: ;;
1225
1226   -with-* | --with-*)
1227     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1228     # Reject names that are not valid shell variable names.
1229     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1230       as_fn_error "invalid package name: $ac_useropt"
1231     ac_useropt_orig=$ac_useropt
1232     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1233     case $ac_user_opts in
1234       *"
1235 "with_$ac_useropt"
1236 "*) ;;
1237       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1238          ac_unrecognized_sep=', ';;
1239     esac
1240     eval with_$ac_useropt=\$ac_optarg ;;
1241
1242   -without-* | --without-*)
1243     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1244     # Reject names that are not valid shell variable names.
1245     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1246       as_fn_error "invalid package name: $ac_useropt"
1247     ac_useropt_orig=$ac_useropt
1248     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1249     case $ac_user_opts in
1250       *"
1251 "with_$ac_useropt"
1252 "*) ;;
1253       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1254          ac_unrecognized_sep=', ';;
1255     esac
1256     eval with_$ac_useropt=no ;;
1257
1258   --x)
1259     # Obsolete; use --with-x.
1260     with_x=yes ;;
1261
1262   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1263   | --x-incl | --x-inc | --x-in | --x-i)
1264     ac_prev=x_includes ;;
1265   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1266   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1267     x_includes=$ac_optarg ;;
1268
1269   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1270   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1271     ac_prev=x_libraries ;;
1272   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1273   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1274     x_libraries=$ac_optarg ;;
1275
1276   -*) as_fn_error "unrecognized option: \`$ac_option'
1277 Try \`$0 --help' for more information."
1278     ;;
1279
1280   *=*)
1281     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1282     # Reject names that are not valid shell variable names.
1283     case $ac_envvar in #(
1284       '' | [0-9]* | *[!_$as_cr_alnum]* )
1285       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1286     esac
1287     eval $ac_envvar=\$ac_optarg
1288     export $ac_envvar ;;
1289
1290   *)
1291     # FIXME: should be removed in autoconf 3.0.
1292     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1293     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1294       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1295     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1296     ;;
1297
1298   esac
1299 done
1300
1301 if test -n "$ac_prev"; then
1302   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1303   as_fn_error "missing argument to $ac_option"
1304 fi
1305
1306 if test -n "$ac_unrecognized_opts"; then
1307   case $enable_option_checking in
1308     no) ;;
1309     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1310     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1311   esac
1312 fi
1313
1314 # Check all directory arguments for consistency.
1315 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1316                 datadir sysconfdir sharedstatedir localstatedir includedir \
1317                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1318                 libdir localedir mandir
1319 do
1320   eval ac_val=\$$ac_var
1321   # Remove trailing slashes.
1322   case $ac_val in
1323     */ )
1324       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1325       eval $ac_var=\$ac_val;;
1326   esac
1327   # Be sure to have absolute directory names.
1328   case $ac_val in
1329     [\\/$]* | ?:[\\/]* )  continue;;
1330     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1331   esac
1332   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1333 done
1334
1335 # There might be people who depend on the old broken behavior: `$host'
1336 # used to hold the argument of --host etc.
1337 # FIXME: To remove some day.
1338 build=$build_alias
1339 host=$host_alias
1340 target=$target_alias
1341
1342 # FIXME: To remove some day.
1343 if test "x$host_alias" != x; then
1344   if test "x$build_alias" = x; then
1345     cross_compiling=maybe
1346     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1347     If a cross compiler is detected then cross compile mode will be used." >&2
1348   elif test "x$build_alias" != "x$host_alias"; then
1349     cross_compiling=yes
1350   fi
1351 fi
1352
1353 ac_tool_prefix=
1354 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1355
1356 test "$silent" = yes && exec 6>/dev/null
1357
1358
1359 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1360 ac_ls_di=`ls -di .` &&
1361 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1362   as_fn_error "working directory cannot be determined"
1363 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1364   as_fn_error "pwd does not report name of working directory"
1365
1366
1367 # Find the source files, if location was not specified.
1368 if test -z "$srcdir"; then
1369   ac_srcdir_defaulted=yes
1370   # Try the directory containing this script, then the parent directory.
1371   ac_confdir=`$as_dirname -- "$as_myself" ||
1372 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1373          X"$as_myself" : 'X\(//\)[^/]' \| \
1374          X"$as_myself" : 'X\(//\)$' \| \
1375          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1376 $as_echo X"$as_myself" |
1377     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1378             s//\1/
1379             q
1380           }
1381           /^X\(\/\/\)[^/].*/{
1382             s//\1/
1383             q
1384           }
1385           /^X\(\/\/\)$/{
1386             s//\1/
1387             q
1388           }
1389           /^X\(\/\).*/{
1390             s//\1/
1391             q
1392           }
1393           s/.*/./; q'`
1394   srcdir=$ac_confdir
1395   if test ! -r "$srcdir/$ac_unique_file"; then
1396     srcdir=..
1397   fi
1398 else
1399   ac_srcdir_defaulted=no
1400 fi
1401 if test ! -r "$srcdir/$ac_unique_file"; then
1402   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1403   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1404 fi
1405 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1406 ac_abs_confdir=`(
1407         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1408         pwd)`
1409 # When building in place, set srcdir=.
1410 if test "$ac_abs_confdir" = "$ac_pwd"; then
1411   srcdir=.
1412 fi
1413 # Remove unnecessary trailing slashes from srcdir.
1414 # Double slashes in file names in object file debugging info
1415 # mess up M-x gdb in Emacs.
1416 case $srcdir in
1417 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1418 esac
1419 for ac_var in $ac_precious_vars; do
1420   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1421   eval ac_env_${ac_var}_value=\$${ac_var}
1422   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1423   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1424 done
1425
1426 #
1427 # Report the --help message.
1428 #
1429 if test "$ac_init_help" = "long"; then
1430   # Omit some internal or obsolete options to make the list less imposing.
1431   # This message is too long to be a string in the A/UX 3.1 sh.
1432   cat <<_ACEOF
1433 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1434
1435 Usage: $0 [OPTION]... [VAR=VALUE]...
1436
1437 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1438 VAR=VALUE.  See below for descriptions of some of the useful variables.
1439
1440 Defaults for the options are specified in brackets.
1441
1442 Configuration:
1443   -h, --help              display this help and exit
1444       --help=short        display options specific to this package
1445       --help=recursive    display the short help of all the included packages
1446   -V, --version           display version information and exit
1447   -q, --quiet, --silent   do not print \`checking...' messages
1448       --cache-file=FILE   cache test results in FILE [disabled]
1449   -C, --config-cache      alias for \`--cache-file=config.cache'
1450   -n, --no-create         do not create output files
1451       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1452
1453 Installation directories:
1454   --prefix=PREFIX         install architecture-independent files in PREFIX
1455                           [$ac_default_prefix]
1456   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1457                           [PREFIX]
1458
1459 By default, \`make install' will install all the files in
1460 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1461 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1462 for instance \`--prefix=\$HOME'.
1463
1464 For better control, use the options below.
1465
1466 Fine tuning of the installation directories:
1467   --bindir=DIR            user executables [EPREFIX/bin]
1468   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1469   --libexecdir=DIR        program executables [EPREFIX/libexec]
1470   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1471   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1472   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1473   --libdir=DIR            object code libraries [EPREFIX/lib]
1474   --includedir=DIR        C header files [PREFIX/include]
1475   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1476   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1477   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1478   --infodir=DIR           info documentation [DATAROOTDIR/info]
1479   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1480   --mandir=DIR            man documentation [DATAROOTDIR/man]
1481   --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1482   --htmldir=DIR           html documentation [DOCDIR]
1483   --dvidir=DIR            dvi documentation [DOCDIR]
1484   --pdfdir=DIR            pdf documentation [DOCDIR]
1485   --psdir=DIR             ps documentation [DOCDIR]
1486 _ACEOF
1487
1488   cat <<\_ACEOF
1489
1490 Program names:
1491   --program-prefix=PREFIX            prepend PREFIX to installed program names
1492   --program-suffix=SUFFIX            append SUFFIX to installed program names
1493   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1494
1495 System types:
1496   --build=BUILD     configure for building on BUILD [guessed]
1497   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1498   --target=TARGET   configure for building compilers for TARGET [HOST]
1499 _ACEOF
1500 fi
1501
1502 if test -n "$ac_init_help"; then
1503   case $ac_init_help in
1504      short | recursive ) echo "Configuration of package-unused version-unused:";;
1505    esac
1506   cat <<\_ACEOF
1507
1508 Optional Features:
1509   --disable-option-checking  ignore unrecognized --enable/--with options
1510   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1511   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1512   --enable-multilib       build many library versions (default)
1513   --enable-maintainer-mode  enable make rules and dependencies not useful
1514                           (and sometimes confusing) to the casual installer
1515   --enable-shared[=PKGS]  build shared libraries [default=yes]
1516   --enable-static[=PKGS]  build static libraries [default=yes]
1517   --enable-fast-install[=PKGS]
1518                           optimize for fast installation [default=yes]
1519   --disable-libtool-lock  avoid locking (might break parallel builds)
1520   --disable-hosted-libstdcxx
1521                           only build freestanding C++ runtime support
1522   --enable-sjlj-exceptions
1523                           force use of builtin_setjmp for exceptions
1524                           [default=auto]
1525   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1526                           [default=$is_hosted]
1527   --enable-cstdio[=PACKAGE]
1528                           use target-specific I/O package [default=stdio]
1529   --enable-clocale[=MODEL]
1530                           use MODEL for target locale package [default=auto]
1531   --enable-nls            use Native Language Support (default)
1532   --enable-libstdcxx-allocator[=KIND]
1533                           use KIND for target std::allocator base
1534                           [default=auto]
1535   --enable-cheaders[=KIND]
1536                           construct "C" headers for g++ [default=$c_model]
1537   --enable-long-long      enable template specializations for 'long long'
1538                           [default=yes]
1539   --enable-wchar_t        enable template specializations for 'wchar_t'
1540                           [default=yes]
1541   --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1542   --enable-concept-checks use Boost-derived template checks [default=no]
1543   --enable-libstdcxx-debug-flags=FLAGS
1544                           pass compiler FLAGS when building debug library
1545                           [default="-gdwarf-4 -g3 -O0"]
1546   --enable-libstdcxx-debug
1547                           build extra debug library [default=no]
1548   --enable-cxx-flags=FLAGS
1549                           pass compiler FLAGS when building library [default=]
1550   --enable-fully-dynamic-string
1551                           do not put empty strings in per-process static
1552                           memory [default=no]
1553   --enable-extern-template
1554                           enable extern template [default=yes]
1555   --enable-werror         turns on -Werror [default=yes]
1556   --enable-libstdcxx-time[=KIND]
1557                           use KIND for check type [default=no]
1558   --enable-tls            Use thread-local storage [default=yes]
1559   --disable-rpath         do not hardcode runtime library paths
1560   --enable-linux-futex    use the Linux futex system call [default=default]
1561   --enable-symvers[=STYLE]
1562                           enables symbol versioning of the shared library
1563                           [default=yes]
1564   --enable-libstdcxx-visibility
1565                           enables visibility safe usage [default=yes]
1566   --enable-libstdcxx-threads
1567                           enable C++11 threads support [default=auto]
1568   --enable-version-specific-runtime-libs
1569                           Specify that runtime libraries should be installed
1570                           in a compiler-specific directory
1571
1572 Optional Packages:
1573   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1574   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1575   --with-target-subdir=SUBDIR
1576                           configuring in a subdirectory
1577   --with-cross-host=HOST  configuring with a cross compiler
1578   --with-newlib           assume newlib as a system C library
1579   --with-pic              try to use only PIC/non-PIC objects [default=use
1580                           both]
1581   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1582   --with-python-dir       the location to install Python modules. This path is
1583                           relative starting from the prefix.
1584   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1585   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1586   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1587   --with-system-libunwind use installed libunwind
1588   --with-gxx-include-dir=DIR
1589                           installation directory for include files
1590
1591 Some influential environment variables:
1592   CC          C compiler command
1593   CFLAGS      C compiler flags
1594   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1595               nonstandard directory <lib dir>
1596   LIBS        libraries to pass to the linker, e.g. -l<library>
1597   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1598               you have headers in a nonstandard directory <include dir>
1599   CXX         C++ compiler command
1600   CXXFLAGS    C++ compiler flags
1601   CPP         C preprocessor
1602   CXXCPP      C++ preprocessor
1603   CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1604               `c++filt', `gc++filt' on PATH.
1605
1606 Use these variables to override the choices made by `configure' or to help
1607 it to find libraries and programs with nonstandard names/locations.
1608
1609 Report bugs to the package provider.
1610 _ACEOF
1611 ac_status=$?
1612 fi
1613
1614 if test "$ac_init_help" = "recursive"; then
1615   # If there are subdirs, report their specific --help.
1616   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1617     test -d "$ac_dir" ||
1618       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1619       continue
1620     ac_builddir=.
1621
1622 case "$ac_dir" in
1623 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1624 *)
1625   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1626   # A ".." for each directory in $ac_dir_suffix.
1627   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1628   case $ac_top_builddir_sub in
1629   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1630   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1631   esac ;;
1632 esac
1633 ac_abs_top_builddir=$ac_pwd
1634 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1635 # for backward compatibility:
1636 ac_top_builddir=$ac_top_build_prefix
1637
1638 case $srcdir in
1639   .)  # We are building in place.
1640     ac_srcdir=.
1641     ac_top_srcdir=$ac_top_builddir_sub
1642     ac_abs_top_srcdir=$ac_pwd ;;
1643   [\\/]* | ?:[\\/]* )  # Absolute name.
1644     ac_srcdir=$srcdir$ac_dir_suffix;
1645     ac_top_srcdir=$srcdir
1646     ac_abs_top_srcdir=$srcdir ;;
1647   *) # Relative name.
1648     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1649     ac_top_srcdir=$ac_top_build_prefix$srcdir
1650     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1651 esac
1652 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1653
1654     cd "$ac_dir" || { ac_status=$?; continue; }
1655     # Check for guested configure.
1656     if test -f "$ac_srcdir/configure.gnu"; then
1657       echo &&
1658       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1659     elif test -f "$ac_srcdir/configure"; then
1660       echo &&
1661       $SHELL "$ac_srcdir/configure" --help=recursive
1662     else
1663       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1664     fi || ac_status=$?
1665     cd "$ac_pwd" || { ac_status=$?; break; }
1666   done
1667 fi
1668
1669 test -n "$ac_init_help" && exit $ac_status
1670 if $ac_init_version; then
1671   cat <<\_ACEOF
1672 package-unused configure version-unused
1673 generated by GNU Autoconf 2.64
1674
1675 Copyright (C) 2009 Free Software Foundation, Inc.
1676 This configure script is free software; the Free Software Foundation
1677 gives unlimited permission to copy, distribute and modify it.
1678 _ACEOF
1679   exit
1680 fi
1681
1682 ## ------------------------ ##
1683 ## Autoconf initialization. ##
1684 ## ------------------------ ##
1685
1686 # ac_fn_c_try_compile LINENO
1687 # --------------------------
1688 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1689 ac_fn_c_try_compile ()
1690 {
1691   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1692   rm -f conftest.$ac_objext
1693   if { { ac_try="$ac_compile"
1694 case "(($ac_try" in
1695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1696   *) ac_try_echo=$ac_try;;
1697 esac
1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699 $as_echo "$ac_try_echo"; } >&5
1700   (eval "$ac_compile") 2>conftest.err
1701   ac_status=$?
1702   if test -s conftest.err; then
1703     grep -v '^ *+' conftest.err >conftest.er1
1704     cat conftest.er1 >&5
1705     mv -f conftest.er1 conftest.err
1706   fi
1707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708   test $ac_status = 0; } && {
1709          test -z "$ac_c_werror_flag" ||
1710          test ! -s conftest.err
1711        } && test -s conftest.$ac_objext; then :
1712   ac_retval=0
1713 else
1714   $as_echo "$as_me: failed program was:" >&5
1715 sed 's/^/| /' conftest.$ac_ext >&5
1716
1717         ac_retval=1
1718 fi
1719   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1720   return $ac_retval
1721
1722 } # ac_fn_c_try_compile
1723
1724 # ac_fn_cxx_try_compile LINENO
1725 # ----------------------------
1726 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1727 ac_fn_cxx_try_compile ()
1728 {
1729   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730   rm -f conftest.$ac_objext
1731   if { { ac_try="$ac_compile"
1732 case "(($ac_try" in
1733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1734   *) ac_try_echo=$ac_try;;
1735 esac
1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738   (eval "$ac_compile") 2>conftest.err
1739   ac_status=$?
1740   if test -s conftest.err; then
1741     grep -v '^ *+' conftest.err >conftest.er1
1742     cat conftest.er1 >&5
1743     mv -f conftest.er1 conftest.err
1744   fi
1745   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746   test $ac_status = 0; } && {
1747          test -z "$ac_cxx_werror_flag" ||
1748          test ! -s conftest.err
1749        } && test -s conftest.$ac_objext; then :
1750   ac_retval=0
1751 else
1752   $as_echo "$as_me: failed program was:" >&5
1753 sed 's/^/| /' conftest.$ac_ext >&5
1754
1755         ac_retval=1
1756 fi
1757   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1758   return $ac_retval
1759
1760 } # ac_fn_cxx_try_compile
1761
1762 # ac_fn_c_try_cpp LINENO
1763 # ----------------------
1764 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1765 ac_fn_c_try_cpp ()
1766 {
1767   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768   if { { ac_try="$ac_cpp conftest.$ac_ext"
1769 case "(($ac_try" in
1770   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1771   *) ac_try_echo=$ac_try;;
1772 esac
1773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1774 $as_echo "$ac_try_echo"; } >&5
1775   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1776   ac_status=$?
1777   if test -s conftest.err; then
1778     grep -v '^ *+' conftest.err >conftest.er1
1779     cat conftest.er1 >&5
1780     mv -f conftest.er1 conftest.err
1781   fi
1782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1783   test $ac_status = 0; } >/dev/null && {
1784          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1785          test ! -s conftest.err
1786        }; then :
1787   ac_retval=0
1788 else
1789   $as_echo "$as_me: failed program was:" >&5
1790 sed 's/^/| /' conftest.$ac_ext >&5
1791
1792     ac_retval=1
1793 fi
1794   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1795   return $ac_retval
1796
1797 } # ac_fn_c_try_cpp
1798
1799 # ac_fn_c_try_link LINENO
1800 # -----------------------
1801 # Try to link conftest.$ac_ext, and return whether this succeeded.
1802 ac_fn_c_try_link ()
1803 {
1804   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805   rm -f conftest.$ac_objext conftest$ac_exeext
1806   if { { ac_try="$ac_link"
1807 case "(($ac_try" in
1808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1809   *) ac_try_echo=$ac_try;;
1810 esac
1811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1812 $as_echo "$ac_try_echo"; } >&5
1813   (eval "$ac_link") 2>conftest.err
1814   ac_status=$?
1815   if test -s conftest.err; then
1816     grep -v '^ *+' conftest.err >conftest.er1
1817     cat conftest.er1 >&5
1818     mv -f conftest.er1 conftest.err
1819   fi
1820   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1821   test $ac_status = 0; } && {
1822          test -z "$ac_c_werror_flag" ||
1823          test ! -s conftest.err
1824        } && test -s conftest$ac_exeext && {
1825          test "$cross_compiling" = yes ||
1826          $as_test_x conftest$ac_exeext
1827        }; then :
1828   ac_retval=0
1829 else
1830   $as_echo "$as_me: failed program was:" >&5
1831 sed 's/^/| /' conftest.$ac_ext >&5
1832
1833         ac_retval=1
1834 fi
1835   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1836   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1837   # interfere with the next link command; also delete a directory that is
1838   # left behind by Apple's compiler.  We do this before executing the actions.
1839   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1840   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1841   return $ac_retval
1842
1843 } # ac_fn_c_try_link
1844
1845 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1846 # -------------------------------------------------------
1847 # Tests whether HEADER exists and can be compiled using the include files in
1848 # INCLUDES, setting the cache variable VAR accordingly.
1849 ac_fn_c_check_header_compile ()
1850 {
1851   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1853 $as_echo_n "checking for $2... " >&6; }
1854 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1855   $as_echo_n "(cached) " >&6
1856 else
1857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858 /* end confdefs.h.  */
1859 $4
1860 #include <$2>
1861 _ACEOF
1862 if ac_fn_c_try_compile "$LINENO"; then :
1863   eval "$3=yes"
1864 else
1865   eval "$3=no"
1866 fi
1867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1868 fi
1869 eval ac_res=\$$3
1870                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871 $as_echo "$ac_res" >&6; }
1872   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1873
1874 } # ac_fn_c_check_header_compile
1875
1876 # ac_fn_c_try_run LINENO
1877 # ----------------------
1878 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1879 # that executables *can* be run.
1880 ac_fn_c_try_run ()
1881 {
1882   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883   if { { ac_try="$ac_link"
1884 case "(($ac_try" in
1885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1886   *) ac_try_echo=$ac_try;;
1887 esac
1888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1889 $as_echo "$ac_try_echo"; } >&5
1890   (eval "$ac_link") 2>&5
1891   ac_status=$?
1892   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1893   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1894   { { case "(($ac_try" in
1895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1896   *) ac_try_echo=$ac_try;;
1897 esac
1898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1899 $as_echo "$ac_try_echo"; } >&5
1900   (eval "$ac_try") 2>&5
1901   ac_status=$?
1902   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1903   test $ac_status = 0; }; }; then :
1904   ac_retval=0
1905 else
1906   $as_echo "$as_me: program exited with status $ac_status" >&5
1907        $as_echo "$as_me: failed program was:" >&5
1908 sed 's/^/| /' conftest.$ac_ext >&5
1909
1910        ac_retval=$ac_status
1911 fi
1912   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1913   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1914   return $ac_retval
1915
1916 } # ac_fn_c_try_run
1917
1918 # ac_fn_c_check_func LINENO FUNC VAR
1919 # ----------------------------------
1920 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1921 ac_fn_c_check_func ()
1922 {
1923   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1925 $as_echo_n "checking for $2... " >&6; }
1926 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1927   $as_echo_n "(cached) " >&6
1928 else
1929   if test x$gcc_no_link = xyes; then
1930   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1931 fi
1932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1933 /* end confdefs.h.  */
1934 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1935    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1936 #define $2 innocuous_$2
1937
1938 /* System header to define __stub macros and hopefully few prototypes,
1939     which can conflict with char $2 (); below.
1940     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1941     <limits.h> exists even on freestanding compilers.  */
1942
1943 #ifdef __STDC__
1944 # include <limits.h>
1945 #else
1946 # include <assert.h>
1947 #endif
1948
1949 #undef $2
1950
1951 /* Override any GCC internal prototype to avoid an error.
1952    Use char because int might match the return type of a GCC
1953    builtin and then its argument prototype would still apply.  */
1954 #ifdef __cplusplus
1955 extern "C"
1956 #endif
1957 char $2 ();
1958 /* The GNU C library defines this for functions which it implements
1959     to always fail with ENOSYS.  Some functions are actually named
1960     something starting with __ and the normal name is an alias.  */
1961 #if defined __stub_$2 || defined __stub___$2
1962 choke me
1963 #endif
1964
1965 int
1966 main ()
1967 {
1968 return $2 ();
1969   ;
1970   return 0;
1971 }
1972 _ACEOF
1973 if ac_fn_c_try_link "$LINENO"; then :
1974   eval "$3=yes"
1975 else
1976   eval "$3=no"
1977 fi
1978 rm -f core conftest.err conftest.$ac_objext \
1979     conftest$ac_exeext conftest.$ac_ext
1980 fi
1981 eval ac_res=\$$3
1982                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1983 $as_echo "$ac_res" >&6; }
1984   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1985
1986 } # ac_fn_c_check_func
1987
1988 # ac_fn_cxx_try_cpp LINENO
1989 # ------------------------
1990 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1991 ac_fn_cxx_try_cpp ()
1992 {
1993   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1994   if { { ac_try="$ac_cpp conftest.$ac_ext"
1995 case "(($ac_try" in
1996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1997   *) ac_try_echo=$ac_try;;
1998 esac
1999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2000 $as_echo "$ac_try_echo"; } >&5
2001   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2002   ac_status=$?
2003   if test -s conftest.err; then
2004     grep -v '^ *+' conftest.err >conftest.er1
2005     cat conftest.er1 >&5
2006     mv -f conftest.er1 conftest.err
2007   fi
2008   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2009   test $ac_status = 0; } >/dev/null && {
2010          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2011          test ! -s conftest.err
2012        }; then :
2013   ac_retval=0
2014 else
2015   $as_echo "$as_me: failed program was:" >&5
2016 sed 's/^/| /' conftest.$ac_ext >&5
2017
2018     ac_retval=1
2019 fi
2020   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2021   return $ac_retval
2022
2023 } # ac_fn_cxx_try_cpp
2024
2025 # ac_fn_cxx_try_link LINENO
2026 # -------------------------
2027 # Try to link conftest.$ac_ext, and return whether this succeeded.
2028 ac_fn_cxx_try_link ()
2029 {
2030   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2031   rm -f conftest.$ac_objext conftest$ac_exeext
2032   if { { ac_try="$ac_link"
2033 case "(($ac_try" in
2034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2035   *) ac_try_echo=$ac_try;;
2036 esac
2037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2038 $as_echo "$ac_try_echo"; } >&5
2039   (eval "$ac_link") 2>conftest.err
2040   ac_status=$?
2041   if test -s conftest.err; then
2042     grep -v '^ *+' conftest.err >conftest.er1
2043     cat conftest.er1 >&5
2044     mv -f conftest.er1 conftest.err
2045   fi
2046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2047   test $ac_status = 0; } && {
2048          test -z "$ac_cxx_werror_flag" ||
2049          test ! -s conftest.err
2050        } && test -s conftest$ac_exeext && {
2051          test "$cross_compiling" = yes ||
2052          $as_test_x conftest$ac_exeext
2053        }; then :
2054   ac_retval=0
2055 else
2056   $as_echo "$as_me: failed program was:" >&5
2057 sed 's/^/| /' conftest.$ac_ext >&5
2058
2059         ac_retval=1
2060 fi
2061   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2062   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2063   # interfere with the next link command; also delete a directory that is
2064   # left behind by Apple's compiler.  We do this before executing the actions.
2065   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2066   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2067   return $ac_retval
2068
2069 } # ac_fn_cxx_try_link
2070
2071 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2072 # -------------------------------------------------------
2073 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2074 # the include files in INCLUDES and setting the cache variable VAR
2075 # accordingly.
2076 ac_fn_c_check_header_mongrel ()
2077 {
2078   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2079   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2081 $as_echo_n "checking for $2... " >&6; }
2082 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2083   $as_echo_n "(cached) " >&6
2084 fi
2085 eval ac_res=\$$3
2086                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2087 $as_echo "$ac_res" >&6; }
2088 else
2089   # Is the header compilable?
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2091 $as_echo_n "checking $2 usability... " >&6; }
2092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2093 /* end confdefs.h.  */
2094 $4
2095 #include <$2>
2096 _ACEOF
2097 if ac_fn_c_try_compile "$LINENO"; then :
2098   ac_header_compiler=yes
2099 else
2100   ac_header_compiler=no
2101 fi
2102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2104 $as_echo "$ac_header_compiler" >&6; }
2105
2106 # Is the header present?
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2108 $as_echo_n "checking $2 presence... " >&6; }
2109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h.  */
2111 #include <$2>
2112 _ACEOF
2113 if ac_fn_c_try_cpp "$LINENO"; then :
2114   ac_header_preproc=yes
2115 else
2116   ac_header_preproc=no
2117 fi
2118 rm -f conftest.err conftest.$ac_ext
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2120 $as_echo "$ac_header_preproc" >&6; }
2121
2122 # So?  What about this header?
2123 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2124   yes:no: )
2125     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2126 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2127     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2128 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2129     ;;
2130   no:yes:* )
2131     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2132 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2133     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2134 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2135     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2136 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2137     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2138 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2139     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2140 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2141     ;;
2142 esac
2143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2144 $as_echo_n "checking for $2... " >&6; }
2145 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2146   $as_echo_n "(cached) " >&6
2147 else
2148   eval "$3=\$ac_header_compiler"
2149 fi
2150 eval ac_res=\$$3
2151                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2152 $as_echo "$ac_res" >&6; }
2153 fi
2154   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2155
2156 } # ac_fn_c_check_header_mongrel
2157
2158 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2159 # ---------------------------------------------------------
2160 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2161 # the include files in INCLUDES and setting the cache variable VAR
2162 # accordingly.
2163 ac_fn_cxx_check_header_mongrel ()
2164 {
2165   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2166   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2168 $as_echo_n "checking for $2... " >&6; }
2169 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2170   $as_echo_n "(cached) " >&6
2171 fi
2172 eval ac_res=\$$3
2173                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2174 $as_echo "$ac_res" >&6; }
2175 else
2176   # Is the header compilable?
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2178 $as_echo_n "checking $2 usability... " >&6; }
2179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2180 /* end confdefs.h.  */
2181 $4
2182 #include <$2>
2183 _ACEOF
2184 if ac_fn_cxx_try_compile "$LINENO"; then :
2185   ac_header_compiler=yes
2186 else
2187   ac_header_compiler=no
2188 fi
2189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2191 $as_echo "$ac_header_compiler" >&6; }
2192
2193 # Is the header present?
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2195 $as_echo_n "checking $2 presence... " >&6; }
2196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2197 /* end confdefs.h.  */
2198 #include <$2>
2199 _ACEOF
2200 if ac_fn_cxx_try_cpp "$LINENO"; then :
2201   ac_header_preproc=yes
2202 else
2203   ac_header_preproc=no
2204 fi
2205 rm -f conftest.err conftest.$ac_ext
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2207 $as_echo "$ac_header_preproc" >&6; }
2208
2209 # So?  What about this header?
2210 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2211   yes:no: )
2212     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2213 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2214     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2215 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2216     ;;
2217   no:yes:* )
2218     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2219 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2220     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2221 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2222     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2223 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2224     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2225 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2226     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2227 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2228     ;;
2229 esac
2230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2231 $as_echo_n "checking for $2... " >&6; }
2232 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2233   $as_echo_n "(cached) " >&6
2234 else
2235   eval "$3=\$ac_header_compiler"
2236 fi
2237 eval ac_res=\$$3
2238                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2239 $as_echo "$ac_res" >&6; }
2240 fi
2241   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2242
2243 } # ac_fn_cxx_check_header_mongrel
2244
2245 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2246 # --------------------------------------------
2247 # Tries to find the compile-time value of EXPR in a program that includes
2248 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2249 # computed
2250 ac_fn_c_compute_int ()
2251 {
2252   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2253   if test "$cross_compiling" = yes; then
2254     # Depending upon the size, compute the lo and hi bounds.
2255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2256 /* end confdefs.h.  */
2257 $4
2258 int
2259 main ()
2260 {
2261 static int test_array [1 - 2 * !(($2) >= 0)];
2262 test_array [0] = 0
2263
2264   ;
2265   return 0;
2266 }
2267 _ACEOF
2268 if ac_fn_c_try_compile "$LINENO"; then :
2269   ac_lo=0 ac_mid=0
2270   while :; do
2271     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2272 /* end confdefs.h.  */
2273 $4
2274 int
2275 main ()
2276 {
2277 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2278 test_array [0] = 0
2279
2280   ;
2281   return 0;
2282 }
2283 _ACEOF
2284 if ac_fn_c_try_compile "$LINENO"; then :
2285   ac_hi=$ac_mid; break
2286 else
2287   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2288                         if test $ac_lo -le $ac_mid; then
2289                           ac_lo= ac_hi=
2290                           break
2291                         fi
2292                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2293 fi
2294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2295   done
2296 else
2297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2298 /* end confdefs.h.  */
2299 $4
2300 int
2301 main ()
2302 {
2303 static int test_array [1 - 2 * !(($2) < 0)];
2304 test_array [0] = 0
2305
2306   ;
2307   return 0;
2308 }
2309 _ACEOF
2310 if ac_fn_c_try_compile "$LINENO"; then :
2311   ac_hi=-1 ac_mid=-1
2312   while :; do
2313     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2314 /* end confdefs.h.  */
2315 $4
2316 int
2317 main ()
2318 {
2319 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2320 test_array [0] = 0
2321
2322   ;
2323   return 0;
2324 }
2325 _ACEOF
2326 if ac_fn_c_try_compile "$LINENO"; then :
2327   ac_lo=$ac_mid; break
2328 else
2329   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2330                         if test $ac_mid -le $ac_hi; then
2331                           ac_lo= ac_hi=
2332                           break
2333                         fi
2334                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2335 fi
2336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2337   done
2338 else
2339   ac_lo= ac_hi=
2340 fi
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 fi
2343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2344 # Binary search between lo and hi bounds.
2345 while test "x$ac_lo" != "x$ac_hi"; do
2346   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2348 /* end confdefs.h.  */
2349 $4
2350 int
2351 main ()
2352 {
2353 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2354 test_array [0] = 0
2355
2356   ;
2357   return 0;
2358 }
2359 _ACEOF
2360 if ac_fn_c_try_compile "$LINENO"; then :
2361   ac_hi=$ac_mid
2362 else
2363   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2364 fi
2365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2366 done
2367 case $ac_lo in #((
2368 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2369 '') ac_retval=1 ;;
2370 esac
2371   else
2372     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2373 /* end confdefs.h.  */
2374 $4
2375 static long int longval () { return $2; }
2376 static unsigned long int ulongval () { return $2; }
2377 #include <stdio.h>
2378 #include <stdlib.h>
2379 int
2380 main ()
2381 {
2382
2383   FILE *f = fopen ("conftest.val", "w");
2384   if (! f)
2385     return 1;
2386   if (($2) < 0)
2387     {
2388       long int i = longval ();
2389       if (i != ($2))
2390         return 1;
2391       fprintf (f, "%ld", i);
2392     }
2393   else
2394     {
2395       unsigned long int i = ulongval ();
2396       if (i != ($2))
2397         return 1;
2398       fprintf (f, "%lu", i);
2399     }
2400   /* Do not output a trailing newline, as this causes \r\n confusion
2401      on some platforms.  */
2402   return ferror (f) || fclose (f) != 0;
2403
2404   ;
2405   return 0;
2406 }
2407 _ACEOF
2408 if ac_fn_c_try_run "$LINENO"; then :
2409   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2410 else
2411   ac_retval=1
2412 fi
2413 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2414   conftest.$ac_objext conftest.beam conftest.$ac_ext
2415 rm -f conftest.val
2416
2417   fi
2418   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2419   return $ac_retval
2420
2421 } # ac_fn_c_compute_int
2422
2423 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2424 # -------------------------------------------
2425 # Tests whether TYPE exists after having included INCLUDES, setting cache
2426 # variable VAR accordingly.
2427 ac_fn_c_check_type ()
2428 {
2429   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2431 $as_echo_n "checking for $2... " >&6; }
2432 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2433   $as_echo_n "(cached) " >&6
2434 else
2435   eval "$3=no"
2436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2437 /* end confdefs.h.  */
2438 $4
2439 int
2440 main ()
2441 {
2442 if (sizeof ($2))
2443          return 0;
2444   ;
2445   return 0;
2446 }
2447 _ACEOF
2448 if ac_fn_c_try_compile "$LINENO"; then :
2449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2450 /* end confdefs.h.  */
2451 $4
2452 int
2453 main ()
2454 {
2455 if (sizeof (($2)))
2456             return 0;
2457   ;
2458   return 0;
2459 }
2460 _ACEOF
2461 if ac_fn_c_try_compile "$LINENO"; then :
2462
2463 else
2464   eval "$3=yes"
2465 fi
2466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2467 fi
2468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2469 fi
2470 eval ac_res=\$$3
2471                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2472 $as_echo "$ac_res" >&6; }
2473   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2474
2475 } # ac_fn_c_check_type
2476 cat >config.log <<_ACEOF
2477 This file contains any messages produced by compilers while
2478 running configure, to aid debugging if configure makes a mistake.
2479
2480 It was created by package-unused $as_me version-unused, which was
2481 generated by GNU Autoconf 2.64.  Invocation command line was
2482
2483   $ $0 $@
2484
2485 _ACEOF
2486 exec 5>>config.log
2487 {
2488 cat <<_ASUNAME
2489 ## --------- ##
2490 ## Platform. ##
2491 ## --------- ##
2492
2493 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2494 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2495 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2496 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2497 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2498
2499 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2500 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2501
2502 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2503 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2504 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2505 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2506 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2507 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2508 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2509
2510 _ASUNAME
2511
2512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2513 for as_dir in $PATH
2514 do
2515   IFS=$as_save_IFS
2516   test -z "$as_dir" && as_dir=.
2517     $as_echo "PATH: $as_dir"
2518   done
2519 IFS=$as_save_IFS
2520
2521 } >&5
2522
2523 cat >&5 <<_ACEOF
2524
2525
2526 ## ----------- ##
2527 ## Core tests. ##
2528 ## ----------- ##
2529
2530 _ACEOF
2531
2532
2533 # Keep a trace of the command line.
2534 # Strip out --no-create and --no-recursion so they do not pile up.
2535 # Strip out --silent because we don't want to record it for future runs.
2536 # Also quote any args containing shell meta-characters.
2537 # Make two passes to allow for proper duplicate-argument suppression.
2538 ac_configure_args=
2539 ac_configure_args0=
2540 ac_configure_args1=
2541 ac_must_keep_next=false
2542 for ac_pass in 1 2
2543 do
2544   for ac_arg
2545   do
2546     case $ac_arg in
2547     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2548     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2549     | -silent | --silent | --silen | --sile | --sil)
2550       continue ;;
2551     *\'*)
2552       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2553     esac
2554     case $ac_pass in
2555     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2556     2)
2557       as_fn_append ac_configure_args1 " '$ac_arg'"
2558       if test $ac_must_keep_next = true; then
2559         ac_must_keep_next=false # Got value, back to normal.
2560       else
2561         case $ac_arg in
2562           *=* | --config-cache | -C | -disable-* | --disable-* \
2563           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2564           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2565           | -with-* | --with-* | -without-* | --without-* | --x)
2566             case "$ac_configure_args0 " in
2567               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2568             esac
2569             ;;
2570           -* ) ac_must_keep_next=true ;;
2571         esac
2572       fi
2573       as_fn_append ac_configure_args " '$ac_arg'"
2574       ;;
2575     esac
2576   done
2577 done
2578 { ac_configure_args0=; unset ac_configure_args0;}
2579 { ac_configure_args1=; unset ac_configure_args1;}
2580
2581 # When interrupted or exit'd, cleanup temporary files, and complete
2582 # config.log.  We remove comments because anyway the quotes in there
2583 # would cause problems or look ugly.
2584 # WARNING: Use '\'' to represent an apostrophe within the trap.
2585 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2586 trap 'exit_status=$?
2587   # Save into config.log some information that might help in debugging.
2588   {
2589     echo
2590
2591     cat <<\_ASBOX
2592 ## ---------------- ##
2593 ## Cache variables. ##
2594 ## ---------------- ##
2595 _ASBOX
2596     echo
2597     # The following way of writing the cache mishandles newlines in values,
2598 (
2599   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2600     eval ac_val=\$$ac_var
2601     case $ac_val in #(
2602     *${as_nl}*)
2603       case $ac_var in #(
2604       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2605 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2606       esac
2607       case $ac_var in #(
2608       _ | IFS | as_nl) ;; #(
2609       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2610       *) { eval $ac_var=; unset $ac_var;} ;;
2611       esac ;;
2612     esac
2613   done
2614   (set) 2>&1 |
2615     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2616     *${as_nl}ac_space=\ *)
2617       sed -n \
2618         "s/'\''/'\''\\\\'\'''\''/g;
2619           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2620       ;; #(
2621     *)
2622       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2623       ;;
2624     esac |
2625     sort
2626 )
2627     echo
2628
2629     cat <<\_ASBOX
2630 ## ----------------- ##
2631 ## Output variables. ##
2632 ## ----------------- ##
2633 _ASBOX
2634     echo
2635     for ac_var in $ac_subst_vars
2636     do
2637       eval ac_val=\$$ac_var
2638       case $ac_val in
2639       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2640       esac
2641       $as_echo "$ac_var='\''$ac_val'\''"
2642     done | sort
2643     echo
2644
2645     if test -n "$ac_subst_files"; then
2646       cat <<\_ASBOX
2647 ## ------------------- ##
2648 ## File substitutions. ##
2649 ## ------------------- ##
2650 _ASBOX
2651       echo
2652       for ac_var in $ac_subst_files
2653       do
2654         eval ac_val=\$$ac_var
2655         case $ac_val in
2656         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2657         esac
2658         $as_echo "$ac_var='\''$ac_val'\''"
2659       done | sort
2660       echo
2661     fi
2662
2663     if test -s confdefs.h; then
2664       cat <<\_ASBOX
2665 ## ----------- ##
2666 ## confdefs.h. ##
2667 ## ----------- ##
2668 _ASBOX
2669       echo
2670       cat confdefs.h
2671       echo
2672     fi
2673     test "$ac_signal" != 0 &&
2674       $as_echo "$as_me: caught signal $ac_signal"
2675     $as_echo "$as_me: exit $exit_status"
2676   } >&5
2677   rm -f core *.core core.conftest.* &&
2678     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2679     exit $exit_status
2680 ' 0
2681 for ac_signal in 1 2 13 15; do
2682   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2683 done
2684 ac_signal=0
2685
2686 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2687 rm -f -r conftest* confdefs.h
2688
2689 $as_echo "/* confdefs.h */" > confdefs.h
2690
2691 # Predefined preprocessor variables.
2692
2693 cat >>confdefs.h <<_ACEOF
2694 #define PACKAGE_NAME "$PACKAGE_NAME"
2695 _ACEOF
2696
2697 cat >>confdefs.h <<_ACEOF
2698 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2699 _ACEOF
2700
2701 cat >>confdefs.h <<_ACEOF
2702 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2703 _ACEOF
2704
2705 cat >>confdefs.h <<_ACEOF
2706 #define PACKAGE_STRING "$PACKAGE_STRING"
2707 _ACEOF
2708
2709 cat >>confdefs.h <<_ACEOF
2710 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2711 _ACEOF
2712
2713 cat >>confdefs.h <<_ACEOF
2714 #define PACKAGE_URL "$PACKAGE_URL"
2715 _ACEOF
2716
2717
2718 # Let the site file select an alternate cache file if it wants to.
2719 # Prefer an explicitly selected file to automatically selected ones.
2720 ac_site_file1=NONE
2721 ac_site_file2=NONE
2722 if test -n "$CONFIG_SITE"; then
2723   ac_site_file1=$CONFIG_SITE
2724 elif test "x$prefix" != xNONE; then
2725   ac_site_file1=$prefix/share/config.site
2726   ac_site_file2=$prefix/etc/config.site
2727 else
2728   ac_site_file1=$ac_default_prefix/share/config.site
2729   ac_site_file2=$ac_default_prefix/etc/config.site
2730 fi
2731 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2732 do
2733   test "x$ac_site_file" = xNONE && continue
2734   if test -r "$ac_site_file"; then
2735     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2736 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2737     sed 's/^/| /' "$ac_site_file" >&5
2738     . "$ac_site_file"
2739   fi
2740 done
2741
2742 if test -r "$cache_file"; then
2743   # Some versions of bash will fail to source /dev/null (special
2744   # files actually), so we avoid doing that.
2745   if test -f "$cache_file"; then
2746     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2747 $as_echo "$as_me: loading cache $cache_file" >&6;}
2748     case $cache_file in
2749       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2750       *)                      . "./$cache_file";;
2751     esac
2752   fi
2753 else
2754   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2755 $as_echo "$as_me: creating cache $cache_file" >&6;}
2756   >$cache_file
2757 fi
2758
2759 # Check that the precious variables saved in the cache have kept the same
2760 # value.
2761 ac_cache_corrupted=false
2762 for ac_var in $ac_precious_vars; do
2763   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2764   eval ac_new_set=\$ac_env_${ac_var}_set
2765   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2766   eval ac_new_val=\$ac_env_${ac_var}_value
2767   case $ac_old_set,$ac_new_set in
2768     set,)
2769       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2770 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2771       ac_cache_corrupted=: ;;
2772     ,set)
2773       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2774 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2775       ac_cache_corrupted=: ;;
2776     ,);;
2777     *)
2778       if test "x$ac_old_val" != "x$ac_new_val"; then
2779         # differences in whitespace do not lead to failure.
2780         ac_old_val_w=`echo x $ac_old_val`
2781         ac_new_val_w=`echo x $ac_new_val`
2782         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2783           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2784 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2785           ac_cache_corrupted=:
2786         else
2787           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2788 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2789           eval $ac_var=\$ac_old_val
2790         fi
2791         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2792 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2793         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2794 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2795       fi;;
2796   esac
2797   # Pass precious variables to config.status.
2798   if test "$ac_new_set" = set; then
2799     case $ac_new_val in
2800     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2801     *) ac_arg=$ac_var=$ac_new_val ;;
2802     esac
2803     case " $ac_configure_args " in
2804       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2805       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2806     esac
2807   fi
2808 done
2809 if $ac_cache_corrupted; then
2810   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2812   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2813 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2814   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2815 fi
2816 ## -------------------- ##
2817 ## Main body of script. ##
2818 ## -------------------- ##
2819
2820 ac_ext=c
2821 ac_cpp='$CPP $CPPFLAGS'
2822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2825
2826
2827
2828
2829
2830
2831 ac_config_headers="$ac_config_headers config.h"
2832
2833
2834 # This works around the fact that libtool configuration may change LD
2835 # for this particular configuration, but some shells, instead of
2836 # keeping the changes in LD private, export them just because LD is
2837 # exported.  Only used at the end of this file.
2838 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2839
2840 # Find the rest of the source tree framework.
2841 # Default to --enable-multilib
2842 # Check whether --enable-multilib was given.
2843 if test "${enable_multilib+set}" = set; then :
2844   enableval=$enable_multilib; case "$enableval" in
2845   yes) multilib=yes ;;
2846   no)  multilib=no ;;
2847   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2848  esac
2849 else
2850   multilib=yes
2851 fi
2852
2853
2854 # We may get other options which we leave undocumented:
2855 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2856 # See config-ml.in if you want the gory details.
2857
2858 if test "$srcdir" = "."; then
2859   if test "$with_target_subdir" != "."; then
2860     multi_basedir="$srcdir/$with_multisrctop../.."
2861   else
2862     multi_basedir="$srcdir/$with_multisrctop.."
2863   fi
2864 else
2865   multi_basedir="$srcdir/.."
2866 fi
2867
2868
2869 # Even if the default multilib is not a cross compilation,
2870 # it may be that some of the other multilibs are.
2871 if test $cross_compiling = no && test $multilib = yes \
2872    && test "x${with_multisubdir}" != x ; then
2873    cross_compiling=maybe
2874 fi
2875
2876 ac_config_commands="$ac_config_commands default-1"
2877
2878
2879 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2880 #
2881 # You will slowly go insane if you do not grok the following fact:  when
2882 # building v3 as part of the compiler, the top-level /target/ becomes the
2883 # library's /host/.  configure then causes --target to default to --host,
2884 # exactly like any other package using autoconf.  Therefore, 'target' and
2885 # 'host' will always be the same.  This makes sense both for native and
2886 # cross compilers, just think about it for a little while.  :-)
2887 #
2888 # Also, if v3 is being configured as part of a cross compiler, the top-level
2889 # configure script will pass the "real" host as $with_cross_host.
2890 #
2891 # Do not delete or change the following two lines.  For why, see
2892 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2893 ac_aux_dir=
2894 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2895   for ac_t in install-sh install.sh shtool; do
2896     if test -f "$ac_dir/$ac_t"; then
2897       ac_aux_dir=$ac_dir
2898       ac_install_sh="$ac_aux_dir/$ac_t -c"
2899       break 2
2900     fi
2901   done
2902 done
2903 if test -z "$ac_aux_dir"; then
2904   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2905 fi
2906
2907 # These three variables are undocumented and unsupported,
2908 # and are intended to be withdrawn in a future Autoconf release.
2909 # They can cause serious problems if a builder's source tree is in a directory
2910 # whose full name contains unusual characters.
2911 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2912 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2913 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2914
2915
2916 # Make sure we can run config.sub.
2917 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2918   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2919
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2921 $as_echo_n "checking build system type... " >&6; }
2922 if test "${ac_cv_build+set}" = set; then :
2923   $as_echo_n "(cached) " >&6
2924 else
2925   ac_build_alias=$build_alias
2926 test "x$ac_build_alias" = x &&
2927   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2928 test "x$ac_build_alias" = x &&
2929   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2930 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2931   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2932
2933 fi
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2935 $as_echo "$ac_cv_build" >&6; }
2936 case $ac_cv_build in
2937 *-*-*) ;;
2938 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2939 esac
2940 build=$ac_cv_build
2941 ac_save_IFS=$IFS; IFS='-'
2942 set x $ac_cv_build
2943 shift
2944 build_cpu=$1
2945 build_vendor=$2
2946 shift; shift
2947 # Remember, the first character of IFS is used to create $*,
2948 # except with old shells:
2949 build_os=$*
2950 IFS=$ac_save_IFS
2951 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2952
2953
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2955 $as_echo_n "checking host system type... " >&6; }
2956 if test "${ac_cv_host+set}" = set; then :
2957   $as_echo_n "(cached) " >&6
2958 else
2959   if test "x$host_alias" = x; then
2960   ac_cv_host=$ac_cv_build
2961 else
2962   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2963     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2964 fi
2965
2966 fi
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2968 $as_echo "$ac_cv_host" >&6; }
2969 case $ac_cv_host in
2970 *-*-*) ;;
2971 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2972 esac
2973 host=$ac_cv_host
2974 ac_save_IFS=$IFS; IFS='-'
2975 set x $ac_cv_host
2976 shift
2977 host_cpu=$1
2978 host_vendor=$2
2979 shift; shift
2980 # Remember, the first character of IFS is used to create $*,
2981 # except with old shells:
2982 host_os=$*
2983 IFS=$ac_save_IFS
2984 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2985
2986
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2988 $as_echo_n "checking target system type... " >&6; }
2989 if test "${ac_cv_target+set}" = set; then :
2990   $as_echo_n "(cached) " >&6
2991 else
2992   if test "x$target_alias" = x; then
2993   ac_cv_target=$ac_cv_host
2994 else
2995   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2996     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2997 fi
2998
2999 fi
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3001 $as_echo "$ac_cv_target" >&6; }
3002 case $ac_cv_target in
3003 *-*-*) ;;
3004 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3005 esac
3006 target=$ac_cv_target
3007 ac_save_IFS=$IFS; IFS='-'
3008 set x $ac_cv_target
3009 shift
3010 target_cpu=$1
3011 target_vendor=$2
3012 shift; shift
3013 # Remember, the first character of IFS is used to create $*,
3014 # except with old shells:
3015 target_os=$*
3016 IFS=$ac_save_IFS
3017 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3018
3019
3020 # The aliases save the names the user supplied, while $host etc.
3021 # will get canonicalized.
3022 test -n "$target_alias" &&
3023   test "$program_prefix$program_suffix$program_transform_name" = \
3024     NONENONEs,x,x, &&
3025   program_prefix=${target_alias}-
3026
3027 target_alias=${target_alias-$host_alias}
3028
3029 # Handy for debugging:
3030 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3031
3032 if test "$build" != "$host"; then
3033   # We are being configured with some form of cross compiler.
3034   GLIBCXX_IS_NATIVE=false
3035   case "$host","$target" in
3036     # Darwin crosses can use the host system's libraries and headers,
3037     # because of the fat library support.  Of course, it must be the
3038     # same version of Darwin on both sides.  Allow the user to
3039     # just say --target=foo-darwin without a version number to mean
3040     # "the version on this system".
3041       *-*-darwin*,*-*-darwin*)
3042         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3043         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3044         if test $hostos = $targetos -o $targetos = darwin ; then
3045           GLIBCXX_IS_NATIVE=true
3046         fi
3047         ;;
3048
3049       *)
3050
3051         ;;
3052   esac
3053 else
3054   GLIBCXX_IS_NATIVE=true
3055 fi
3056
3057 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3058 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3059 #  1.x:  minimum required version
3060 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3061 #              of other PACKAGE_* variables will, however, and there's nothing
3062 #              we can do about that; they come from AC_INIT).
3063 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3064 #            file in the top srcdir, etc, etc), so stop complaining.
3065 #  no-dependencies:  turns off auto dependency generation (just for now)
3066 #  no-dist:  we don't want 'dist' and related rules.
3067 #  -Wall:  turns on all automake warnings...
3068 #  -Wno-portability:  ...except this one, since GNU make is now required.
3069 am__api_version='1.11'
3070
3071 # Find a good install program.  We prefer a C program (faster),
3072 # so one script is as good as another.  But avoid the broken or
3073 # incompatible versions:
3074 # SysV /etc/install, /usr/sbin/install
3075 # SunOS /usr/etc/install
3076 # IRIX /sbin/install
3077 # AIX /bin/install
3078 # AmigaOS /C/install, which installs bootblocks on floppy discs
3079 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3080 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3081 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3082 # OS/2's system install, which has a completely different semantic
3083 # ./install, which can be erroneously created by make from ./install.sh.
3084 # Reject install programs that cannot install multiple files.
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3086 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3087 if test -z "$INSTALL"; then
3088 if test "${ac_cv_path_install+set}" = set; then :
3089   $as_echo_n "(cached) " >&6
3090 else
3091   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3092 for as_dir in $PATH
3093 do
3094   IFS=$as_save_IFS
3095   test -z "$as_dir" && as_dir=.
3096     # Account for people who put trailing slashes in PATH elements.
3097 case $as_dir/ in #((
3098   ./ | .// | /[cC]/* | \
3099   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3100   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3101   /usr/ucb/* ) ;;
3102   *)
3103     # OSF1 and SCO ODT 3.0 have their own names for install.
3104     # Don't use installbsd from OSF since it installs stuff as root
3105     # by default.
3106     for ac_prog in ginstall scoinst install; do
3107       for ac_exec_ext in '' $ac_executable_extensions; do
3108         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3109           if test $ac_prog = install &&
3110             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3111             # AIX install.  It has an incompatible calling convention.
3112             :
3113           elif test $ac_prog = install &&
3114             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3115             # program-specific install script used by HP pwplus--don't use.
3116             :
3117           else
3118             rm -rf conftest.one conftest.two conftest.dir
3119             echo one > conftest.one
3120             echo two > conftest.two
3121             mkdir conftest.dir
3122             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3123               test -s conftest.one && test -s conftest.two &&
3124               test -s conftest.dir/conftest.one &&
3125               test -s conftest.dir/conftest.two
3126             then
3127               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3128               break 3
3129             fi
3130           fi
3131         fi
3132       done
3133     done
3134     ;;
3135 esac
3136
3137   done
3138 IFS=$as_save_IFS
3139
3140 rm -rf conftest.one conftest.two conftest.dir
3141
3142 fi
3143   if test "${ac_cv_path_install+set}" = set; then
3144     INSTALL=$ac_cv_path_install
3145   else
3146     # As a last resort, use the slow shell script.  Don't cache a
3147     # value for INSTALL within a source directory, because that will
3148     # break other packages using the cache if that directory is
3149     # removed, or if the value is a relative name.
3150     INSTALL=$ac_install_sh
3151   fi
3152 fi
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3154 $as_echo "$INSTALL" >&6; }
3155
3156 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3157 # It thinks the first close brace ends the variable substitution.
3158 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3159
3160 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3161
3162 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3163
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3165 $as_echo_n "checking whether build environment is sane... " >&6; }
3166 # Just in case
3167 sleep 1
3168 echo timestamp > conftest.file
3169 # Reject unsafe characters in $srcdir or the absolute working directory
3170 # name.  Accept space and tab only in the latter.
3171 am_lf='
3172 '
3173 case `pwd` in
3174   *[\\\"\#\$\&\'\`$am_lf]*)
3175     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3176 esac
3177 case $srcdir in
3178   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3179     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3180 esac
3181
3182 # Do `set' in a subshell so we don't clobber the current shell's
3183 # arguments.  Must try -L first in case configure is actually a
3184 # symlink; some systems play weird games with the mod time of symlinks
3185 # (eg FreeBSD returns the mod time of the symlink's containing
3186 # directory).
3187 if (
3188    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3189    if test "$*" = "X"; then
3190       # -L didn't work.
3191       set X `ls -t "$srcdir/configure" conftest.file`
3192    fi
3193    rm -f conftest.file
3194    if test "$*" != "X $srcdir/configure conftest.file" \
3195       && test "$*" != "X conftest.file $srcdir/configure"; then
3196
3197       # If neither matched, then we have a broken ls.  This can happen
3198       # if, for instance, CONFIG_SHELL is bash and it inherits a
3199       # broken ls alias from the environment.  This has actually
3200       # happened.  Such a system could not be considered "sane".
3201       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3202 alias in your environment" "$LINENO" 5
3203    fi
3204
3205    test "$2" = conftest.file
3206    )
3207 then
3208    # Ok.
3209    :
3210 else
3211    as_fn_error "newly created file is older than distributed files!
3212 Check your system clock" "$LINENO" 5
3213 fi
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3215 $as_echo "yes" >&6; }
3216 test "$program_prefix" != NONE &&
3217   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3218 # Use a double $ so make ignores it.
3219 test "$program_suffix" != NONE &&
3220   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3221 # Double any \ or $.
3222 # By default was `s,x,x', remove it if useless.
3223 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3224 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3225
3226 # expand $ac_aux_dir to an absolute path
3227 am_aux_dir=`cd $ac_aux_dir && pwd`
3228
3229 if test x"${MISSING+set}" != xset; then
3230   case $am_aux_dir in
3231   *\ * | *\     *)
3232     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3233   *)
3234     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3235   esac
3236 fi
3237 # Use eval to expand $SHELL
3238 if eval "$MISSING --run true"; then
3239   am_missing_run="$MISSING --run "
3240 else
3241   am_missing_run=
3242   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3243 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3244 fi
3245
3246 if test x"${install_sh}" != xset; then
3247   case $am_aux_dir in
3248   *\ * | *\     *)
3249     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3250   *)
3251     install_sh="\${SHELL} $am_aux_dir/install-sh"
3252   esac
3253 fi
3254
3255 # Installed binaries are usually stripped using `strip' when the user
3256 # run `make install-strip'.  However `strip' might not be the right
3257 # tool to use in cross-compilation environments, therefore Automake
3258 # will honor the `STRIP' environment variable to overrule this program.
3259 if test "$cross_compiling" != no; then
3260   if test -n "$ac_tool_prefix"; then
3261   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3262 set dummy ${ac_tool_prefix}strip; ac_word=$2
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3264 $as_echo_n "checking for $ac_word... " >&6; }
3265 if test "${ac_cv_prog_STRIP+set}" = set; then :
3266   $as_echo_n "(cached) " >&6
3267 else
3268   if test -n "$STRIP"; then
3269   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3270 else
3271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3272 for as_dir in $PATH
3273 do
3274   IFS=$as_save_IFS
3275   test -z "$as_dir" && as_dir=.
3276     for ac_exec_ext in '' $ac_executable_extensions; do
3277   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3278     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3279     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3280     break 2
3281   fi
3282 done
3283   done
3284 IFS=$as_save_IFS
3285
3286 fi
3287 fi
3288 STRIP=$ac_cv_prog_STRIP
3289 if test -n "$STRIP"; then
3290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3291 $as_echo "$STRIP" >&6; }
3292 else
3293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3294 $as_echo "no" >&6; }
3295 fi
3296
3297
3298 fi
3299 if test -z "$ac_cv_prog_STRIP"; then
3300   ac_ct_STRIP=$STRIP
3301   # Extract the first word of "strip", so it can be a program name with args.
3302 set dummy strip; ac_word=$2
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3304 $as_echo_n "checking for $ac_word... " >&6; }
3305 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3306   $as_echo_n "(cached) " >&6
3307 else
3308   if test -n "$ac_ct_STRIP"; then
3309   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3310 else
3311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3312 for as_dir in $PATH
3313 do
3314   IFS=$as_save_IFS
3315   test -z "$as_dir" && as_dir=.
3316     for ac_exec_ext in '' $ac_executable_extensions; do
3317   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3318     ac_cv_prog_ac_ct_STRIP="strip"
3319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3320     break 2
3321   fi
3322 done
3323   done
3324 IFS=$as_save_IFS
3325
3326 fi
3327 fi
3328 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3329 if test -n "$ac_ct_STRIP"; then
3330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3331 $as_echo "$ac_ct_STRIP" >&6; }
3332 else
3333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3334 $as_echo "no" >&6; }
3335 fi
3336
3337   if test "x$ac_ct_STRIP" = x; then
3338     STRIP=":"
3339   else
3340     case $cross_compiling:$ac_tool_warned in
3341 yes:)
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3344 ac_tool_warned=yes ;;
3345 esac
3346     STRIP=$ac_ct_STRIP
3347   fi
3348 else
3349   STRIP="$ac_cv_prog_STRIP"
3350 fi
3351
3352 fi
3353 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3354
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3356 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3357 if test -z "$MKDIR_P"; then
3358   if test "${ac_cv_path_mkdir+set}" = set; then :
3359   $as_echo_n "(cached) " >&6
3360 else
3361   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3362 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3363 do
3364   IFS=$as_save_IFS
3365   test -z "$as_dir" && as_dir=.
3366     for ac_prog in mkdir gmkdir; do
3367          for ac_exec_ext in '' $ac_executable_extensions; do
3368            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3369            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3370              'mkdir (GNU coreutils) '* | \
3371              'mkdir (coreutils) '* | \
3372              'mkdir (fileutils) '4.1*)
3373                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3374                break 3;;
3375            esac
3376          done
3377        done
3378   done
3379 IFS=$as_save_IFS
3380
3381 fi
3382
3383   if test "${ac_cv_path_mkdir+set}" = set; then
3384     MKDIR_P="$ac_cv_path_mkdir -p"
3385   else
3386     # As a last resort, use the slow shell script.  Don't cache a
3387     # value for MKDIR_P within a source directory, because that will
3388     # break other packages using the cache if that directory is
3389     # removed, or if the value is a relative name.
3390     test -d ./--version && rmdir ./--version
3391     MKDIR_P="$ac_install_sh -d"
3392   fi
3393 fi
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3395 $as_echo "$MKDIR_P" >&6; }
3396
3397 mkdir_p="$MKDIR_P"
3398 case $mkdir_p in
3399   [\\/$]* | ?:[\\/]*) ;;
3400   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3401 esac
3402
3403 for ac_prog in gawk mawk nawk awk
3404 do
3405   # Extract the first word of "$ac_prog", so it can be a program name with args.
3406 set dummy $ac_prog; ac_word=$2
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3408 $as_echo_n "checking for $ac_word... " >&6; }
3409 if test "${ac_cv_prog_AWK+set}" = set; then :
3410   $as_echo_n "(cached) " >&6
3411 else
3412   if test -n "$AWK"; then
3413   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3414 else
3415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3416 for as_dir in $PATH
3417 do
3418   IFS=$as_save_IFS
3419   test -z "$as_dir" && as_dir=.
3420     for ac_exec_ext in '' $ac_executable_extensions; do
3421   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3422     ac_cv_prog_AWK="$ac_prog"
3423     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3424     break 2
3425   fi
3426 done
3427   done
3428 IFS=$as_save_IFS
3429
3430 fi
3431 fi
3432 AWK=$ac_cv_prog_AWK
3433 if test -n "$AWK"; then
3434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3435 $as_echo "$AWK" >&6; }
3436 else
3437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3438 $as_echo "no" >&6; }
3439 fi
3440
3441
3442   test -n "$AWK" && break
3443 done
3444
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3446 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3447 set x ${MAKE-make}
3448 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3449 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3450   $as_echo_n "(cached) " >&6
3451 else
3452   cat >conftest.make <<\_ACEOF
3453 SHELL = /bin/sh
3454 all:
3455         @echo '@@@%%%=$(MAKE)=@@@%%%'
3456 _ACEOF
3457 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3458 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3459   *@@@%%%=?*=@@@%%%*)
3460     eval ac_cv_prog_make_${ac_make}_set=yes;;
3461   *)
3462     eval ac_cv_prog_make_${ac_make}_set=no;;
3463 esac
3464 rm -f conftest.make
3465 fi
3466 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3468 $as_echo "yes" >&6; }
3469   SET_MAKE=
3470 else
3471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3472 $as_echo "no" >&6; }
3473   SET_MAKE="MAKE=${MAKE-make}"
3474 fi
3475
3476 rm -rf .tst 2>/dev/null
3477 mkdir .tst 2>/dev/null
3478 if test -d .tst; then
3479   am__leading_dot=.
3480 else
3481   am__leading_dot=_
3482 fi
3483 rmdir .tst 2>/dev/null
3484
3485 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3486   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3487   # is not polluted with repeated "-I."
3488   am__isrc=' -I$(srcdir)'
3489   # test to see if srcdir already configured
3490   if test -f $srcdir/config.status; then
3491     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3492   fi
3493 fi
3494
3495 # test whether we have cygpath
3496 if test -z "$CYGPATH_W"; then
3497   if (cygpath --version) >/dev/null 2>/dev/null; then
3498     CYGPATH_W='cygpath -w'
3499   else
3500     CYGPATH_W=echo
3501   fi
3502 fi
3503
3504
3505 # Define the identity of the package.
3506  PACKAGE='libstdc++'
3507  VERSION='version-unused'
3508
3509
3510 # Some tools Automake needs.
3511
3512 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3513
3514
3515 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3516
3517
3518 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3519
3520
3521 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3522
3523
3524 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3525
3526 # We need awk for the "check" target.  The system "awk" is bad on
3527 # some platforms.
3528 # Always define AMTAR for backward compatibility.
3529
3530 AMTAR=${AMTAR-"${am_missing_run}tar"}
3531
3532 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3533
3534
3535
3536
3537
3538
3539
3540
3541 # -fno-builtin must be present here so that a non-conflicting form of
3542 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3543
3544 save_CXXFLAGS="$CXXFLAGS"
3545 CXXFLAGS="$CXXFLAGS -fno-builtin"
3546 ac_ext=c
3547 ac_cpp='$CPP $CPPFLAGS'
3548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3551 if test -n "$ac_tool_prefix"; then
3552   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3553 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3555 $as_echo_n "checking for $ac_word... " >&6; }
3556 if test "${ac_cv_prog_CC+set}" = set; then :
3557   $as_echo_n "(cached) " >&6
3558 else
3559   if test -n "$CC"; then
3560   ac_cv_prog_CC="$CC" # Let the user override the test.
3561 else
3562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3563 for as_dir in $PATH
3564 do
3565   IFS=$as_save_IFS
3566   test -z "$as_dir" && as_dir=.
3567     for ac_exec_ext in '' $ac_executable_extensions; do
3568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3569     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3570     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3571     break 2
3572   fi
3573 done
3574   done
3575 IFS=$as_save_IFS
3576
3577 fi
3578 fi
3579 CC=$ac_cv_prog_CC
3580 if test -n "$CC"; then
3581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3582 $as_echo "$CC" >&6; }
3583 else
3584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3585 $as_echo "no" >&6; }
3586 fi
3587
3588
3589 fi
3590 if test -z "$ac_cv_prog_CC"; then
3591   ac_ct_CC=$CC
3592   # Extract the first word of "gcc", so it can be a program name with args.
3593 set dummy gcc; ac_word=$2
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3595 $as_echo_n "checking for $ac_word... " >&6; }
3596 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3597   $as_echo_n "(cached) " >&6
3598 else
3599   if test -n "$ac_ct_CC"; then
3600   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3601 else
3602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3603 for as_dir in $PATH
3604 do
3605   IFS=$as_save_IFS
3606   test -z "$as_dir" && as_dir=.
3607     for ac_exec_ext in '' $ac_executable_extensions; do
3608   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3609     ac_cv_prog_ac_ct_CC="gcc"
3610     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3611     break 2
3612   fi
3613 done
3614   done
3615 IFS=$as_save_IFS
3616
3617 fi
3618 fi
3619 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3620 if test -n "$ac_ct_CC"; then
3621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3622 $as_echo "$ac_ct_CC" >&6; }
3623 else
3624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3625 $as_echo "no" >&6; }
3626 fi
3627
3628   if test "x$ac_ct_CC" = x; then
3629     CC=""
3630   else
3631     case $cross_compiling:$ac_tool_warned in
3632 yes:)
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3635 ac_tool_warned=yes ;;
3636 esac
3637     CC=$ac_ct_CC
3638   fi
3639 else
3640   CC="$ac_cv_prog_CC"
3641 fi
3642
3643 if test -z "$CC"; then
3644           if test -n "$ac_tool_prefix"; then
3645     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3646 set dummy ${ac_tool_prefix}cc; ac_word=$2
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3648 $as_echo_n "checking for $ac_word... " >&6; }
3649 if test "${ac_cv_prog_CC+set}" = set; then :
3650   $as_echo_n "(cached) " >&6
3651 else
3652   if test -n "$CC"; then
3653   ac_cv_prog_CC="$CC" # Let the user override the test.
3654 else
3655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3656 for as_dir in $PATH
3657 do
3658   IFS=$as_save_IFS
3659   test -z "$as_dir" && as_dir=.
3660     for ac_exec_ext in '' $ac_executable_extensions; do
3661   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3662     ac_cv_prog_CC="${ac_tool_prefix}cc"
3663     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3664     break 2
3665   fi
3666 done
3667   done
3668 IFS=$as_save_IFS
3669
3670 fi
3671 fi
3672 CC=$ac_cv_prog_CC
3673 if test -n "$CC"; then
3674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3675 $as_echo "$CC" >&6; }
3676 else
3677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3678 $as_echo "no" >&6; }
3679 fi
3680
3681
3682   fi
3683 fi
3684 if test -z "$CC"; then
3685   # Extract the first word of "cc", so it can be a program name with args.
3686 set dummy cc; ac_word=$2
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3688 $as_echo_n "checking for $ac_word... " >&6; }
3689 if test "${ac_cv_prog_CC+set}" = set; then :
3690   $as_echo_n "(cached) " >&6
3691 else
3692   if test -n "$CC"; then
3693   ac_cv_prog_CC="$CC" # Let the user override the test.
3694 else
3695   ac_prog_rejected=no
3696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3697 for as_dir in $PATH
3698 do
3699   IFS=$as_save_IFS
3700   test -z "$as_dir" && as_dir=.
3701     for ac_exec_ext in '' $ac_executable_extensions; do
3702   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3703     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3704        ac_prog_rejected=yes
3705        continue
3706      fi
3707     ac_cv_prog_CC="cc"
3708     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3709     break 2
3710   fi
3711 done
3712   done
3713 IFS=$as_save_IFS
3714
3715 if test $ac_prog_rejected = yes; then
3716   # We found a bogon in the path, so make sure we never use it.
3717   set dummy $ac_cv_prog_CC
3718   shift
3719   if test $# != 0; then
3720     # We chose a different compiler from the bogus one.
3721     # However, it has the same basename, so the bogon will be chosen
3722     # first if we set CC to just the basename; use the full file name.
3723     shift
3724     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3725   fi
3726 fi
3727 fi
3728 fi
3729 CC=$ac_cv_prog_CC
3730 if test -n "$CC"; then
3731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3732 $as_echo "$CC" >&6; }
3733 else
3734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3735 $as_echo "no" >&6; }
3736 fi
3737
3738
3739 fi
3740 if test -z "$CC"; then
3741   if test -n "$ac_tool_prefix"; then
3742   for ac_prog in cl.exe
3743   do
3744     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3745 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3747 $as_echo_n "checking for $ac_word... " >&6; }
3748 if test "${ac_cv_prog_CC+set}" = set; then :
3749   $as_echo_n "(cached) " >&6
3750 else
3751   if test -n "$CC"; then
3752   ac_cv_prog_CC="$CC" # Let the user override the test.
3753 else
3754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3755 for as_dir in $PATH
3756 do
3757   IFS=$as_save_IFS
3758   test -z "$as_dir" && as_dir=.
3759     for ac_exec_ext in '' $ac_executable_extensions; do
3760   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3761     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3762     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3763     break 2
3764   fi
3765 done
3766   done
3767 IFS=$as_save_IFS
3768
3769 fi
3770 fi
3771 CC=$ac_cv_prog_CC
3772 if test -n "$CC"; then
3773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3774 $as_echo "$CC" >&6; }
3775 else
3776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3777 $as_echo "no" >&6; }
3778 fi
3779
3780
3781     test -n "$CC" && break
3782   done
3783 fi
3784 if test -z "$CC"; then
3785   ac_ct_CC=$CC
3786   for ac_prog in cl.exe
3787 do
3788   # Extract the first word of "$ac_prog", so it can be a program name with args.
3789 set dummy $ac_prog; ac_word=$2
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3791 $as_echo_n "checking for $ac_word... " >&6; }
3792 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3793   $as_echo_n "(cached) " >&6
3794 else
3795   if test -n "$ac_ct_CC"; then
3796   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3797 else
3798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3799 for as_dir in $PATH
3800 do
3801   IFS=$as_save_IFS
3802   test -z "$as_dir" && as_dir=.
3803     for ac_exec_ext in '' $ac_executable_extensions; do
3804   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3805     ac_cv_prog_ac_ct_CC="$ac_prog"
3806     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3807     break 2
3808   fi
3809 done
3810   done
3811 IFS=$as_save_IFS
3812
3813 fi
3814 fi
3815 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3816 if test -n "$ac_ct_CC"; then
3817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3818 $as_echo "$ac_ct_CC" >&6; }
3819 else
3820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3821 $as_echo "no" >&6; }
3822 fi
3823
3824
3825   test -n "$ac_ct_CC" && break
3826 done
3827
3828   if test "x$ac_ct_CC" = x; then
3829     CC=""
3830   else
3831     case $cross_compiling:$ac_tool_warned in
3832 yes:)
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3835 ac_tool_warned=yes ;;
3836 esac
3837     CC=$ac_ct_CC
3838   fi
3839 fi
3840
3841 fi
3842
3843
3844 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3846 as_fn_error "no acceptable C compiler found in \$PATH
3847 See \`config.log' for more details." "$LINENO" 5; }
3848
3849 # Provide some information about the compiler.
3850 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3851 set X $ac_compile
3852 ac_compiler=$2
3853 for ac_option in --version -v -V -qversion; do
3854   { { ac_try="$ac_compiler $ac_option >&5"
3855 case "(($ac_try" in
3856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3857   *) ac_try_echo=$ac_try;;
3858 esac
3859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3860 $as_echo "$ac_try_echo"; } >&5
3861   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3862   ac_status=$?
3863   if test -s conftest.err; then
3864     sed '10a\
3865 ... rest of stderr output deleted ...
3866          10q' conftest.err >conftest.er1
3867     cat conftest.er1 >&5
3868     rm -f conftest.er1 conftest.err
3869   fi
3870   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3871   test $ac_status = 0; }
3872 done
3873
3874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3875 /* end confdefs.h.  */
3876
3877 int
3878 main ()
3879 {
3880
3881   ;
3882   return 0;
3883 }
3884 _ACEOF
3885 # FIXME: Cleanup?
3886 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3887   (eval $ac_link) 2>&5
3888   ac_status=$?
3889   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3890   test $ac_status = 0; }; then :
3891   gcc_no_link=no
3892 else
3893   gcc_no_link=yes
3894 fi
3895 if test x$gcc_no_link = xyes; then
3896   # Setting cross_compile will disable run tests; it will
3897   # also disable AC_CHECK_FILE but that's generally
3898   # correct if we can't link.
3899   cross_compiling=yes
3900   EXEEXT=
3901 else
3902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3903 /* end confdefs.h.  */
3904
3905 int
3906 main ()
3907 {
3908
3909   ;
3910   return 0;
3911 }
3912 _ACEOF
3913 ac_clean_files_save=$ac_clean_files
3914 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3915 # Try to create an executable without -o first, disregard a.out.
3916 # It will help us diagnose broken compilers, and finding out an intuition
3917 # of exeext.
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3919 $as_echo_n "checking for C compiler default output file name... " >&6; }
3920 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3921
3922 # The possible output files:
3923 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3924
3925 ac_rmfiles=
3926 for ac_file in $ac_files
3927 do
3928   case $ac_file in
3929     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3930     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3931   esac
3932 done
3933 rm -f $ac_rmfiles
3934
3935 if { { ac_try="$ac_link_default"
3936 case "(($ac_try" in
3937   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3938   *) ac_try_echo=$ac_try;;
3939 esac
3940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3941 $as_echo "$ac_try_echo"; } >&5
3942   (eval "$ac_link_default") 2>&5
3943   ac_status=$?
3944   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3945   test $ac_status = 0; }; then :
3946   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3947 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3948 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3949 # so that the user can short-circuit this test for compilers unknown to
3950 # Autoconf.
3951 for ac_file in $ac_files ''
3952 do
3953   test -f "$ac_file" || continue
3954   case $ac_file in
3955     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3956         ;;
3957     [ab].out )
3958         # We found the default executable, but exeext='' is most
3959         # certainly right.
3960         break;;
3961     *.* )
3962         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3963         then :; else
3964            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3965         fi
3966         # We set ac_cv_exeext here because the later test for it is not
3967         # safe: cross compilers may not add the suffix if given an `-o'
3968         # argument, so we may need to know it at that point already.
3969         # Even if this section looks crufty: it has the advantage of
3970         # actually working.
3971         break;;
3972     * )
3973         break;;
3974   esac
3975 done
3976 test "$ac_cv_exeext" = no && ac_cv_exeext=
3977
3978 else
3979   ac_file=''
3980 fi
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3982 $as_echo "$ac_file" >&6; }
3983 if test -z "$ac_file"; then :
3984   $as_echo "$as_me: failed program was:" >&5
3985 sed 's/^/| /' conftest.$ac_ext >&5
3986
3987 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3988 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3989 { as_fn_set_status 77
3990 as_fn_error "C compiler cannot create executables
3991 See \`config.log' for more details." "$LINENO" 5; }; }
3992 fi
3993 ac_exeext=$ac_cv_exeext
3994
3995 # Check that the compiler produces executables we can run.  If not, either
3996 # the compiler is broken, or we cross compile.
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3998 $as_echo_n "checking whether the C compiler works... " >&6; }
3999 # If not cross compiling, check that we can run a simple program.
4000 if test "$cross_compiling" != yes; then
4001   if { ac_try='./$ac_file'
4002   { { case "(($ac_try" in
4003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4004   *) ac_try_echo=$ac_try;;
4005 esac
4006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4007 $as_echo "$ac_try_echo"; } >&5
4008   (eval "$ac_try") 2>&5
4009   ac_status=$?
4010   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4011   test $ac_status = 0; }; }; then
4012     cross_compiling=no
4013   else
4014     if test "$cross_compiling" = maybe; then
4015         cross_compiling=yes
4016     else
4017         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4019 as_fn_error "cannot run C compiled programs.
4020 If you meant to cross compile, use \`--host'.
4021 See \`config.log' for more details." "$LINENO" 5; }
4022     fi
4023   fi
4024 fi
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4026 $as_echo "yes" >&6; }
4027
4028 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4029 ac_clean_files=$ac_clean_files_save
4030 # Check that the compiler produces executables we can run.  If not, either
4031 # the compiler is broken, or we cross compile.
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4033 $as_echo_n "checking whether we are cross compiling... " >&6; }
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4035 $as_echo "$cross_compiling" >&6; }
4036
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4038 $as_echo_n "checking for suffix of executables... " >&6; }
4039 if { { ac_try="$ac_link"
4040 case "(($ac_try" in
4041   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4042   *) ac_try_echo=$ac_try;;
4043 esac
4044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4045 $as_echo "$ac_try_echo"; } >&5
4046   (eval "$ac_link") 2>&5
4047   ac_status=$?
4048   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4049   test $ac_status = 0; }; then :
4050   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4051 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4052 # work properly (i.e., refer to `conftest.exe'), while it won't with
4053 # `rm'.
4054 for ac_file in conftest.exe conftest conftest.*; do
4055   test -f "$ac_file" || continue
4056   case $ac_file in
4057     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4058     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4059           break;;
4060     * ) break;;
4061   esac
4062 done
4063 else
4064   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4066 as_fn_error "cannot compute suffix of executables: cannot compile and link
4067 See \`config.log' for more details." "$LINENO" 5; }
4068 fi
4069 rm -f conftest$ac_cv_exeext
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4071 $as_echo "$ac_cv_exeext" >&6; }
4072
4073 rm -f conftest.$ac_ext
4074 EXEEXT=$ac_cv_exeext
4075 ac_exeext=$EXEEXT
4076 fi
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4078 $as_echo_n "checking for suffix of object files... " >&6; }
4079 if test "${ac_cv_objext+set}" = set; then :
4080   $as_echo_n "(cached) " >&6
4081 else
4082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4083 /* end confdefs.h.  */
4084
4085 int
4086 main ()
4087 {
4088
4089   ;
4090   return 0;
4091 }
4092 _ACEOF
4093 rm -f conftest.o conftest.obj
4094 if { { ac_try="$ac_compile"
4095 case "(($ac_try" in
4096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4097   *) ac_try_echo=$ac_try;;
4098 esac
4099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4100 $as_echo "$ac_try_echo"; } >&5
4101   (eval "$ac_compile") 2>&5
4102   ac_status=$?
4103   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4104   test $ac_status = 0; }; then :
4105   for ac_file in conftest.o conftest.obj conftest.*; do
4106   test -f "$ac_file" || continue;
4107   case $ac_file in
4108     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4109     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4110        break;;
4111   esac
4112 done
4113 else
4114   $as_echo "$as_me: failed program was:" >&5
4115 sed 's/^/| /' conftest.$ac_ext >&5
4116
4117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4119 as_fn_error "cannot compute suffix of object files: cannot compile
4120 See \`config.log' for more details." "$LINENO" 5; }
4121 fi
4122 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4123 fi
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4125 $as_echo "$ac_cv_objext" >&6; }
4126 OBJEXT=$ac_cv_objext
4127 ac_objext=$OBJEXT
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4129 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4130 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4131   $as_echo_n "(cached) " >&6
4132 else
4133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h.  */
4135
4136 int
4137 main ()
4138 {
4139 #ifndef __GNUC__
4140        choke me
4141 #endif
4142
4143   ;
4144   return 0;
4145 }
4146 _ACEOF
4147 if ac_fn_c_try_compile "$LINENO"; then :
4148   ac_compiler_gnu=yes
4149 else
4150   ac_compiler_gnu=no
4151 fi
4152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4153 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4154
4155 fi
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4157 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4158 if test $ac_compiler_gnu = yes; then
4159   GCC=yes
4160 else
4161   GCC=
4162 fi
4163 ac_test_CFLAGS=${CFLAGS+set}
4164 ac_save_CFLAGS=$CFLAGS
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4166 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4167 if test "${ac_cv_prog_cc_g+set}" = set; then :
4168   $as_echo_n "(cached) " >&6
4169 else
4170   ac_save_c_werror_flag=$ac_c_werror_flag
4171    ac_c_werror_flag=yes
4172    ac_cv_prog_cc_g=no
4173    CFLAGS="-g"
4174    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4175 /* end confdefs.h.  */
4176
4177 int
4178 main ()
4179 {
4180
4181   ;
4182   return 0;
4183 }
4184 _ACEOF
4185 if ac_fn_c_try_compile "$LINENO"; then :
4186   ac_cv_prog_cc_g=yes
4187 else
4188   CFLAGS=""
4189       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h.  */
4191
4192 int
4193 main ()
4194 {
4195
4196   ;
4197   return 0;
4198 }
4199 _ACEOF
4200 if ac_fn_c_try_compile "$LINENO"; then :
4201
4202 else
4203   ac_c_werror_flag=$ac_save_c_werror_flag
4204          CFLAGS="-g"
4205          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h.  */
4207
4208 int
4209 main ()
4210 {
4211
4212   ;
4213   return 0;
4214 }
4215 _ACEOF
4216 if ac_fn_c_try_compile "$LINENO"; then :
4217   ac_cv_prog_cc_g=yes
4218 fi
4219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4220 fi
4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222 fi
4223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4224    ac_c_werror_flag=$ac_save_c_werror_flag
4225 fi
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4227 $as_echo "$ac_cv_prog_cc_g" >&6; }
4228 if test "$ac_test_CFLAGS" = set; then
4229   CFLAGS=$ac_save_CFLAGS
4230 elif test $ac_cv_prog_cc_g = yes; then
4231   if test "$GCC" = yes; then
4232     CFLAGS="-g -O2"
4233   else
4234     CFLAGS="-g"
4235   fi
4236 else
4237   if test "$GCC" = yes; then
4238     CFLAGS="-O2"
4239   else
4240     CFLAGS=
4241   fi
4242 fi
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4244 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4245 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4246   $as_echo_n "(cached) " >&6
4247 else
4248   ac_cv_prog_cc_c89=no
4249 ac_save_CC=$CC
4250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4251 /* end confdefs.h.  */
4252 #include <stdarg.h>
4253 #include <stdio.h>
4254 #include <sys/types.h>
4255 #include <sys/stat.h>
4256 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4257 struct buf { int x; };
4258 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4259 static char *e (p, i)
4260      char **p;
4261      int i;
4262 {
4263   return p[i];
4264 }
4265 static char *f (char * (*g) (char **, int), char **p, ...)
4266 {
4267   char *s;
4268   va_list v;
4269   va_start (v,p);
4270   s = g (p, va_arg (v,int));
4271   va_end (v);
4272   return s;
4273 }
4274
4275 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4276    function prototypes and stuff, but not '\xHH' hex character constants.
4277    These don't provoke an error unfortunately, instead are silently treated
4278    as 'x'.  The following induces an error, until -std is added to get
4279    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4280    array size at least.  It's necessary to write '\x00'==0 to get something
4281    that's true only with -std.  */
4282 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4283
4284 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4285    inside strings and character constants.  */
4286 #define FOO(x) 'x'
4287 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4288
4289 int test (int i, double x);
4290 struct s1 {int (*f) (int a);};
4291 struct s2 {int (*f) (double a);};
4292 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4293 int argc;
4294 char **argv;
4295 int
4296 main ()
4297 {
4298 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4299   ;
4300   return 0;
4301 }
4302 _ACEOF
4303 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4304         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4305 do
4306   CC="$ac_save_CC $ac_arg"
4307   if ac_fn_c_try_compile "$LINENO"; then :
4308   ac_cv_prog_cc_c89=$ac_arg
4309 fi
4310 rm -f core conftest.err conftest.$ac_objext
4311   test "x$ac_cv_prog_cc_c89" != "xno" && break
4312 done
4313 rm -f conftest.$ac_ext
4314 CC=$ac_save_CC
4315
4316 fi
4317 # AC_CACHE_VAL
4318 case "x$ac_cv_prog_cc_c89" in
4319   x)
4320     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4321 $as_echo "none needed" >&6; } ;;
4322   xno)
4323     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4324 $as_echo "unsupported" >&6; } ;;
4325   *)
4326     CC="$CC $ac_cv_prog_cc_c89"
4327     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4328 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4329 esac
4330 if test "x$ac_cv_prog_cc_c89" != xno; then :
4331
4332 fi
4333
4334 ac_ext=c
4335 ac_cpp='$CPP $CPPFLAGS'
4336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4339
4340 ac_ext=cpp
4341 ac_cpp='$CXXCPP $CPPFLAGS'
4342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4345 if test -z "$CXX"; then
4346   if test -n "$CCC"; then
4347     CXX=$CCC
4348   else
4349     if test -n "$ac_tool_prefix"; then
4350   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4351   do
4352     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4353 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4355 $as_echo_n "checking for $ac_word... " >&6; }
4356 if test "${ac_cv_prog_CXX+set}" = set; then :
4357   $as_echo_n "(cached) " >&6
4358 else
4359   if test -n "$CXX"; then
4360   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4361 else
4362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4363 for as_dir in $PATH
4364 do
4365   IFS=$as_save_IFS
4366   test -z "$as_dir" && as_dir=.
4367     for ac_exec_ext in '' $ac_executable_extensions; do
4368   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4369     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4371     break 2
4372   fi
4373 done
4374   done
4375 IFS=$as_save_IFS
4376
4377 fi
4378 fi
4379 CXX=$ac_cv_prog_CXX
4380 if test -n "$CXX"; then
4381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4382 $as_echo "$CXX" >&6; }
4383 else
4384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4385 $as_echo "no" >&6; }
4386 fi
4387
4388
4389     test -n "$CXX" && break
4390   done
4391 fi
4392 if test -z "$CXX"; then
4393   ac_ct_CXX=$CXX
4394   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4395 do
4396   # Extract the first word of "$ac_prog", so it can be a program name with args.
4397 set dummy $ac_prog; ac_word=$2
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4399 $as_echo_n "checking for $ac_word... " >&6; }
4400 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4401   $as_echo_n "(cached) " >&6
4402 else
4403   if test -n "$ac_ct_CXX"; then
4404   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4405 else
4406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4407 for as_dir in $PATH
4408 do
4409   IFS=$as_save_IFS
4410   test -z "$as_dir" && as_dir=.
4411     for ac_exec_ext in '' $ac_executable_extensions; do
4412   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4413     ac_cv_prog_ac_ct_CXX="$ac_prog"
4414     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4415     break 2
4416   fi
4417 done
4418   done
4419 IFS=$as_save_IFS
4420
4421 fi
4422 fi
4423 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4424 if test -n "$ac_ct_CXX"; then
4425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4426 $as_echo "$ac_ct_CXX" >&6; }
4427 else
4428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429 $as_echo "no" >&6; }
4430 fi
4431
4432
4433   test -n "$ac_ct_CXX" && break
4434 done
4435
4436   if test "x$ac_ct_CXX" = x; then
4437     CXX="g++"
4438   else
4439     case $cross_compiling:$ac_tool_warned in
4440 yes:)
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4443 ac_tool_warned=yes ;;
4444 esac
4445     CXX=$ac_ct_CXX
4446   fi
4447 fi
4448
4449   fi
4450 fi
4451 # Provide some information about the compiler.
4452 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4453 set X $ac_compile
4454 ac_compiler=$2
4455 for ac_option in --version -v -V -qversion; do
4456   { { ac_try="$ac_compiler $ac_option >&5"
4457 case "(($ac_try" in
4458   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4459   *) ac_try_echo=$ac_try;;
4460 esac
4461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4462 $as_echo "$ac_try_echo"; } >&5
4463   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4464   ac_status=$?
4465   if test -s conftest.err; then
4466     sed '10a\
4467 ... rest of stderr output deleted ...
4468          10q' conftest.err >conftest.er1
4469     cat conftest.er1 >&5
4470     rm -f conftest.er1 conftest.err
4471   fi
4472   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4473   test $ac_status = 0; }
4474 done
4475
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4477 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4478 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4479   $as_echo_n "(cached) " >&6
4480 else
4481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h.  */
4483
4484 int
4485 main ()
4486 {
4487 #ifndef __GNUC__
4488        choke me
4489 #endif
4490
4491   ;
4492   return 0;
4493 }
4494 _ACEOF
4495 if ac_fn_cxx_try_compile "$LINENO"; then :
4496   ac_compiler_gnu=yes
4497 else
4498   ac_compiler_gnu=no
4499 fi
4500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4501 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4502
4503 fi
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4505 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4506 if test $ac_compiler_gnu = yes; then
4507   GXX=yes
4508 else
4509   GXX=
4510 fi
4511 ac_test_CXXFLAGS=${CXXFLAGS+set}
4512 ac_save_CXXFLAGS=$CXXFLAGS
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4514 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4515 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4516   $as_echo_n "(cached) " >&6
4517 else
4518   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4519    ac_cxx_werror_flag=yes
4520    ac_cv_prog_cxx_g=no
4521    CXXFLAGS="-g"
4522    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h.  */
4524
4525 int
4526 main ()
4527 {
4528
4529   ;
4530   return 0;
4531 }
4532 _ACEOF
4533 if ac_fn_cxx_try_compile "$LINENO"; then :
4534   ac_cv_prog_cxx_g=yes
4535 else
4536   CXXFLAGS=""
4537       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4538 /* end confdefs.h.  */
4539
4540 int
4541 main ()
4542 {
4543
4544   ;
4545   return 0;
4546 }
4547 _ACEOF
4548 if ac_fn_cxx_try_compile "$LINENO"; then :
4549
4550 else
4551   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4552          CXXFLAGS="-g"
4553          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4554 /* end confdefs.h.  */
4555
4556 int
4557 main ()
4558 {
4559
4560   ;
4561   return 0;
4562 }
4563 _ACEOF
4564 if ac_fn_cxx_try_compile "$LINENO"; then :
4565   ac_cv_prog_cxx_g=yes
4566 fi
4567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4568 fi
4569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4570 fi
4571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4572    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4573 fi
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4575 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4576 if test "$ac_test_CXXFLAGS" = set; then
4577   CXXFLAGS=$ac_save_CXXFLAGS
4578 elif test $ac_cv_prog_cxx_g = yes; then
4579   if test "$GXX" = yes; then
4580     CXXFLAGS="-g -O2"
4581   else
4582     CXXFLAGS="-g"
4583   fi
4584 else
4585   if test "$GXX" = yes; then
4586     CXXFLAGS="-O2"
4587   else
4588     CXXFLAGS=
4589   fi
4590 fi
4591 ac_ext=c
4592 ac_cpp='$CPP $CPPFLAGS'
4593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4596
4597 CXXFLAGS="$save_CXXFLAGS"
4598
4599 # Runs configure.host, and assorted other critical bits.  Sets
4600 # up critical shell variables.
4601
4602 ac_ext=c
4603 ac_cpp='$CPP $CPPFLAGS'
4604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4608 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4609 # On Suns, sometimes $CPP names a directory.
4610 if test -n "$CPP" && test -d "$CPP"; then
4611   CPP=
4612 fi
4613 if test -z "$CPP"; then
4614   if test "${ac_cv_prog_CPP+set}" = set; then :
4615   $as_echo_n "(cached) " >&6
4616 else
4617       # Double quotes because CPP needs to be expanded
4618     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4619     do
4620       ac_preproc_ok=false
4621 for ac_c_preproc_warn_flag in '' yes
4622 do
4623   # Use a header file that comes with gcc, so configuring glibc
4624   # with a fresh cross-compiler works.
4625   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4626   # <limits.h> exists even on freestanding compilers.
4627   # On the NeXT, cc -E runs the code through the compiler's parser,
4628   # not just through cpp. "Syntax error" is here to catch this case.
4629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4630 /* end confdefs.h.  */
4631 #ifdef __STDC__
4632 # include <limits.h>
4633 #else
4634 # include <assert.h>
4635 #endif
4636                      Syntax error
4637 _ACEOF
4638 if ac_fn_c_try_cpp "$LINENO"; then :
4639
4640 else
4641   # Broken: fails on valid input.
4642 continue
4643 fi
4644 rm -f conftest.err conftest.$ac_ext
4645
4646   # OK, works on sane cases.  Now check whether nonexistent headers
4647   # can be detected and how.
4648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4649 /* end confdefs.h.  */
4650 #include <ac_nonexistent.h>
4651 _ACEOF
4652 if ac_fn_c_try_cpp "$LINENO"; then :
4653   # Broken: success on invalid input.
4654 continue
4655 else
4656   # Passes both tests.
4657 ac_preproc_ok=:
4658 break
4659 fi
4660 rm -f conftest.err conftest.$ac_ext
4661
4662 done
4663 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4664 rm -f conftest.err conftest.$ac_ext
4665 if $ac_preproc_ok; then :
4666   break
4667 fi
4668
4669     done
4670     ac_cv_prog_CPP=$CPP
4671
4672 fi
4673   CPP=$ac_cv_prog_CPP
4674 else
4675   ac_cv_prog_CPP=$CPP
4676 fi
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4678 $as_echo "$CPP" >&6; }
4679 ac_preproc_ok=false
4680 for ac_c_preproc_warn_flag in '' yes
4681 do
4682   # Use a header file that comes with gcc, so configuring glibc
4683   # with a fresh cross-compiler works.
4684   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4685   # <limits.h> exists even on freestanding compilers.
4686   # On the NeXT, cc -E runs the code through the compiler's parser,
4687   # not just through cpp. "Syntax error" is here to catch this case.
4688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4689 /* end confdefs.h.  */
4690 #ifdef __STDC__
4691 # include <limits.h>
4692 #else
4693 # include <assert.h>
4694 #endif
4695                      Syntax error
4696 _ACEOF
4697 if ac_fn_c_try_cpp "$LINENO"; then :
4698
4699 else
4700   # Broken: fails on valid input.
4701 continue
4702 fi
4703 rm -f conftest.err conftest.$ac_ext
4704
4705   # OK, works on sane cases.  Now check whether nonexistent headers
4706   # can be detected and how.
4707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4708 /* end confdefs.h.  */
4709 #include <ac_nonexistent.h>
4710 _ACEOF
4711 if ac_fn_c_try_cpp "$LINENO"; then :
4712   # Broken: success on invalid input.
4713 continue
4714 else
4715   # Passes both tests.
4716 ac_preproc_ok=:
4717 break
4718 fi
4719 rm -f conftest.err conftest.$ac_ext
4720
4721 done
4722 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4723 rm -f conftest.err conftest.$ac_ext
4724 if $ac_preproc_ok; then :
4725
4726 else
4727   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4729 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4730 See \`config.log' for more details." "$LINENO" 5; }
4731 fi
4732
4733 ac_ext=c
4734 ac_cpp='$CPP $CPPFLAGS'
4735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4738
4739
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4741 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4742 if test "${ac_cv_path_GREP+set}" = set; then :
4743   $as_echo_n "(cached) " >&6
4744 else
4745   if test -z "$GREP"; then
4746   ac_path_GREP_found=false
4747   # Loop through the user's path and test for each of PROGNAME-LIST
4748   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4749 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4750 do
4751   IFS=$as_save_IFS
4752   test -z "$as_dir" && as_dir=.
4753     for ac_prog in grep ggrep; do
4754     for ac_exec_ext in '' $ac_executable_extensions; do
4755       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4756       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4757 # Check for GNU ac_path_GREP and select it if it is found.
4758   # Check for GNU $ac_path_GREP
4759 case `"$ac_path_GREP" --version 2>&1` in
4760 *GNU*)
4761   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4762 *)
4763   ac_count=0
4764   $as_echo_n 0123456789 >"conftest.in"
4765   while :
4766   do
4767     cat "conftest.in" "conftest.in" >"conftest.tmp"
4768     mv "conftest.tmp" "conftest.in"
4769     cp "conftest.in" "conftest.nl"
4770     $as_echo 'GREP' >> "conftest.nl"
4771     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4772     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4773     as_fn_arith $ac_count + 1 && ac_count=$as_val
4774     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4775       # Best one so far, save it but keep looking for a better one
4776       ac_cv_path_GREP="$ac_path_GREP"
4777       ac_path_GREP_max=$ac_count
4778     fi
4779     # 10*(2^10) chars as input seems more than enough
4780     test $ac_count -gt 10 && break
4781   done
4782   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4783 esac
4784
4785       $ac_path_GREP_found && break 3
4786     done
4787   done
4788   done
4789 IFS=$as_save_IFS
4790   if test -z "$ac_cv_path_GREP"; then
4791     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4792   fi
4793 else
4794   ac_cv_path_GREP=$GREP
4795 fi
4796
4797 fi
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4799 $as_echo "$ac_cv_path_GREP" >&6; }
4800  GREP="$ac_cv_path_GREP"
4801
4802
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4804 $as_echo_n "checking for egrep... " >&6; }
4805 if test "${ac_cv_path_EGREP+set}" = set; then :
4806   $as_echo_n "(cached) " >&6
4807 else
4808   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4809    then ac_cv_path_EGREP="$GREP -E"
4810    else
4811      if test -z "$EGREP"; then
4812   ac_path_EGREP_found=false
4813   # Loop through the user's path and test for each of PROGNAME-LIST
4814   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4815 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4816 do
4817   IFS=$as_save_IFS
4818   test -z "$as_dir" && as_dir=.
4819     for ac_prog in egrep; do
4820     for ac_exec_ext in '' $ac_executable_extensions; do
4821       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4822       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4823 # Check for GNU ac_path_EGREP and select it if it is found.
4824   # Check for GNU $ac_path_EGREP
4825 case `"$ac_path_EGREP" --version 2>&1` in
4826 *GNU*)
4827   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4828 *)
4829   ac_count=0
4830   $as_echo_n 0123456789 >"conftest.in"
4831   while :
4832   do
4833     cat "conftest.in" "conftest.in" >"conftest.tmp"
4834     mv "conftest.tmp" "conftest.in"
4835     cp "conftest.in" "conftest.nl"
4836     $as_echo 'EGREP' >> "conftest.nl"
4837     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4838     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4839     as_fn_arith $ac_count + 1 && ac_count=$as_val
4840     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4841       # Best one so far, save it but keep looking for a better one
4842       ac_cv_path_EGREP="$ac_path_EGREP"
4843       ac_path_EGREP_max=$ac_count
4844     fi
4845     # 10*(2^10) chars as input seems more than enough
4846     test $ac_count -gt 10 && break
4847   done
4848   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4849 esac
4850
4851       $ac_path_EGREP_found && break 3
4852     done
4853   done
4854   done
4855 IFS=$as_save_IFS
4856   if test -z "$ac_cv_path_EGREP"; then
4857     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4858   fi
4859 else
4860   ac_cv_path_EGREP=$EGREP
4861 fi
4862
4863    fi
4864 fi
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4866 $as_echo "$ac_cv_path_EGREP" >&6; }
4867  EGREP="$ac_cv_path_EGREP"
4868
4869
4870
4871   # Keep these sync'd with the list in Makefile.am.  The first provides an
4872   # expandable list at autoconf time; the second provides an expandable list
4873   # (i.e., shell variable) at configure time.
4874
4875   SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4876
4877   # These need to be absolute paths, yet at the same time need to
4878   # canonicalize only relative paths, because then amd will not unmount
4879   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4880   glibcxx_builddir=`${PWDCMD-pwd}`
4881   case $srcdir in
4882     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4883     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4884   esac
4885   toplevel_builddir=${glibcxx_builddir}/..
4886   toplevel_srcdir=${glibcxx_srcdir}/..
4887
4888
4889
4890
4891
4892   # We use these options to decide which functions to include.  They are
4893   # set from the top level.
4894
4895 # Check whether --with-target-subdir was given.
4896 if test "${with_target_subdir+set}" = set; then :
4897   withval=$with_target_subdir;
4898 fi
4899
4900
4901
4902 # Check whether --with-cross-host was given.
4903 if test "${with_cross_host+set}" = set; then :
4904   withval=$with_cross_host;
4905 fi
4906
4907
4908
4909 # Check whether --with-newlib was given.
4910 if test "${with_newlib+set}" = set; then :
4911   withval=$with_newlib;
4912 fi
4913
4914
4915   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4916   # available).  Uncomment the next line to force a particular method.
4917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4918 $as_echo_n "checking whether ln -s works... " >&6; }
4919 LN_S=$as_ln_s
4920 if test "$LN_S" = "ln -s"; then
4921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4922 $as_echo "yes" >&6; }
4923 else
4924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4925 $as_echo "no, using $LN_S" >&6; }
4926 fi
4927
4928   #LN_S='cp -p'
4929
4930   if test -n "$ac_tool_prefix"; then
4931   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4932 set dummy ${ac_tool_prefix}as; ac_word=$2
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4934 $as_echo_n "checking for $ac_word... " >&6; }
4935 if test "${ac_cv_prog_AS+set}" = set; then :
4936   $as_echo_n "(cached) " >&6
4937 else
4938   if test -n "$AS"; then
4939   ac_cv_prog_AS="$AS" # Let the user override the test.
4940 else
4941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4942 for as_dir in $PATH
4943 do
4944   IFS=$as_save_IFS
4945   test -z "$as_dir" && as_dir=.
4946     for ac_exec_ext in '' $ac_executable_extensions; do
4947   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4948     ac_cv_prog_AS="${ac_tool_prefix}as"
4949     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4950     break 2
4951   fi
4952 done
4953   done
4954 IFS=$as_save_IFS
4955
4956 fi
4957 fi
4958 AS=$ac_cv_prog_AS
4959 if test -n "$AS"; then
4960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4961 $as_echo "$AS" >&6; }
4962 else
4963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 $as_echo "no" >&6; }
4965 fi
4966
4967
4968 fi
4969 if test -z "$ac_cv_prog_AS"; then
4970   ac_ct_AS=$AS
4971   # Extract the first word of "as", so it can be a program name with args.
4972 set dummy as; ac_word=$2
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4975 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4976   $as_echo_n "(cached) " >&6
4977 else
4978   if test -n "$ac_ct_AS"; then
4979   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4980 else
4981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982 for as_dir in $PATH
4983 do
4984   IFS=$as_save_IFS
4985   test -z "$as_dir" && as_dir=.
4986     for ac_exec_ext in '' $ac_executable_extensions; do
4987   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4988     ac_cv_prog_ac_ct_AS="as"
4989     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4990     break 2
4991   fi
4992 done
4993   done
4994 IFS=$as_save_IFS
4995
4996 fi
4997 fi
4998 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4999 if test -n "$ac_ct_AS"; then
5000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5001 $as_echo "$ac_ct_AS" >&6; }
5002 else
5003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 $as_echo "no" >&6; }
5005 fi
5006
5007   if test "x$ac_ct_AS" = x; then
5008     AS=""
5009   else
5010     case $cross_compiling:$ac_tool_warned in
5011 yes:)
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5014 ac_tool_warned=yes ;;
5015 esac
5016     AS=$ac_ct_AS
5017   fi
5018 else
5019   AS="$ac_cv_prog_AS"
5020 fi
5021
5022   if test -n "$ac_tool_prefix"; then
5023   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5024 set dummy ${ac_tool_prefix}ar; ac_word=$2
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5026 $as_echo_n "checking for $ac_word... " >&6; }
5027 if test "${ac_cv_prog_AR+set}" = set; then :
5028   $as_echo_n "(cached) " >&6
5029 else
5030   if test -n "$AR"; then
5031   ac_cv_prog_AR="$AR" # Let the user override the test.
5032 else
5033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5034 for as_dir in $PATH
5035 do
5036   IFS=$as_save_IFS
5037   test -z "$as_dir" && as_dir=.
5038     for ac_exec_ext in '' $ac_executable_extensions; do
5039   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5040     ac_cv_prog_AR="${ac_tool_prefix}ar"
5041     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5042     break 2
5043   fi
5044 done
5045   done
5046 IFS=$as_save_IFS
5047
5048 fi
5049 fi
5050 AR=$ac_cv_prog_AR
5051 if test -n "$AR"; then
5052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5053 $as_echo "$AR" >&6; }
5054 else
5055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5056 $as_echo "no" >&6; }
5057 fi
5058
5059
5060 fi
5061 if test -z "$ac_cv_prog_AR"; then
5062   ac_ct_AR=$AR
5063   # Extract the first word of "ar", so it can be a program name with args.
5064 set dummy ar; ac_word=$2
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5066 $as_echo_n "checking for $ac_word... " >&6; }
5067 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5068   $as_echo_n "(cached) " >&6
5069 else
5070   if test -n "$ac_ct_AR"; then
5071   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5072 else
5073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5074 for as_dir in $PATH
5075 do
5076   IFS=$as_save_IFS
5077   test -z "$as_dir" && as_dir=.
5078     for ac_exec_ext in '' $ac_executable_extensions; do
5079   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5080     ac_cv_prog_ac_ct_AR="ar"
5081     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5082     break 2
5083   fi
5084 done
5085   done
5086 IFS=$as_save_IFS
5087
5088 fi
5089 fi
5090 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5091 if test -n "$ac_ct_AR"; then
5092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5093 $as_echo "$ac_ct_AR" >&6; }
5094 else
5095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5096 $as_echo "no" >&6; }
5097 fi
5098
5099   if test "x$ac_ct_AR" = x; then
5100     AR=""
5101   else
5102     case $cross_compiling:$ac_tool_warned in
5103 yes:)
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5106 ac_tool_warned=yes ;;
5107 esac
5108     AR=$ac_ct_AR
5109   fi
5110 else
5111   AR="$ac_cv_prog_AR"
5112 fi
5113
5114   if test -n "$ac_tool_prefix"; then
5115   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5116 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5118 $as_echo_n "checking for $ac_word... " >&6; }
5119 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5120   $as_echo_n "(cached) " >&6
5121 else
5122   if test -n "$RANLIB"; then
5123   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5124 else
5125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5126 for as_dir in $PATH
5127 do
5128   IFS=$as_save_IFS
5129   test -z "$as_dir" && as_dir=.
5130     for ac_exec_ext in '' $ac_executable_extensions; do
5131   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5132     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5133     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5134     break 2
5135   fi
5136 done
5137   done
5138 IFS=$as_save_IFS
5139
5140 fi
5141 fi
5142 RANLIB=$ac_cv_prog_RANLIB
5143 if test -n "$RANLIB"; then
5144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5145 $as_echo "$RANLIB" >&6; }
5146 else
5147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5148 $as_echo "no" >&6; }
5149 fi
5150
5151
5152 fi
5153 if test -z "$ac_cv_prog_RANLIB"; then
5154   ac_ct_RANLIB=$RANLIB
5155   # Extract the first word of "ranlib", so it can be a program name with args.
5156 set dummy ranlib; ac_word=$2
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5158 $as_echo_n "checking for $ac_word... " >&6; }
5159 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5160   $as_echo_n "(cached) " >&6
5161 else
5162   if test -n "$ac_ct_RANLIB"; then
5163   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5164 else
5165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5166 for as_dir in $PATH
5167 do
5168   IFS=$as_save_IFS
5169   test -z "$as_dir" && as_dir=.
5170     for ac_exec_ext in '' $ac_executable_extensions; do
5171   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5172     ac_cv_prog_ac_ct_RANLIB="ranlib"
5173     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5174     break 2
5175   fi
5176 done
5177   done
5178 IFS=$as_save_IFS
5179
5180 fi
5181 fi
5182 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5183 if test -n "$ac_ct_RANLIB"; then
5184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5185 $as_echo "$ac_ct_RANLIB" >&6; }
5186 else
5187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5188 $as_echo "no" >&6; }
5189 fi
5190
5191   if test "x$ac_ct_RANLIB" = x; then
5192     RANLIB="ranlib-not-found-in-path-error"
5193   else
5194     case $cross_compiling:$ac_tool_warned in
5195 yes:)
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5198 ac_tool_warned=yes ;;
5199 esac
5200     RANLIB=$ac_ct_RANLIB
5201   fi
5202 else
5203   RANLIB="$ac_cv_prog_RANLIB"
5204 fi
5205
5206
5207
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5209 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5210     # Check whether --enable-maintainer-mode was given.
5211 if test "${enable_maintainer_mode+set}" = set; then :
5212   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5213 else
5214   USE_MAINTAINER_MODE=no
5215 fi
5216
5217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5218 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5219    if test $USE_MAINTAINER_MODE = yes; then
5220   MAINTAINER_MODE_TRUE=
5221   MAINTAINER_MODE_FALSE='#'
5222 else
5223   MAINTAINER_MODE_TRUE='#'
5224   MAINTAINER_MODE_FALSE=
5225 fi
5226
5227   MAINT=$MAINTAINER_MODE_TRUE
5228
5229
5230
5231   # Set up safe default values for all subsequent AM_CONDITIONAL tests
5232   # which are themselves conditionally expanded.
5233   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5234   ## other macros from doing the same.  This should be automated.)  -pme
5235
5236   # Check for C library flavor since GNU/Linux platforms use different
5237   # configuration directories depending on the C library in use.
5238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5239 /* end confdefs.h.  */
5240
5241   #include <stdio.h>
5242   #if __UCLIBC__
5243     _using_uclibc
5244   #endif
5245
5246 _ACEOF
5247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5248   $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5249   uclibc=yes
5250 else
5251   uclibc=no
5252 fi
5253 rm -f conftest*
5254
5255
5256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5257 /* end confdefs.h.  */
5258
5259   #include <stdio.h>
5260   #if __BIONIC__
5261     _using_bionic
5262   #endif
5263
5264 _ACEOF
5265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5266   $EGREP "_using_bionic" >/dev/null 2>&1; then :
5267   bionic=yes
5268 else
5269   bionic=no
5270 fi
5271 rm -f conftest*
5272
5273
5274   # Find platform-specific directories containing configuration info.
5275   # Also possibly modify flags used elsewhere, as needed by the platform.
5276
5277   . $glibcxx_srcdir/configure.host
5278   { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5279 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5280   { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5281 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5282
5283
5284
5285 if test "x${with_newlib}" != "xyes"; then
5286   enable_dlopen=yes
5287
5288
5289
5290 fi
5291 case `pwd` in
5292   *\ * | *\     *)
5293     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5294 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5295 esac
5296
5297
5298
5299 macro_version='2.2.7a'
5300 macro_revision='1.3134'
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314 ltmain="$ac_aux_dir/ltmain.sh"
5315
5316 # Backslashify metacharacters that are still active within
5317 # double-quoted strings.
5318 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5319
5320 # Same as above, but do not quote variable references.
5321 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5322
5323 # Sed substitution to delay expansion of an escaped shell variable in a
5324 # double_quote_subst'ed string.
5325 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5326
5327 # Sed substitution to delay expansion of an escaped single quote.
5328 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5329
5330 # Sed substitution to avoid accidental globbing in evaled expressions
5331 no_glob_subst='s/\*/\\\*/g'
5332
5333 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5334 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5335 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5336
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5338 $as_echo_n "checking how to print strings... " >&6; }
5339 # Test print first, because it will be a builtin if present.
5340 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5341    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5342   ECHO='print -r --'
5343 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5344   ECHO='printf %s\n'
5345 else
5346   # Use this function as a fallback that always works.
5347   func_fallback_echo ()
5348   {
5349     eval 'cat <<_LTECHO_EOF
5350 $1
5351 _LTECHO_EOF'
5352   }
5353   ECHO='func_fallback_echo'
5354 fi
5355
5356 # func_echo_all arg...
5357 # Invoke $ECHO with all args, space-separated.
5358 func_echo_all ()
5359 {
5360     $ECHO ""
5361 }
5362
5363 case "$ECHO" in
5364   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5365 $as_echo "printf" >&6; } ;;
5366   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5367 $as_echo "print -r" >&6; } ;;
5368   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5369 $as_echo "cat" >&6; } ;;
5370 esac
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5386 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5387 if test "${ac_cv_path_SED+set}" = set; then :
5388   $as_echo_n "(cached) " >&6
5389 else
5390             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5391      for ac_i in 1 2 3 4 5 6 7; do
5392        ac_script="$ac_script$as_nl$ac_script"
5393      done
5394      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5395      { ac_script=; unset ac_script;}
5396      if test -z "$SED"; then
5397   ac_path_SED_found=false
5398   # Loop through the user's path and test for each of PROGNAME-LIST
5399   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400 for as_dir in $PATH
5401 do
5402   IFS=$as_save_IFS
5403   test -z "$as_dir" && as_dir=.
5404     for ac_prog in sed gsed; do
5405     for ac_exec_ext in '' $ac_executable_extensions; do
5406       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5407       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5408 # Check for GNU ac_path_SED and select it if it is found.
5409   # Check for GNU $ac_path_SED
5410 case `"$ac_path_SED" --version 2>&1` in
5411 *GNU*)
5412   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5413 *)
5414   ac_count=0
5415   $as_echo_n 0123456789 >"conftest.in"
5416   while :
5417   do
5418     cat "conftest.in" "conftest.in" >"conftest.tmp"
5419     mv "conftest.tmp" "conftest.in"
5420     cp "conftest.in" "conftest.nl"
5421     $as_echo '' >> "conftest.nl"
5422     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5423     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5424     as_fn_arith $ac_count + 1 && ac_count=$as_val
5425     if test $ac_count -gt ${ac_path_SED_max-0}; then
5426       # Best one so far, save it but keep looking for a better one
5427       ac_cv_path_SED="$ac_path_SED"
5428       ac_path_SED_max=$ac_count
5429     fi
5430     # 10*(2^10) chars as input seems more than enough
5431     test $ac_count -gt 10 && break
5432   done
5433   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5434 esac
5435
5436       $ac_path_SED_found && break 3
5437     done
5438   done
5439   done
5440 IFS=$as_save_IFS
5441   if test -z "$ac_cv_path_SED"; then
5442     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5443   fi
5444 else
5445   ac_cv_path_SED=$SED
5446 fi
5447
5448 fi
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5450 $as_echo "$ac_cv_path_SED" >&6; }
5451  SED="$ac_cv_path_SED"
5452   rm -f conftest.sed
5453
5454 test -z "$SED" && SED=sed
5455 Xsed="$SED -e 1s/^X//"
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5468 $as_echo_n "checking for fgrep... " >&6; }
5469 if test "${ac_cv_path_FGREP+set}" = set; then :
5470   $as_echo_n "(cached) " >&6
5471 else
5472   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5473    then ac_cv_path_FGREP="$GREP -F"
5474    else
5475      if test -z "$FGREP"; then
5476   ac_path_FGREP_found=false
5477   # Loop through the user's path and test for each of PROGNAME-LIST
5478   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5479 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5480 do
5481   IFS=$as_save_IFS
5482   test -z "$as_dir" && as_dir=.
5483     for ac_prog in fgrep; do
5484     for ac_exec_ext in '' $ac_executable_extensions; do
5485       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5486       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5487 # Check for GNU ac_path_FGREP and select it if it is found.
5488   # Check for GNU $ac_path_FGREP
5489 case `"$ac_path_FGREP" --version 2>&1` in
5490 *GNU*)
5491   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5492 *)
5493   ac_count=0
5494   $as_echo_n 0123456789 >"conftest.in"
5495   while :
5496   do
5497     cat "conftest.in" "conftest.in" >"conftest.tmp"
5498     mv "conftest.tmp" "conftest.in"
5499     cp "conftest.in" "conftest.nl"
5500     $as_echo 'FGREP' >> "conftest.nl"
5501     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5502     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5503     as_fn_arith $ac_count + 1 && ac_count=$as_val
5504     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5505       # Best one so far, save it but keep looking for a better one
5506       ac_cv_path_FGREP="$ac_path_FGREP"
5507       ac_path_FGREP_max=$ac_count
5508     fi
5509     # 10*(2^10) chars as input seems more than enough
5510     test $ac_count -gt 10 && break
5511   done
5512   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5513 esac
5514
5515       $ac_path_FGREP_found && break 3
5516     done
5517   done
5518   done
5519 IFS=$as_save_IFS
5520   if test -z "$ac_cv_path_FGREP"; then
5521     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5522   fi
5523 else
5524   ac_cv_path_FGREP=$FGREP
5525 fi
5526
5527    fi
5528 fi
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5530 $as_echo "$ac_cv_path_FGREP" >&6; }
5531  FGREP="$ac_cv_path_FGREP"
5532
5533
5534 test -z "$GREP" && GREP=grep
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554 # Check whether --with-gnu-ld was given.
5555 if test "${with_gnu_ld+set}" = set; then :
5556   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5557 else
5558   with_gnu_ld=no
5559 fi
5560
5561 ac_prog=ld
5562 if test "$GCC" = yes; then
5563   # Check if gcc -print-prog-name=ld gives a path.
5564   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5565 $as_echo_n "checking for ld used by $CC... " >&6; }
5566   case $host in
5567   *-*-mingw*)
5568     # gcc leaves a trailing carriage return which upsets mingw
5569     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5570   *)
5571     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5572   esac
5573   case $ac_prog in
5574     # Accept absolute paths.
5575     [\\/]* | ?:[\\/]*)
5576       re_direlt='/[^/][^/]*/\.\./'
5577       # Canonicalize the pathname of ld
5578       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5579       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5580         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5581       done
5582       test -z "$LD" && LD="$ac_prog"
5583       ;;
5584   "")
5585     # If it fails, then pretend we aren't using GCC.
5586     ac_prog=ld
5587     ;;
5588   *)
5589     # If it is relative, then search for the first ld in PATH.
5590     with_gnu_ld=unknown
5591     ;;
5592   esac
5593 elif test "$with_gnu_ld" = yes; then
5594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5595 $as_echo_n "checking for GNU ld... " >&6; }
5596 else
5597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5598 $as_echo_n "checking for non-GNU ld... " >&6; }
5599 fi
5600 if test "${lt_cv_path_LD+set}" = set; then :
5601   $as_echo_n "(cached) " >&6
5602 else
5603   if test -z "$LD"; then
5604   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5605   for ac_dir in $PATH; do
5606     IFS="$lt_save_ifs"
5607     test -z "$ac_dir" && ac_dir=.
5608     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5609       lt_cv_path_LD="$ac_dir/$ac_prog"
5610       # Check to see if the program is GNU ld.  I'd rather use --version,
5611       # but apparently some variants of GNU ld only accept -v.
5612       # Break only if it was the GNU/non-GNU ld that we prefer.
5613       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5614       *GNU* | *'with BFD'*)
5615         test "$with_gnu_ld" != no && break
5616         ;;
5617       *)
5618         test "$with_gnu_ld" != yes && break
5619         ;;
5620       esac
5621     fi
5622   done
5623   IFS="$lt_save_ifs"
5624 else
5625   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5626 fi
5627 fi
5628
5629 LD="$lt_cv_path_LD"
5630 if test -n "$LD"; then
5631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5632 $as_echo "$LD" >&6; }
5633 else
5634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5635 $as_echo "no" >&6; }
5636 fi
5637 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5639 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5640 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5641   $as_echo_n "(cached) " >&6
5642 else
5643   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5644 case `$LD -v 2>&1 </dev/null` in
5645 *GNU* | *'with BFD'*)
5646   lt_cv_prog_gnu_ld=yes
5647   ;;
5648 *)
5649   lt_cv_prog_gnu_ld=no
5650   ;;
5651 esac
5652 fi
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5654 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5655 with_gnu_ld=$lt_cv_prog_gnu_ld
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5666 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5667 if test "${lt_cv_path_NM+set}" = set; then :
5668   $as_echo_n "(cached) " >&6
5669 else
5670   if test -n "$NM"; then
5671   # Let the user override the test.
5672   lt_cv_path_NM="$NM"
5673 else
5674   lt_nm_to_check="${ac_tool_prefix}nm"
5675   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5676     lt_nm_to_check="$lt_nm_to_check nm"
5677   fi
5678   for lt_tmp_nm in $lt_nm_to_check; do
5679     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5680     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5681       IFS="$lt_save_ifs"
5682       test -z "$ac_dir" && ac_dir=.
5683       tmp_nm="$ac_dir/$lt_tmp_nm"
5684       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5685         # Check to see if the nm accepts a BSD-compat flag.
5686         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5687         #   nm: unknown option "B" ignored
5688         # Tru64's nm complains that /dev/null is an invalid object file
5689         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5690         */dev/null* | *'Invalid file or object type'*)
5691           lt_cv_path_NM="$tmp_nm -B"
5692           break
5693           ;;
5694         *)
5695           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5696           */dev/null*)
5697             lt_cv_path_NM="$tmp_nm -p"
5698             break
5699             ;;
5700           *)
5701             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5702             continue # so that we can try to find one that supports BSD flags
5703             ;;
5704           esac
5705           ;;
5706         esac
5707       fi
5708     done
5709     IFS="$lt_save_ifs"
5710   done
5711   : ${lt_cv_path_NM=no}
5712 fi
5713 fi
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5715 $as_echo "$lt_cv_path_NM" >&6; }
5716 if test "$lt_cv_path_NM" != "no"; then
5717   NM="$lt_cv_path_NM"
5718 else
5719   # Didn't find any BSD compatible name lister, look for dumpbin.
5720   if test -n "$DUMPBIN"; then :
5721     # Let the user override the test.
5722   else
5723     if test -n "$ac_tool_prefix"; then
5724   for ac_prog in dumpbin "link -dump"
5725   do
5726     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5727 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5729 $as_echo_n "checking for $ac_word... " >&6; }
5730 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5731   $as_echo_n "(cached) " >&6
5732 else
5733   if test -n "$DUMPBIN"; then
5734   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5735 else
5736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5737 for as_dir in $PATH
5738 do
5739   IFS=$as_save_IFS
5740   test -z "$as_dir" && as_dir=.
5741     for ac_exec_ext in '' $ac_executable_extensions; do
5742   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5743     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5744     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5745     break 2
5746   fi
5747 done
5748   done
5749 IFS=$as_save_IFS
5750
5751 fi
5752 fi
5753 DUMPBIN=$ac_cv_prog_DUMPBIN
5754 if test -n "$DUMPBIN"; then
5755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5756 $as_echo "$DUMPBIN" >&6; }
5757 else
5758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5759 $as_echo "no" >&6; }
5760 fi
5761
5762
5763     test -n "$DUMPBIN" && break
5764   done
5765 fi
5766 if test -z "$DUMPBIN"; then
5767   ac_ct_DUMPBIN=$DUMPBIN
5768   for ac_prog in dumpbin "link -dump"
5769 do
5770   # Extract the first word of "$ac_prog", so it can be a program name with args.
5771 set dummy $ac_prog; ac_word=$2
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5773 $as_echo_n "checking for $ac_word... " >&6; }
5774 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5775   $as_echo_n "(cached) " >&6
5776 else
5777   if test -n "$ac_ct_DUMPBIN"; then
5778   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5779 else
5780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5781 for as_dir in $PATH
5782 do
5783   IFS=$as_save_IFS
5784   test -z "$as_dir" && as_dir=.
5785     for ac_exec_ext in '' $ac_executable_extensions; do
5786   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5787     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5788     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5789     break 2
5790   fi
5791 done
5792   done
5793 IFS=$as_save_IFS
5794
5795 fi
5796 fi
5797 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5798 if test -n "$ac_ct_DUMPBIN"; then
5799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5800 $as_echo "$ac_ct_DUMPBIN" >&6; }
5801 else
5802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5803 $as_echo "no" >&6; }
5804 fi
5805
5806
5807   test -n "$ac_ct_DUMPBIN" && break
5808 done
5809
5810   if test "x$ac_ct_DUMPBIN" = x; then
5811     DUMPBIN=":"
5812   else
5813     case $cross_compiling:$ac_tool_warned in
5814 yes:)
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5817 ac_tool_warned=yes ;;
5818 esac
5819     DUMPBIN=$ac_ct_DUMPBIN
5820   fi
5821 fi
5822
5823     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5824     *COFF*)
5825       DUMPBIN="$DUMPBIN -symbols"
5826       ;;
5827     *)
5828       DUMPBIN=:
5829       ;;
5830     esac
5831   fi
5832
5833   if test "$DUMPBIN" != ":"; then
5834     NM="$DUMPBIN"
5835   fi
5836 fi
5837 test -z "$NM" && NM=nm
5838
5839
5840
5841
5842
5843
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5845 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5846 if test "${lt_cv_nm_interface+set}" = set; then :
5847   $as_echo_n "(cached) " >&6
5848 else
5849   lt_cv_nm_interface="BSD nm"
5850   echo "int some_variable = 0;" > conftest.$ac_ext
5851   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5852   (eval "$ac_compile" 2>conftest.err)
5853   cat conftest.err >&5
5854   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5855   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5856   cat conftest.err >&5
5857   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5858   cat conftest.out >&5
5859   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5860     lt_cv_nm_interface="MS dumpbin"
5861   fi
5862   rm -f conftest*
5863 fi
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5865 $as_echo "$lt_cv_nm_interface" >&6; }
5866
5867 # find the maximum length of command line arguments
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5869 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5870 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5871   $as_echo_n "(cached) " >&6
5872 else
5873     i=0
5874   teststring="ABCD"
5875
5876   case $build_os in
5877   msdosdjgpp*)
5878     # On DJGPP, this test can blow up pretty badly due to problems in libc
5879     # (any single argument exceeding 2000 bytes causes a buffer overrun
5880     # during glob expansion).  Even if it were fixed, the result of this
5881     # check would be larger than it should be.
5882     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5883     ;;
5884
5885   gnu*)
5886     # Under GNU Hurd, this test is not required because there is
5887     # no limit to the length of command line arguments.
5888     # Libtool will interpret -1 as no limit whatsoever
5889     lt_cv_sys_max_cmd_len=-1;
5890     ;;
5891
5892   cygwin* | mingw* | cegcc*)
5893     # On Win9x/ME, this test blows up -- it succeeds, but takes
5894     # about 5 minutes as the teststring grows exponentially.
5895     # Worse, since 9x/ME are not pre-emptively multitasking,
5896     # you end up with a "frozen" computer, even though with patience
5897     # the test eventually succeeds (with a max line length of 256k).
5898     # Instead, let's just punt: use the minimum linelength reported by
5899     # all of the supported platforms: 8192 (on NT/2K/XP).
5900     lt_cv_sys_max_cmd_len=8192;
5901     ;;
5902
5903   mint*)
5904     # On MiNT this can take a long time and run out of memory.
5905     lt_cv_sys_max_cmd_len=8192;
5906     ;;
5907
5908   amigaos*)
5909     # On AmigaOS with pdksh, this test takes hours, literally.
5910     # So we just punt and use a minimum line length of 8192.
5911     lt_cv_sys_max_cmd_len=8192;
5912     ;;
5913
5914   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5915     # This has been around since 386BSD, at least.  Likely further.
5916     if test -x /sbin/sysctl; then
5917       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5918     elif test -x /usr/sbin/sysctl; then
5919       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5920     else
5921       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5922     fi
5923     # And add a safety zone
5924     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5925     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5926     ;;
5927
5928   interix*)
5929     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5930     lt_cv_sys_max_cmd_len=196608
5931     ;;
5932
5933   osf*)
5934     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5935     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5936     # nice to cause kernel panics so lets avoid the loop below.
5937     # First set a reasonable default.
5938     lt_cv_sys_max_cmd_len=16384
5939     #
5940     if test -x /sbin/sysconfig; then
5941       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5942         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5943       esac
5944     fi
5945     ;;
5946   sco3.2v5*)
5947     lt_cv_sys_max_cmd_len=102400
5948     ;;
5949   sysv5* | sco5v6* | sysv4.2uw2*)
5950     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5951     if test -n "$kargmax"; then
5952       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5953     else
5954       lt_cv_sys_max_cmd_len=32768
5955     fi
5956     ;;
5957   *)
5958     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5959     if test -n "$lt_cv_sys_max_cmd_len"; then
5960       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5961       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5962     else
5963       # Make teststring a little bigger before we do anything with it.
5964       # a 1K string should be a reasonable start.
5965       for i in 1 2 3 4 5 6 7 8 ; do
5966         teststring=$teststring$teststring
5967       done
5968       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5969       # If test is not a shell built-in, we'll probably end up computing a
5970       # maximum length that is only half of the actual maximum length, but
5971       # we can't tell.
5972       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5973                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5974               test $i != 17 # 1/2 MB should be enough
5975       do
5976         i=`expr $i + 1`
5977         teststring=$teststring$teststring
5978       done
5979       # Only check the string length outside the loop.
5980       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5981       teststring=
5982       # Add a significant safety factor because C++ compilers can tack on
5983       # massive amounts of additional arguments before passing them to the
5984       # linker.  It appears as though 1/2 is a usable value.
5985       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5986     fi
5987     ;;
5988   esac
5989
5990 fi
5991
5992 if test -n $lt_cv_sys_max_cmd_len ; then
5993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5994 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5995 else
5996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5997 $as_echo "none" >&6; }
5998 fi
5999 max_cmd_len=$lt_cv_sys_max_cmd_len
6000
6001
6002
6003
6004
6005
6006 : ${CP="cp -f"}
6007 : ${MV="mv -f"}
6008 : ${RM="rm -f"}
6009
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6011 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6012 # Try some XSI features
6013 xsi_shell=no
6014 ( _lt_dummy="a/b/c"
6015   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6016       = c,a/b,, \
6017     && eval 'test $(( 1 + 1 )) -eq 2 \
6018     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6019   && xsi_shell=yes
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6021 $as_echo "$xsi_shell" >&6; }
6022
6023
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6025 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6026 lt_shell_append=no
6027 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6028     >/dev/null 2>&1 \
6029   && lt_shell_append=yes
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6031 $as_echo "$lt_shell_append" >&6; }
6032
6033
6034 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6035   lt_unset=unset
6036 else
6037   lt_unset=false
6038 fi
6039
6040
6041
6042
6043
6044 # test EBCDIC or ASCII
6045 case `echo X|tr X '\101'` in
6046  A) # ASCII based system
6047     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6048   lt_SP2NL='tr \040 \012'
6049   lt_NL2SP='tr \015\012 \040\040'
6050   ;;
6051  *) # EBCDIC based system
6052   lt_SP2NL='tr \100 \n'
6053   lt_NL2SP='tr \r\n \100\100'
6054   ;;
6055 esac
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6066 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6067 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6068   $as_echo_n "(cached) " >&6
6069 else
6070   lt_cv_ld_reload_flag='-r'
6071 fi
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6073 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6074 reload_flag=$lt_cv_ld_reload_flag
6075 case $reload_flag in
6076 "" | " "*) ;;
6077 *) reload_flag=" $reload_flag" ;;
6078 esac
6079 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6080 case $host_os in
6081   darwin*)
6082     if test "$GCC" = yes; then
6083       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6084     else
6085       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6086     fi
6087     ;;
6088 esac
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098 if test -n "$ac_tool_prefix"; then
6099   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6100 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6102 $as_echo_n "checking for $ac_word... " >&6; }
6103 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6104   $as_echo_n "(cached) " >&6
6105 else
6106   if test -n "$OBJDUMP"; then
6107   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6108 else
6109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6110 for as_dir in $PATH
6111 do
6112   IFS=$as_save_IFS
6113   test -z "$as_dir" && as_dir=.
6114     for ac_exec_ext in '' $ac_executable_extensions; do
6115   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6116     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6117     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6118     break 2
6119   fi
6120 done
6121   done
6122 IFS=$as_save_IFS
6123
6124 fi
6125 fi
6126 OBJDUMP=$ac_cv_prog_OBJDUMP
6127 if test -n "$OBJDUMP"; then
6128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6129 $as_echo "$OBJDUMP" >&6; }
6130 else
6131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132 $as_echo "no" >&6; }
6133 fi
6134
6135
6136 fi
6137 if test -z "$ac_cv_prog_OBJDUMP"; then
6138   ac_ct_OBJDUMP=$OBJDUMP
6139   # Extract the first word of "objdump", so it can be a program name with args.
6140 set dummy objdump; ac_word=$2
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6142 $as_echo_n "checking for $ac_word... " >&6; }
6143 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6144   $as_echo_n "(cached) " >&6
6145 else
6146   if test -n "$ac_ct_OBJDUMP"; then
6147   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6148 else
6149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6150 for as_dir in $PATH
6151 do
6152   IFS=$as_save_IFS
6153   test -z "$as_dir" && as_dir=.
6154     for ac_exec_ext in '' $ac_executable_extensions; do
6155   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6156     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6157     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6158     break 2
6159   fi
6160 done
6161   done
6162 IFS=$as_save_IFS
6163
6164 fi
6165 fi
6166 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6167 if test -n "$ac_ct_OBJDUMP"; then
6168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6169 $as_echo "$ac_ct_OBJDUMP" >&6; }
6170 else
6171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6172 $as_echo "no" >&6; }
6173 fi
6174
6175   if test "x$ac_ct_OBJDUMP" = x; then
6176     OBJDUMP="false"
6177   else
6178     case $cross_compiling:$ac_tool_warned in
6179 yes:)
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6182 ac_tool_warned=yes ;;
6183 esac
6184     OBJDUMP=$ac_ct_OBJDUMP
6185   fi
6186 else
6187   OBJDUMP="$ac_cv_prog_OBJDUMP"
6188 fi
6189
6190 test -z "$OBJDUMP" && OBJDUMP=objdump
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6201 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6202 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6203   $as_echo_n "(cached) " >&6
6204 else
6205   lt_cv_file_magic_cmd='$MAGIC_CMD'
6206 lt_cv_file_magic_test_file=
6207 lt_cv_deplibs_check_method='unknown'
6208 # Need to set the preceding variable on all platforms that support
6209 # interlibrary dependencies.
6210 # 'none' -- dependencies not supported.
6211 # `unknown' -- same as none, but documents that we really don't know.
6212 # 'pass_all' -- all dependencies passed with no checks.
6213 # 'test_compile' -- check by making test program.
6214 # 'file_magic [[regex]]' -- check by looking for files in library path
6215 # which responds to the $file_magic_cmd with a given extended regex.
6216 # If you have `file' or equivalent on your system and you're not sure
6217 # whether `pass_all' will *always* work, you probably want this one.
6218
6219 case $host_os in
6220 aix[4-9]*)
6221   lt_cv_deplibs_check_method=pass_all
6222   ;;
6223
6224 beos*)
6225   lt_cv_deplibs_check_method=pass_all
6226   ;;
6227
6228 bsdi[45]*)
6229   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6230   lt_cv_file_magic_cmd='/usr/bin/file -L'
6231   lt_cv_file_magic_test_file=/shlib/libc.so
6232   ;;
6233
6234 cygwin*)
6235   # func_win32_libid is a shell function defined in ltmain.sh
6236   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6237   lt_cv_file_magic_cmd='func_win32_libid'
6238   ;;
6239
6240 mingw* | pw32*)
6241   # Base MSYS/MinGW do not provide the 'file' command needed by
6242   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6243   # unless we find 'file', for example because we are cross-compiling.
6244   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6245   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6246     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6247     lt_cv_file_magic_cmd='func_win32_libid'
6248   else
6249     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6250     lt_cv_file_magic_cmd='$OBJDUMP -f'
6251   fi
6252   ;;
6253
6254 cegcc*)
6255   # use the weaker test based on 'objdump'. See mingw*.
6256   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6257   lt_cv_file_magic_cmd='$OBJDUMP -f'
6258   ;;
6259
6260 darwin* | rhapsody*)
6261   lt_cv_deplibs_check_method=pass_all
6262   ;;
6263
6264 freebsd* | dragonfly*)
6265   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6266     case $host_cpu in
6267     i*86 )
6268       # Not sure whether the presence of OpenBSD here was a mistake.
6269       # Let's accept both of them until this is cleared up.
6270       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6271       lt_cv_file_magic_cmd=/usr/bin/file
6272       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6273       ;;
6274     esac
6275   else
6276     lt_cv_deplibs_check_method=pass_all
6277   fi
6278   ;;
6279
6280 gnu*)
6281   lt_cv_deplibs_check_method=pass_all
6282   ;;
6283
6284 haiku*)
6285   lt_cv_deplibs_check_method=pass_all
6286   ;;
6287
6288 hpux10.20* | hpux11*)
6289   lt_cv_file_magic_cmd=/usr/bin/file
6290   case $host_cpu in
6291   ia64*)
6292     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6293     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6294     ;;
6295   hppa*64*)
6296     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]'
6297     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6298     ;;
6299   *)
6300     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6301     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6302     ;;
6303   esac
6304   ;;
6305
6306 interix[3-9]*)
6307   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6308   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6309   ;;
6310
6311 irix5* | irix6* | nonstopux*)
6312   case $LD in
6313   *-32|*"-32 ") libmagic=32-bit;;
6314   *-n32|*"-n32 ") libmagic=N32;;
6315   *-64|*"-64 ") libmagic=64-bit;;
6316   *) libmagic=never-match;;
6317   esac
6318   lt_cv_deplibs_check_method=pass_all
6319   ;;
6320
6321 # This must be Linux ELF.
6322 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6323   lt_cv_deplibs_check_method=pass_all
6324   ;;
6325
6326 netbsd*)
6327   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6328     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6329   else
6330     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6331   fi
6332   ;;
6333
6334 newos6*)
6335   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6336   lt_cv_file_magic_cmd=/usr/bin/file
6337   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6338   ;;
6339
6340 *nto* | *qnx*)
6341   lt_cv_deplibs_check_method=pass_all
6342   ;;
6343
6344 openbsd*)
6345   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6346     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6347   else
6348     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6349   fi
6350   ;;
6351
6352 osf3* | osf4* | osf5*)
6353   lt_cv_deplibs_check_method=pass_all
6354   ;;
6355
6356 rdos*)
6357   lt_cv_deplibs_check_method=pass_all
6358   ;;
6359
6360 solaris*)
6361   lt_cv_deplibs_check_method=pass_all
6362   ;;
6363
6364 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6365   lt_cv_deplibs_check_method=pass_all
6366   ;;
6367
6368 sysv4 | sysv4.3*)
6369   case $host_vendor in
6370   motorola)
6371     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]'
6372     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6373     ;;
6374   ncr)
6375     lt_cv_deplibs_check_method=pass_all
6376     ;;
6377   sequent)
6378     lt_cv_file_magic_cmd='/bin/file'
6379     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6380     ;;
6381   sni)
6382     lt_cv_file_magic_cmd='/bin/file'
6383     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6384     lt_cv_file_magic_test_file=/lib/libc.so
6385     ;;
6386   siemens)
6387     lt_cv_deplibs_check_method=pass_all
6388     ;;
6389   pc)
6390     lt_cv_deplibs_check_method=pass_all
6391     ;;
6392   esac
6393   ;;
6394
6395 tpf*)
6396   lt_cv_deplibs_check_method=pass_all
6397   ;;
6398 esac
6399
6400 fi
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6402 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6403 file_magic_cmd=$lt_cv_file_magic_cmd
6404 deplibs_check_method=$lt_cv_deplibs_check_method
6405 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418 if test -n "$ac_tool_prefix"; then
6419   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6420 set dummy ${ac_tool_prefix}ar; ac_word=$2
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422 $as_echo_n "checking for $ac_word... " >&6; }
6423 if test "${ac_cv_prog_AR+set}" = set; then :
6424   $as_echo_n "(cached) " >&6
6425 else
6426   if test -n "$AR"; then
6427   ac_cv_prog_AR="$AR" # Let the user override the test.
6428 else
6429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6430 for as_dir in $PATH
6431 do
6432   IFS=$as_save_IFS
6433   test -z "$as_dir" && as_dir=.
6434     for ac_exec_ext in '' $ac_executable_extensions; do
6435   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6436     ac_cv_prog_AR="${ac_tool_prefix}ar"
6437     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6438     break 2
6439   fi
6440 done
6441   done
6442 IFS=$as_save_IFS
6443
6444 fi
6445 fi
6446 AR=$ac_cv_prog_AR
6447 if test -n "$AR"; then
6448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6449 $as_echo "$AR" >&6; }
6450 else
6451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6452 $as_echo "no" >&6; }
6453 fi
6454
6455
6456 fi
6457 if test -z "$ac_cv_prog_AR"; then
6458   ac_ct_AR=$AR
6459   # Extract the first word of "ar", so it can be a program name with args.
6460 set dummy ar; ac_word=$2
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6462 $as_echo_n "checking for $ac_word... " >&6; }
6463 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6464   $as_echo_n "(cached) " >&6
6465 else
6466   if test -n "$ac_ct_AR"; then
6467   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6468 else
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6470 for as_dir in $PATH
6471 do
6472   IFS=$as_save_IFS
6473   test -z "$as_dir" && as_dir=.
6474     for ac_exec_ext in '' $ac_executable_extensions; do
6475   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6476     ac_cv_prog_ac_ct_AR="ar"
6477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6478     break 2
6479   fi
6480 done
6481   done
6482 IFS=$as_save_IFS
6483
6484 fi
6485 fi
6486 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6487 if test -n "$ac_ct_AR"; then
6488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6489 $as_echo "$ac_ct_AR" >&6; }
6490 else
6491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6492 $as_echo "no" >&6; }
6493 fi
6494
6495   if test "x$ac_ct_AR" = x; then
6496     AR="false"
6497   else
6498     case $cross_compiling:$ac_tool_warned in
6499 yes:)
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6502 ac_tool_warned=yes ;;
6503 esac
6504     AR=$ac_ct_AR
6505   fi
6506 else
6507   AR="$ac_cv_prog_AR"
6508 fi
6509
6510 test -z "$AR" && AR=ar
6511 test -z "$AR_FLAGS" && AR_FLAGS=cru
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523 if test -n "$ac_tool_prefix"; then
6524   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6525 set dummy ${ac_tool_prefix}strip; ac_word=$2
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6527 $as_echo_n "checking for $ac_word... " >&6; }
6528 if test "${ac_cv_prog_STRIP+set}" = set; then :
6529   $as_echo_n "(cached) " >&6
6530 else
6531   if test -n "$STRIP"; then
6532   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6533 else
6534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6535 for as_dir in $PATH
6536 do
6537   IFS=$as_save_IFS
6538   test -z "$as_dir" && as_dir=.
6539     for ac_exec_ext in '' $ac_executable_extensions; do
6540   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6541     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6542     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6543     break 2
6544   fi
6545 done
6546   done
6547 IFS=$as_save_IFS
6548
6549 fi
6550 fi
6551 STRIP=$ac_cv_prog_STRIP
6552 if test -n "$STRIP"; then
6553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6554 $as_echo "$STRIP" >&6; }
6555 else
6556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6557 $as_echo "no" >&6; }
6558 fi
6559
6560
6561 fi
6562 if test -z "$ac_cv_prog_STRIP"; then
6563   ac_ct_STRIP=$STRIP
6564   # Extract the first word of "strip", so it can be a program name with args.
6565 set dummy strip; ac_word=$2
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6567 $as_echo_n "checking for $ac_word... " >&6; }
6568 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6569   $as_echo_n "(cached) " >&6
6570 else
6571   if test -n "$ac_ct_STRIP"; then
6572   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6573 else
6574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6575 for as_dir in $PATH
6576 do
6577   IFS=$as_save_IFS
6578   test -z "$as_dir" && as_dir=.
6579     for ac_exec_ext in '' $ac_executable_extensions; do
6580   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6581     ac_cv_prog_ac_ct_STRIP="strip"
6582     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6583     break 2
6584   fi
6585 done
6586   done
6587 IFS=$as_save_IFS
6588
6589 fi
6590 fi
6591 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6592 if test -n "$ac_ct_STRIP"; then
6593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6594 $as_echo "$ac_ct_STRIP" >&6; }
6595 else
6596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6597 $as_echo "no" >&6; }
6598 fi
6599
6600   if test "x$ac_ct_STRIP" = x; then
6601     STRIP=":"
6602   else
6603     case $cross_compiling:$ac_tool_warned in
6604 yes:)
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6607 ac_tool_warned=yes ;;
6608 esac
6609     STRIP=$ac_ct_STRIP
6610   fi
6611 else
6612   STRIP="$ac_cv_prog_STRIP"
6613 fi
6614
6615 test -z "$STRIP" && STRIP=:
6616
6617
6618
6619
6620
6621
6622 if test -n "$ac_tool_prefix"; then
6623   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6624 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6626 $as_echo_n "checking for $ac_word... " >&6; }
6627 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6628   $as_echo_n "(cached) " >&6
6629 else
6630   if test -n "$RANLIB"; then
6631   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6632 else
6633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6634 for as_dir in $PATH
6635 do
6636   IFS=$as_save_IFS
6637   test -z "$as_dir" && as_dir=.
6638     for ac_exec_ext in '' $ac_executable_extensions; do
6639   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6640     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6641     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6642     break 2
6643   fi
6644 done
6645   done
6646 IFS=$as_save_IFS
6647
6648 fi
6649 fi
6650 RANLIB=$ac_cv_prog_RANLIB
6651 if test -n "$RANLIB"; then
6652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6653 $as_echo "$RANLIB" >&6; }
6654 else
6655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6656 $as_echo "no" >&6; }
6657 fi
6658
6659
6660 fi
6661 if test -z "$ac_cv_prog_RANLIB"; then
6662   ac_ct_RANLIB=$RANLIB
6663   # Extract the first word of "ranlib", so it can be a program name with args.
6664 set dummy ranlib; ac_word=$2
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6666 $as_echo_n "checking for $ac_word... " >&6; }
6667 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6668   $as_echo_n "(cached) " >&6
6669 else
6670   if test -n "$ac_ct_RANLIB"; then
6671   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6672 else
6673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6674 for as_dir in $PATH
6675 do
6676   IFS=$as_save_IFS
6677   test -z "$as_dir" && as_dir=.
6678     for ac_exec_ext in '' $ac_executable_extensions; do
6679   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6680     ac_cv_prog_ac_ct_RANLIB="ranlib"
6681     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6682     break 2
6683   fi
6684 done
6685   done
6686 IFS=$as_save_IFS
6687
6688 fi
6689 fi
6690 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6691 if test -n "$ac_ct_RANLIB"; then
6692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6693 $as_echo "$ac_ct_RANLIB" >&6; }
6694 else
6695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6696 $as_echo "no" >&6; }
6697 fi
6698
6699   if test "x$ac_ct_RANLIB" = x; then
6700     RANLIB=":"
6701   else
6702     case $cross_compiling:$ac_tool_warned in
6703 yes:)
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6706 ac_tool_warned=yes ;;
6707 esac
6708     RANLIB=$ac_ct_RANLIB
6709   fi
6710 else
6711   RANLIB="$ac_cv_prog_RANLIB"
6712 fi
6713
6714 test -z "$RANLIB" && RANLIB=:
6715
6716
6717
6718
6719
6720
6721 # Determine commands to create old-style static archives.
6722 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6723 old_postinstall_cmds='chmod 644 $oldlib'
6724 old_postuninstall_cmds=
6725
6726 if test -n "$RANLIB"; then
6727   case $host_os in
6728   openbsd*)
6729     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6730     ;;
6731   *)
6732     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6733     ;;
6734   esac
6735   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6736 fi
6737
6738 case $host_os in
6739   darwin*)
6740     lock_old_archive_extraction=yes ;;
6741   *)
6742     lock_old_archive_extraction=no ;;
6743 esac
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
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783 # If no C compiler was specified, use CC.
6784 LTCC=${LTCC-"$CC"}
6785
6786 # If no C compiler flags were specified, use CFLAGS.
6787 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6788
6789 # Allow CC to be a program name with arguments.
6790 compiler=$CC
6791
6792
6793 # Check for command to grab the raw symbol name followed by C symbol from nm.
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6795 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6796 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6797   $as_echo_n "(cached) " >&6
6798 else
6799
6800 # These are sane defaults that work on at least a few old systems.
6801 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6802
6803 # Character class describing NM global symbol codes.
6804 symcode='[BCDEGRST]'
6805
6806 # Regexp to match symbols that can be accessed directly from C.
6807 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6808
6809 # Define system-specific variables.
6810 case $host_os in
6811 aix*)
6812   symcode='[BCDT]'
6813   ;;
6814 cygwin* | mingw* | pw32* | cegcc*)
6815   symcode='[ABCDGISTW]'
6816   ;;
6817 hpux*)
6818   if test "$host_cpu" = ia64; then
6819     symcode='[ABCDEGRST]'
6820   fi
6821   ;;
6822 irix* | nonstopux*)
6823   symcode='[BCDEGRST]'
6824   ;;
6825 osf*)
6826   symcode='[BCDEGQRST]'
6827   ;;
6828 solaris*)
6829   symcode='[BDRT]'
6830   ;;
6831 sco3.2v5*)
6832   symcode='[DT]'
6833   ;;
6834 sysv4.2uw2*)
6835   symcode='[DT]'
6836   ;;
6837 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6838   symcode='[ABDT]'
6839   ;;
6840 sysv4)
6841   symcode='[DFNSTU]'
6842   ;;
6843 esac
6844
6845 # If we're using GNU nm, then use its standard symbol codes.
6846 case `$NM -V 2>&1` in
6847 *GNU* | *'with BFD'*)
6848   symcode='[ABCDGIRSTW]' ;;
6849 esac
6850
6851 # Transform an extracted symbol line into a proper C declaration.
6852 # Some systems (esp. on ia64) link data and code symbols differently,
6853 # so use this general approach.
6854 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6855
6856 # Transform an extracted symbol line into symbol name and symbol address
6857 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6858 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'"
6859
6860 # Handle CRLF in mingw tool chain
6861 opt_cr=
6862 case $build_os in
6863 mingw*)
6864   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6865   ;;
6866 esac
6867
6868 # Try without a prefix underscore, then with it.
6869 for ac_symprfx in "" "_"; do
6870
6871   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6872   symxfrm="\\1 $ac_symprfx\\2 \\2"
6873
6874   # Write the raw and C identifiers.
6875   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6876     # Fake it for dumpbin and say T for any non-static function
6877     # and D for any global variable.
6878     # Also find C++ and __fastcall symbols from MSVC++,
6879     # which start with @ or ?.
6880     lt_cv_sys_global_symbol_pipe="$AWK '"\
6881 "     {last_section=section; section=\$ 3};"\
6882 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6883 "     \$ 0!~/External *\|/{next};"\
6884 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6885 "     {if(hide[section]) next};"\
6886 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6887 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6888 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6889 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6890 "     ' prfx=^$ac_symprfx"
6891   else
6892     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6893   fi
6894
6895   # Check to see that the pipe works correctly.
6896   pipe_works=no
6897
6898   rm -f conftest*
6899   cat > conftest.$ac_ext <<_LT_EOF
6900 #ifdef __cplusplus
6901 extern "C" {
6902 #endif
6903 char nm_test_var;
6904 void nm_test_func(void);
6905 void nm_test_func(void){}
6906 #ifdef __cplusplus
6907 }
6908 #endif
6909 int main(){nm_test_var='a';nm_test_func();return(0);}
6910 _LT_EOF
6911
6912   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6913   (eval $ac_compile) 2>&5
6914   ac_status=$?
6915   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6916   test $ac_status = 0; }; then
6917     # Now try to grab the symbols.
6918     nlist=conftest.nm
6919     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6920   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6921   ac_status=$?
6922   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6923   test $ac_status = 0; } && test -s "$nlist"; then
6924       # Try sorting and uniquifying the output.
6925       if sort "$nlist" | uniq > "$nlist"T; then
6926         mv -f "$nlist"T "$nlist"
6927       else
6928         rm -f "$nlist"T
6929       fi
6930
6931       # Make sure that we snagged all the symbols we need.
6932       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6933         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6934           cat <<_LT_EOF > conftest.$ac_ext
6935 #ifdef __cplusplus
6936 extern "C" {
6937 #endif
6938
6939 _LT_EOF
6940           # Now generate the symbol file.
6941           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6942
6943           cat <<_LT_EOF >> conftest.$ac_ext
6944
6945 /* The mapping between symbol names and symbols.  */
6946 const struct {
6947   const char *name;
6948   void       *address;
6949 }
6950 lt__PROGRAM__LTX_preloaded_symbols[] =
6951 {
6952   { "@PROGRAM@", (void *) 0 },
6953 _LT_EOF
6954           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6955           cat <<\_LT_EOF >> conftest.$ac_ext
6956   {0, (void *) 0}
6957 };
6958
6959 /* This works around a problem in FreeBSD linker */
6960 #ifdef FREEBSD_WORKAROUND
6961 static const void *lt_preloaded_setup() {
6962   return lt__PROGRAM__LTX_preloaded_symbols;
6963 }
6964 #endif
6965
6966 #ifdef __cplusplus
6967 }
6968 #endif
6969 _LT_EOF
6970           # Now try linking the two files.
6971           mv conftest.$ac_objext conftstm.$ac_objext
6972           lt_save_LIBS="$LIBS"
6973           lt_save_CFLAGS="$CFLAGS"
6974           LIBS="conftstm.$ac_objext"
6975           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6976           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6977   (eval $ac_link) 2>&5
6978   ac_status=$?
6979   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6980   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6981             pipe_works=yes
6982           fi
6983           LIBS="$lt_save_LIBS"
6984           CFLAGS="$lt_save_CFLAGS"
6985         else
6986           echo "cannot find nm_test_func in $nlist" >&5
6987         fi
6988       else
6989         echo "cannot find nm_test_var in $nlist" >&5
6990       fi
6991     else
6992       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6993     fi
6994   else
6995     echo "$progname: failed program was:" >&5
6996     cat conftest.$ac_ext >&5
6997   fi
6998   rm -rf conftest* conftst*
6999
7000   # Do not use the global_symbol_pipe unless it works.
7001   if test "$pipe_works" = yes; then
7002     break
7003   else
7004     lt_cv_sys_global_symbol_pipe=
7005   fi
7006 done
7007
7008 fi
7009
7010 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7011   lt_cv_sys_global_symbol_to_cdecl=
7012 fi
7013 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7015 $as_echo "failed" >&6; }
7016 else
7017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7018 $as_echo "ok" >&6; }
7019 fi
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042 # Check whether --enable-libtool-lock was given.
7043 if test "${enable_libtool_lock+set}" = set; then :
7044   enableval=$enable_libtool_lock;
7045 fi
7046
7047 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7048
7049 # Some flags need to be propagated to the compiler or linker for good
7050 # libtool support.
7051 case $host in
7052 ia64-*-hpux*)
7053   # Find out which ABI we are using.
7054   echo 'int i;' > conftest.$ac_ext
7055   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7056   (eval $ac_compile) 2>&5
7057   ac_status=$?
7058   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7059   test $ac_status = 0; }; then
7060     case `/usr/bin/file conftest.$ac_objext` in
7061       *ELF-32*)
7062         HPUX_IA64_MODE="32"
7063         ;;
7064       *ELF-64*)
7065         HPUX_IA64_MODE="64"
7066         ;;
7067     esac
7068   fi
7069   rm -rf conftest*
7070   ;;
7071 *-*-irix6*)
7072   # Find out which ABI we are using.
7073   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7074   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7075   (eval $ac_compile) 2>&5
7076   ac_status=$?
7077   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7078   test $ac_status = 0; }; then
7079     if test "$lt_cv_prog_gnu_ld" = yes; then
7080       case `/usr/bin/file conftest.$ac_objext` in
7081         *32-bit*)
7082           LD="${LD-ld} -melf32bsmip"
7083           ;;
7084         *N32*)
7085           LD="${LD-ld} -melf32bmipn32"
7086           ;;
7087         *64-bit*)
7088           LD="${LD-ld} -melf64bmip"
7089         ;;
7090       esac
7091     else
7092       case `/usr/bin/file conftest.$ac_objext` in
7093         *32-bit*)
7094           LD="${LD-ld} -32"
7095           ;;
7096         *N32*)
7097           LD="${LD-ld} -n32"
7098           ;;
7099         *64-bit*)
7100           LD="${LD-ld} -64"
7101           ;;
7102       esac
7103     fi
7104   fi
7105   rm -rf conftest*
7106   ;;
7107
7108 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7109 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7110   # Find out which ABI we are using.
7111   echo 'int i;' > conftest.$ac_ext
7112   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7113   (eval $ac_compile) 2>&5
7114   ac_status=$?
7115   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7116   test $ac_status = 0; }; then
7117     case `/usr/bin/file conftest.o` in
7118       *32-bit*)
7119         case $host in
7120           x86_64-*kfreebsd*-gnu)
7121             LD="${LD-ld} -m elf_i386_fbsd"
7122             ;;
7123           x86_64-*linux*)
7124             LD="${LD-ld} -m elf_i386"
7125             ;;
7126           ppc64-*linux*|powerpc64-*linux*)
7127             LD="${LD-ld} -m elf32ppclinux"
7128             ;;
7129           s390x-*linux*)
7130             LD="${LD-ld} -m elf_s390"
7131             ;;
7132           sparc64-*linux*)
7133             LD="${LD-ld} -m elf32_sparc"
7134             ;;
7135         esac
7136         ;;
7137       *64-bit*)
7138         case $host in
7139           x86_64-*kfreebsd*-gnu)
7140             LD="${LD-ld} -m elf_x86_64_fbsd"
7141             ;;
7142           x86_64-*linux*)
7143             LD="${LD-ld} -m elf_x86_64"
7144             ;;
7145           ppc*-*linux*|powerpc*-*linux*)
7146             LD="${LD-ld} -m elf64ppc"
7147             ;;
7148           s390*-*linux*|s390*-*tpf*)
7149             LD="${LD-ld} -m elf64_s390"
7150             ;;
7151           sparc*-*linux*)
7152             LD="${LD-ld} -m elf64_sparc"
7153             ;;
7154         esac
7155         ;;
7156     esac
7157   fi
7158   rm -rf conftest*
7159   ;;
7160
7161 *-*-sco3.2v5*)
7162   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7163   SAVE_CFLAGS="$CFLAGS"
7164   CFLAGS="$CFLAGS -belf"
7165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7166 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7167 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7168   $as_echo_n "(cached) " >&6
7169 else
7170   ac_ext=c
7171 ac_cpp='$CPP $CPPFLAGS'
7172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7175
7176      if test x$gcc_no_link = xyes; then
7177   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7178 fi
7179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7180 /* end confdefs.h.  */
7181
7182 int
7183 main ()
7184 {
7185
7186   ;
7187   return 0;
7188 }
7189 _ACEOF
7190 if ac_fn_c_try_link "$LINENO"; then :
7191   lt_cv_cc_needs_belf=yes
7192 else
7193   lt_cv_cc_needs_belf=no
7194 fi
7195 rm -f core conftest.err conftest.$ac_objext \
7196     conftest$ac_exeext conftest.$ac_ext
7197      ac_ext=c
7198 ac_cpp='$CPP $CPPFLAGS'
7199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7202
7203 fi
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7205 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7206   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7207     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7208     CFLAGS="$SAVE_CFLAGS"
7209   fi
7210   ;;
7211 sparc*-*solaris*)
7212   # Find out which ABI we are using.
7213   echo 'int i;' > conftest.$ac_ext
7214   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7215   (eval $ac_compile) 2>&5
7216   ac_status=$?
7217   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7218   test $ac_status = 0; }; then
7219     case `/usr/bin/file conftest.o` in
7220     *64-bit*)
7221       case $lt_cv_prog_gnu_ld in
7222       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7223       *)
7224         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7225           LD="${LD-ld} -64"
7226         fi
7227         ;;
7228       esac
7229       ;;
7230     esac
7231   fi
7232   rm -rf conftest*
7233   ;;
7234 esac
7235
7236 need_locks="$enable_libtool_lock"
7237
7238
7239   case $host_os in
7240     rhapsody* | darwin*)
7241     if test -n "$ac_tool_prefix"; then
7242   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7243 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7245 $as_echo_n "checking for $ac_word... " >&6; }
7246 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7247   $as_echo_n "(cached) " >&6
7248 else
7249   if test -n "$DSYMUTIL"; then
7250   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7251 else
7252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7253 for as_dir in $PATH
7254 do
7255   IFS=$as_save_IFS
7256   test -z "$as_dir" && as_dir=.
7257     for ac_exec_ext in '' $ac_executable_extensions; do
7258   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7259     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7260     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7261     break 2
7262   fi
7263 done
7264   done
7265 IFS=$as_save_IFS
7266
7267 fi
7268 fi
7269 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7270 if test -n "$DSYMUTIL"; then
7271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7272 $as_echo "$DSYMUTIL" >&6; }
7273 else
7274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7275 $as_echo "no" >&6; }
7276 fi
7277
7278
7279 fi
7280 if test -z "$ac_cv_prog_DSYMUTIL"; then
7281   ac_ct_DSYMUTIL=$DSYMUTIL
7282   # Extract the first word of "dsymutil", so it can be a program name with args.
7283 set dummy dsymutil; ac_word=$2
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7285 $as_echo_n "checking for $ac_word... " >&6; }
7286 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7287   $as_echo_n "(cached) " >&6
7288 else
7289   if test -n "$ac_ct_DSYMUTIL"; then
7290   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7291 else
7292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7293 for as_dir in $PATH
7294 do
7295   IFS=$as_save_IFS
7296   test -z "$as_dir" && as_dir=.
7297     for ac_exec_ext in '' $ac_executable_extensions; do
7298   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7299     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7300     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7301     break 2
7302   fi
7303 done
7304   done
7305 IFS=$as_save_IFS
7306
7307 fi
7308 fi
7309 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7310 if test -n "$ac_ct_DSYMUTIL"; then
7311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7312 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7313 else
7314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7315 $as_echo "no" >&6; }
7316 fi
7317
7318   if test "x$ac_ct_DSYMUTIL" = x; then
7319     DSYMUTIL=":"
7320   else
7321     case $cross_compiling:$ac_tool_warned in
7322 yes:)
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7325 ac_tool_warned=yes ;;
7326 esac
7327     DSYMUTIL=$ac_ct_DSYMUTIL
7328   fi
7329 else
7330   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7331 fi
7332
7333     if test -n "$ac_tool_prefix"; then
7334   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7335 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7337 $as_echo_n "checking for $ac_word... " >&6; }
7338 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7339   $as_echo_n "(cached) " >&6
7340 else
7341   if test -n "$NMEDIT"; then
7342   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7343 else
7344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7345 for as_dir in $PATH
7346 do
7347   IFS=$as_save_IFS
7348   test -z "$as_dir" && as_dir=.
7349     for ac_exec_ext in '' $ac_executable_extensions; do
7350   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7351     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7352     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7353     break 2
7354   fi
7355 done
7356   done
7357 IFS=$as_save_IFS
7358
7359 fi
7360 fi
7361 NMEDIT=$ac_cv_prog_NMEDIT
7362 if test -n "$NMEDIT"; then
7363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7364 $as_echo "$NMEDIT" >&6; }
7365 else
7366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7367 $as_echo "no" >&6; }
7368 fi
7369
7370
7371 fi
7372 if test -z "$ac_cv_prog_NMEDIT"; then
7373   ac_ct_NMEDIT=$NMEDIT
7374   # Extract the first word of "nmedit", so it can be a program name with args.
7375 set dummy nmedit; ac_word=$2
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7377 $as_echo_n "checking for $ac_word... " >&6; }
7378 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7379   $as_echo_n "(cached) " >&6
7380 else
7381   if test -n "$ac_ct_NMEDIT"; then
7382   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7383 else
7384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7385 for as_dir in $PATH
7386 do
7387   IFS=$as_save_IFS
7388   test -z "$as_dir" && as_dir=.
7389     for ac_exec_ext in '' $ac_executable_extensions; do
7390   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7391     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7392     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7393     break 2
7394   fi
7395 done
7396   done
7397 IFS=$as_save_IFS
7398
7399 fi
7400 fi
7401 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7402 if test -n "$ac_ct_NMEDIT"; then
7403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7404 $as_echo "$ac_ct_NMEDIT" >&6; }
7405 else
7406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7407 $as_echo "no" >&6; }
7408 fi
7409
7410   if test "x$ac_ct_NMEDIT" = x; then
7411     NMEDIT=":"
7412   else
7413     case $cross_compiling:$ac_tool_warned in
7414 yes:)
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7417 ac_tool_warned=yes ;;
7418 esac
7419     NMEDIT=$ac_ct_NMEDIT
7420   fi
7421 else
7422   NMEDIT="$ac_cv_prog_NMEDIT"
7423 fi
7424
7425     if test -n "$ac_tool_prefix"; then
7426   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7427 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7429 $as_echo_n "checking for $ac_word... " >&6; }
7430 if test "${ac_cv_prog_LIPO+set}" = set; then :
7431   $as_echo_n "(cached) " >&6
7432 else
7433   if test -n "$LIPO"; then
7434   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7435 else
7436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7437 for as_dir in $PATH
7438 do
7439   IFS=$as_save_IFS
7440   test -z "$as_dir" && as_dir=.
7441     for ac_exec_ext in '' $ac_executable_extensions; do
7442   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7443     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7444     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7445     break 2
7446   fi
7447 done
7448   done
7449 IFS=$as_save_IFS
7450
7451 fi
7452 fi
7453 LIPO=$ac_cv_prog_LIPO
7454 if test -n "$LIPO"; then
7455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7456 $as_echo "$LIPO" >&6; }
7457 else
7458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7459 $as_echo "no" >&6; }
7460 fi
7461
7462
7463 fi
7464 if test -z "$ac_cv_prog_LIPO"; then
7465   ac_ct_LIPO=$LIPO
7466   # Extract the first word of "lipo", so it can be a program name with args.
7467 set dummy lipo; ac_word=$2
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7469 $as_echo_n "checking for $ac_word... " >&6; }
7470 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7471   $as_echo_n "(cached) " >&6
7472 else
7473   if test -n "$ac_ct_LIPO"; then
7474   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7475 else
7476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7477 for as_dir in $PATH
7478 do
7479   IFS=$as_save_IFS
7480   test -z "$as_dir" && as_dir=.
7481     for ac_exec_ext in '' $ac_executable_extensions; do
7482   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7483     ac_cv_prog_ac_ct_LIPO="lipo"
7484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7485     break 2
7486   fi
7487 done
7488   done
7489 IFS=$as_save_IFS
7490
7491 fi
7492 fi
7493 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7494 if test -n "$ac_ct_LIPO"; then
7495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7496 $as_echo "$ac_ct_LIPO" >&6; }
7497 else
7498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7499 $as_echo "no" >&6; }
7500 fi
7501
7502   if test "x$ac_ct_LIPO" = x; then
7503     LIPO=":"
7504   else
7505     case $cross_compiling:$ac_tool_warned in
7506 yes:)
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7509 ac_tool_warned=yes ;;
7510 esac
7511     LIPO=$ac_ct_LIPO
7512   fi
7513 else
7514   LIPO="$ac_cv_prog_LIPO"
7515 fi
7516
7517     if test -n "$ac_tool_prefix"; then
7518   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7519 set dummy ${ac_tool_prefix}otool; ac_word=$2
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7521 $as_echo_n "checking for $ac_word... " >&6; }
7522 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7523   $as_echo_n "(cached) " >&6
7524 else
7525   if test -n "$OTOOL"; then
7526   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7527 else
7528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7529 for as_dir in $PATH
7530 do
7531   IFS=$as_save_IFS
7532   test -z "$as_dir" && as_dir=.
7533     for ac_exec_ext in '' $ac_executable_extensions; do
7534   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7535     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7536     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7537     break 2
7538   fi
7539 done
7540   done
7541 IFS=$as_save_IFS
7542
7543 fi
7544 fi
7545 OTOOL=$ac_cv_prog_OTOOL
7546 if test -n "$OTOOL"; then
7547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7548 $as_echo "$OTOOL" >&6; }
7549 else
7550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7551 $as_echo "no" >&6; }
7552 fi
7553
7554
7555 fi
7556 if test -z "$ac_cv_prog_OTOOL"; then
7557   ac_ct_OTOOL=$OTOOL
7558   # Extract the first word of "otool", so it can be a program name with args.
7559 set dummy otool; ac_word=$2
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7561 $as_echo_n "checking for $ac_word... " >&6; }
7562 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7563   $as_echo_n "(cached) " >&6
7564 else
7565   if test -n "$ac_ct_OTOOL"; then
7566   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7567 else
7568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7569 for as_dir in $PATH
7570 do
7571   IFS=$as_save_IFS
7572   test -z "$as_dir" && as_dir=.
7573     for ac_exec_ext in '' $ac_executable_extensions; do
7574   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7575     ac_cv_prog_ac_ct_OTOOL="otool"
7576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7577     break 2
7578   fi
7579 done
7580   done
7581 IFS=$as_save_IFS
7582
7583 fi
7584 fi
7585 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7586 if test -n "$ac_ct_OTOOL"; then
7587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7588 $as_echo "$ac_ct_OTOOL" >&6; }
7589 else
7590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7591 $as_echo "no" >&6; }
7592 fi
7593
7594   if test "x$ac_ct_OTOOL" = x; then
7595     OTOOL=":"
7596   else
7597     case $cross_compiling:$ac_tool_warned in
7598 yes:)
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7601 ac_tool_warned=yes ;;
7602 esac
7603     OTOOL=$ac_ct_OTOOL
7604   fi
7605 else
7606   OTOOL="$ac_cv_prog_OTOOL"
7607 fi
7608
7609     if test -n "$ac_tool_prefix"; then
7610   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7611 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7613 $as_echo_n "checking for $ac_word... " >&6; }
7614 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7615   $as_echo_n "(cached) " >&6
7616 else
7617   if test -n "$OTOOL64"; then
7618   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7619 else
7620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7621 for as_dir in $PATH
7622 do
7623   IFS=$as_save_IFS
7624   test -z "$as_dir" && as_dir=.
7625     for ac_exec_ext in '' $ac_executable_extensions; do
7626   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7627     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7628     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7629     break 2
7630   fi
7631 done
7632   done
7633 IFS=$as_save_IFS
7634
7635 fi
7636 fi
7637 OTOOL64=$ac_cv_prog_OTOOL64
7638 if test -n "$OTOOL64"; then
7639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7640 $as_echo "$OTOOL64" >&6; }
7641 else
7642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7643 $as_echo "no" >&6; }
7644 fi
7645
7646
7647 fi
7648 if test -z "$ac_cv_prog_OTOOL64"; then
7649   ac_ct_OTOOL64=$OTOOL64
7650   # Extract the first word of "otool64", so it can be a program name with args.
7651 set dummy otool64; ac_word=$2
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7653 $as_echo_n "checking for $ac_word... " >&6; }
7654 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7655   $as_echo_n "(cached) " >&6
7656 else
7657   if test -n "$ac_ct_OTOOL64"; then
7658   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7659 else
7660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7661 for as_dir in $PATH
7662 do
7663   IFS=$as_save_IFS
7664   test -z "$as_dir" && as_dir=.
7665     for ac_exec_ext in '' $ac_executable_extensions; do
7666   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7667     ac_cv_prog_ac_ct_OTOOL64="otool64"
7668     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7669     break 2
7670   fi
7671 done
7672   done
7673 IFS=$as_save_IFS
7674
7675 fi
7676 fi
7677 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7678 if test -n "$ac_ct_OTOOL64"; then
7679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7680 $as_echo "$ac_ct_OTOOL64" >&6; }
7681 else
7682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7683 $as_echo "no" >&6; }
7684 fi
7685
7686   if test "x$ac_ct_OTOOL64" = x; then
7687     OTOOL64=":"
7688   else
7689     case $cross_compiling:$ac_tool_warned in
7690 yes:)
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7693 ac_tool_warned=yes ;;
7694 esac
7695     OTOOL64=$ac_ct_OTOOL64
7696   fi
7697 else
7698   OTOOL64="$ac_cv_prog_OTOOL64"
7699 fi
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7728 $as_echo_n "checking for -single_module linker flag... " >&6; }
7729 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7730   $as_echo_n "(cached) " >&6
7731 else
7732   lt_cv_apple_cc_single_mod=no
7733       if test -z "${LT_MULTI_MODULE}"; then
7734         # By default we will add the -single_module flag. You can override
7735         # by either setting the environment variable LT_MULTI_MODULE
7736         # non-empty at configure time, or by adding -multi_module to the
7737         # link flags.
7738         rm -rf libconftest.dylib*
7739         echo "int foo(void){return 1;}" > conftest.c
7740         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7741 -dynamiclib -Wl,-single_module conftest.c" >&5
7742         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7743           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7744         _lt_result=$?
7745         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7746           lt_cv_apple_cc_single_mod=yes
7747         else
7748           cat conftest.err >&5
7749         fi
7750         rm -rf libconftest.dylib*
7751         rm -f conftest.*
7752       fi
7753 fi
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7755 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7756     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7757 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7758 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7759   $as_echo_n "(cached) " >&6
7760 else
7761   lt_cv_ld_exported_symbols_list=no
7762       save_LDFLAGS=$LDFLAGS
7763       echo "_main" > conftest.sym
7764       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7765       if test x$gcc_no_link = xyes; then
7766   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7767 fi
7768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7769 /* end confdefs.h.  */
7770
7771 int
7772 main ()
7773 {
7774
7775   ;
7776   return 0;
7777 }
7778 _ACEOF
7779 if ac_fn_c_try_link "$LINENO"; then :
7780   lt_cv_ld_exported_symbols_list=yes
7781 else
7782   lt_cv_ld_exported_symbols_list=no
7783 fi
7784 rm -f core conftest.err conftest.$ac_objext \
7785     conftest$ac_exeext conftest.$ac_ext
7786         LDFLAGS="$save_LDFLAGS"
7787
7788 fi
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7790 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7791     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7792 $as_echo_n "checking for -force_load linker flag... " >&6; }
7793 if test "${lt_cv_ld_force_load+set}" = set; then :
7794   $as_echo_n "(cached) " >&6
7795 else
7796   lt_cv_ld_force_load=no
7797       cat > conftest.c << _LT_EOF
7798 int forced_loaded() { return 2;}
7799 _LT_EOF
7800       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7801       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7802       echo "$AR cru libconftest.a conftest.o" >&5
7803       $AR cru libconftest.a conftest.o 2>&5
7804       cat > conftest.c << _LT_EOF
7805 int main() { return 0;}
7806 _LT_EOF
7807       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7808       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7809       _lt_result=$?
7810       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7811         lt_cv_ld_force_load=yes
7812       else
7813         cat conftest.err >&5
7814       fi
7815         rm -f conftest.err libconftest.a conftest conftest.c
7816         rm -rf conftest.dSYM
7817
7818 fi
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7820 $as_echo "$lt_cv_ld_force_load" >&6; }
7821     case $host_os in
7822     rhapsody* | darwin1.[012])
7823       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7824     darwin1.*)
7825       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7826     darwin*) # darwin 5.x on
7827       # if running on 10.5 or later, the deployment target defaults
7828       # to the OS version, if on x86, and 10.4, the deployment
7829       # target defaults to 10.4. Don't you love it?
7830       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7831         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7832           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7833         10.[012]*)
7834           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7835         10.*)
7836           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7837       esac
7838     ;;
7839   esac
7840     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7841       _lt_dar_single_mod='$single_module'
7842     fi
7843     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7844       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7845     else
7846       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7847     fi
7848     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7849       _lt_dsymutil='~$DSYMUTIL $lib || :'
7850     else
7851       _lt_dsymutil=
7852     fi
7853     ;;
7854   esac
7855
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7857 $as_echo_n "checking for ANSI C header files... " >&6; }
7858 if test "${ac_cv_header_stdc+set}" = set; then :
7859   $as_echo_n "(cached) " >&6
7860 else
7861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7862 /* end confdefs.h.  */
7863 #include <stdlib.h>
7864 #include <stdarg.h>
7865 #include <string.h>
7866 #include <float.h>
7867
7868 int
7869 main ()
7870 {
7871
7872   ;
7873   return 0;
7874 }
7875 _ACEOF
7876 if ac_fn_c_try_compile "$LINENO"; then :
7877   ac_cv_header_stdc=yes
7878 else
7879   ac_cv_header_stdc=no
7880 fi
7881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7882
7883 if test $ac_cv_header_stdc = yes; then
7884   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7886 /* end confdefs.h.  */
7887 #include <string.h>
7888
7889 _ACEOF
7890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7891   $EGREP "memchr" >/dev/null 2>&1; then :
7892
7893 else
7894   ac_cv_header_stdc=no
7895 fi
7896 rm -f conftest*
7897
7898 fi
7899
7900 if test $ac_cv_header_stdc = yes; then
7901   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7903 /* end confdefs.h.  */
7904 #include <stdlib.h>
7905
7906 _ACEOF
7907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7908   $EGREP "free" >/dev/null 2>&1; then :
7909
7910 else
7911   ac_cv_header_stdc=no
7912 fi
7913 rm -f conftest*
7914
7915 fi
7916
7917 if test $ac_cv_header_stdc = yes; then
7918   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7919   if test "$cross_compiling" = yes; then :
7920   :
7921 else
7922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7923 /* end confdefs.h.  */
7924 #include <ctype.h>
7925 #include <stdlib.h>
7926 #if ((' ' & 0x0FF) == 0x020)
7927 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7928 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7929 #else
7930 # define ISLOWER(c) \
7931                    (('a' <= (c) && (c) <= 'i') \
7932                      || ('j' <= (c) && (c) <= 'r') \
7933                      || ('s' <= (c) && (c) <= 'z'))
7934 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7935 #endif
7936
7937 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7938 int
7939 main ()
7940 {
7941   int i;
7942   for (i = 0; i < 256; i++)
7943     if (XOR (islower (i), ISLOWER (i))
7944         || toupper (i) != TOUPPER (i))
7945       return 2;
7946   return 0;
7947 }
7948 _ACEOF
7949 if ac_fn_c_try_run "$LINENO"; then :
7950
7951 else
7952   ac_cv_header_stdc=no
7953 fi
7954 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7955   conftest.$ac_objext conftest.beam conftest.$ac_ext
7956 fi
7957
7958 fi
7959 fi
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7961 $as_echo "$ac_cv_header_stdc" >&6; }
7962 if test $ac_cv_header_stdc = yes; then
7963
7964 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7965
7966 fi
7967
7968 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7969 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7970                   inttypes.h stdint.h unistd.h
7971 do :
7972   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7973 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7974 "
7975 eval as_val=\$$as_ac_Header
7976    if test "x$as_val" = x""yes; then :
7977   cat >>confdefs.h <<_ACEOF
7978 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7979 _ACEOF
7980
7981 fi
7982
7983 done
7984
7985
7986 for ac_header in dlfcn.h
7987 do :
7988   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7989 "
7990 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7991   cat >>confdefs.h <<_ACEOF
7992 #define HAVE_DLFCN_H 1
7993 _ACEOF
7994
7995 fi
7996
7997 done
7998
7999
8000
8001
8002
8003
8004 # Set options
8005
8006
8007
8008
8009   enable_win32_dll=no
8010
8011
8012             # Check whether --enable-shared was given.
8013 if test "${enable_shared+set}" = set; then :
8014   enableval=$enable_shared; p=${PACKAGE-default}
8015     case $enableval in
8016     yes) enable_shared=yes ;;
8017     no) enable_shared=no ;;
8018     *)
8019       enable_shared=no
8020       # Look at the argument we got.  We use all the common list separators.
8021       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8022       for pkg in $enableval; do
8023         IFS="$lt_save_ifs"
8024         if test "X$pkg" = "X$p"; then
8025           enable_shared=yes
8026         fi
8027       done
8028       IFS="$lt_save_ifs"
8029       ;;
8030     esac
8031 else
8032   enable_shared=yes
8033 fi
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043   # Check whether --enable-static was given.
8044 if test "${enable_static+set}" = set; then :
8045   enableval=$enable_static; p=${PACKAGE-default}
8046     case $enableval in
8047     yes) enable_static=yes ;;
8048     no) enable_static=no ;;
8049     *)
8050      enable_static=no
8051       # Look at the argument we got.  We use all the common list separators.
8052       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8053       for pkg in $enableval; do
8054         IFS="$lt_save_ifs"
8055         if test "X$pkg" = "X$p"; then
8056           enable_static=yes
8057         fi
8058       done
8059       IFS="$lt_save_ifs"
8060       ;;
8061     esac
8062 else
8063   enable_static=yes
8064 fi
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075 # Check whether --with-pic was given.
8076 if test "${with_pic+set}" = set; then :
8077   withval=$with_pic; pic_mode="$withval"
8078 else
8079   pic_mode=default
8080 fi
8081
8082
8083 test -z "$pic_mode" && pic_mode=default
8084
8085
8086
8087
8088
8089
8090
8091   # Check whether --enable-fast-install was given.
8092 if test "${enable_fast_install+set}" = set; then :
8093   enableval=$enable_fast_install; p=${PACKAGE-default}
8094     case $enableval in
8095     yes) enable_fast_install=yes ;;
8096     no) enable_fast_install=no ;;
8097     *)
8098       enable_fast_install=no
8099       # Look at the argument we got.  We use all the common list separators.
8100       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8101       for pkg in $enableval; do
8102         IFS="$lt_save_ifs"
8103         if test "X$pkg" = "X$p"; then
8104           enable_fast_install=yes
8105         fi
8106       done
8107       IFS="$lt_save_ifs"
8108       ;;
8109     esac
8110 else
8111   enable_fast_install=yes
8112 fi
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124 # This can be used to rebuild libtool when needed
8125 LIBTOOL_DEPS="$ltmain"
8126
8127 # Always use our own libtool.
8128 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155 test -z "$LN_S" && LN_S="ln -s"
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170 if test -n "${ZSH_VERSION+set}" ; then
8171    setopt NO_GLOB_SUBST
8172 fi
8173
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8175 $as_echo_n "checking for objdir... " >&6; }
8176 if test "${lt_cv_objdir+set}" = set; then :
8177   $as_echo_n "(cached) " >&6
8178 else
8179   rm -f .libs 2>/dev/null
8180 mkdir .libs 2>/dev/null
8181 if test -d .libs; then
8182   lt_cv_objdir=.libs
8183 else
8184   # MS-DOS does not allow filenames that begin with a dot.
8185   lt_cv_objdir=_libs
8186 fi
8187 rmdir .libs 2>/dev/null
8188 fi
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8190 $as_echo "$lt_cv_objdir" >&6; }
8191 objdir=$lt_cv_objdir
8192
8193
8194
8195
8196
8197 cat >>confdefs.h <<_ACEOF
8198 #define LT_OBJDIR "$lt_cv_objdir/"
8199 _ACEOF
8200
8201
8202
8203
8204 case $host_os in
8205 aix3*)
8206   # AIX sometimes has problems with the GCC collect2 program.  For some
8207   # reason, if we set the COLLECT_NAMES environment variable, the problems
8208   # vanish in a puff of smoke.
8209   if test "X${COLLECT_NAMES+set}" != Xset; then
8210     COLLECT_NAMES=
8211     export COLLECT_NAMES
8212   fi
8213   ;;
8214 esac
8215
8216 # Global variables:
8217 ofile=libtool
8218 can_build_shared=yes
8219
8220 # All known linkers require a `.a' archive for static linking (except MSVC,
8221 # which needs '.lib').
8222 libext=a
8223
8224 with_gnu_ld="$lt_cv_prog_gnu_ld"
8225
8226 old_CC="$CC"
8227 old_CFLAGS="$CFLAGS"
8228
8229 # Set sane defaults for various variables
8230 test -z "$CC" && CC=cc
8231 test -z "$LTCC" && LTCC=$CC
8232 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8233 test -z "$LD" && LD=ld
8234 test -z "$ac_objext" && ac_objext=o
8235
8236 for cc_temp in $compiler""; do
8237   case $cc_temp in
8238     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8239     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8240     \-*) ;;
8241     *) break;;
8242   esac
8243 done
8244 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8245
8246
8247 # Only perform the check for file, if the check method requires it
8248 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8249 case $deplibs_check_method in
8250 file_magic*)
8251   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8252     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8253 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8254 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8255   $as_echo_n "(cached) " >&6
8256 else
8257   case $MAGIC_CMD in
8258 [\\/*] |  ?:[\\/]*)
8259   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8260   ;;
8261 *)
8262   lt_save_MAGIC_CMD="$MAGIC_CMD"
8263   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8264   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8265   for ac_dir in $ac_dummy; do
8266     IFS="$lt_save_ifs"
8267     test -z "$ac_dir" && ac_dir=.
8268     if test -f $ac_dir/${ac_tool_prefix}file; then
8269       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8270       if test -n "$file_magic_test_file"; then
8271         case $deplibs_check_method in
8272         "file_magic "*)
8273           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8274           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8275           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8276             $EGREP "$file_magic_regex" > /dev/null; then
8277             :
8278           else
8279             cat <<_LT_EOF 1>&2
8280
8281 *** Warning: the command libtool uses to detect shared libraries,
8282 *** $file_magic_cmd, produces output that libtool cannot recognize.
8283 *** The result is that libtool may fail to recognize shared libraries
8284 *** as such.  This will affect the creation of libtool libraries that
8285 *** depend on shared libraries, but programs linked with such libtool
8286 *** libraries will work regardless of this problem.  Nevertheless, you
8287 *** may want to report the problem to your system manager and/or to
8288 *** bug-libtool@gnu.org
8289
8290 _LT_EOF
8291           fi ;;
8292         esac
8293       fi
8294       break
8295     fi
8296   done
8297   IFS="$lt_save_ifs"
8298   MAGIC_CMD="$lt_save_MAGIC_CMD"
8299   ;;
8300 esac
8301 fi
8302
8303 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8304 if test -n "$MAGIC_CMD"; then
8305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8306 $as_echo "$MAGIC_CMD" >&6; }
8307 else
8308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8309 $as_echo "no" >&6; }
8310 fi
8311
8312
8313
8314
8315
8316 if test -z "$lt_cv_path_MAGIC_CMD"; then
8317   if test -n "$ac_tool_prefix"; then
8318     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8319 $as_echo_n "checking for file... " >&6; }
8320 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8321   $as_echo_n "(cached) " >&6
8322 else
8323   case $MAGIC_CMD in
8324 [\\/*] |  ?:[\\/]*)
8325   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8326   ;;
8327 *)
8328   lt_save_MAGIC_CMD="$MAGIC_CMD"
8329   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8330   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8331   for ac_dir in $ac_dummy; do
8332     IFS="$lt_save_ifs"
8333     test -z "$ac_dir" && ac_dir=.
8334     if test -f $ac_dir/file; then
8335       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8336       if test -n "$file_magic_test_file"; then
8337         case $deplibs_check_method in
8338         "file_magic "*)
8339           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8340           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8341           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8342             $EGREP "$file_magic_regex" > /dev/null; then
8343             :
8344           else
8345             cat <<_LT_EOF 1>&2
8346
8347 *** Warning: the command libtool uses to detect shared libraries,
8348 *** $file_magic_cmd, produces output that libtool cannot recognize.
8349 *** The result is that libtool may fail to recognize shared libraries
8350 *** as such.  This will affect the creation of libtool libraries that
8351 *** depend on shared libraries, but programs linked with such libtool
8352 *** libraries will work regardless of this problem.  Nevertheless, you
8353 *** may want to report the problem to your system manager and/or to
8354 *** bug-libtool@gnu.org
8355
8356 _LT_EOF
8357           fi ;;
8358         esac
8359       fi
8360       break
8361     fi
8362   done
8363   IFS="$lt_save_ifs"
8364   MAGIC_CMD="$lt_save_MAGIC_CMD"
8365   ;;
8366 esac
8367 fi
8368
8369 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8370 if test -n "$MAGIC_CMD"; then
8371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8372 $as_echo "$MAGIC_CMD" >&6; }
8373 else
8374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8375 $as_echo "no" >&6; }
8376 fi
8377
8378
8379   else
8380     MAGIC_CMD=:
8381   fi
8382 fi
8383
8384   fi
8385   ;;
8386 esac
8387
8388 # Use C for the default configuration in the libtool script
8389
8390 lt_save_CC="$CC"
8391 ac_ext=c
8392 ac_cpp='$CPP $CPPFLAGS'
8393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8396
8397
8398 # Source file extension for C test sources.
8399 ac_ext=c
8400
8401 # Object file extension for compiled C test sources.
8402 objext=o
8403 objext=$objext
8404
8405 # Code to be used in simple compile tests
8406 lt_simple_compile_test_code="int some_variable = 0;"
8407
8408 # Code to be used in simple link tests
8409 lt_simple_link_test_code='int main(){return(0);}'
8410
8411
8412
8413
8414
8415
8416
8417 # If no C compiler was specified, use CC.
8418 LTCC=${LTCC-"$CC"}
8419
8420 # If no C compiler flags were specified, use CFLAGS.
8421 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8422
8423 # Allow CC to be a program name with arguments.
8424 compiler=$CC
8425
8426 # Save the default compiler, since it gets overwritten when the other
8427 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8428 compiler_DEFAULT=$CC
8429
8430 # save warnings/boilerplate of simple test code
8431 ac_outfile=conftest.$ac_objext
8432 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8433 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8434 _lt_compiler_boilerplate=`cat conftest.err`
8435 $RM conftest*
8436
8437 ac_outfile=conftest.$ac_objext
8438 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8439 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8440 _lt_linker_boilerplate=`cat conftest.err`
8441 $RM -r conftest*
8442
8443
8444 ## CAVEAT EMPTOR:
8445 ## There is no encapsulation within the following macros, do not change
8446 ## the running order or otherwise move them around unless you know exactly
8447 ## what you are doing...
8448 if test -n "$compiler"; then
8449
8450 lt_prog_compiler_no_builtin_flag=
8451
8452 if test "$GCC" = yes; then
8453   case $cc_basename in
8454   nvcc*)
8455     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8456   *)
8457     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8458   esac
8459
8460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8461 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8462 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8463   $as_echo_n "(cached) " >&6
8464 else
8465   lt_cv_prog_compiler_rtti_exceptions=no
8466    ac_outfile=conftest.$ac_objext
8467    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8468    lt_compiler_flag="-fno-rtti -fno-exceptions"
8469    # Insert the option either (1) after the last *FLAGS variable, or
8470    # (2) before a word containing "conftest.", or (3) at the end.
8471    # Note that $ac_compile itself does not contain backslashes and begins
8472    # with a dollar sign (not a hyphen), so the echo should work correctly.
8473    # The option is referenced via a variable to avoid confusing sed.
8474    lt_compile=`echo "$ac_compile" | $SED \
8475    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8476    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8477    -e 's:$: $lt_compiler_flag:'`
8478    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8479    (eval "$lt_compile" 2>conftest.err)
8480    ac_status=$?
8481    cat conftest.err >&5
8482    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8483    if (exit $ac_status) && test -s "$ac_outfile"; then
8484      # The compiler can only warn and ignore the option if not recognized
8485      # So say no if there are warnings other than the usual output.
8486      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8487      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8488      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8489        lt_cv_prog_compiler_rtti_exceptions=yes
8490      fi
8491    fi
8492    $RM conftest*
8493
8494 fi
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8496 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8497
8498 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8499     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8500 else
8501     :
8502 fi
8503
8504 fi
8505
8506
8507
8508
8509
8510
8511   lt_prog_compiler_wl=
8512 lt_prog_compiler_pic=
8513 lt_prog_compiler_static=
8514
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8516 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8517
8518   if test "$GCC" = yes; then
8519     lt_prog_compiler_wl='-Wl,'
8520     lt_prog_compiler_static='-static'
8521
8522     case $host_os in
8523       aix*)
8524       # All AIX code is PIC.
8525       if test "$host_cpu" = ia64; then
8526         # AIX 5 now supports IA64 processor
8527         lt_prog_compiler_static='-Bstatic'
8528       fi
8529       ;;
8530
8531     amigaos*)
8532       case $host_cpu in
8533       powerpc)
8534             # see comment about AmigaOS4 .so support
8535             lt_prog_compiler_pic='-fPIC'
8536         ;;
8537       m68k)
8538             # FIXME: we need at least 68020 code to build shared libraries, but
8539             # adding the `-m68020' flag to GCC prevents building anything better,
8540             # like `-m68040'.
8541             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8542         ;;
8543       esac
8544       ;;
8545
8546     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8547       # PIC is the default for these OSes.
8548       ;;
8549
8550     mingw* | cygwin* | pw32* | os2* | cegcc*)
8551       # This hack is so that the source file can tell whether it is being
8552       # built for inclusion in a dll (and should export symbols for example).
8553       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8554       # (--disable-auto-import) libraries
8555       lt_prog_compiler_pic='-DDLL_EXPORT'
8556       ;;
8557
8558     darwin* | rhapsody*)
8559       # PIC is the default on this platform
8560       # Common symbols not allowed in MH_DYLIB files
8561       lt_prog_compiler_pic='-fno-common'
8562       ;;
8563
8564     haiku*)
8565       # PIC is the default for Haiku.
8566       # The "-static" flag exists, but is broken.
8567       lt_prog_compiler_static=
8568       ;;
8569
8570     hpux*)
8571       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8572       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8573       # sets the default TLS model and affects inlining.
8574       case $host_cpu in
8575       hppa*64*)
8576         # +Z the default
8577         ;;
8578       *)
8579         lt_prog_compiler_pic='-fPIC'
8580         ;;
8581       esac
8582       ;;
8583
8584     interix[3-9]*)
8585       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8586       # Instead, we relocate shared libraries at runtime.
8587       ;;
8588
8589     msdosdjgpp*)
8590       # Just because we use GCC doesn't mean we suddenly get shared libraries
8591       # on systems that don't support them.
8592       lt_prog_compiler_can_build_shared=no
8593       enable_shared=no
8594       ;;
8595
8596     *nto* | *qnx*)
8597       # QNX uses GNU C++, but need to define -shared option too, otherwise
8598       # it will coredump.
8599       lt_prog_compiler_pic='-fPIC -shared'
8600       ;;
8601
8602     sysv4*MP*)
8603       if test -d /usr/nec; then
8604         lt_prog_compiler_pic=-Kconform_pic
8605       fi
8606       ;;
8607
8608     *)
8609       lt_prog_compiler_pic='-fPIC'
8610       ;;
8611     esac
8612
8613     case $cc_basename in
8614     nvcc*) # Cuda Compiler Driver 2.2
8615       lt_prog_compiler_wl='-Xlinker '
8616       lt_prog_compiler_pic='-Xcompiler -fPIC'
8617       ;;
8618     esac
8619   else
8620     # PORTME Check for flag to pass linker flags through the system compiler.
8621     case $host_os in
8622     aix*)
8623       lt_prog_compiler_wl='-Wl,'
8624       if test "$host_cpu" = ia64; then
8625         # AIX 5 now supports IA64 processor
8626         lt_prog_compiler_static='-Bstatic'
8627       else
8628         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8629       fi
8630       ;;
8631
8632     mingw* | cygwin* | pw32* | os2* | cegcc*)
8633       # This hack is so that the source file can tell whether it is being
8634       # built for inclusion in a dll (and should export symbols for example).
8635       lt_prog_compiler_pic='-DDLL_EXPORT'
8636       ;;
8637
8638     hpux9* | hpux10* | hpux11*)
8639       lt_prog_compiler_wl='-Wl,'
8640       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8641       # not for PA HP-UX.
8642       case $host_cpu in
8643       hppa*64*|ia64*)
8644         # +Z the default
8645         ;;
8646       *)
8647         lt_prog_compiler_pic='+Z'
8648         ;;
8649       esac
8650       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8651       lt_prog_compiler_static='${wl}-a ${wl}archive'
8652       ;;
8653
8654     irix5* | irix6* | nonstopux*)
8655       lt_prog_compiler_wl='-Wl,'
8656       # PIC (with -KPIC) is the default.
8657       lt_prog_compiler_static='-non_shared'
8658       ;;
8659
8660     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8661       case $cc_basename in
8662       # old Intel for x86_64 which still supported -KPIC.
8663       ecc*)
8664         lt_prog_compiler_wl='-Wl,'
8665         lt_prog_compiler_pic='-KPIC'
8666         lt_prog_compiler_static='-static'
8667         ;;
8668       # icc used to be incompatible with GCC.
8669       # ICC 10 doesn't accept -KPIC any more.
8670       icc* | ifort*)
8671         lt_prog_compiler_wl='-Wl,'
8672         lt_prog_compiler_pic='-fPIC'
8673         lt_prog_compiler_static='-static'
8674         ;;
8675       # Lahey Fortran 8.1.
8676       lf95*)
8677         lt_prog_compiler_wl='-Wl,'
8678         lt_prog_compiler_pic='--shared'
8679         lt_prog_compiler_static='--static'
8680         ;;
8681       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8682         # Portland Group compilers (*not* the Pentium gcc compiler,
8683         # which looks to be a dead project)
8684         lt_prog_compiler_wl='-Wl,'
8685         lt_prog_compiler_pic='-fpic'
8686         lt_prog_compiler_static='-Bstatic'
8687         ;;
8688       ccc*)
8689         lt_prog_compiler_wl='-Wl,'
8690         # All Alpha code is PIC.
8691         lt_prog_compiler_static='-non_shared'
8692         ;;
8693       xl* | bgxl* | bgf* | mpixl*)
8694         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8695         lt_prog_compiler_wl='-Wl,'
8696         lt_prog_compiler_pic='-qpic'
8697         lt_prog_compiler_static='-qstaticlink'
8698         ;;
8699       *)
8700         case `$CC -V 2>&1 | sed 5q` in
8701         *Sun\ F* | *Sun*Fortran*)
8702           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8703           lt_prog_compiler_pic='-KPIC'
8704           lt_prog_compiler_static='-Bstatic'
8705           lt_prog_compiler_wl=''
8706           ;;
8707         *Sun\ C*)
8708           # Sun C 5.9
8709           lt_prog_compiler_pic='-KPIC'
8710           lt_prog_compiler_static='-Bstatic'
8711           lt_prog_compiler_wl='-Wl,'
8712           ;;
8713         esac
8714         ;;
8715       esac
8716       ;;
8717
8718     newsos6)
8719       lt_prog_compiler_pic='-KPIC'
8720       lt_prog_compiler_static='-Bstatic'
8721       ;;
8722
8723     *nto* | *qnx*)
8724       # QNX uses GNU C++, but need to define -shared option too, otherwise
8725       # it will coredump.
8726       lt_prog_compiler_pic='-fPIC -shared'
8727       ;;
8728
8729     osf3* | osf4* | osf5*)
8730       lt_prog_compiler_wl='-Wl,'
8731       # All OSF/1 code is PIC.
8732       lt_prog_compiler_static='-non_shared'
8733       ;;
8734
8735     rdos*)
8736       lt_prog_compiler_static='-non_shared'
8737       ;;
8738
8739     solaris*)
8740       lt_prog_compiler_pic='-KPIC'
8741       lt_prog_compiler_static='-Bstatic'
8742       case $cc_basename in
8743       f77* | f90* | f95*)
8744         lt_prog_compiler_wl='-Qoption ld ';;
8745       *)
8746         lt_prog_compiler_wl='-Wl,';;
8747       esac
8748       ;;
8749
8750     sunos4*)
8751       lt_prog_compiler_wl='-Qoption ld '
8752       lt_prog_compiler_pic='-PIC'
8753       lt_prog_compiler_static='-Bstatic'
8754       ;;
8755
8756     sysv4 | sysv4.2uw2* | sysv4.3*)
8757       lt_prog_compiler_wl='-Wl,'
8758       lt_prog_compiler_pic='-KPIC'
8759       lt_prog_compiler_static='-Bstatic'
8760       ;;
8761
8762     sysv4*MP*)
8763       if test -d /usr/nec ;then
8764         lt_prog_compiler_pic='-Kconform_pic'
8765         lt_prog_compiler_static='-Bstatic'
8766       fi
8767       ;;
8768
8769     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8770       lt_prog_compiler_wl='-Wl,'
8771       lt_prog_compiler_pic='-KPIC'
8772       lt_prog_compiler_static='-Bstatic'
8773       ;;
8774
8775     unicos*)
8776       lt_prog_compiler_wl='-Wl,'
8777       lt_prog_compiler_can_build_shared=no
8778       ;;
8779
8780     uts4*)
8781       lt_prog_compiler_pic='-pic'
8782       lt_prog_compiler_static='-Bstatic'
8783       ;;
8784
8785     *)
8786       lt_prog_compiler_can_build_shared=no
8787       ;;
8788     esac
8789   fi
8790
8791 case $host_os in
8792   # For platforms which do not support PIC, -DPIC is meaningless:
8793   *djgpp*)
8794     lt_prog_compiler_pic=
8795     ;;
8796   *)
8797     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8798     ;;
8799 esac
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8801 $as_echo "$lt_prog_compiler_pic" >&6; }
8802
8803
8804
8805
8806
8807
8808 #
8809 # Check to make sure the PIC flag actually works.
8810 #
8811 if test -n "$lt_prog_compiler_pic"; then
8812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8813 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8814 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8815   $as_echo_n "(cached) " >&6
8816 else
8817   lt_cv_prog_compiler_pic_works=no
8818    ac_outfile=conftest.$ac_objext
8819    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8820    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8821    # Insert the option either (1) after the last *FLAGS variable, or
8822    # (2) before a word containing "conftest.", or (3) at the end.
8823    # Note that $ac_compile itself does not contain backslashes and begins
8824    # with a dollar sign (not a hyphen), so the echo should work correctly.
8825    # The option is referenced via a variable to avoid confusing sed.
8826    lt_compile=`echo "$ac_compile" | $SED \
8827    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8828    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8829    -e 's:$: $lt_compiler_flag:'`
8830    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8831    (eval "$lt_compile" 2>conftest.err)
8832    ac_status=$?
8833    cat conftest.err >&5
8834    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835    if (exit $ac_status) && test -s "$ac_outfile"; then
8836      # The compiler can only warn and ignore the option if not recognized
8837      # So say no if there are warnings other than the usual output.
8838      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8839      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8840      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8841        lt_cv_prog_compiler_pic_works=yes
8842      fi
8843    fi
8844    $RM conftest*
8845
8846 fi
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8848 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8849
8850 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8851     case $lt_prog_compiler_pic in
8852      "" | " "*) ;;
8853      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8854      esac
8855 else
8856     lt_prog_compiler_pic=
8857      lt_prog_compiler_can_build_shared=no
8858 fi
8859
8860 fi
8861
8862
8863
8864
8865
8866
8867 #
8868 # Check to make sure the static flag actually works.
8869 #
8870 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8872 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8873 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8874   $as_echo_n "(cached) " >&6
8875 else
8876   lt_cv_prog_compiler_static_works=no
8877    save_LDFLAGS="$LDFLAGS"
8878    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8879    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8880    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8881      # The linker can only warn and ignore the option if not recognized
8882      # So say no if there are warnings
8883      if test -s conftest.err; then
8884        # Append any errors to the config.log.
8885        cat conftest.err 1>&5
8886        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8887        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8888        if diff conftest.exp conftest.er2 >/dev/null; then
8889          lt_cv_prog_compiler_static_works=yes
8890        fi
8891      else
8892        lt_cv_prog_compiler_static_works=yes
8893      fi
8894    fi
8895    $RM -r conftest*
8896    LDFLAGS="$save_LDFLAGS"
8897
8898 fi
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8900 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8901
8902 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8903     :
8904 else
8905     lt_prog_compiler_static=
8906 fi
8907
8908
8909
8910
8911
8912
8913
8914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8915 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8916 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8917   $as_echo_n "(cached) " >&6
8918 else
8919   lt_cv_prog_compiler_c_o=no
8920    $RM -r conftest 2>/dev/null
8921    mkdir conftest
8922    cd conftest
8923    mkdir out
8924    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8925
8926    lt_compiler_flag="-o out/conftest2.$ac_objext"
8927    # Insert the option either (1) after the last *FLAGS variable, or
8928    # (2) before a word containing "conftest.", or (3) at the end.
8929    # Note that $ac_compile itself does not contain backslashes and begins
8930    # with a dollar sign (not a hyphen), so the echo should work correctly.
8931    lt_compile=`echo "$ac_compile" | $SED \
8932    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8933    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8934    -e 's:$: $lt_compiler_flag:'`
8935    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8936    (eval "$lt_compile" 2>out/conftest.err)
8937    ac_status=$?
8938    cat out/conftest.err >&5
8939    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8940    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8941    then
8942      # The compiler can only warn and ignore the option if not recognized
8943      # So say no if there are warnings
8944      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8945      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8946      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8947        lt_cv_prog_compiler_c_o=yes
8948      fi
8949    fi
8950    chmod u+w . 2>&5
8951    $RM conftest*
8952    # SGI C++ compiler will create directory out/ii_files/ for
8953    # template instantiation
8954    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8955    $RM out/* && rmdir out
8956    cd ..
8957    $RM -r conftest
8958    $RM conftest*
8959
8960 fi
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8962 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8963
8964
8965
8966
8967
8968
8969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8970 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8971 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8972   $as_echo_n "(cached) " >&6
8973 else
8974   lt_cv_prog_compiler_c_o=no
8975    $RM -r conftest 2>/dev/null
8976    mkdir conftest
8977    cd conftest
8978    mkdir out
8979    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8980
8981    lt_compiler_flag="-o out/conftest2.$ac_objext"
8982    # Insert the option either (1) after the last *FLAGS variable, or
8983    # (2) before a word containing "conftest.", or (3) at the end.
8984    # Note that $ac_compile itself does not contain backslashes and begins
8985    # with a dollar sign (not a hyphen), so the echo should work correctly.
8986    lt_compile=`echo "$ac_compile" | $SED \
8987    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8988    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8989    -e 's:$: $lt_compiler_flag:'`
8990    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8991    (eval "$lt_compile" 2>out/conftest.err)
8992    ac_status=$?
8993    cat out/conftest.err >&5
8994    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8996    then
8997      # The compiler can only warn and ignore the option if not recognized
8998      # So say no if there are warnings
8999      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9000      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9001      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9002        lt_cv_prog_compiler_c_o=yes
9003      fi
9004    fi
9005    chmod u+w . 2>&5
9006    $RM conftest*
9007    # SGI C++ compiler will create directory out/ii_files/ for
9008    # template instantiation
9009    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9010    $RM out/* && rmdir out
9011    cd ..
9012    $RM -r conftest
9013    $RM conftest*
9014
9015 fi
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9017 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9018
9019
9020
9021
9022 hard_links="nottested"
9023 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9024   # do not overwrite the value of need_locks provided by the user
9025   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9026 $as_echo_n "checking if we can lock with hard links... " >&6; }
9027   hard_links=yes
9028   $RM conftest*
9029   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9030   touch conftest.a
9031   ln conftest.a conftest.b 2>&5 || hard_links=no
9032   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9034 $as_echo "$hard_links" >&6; }
9035   if test "$hard_links" = no; then
9036     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9037 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9038     need_locks=warn
9039   fi
9040 else
9041   need_locks=no
9042 fi
9043
9044
9045
9046
9047
9048
9049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9050 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9051
9052   runpath_var=
9053   allow_undefined_flag=
9054   always_export_symbols=no
9055   archive_cmds=
9056   archive_expsym_cmds=
9057   compiler_needs_object=no
9058   enable_shared_with_static_runtimes=no
9059   export_dynamic_flag_spec=
9060   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9061   hardcode_automatic=no
9062   hardcode_direct=no
9063   hardcode_direct_absolute=no
9064   hardcode_libdir_flag_spec=
9065   hardcode_libdir_flag_spec_ld=
9066   hardcode_libdir_separator=
9067   hardcode_minus_L=no
9068   hardcode_shlibpath_var=unsupported
9069   inherit_rpath=no
9070   link_all_deplibs=unknown
9071   module_cmds=
9072   module_expsym_cmds=
9073   old_archive_from_new_cmds=
9074   old_archive_from_expsyms_cmds=
9075   thread_safe_flag_spec=
9076   whole_archive_flag_spec=
9077   # include_expsyms should be a list of space-separated symbols to be *always*
9078   # included in the symbol list
9079   include_expsyms=
9080   # exclude_expsyms can be an extended regexp of symbols to exclude
9081   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9082   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9083   # as well as any symbol that contains `d'.
9084   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9085   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9086   # platforms (ab)use it in PIC code, but their linkers get confused if
9087   # the symbol is explicitly referenced.  Since portable code cannot
9088   # rely on this symbol name, it's probably fine to never include it in
9089   # preloaded symbol tables.
9090   # Exclude shared library initialization/finalization symbols.
9091   extract_expsyms_cmds=
9092
9093   case $host_os in
9094   cygwin* | mingw* | pw32* | cegcc*)
9095     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9096     # When not using gcc, we currently assume that we are using
9097     # Microsoft Visual C++.
9098     if test "$GCC" != yes; then
9099       with_gnu_ld=no
9100     fi
9101     ;;
9102   interix*)
9103     # we just hope/assume this is gcc and not c89 (= MSVC++)
9104     with_gnu_ld=yes
9105     ;;
9106   openbsd*)
9107     with_gnu_ld=no
9108     ;;
9109   esac
9110
9111   ld_shlibs=yes
9112
9113   # On some targets, GNU ld is compatible enough with the native linker
9114   # that we're better off using the native interface for both.
9115   lt_use_gnu_ld_interface=no
9116   if test "$with_gnu_ld" = yes; then
9117     case $host_os in
9118       aix*)
9119         # The AIX port of GNU ld has always aspired to compatibility
9120         # with the native linker.  However, as the warning in the GNU ld
9121         # block says, versions before 2.19.5* couldn't really create working
9122         # shared libraries, regardless of the interface used.
9123         case `$LD -v 2>&1` in
9124           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9125           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9126           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9127           *)
9128             lt_use_gnu_ld_interface=yes
9129             ;;
9130         esac
9131         ;;
9132       *)
9133         lt_use_gnu_ld_interface=yes
9134         ;;
9135     esac
9136   fi
9137
9138   if test "$lt_use_gnu_ld_interface" = yes; then
9139     # If archive_cmds runs LD, not CC, wlarc should be empty
9140     wlarc='${wl}'
9141
9142     # Set some defaults for GNU ld with shared library support. These
9143     # are reset later if shared libraries are not supported. Putting them
9144     # here allows them to be overridden if necessary.
9145     runpath_var=LD_RUN_PATH
9146     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9147     export_dynamic_flag_spec='${wl}--export-dynamic'
9148     # ancient GNU ld didn't support --whole-archive et. al.
9149     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9150       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9151     else
9152       whole_archive_flag_spec=
9153     fi
9154     supports_anon_versioning=no
9155     case `$LD -v 2>&1` in
9156       *GNU\ gold*) supports_anon_versioning=yes ;;
9157       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9158       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9159       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9160       *\ 2.11.*) ;; # other 2.11 versions
9161       *) supports_anon_versioning=yes ;;
9162     esac
9163
9164     # See if GNU ld supports shared libraries.
9165     case $host_os in
9166     aix[3-9]*)
9167       # On AIX/PPC, the GNU linker is very broken
9168       if test "$host_cpu" != ia64; then
9169         ld_shlibs=no
9170         cat <<_LT_EOF 1>&2
9171
9172 *** Warning: the GNU linker, at least up to release 2.19, is reported
9173 *** to be unable to reliably create shared libraries on AIX.
9174 *** Therefore, libtool is disabling shared libraries support.  If you
9175 *** really care for shared libraries, you may want to install binutils
9176 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9177 *** You will then need to restart the configuration process.
9178
9179 _LT_EOF
9180       fi
9181       ;;
9182
9183     amigaos*)
9184       case $host_cpu in
9185       powerpc)
9186             # see comment about AmigaOS4 .so support
9187             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9188             archive_expsym_cmds=''
9189         ;;
9190       m68k)
9191             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)'
9192             hardcode_libdir_flag_spec='-L$libdir'
9193             hardcode_minus_L=yes
9194         ;;
9195       esac
9196       ;;
9197
9198     beos*)
9199       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9200         allow_undefined_flag=unsupported
9201         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9202         # support --undefined.  This deserves some investigation.  FIXME
9203         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9204       else
9205         ld_shlibs=no
9206       fi
9207       ;;
9208
9209     cygwin* | mingw* | pw32* | cegcc*)
9210       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9211       # as there is no search path for DLLs.
9212       hardcode_libdir_flag_spec='-L$libdir'
9213       export_dynamic_flag_spec='${wl}--export-all-symbols'
9214       allow_undefined_flag=unsupported
9215       always_export_symbols=no
9216       enable_shared_with_static_runtimes=yes
9217       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9218
9219       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9220         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9221         # If the export-symbols file already is a .def file (1st line
9222         # is EXPORTS), use it as is; otherwise, prepend...
9223         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9224           cp $export_symbols $output_objdir/$soname.def;
9225         else
9226           echo EXPORTS > $output_objdir/$soname.def;
9227           cat $export_symbols >> $output_objdir/$soname.def;
9228         fi~
9229         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9230       else
9231         ld_shlibs=no
9232       fi
9233       ;;
9234
9235     haiku*)
9236       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9237       link_all_deplibs=yes
9238       ;;
9239
9240     interix[3-9]*)
9241       hardcode_direct=no
9242       hardcode_shlibpath_var=no
9243       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9244       export_dynamic_flag_spec='${wl}-E'
9245       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9246       # Instead, shared libraries are loaded at an image base (0x10000000 by
9247       # default) and relocated if they conflict, which is a slow very memory
9248       # consuming and fragmenting process.  To avoid this, we pick a random,
9249       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9250       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9251       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9252       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'
9253       ;;
9254
9255     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9256       tmp_diet=no
9257       if test "$host_os" = linux-dietlibc; then
9258         case $cc_basename in
9259           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9260         esac
9261       fi
9262       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9263          && test "$tmp_diet" = no
9264       then
9265         tmp_addflag=
9266         tmp_sharedflag='-shared'
9267         case $cc_basename,$host_cpu in
9268         pgcc*)                          # Portland Group C compiler
9269           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'
9270           tmp_addflag=' $pic_flag'
9271           ;;
9272         pgf77* | pgf90* | pgf95* | pgfortran*)
9273                                         # Portland Group f77 and f90 compilers
9274           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'
9275           tmp_addflag=' $pic_flag -Mnomain' ;;
9276         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9277           tmp_addflag=' -i_dynamic' ;;
9278         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9279           tmp_addflag=' -i_dynamic -nofor_main' ;;
9280         ifc* | ifort*)                  # Intel Fortran compiler
9281           tmp_addflag=' -nofor_main' ;;
9282         lf95*)                          # Lahey Fortran 8.1
9283           whole_archive_flag_spec=
9284           tmp_sharedflag='--shared' ;;
9285         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9286           tmp_sharedflag='-qmkshrobj'
9287           tmp_addflag= ;;
9288         nvcc*)  # Cuda Compiler Driver 2.2
9289           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'
9290           compiler_needs_object=yes
9291           ;;
9292         esac
9293         case `$CC -V 2>&1 | sed 5q` in
9294         *Sun\ C*)                       # Sun C 5.9
9295           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'
9296           compiler_needs_object=yes
9297           tmp_sharedflag='-G' ;;
9298         *Sun\ F*)                       # Sun Fortran 8.3
9299           tmp_sharedflag='-G' ;;
9300         esac
9301         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9302
9303         if test "x$supports_anon_versioning" = xyes; then
9304           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9305             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9306             echo "local: *; };" >> $output_objdir/$libname.ver~
9307             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9308         fi
9309
9310         case $cc_basename in
9311         xlf* | bgf* | bgxlf* | mpixlf*)
9312           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9313           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9314           hardcode_libdir_flag_spec=
9315           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9316           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9317           if test "x$supports_anon_versioning" = xyes; then
9318             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9319               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9320               echo "local: *; };" >> $output_objdir/$libname.ver~
9321               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9322           fi
9323           ;;
9324         esac
9325       else
9326         ld_shlibs=no
9327       fi
9328       ;;
9329
9330     netbsd*)
9331       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9332         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9333         wlarc=
9334       else
9335         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9336         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9337       fi
9338       ;;
9339
9340     solaris*)
9341       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9342         ld_shlibs=no
9343         cat <<_LT_EOF 1>&2
9344
9345 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9346 *** create shared libraries on Solaris systems.  Therefore, libtool
9347 *** is disabling shared libraries support.  We urge you to upgrade GNU
9348 *** binutils to release 2.9.1 or newer.  Another option is to modify
9349 *** your PATH or compiler configuration so that the native linker is
9350 *** used, and then restart.
9351
9352 _LT_EOF
9353       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9354         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9355         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9356       else
9357         ld_shlibs=no
9358       fi
9359       ;;
9360
9361     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9362       case `$LD -v 2>&1` in
9363         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9364         ld_shlibs=no
9365         cat <<_LT_EOF 1>&2
9366
9367 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9368 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9369 *** is disabling shared libraries support.  We urge you to upgrade GNU
9370 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9371 *** your PATH or compiler configuration so that the native linker is
9372 *** used, and then restart.
9373
9374 _LT_EOF
9375         ;;
9376         *)
9377           # For security reasons, it is highly recommended that you always
9378           # use absolute paths for naming shared libraries, and exclude the
9379           # DT_RUNPATH tag from executables and libraries.  But doing so
9380           # requires that you compile everything twice, which is a pain.
9381           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9382             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9383             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9384             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9385           else
9386             ld_shlibs=no
9387           fi
9388         ;;
9389       esac
9390       ;;
9391
9392     sunos4*)
9393       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9394       wlarc=
9395       hardcode_direct=yes
9396       hardcode_shlibpath_var=no
9397       ;;
9398
9399     *)
9400       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9401         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9402         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9403       else
9404         ld_shlibs=no
9405       fi
9406       ;;
9407     esac
9408
9409     if test "$ld_shlibs" = no; then
9410       runpath_var=
9411       hardcode_libdir_flag_spec=
9412       export_dynamic_flag_spec=
9413       whole_archive_flag_spec=
9414     fi
9415   else
9416     # PORTME fill in a description of your system's linker (not GNU ld)
9417     case $host_os in
9418     aix3*)
9419       allow_undefined_flag=unsupported
9420       always_export_symbols=yes
9421       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'
9422       # Note: this linker hardcodes the directories in LIBPATH if there
9423       # are no directories specified by -L.
9424       hardcode_minus_L=yes
9425       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9426         # Neither direct hardcoding nor static linking is supported with a
9427         # broken collect2.
9428         hardcode_direct=unsupported
9429       fi
9430       ;;
9431
9432     aix[4-9]*)
9433       if test "$host_cpu" = ia64; then
9434         # On IA64, the linker does run time linking by default, so we don't
9435         # have to do anything special.
9436         aix_use_runtimelinking=no
9437         exp_sym_flag='-Bexport'
9438         no_entry_flag=""
9439       else
9440         # If we're using GNU nm, then we don't want the "-C" option.
9441         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9442         # Also, AIX nm treats weak defined symbols like other global
9443         # defined symbols, whereas GNU nm marks them as "W".
9444         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9445           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'
9446         else
9447           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'
9448         fi
9449         aix_use_runtimelinking=no
9450
9451         # Test if we are trying to use run time linking or normal
9452         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9453         # need to do runtime linking.
9454         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9455           for ld_flag in $LDFLAGS; do
9456           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9457             aix_use_runtimelinking=yes
9458             break
9459           fi
9460           done
9461           ;;
9462         esac
9463
9464         exp_sym_flag='-bexport'
9465         no_entry_flag='-bnoentry'
9466       fi
9467
9468       # When large executables or shared objects are built, AIX ld can
9469       # have problems creating the table of contents.  If linking a library
9470       # or program results in "error TOC overflow" add -mminimal-toc to
9471       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9472       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9473
9474       archive_cmds=''
9475       hardcode_direct=yes
9476       hardcode_direct_absolute=yes
9477       hardcode_libdir_separator=':'
9478       link_all_deplibs=yes
9479       file_list_spec='${wl}-f,'
9480
9481       if test "$GCC" = yes; then
9482         case $host_os in aix4.[012]|aix4.[012].*)
9483         # We only want to do this on AIX 4.2 and lower, the check
9484         # below for broken collect2 doesn't work under 4.3+
9485           collect2name=`${CC} -print-prog-name=collect2`
9486           if test -f "$collect2name" &&
9487            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9488           then
9489           # We have reworked collect2
9490           :
9491           else
9492           # We have old collect2
9493           hardcode_direct=unsupported
9494           # It fails to find uninstalled libraries when the uninstalled
9495           # path is not listed in the libpath.  Setting hardcode_minus_L
9496           # to unsupported forces relinking
9497           hardcode_minus_L=yes
9498           hardcode_libdir_flag_spec='-L$libdir'
9499           hardcode_libdir_separator=
9500           fi
9501           ;;
9502         esac
9503         shared_flag='-shared'
9504         if test "$aix_use_runtimelinking" = yes; then
9505           shared_flag="$shared_flag "'${wl}-G'
9506         fi
9507       else
9508         # not using gcc
9509         if test "$host_cpu" = ia64; then
9510         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9511         # chokes on -Wl,-G. The following line is correct:
9512           shared_flag='-G'
9513         else
9514           if test "$aix_use_runtimelinking" = yes; then
9515             shared_flag='${wl}-G'
9516           else
9517             shared_flag='${wl}-bM:SRE'
9518           fi
9519         fi
9520       fi
9521
9522       export_dynamic_flag_spec='${wl}-bexpall'
9523       # It seems that -bexpall does not export symbols beginning with
9524       # underscore (_), so it is better to generate a list of symbols to export.
9525       always_export_symbols=yes
9526       if test "$aix_use_runtimelinking" = yes; then
9527         # Warning - without using the other runtime loading flags (-brtl),
9528         # -berok will link without error, but may produce a broken library.
9529         allow_undefined_flag='-berok'
9530         # Determine the default libpath from the value encoded in an
9531         # empty executable.
9532         if test x$gcc_no_link = xyes; then
9533   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9534 fi
9535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9536 /* end confdefs.h.  */
9537
9538 int
9539 main ()
9540 {
9541
9542   ;
9543   return 0;
9544 }
9545 _ACEOF
9546 if ac_fn_c_try_link "$LINENO"; then :
9547
9548 lt_aix_libpath_sed='
9549     /Import File Strings/,/^$/ {
9550         /^0/ {
9551             s/^0  *\(.*\)$/\1/
9552             p
9553         }
9554     }'
9555 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9556 # Check for a 64-bit object if we didn't find anything.
9557 if test -z "$aix_libpath"; then
9558   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9559 fi
9560 fi
9561 rm -f core conftest.err conftest.$ac_objext \
9562     conftest$ac_exeext conftest.$ac_ext
9563 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9564
9565         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9566         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"
9567       else
9568         if test "$host_cpu" = ia64; then
9569           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9570           allow_undefined_flag="-z nodefs"
9571           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"
9572         else
9573          # Determine the default libpath from the value encoded in an
9574          # empty executable.
9575          if test x$gcc_no_link = xyes; then
9576   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9577 fi
9578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9579 /* end confdefs.h.  */
9580
9581 int
9582 main ()
9583 {
9584
9585   ;
9586   return 0;
9587 }
9588 _ACEOF
9589 if ac_fn_c_try_link "$LINENO"; then :
9590
9591 lt_aix_libpath_sed='
9592     /Import File Strings/,/^$/ {
9593         /^0/ {
9594             s/^0  *\(.*\)$/\1/
9595             p
9596         }
9597     }'
9598 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9599 # Check for a 64-bit object if we didn't find anything.
9600 if test -z "$aix_libpath"; then
9601   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9602 fi
9603 fi
9604 rm -f core conftest.err conftest.$ac_objext \
9605     conftest$ac_exeext conftest.$ac_ext
9606 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9607
9608          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9609           # Warning - without using the other run time loading flags,
9610           # -berok will link without error, but may produce a broken library.
9611           no_undefined_flag=' ${wl}-bernotok'
9612           allow_undefined_flag=' ${wl}-berok'
9613           if test "$with_gnu_ld" = yes; then
9614             # We only use this code for GNU lds that support --whole-archive.
9615             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9616           else
9617             # Exported symbols can be pulled into shared objects from archives
9618             whole_archive_flag_spec='$convenience'
9619           fi
9620           archive_cmds_need_lc=yes
9621           # This is similar to how AIX traditionally builds its shared libraries.
9622           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'
9623         fi
9624       fi
9625       ;;
9626
9627     amigaos*)
9628       case $host_cpu in
9629       powerpc)
9630             # see comment about AmigaOS4 .so support
9631             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9632             archive_expsym_cmds=''
9633         ;;
9634       m68k)
9635             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)'
9636             hardcode_libdir_flag_spec='-L$libdir'
9637             hardcode_minus_L=yes
9638         ;;
9639       esac
9640       ;;
9641
9642     bsdi[45]*)
9643       export_dynamic_flag_spec=-rdynamic
9644       ;;
9645
9646     cygwin* | mingw* | pw32* | cegcc*)
9647       # When not using gcc, we currently assume that we are using
9648       # Microsoft Visual C++.
9649       # hardcode_libdir_flag_spec is actually meaningless, as there is
9650       # no search path for DLLs.
9651       hardcode_libdir_flag_spec=' '
9652       allow_undefined_flag=unsupported
9653       # Tell ltmain to make .lib files, not .a files.
9654       libext=lib
9655       # Tell ltmain to make .dll files, not .so files.
9656       shrext_cmds=".dll"
9657       # FIXME: Setting linknames here is a bad hack.
9658       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9659       # The linker will automatically build a .lib file if we build a DLL.
9660       old_archive_from_new_cmds='true'
9661       # FIXME: Should let the user specify the lib program.
9662       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9663       fix_srcfile_path='`cygpath -w "$srcfile"`'
9664       enable_shared_with_static_runtimes=yes
9665       ;;
9666
9667     darwin* | rhapsody*)
9668
9669
9670   archive_cmds_need_lc=no
9671   hardcode_direct=no
9672   hardcode_automatic=yes
9673   hardcode_shlibpath_var=unsupported
9674   if test "$lt_cv_ld_force_load" = "yes"; then
9675     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\"`'
9676   else
9677     whole_archive_flag_spec=''
9678   fi
9679   link_all_deplibs=yes
9680   allow_undefined_flag="$_lt_dar_allow_undefined"
9681   case $cc_basename in
9682      ifort*) _lt_dar_can_shared=yes ;;
9683      *) _lt_dar_can_shared=$GCC ;;
9684   esac
9685   if test "$_lt_dar_can_shared" = "yes"; then
9686     output_verbose_link_cmd=func_echo_all
9687     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9688     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9689     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}"
9690     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}"
9691
9692   else
9693   ld_shlibs=no
9694   fi
9695
9696       ;;
9697
9698     dgux*)
9699       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9700       hardcode_libdir_flag_spec='-L$libdir'
9701       hardcode_shlibpath_var=no
9702       ;;
9703
9704     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9705     # support.  Future versions do this automatically, but an explicit c++rt0.o
9706     # does not break anything, and helps significantly (at the cost of a little
9707     # extra space).
9708     freebsd2.2*)
9709       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9710       hardcode_libdir_flag_spec='-R$libdir'
9711       hardcode_direct=yes
9712       hardcode_shlibpath_var=no
9713       ;;
9714
9715     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9716     freebsd2.*)
9717       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9718       hardcode_direct=yes
9719       hardcode_minus_L=yes
9720       hardcode_shlibpath_var=no
9721       ;;
9722
9723     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9724     freebsd* | dragonfly*)
9725       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9726       hardcode_libdir_flag_spec='-R$libdir'
9727       hardcode_direct=yes
9728       hardcode_shlibpath_var=no
9729       ;;
9730
9731     hpux9*)
9732       if test "$GCC" = yes; then
9733         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'
9734       else
9735         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'
9736       fi
9737       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9738       hardcode_libdir_separator=:
9739       hardcode_direct=yes
9740
9741       # hardcode_minus_L: Not really in the search PATH,
9742       # but as the default location of the library.
9743       hardcode_minus_L=yes
9744       export_dynamic_flag_spec='${wl}-E'
9745       ;;
9746
9747     hpux10*)
9748       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9749         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9750       else
9751         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9752       fi
9753       if test "$with_gnu_ld" = no; then
9754         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9755         hardcode_libdir_flag_spec_ld='+b $libdir'
9756         hardcode_libdir_separator=:
9757         hardcode_direct=yes
9758         hardcode_direct_absolute=yes
9759         export_dynamic_flag_spec='${wl}-E'
9760         # hardcode_minus_L: Not really in the search PATH,
9761         # but as the default location of the library.
9762         hardcode_minus_L=yes
9763       fi
9764       ;;
9765
9766     hpux11*)
9767       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9768         case $host_cpu in
9769         hppa*64*)
9770           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9771           ;;
9772         ia64*)
9773           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9774           ;;
9775         *)
9776           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9777           ;;
9778         esac
9779       else
9780         case $host_cpu in
9781         hppa*64*)
9782           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9783           ;;
9784         ia64*)
9785           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9786           ;;
9787         *)
9788
9789           # Older versions of the 11.00 compiler do not understand -b yet
9790           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9791           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9792 $as_echo_n "checking if $CC understands -b... " >&6; }
9793 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9794   $as_echo_n "(cached) " >&6
9795 else
9796   lt_cv_prog_compiler__b=no
9797    save_LDFLAGS="$LDFLAGS"
9798    LDFLAGS="$LDFLAGS -b"
9799    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9800    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9801      # The linker can only warn and ignore the option if not recognized
9802      # So say no if there are warnings
9803      if test -s conftest.err; then
9804        # Append any errors to the config.log.
9805        cat conftest.err 1>&5
9806        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9807        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9808        if diff conftest.exp conftest.er2 >/dev/null; then
9809          lt_cv_prog_compiler__b=yes
9810        fi
9811      else
9812        lt_cv_prog_compiler__b=yes
9813      fi
9814    fi
9815    $RM -r conftest*
9816    LDFLAGS="$save_LDFLAGS"
9817
9818 fi
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9820 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9821
9822 if test x"$lt_cv_prog_compiler__b" = xyes; then
9823     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9824 else
9825     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9826 fi
9827
9828           ;;
9829         esac
9830       fi
9831       if test "$with_gnu_ld" = no; then
9832         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9833         hardcode_libdir_separator=:
9834
9835         case $host_cpu in
9836         hppa*64*|ia64*)
9837           hardcode_direct=no
9838           hardcode_shlibpath_var=no
9839           ;;
9840         *)
9841           hardcode_direct=yes
9842           hardcode_direct_absolute=yes
9843           export_dynamic_flag_spec='${wl}-E'
9844
9845           # hardcode_minus_L: Not really in the search PATH,
9846           # but as the default location of the library.
9847           hardcode_minus_L=yes
9848           ;;
9849         esac
9850       fi
9851       ;;
9852
9853     irix5* | irix6* | nonstopux*)
9854       if test "$GCC" = yes; then
9855         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'
9856         # Try to use the -exported_symbol ld option, if it does not
9857         # work, assume that -exports_file does not work either and
9858         # implicitly export all symbols.
9859         save_LDFLAGS="$LDFLAGS"
9860         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9861         if test x$gcc_no_link = xyes; then
9862   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9863 fi
9864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9865 /* end confdefs.h.  */
9866 int foo(void) {}
9867 _ACEOF
9868 if ac_fn_c_try_link "$LINENO"; then :
9869   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'
9870
9871 fi
9872 rm -f core conftest.err conftest.$ac_objext \
9873     conftest$ac_exeext conftest.$ac_ext
9874         LDFLAGS="$save_LDFLAGS"
9875       else
9876         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'
9877         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'
9878       fi
9879       archive_cmds_need_lc='no'
9880       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9881       hardcode_libdir_separator=:
9882       inherit_rpath=yes
9883       link_all_deplibs=yes
9884       ;;
9885
9886     netbsd*)
9887       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9888         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9889       else
9890         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9891       fi
9892       hardcode_libdir_flag_spec='-R$libdir'
9893       hardcode_direct=yes
9894       hardcode_shlibpath_var=no
9895       ;;
9896
9897     newsos6)
9898       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9899       hardcode_direct=yes
9900       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9901       hardcode_libdir_separator=:
9902       hardcode_shlibpath_var=no
9903       ;;
9904
9905     *nto* | *qnx*)
9906       ;;
9907
9908     openbsd*)
9909       if test -f /usr/libexec/ld.so; then
9910         hardcode_direct=yes
9911         hardcode_shlibpath_var=no
9912         hardcode_direct_absolute=yes
9913         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9914           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9915           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9916           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9917           export_dynamic_flag_spec='${wl}-E'
9918         else
9919           case $host_os in
9920            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9921              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9922              hardcode_libdir_flag_spec='-R$libdir'
9923              ;;
9924            *)
9925              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9926              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9927              ;;
9928           esac
9929         fi
9930       else
9931         ld_shlibs=no
9932       fi
9933       ;;
9934
9935     os2*)
9936       hardcode_libdir_flag_spec='-L$libdir'
9937       hardcode_minus_L=yes
9938       allow_undefined_flag=unsupported
9939       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'
9940       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9941       ;;
9942
9943     osf3*)
9944       if test "$GCC" = yes; then
9945         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9946         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'
9947       else
9948         allow_undefined_flag=' -expect_unresolved \*'
9949         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'
9950       fi
9951       archive_cmds_need_lc='no'
9952       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9953       hardcode_libdir_separator=:
9954       ;;
9955
9956     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9957       if test "$GCC" = yes; then
9958         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9959         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'
9960         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9961       else
9962         allow_undefined_flag=' -expect_unresolved \*'
9963         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'
9964         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~
9965         $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'
9966
9967         # Both c and cxx compiler support -rpath directly
9968         hardcode_libdir_flag_spec='-rpath $libdir'
9969       fi
9970       archive_cmds_need_lc='no'
9971       hardcode_libdir_separator=:
9972       ;;
9973
9974     solaris*)
9975       no_undefined_flag=' -z defs'
9976       if test "$GCC" = yes; then
9977         wlarc='${wl}'
9978         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9979         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9980           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9981       else
9982         case `$CC -V 2>&1` in
9983         *"Compilers 5.0"*)
9984           wlarc=''
9985           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9986           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9987           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9988           ;;
9989         *)
9990           wlarc='${wl}'
9991           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9992           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9993           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9994           ;;
9995         esac
9996       fi
9997       hardcode_libdir_flag_spec='-R$libdir'
9998       hardcode_shlibpath_var=no
9999       case $host_os in
10000       solaris2.[0-5] | solaris2.[0-5].*) ;;
10001       *)
10002         # The compiler driver will combine and reorder linker options,
10003         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10004         # but is careful enough not to reorder.
10005         # Supported since Solaris 2.6 (maybe 2.5.1?)
10006         if test "$GCC" = yes; then
10007           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10008         else
10009           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10010         fi
10011         ;;
10012       esac
10013       link_all_deplibs=yes
10014       ;;
10015
10016     sunos4*)
10017       if test "x$host_vendor" = xsequent; then
10018         # Use $CC to link under sequent, because it throws in some extra .o
10019         # files that make .init and .fini sections work.
10020         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10021       else
10022         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10023       fi
10024       hardcode_libdir_flag_spec='-L$libdir'
10025       hardcode_direct=yes
10026       hardcode_minus_L=yes
10027       hardcode_shlibpath_var=no
10028       ;;
10029
10030     sysv4)
10031       case $host_vendor in
10032         sni)
10033           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10034           hardcode_direct=yes # is this really true???
10035         ;;
10036         siemens)
10037           ## LD is ld it makes a PLAMLIB
10038           ## CC just makes a GrossModule.
10039           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10040           reload_cmds='$CC -r -o $output$reload_objs'
10041           hardcode_direct=no
10042         ;;
10043         motorola)
10044           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10045           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10046         ;;
10047       esac
10048       runpath_var='LD_RUN_PATH'
10049       hardcode_shlibpath_var=no
10050       ;;
10051
10052     sysv4.3*)
10053       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10054       hardcode_shlibpath_var=no
10055       export_dynamic_flag_spec='-Bexport'
10056       ;;
10057
10058     sysv4*MP*)
10059       if test -d /usr/nec; then
10060         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10061         hardcode_shlibpath_var=no
10062         runpath_var=LD_RUN_PATH
10063         hardcode_runpath_var=yes
10064         ld_shlibs=yes
10065       fi
10066       ;;
10067
10068     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10069       no_undefined_flag='${wl}-z,text'
10070       archive_cmds_need_lc=no
10071       hardcode_shlibpath_var=no
10072       runpath_var='LD_RUN_PATH'
10073
10074       if test "$GCC" = yes; then
10075         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10076         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10077       else
10078         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10079         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10080       fi
10081       ;;
10082
10083     sysv5* | sco3.2v5* | sco5v6*)
10084       # Note: We can NOT use -z defs as we might desire, because we do not
10085       # link with -lc, and that would cause any symbols used from libc to
10086       # always be unresolved, which means just about no library would
10087       # ever link correctly.  If we're not using GNU ld we use -z text
10088       # though, which does catch some bad symbols but isn't as heavy-handed
10089       # as -z defs.
10090       no_undefined_flag='${wl}-z,text'
10091       allow_undefined_flag='${wl}-z,nodefs'
10092       archive_cmds_need_lc=no
10093       hardcode_shlibpath_var=no
10094       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10095       hardcode_libdir_separator=':'
10096       link_all_deplibs=yes
10097       export_dynamic_flag_spec='${wl}-Bexport'
10098       runpath_var='LD_RUN_PATH'
10099
10100       if test "$GCC" = yes; then
10101         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10102         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10103       else
10104         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10105         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10106       fi
10107       ;;
10108
10109     uts4*)
10110       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10111       hardcode_libdir_flag_spec='-L$libdir'
10112       hardcode_shlibpath_var=no
10113       ;;
10114
10115     *)
10116       ld_shlibs=no
10117       ;;
10118     esac
10119
10120     if test x$host_vendor = xsni; then
10121       case $host in
10122       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10123         export_dynamic_flag_spec='${wl}-Blargedynsym'
10124         ;;
10125       esac
10126     fi
10127   fi
10128
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10130 $as_echo "$ld_shlibs" >&6; }
10131 test "$ld_shlibs" = no && can_build_shared=no
10132
10133 with_gnu_ld=$with_gnu_ld
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149 #
10150 # Do we need to explicitly link libc?
10151 #
10152 case "x$archive_cmds_need_lc" in
10153 x|xyes)
10154   # Assume -lc should be added
10155   archive_cmds_need_lc=yes
10156
10157   if test "$enable_shared" = yes && test "$GCC" = yes; then
10158     case $archive_cmds in
10159     *'~'*)
10160       # FIXME: we may have to deal with multi-command sequences.
10161       ;;
10162     '$CC '*)
10163       # Test whether the compiler implicitly links with -lc since on some
10164       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10165       # to ld, don't add -lc before -lgcc.
10166       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10167 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10168 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10169   $as_echo_n "(cached) " >&6
10170 else
10171   $RM conftest*
10172         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10173
10174         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10175   (eval $ac_compile) 2>&5
10176   ac_status=$?
10177   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10178   test $ac_status = 0; } 2>conftest.err; then
10179           soname=conftest
10180           lib=conftest
10181           libobjs=conftest.$ac_objext
10182           deplibs=
10183           wl=$lt_prog_compiler_wl
10184           pic_flag=$lt_prog_compiler_pic
10185           compiler_flags=-v
10186           linker_flags=-v
10187           verstring=
10188           output_objdir=.
10189           libname=conftest
10190           lt_save_allow_undefined_flag=$allow_undefined_flag
10191           allow_undefined_flag=
10192           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10193   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10194   ac_status=$?
10195   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10196   test $ac_status = 0; }
10197           then
10198             lt_cv_archive_cmds_need_lc=no
10199           else
10200             lt_cv_archive_cmds_need_lc=yes
10201           fi
10202           allow_undefined_flag=$lt_save_allow_undefined_flag
10203         else
10204           cat conftest.err 1>&5
10205         fi
10206         $RM conftest*
10207
10208 fi
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10210 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10211       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10212       ;;
10213     esac
10214   fi
10215   ;;
10216 esac
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
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10375 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10376
10377 if test "$GCC" = yes; then
10378   case $host_os in
10379     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10380     *) lt_awk_arg="/^libraries:/" ;;
10381   esac
10382   case $host_os in
10383     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10384     *) lt_sed_strip_eq="s,=/,/,g" ;;
10385   esac
10386   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10387   case $lt_search_path_spec in
10388   *\;*)
10389     # if the path contains ";" then we assume it to be the separator
10390     # otherwise default to the standard path separator (i.e. ":") - it is
10391     # assumed that no part of a normal pathname contains ";" but that should
10392     # okay in the real world where ";" in dirpaths is itself problematic.
10393     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10394     ;;
10395   *)
10396     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10397     ;;
10398   esac
10399   # Ok, now we have the path, separated by spaces, we can step through it
10400   # and add multilib dir if necessary.
10401   lt_tmp_lt_search_path_spec=
10402   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10403   for lt_sys_path in $lt_search_path_spec; do
10404     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10405       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10406     else
10407       test -d "$lt_sys_path" && \
10408         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10409     fi
10410   done
10411   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10412 BEGIN {RS=" "; FS="/|\n";} {
10413   lt_foo="";
10414   lt_count=0;
10415   for (lt_i = NF; lt_i > 0; lt_i--) {
10416     if ($lt_i != "" && $lt_i != ".") {
10417       if ($lt_i == "..") {
10418         lt_count++;
10419       } else {
10420         if (lt_count == 0) {
10421           lt_foo="/" $lt_i lt_foo;
10422         } else {
10423           lt_count--;
10424         }
10425       }
10426     }
10427   }
10428   if (lt_foo != "") { lt_freq[lt_foo]++; }
10429   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10430 }'`
10431   # AWK program above erroneously prepends '/' to C:/dos/paths
10432   # for these hosts.
10433   case $host_os in
10434     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10435       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10436   esac
10437   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10438 else
10439   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10440 fi
10441 library_names_spec=
10442 libname_spec='lib$name'
10443 soname_spec=
10444 shrext_cmds=".so"
10445 postinstall_cmds=
10446 postuninstall_cmds=
10447 finish_cmds=
10448 finish_eval=
10449 shlibpath_var=
10450 shlibpath_overrides_runpath=unknown
10451 version_type=none
10452 dynamic_linker="$host_os ld.so"
10453 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10454 need_lib_prefix=unknown
10455 hardcode_into_libs=no
10456
10457 # when you set need_version to no, make sure it does not cause -set_version
10458 # flags to be left without arguments
10459 need_version=unknown
10460
10461 case $host_os in
10462 aix3*)
10463   version_type=linux
10464   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10465   shlibpath_var=LIBPATH
10466
10467   # AIX 3 has no versioning support, so we append a major version to the name.
10468   soname_spec='${libname}${release}${shared_ext}$major'
10469   ;;
10470
10471 aix[4-9]*)
10472   version_type=linux
10473   need_lib_prefix=no
10474   need_version=no
10475   hardcode_into_libs=yes
10476   if test "$host_cpu" = ia64; then
10477     # AIX 5 supports IA64
10478     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10479     shlibpath_var=LD_LIBRARY_PATH
10480   else
10481     # With GCC up to 2.95.x, collect2 would create an import file
10482     # for dependence libraries.  The import file would start with
10483     # the line `#! .'.  This would cause the generated library to
10484     # depend on `.', always an invalid library.  This was fixed in
10485     # development snapshots of GCC prior to 3.0.
10486     case $host_os in
10487       aix4 | aix4.[01] | aix4.[01].*)
10488       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10489            echo ' yes '
10490            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10491         :
10492       else
10493         can_build_shared=no
10494       fi
10495       ;;
10496     esac
10497     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10498     # soname into executable. Probably we can add versioning support to
10499     # collect2, so additional links can be useful in future.
10500     if test "$aix_use_runtimelinking" = yes; then
10501       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10502       # instead of lib<name>.a to let people know that these are not
10503       # typical AIX shared libraries.
10504       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10505     else
10506       # We preserve .a as extension for shared libraries through AIX4.2
10507       # and later when we are not doing run time linking.
10508       library_names_spec='${libname}${release}.a $libname.a'
10509       soname_spec='${libname}${release}${shared_ext}$major'
10510     fi
10511     shlibpath_var=LIBPATH
10512   fi
10513   ;;
10514
10515 amigaos*)
10516   case $host_cpu in
10517   powerpc)
10518     # Since July 2007 AmigaOS4 officially supports .so libraries.
10519     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10520     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10521     ;;
10522   m68k)
10523     library_names_spec='$libname.ixlibrary $libname.a'
10524     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10525     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'
10526     ;;
10527   esac
10528   ;;
10529
10530 beos*)
10531   library_names_spec='${libname}${shared_ext}'
10532   dynamic_linker="$host_os ld.so"
10533   shlibpath_var=LIBRARY_PATH
10534   ;;
10535
10536 bsdi[45]*)
10537   version_type=linux
10538   need_version=no
10539   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10540   soname_spec='${libname}${release}${shared_ext}$major'
10541   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10542   shlibpath_var=LD_LIBRARY_PATH
10543   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10544   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10545   # the default ld.so.conf also contains /usr/contrib/lib and
10546   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10547   # libtool to hard-code these into programs
10548   ;;
10549
10550 cygwin* | mingw* | pw32* | cegcc*)
10551   version_type=windows
10552   shrext_cmds=".dll"
10553   need_version=no
10554   need_lib_prefix=no
10555
10556   case $GCC,$host_os in
10557   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10558     library_names_spec='$libname.dll.a'
10559     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10560     postinstall_cmds='base_file=`basename \${file}`~
10561       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10562       dldir=$destdir/`dirname \$dlpath`~
10563       test -d \$dldir || mkdir -p \$dldir~
10564       $install_prog $dir/$dlname \$dldir/$dlname~
10565       chmod a+x \$dldir/$dlname~
10566       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10567         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10568       fi'
10569     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10570       dlpath=$dir/\$dldll~
10571        $RM \$dlpath'
10572     shlibpath_overrides_runpath=yes
10573
10574     case $host_os in
10575     cygwin*)
10576       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10577       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10578
10579       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10580       ;;
10581     mingw* | cegcc*)
10582       # MinGW DLLs use traditional 'lib' prefix
10583       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10584       ;;
10585     pw32*)
10586       # pw32 DLLs use 'pw' prefix rather than 'lib'
10587       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10588       ;;
10589     esac
10590     ;;
10591
10592   *)
10593     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10594     ;;
10595   esac
10596   dynamic_linker='Win32 ld.exe'
10597   # FIXME: first we should search . and the directory the executable is in
10598   shlibpath_var=PATH
10599   ;;
10600
10601 darwin* | rhapsody*)
10602   dynamic_linker="$host_os dyld"
10603   version_type=darwin
10604   need_lib_prefix=no
10605   need_version=no
10606   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10607   soname_spec='${libname}${release}${major}$shared_ext'
10608   shlibpath_overrides_runpath=yes
10609   shlibpath_var=DYLD_LIBRARY_PATH
10610   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10611
10612   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10613   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10614   ;;
10615
10616 dgux*)
10617   version_type=linux
10618   need_lib_prefix=no
10619   need_version=no
10620   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10621   soname_spec='${libname}${release}${shared_ext}$major'
10622   shlibpath_var=LD_LIBRARY_PATH
10623   ;;
10624
10625 freebsd* | dragonfly*)
10626   # DragonFly does not have aout.  When/if they implement a new
10627   # versioning mechanism, adjust this.
10628   if test -x /usr/bin/objformat; then
10629     objformat=`/usr/bin/objformat`
10630   else
10631     case $host_os in
10632     freebsd[23].*) objformat=aout ;;
10633     *) objformat=elf ;;
10634     esac
10635   fi
10636   version_type=freebsd-$objformat
10637   case $version_type in
10638     freebsd-elf*)
10639       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10640       need_version=no
10641       need_lib_prefix=no
10642       ;;
10643     freebsd-*)
10644       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10645       need_version=yes
10646       ;;
10647   esac
10648   shlibpath_var=LD_LIBRARY_PATH
10649   case $host_os in
10650   freebsd2.*)
10651     shlibpath_overrides_runpath=yes
10652     ;;
10653   freebsd3.[01]* | freebsdelf3.[01]*)
10654     shlibpath_overrides_runpath=yes
10655     hardcode_into_libs=yes
10656     ;;
10657   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10658   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10659     shlibpath_overrides_runpath=no
10660     hardcode_into_libs=yes
10661     ;;
10662   *) # from 4.6 on, and DragonFly
10663     shlibpath_overrides_runpath=yes
10664     hardcode_into_libs=yes
10665     ;;
10666   esac
10667   ;;
10668
10669 gnu*)
10670   version_type=linux
10671   need_lib_prefix=no
10672   need_version=no
10673   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10674   soname_spec='${libname}${release}${shared_ext}$major'
10675   shlibpath_var=LD_LIBRARY_PATH
10676   hardcode_into_libs=yes
10677   ;;
10678
10679 haiku*)
10680   version_type=linux
10681   need_lib_prefix=no
10682   need_version=no
10683   dynamic_linker="$host_os runtime_loader"
10684   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10685   soname_spec='${libname}${release}${shared_ext}$major'
10686   shlibpath_var=LIBRARY_PATH
10687   shlibpath_overrides_runpath=yes
10688   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10689   hardcode_into_libs=yes
10690   ;;
10691
10692 hpux9* | hpux10* | hpux11*)
10693   # Give a soname corresponding to the major version so that dld.sl refuses to
10694   # link against other versions.
10695   version_type=sunos
10696   need_lib_prefix=no
10697   need_version=no
10698   case $host_cpu in
10699   ia64*)
10700     shrext_cmds='.so'
10701     hardcode_into_libs=yes
10702     dynamic_linker="$host_os dld.so"
10703     shlibpath_var=LD_LIBRARY_PATH
10704     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10705     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10706     soname_spec='${libname}${release}${shared_ext}$major'
10707     if test "X$HPUX_IA64_MODE" = X32; then
10708       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10709     else
10710       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10711     fi
10712     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10713     ;;
10714   hppa*64*)
10715     shrext_cmds='.sl'
10716     hardcode_into_libs=yes
10717     dynamic_linker="$host_os dld.sl"
10718     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10719     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10720     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10721     soname_spec='${libname}${release}${shared_ext}$major'
10722     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10723     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10724     ;;
10725   *)
10726     shrext_cmds='.sl'
10727     dynamic_linker="$host_os dld.sl"
10728     shlibpath_var=SHLIB_PATH
10729     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10730     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10731     soname_spec='${libname}${release}${shared_ext}$major'
10732     ;;
10733   esac
10734   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10735   postinstall_cmds='chmod 555 $lib'
10736   # or fails outright, so override atomically:
10737   install_override_mode=555
10738   ;;
10739
10740 interix[3-9]*)
10741   version_type=linux
10742   need_lib_prefix=no
10743   need_version=no
10744   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10745   soname_spec='${libname}${release}${shared_ext}$major'
10746   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10747   shlibpath_var=LD_LIBRARY_PATH
10748   shlibpath_overrides_runpath=no
10749   hardcode_into_libs=yes
10750   ;;
10751
10752 irix5* | irix6* | nonstopux*)
10753   case $host_os in
10754     nonstopux*) version_type=nonstopux ;;
10755     *)
10756         if test "$lt_cv_prog_gnu_ld" = yes; then
10757                 version_type=linux
10758         else
10759                 version_type=irix
10760         fi ;;
10761   esac
10762   need_lib_prefix=no
10763   need_version=no
10764   soname_spec='${libname}${release}${shared_ext}$major'
10765   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10766   case $host_os in
10767   irix5* | nonstopux*)
10768     libsuff= shlibsuff=
10769     ;;
10770   *)
10771     case $LD in # libtool.m4 will add one of these switches to LD
10772     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10773       libsuff= shlibsuff= libmagic=32-bit;;
10774     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10775       libsuff=32 shlibsuff=N32 libmagic=N32;;
10776     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10777       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10778     *) libsuff= shlibsuff= libmagic=never-match;;
10779     esac
10780     ;;
10781   esac
10782   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10783   shlibpath_overrides_runpath=no
10784   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10785   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10786   hardcode_into_libs=yes
10787   ;;
10788
10789 # No shared lib support for Linux oldld, aout, or coff.
10790 linux*oldld* | linux*aout* | linux*coff*)
10791   dynamic_linker=no
10792   ;;
10793
10794 # This must be Linux ELF.
10795 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10796   version_type=linux
10797   need_lib_prefix=no
10798   need_version=no
10799   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10800   soname_spec='${libname}${release}${shared_ext}$major'
10801   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10802   shlibpath_var=LD_LIBRARY_PATH
10803   shlibpath_overrides_runpath=no
10804
10805   # Some binutils ld are patched to set DT_RUNPATH
10806   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10807   $as_echo_n "(cached) " >&6
10808 else
10809   lt_cv_shlibpath_overrides_runpath=no
10810     save_LDFLAGS=$LDFLAGS
10811     save_libdir=$libdir
10812     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10813          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10814     if test x$gcc_no_link = xyes; then
10815   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10816 fi
10817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10818 /* end confdefs.h.  */
10819
10820 int
10821 main ()
10822 {
10823
10824   ;
10825   return 0;
10826 }
10827 _ACEOF
10828 if ac_fn_c_try_link "$LINENO"; then :
10829   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10830   lt_cv_shlibpath_overrides_runpath=yes
10831 fi
10832 fi
10833 rm -f core conftest.err conftest.$ac_objext \
10834     conftest$ac_exeext conftest.$ac_ext
10835     LDFLAGS=$save_LDFLAGS
10836     libdir=$save_libdir
10837
10838 fi
10839
10840   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10841
10842   # This implies no fast_install, which is unacceptable.
10843   # Some rework will be needed to allow for fast_install
10844   # before this can be enabled.
10845   hardcode_into_libs=yes
10846
10847   # Append ld.so.conf contents to the search path
10848   if test -f /etc/ld.so.conf; then
10849     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' ' '`
10850     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10851   fi
10852
10853   # We used to test for /lib/ld.so.1 and disable shared libraries on
10854   # powerpc, because MkLinux only supported shared libraries with the
10855   # GNU dynamic linker.  Since this was broken with cross compilers,
10856   # most powerpc-linux boxes support dynamic linking these days and
10857   # people can always --disable-shared, the test was removed, and we
10858   # assume the GNU/Linux dynamic linker is in use.
10859   dynamic_linker='GNU/Linux ld.so'
10860   ;;
10861
10862 netbsd*)
10863   version_type=sunos
10864   need_lib_prefix=no
10865   need_version=no
10866   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10867     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10868     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10869     dynamic_linker='NetBSD (a.out) ld.so'
10870   else
10871     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10872     soname_spec='${libname}${release}${shared_ext}$major'
10873     dynamic_linker='NetBSD ld.elf_so'
10874   fi
10875   shlibpath_var=LD_LIBRARY_PATH
10876   shlibpath_overrides_runpath=yes
10877   hardcode_into_libs=yes
10878   ;;
10879
10880 newsos6)
10881   version_type=linux
10882   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10883   shlibpath_var=LD_LIBRARY_PATH
10884   shlibpath_overrides_runpath=yes
10885   ;;
10886
10887 *nto* | *qnx*)
10888   version_type=qnx
10889   need_lib_prefix=no
10890   need_version=no
10891   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10892   soname_spec='${libname}${release}${shared_ext}$major'
10893   shlibpath_var=LD_LIBRARY_PATH
10894   shlibpath_overrides_runpath=no
10895   hardcode_into_libs=yes
10896   dynamic_linker='ldqnx.so'
10897   ;;
10898
10899 openbsd*)
10900   version_type=sunos
10901   sys_lib_dlsearch_path_spec="/usr/lib"
10902   need_lib_prefix=no
10903   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10904   case $host_os in
10905     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10906     *)                          need_version=no  ;;
10907   esac
10908   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10909   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10910   shlibpath_var=LD_LIBRARY_PATH
10911   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10912     case $host_os in
10913       openbsd2.[89] | openbsd2.[89].*)
10914         shlibpath_overrides_runpath=no
10915         ;;
10916       *)
10917         shlibpath_overrides_runpath=yes
10918         ;;
10919       esac
10920   else
10921     shlibpath_overrides_runpath=yes
10922   fi
10923   ;;
10924
10925 os2*)
10926   libname_spec='$name'
10927   shrext_cmds=".dll"
10928   need_lib_prefix=no
10929   library_names_spec='$libname${shared_ext} $libname.a'
10930   dynamic_linker='OS/2 ld.exe'
10931   shlibpath_var=LIBPATH
10932   ;;
10933
10934 osf3* | osf4* | osf5*)
10935   version_type=osf
10936   need_lib_prefix=no
10937   need_version=no
10938   soname_spec='${libname}${release}${shared_ext}$major'
10939   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10940   shlibpath_var=LD_LIBRARY_PATH
10941   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10942   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10943   ;;
10944
10945 rdos*)
10946   dynamic_linker=no
10947   ;;
10948
10949 solaris*)
10950   version_type=linux
10951   need_lib_prefix=no
10952   need_version=no
10953   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10954   soname_spec='${libname}${release}${shared_ext}$major'
10955   shlibpath_var=LD_LIBRARY_PATH
10956   shlibpath_overrides_runpath=yes
10957   hardcode_into_libs=yes
10958   # ldd complains unless libraries are executable
10959   postinstall_cmds='chmod +x $lib'
10960   ;;
10961
10962 sunos4*)
10963   version_type=sunos
10964   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10965   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10966   shlibpath_var=LD_LIBRARY_PATH
10967   shlibpath_overrides_runpath=yes
10968   if test "$with_gnu_ld" = yes; then
10969     need_lib_prefix=no
10970   fi
10971   need_version=yes
10972   ;;
10973
10974 sysv4 | sysv4.3*)
10975   version_type=linux
10976   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10977   soname_spec='${libname}${release}${shared_ext}$major'
10978   shlibpath_var=LD_LIBRARY_PATH
10979   case $host_vendor in
10980     sni)
10981       shlibpath_overrides_runpath=no
10982       need_lib_prefix=no
10983       runpath_var=LD_RUN_PATH
10984       ;;
10985     siemens)
10986       need_lib_prefix=no
10987       ;;
10988     motorola)
10989       need_lib_prefix=no
10990       need_version=no
10991       shlibpath_overrides_runpath=no
10992       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10993       ;;
10994   esac
10995   ;;
10996
10997 sysv4*MP*)
10998   if test -d /usr/nec ;then
10999     version_type=linux
11000     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11001     soname_spec='$libname${shared_ext}.$major'
11002     shlibpath_var=LD_LIBRARY_PATH
11003   fi
11004   ;;
11005
11006 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11007   version_type=freebsd-elf
11008   need_lib_prefix=no
11009   need_version=no
11010   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11011   soname_spec='${libname}${release}${shared_ext}$major'
11012   shlibpath_var=LD_LIBRARY_PATH
11013   shlibpath_overrides_runpath=yes
11014   hardcode_into_libs=yes
11015   if test "$with_gnu_ld" = yes; then
11016     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11017   else
11018     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11019     case $host_os in
11020       sco3.2v5*)
11021         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11022         ;;
11023     esac
11024   fi
11025   sys_lib_dlsearch_path_spec='/usr/lib'
11026   ;;
11027
11028 tpf*)
11029   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11030   version_type=linux
11031   need_lib_prefix=no
11032   need_version=no
11033   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11034   shlibpath_var=LD_LIBRARY_PATH
11035   shlibpath_overrides_runpath=no
11036   hardcode_into_libs=yes
11037   ;;
11038
11039 uts4*)
11040   version_type=linux
11041   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11042   soname_spec='${libname}${release}${shared_ext}$major'
11043   shlibpath_var=LD_LIBRARY_PATH
11044   ;;
11045
11046 *)
11047   dynamic_linker=no
11048   ;;
11049 esac
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11051 $as_echo "$dynamic_linker" >&6; }
11052 test "$dynamic_linker" = no && can_build_shared=no
11053
11054 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11055 if test "$GCC" = yes; then
11056   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11057 fi
11058
11059 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11060   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11061 fi
11062 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11063   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11064 fi
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
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11158 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11159 hardcode_action=
11160 if test -n "$hardcode_libdir_flag_spec" ||
11161    test -n "$runpath_var" ||
11162    test "X$hardcode_automatic" = "Xyes" ; then
11163
11164   # We can hardcode non-existent directories.
11165   if test "$hardcode_direct" != no &&
11166      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11167      # have to relink, otherwise we might link with an installed library
11168      # when we should be linking with a yet-to-be-installed one
11169      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11170      test "$hardcode_minus_L" != no; then
11171     # Linking always hardcodes the temporary library directory.
11172     hardcode_action=relink
11173   else
11174     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11175     hardcode_action=immediate
11176   fi
11177 else
11178   # We cannot hardcode anything, or else we can only hardcode existing
11179   # directories.
11180   hardcode_action=unsupported
11181 fi
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11183 $as_echo "$hardcode_action" >&6; }
11184
11185 if test "$hardcode_action" = relink ||
11186    test "$inherit_rpath" = yes; then
11187   # Fast installation is not supported
11188   enable_fast_install=no
11189 elif test "$shlibpath_overrides_runpath" = yes ||
11190      test "$enable_shared" = no; then
11191   # Fast installation is not necessary
11192   enable_fast_install=needless
11193 fi
11194
11195
11196
11197
11198
11199
11200   if test "x$enable_dlopen" != xyes; then
11201   enable_dlopen=unknown
11202   enable_dlopen_self=unknown
11203   enable_dlopen_self_static=unknown
11204 else
11205   lt_cv_dlopen=no
11206   lt_cv_dlopen_libs=
11207
11208   case $host_os in
11209   beos*)
11210     lt_cv_dlopen="load_add_on"
11211     lt_cv_dlopen_libs=
11212     lt_cv_dlopen_self=yes
11213     ;;
11214
11215   mingw* | pw32* | cegcc*)
11216     lt_cv_dlopen="LoadLibrary"
11217     lt_cv_dlopen_libs=
11218     ;;
11219
11220   cygwin*)
11221     lt_cv_dlopen="dlopen"
11222     lt_cv_dlopen_libs=
11223     ;;
11224
11225   darwin*)
11226   # if libdl is installed we need to link against it
11227     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11228 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11229 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11230   $as_echo_n "(cached) " >&6
11231 else
11232   ac_check_lib_save_LIBS=$LIBS
11233 LIBS="-ldl  $LIBS"
11234 if test x$gcc_no_link = xyes; then
11235   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11236 fi
11237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11238 /* end confdefs.h.  */
11239
11240 /* Override any GCC internal prototype to avoid an error.
11241    Use char because int might match the return type of a GCC
11242    builtin and then its argument prototype would still apply.  */
11243 #ifdef __cplusplus
11244 extern "C"
11245 #endif
11246 char dlopen ();
11247 int
11248 main ()
11249 {
11250 return dlopen ();
11251   ;
11252   return 0;
11253 }
11254 _ACEOF
11255 if ac_fn_c_try_link "$LINENO"; then :
11256   ac_cv_lib_dl_dlopen=yes
11257 else
11258   ac_cv_lib_dl_dlopen=no
11259 fi
11260 rm -f core conftest.err conftest.$ac_objext \
11261     conftest$ac_exeext conftest.$ac_ext
11262 LIBS=$ac_check_lib_save_LIBS
11263 fi
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11265 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11266 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11267   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11268 else
11269
11270     lt_cv_dlopen="dyld"
11271     lt_cv_dlopen_libs=
11272     lt_cv_dlopen_self=yes
11273
11274 fi
11275
11276     ;;
11277
11278   *)
11279     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11280 if test "x$ac_cv_func_shl_load" = x""yes; then :
11281   lt_cv_dlopen="shl_load"
11282 else
11283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11284 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11285 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11286   $as_echo_n "(cached) " >&6
11287 else
11288   ac_check_lib_save_LIBS=$LIBS
11289 LIBS="-ldld  $LIBS"
11290 if test x$gcc_no_link = xyes; then
11291   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11292 fi
11293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11294 /* end confdefs.h.  */
11295
11296 /* Override any GCC internal prototype to avoid an error.
11297    Use char because int might match the return type of a GCC
11298    builtin and then its argument prototype would still apply.  */
11299 #ifdef __cplusplus
11300 extern "C"
11301 #endif
11302 char shl_load ();
11303 int
11304 main ()
11305 {
11306 return shl_load ();
11307   ;
11308   return 0;
11309 }
11310 _ACEOF
11311 if ac_fn_c_try_link "$LINENO"; then :
11312   ac_cv_lib_dld_shl_load=yes
11313 else
11314   ac_cv_lib_dld_shl_load=no
11315 fi
11316 rm -f core conftest.err conftest.$ac_objext \
11317     conftest$ac_exeext conftest.$ac_ext
11318 LIBS=$ac_check_lib_save_LIBS
11319 fi
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11321 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11322 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11323   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11324 else
11325   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11326 if test "x$ac_cv_func_dlopen" = x""yes; then :
11327   lt_cv_dlopen="dlopen"
11328 else
11329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11330 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11331 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11332   $as_echo_n "(cached) " >&6
11333 else
11334   ac_check_lib_save_LIBS=$LIBS
11335 LIBS="-ldl  $LIBS"
11336 if test x$gcc_no_link = xyes; then
11337   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11338 fi
11339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h.  */
11341
11342 /* Override any GCC internal prototype to avoid an error.
11343    Use char because int might match the return type of a GCC
11344    builtin and then its argument prototype would still apply.  */
11345 #ifdef __cplusplus
11346 extern "C"
11347 #endif
11348 char dlopen ();
11349 int
11350 main ()
11351 {
11352 return dlopen ();
11353   ;
11354   return 0;
11355 }
11356 _ACEOF
11357 if ac_fn_c_try_link "$LINENO"; then :
11358   ac_cv_lib_dl_dlopen=yes
11359 else
11360   ac_cv_lib_dl_dlopen=no
11361 fi
11362 rm -f core conftest.err conftest.$ac_objext \
11363     conftest$ac_exeext conftest.$ac_ext
11364 LIBS=$ac_check_lib_save_LIBS
11365 fi
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11367 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11368 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11369   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11370 else
11371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11372 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11373 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11374   $as_echo_n "(cached) " >&6
11375 else
11376   ac_check_lib_save_LIBS=$LIBS
11377 LIBS="-lsvld  $LIBS"
11378 if test x$gcc_no_link = xyes; then
11379   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11380 fi
11381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h.  */
11383
11384 /* Override any GCC internal prototype to avoid an error.
11385    Use char because int might match the return type of a GCC
11386    builtin and then its argument prototype would still apply.  */
11387 #ifdef __cplusplus
11388 extern "C"
11389 #endif
11390 char dlopen ();
11391 int
11392 main ()
11393 {
11394 return dlopen ();
11395   ;
11396   return 0;
11397 }
11398 _ACEOF
11399 if ac_fn_c_try_link "$LINENO"; then :
11400   ac_cv_lib_svld_dlopen=yes
11401 else
11402   ac_cv_lib_svld_dlopen=no
11403 fi
11404 rm -f core conftest.err conftest.$ac_objext \
11405     conftest$ac_exeext conftest.$ac_ext
11406 LIBS=$ac_check_lib_save_LIBS
11407 fi
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11409 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11410 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11411   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11412 else
11413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11414 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11415 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11416   $as_echo_n "(cached) " >&6
11417 else
11418   ac_check_lib_save_LIBS=$LIBS
11419 LIBS="-ldld  $LIBS"
11420 if test x$gcc_no_link = xyes; then
11421   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11422 fi
11423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11424 /* end confdefs.h.  */
11425
11426 /* Override any GCC internal prototype to avoid an error.
11427    Use char because int might match the return type of a GCC
11428    builtin and then its argument prototype would still apply.  */
11429 #ifdef __cplusplus
11430 extern "C"
11431 #endif
11432 char dld_link ();
11433 int
11434 main ()
11435 {
11436 return dld_link ();
11437   ;
11438   return 0;
11439 }
11440 _ACEOF
11441 if ac_fn_c_try_link "$LINENO"; then :
11442   ac_cv_lib_dld_dld_link=yes
11443 else
11444   ac_cv_lib_dld_dld_link=no
11445 fi
11446 rm -f core conftest.err conftest.$ac_objext \
11447     conftest$ac_exeext conftest.$ac_ext
11448 LIBS=$ac_check_lib_save_LIBS
11449 fi
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11451 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11452 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11453   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11454 fi
11455
11456
11457 fi
11458
11459
11460 fi
11461
11462
11463 fi
11464
11465
11466 fi
11467
11468
11469 fi
11470
11471     ;;
11472   esac
11473
11474   if test "x$lt_cv_dlopen" != xno; then
11475     enable_dlopen=yes
11476   else
11477     enable_dlopen=no
11478   fi
11479
11480   case $lt_cv_dlopen in
11481   dlopen)
11482     save_CPPFLAGS="$CPPFLAGS"
11483     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11484
11485     save_LDFLAGS="$LDFLAGS"
11486     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11487
11488     save_LIBS="$LIBS"
11489     LIBS="$lt_cv_dlopen_libs $LIBS"
11490
11491     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11492 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11493 if test "${lt_cv_dlopen_self+set}" = set; then :
11494   $as_echo_n "(cached) " >&6
11495 else
11496           if test "$cross_compiling" = yes; then :
11497   lt_cv_dlopen_self=cross
11498 else
11499   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11500   lt_status=$lt_dlunknown
11501   cat > conftest.$ac_ext <<_LT_EOF
11502 #line 11502 "configure"
11503 #include "confdefs.h"
11504
11505 #if HAVE_DLFCN_H
11506 #include <dlfcn.h>
11507 #endif
11508
11509 #include <stdio.h>
11510
11511 #ifdef RTLD_GLOBAL
11512 #  define LT_DLGLOBAL           RTLD_GLOBAL
11513 #else
11514 #  ifdef DL_GLOBAL
11515 #    define LT_DLGLOBAL         DL_GLOBAL
11516 #  else
11517 #    define LT_DLGLOBAL         0
11518 #  endif
11519 #endif
11520
11521 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11522    find out it does not work in some platform. */
11523 #ifndef LT_DLLAZY_OR_NOW
11524 #  ifdef RTLD_LAZY
11525 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11526 #  else
11527 #    ifdef DL_LAZY
11528 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11529 #    else
11530 #      ifdef RTLD_NOW
11531 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11532 #      else
11533 #        ifdef DL_NOW
11534 #          define LT_DLLAZY_OR_NOW      DL_NOW
11535 #        else
11536 #          define LT_DLLAZY_OR_NOW      0
11537 #        endif
11538 #      endif
11539 #    endif
11540 #  endif
11541 #endif
11542
11543 /* When -fvisbility=hidden is used, assume the code has been annotated
11544    correspondingly for the symbols needed.  */
11545 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11546 void fnord () __attribute__((visibility("default")));
11547 #endif
11548
11549 void fnord () { int i=42; }
11550 int main ()
11551 {
11552   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11553   int status = $lt_dlunknown;
11554
11555   if (self)
11556     {
11557       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11558       else
11559         {
11560           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11561           else puts (dlerror ());
11562         }
11563       /* dlclose (self); */
11564     }
11565   else
11566     puts (dlerror ());
11567
11568   return status;
11569 }
11570 _LT_EOF
11571   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11572   (eval $ac_link) 2>&5
11573   ac_status=$?
11574   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11575   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11576     (./conftest; exit; ) >&5 2>/dev/null
11577     lt_status=$?
11578     case x$lt_status in
11579       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11580       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11581       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11582     esac
11583   else :
11584     # compilation failed
11585     lt_cv_dlopen_self=no
11586   fi
11587 fi
11588 rm -fr conftest*
11589
11590
11591 fi
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11593 $as_echo "$lt_cv_dlopen_self" >&6; }
11594
11595     if test "x$lt_cv_dlopen_self" = xyes; then
11596       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11597       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11598 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11599 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11600   $as_echo_n "(cached) " >&6
11601 else
11602           if test "$cross_compiling" = yes; then :
11603   lt_cv_dlopen_self_static=cross
11604 else
11605   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11606   lt_status=$lt_dlunknown
11607   cat > conftest.$ac_ext <<_LT_EOF
11608 #line 11608 "configure"
11609 #include "confdefs.h"
11610
11611 #if HAVE_DLFCN_H
11612 #include <dlfcn.h>
11613 #endif
11614
11615 #include <stdio.h>
11616
11617 #ifdef RTLD_GLOBAL
11618 #  define LT_DLGLOBAL           RTLD_GLOBAL
11619 #else
11620 #  ifdef DL_GLOBAL
11621 #    define LT_DLGLOBAL         DL_GLOBAL
11622 #  else
11623 #    define LT_DLGLOBAL         0
11624 #  endif
11625 #endif
11626
11627 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11628    find out it does not work in some platform. */
11629 #ifndef LT_DLLAZY_OR_NOW
11630 #  ifdef RTLD_LAZY
11631 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11632 #  else
11633 #    ifdef DL_LAZY
11634 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11635 #    else
11636 #      ifdef RTLD_NOW
11637 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11638 #      else
11639 #        ifdef DL_NOW
11640 #          define LT_DLLAZY_OR_NOW      DL_NOW
11641 #        else
11642 #          define LT_DLLAZY_OR_NOW      0
11643 #        endif
11644 #      endif
11645 #    endif
11646 #  endif
11647 #endif
11648
11649 /* When -fvisbility=hidden is used, assume the code has been annotated
11650    correspondingly for the symbols needed.  */
11651 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11652 void fnord () __attribute__((visibility("default")));
11653 #endif
11654
11655 void fnord () { int i=42; }
11656 int main ()
11657 {
11658   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11659   int status = $lt_dlunknown;
11660
11661   if (self)
11662     {
11663       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11664       else
11665         {
11666           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11667           else puts (dlerror ());
11668         }
11669       /* dlclose (self); */
11670     }
11671   else
11672     puts (dlerror ());
11673
11674   return status;
11675 }
11676 _LT_EOF
11677   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11678   (eval $ac_link) 2>&5
11679   ac_status=$?
11680   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11681   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11682     (./conftest; exit; ) >&5 2>/dev/null
11683     lt_status=$?
11684     case x$lt_status in
11685       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11686       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11687       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11688     esac
11689   else :
11690     # compilation failed
11691     lt_cv_dlopen_self_static=no
11692   fi
11693 fi
11694 rm -fr conftest*
11695
11696
11697 fi
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11699 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11700     fi
11701
11702     CPPFLAGS="$save_CPPFLAGS"
11703     LDFLAGS="$save_LDFLAGS"
11704     LIBS="$save_LIBS"
11705     ;;
11706   esac
11707
11708   case $lt_cv_dlopen_self in
11709   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11710   *) enable_dlopen_self=unknown ;;
11711   esac
11712
11713   case $lt_cv_dlopen_self_static in
11714   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11715   *) enable_dlopen_self_static=unknown ;;
11716   esac
11717 fi
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735 striplib=
11736 old_striplib=
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11738 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11739 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11740   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11741   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11743 $as_echo "yes" >&6; }
11744 else
11745 # FIXME - insert some real tests, host_os isn't really good enough
11746   case $host_os in
11747   darwin*)
11748     if test -n "$STRIP" ; then
11749       striplib="$STRIP -x"
11750       old_striplib="$STRIP -S"
11751       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11752 $as_echo "yes" >&6; }
11753     else
11754       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11755 $as_echo "no" >&6; }
11756     fi
11757     ;;
11758   *)
11759     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11760 $as_echo "no" >&6; }
11761     ;;
11762   esac
11763 fi
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776   # Report which library types will actually be built
11777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11778 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11780 $as_echo "$can_build_shared" >&6; }
11781
11782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11783 $as_echo_n "checking whether to build shared libraries... " >&6; }
11784   test "$can_build_shared" = "no" && enable_shared=no
11785
11786   # On AIX, shared libraries and static libraries use the same namespace, and
11787   # are all built from PIC.
11788   case $host_os in
11789   aix3*)
11790     test "$enable_shared" = yes && enable_static=no
11791     if test -n "$RANLIB"; then
11792       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11793       postinstall_cmds='$RANLIB $lib'
11794     fi
11795     ;;
11796
11797   aix[4-9]*)
11798     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11799       test "$enable_shared" = yes && enable_static=no
11800     fi
11801     ;;
11802   esac
11803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11804 $as_echo "$enable_shared" >&6; }
11805
11806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11807 $as_echo_n "checking whether to build static libraries... " >&6; }
11808   # Make sure either enable_shared or enable_static is yes.
11809   test "$enable_shared" = yes || enable_static=yes
11810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11811 $as_echo "$enable_static" >&6; }
11812
11813
11814
11815
11816 fi
11817 ac_ext=c
11818 ac_cpp='$CPP $CPPFLAGS'
11819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11822
11823 CC="$lt_save_CC"
11824
11825       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11826     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11827     (test "X$CXX" != "Xg++"))) ; then
11828   ac_ext=cpp
11829 ac_cpp='$CXXCPP $CPPFLAGS'
11830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11834 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11835 if test -z "$CXXCPP"; then
11836   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11837   $as_echo_n "(cached) " >&6
11838 else
11839       # Double quotes because CXXCPP needs to be expanded
11840     for CXXCPP in "$CXX -E" "/lib/cpp"
11841     do
11842       ac_preproc_ok=false
11843 for ac_cxx_preproc_warn_flag in '' yes
11844 do
11845   # Use a header file that comes with gcc, so configuring glibc
11846   # with a fresh cross-compiler works.
11847   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11848   # <limits.h> exists even on freestanding compilers.
11849   # On the NeXT, cc -E runs the code through the compiler's parser,
11850   # not just through cpp. "Syntax error" is here to catch this case.
11851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11852 /* end confdefs.h.  */
11853 #ifdef __STDC__
11854 # include <limits.h>
11855 #else
11856 # include <assert.h>
11857 #endif
11858                      Syntax error
11859 _ACEOF
11860 if ac_fn_cxx_try_cpp "$LINENO"; then :
11861
11862 else
11863   # Broken: fails on valid input.
11864 continue
11865 fi
11866 rm -f conftest.err conftest.$ac_ext
11867
11868   # OK, works on sane cases.  Now check whether nonexistent headers
11869   # can be detected and how.
11870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11871 /* end confdefs.h.  */
11872 #include <ac_nonexistent.h>
11873 _ACEOF
11874 if ac_fn_cxx_try_cpp "$LINENO"; then :
11875   # Broken: success on invalid input.
11876 continue
11877 else
11878   # Passes both tests.
11879 ac_preproc_ok=:
11880 break
11881 fi
11882 rm -f conftest.err conftest.$ac_ext
11883
11884 done
11885 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11886 rm -f conftest.err conftest.$ac_ext
11887 if $ac_preproc_ok; then :
11888   break
11889 fi
11890
11891     done
11892     ac_cv_prog_CXXCPP=$CXXCPP
11893
11894 fi
11895   CXXCPP=$ac_cv_prog_CXXCPP
11896 else
11897   ac_cv_prog_CXXCPP=$CXXCPP
11898 fi
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11900 $as_echo "$CXXCPP" >&6; }
11901 ac_preproc_ok=false
11902 for ac_cxx_preproc_warn_flag in '' yes
11903 do
11904   # Use a header file that comes with gcc, so configuring glibc
11905   # with a fresh cross-compiler works.
11906   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11907   # <limits.h> exists even on freestanding compilers.
11908   # On the NeXT, cc -E runs the code through the compiler's parser,
11909   # not just through cpp. "Syntax error" is here to catch this case.
11910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11911 /* end confdefs.h.  */
11912 #ifdef __STDC__
11913 # include <limits.h>
11914 #else
11915 # include <assert.h>
11916 #endif
11917                      Syntax error
11918 _ACEOF
11919 if ac_fn_cxx_try_cpp "$LINENO"; then :
11920
11921 else
11922   # Broken: fails on valid input.
11923 continue
11924 fi
11925 rm -f conftest.err conftest.$ac_ext
11926
11927   # OK, works on sane cases.  Now check whether nonexistent headers
11928   # can be detected and how.
11929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11930 /* end confdefs.h.  */
11931 #include <ac_nonexistent.h>
11932 _ACEOF
11933 if ac_fn_cxx_try_cpp "$LINENO"; then :
11934   # Broken: success on invalid input.
11935 continue
11936 else
11937   # Passes both tests.
11938 ac_preproc_ok=:
11939 break
11940 fi
11941 rm -f conftest.err conftest.$ac_ext
11942
11943 done
11944 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11945 rm -f conftest.err conftest.$ac_ext
11946 if $ac_preproc_ok; then :
11947
11948 else
11949   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11950 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11951 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11952 See \`config.log' for more details." "$LINENO" 5; }
11953 fi
11954
11955 ac_ext=c
11956 ac_cpp='$CPP $CPPFLAGS'
11957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11960
11961 else
11962   _lt_caught_CXX_error=yes
11963 fi
11964
11965 ac_ext=cpp
11966 ac_cpp='$CXXCPP $CPPFLAGS'
11967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11970
11971 archive_cmds_need_lc_CXX=no
11972 allow_undefined_flag_CXX=
11973 always_export_symbols_CXX=no
11974 archive_expsym_cmds_CXX=
11975 compiler_needs_object_CXX=no
11976 export_dynamic_flag_spec_CXX=
11977 hardcode_direct_CXX=no
11978 hardcode_direct_absolute_CXX=no
11979 hardcode_libdir_flag_spec_CXX=
11980 hardcode_libdir_flag_spec_ld_CXX=
11981 hardcode_libdir_separator_CXX=
11982 hardcode_minus_L_CXX=no
11983 hardcode_shlibpath_var_CXX=unsupported
11984 hardcode_automatic_CXX=no
11985 inherit_rpath_CXX=no
11986 module_cmds_CXX=
11987 module_expsym_cmds_CXX=
11988 link_all_deplibs_CXX=unknown
11989 old_archive_cmds_CXX=$old_archive_cmds
11990 reload_flag_CXX=$reload_flag
11991 reload_cmds_CXX=$reload_cmds
11992 no_undefined_flag_CXX=
11993 whole_archive_flag_spec_CXX=
11994 enable_shared_with_static_runtimes_CXX=no
11995
11996 # Source file extension for C++ test sources.
11997 ac_ext=cpp
11998
11999 # Object file extension for compiled C++ test sources.
12000 objext=o
12001 objext_CXX=$objext
12002
12003 # No sense in running all these tests if we already determined that
12004 # the CXX compiler isn't working.  Some variables (like enable_shared)
12005 # are currently assumed to apply to all compilers on this platform,
12006 # and will be corrupted by setting them based on a non-working compiler.
12007 if test "$_lt_caught_CXX_error" != yes; then
12008   # Code to be used in simple compile tests
12009   lt_simple_compile_test_code="int some_variable = 0;"
12010
12011   # Code to be used in simple link tests
12012   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12013
12014   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12015
12016
12017
12018
12019
12020
12021 # If no C compiler was specified, use CC.
12022 LTCC=${LTCC-"$CC"}
12023
12024 # If no C compiler flags were specified, use CFLAGS.
12025 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12026
12027 # Allow CC to be a program name with arguments.
12028 compiler=$CC
12029
12030
12031   # save warnings/boilerplate of simple test code
12032   ac_outfile=conftest.$ac_objext
12033 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12034 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12035 _lt_compiler_boilerplate=`cat conftest.err`
12036 $RM conftest*
12037
12038   ac_outfile=conftest.$ac_objext
12039 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12040 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12041 _lt_linker_boilerplate=`cat conftest.err`
12042 $RM -r conftest*
12043
12044
12045   # Allow CC to be a program name with arguments.
12046   lt_save_CC=$CC
12047   lt_save_LD=$LD
12048   lt_save_GCC=$GCC
12049   GCC=$GXX
12050   lt_save_with_gnu_ld=$with_gnu_ld
12051   lt_save_path_LD=$lt_cv_path_LD
12052   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12053     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12054   else
12055     $as_unset lt_cv_prog_gnu_ld
12056   fi
12057   if test -n "${lt_cv_path_LDCXX+set}"; then
12058     lt_cv_path_LD=$lt_cv_path_LDCXX
12059   else
12060     $as_unset lt_cv_path_LD
12061   fi
12062   test -z "${LDCXX+set}" || LD=$LDCXX
12063   CC=${CXX-"c++"}
12064   compiler=$CC
12065   compiler_CXX=$CC
12066   for cc_temp in $compiler""; do
12067   case $cc_temp in
12068     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12069     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12070     \-*) ;;
12071     *) break;;
12072   esac
12073 done
12074 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12075
12076
12077   if test -n "$compiler"; then
12078     # We don't want -fno-exception when compiling C++ code, so set the
12079     # no_builtin_flag separately
12080     if test "$GXX" = yes; then
12081       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12082     else
12083       lt_prog_compiler_no_builtin_flag_CXX=
12084     fi
12085
12086     if test "$GXX" = yes; then
12087       # Set up default GNU C++ configuration
12088
12089
12090
12091 # Check whether --with-gnu-ld was given.
12092 if test "${with_gnu_ld+set}" = set; then :
12093   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12094 else
12095   with_gnu_ld=no
12096 fi
12097
12098 ac_prog=ld
12099 if test "$GCC" = yes; then
12100   # Check if gcc -print-prog-name=ld gives a path.
12101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12102 $as_echo_n "checking for ld used by $CC... " >&6; }
12103   case $host in
12104   *-*-mingw*)
12105     # gcc leaves a trailing carriage return which upsets mingw
12106     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12107   *)
12108     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12109   esac
12110   case $ac_prog in
12111     # Accept absolute paths.
12112     [\\/]* | ?:[\\/]*)
12113       re_direlt='/[^/][^/]*/\.\./'
12114       # Canonicalize the pathname of ld
12115       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12116       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12117         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12118       done
12119       test -z "$LD" && LD="$ac_prog"
12120       ;;
12121   "")
12122     # If it fails, then pretend we aren't using GCC.
12123     ac_prog=ld
12124     ;;
12125   *)
12126     # If it is relative, then search for the first ld in PATH.
12127     with_gnu_ld=unknown
12128     ;;
12129   esac
12130 elif test "$with_gnu_ld" = yes; then
12131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12132 $as_echo_n "checking for GNU ld... " >&6; }
12133 else
12134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12135 $as_echo_n "checking for non-GNU ld... " >&6; }
12136 fi
12137 if test "${lt_cv_path_LD+set}" = set; then :
12138   $as_echo_n "(cached) " >&6
12139 else
12140   if test -z "$LD"; then
12141   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12142   for ac_dir in $PATH; do
12143     IFS="$lt_save_ifs"
12144     test -z "$ac_dir" && ac_dir=.
12145     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12146       lt_cv_path_LD="$ac_dir/$ac_prog"
12147       # Check to see if the program is GNU ld.  I'd rather use --version,
12148       # but apparently some variants of GNU ld only accept -v.
12149       # Break only if it was the GNU/non-GNU ld that we prefer.
12150       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12151       *GNU* | *'with BFD'*)
12152         test "$with_gnu_ld" != no && break
12153         ;;
12154       *)
12155         test "$with_gnu_ld" != yes && break
12156         ;;
12157       esac
12158     fi
12159   done
12160   IFS="$lt_save_ifs"
12161 else
12162   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12163 fi
12164 fi
12165
12166 LD="$lt_cv_path_LD"
12167 if test -n "$LD"; then
12168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12169 $as_echo "$LD" >&6; }
12170 else
12171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12172 $as_echo "no" >&6; }
12173 fi
12174 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12176 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12177 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12178   $as_echo_n "(cached) " >&6
12179 else
12180   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12181 case `$LD -v 2>&1 </dev/null` in
12182 *GNU* | *'with BFD'*)
12183   lt_cv_prog_gnu_ld=yes
12184   ;;
12185 *)
12186   lt_cv_prog_gnu_ld=no
12187   ;;
12188 esac
12189 fi
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12191 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12192 with_gnu_ld=$lt_cv_prog_gnu_ld
12193
12194
12195
12196
12197
12198
12199
12200       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12201       # archiving commands below assume that GNU ld is being used.
12202       if test "$with_gnu_ld" = yes; then
12203         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12204         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'
12205
12206         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12207         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12208
12209         # If archive_cmds runs LD, not CC, wlarc should be empty
12210         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12211         #     investigate it a little bit more. (MM)
12212         wlarc='${wl}'
12213
12214         # ancient GNU ld didn't support --whole-archive et. al.
12215         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12216           $GREP 'no-whole-archive' > /dev/null; then
12217           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12218         else
12219           whole_archive_flag_spec_CXX=
12220         fi
12221       else
12222         with_gnu_ld=no
12223         wlarc=
12224
12225         # A generic and very simple default shared library creation
12226         # command for GNU C++ for the case where it uses the native
12227         # linker, instead of GNU ld.  If possible, this setting should
12228         # overridden to take advantage of the native linker features on
12229         # the platform it is being used on.
12230         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12231       fi
12232
12233       # Commands to make compiler produce verbose output that lists
12234       # what "hidden" libraries, object files and flags are used when
12235       # linking a shared library.
12236       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12237
12238     else
12239       GXX=no
12240       with_gnu_ld=no
12241       wlarc=
12242     fi
12243
12244     # PORTME: fill in a description of your system's C++ link characteristics
12245     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12246 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12247     ld_shlibs_CXX=yes
12248     case $host_os in
12249       aix3*)
12250         # FIXME: insert proper C++ library support
12251         ld_shlibs_CXX=no
12252         ;;
12253       aix[4-9]*)
12254         if test "$host_cpu" = ia64; then
12255           # On IA64, the linker does run time linking by default, so we don't
12256           # have to do anything special.
12257           aix_use_runtimelinking=no
12258           exp_sym_flag='-Bexport'
12259           no_entry_flag=""
12260         else
12261           aix_use_runtimelinking=no
12262
12263           # Test if we are trying to use run time linking or normal
12264           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12265           # need to do runtime linking.
12266           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12267             for ld_flag in $LDFLAGS; do
12268               case $ld_flag in
12269               *-brtl*)
12270                 aix_use_runtimelinking=yes
12271                 break
12272                 ;;
12273               esac
12274             done
12275             ;;
12276           esac
12277
12278           exp_sym_flag='-bexport'
12279           no_entry_flag='-bnoentry'
12280         fi
12281
12282         # When large executables or shared objects are built, AIX ld can
12283         # have problems creating the table of contents.  If linking a library
12284         # or program results in "error TOC overflow" add -mminimal-toc to
12285         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12286         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12287
12288         archive_cmds_CXX=''
12289         hardcode_direct_CXX=yes
12290         hardcode_direct_absolute_CXX=yes
12291         hardcode_libdir_separator_CXX=':'
12292         link_all_deplibs_CXX=yes
12293         file_list_spec_CXX='${wl}-f,'
12294
12295         if test "$GXX" = yes; then
12296           case $host_os in aix4.[012]|aix4.[012].*)
12297           # We only want to do this on AIX 4.2 and lower, the check
12298           # below for broken collect2 doesn't work under 4.3+
12299           collect2name=`${CC} -print-prog-name=collect2`
12300           if test -f "$collect2name" &&
12301              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12302           then
12303             # We have reworked collect2
12304             :
12305           else
12306             # We have old collect2
12307             hardcode_direct_CXX=unsupported
12308             # It fails to find uninstalled libraries when the uninstalled
12309             # path is not listed in the libpath.  Setting hardcode_minus_L
12310             # to unsupported forces relinking
12311             hardcode_minus_L_CXX=yes
12312             hardcode_libdir_flag_spec_CXX='-L$libdir'
12313             hardcode_libdir_separator_CXX=
12314           fi
12315           esac
12316           shared_flag='-shared'
12317           if test "$aix_use_runtimelinking" = yes; then
12318             shared_flag="$shared_flag "'${wl}-G'
12319           fi
12320         else
12321           # not using gcc
12322           if test "$host_cpu" = ia64; then
12323           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12324           # chokes on -Wl,-G. The following line is correct:
12325           shared_flag='-G'
12326           else
12327             if test "$aix_use_runtimelinking" = yes; then
12328               shared_flag='${wl}-G'
12329             else
12330               shared_flag='${wl}-bM:SRE'
12331             fi
12332           fi
12333         fi
12334
12335         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12336         # It seems that -bexpall does not export symbols beginning with
12337         # underscore (_), so it is better to generate a list of symbols to
12338         # export.
12339         always_export_symbols_CXX=yes
12340         if test "$aix_use_runtimelinking" = yes; then
12341           # Warning - without using the other runtime loading flags (-brtl),
12342           # -berok will link without error, but may produce a broken library.
12343           allow_undefined_flag_CXX='-berok'
12344           # Determine the default libpath from the value encoded in an empty
12345           # executable.
12346           if test x$gcc_no_link = xyes; then
12347   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12348 fi
12349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12350 /* end confdefs.h.  */
12351
12352 int
12353 main ()
12354 {
12355
12356   ;
12357   return 0;
12358 }
12359 _ACEOF
12360 if ac_fn_cxx_try_link "$LINENO"; then :
12361
12362 lt_aix_libpath_sed='
12363     /Import File Strings/,/^$/ {
12364         /^0/ {
12365             s/^0  *\(.*\)$/\1/
12366             p
12367         }
12368     }'
12369 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12370 # Check for a 64-bit object if we didn't find anything.
12371 if test -z "$aix_libpath"; then
12372   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12373 fi
12374 fi
12375 rm -f core conftest.err conftest.$ac_objext \
12376     conftest$ac_exeext conftest.$ac_ext
12377 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12378
12379           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12380
12381           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"
12382         else
12383           if test "$host_cpu" = ia64; then
12384             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12385             allow_undefined_flag_CXX="-z nodefs"
12386             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"
12387           else
12388             # Determine the default libpath from the value encoded in an
12389             # empty executable.
12390             if test x$gcc_no_link = xyes; then
12391   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12392 fi
12393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12394 /* end confdefs.h.  */
12395
12396 int
12397 main ()
12398 {
12399
12400   ;
12401   return 0;
12402 }
12403 _ACEOF
12404 if ac_fn_cxx_try_link "$LINENO"; then :
12405
12406 lt_aix_libpath_sed='
12407     /Import File Strings/,/^$/ {
12408         /^0/ {
12409             s/^0  *\(.*\)$/\1/
12410             p
12411         }
12412     }'
12413 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12414 # Check for a 64-bit object if we didn't find anything.
12415 if test -z "$aix_libpath"; then
12416   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12417 fi
12418 fi
12419 rm -f core conftest.err conftest.$ac_objext \
12420     conftest$ac_exeext conftest.$ac_ext
12421 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12422
12423             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12424             # Warning - without using the other run time loading flags,
12425             # -berok will link without error, but may produce a broken library.
12426             no_undefined_flag_CXX=' ${wl}-bernotok'
12427             allow_undefined_flag_CXX=' ${wl}-berok'
12428             if test "$with_gnu_ld" = yes; then
12429               # We only use this code for GNU lds that support --whole-archive.
12430               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12431             else
12432               # Exported symbols can be pulled into shared objects from archives
12433               whole_archive_flag_spec_CXX='$convenience'
12434             fi
12435             archive_cmds_need_lc_CXX=yes
12436             # This is similar to how AIX traditionally builds its shared
12437             # libraries.
12438             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'
12439           fi
12440         fi
12441         ;;
12442
12443       beos*)
12444         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12445           allow_undefined_flag_CXX=unsupported
12446           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12447           # support --undefined.  This deserves some investigation.  FIXME
12448           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12449         else
12450           ld_shlibs_CXX=no
12451         fi
12452         ;;
12453
12454       chorus*)
12455         case $cc_basename in
12456           *)
12457           # FIXME: insert proper C++ library support
12458           ld_shlibs_CXX=no
12459           ;;
12460         esac
12461         ;;
12462
12463       cygwin* | mingw* | pw32* | cegcc*)
12464         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12465         # as there is no search path for DLLs.
12466         hardcode_libdir_flag_spec_CXX='-L$libdir'
12467         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12468         allow_undefined_flag_CXX=unsupported
12469         always_export_symbols_CXX=no
12470         enable_shared_with_static_runtimes_CXX=yes
12471
12472         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12473           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'
12474           # If the export-symbols file already is a .def file (1st line
12475           # is EXPORTS), use it as is; otherwise, prepend...
12476           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12477             cp $export_symbols $output_objdir/$soname.def;
12478           else
12479             echo EXPORTS > $output_objdir/$soname.def;
12480             cat $export_symbols >> $output_objdir/$soname.def;
12481           fi~
12482           $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'
12483         else
12484           ld_shlibs_CXX=no
12485         fi
12486         ;;
12487       darwin* | rhapsody*)
12488
12489
12490   archive_cmds_need_lc_CXX=no
12491   hardcode_direct_CXX=no
12492   hardcode_automatic_CXX=yes
12493   hardcode_shlibpath_var_CXX=unsupported
12494   if test "$lt_cv_ld_force_load" = "yes"; then
12495     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\"`'
12496   else
12497     whole_archive_flag_spec_CXX=''
12498   fi
12499   link_all_deplibs_CXX=yes
12500   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12501   case $cc_basename in
12502      ifort*) _lt_dar_can_shared=yes ;;
12503      *) _lt_dar_can_shared=$GCC ;;
12504   esac
12505   if test "$_lt_dar_can_shared" = "yes"; then
12506     output_verbose_link_cmd=func_echo_all
12507     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}"
12508     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12509     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}"
12510     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}"
12511        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12512       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}"
12513       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}"
12514     fi
12515
12516   else
12517   ld_shlibs_CXX=no
12518   fi
12519
12520         ;;
12521
12522       dgux*)
12523         case $cc_basename in
12524           ec++*)
12525             # FIXME: insert proper C++ library support
12526             ld_shlibs_CXX=no
12527             ;;
12528           ghcx*)
12529             # Green Hills C++ Compiler
12530             # FIXME: insert proper C++ library support
12531             ld_shlibs_CXX=no
12532             ;;
12533           *)
12534             # FIXME: insert proper C++ library support
12535             ld_shlibs_CXX=no
12536             ;;
12537         esac
12538         ;;
12539
12540       freebsd2.*)
12541         # C++ shared libraries reported to be fairly broken before
12542         # switch to ELF
12543         ld_shlibs_CXX=no
12544         ;;
12545
12546       freebsd-elf*)
12547         archive_cmds_need_lc_CXX=no
12548         ;;
12549
12550       freebsd* | dragonfly*)
12551         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12552         # conventions
12553         ld_shlibs_CXX=yes
12554         ;;
12555
12556       gnu*)
12557         ;;
12558
12559       haiku*)
12560         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12561         link_all_deplibs_CXX=yes
12562         ;;
12563
12564       hpux9*)
12565         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12566         hardcode_libdir_separator_CXX=:
12567         export_dynamic_flag_spec_CXX='${wl}-E'
12568         hardcode_direct_CXX=yes
12569         hardcode_minus_L_CXX=yes # Not in the search PATH,
12570                                              # but as the default
12571                                              # location of the library.
12572
12573         case $cc_basename in
12574           CC*)
12575             # FIXME: insert proper C++ library support
12576             ld_shlibs_CXX=no
12577             ;;
12578           aCC*)
12579             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'
12580             # Commands to make compiler produce verbose output that lists
12581             # what "hidden" libraries, object files and flags are used when
12582             # linking a shared library.
12583             #
12584             # There doesn't appear to be a way to prevent this compiler from
12585             # explicitly linking system object files so we need to strip them
12586             # from the output so that they don't get included in the library
12587             # dependencies.
12588             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"'
12589             ;;
12590           *)
12591             if test "$GXX" = yes; then
12592               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'
12593             else
12594               # FIXME: insert proper C++ library support
12595               ld_shlibs_CXX=no
12596             fi
12597             ;;
12598         esac
12599         ;;
12600
12601       hpux10*|hpux11*)
12602         if test $with_gnu_ld = no; then
12603           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12604           hardcode_libdir_separator_CXX=:
12605
12606           case $host_cpu in
12607             hppa*64*|ia64*)
12608               ;;
12609             *)
12610               export_dynamic_flag_spec_CXX='${wl}-E'
12611               ;;
12612           esac
12613         fi
12614         case $host_cpu in
12615           hppa*64*|ia64*)
12616             hardcode_direct_CXX=no
12617             hardcode_shlibpath_var_CXX=no
12618             ;;
12619           *)
12620             hardcode_direct_CXX=yes
12621             hardcode_direct_absolute_CXX=yes
12622             hardcode_minus_L_CXX=yes # Not in the search PATH,
12623                                                  # but as the default
12624                                                  # location of the library.
12625             ;;
12626         esac
12627
12628         case $cc_basename in
12629           CC*)
12630             # FIXME: insert proper C++ library support
12631             ld_shlibs_CXX=no
12632             ;;
12633           aCC*)
12634             case $host_cpu in
12635               hppa*64*)
12636                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12637                 ;;
12638               ia64*)
12639                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12640                 ;;
12641               *)
12642                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12643                 ;;
12644             esac
12645             # Commands to make compiler produce verbose output that lists
12646             # what "hidden" libraries, object files and flags are used when
12647             # linking a shared library.
12648             #
12649             # There doesn't appear to be a way to prevent this compiler from
12650             # explicitly linking system object files so we need to strip them
12651             # from the output so that they don't get included in the library
12652             # dependencies.
12653             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"'
12654             ;;
12655           *)
12656             if test "$GXX" = yes; then
12657               if test $with_gnu_ld = no; then
12658                 case $host_cpu in
12659                   hppa*64*)
12660                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12661                     ;;
12662                   ia64*)
12663                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12664                     ;;
12665                   *)
12666                     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'
12667                     ;;
12668                 esac
12669               fi
12670             else
12671               # FIXME: insert proper C++ library support
12672               ld_shlibs_CXX=no
12673             fi
12674             ;;
12675         esac
12676         ;;
12677
12678       interix[3-9]*)
12679         hardcode_direct_CXX=no
12680         hardcode_shlibpath_var_CXX=no
12681         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12682         export_dynamic_flag_spec_CXX='${wl}-E'
12683         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12684         # Instead, shared libraries are loaded at an image base (0x10000000 by
12685         # default) and relocated if they conflict, which is a slow very memory
12686         # consuming and fragmenting process.  To avoid this, we pick a random,
12687         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12688         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12689         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'
12690         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'
12691         ;;
12692       irix5* | irix6*)
12693         case $cc_basename in
12694           CC*)
12695             # SGI C++
12696             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'
12697
12698             # Archives containing C++ object files must be created using
12699             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12700             # necessary to make sure instantiated templates are included
12701             # in the archive.
12702             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12703             ;;
12704           *)
12705             if test "$GXX" = yes; then
12706               if test "$with_gnu_ld" = no; then
12707                 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'
12708               else
12709                 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'
12710               fi
12711             fi
12712             link_all_deplibs_CXX=yes
12713             ;;
12714         esac
12715         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12716         hardcode_libdir_separator_CXX=:
12717         inherit_rpath_CXX=yes
12718         ;;
12719
12720       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12721         case $cc_basename in
12722           KCC*)
12723             # Kuck and Associates, Inc. (KAI) C++ Compiler
12724
12725             # KCC will only create a shared library if the output file
12726             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12727             # to its proper name (with version) after linking.
12728             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'
12729             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'
12730             # Commands to make compiler produce verbose output that lists
12731             # what "hidden" libraries, object files and flags are used when
12732             # linking a shared library.
12733             #
12734             # There doesn't appear to be a way to prevent this compiler from
12735             # explicitly linking system object files so we need to strip them
12736             # from the output so that they don't get included in the library
12737             # dependencies.
12738             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"'
12739
12740             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12741             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12742
12743             # Archives containing C++ object files must be created using
12744             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12745             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12746             ;;
12747           icpc* | ecpc* )
12748             # Intel C++
12749             with_gnu_ld=yes
12750             # version 8.0 and above of icpc choke on multiply defined symbols
12751             # if we add $predep_objects and $postdep_objects, however 7.1 and
12752             # earlier do not add the objects themselves.
12753             case `$CC -V 2>&1` in
12754               *"Version 7."*)
12755                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12756                 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'
12757                 ;;
12758               *)  # Version 8.0 or newer
12759                 tmp_idyn=
12760                 case $host_cpu in
12761                   ia64*) tmp_idyn=' -i_dynamic';;
12762                 esac
12763                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12764                 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'
12765                 ;;
12766             esac
12767             archive_cmds_need_lc_CXX=no
12768             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12769             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12770             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12771             ;;
12772           pgCC* | pgcpp*)
12773             # Portland Group C++ compiler
12774             case `$CC -V` in
12775             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12776               prelink_cmds_CXX='tpldir=Template.dir~
12777                 rm -rf $tpldir~
12778                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12779                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12780               old_archive_cmds_CXX='tpldir=Template.dir~
12781                 rm -rf $tpldir~
12782                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12783                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12784                 $RANLIB $oldlib'
12785               archive_cmds_CXX='tpldir=Template.dir~
12786                 rm -rf $tpldir~
12787                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12788                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12789               archive_expsym_cmds_CXX='tpldir=Template.dir~
12790                 rm -rf $tpldir~
12791                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12792                 $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'
12793               ;;
12794             *) # Version 6 and above use weak symbols
12795               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12796               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'
12797               ;;
12798             esac
12799
12800             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12801             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12802             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'
12803             ;;
12804           cxx*)
12805             # Compaq C++
12806             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12807             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'
12808
12809             runpath_var=LD_RUN_PATH
12810             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12811             hardcode_libdir_separator_CXX=:
12812
12813             # Commands to make compiler produce verbose output that lists
12814             # what "hidden" libraries, object files and flags are used when
12815             # linking a shared library.
12816             #
12817             # There doesn't appear to be a way to prevent this compiler from
12818             # explicitly linking system object files so we need to strip them
12819             # from the output so that they don't get included in the library
12820             # dependencies.
12821             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'
12822             ;;
12823           xl* | mpixl* | bgxl*)
12824             # IBM XL 8.0 on PPC, with GNU ld
12825             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12826             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12827             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12828             if test "x$supports_anon_versioning" = xyes; then
12829               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12830                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12831                 echo "local: *; };" >> $output_objdir/$libname.ver~
12832                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12833             fi
12834             ;;
12835           *)
12836             case `$CC -V 2>&1 | sed 5q` in
12837             *Sun\ C*)
12838               # Sun C++ 5.9
12839               no_undefined_flag_CXX=' -zdefs'
12840               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12841               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'
12842               hardcode_libdir_flag_spec_CXX='-R$libdir'
12843               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'
12844               compiler_needs_object_CXX=yes
12845
12846               # Not sure whether something based on
12847               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12848               # would be better.
12849               output_verbose_link_cmd='func_echo_all'
12850
12851               # Archives containing C++ object files must be created using
12852               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12853               # necessary to make sure instantiated templates are included
12854               # in the archive.
12855               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12856               ;;
12857             esac
12858             ;;
12859         esac
12860         ;;
12861
12862       lynxos*)
12863         # FIXME: insert proper C++ library support
12864         ld_shlibs_CXX=no
12865         ;;
12866
12867       m88k*)
12868         # FIXME: insert proper C++ library support
12869         ld_shlibs_CXX=no
12870         ;;
12871
12872       mvs*)
12873         case $cc_basename in
12874           cxx*)
12875             # FIXME: insert proper C++ library support
12876             ld_shlibs_CXX=no
12877             ;;
12878           *)
12879             # FIXME: insert proper C++ library support
12880             ld_shlibs_CXX=no
12881             ;;
12882         esac
12883         ;;
12884
12885       netbsd*)
12886         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12887           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12888           wlarc=
12889           hardcode_libdir_flag_spec_CXX='-R$libdir'
12890           hardcode_direct_CXX=yes
12891           hardcode_shlibpath_var_CXX=no
12892         fi
12893         # Workaround some broken pre-1.5 toolchains
12894         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12895         ;;
12896
12897       *nto* | *qnx*)
12898         ld_shlibs_CXX=yes
12899         ;;
12900
12901       openbsd2*)
12902         # C++ shared libraries are fairly broken
12903         ld_shlibs_CXX=no
12904         ;;
12905
12906       openbsd*)
12907         if test -f /usr/libexec/ld.so; then
12908           hardcode_direct_CXX=yes
12909           hardcode_shlibpath_var_CXX=no
12910           hardcode_direct_absolute_CXX=yes
12911           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12912           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12913           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12914             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12915             export_dynamic_flag_spec_CXX='${wl}-E'
12916             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12917           fi
12918           output_verbose_link_cmd=func_echo_all
12919         else
12920           ld_shlibs_CXX=no
12921         fi
12922         ;;
12923
12924       osf3* | osf4* | osf5*)
12925         case $cc_basename in
12926           KCC*)
12927             # Kuck and Associates, Inc. (KAI) C++ Compiler
12928
12929             # KCC will only create a shared library if the output file
12930             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12931             # to its proper name (with version) after linking.
12932             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'
12933
12934             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12935             hardcode_libdir_separator_CXX=:
12936
12937             # Archives containing C++ object files must be created using
12938             # the KAI C++ compiler.
12939             case $host in
12940               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12941               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12942             esac
12943             ;;
12944           RCC*)
12945             # Rational C++ 2.4.1
12946             # FIXME: insert proper C++ library support
12947             ld_shlibs_CXX=no
12948             ;;
12949           cxx*)
12950             case $host in
12951               osf3*)
12952                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12953                 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'
12954                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12955                 ;;
12956               *)
12957                 allow_undefined_flag_CXX=' -expect_unresolved \*'
12958                 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'
12959                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12960                   echo "-hidden">> $lib.exp~
12961                   $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~
12962                   $RM $lib.exp'
12963                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12964                 ;;
12965             esac
12966
12967             hardcode_libdir_separator_CXX=:
12968
12969             # Commands to make compiler produce verbose output that lists
12970             # what "hidden" libraries, object files and flags are used when
12971             # linking a shared library.
12972             #
12973             # There doesn't appear to be a way to prevent this compiler from
12974             # explicitly linking system object files so we need to strip them
12975             # from the output so that they don't get included in the library
12976             # dependencies.
12977             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"'
12978             ;;
12979           *)
12980             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12981               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12982               case $host in
12983                 osf3*)
12984                   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'
12985                   ;;
12986                 *)
12987                   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'
12988                   ;;
12989               esac
12990
12991               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12992               hardcode_libdir_separator_CXX=:
12993
12994               # Commands to make compiler produce verbose output that lists
12995               # what "hidden" libraries, object files and flags are used when
12996               # linking a shared library.
12997               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12998
12999             else
13000               # FIXME: insert proper C++ library support
13001               ld_shlibs_CXX=no
13002             fi
13003             ;;
13004         esac
13005         ;;
13006
13007       psos*)
13008         # FIXME: insert proper C++ library support
13009         ld_shlibs_CXX=no
13010         ;;
13011
13012       sunos4*)
13013         case $cc_basename in
13014           CC*)
13015             # Sun C++ 4.x
13016             # FIXME: insert proper C++ library support
13017             ld_shlibs_CXX=no
13018             ;;
13019           lcc*)
13020             # Lucid
13021             # FIXME: insert proper C++ library support
13022             ld_shlibs_CXX=no
13023             ;;
13024           *)
13025             # FIXME: insert proper C++ library support
13026             ld_shlibs_CXX=no
13027             ;;
13028         esac
13029         ;;
13030
13031       solaris*)
13032         case $cc_basename in
13033           CC*)
13034             # Sun C++ 4.2, 5.x and Centerline C++
13035             archive_cmds_need_lc_CXX=yes
13036             no_undefined_flag_CXX=' -zdefs'
13037             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13038             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13039               $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'
13040
13041             hardcode_libdir_flag_spec_CXX='-R$libdir'
13042             hardcode_shlibpath_var_CXX=no
13043             case $host_os in
13044               solaris2.[0-5] | solaris2.[0-5].*) ;;
13045               *)
13046                 # The compiler driver will combine and reorder linker options,
13047                 # but understands `-z linker_flag'.
13048                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13049                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13050                 ;;
13051             esac
13052             link_all_deplibs_CXX=yes
13053
13054             output_verbose_link_cmd='func_echo_all'
13055
13056             # Archives containing C++ object files must be created using
13057             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13058             # necessary to make sure instantiated templates are included
13059             # in the archive.
13060             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13061             ;;
13062           gcx*)
13063             # Green Hills C++ Compiler
13064             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13065
13066             # The C++ compiler must be used to create the archive.
13067             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13068             ;;
13069           *)
13070             # GNU C++ compiler with Solaris linker
13071             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13072               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13073               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13074                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13075                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13076                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13077
13078                 # Commands to make compiler produce verbose output that lists
13079                 # what "hidden" libraries, object files and flags are used when
13080                 # linking a shared library.
13081                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13082               else
13083                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13084                 # platform.
13085                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13086                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13087                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13088
13089                 # Commands to make compiler produce verbose output that lists
13090                 # what "hidden" libraries, object files and flags are used when
13091                 # linking a shared library.
13092                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13093               fi
13094
13095               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13096               case $host_os in
13097                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13098                 *)
13099                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13100                   ;;
13101               esac
13102             fi
13103             ;;
13104         esac
13105         ;;
13106
13107     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13108       no_undefined_flag_CXX='${wl}-z,text'
13109       archive_cmds_need_lc_CXX=no
13110       hardcode_shlibpath_var_CXX=no
13111       runpath_var='LD_RUN_PATH'
13112
13113       case $cc_basename in
13114         CC*)
13115           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13116           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13117           ;;
13118         *)
13119           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13120           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13121           ;;
13122       esac
13123       ;;
13124
13125       sysv5* | sco3.2v5* | sco5v6*)
13126         # Note: We can NOT use -z defs as we might desire, because we do not
13127         # link with -lc, and that would cause any symbols used from libc to
13128         # always be unresolved, which means just about no library would
13129         # ever link correctly.  If we're not using GNU ld we use -z text
13130         # though, which does catch some bad symbols but isn't as heavy-handed
13131         # as -z defs.
13132         no_undefined_flag_CXX='${wl}-z,text'
13133         allow_undefined_flag_CXX='${wl}-z,nodefs'
13134         archive_cmds_need_lc_CXX=no
13135         hardcode_shlibpath_var_CXX=no
13136         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13137         hardcode_libdir_separator_CXX=':'
13138         link_all_deplibs_CXX=yes
13139         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13140         runpath_var='LD_RUN_PATH'
13141
13142         case $cc_basename in
13143           CC*)
13144             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13145             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13146             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13147               '"$old_archive_cmds_CXX"
13148             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13149               '"$reload_cmds_CXX"
13150             ;;
13151           *)
13152             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13153             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13154             ;;
13155         esac
13156       ;;
13157
13158       tandem*)
13159         case $cc_basename in
13160           NCC*)
13161             # NonStop-UX NCC 3.20
13162             # FIXME: insert proper C++ library support
13163             ld_shlibs_CXX=no
13164             ;;
13165           *)
13166             # FIXME: insert proper C++ library support
13167             ld_shlibs_CXX=no
13168             ;;
13169         esac
13170         ;;
13171
13172       vxworks*)
13173         # FIXME: insert proper C++ library support
13174         ld_shlibs_CXX=no
13175         ;;
13176
13177       *)
13178         # FIXME: insert proper C++ library support
13179         ld_shlibs_CXX=no
13180         ;;
13181     esac
13182
13183     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13184 $as_echo "$ld_shlibs_CXX" >&6; }
13185     test "$ld_shlibs_CXX" = no && can_build_shared=no
13186
13187     GCC_CXX="$GXX"
13188     LD_CXX="$LD"
13189
13190     ## CAVEAT EMPTOR:
13191     ## There is no encapsulation within the following macros, do not change
13192     ## the running order or otherwise move them around unless you know exactly
13193     ## what you are doing...
13194     # Dependencies to place before and after the object being linked:
13195 predep_objects_CXX=
13196 postdep_objects_CXX=
13197 predeps_CXX=
13198 postdeps_CXX=
13199 compiler_lib_search_path_CXX=
13200
13201 cat > conftest.$ac_ext <<_LT_EOF
13202 class Foo
13203 {
13204 public:
13205   Foo (void) { a = 0; }
13206 private:
13207   int a;
13208 };
13209 _LT_EOF
13210
13211 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13212   (eval $ac_compile) 2>&5
13213   ac_status=$?
13214   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13215   test $ac_status = 0; }; then
13216   # Parse the compiler output and extract the necessary
13217   # objects, libraries and library flags.
13218
13219   # Sentinel used to keep track of whether or not we are before
13220   # the conftest object file.
13221   pre_test_object_deps_done=no
13222
13223   for p in `eval "$output_verbose_link_cmd"`; do
13224     case $p in
13225
13226     -L* | -R* | -l*)
13227        # Some compilers place space between "-{L,R}" and the path.
13228        # Remove the space.
13229        if test $p = "-L" ||
13230           test $p = "-R"; then
13231          prev=$p
13232          continue
13233        else
13234          prev=
13235        fi
13236
13237        if test "$pre_test_object_deps_done" = no; then
13238          case $p in
13239          -L* | -R*)
13240            # Internal compiler library paths should come after those
13241            # provided the user.  The postdeps already come after the
13242            # user supplied libs so there is no need to process them.
13243            if test -z "$compiler_lib_search_path_CXX"; then
13244              compiler_lib_search_path_CXX="${prev}${p}"
13245            else
13246              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13247            fi
13248            ;;
13249          # The "-l" case would never come before the object being
13250          # linked, so don't bother handling this case.
13251          esac
13252        else
13253          if test -z "$postdeps_CXX"; then
13254            postdeps_CXX="${prev}${p}"
13255          else
13256            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13257          fi
13258        fi
13259        ;;
13260
13261     *.$objext)
13262        # This assumes that the test object file only shows up
13263        # once in the compiler output.
13264        if test "$p" = "conftest.$objext"; then
13265          pre_test_object_deps_done=yes
13266          continue
13267        fi
13268
13269        if test "$pre_test_object_deps_done" = no; then
13270          if test -z "$predep_objects_CXX"; then
13271            predep_objects_CXX="$p"
13272          else
13273            predep_objects_CXX="$predep_objects_CXX $p"
13274          fi
13275        else
13276          if test -z "$postdep_objects_CXX"; then
13277            postdep_objects_CXX="$p"
13278          else
13279            postdep_objects_CXX="$postdep_objects_CXX $p"
13280          fi
13281        fi
13282        ;;
13283
13284     *) ;; # Ignore the rest.
13285
13286     esac
13287   done
13288
13289   # Clean up.
13290   rm -f a.out a.exe
13291 else
13292   echo "libtool.m4: error: problem compiling CXX test program"
13293 fi
13294
13295 $RM -f confest.$objext
13296
13297 # PORTME: override above test on systems where it is broken
13298 case $host_os in
13299 interix[3-9]*)
13300   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13301   # hack all around it, let's just trust "g++" to DTRT.
13302   predep_objects_CXX=
13303   postdep_objects_CXX=
13304   postdeps_CXX=
13305   ;;
13306
13307 linux*)
13308   case `$CC -V 2>&1 | sed 5q` in
13309   *Sun\ C*)
13310     # Sun C++ 5.9
13311
13312     # The more standards-conforming stlport4 library is
13313     # incompatible with the Cstd library. Avoid specifying
13314     # it if it's in CXXFLAGS. Ignore libCrun as
13315     # -library=stlport4 depends on it.
13316     case " $CXX $CXXFLAGS " in
13317     *" -library=stlport4 "*)
13318       solaris_use_stlport4=yes
13319       ;;
13320     esac
13321
13322     if test "$solaris_use_stlport4" != yes; then
13323       postdeps_CXX='-library=Cstd -library=Crun'
13324     fi
13325     ;;
13326   esac
13327   ;;
13328
13329 solaris*)
13330   case $cc_basename in
13331   CC*)
13332     # The more standards-conforming stlport4 library is
13333     # incompatible with the Cstd library. Avoid specifying
13334     # it if it's in CXXFLAGS. Ignore libCrun as
13335     # -library=stlport4 depends on it.
13336     case " $CXX $CXXFLAGS " in
13337     *" -library=stlport4 "*)
13338       solaris_use_stlport4=yes
13339       ;;
13340     esac
13341
13342     # Adding this requires a known-good setup of shared libraries for
13343     # Sun compiler versions before 5.6, else PIC objects from an old
13344     # archive will be linked into the output, leading to subtle bugs.
13345     if test "$solaris_use_stlport4" != yes; then
13346       postdeps_CXX='-library=Cstd -library=Crun'
13347     fi
13348     ;;
13349   esac
13350   ;;
13351 esac
13352
13353
13354 case " $postdeps_CXX " in
13355 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13356 esac
13357  compiler_lib_search_dirs_CXX=
13358 if test -n "${compiler_lib_search_path_CXX}"; then
13359  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13360 fi
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392     lt_prog_compiler_wl_CXX=
13393 lt_prog_compiler_pic_CXX=
13394 lt_prog_compiler_static_CXX=
13395
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13397 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13398
13399   # C++ specific cases for pic, static, wl, etc.
13400   if test "$GXX" = yes; then
13401     lt_prog_compiler_wl_CXX='-Wl,'
13402     lt_prog_compiler_static_CXX='-static'
13403
13404     case $host_os in
13405     aix*)
13406       # All AIX code is PIC.
13407       if test "$host_cpu" = ia64; then
13408         # AIX 5 now supports IA64 processor
13409         lt_prog_compiler_static_CXX='-Bstatic'
13410       fi
13411       ;;
13412
13413     amigaos*)
13414       case $host_cpu in
13415       powerpc)
13416             # see comment about AmigaOS4 .so support
13417             lt_prog_compiler_pic_CXX='-fPIC'
13418         ;;
13419       m68k)
13420             # FIXME: we need at least 68020 code to build shared libraries, but
13421             # adding the `-m68020' flag to GCC prevents building anything better,
13422             # like `-m68040'.
13423             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13424         ;;
13425       esac
13426       ;;
13427
13428     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13429       # PIC is the default for these OSes.
13430       ;;
13431     mingw* | cygwin* | os2* | pw32* | cegcc*)
13432       # This hack is so that the source file can tell whether it is being
13433       # built for inclusion in a dll (and should export symbols for example).
13434       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13435       # (--disable-auto-import) libraries
13436       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13437       ;;
13438     darwin* | rhapsody*)
13439       # PIC is the default on this platform
13440       # Common symbols not allowed in MH_DYLIB files
13441       lt_prog_compiler_pic_CXX='-fno-common'
13442       ;;
13443     *djgpp*)
13444       # DJGPP does not support shared libraries at all
13445       lt_prog_compiler_pic_CXX=
13446       ;;
13447     haiku*)
13448       # PIC is the default for Haiku.
13449       # The "-static" flag exists, but is broken.
13450       lt_prog_compiler_static_CXX=
13451       ;;
13452     interix[3-9]*)
13453       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13454       # Instead, we relocate shared libraries at runtime.
13455       ;;
13456     sysv4*MP*)
13457       if test -d /usr/nec; then
13458         lt_prog_compiler_pic_CXX=-Kconform_pic
13459       fi
13460       ;;
13461     hpux*)
13462       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13463       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13464       # sets the default TLS model and affects inlining.
13465       case $host_cpu in
13466       hppa*64*)
13467         ;;
13468       *)
13469         lt_prog_compiler_pic_CXX='-fPIC'
13470         ;;
13471       esac
13472       ;;
13473     *qnx* | *nto*)
13474       # QNX uses GNU C++, but need to define -shared option too, otherwise
13475       # it will coredump.
13476       lt_prog_compiler_pic_CXX='-fPIC -shared'
13477       ;;
13478     *)
13479       lt_prog_compiler_pic_CXX='-fPIC'
13480       ;;
13481     esac
13482   else
13483     case $host_os in
13484       aix[4-9]*)
13485         # All AIX code is PIC.
13486         if test "$host_cpu" = ia64; then
13487           # AIX 5 now supports IA64 processor
13488           lt_prog_compiler_static_CXX='-Bstatic'
13489         else
13490           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13491         fi
13492         ;;
13493       chorus*)
13494         case $cc_basename in
13495         cxch68*)
13496           # Green Hills C++ Compiler
13497           # _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"
13498           ;;
13499         esac
13500         ;;
13501       dgux*)
13502         case $cc_basename in
13503           ec++*)
13504             lt_prog_compiler_pic_CXX='-KPIC'
13505             ;;
13506           ghcx*)
13507             # Green Hills C++ Compiler
13508             lt_prog_compiler_pic_CXX='-pic'
13509             ;;
13510           *)
13511             ;;
13512         esac
13513         ;;
13514       freebsd* | dragonfly*)
13515         # FreeBSD uses GNU C++
13516         ;;
13517       hpux9* | hpux10* | hpux11*)
13518         case $cc_basename in
13519           CC*)
13520             lt_prog_compiler_wl_CXX='-Wl,'
13521             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13522             if test "$host_cpu" != ia64; then
13523               lt_prog_compiler_pic_CXX='+Z'
13524             fi
13525             ;;
13526           aCC*)
13527             lt_prog_compiler_wl_CXX='-Wl,'
13528             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13529             case $host_cpu in
13530             hppa*64*|ia64*)
13531               # +Z the default
13532               ;;
13533             *)
13534               lt_prog_compiler_pic_CXX='+Z'
13535               ;;
13536             esac
13537             ;;
13538           *)
13539             ;;
13540         esac
13541         ;;
13542       interix*)
13543         # This is c89, which is MS Visual C++ (no shared libs)
13544         # Anyone wants to do a port?
13545         ;;
13546       irix5* | irix6* | nonstopux*)
13547         case $cc_basename in
13548           CC*)
13549             lt_prog_compiler_wl_CXX='-Wl,'
13550             lt_prog_compiler_static_CXX='-non_shared'
13551             # CC pic flag -KPIC is the default.
13552             ;;
13553           *)
13554             ;;
13555         esac
13556         ;;
13557       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13558         case $cc_basename in
13559           KCC*)
13560             # KAI C++ Compiler
13561             lt_prog_compiler_wl_CXX='--backend -Wl,'
13562             lt_prog_compiler_pic_CXX='-fPIC'
13563             ;;
13564           ecpc* )
13565             # old Intel C++ for x86_64 which still supported -KPIC.
13566             lt_prog_compiler_wl_CXX='-Wl,'
13567             lt_prog_compiler_pic_CXX='-KPIC'
13568             lt_prog_compiler_static_CXX='-static'
13569             ;;
13570           icpc* )
13571             # Intel C++, used to be incompatible with GCC.
13572             # ICC 10 doesn't accept -KPIC any more.
13573             lt_prog_compiler_wl_CXX='-Wl,'
13574             lt_prog_compiler_pic_CXX='-fPIC'
13575             lt_prog_compiler_static_CXX='-static'
13576             ;;
13577           pgCC* | pgcpp*)
13578             # Portland Group C++ compiler
13579             lt_prog_compiler_wl_CXX='-Wl,'
13580             lt_prog_compiler_pic_CXX='-fpic'
13581             lt_prog_compiler_static_CXX='-Bstatic'
13582             ;;
13583           cxx*)
13584             # Compaq C++
13585             # Make sure the PIC flag is empty.  It appears that all Alpha
13586             # Linux and Compaq Tru64 Unix objects are PIC.
13587             lt_prog_compiler_pic_CXX=
13588             lt_prog_compiler_static_CXX='-non_shared'
13589             ;;
13590           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13591             # IBM XL 8.0, 9.0 on PPC and BlueGene
13592             lt_prog_compiler_wl_CXX='-Wl,'
13593             lt_prog_compiler_pic_CXX='-qpic'
13594             lt_prog_compiler_static_CXX='-qstaticlink'
13595             ;;
13596           *)
13597             case `$CC -V 2>&1 | sed 5q` in
13598             *Sun\ C*)
13599               # Sun C++ 5.9
13600               lt_prog_compiler_pic_CXX='-KPIC'
13601               lt_prog_compiler_static_CXX='-Bstatic'
13602               lt_prog_compiler_wl_CXX='-Qoption ld '
13603               ;;
13604             esac
13605             ;;
13606         esac
13607         ;;
13608       lynxos*)
13609         ;;
13610       m88k*)
13611         ;;
13612       mvs*)
13613         case $cc_basename in
13614           cxx*)
13615             lt_prog_compiler_pic_CXX='-W c,exportall'
13616             ;;
13617           *)
13618             ;;
13619         esac
13620         ;;
13621       netbsd*)
13622         ;;
13623       *qnx* | *nto*)
13624         # QNX uses GNU C++, but need to define -shared option too, otherwise
13625         # it will coredump.
13626         lt_prog_compiler_pic_CXX='-fPIC -shared'
13627         ;;
13628       osf3* | osf4* | osf5*)
13629         case $cc_basename in
13630           KCC*)
13631             lt_prog_compiler_wl_CXX='--backend -Wl,'
13632             ;;
13633           RCC*)
13634             # Rational C++ 2.4.1
13635             lt_prog_compiler_pic_CXX='-pic'
13636             ;;
13637           cxx*)
13638             # Digital/Compaq C++
13639             lt_prog_compiler_wl_CXX='-Wl,'
13640             # Make sure the PIC flag is empty.  It appears that all Alpha
13641             # Linux and Compaq Tru64 Unix objects are PIC.
13642             lt_prog_compiler_pic_CXX=
13643             lt_prog_compiler_static_CXX='-non_shared'
13644             ;;
13645           *)
13646             ;;
13647         esac
13648         ;;
13649       psos*)
13650         ;;
13651       solaris*)
13652         case $cc_basename in
13653           CC*)
13654             # Sun C++ 4.2, 5.x and Centerline C++
13655             lt_prog_compiler_pic_CXX='-KPIC'
13656             lt_prog_compiler_static_CXX='-Bstatic'
13657             lt_prog_compiler_wl_CXX='-Qoption ld '
13658             ;;
13659           gcx*)
13660             # Green Hills C++ Compiler
13661             lt_prog_compiler_pic_CXX='-PIC'
13662             ;;
13663           *)
13664             ;;
13665         esac
13666         ;;
13667       sunos4*)
13668         case $cc_basename in
13669           CC*)
13670             # Sun C++ 4.x
13671             lt_prog_compiler_pic_CXX='-pic'
13672             lt_prog_compiler_static_CXX='-Bstatic'
13673             ;;
13674           lcc*)
13675             # Lucid
13676             lt_prog_compiler_pic_CXX='-pic'
13677             ;;
13678           *)
13679             ;;
13680         esac
13681         ;;
13682       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13683         case $cc_basename in
13684           CC*)
13685             lt_prog_compiler_wl_CXX='-Wl,'
13686             lt_prog_compiler_pic_CXX='-KPIC'
13687             lt_prog_compiler_static_CXX='-Bstatic'
13688             ;;
13689         esac
13690         ;;
13691       tandem*)
13692         case $cc_basename in
13693           NCC*)
13694             # NonStop-UX NCC 3.20
13695             lt_prog_compiler_pic_CXX='-KPIC'
13696             ;;
13697           *)
13698             ;;
13699         esac
13700         ;;
13701       vxworks*)
13702         ;;
13703       *)
13704         lt_prog_compiler_can_build_shared_CXX=no
13705         ;;
13706     esac
13707   fi
13708
13709 case $host_os in
13710   # For platforms which do not support PIC, -DPIC is meaningless:
13711   *djgpp*)
13712     lt_prog_compiler_pic_CXX=
13713     ;;
13714   *)
13715     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13716     ;;
13717 esac
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13719 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13720
13721
13722
13723 #
13724 # Check to make sure the PIC flag actually works.
13725 #
13726 if test -n "$lt_prog_compiler_pic_CXX"; then
13727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13728 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13729 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13730   $as_echo_n "(cached) " >&6
13731 else
13732   lt_cv_prog_compiler_pic_works_CXX=no
13733    ac_outfile=conftest.$ac_objext
13734    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13735    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13736    # Insert the option either (1) after the last *FLAGS variable, or
13737    # (2) before a word containing "conftest.", or (3) at the end.
13738    # Note that $ac_compile itself does not contain backslashes and begins
13739    # with a dollar sign (not a hyphen), so the echo should work correctly.
13740    # The option is referenced via a variable to avoid confusing sed.
13741    lt_compile=`echo "$ac_compile" | $SED \
13742    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13743    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13744    -e 's:$: $lt_compiler_flag:'`
13745    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13746    (eval "$lt_compile" 2>conftest.err)
13747    ac_status=$?
13748    cat conftest.err >&5
13749    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13750    if (exit $ac_status) && test -s "$ac_outfile"; then
13751      # The compiler can only warn and ignore the option if not recognized
13752      # So say no if there are warnings other than the usual output.
13753      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13754      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13755      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13756        lt_cv_prog_compiler_pic_works_CXX=yes
13757      fi
13758    fi
13759    $RM conftest*
13760
13761 fi
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13763 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13764
13765 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13766     case $lt_prog_compiler_pic_CXX in
13767      "" | " "*) ;;
13768      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13769      esac
13770 else
13771     lt_prog_compiler_pic_CXX=
13772      lt_prog_compiler_can_build_shared_CXX=no
13773 fi
13774
13775 fi
13776
13777
13778
13779 #
13780 # Check to make sure the static flag actually works.
13781 #
13782 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13784 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13785 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13786   $as_echo_n "(cached) " >&6
13787 else
13788   lt_cv_prog_compiler_static_works_CXX=no
13789    save_LDFLAGS="$LDFLAGS"
13790    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13791    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13792    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13793      # The linker can only warn and ignore the option if not recognized
13794      # So say no if there are warnings
13795      if test -s conftest.err; then
13796        # Append any errors to the config.log.
13797        cat conftest.err 1>&5
13798        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13799        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13800        if diff conftest.exp conftest.er2 >/dev/null; then
13801          lt_cv_prog_compiler_static_works_CXX=yes
13802        fi
13803      else
13804        lt_cv_prog_compiler_static_works_CXX=yes
13805      fi
13806    fi
13807    $RM -r conftest*
13808    LDFLAGS="$save_LDFLAGS"
13809
13810 fi
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13812 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13813
13814 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13815     :
13816 else
13817     lt_prog_compiler_static_CXX=
13818 fi
13819
13820
13821
13822
13823     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13824 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13825 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13826   $as_echo_n "(cached) " >&6
13827 else
13828   lt_cv_prog_compiler_c_o_CXX=no
13829    $RM -r conftest 2>/dev/null
13830    mkdir conftest
13831    cd conftest
13832    mkdir out
13833    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13834
13835    lt_compiler_flag="-o out/conftest2.$ac_objext"
13836    # Insert the option either (1) after the last *FLAGS variable, or
13837    # (2) before a word containing "conftest.", or (3) at the end.
13838    # Note that $ac_compile itself does not contain backslashes and begins
13839    # with a dollar sign (not a hyphen), so the echo should work correctly.
13840    lt_compile=`echo "$ac_compile" | $SED \
13841    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13842    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13843    -e 's:$: $lt_compiler_flag:'`
13844    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13845    (eval "$lt_compile" 2>out/conftest.err)
13846    ac_status=$?
13847    cat out/conftest.err >&5
13848    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13850    then
13851      # The compiler can only warn and ignore the option if not recognized
13852      # So say no if there are warnings
13853      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13854      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13855      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13856        lt_cv_prog_compiler_c_o_CXX=yes
13857      fi
13858    fi
13859    chmod u+w . 2>&5
13860    $RM conftest*
13861    # SGI C++ compiler will create directory out/ii_files/ for
13862    # template instantiation
13863    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13864    $RM out/* && rmdir out
13865    cd ..
13866    $RM -r conftest
13867    $RM conftest*
13868
13869 fi
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13871 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13872
13873
13874
13875     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13876 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13877 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13878   $as_echo_n "(cached) " >&6
13879 else
13880   lt_cv_prog_compiler_c_o_CXX=no
13881    $RM -r conftest 2>/dev/null
13882    mkdir conftest
13883    cd conftest
13884    mkdir out
13885    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13886
13887    lt_compiler_flag="-o out/conftest2.$ac_objext"
13888    # Insert the option either (1) after the last *FLAGS variable, or
13889    # (2) before a word containing "conftest.", or (3) at the end.
13890    # Note that $ac_compile itself does not contain backslashes and begins
13891    # with a dollar sign (not a hyphen), so the echo should work correctly.
13892    lt_compile=`echo "$ac_compile" | $SED \
13893    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13894    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13895    -e 's:$: $lt_compiler_flag:'`
13896    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13897    (eval "$lt_compile" 2>out/conftest.err)
13898    ac_status=$?
13899    cat out/conftest.err >&5
13900    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13901    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13902    then
13903      # The compiler can only warn and ignore the option if not recognized
13904      # So say no if there are warnings
13905      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13906      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13907      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13908        lt_cv_prog_compiler_c_o_CXX=yes
13909      fi
13910    fi
13911    chmod u+w . 2>&5
13912    $RM conftest*
13913    # SGI C++ compiler will create directory out/ii_files/ for
13914    # template instantiation
13915    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13916    $RM out/* && rmdir out
13917    cd ..
13918    $RM -r conftest
13919    $RM conftest*
13920
13921 fi
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13923 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13924
13925
13926
13927
13928 hard_links="nottested"
13929 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13930   # do not overwrite the value of need_locks provided by the user
13931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13932 $as_echo_n "checking if we can lock with hard links... " >&6; }
13933   hard_links=yes
13934   $RM conftest*
13935   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13936   touch conftest.a
13937   ln conftest.a conftest.b 2>&5 || hard_links=no
13938   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13940 $as_echo "$hard_links" >&6; }
13941   if test "$hard_links" = no; then
13942     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13943 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13944     need_locks=warn
13945   fi
13946 else
13947   need_locks=no
13948 fi
13949
13950
13951
13952     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13953 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13954
13955   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13956   case $host_os in
13957   aix[4-9]*)
13958     # If we're using GNU nm, then we don't want the "-C" option.
13959     # -C means demangle to AIX nm, but means don't demangle with GNU nm
13960     # Also, AIX nm treats weak defined symbols like other global defined
13961     # symbols, whereas GNU nm marks them as "W".
13962     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13963       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'
13964     else
13965       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'
13966     fi
13967     ;;
13968   pw32*)
13969     export_symbols_cmds_CXX="$ltdll_cmds"
13970   ;;
13971   cygwin* | mingw* | cegcc*)
13972     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'
13973   ;;
13974   *)
13975     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13976   ;;
13977   esac
13978   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13979
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13981 $as_echo "$ld_shlibs_CXX" >&6; }
13982 test "$ld_shlibs_CXX" = no && can_build_shared=no
13983
13984 with_gnu_ld_CXX=$with_gnu_ld
13985
13986
13987
13988
13989
13990
13991 #
13992 # Do we need to explicitly link libc?
13993 #
13994 case "x$archive_cmds_need_lc_CXX" in
13995 x|xyes)
13996   # Assume -lc should be added
13997   archive_cmds_need_lc_CXX=yes
13998
13999   if test "$enable_shared" = yes && test "$GCC" = yes; then
14000     case $archive_cmds_CXX in
14001     *'~'*)
14002       # FIXME: we may have to deal with multi-command sequences.
14003       ;;
14004     '$CC '*)
14005       # Test whether the compiler implicitly links with -lc since on some
14006       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14007       # to ld, don't add -lc before -lgcc.
14008       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14009 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14010 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14011   $as_echo_n "(cached) " >&6
14012 else
14013   $RM conftest*
14014         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14015
14016         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14017   (eval $ac_compile) 2>&5
14018   ac_status=$?
14019   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14020   test $ac_status = 0; } 2>conftest.err; then
14021           soname=conftest
14022           lib=conftest
14023           libobjs=conftest.$ac_objext
14024           deplibs=
14025           wl=$lt_prog_compiler_wl_CXX
14026           pic_flag=$lt_prog_compiler_pic_CXX
14027           compiler_flags=-v
14028           linker_flags=-v
14029           verstring=
14030           output_objdir=.
14031           libname=conftest
14032           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14033           allow_undefined_flag_CXX=
14034           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14035   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14036   ac_status=$?
14037   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14038   test $ac_status = 0; }
14039           then
14040             lt_cv_archive_cmds_need_lc_CXX=no
14041           else
14042             lt_cv_archive_cmds_need_lc_CXX=yes
14043           fi
14044           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14045         else
14046           cat conftest.err 1>&5
14047         fi
14048         $RM conftest*
14049
14050 fi
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14052 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14053       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14054       ;;
14055     esac
14056   fi
14057   ;;
14058 esac
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
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14124 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14125
14126 library_names_spec=
14127 libname_spec='lib$name'
14128 soname_spec=
14129 shrext_cmds=".so"
14130 postinstall_cmds=
14131 postuninstall_cmds=
14132 finish_cmds=
14133 finish_eval=
14134 shlibpath_var=
14135 shlibpath_overrides_runpath=unknown
14136 version_type=none
14137 dynamic_linker="$host_os ld.so"
14138 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14139 need_lib_prefix=unknown
14140 hardcode_into_libs=no
14141
14142 # when you set need_version to no, make sure it does not cause -set_version
14143 # flags to be left without arguments
14144 need_version=unknown
14145
14146 case $host_os in
14147 aix3*)
14148   version_type=linux
14149   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14150   shlibpath_var=LIBPATH
14151
14152   # AIX 3 has no versioning support, so we append a major version to the name.
14153   soname_spec='${libname}${release}${shared_ext}$major'
14154   ;;
14155
14156 aix[4-9]*)
14157   version_type=linux
14158   need_lib_prefix=no
14159   need_version=no
14160   hardcode_into_libs=yes
14161   if test "$host_cpu" = ia64; then
14162     # AIX 5 supports IA64
14163     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14164     shlibpath_var=LD_LIBRARY_PATH
14165   else
14166     # With GCC up to 2.95.x, collect2 would create an import file
14167     # for dependence libraries.  The import file would start with
14168     # the line `#! .'.  This would cause the generated library to
14169     # depend on `.', always an invalid library.  This was fixed in
14170     # development snapshots of GCC prior to 3.0.
14171     case $host_os in
14172       aix4 | aix4.[01] | aix4.[01].*)
14173       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14174            echo ' yes '
14175            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14176         :
14177       else
14178         can_build_shared=no
14179       fi
14180       ;;
14181     esac
14182     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14183     # soname into executable. Probably we can add versioning support to
14184     # collect2, so additional links can be useful in future.
14185     if test "$aix_use_runtimelinking" = yes; then
14186       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14187       # instead of lib<name>.a to let people know that these are not
14188       # typical AIX shared libraries.
14189       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14190     else
14191       # We preserve .a as extension for shared libraries through AIX4.2
14192       # and later when we are not doing run time linking.
14193       library_names_spec='${libname}${release}.a $libname.a'
14194       soname_spec='${libname}${release}${shared_ext}$major'
14195     fi
14196     shlibpath_var=LIBPATH
14197   fi
14198   ;;
14199
14200 amigaos*)
14201   case $host_cpu in
14202   powerpc)
14203     # Since July 2007 AmigaOS4 officially supports .so libraries.
14204     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14205     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14206     ;;
14207   m68k)
14208     library_names_spec='$libname.ixlibrary $libname.a'
14209     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14210     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'
14211     ;;
14212   esac
14213   ;;
14214
14215 beos*)
14216   library_names_spec='${libname}${shared_ext}'
14217   dynamic_linker="$host_os ld.so"
14218   shlibpath_var=LIBRARY_PATH
14219   ;;
14220
14221 bsdi[45]*)
14222   version_type=linux
14223   need_version=no
14224   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14225   soname_spec='${libname}${release}${shared_ext}$major'
14226   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14227   shlibpath_var=LD_LIBRARY_PATH
14228   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14229   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14230   # the default ld.so.conf also contains /usr/contrib/lib and
14231   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14232   # libtool to hard-code these into programs
14233   ;;
14234
14235 cygwin* | mingw* | pw32* | cegcc*)
14236   version_type=windows
14237   shrext_cmds=".dll"
14238   need_version=no
14239   need_lib_prefix=no
14240
14241   case $GCC,$host_os in
14242   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14243     library_names_spec='$libname.dll.a'
14244     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14245     postinstall_cmds='base_file=`basename \${file}`~
14246       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14247       dldir=$destdir/`dirname \$dlpath`~
14248       test -d \$dldir || mkdir -p \$dldir~
14249       $install_prog $dir/$dlname \$dldir/$dlname~
14250       chmod a+x \$dldir/$dlname~
14251       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14252         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14253       fi'
14254     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14255       dlpath=$dir/\$dldll~
14256        $RM \$dlpath'
14257     shlibpath_overrides_runpath=yes
14258
14259     case $host_os in
14260     cygwin*)
14261       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14262       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14263
14264       ;;
14265     mingw* | cegcc*)
14266       # MinGW DLLs use traditional 'lib' prefix
14267       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14268       ;;
14269     pw32*)
14270       # pw32 DLLs use 'pw' prefix rather than 'lib'
14271       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14272       ;;
14273     esac
14274     ;;
14275
14276   *)
14277     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14278     ;;
14279   esac
14280   dynamic_linker='Win32 ld.exe'
14281   # FIXME: first we should search . and the directory the executable is in
14282   shlibpath_var=PATH
14283   ;;
14284
14285 darwin* | rhapsody*)
14286   dynamic_linker="$host_os dyld"
14287   version_type=darwin
14288   need_lib_prefix=no
14289   need_version=no
14290   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14291   soname_spec='${libname}${release}${major}$shared_ext'
14292   shlibpath_overrides_runpath=yes
14293   shlibpath_var=DYLD_LIBRARY_PATH
14294   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14295
14296   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14297   ;;
14298
14299 dgux*)
14300   version_type=linux
14301   need_lib_prefix=no
14302   need_version=no
14303   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14304   soname_spec='${libname}${release}${shared_ext}$major'
14305   shlibpath_var=LD_LIBRARY_PATH
14306   ;;
14307
14308 freebsd* | dragonfly*)
14309   # DragonFly does not have aout.  When/if they implement a new
14310   # versioning mechanism, adjust this.
14311   if test -x /usr/bin/objformat; then
14312     objformat=`/usr/bin/objformat`
14313   else
14314     case $host_os in
14315     freebsd[23].*) objformat=aout ;;
14316     *) objformat=elf ;;
14317     esac
14318   fi
14319   version_type=freebsd-$objformat
14320   case $version_type in
14321     freebsd-elf*)
14322       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14323       need_version=no
14324       need_lib_prefix=no
14325       ;;
14326     freebsd-*)
14327       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14328       need_version=yes
14329       ;;
14330   esac
14331   shlibpath_var=LD_LIBRARY_PATH
14332   case $host_os in
14333   freebsd2.*)
14334     shlibpath_overrides_runpath=yes
14335     ;;
14336   freebsd3.[01]* | freebsdelf3.[01]*)
14337     shlibpath_overrides_runpath=yes
14338     hardcode_into_libs=yes
14339     ;;
14340   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14341   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14342     shlibpath_overrides_runpath=no
14343     hardcode_into_libs=yes
14344     ;;
14345   *) # from 4.6 on, and DragonFly
14346     shlibpath_overrides_runpath=yes
14347     hardcode_into_libs=yes
14348     ;;
14349   esac
14350   ;;
14351
14352 gnu*)
14353   version_type=linux
14354   need_lib_prefix=no
14355   need_version=no
14356   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14357   soname_spec='${libname}${release}${shared_ext}$major'
14358   shlibpath_var=LD_LIBRARY_PATH
14359   hardcode_into_libs=yes
14360   ;;
14361
14362 haiku*)
14363   version_type=linux
14364   need_lib_prefix=no
14365   need_version=no
14366   dynamic_linker="$host_os runtime_loader"
14367   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14368   soname_spec='${libname}${release}${shared_ext}$major'
14369   shlibpath_var=LIBRARY_PATH
14370   shlibpath_overrides_runpath=yes
14371   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14372   hardcode_into_libs=yes
14373   ;;
14374
14375 hpux9* | hpux10* | hpux11*)
14376   # Give a soname corresponding to the major version so that dld.sl refuses to
14377   # link against other versions.
14378   version_type=sunos
14379   need_lib_prefix=no
14380   need_version=no
14381   case $host_cpu in
14382   ia64*)
14383     shrext_cmds='.so'
14384     hardcode_into_libs=yes
14385     dynamic_linker="$host_os dld.so"
14386     shlibpath_var=LD_LIBRARY_PATH
14387     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14388     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14389     soname_spec='${libname}${release}${shared_ext}$major'
14390     if test "X$HPUX_IA64_MODE" = X32; then
14391       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14392     else
14393       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14394     fi
14395     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14396     ;;
14397   hppa*64*)
14398     shrext_cmds='.sl'
14399     hardcode_into_libs=yes
14400     dynamic_linker="$host_os dld.sl"
14401     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14402     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14403     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14404     soname_spec='${libname}${release}${shared_ext}$major'
14405     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14406     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14407     ;;
14408   *)
14409     shrext_cmds='.sl'
14410     dynamic_linker="$host_os dld.sl"
14411     shlibpath_var=SHLIB_PATH
14412     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14413     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14414     soname_spec='${libname}${release}${shared_ext}$major'
14415     ;;
14416   esac
14417   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14418   postinstall_cmds='chmod 555 $lib'
14419   # or fails outright, so override atomically:
14420   install_override_mode=555
14421   ;;
14422
14423 interix[3-9]*)
14424   version_type=linux
14425   need_lib_prefix=no
14426   need_version=no
14427   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14428   soname_spec='${libname}${release}${shared_ext}$major'
14429   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14430   shlibpath_var=LD_LIBRARY_PATH
14431   shlibpath_overrides_runpath=no
14432   hardcode_into_libs=yes
14433   ;;
14434
14435 irix5* | irix6* | nonstopux*)
14436   case $host_os in
14437     nonstopux*) version_type=nonstopux ;;
14438     *)
14439         if test "$lt_cv_prog_gnu_ld" = yes; then
14440                 version_type=linux
14441         else
14442                 version_type=irix
14443         fi ;;
14444   esac
14445   need_lib_prefix=no
14446   need_version=no
14447   soname_spec='${libname}${release}${shared_ext}$major'
14448   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14449   case $host_os in
14450   irix5* | nonstopux*)
14451     libsuff= shlibsuff=
14452     ;;
14453   *)
14454     case $LD in # libtool.m4 will add one of these switches to LD
14455     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14456       libsuff= shlibsuff= libmagic=32-bit;;
14457     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14458       libsuff=32 shlibsuff=N32 libmagic=N32;;
14459     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14460       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14461     *) libsuff= shlibsuff= libmagic=never-match;;
14462     esac
14463     ;;
14464   esac
14465   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14466   shlibpath_overrides_runpath=no
14467   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14468   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14469   hardcode_into_libs=yes
14470   ;;
14471
14472 # No shared lib support for Linux oldld, aout, or coff.
14473 linux*oldld* | linux*aout* | linux*coff*)
14474   dynamic_linker=no
14475   ;;
14476
14477 # This must be Linux ELF.
14478 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14479   version_type=linux
14480   need_lib_prefix=no
14481   need_version=no
14482   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14483   soname_spec='${libname}${release}${shared_ext}$major'
14484   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14485   shlibpath_var=LD_LIBRARY_PATH
14486   shlibpath_overrides_runpath=no
14487
14488   # Some binutils ld are patched to set DT_RUNPATH
14489   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14490   $as_echo_n "(cached) " >&6
14491 else
14492   lt_cv_shlibpath_overrides_runpath=no
14493     save_LDFLAGS=$LDFLAGS
14494     save_libdir=$libdir
14495     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14496          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14497     if test x$gcc_no_link = xyes; then
14498   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14499 fi
14500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14501 /* end confdefs.h.  */
14502
14503 int
14504 main ()
14505 {
14506
14507   ;
14508   return 0;
14509 }
14510 _ACEOF
14511 if ac_fn_cxx_try_link "$LINENO"; then :
14512   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14513   lt_cv_shlibpath_overrides_runpath=yes
14514 fi
14515 fi
14516 rm -f core conftest.err conftest.$ac_objext \
14517     conftest$ac_exeext conftest.$ac_ext
14518     LDFLAGS=$save_LDFLAGS
14519     libdir=$save_libdir
14520
14521 fi
14522
14523   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14524
14525   # This implies no fast_install, which is unacceptable.
14526   # Some rework will be needed to allow for fast_install
14527   # before this can be enabled.
14528   hardcode_into_libs=yes
14529
14530   # Append ld.so.conf contents to the search path
14531   if test -f /etc/ld.so.conf; then
14532     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' ' '`
14533     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14534   fi
14535
14536   # We used to test for /lib/ld.so.1 and disable shared libraries on
14537   # powerpc, because MkLinux only supported shared libraries with the
14538   # GNU dynamic linker.  Since this was broken with cross compilers,
14539   # most powerpc-linux boxes support dynamic linking these days and
14540   # people can always --disable-shared, the test was removed, and we
14541   # assume the GNU/Linux dynamic linker is in use.
14542   dynamic_linker='GNU/Linux ld.so'
14543   ;;
14544
14545 netbsd*)
14546   version_type=sunos
14547   need_lib_prefix=no
14548   need_version=no
14549   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14550     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14551     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14552     dynamic_linker='NetBSD (a.out) ld.so'
14553   else
14554     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14555     soname_spec='${libname}${release}${shared_ext}$major'
14556     dynamic_linker='NetBSD ld.elf_so'
14557   fi
14558   shlibpath_var=LD_LIBRARY_PATH
14559   shlibpath_overrides_runpath=yes
14560   hardcode_into_libs=yes
14561   ;;
14562
14563 newsos6)
14564   version_type=linux
14565   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14566   shlibpath_var=LD_LIBRARY_PATH
14567   shlibpath_overrides_runpath=yes
14568   ;;
14569
14570 *nto* | *qnx*)
14571   version_type=qnx
14572   need_lib_prefix=no
14573   need_version=no
14574   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14575   soname_spec='${libname}${release}${shared_ext}$major'
14576   shlibpath_var=LD_LIBRARY_PATH
14577   shlibpath_overrides_runpath=no
14578   hardcode_into_libs=yes
14579   dynamic_linker='ldqnx.so'
14580   ;;
14581
14582 openbsd*)
14583   version_type=sunos
14584   sys_lib_dlsearch_path_spec="/usr/lib"
14585   need_lib_prefix=no
14586   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14587   case $host_os in
14588     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14589     *)                          need_version=no  ;;
14590   esac
14591   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14592   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14593   shlibpath_var=LD_LIBRARY_PATH
14594   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14595     case $host_os in
14596       openbsd2.[89] | openbsd2.[89].*)
14597         shlibpath_overrides_runpath=no
14598         ;;
14599       *)
14600         shlibpath_overrides_runpath=yes
14601         ;;
14602       esac
14603   else
14604     shlibpath_overrides_runpath=yes
14605   fi
14606   ;;
14607
14608 os2*)
14609   libname_spec='$name'
14610   shrext_cmds=".dll"
14611   need_lib_prefix=no
14612   library_names_spec='$libname${shared_ext} $libname.a'
14613   dynamic_linker='OS/2 ld.exe'
14614   shlibpath_var=LIBPATH
14615   ;;
14616
14617 osf3* | osf4* | osf5*)
14618   version_type=osf
14619   need_lib_prefix=no
14620   need_version=no
14621   soname_spec='${libname}${release}${shared_ext}$major'
14622   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14623   shlibpath_var=LD_LIBRARY_PATH
14624   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14625   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14626   ;;
14627
14628 rdos*)
14629   dynamic_linker=no
14630   ;;
14631
14632 solaris*)
14633   version_type=linux
14634   need_lib_prefix=no
14635   need_version=no
14636   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14637   soname_spec='${libname}${release}${shared_ext}$major'
14638   shlibpath_var=LD_LIBRARY_PATH
14639   shlibpath_overrides_runpath=yes
14640   hardcode_into_libs=yes
14641   # ldd complains unless libraries are executable
14642   postinstall_cmds='chmod +x $lib'
14643   ;;
14644
14645 sunos4*)
14646   version_type=sunos
14647   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14648   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14649   shlibpath_var=LD_LIBRARY_PATH
14650   shlibpath_overrides_runpath=yes
14651   if test "$with_gnu_ld" = yes; then
14652     need_lib_prefix=no
14653   fi
14654   need_version=yes
14655   ;;
14656
14657 sysv4 | sysv4.3*)
14658   version_type=linux
14659   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14660   soname_spec='${libname}${release}${shared_ext}$major'
14661   shlibpath_var=LD_LIBRARY_PATH
14662   case $host_vendor in
14663     sni)
14664       shlibpath_overrides_runpath=no
14665       need_lib_prefix=no
14666       runpath_var=LD_RUN_PATH
14667       ;;
14668     siemens)
14669       need_lib_prefix=no
14670       ;;
14671     motorola)
14672       need_lib_prefix=no
14673       need_version=no
14674       shlibpath_overrides_runpath=no
14675       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14676       ;;
14677   esac
14678   ;;
14679
14680 sysv4*MP*)
14681   if test -d /usr/nec ;then
14682     version_type=linux
14683     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14684     soname_spec='$libname${shared_ext}.$major'
14685     shlibpath_var=LD_LIBRARY_PATH
14686   fi
14687   ;;
14688
14689 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14690   version_type=freebsd-elf
14691   need_lib_prefix=no
14692   need_version=no
14693   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14694   soname_spec='${libname}${release}${shared_ext}$major'
14695   shlibpath_var=LD_LIBRARY_PATH
14696   shlibpath_overrides_runpath=yes
14697   hardcode_into_libs=yes
14698   if test "$with_gnu_ld" = yes; then
14699     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14700   else
14701     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14702     case $host_os in
14703       sco3.2v5*)
14704         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14705         ;;
14706     esac
14707   fi
14708   sys_lib_dlsearch_path_spec='/usr/lib'
14709   ;;
14710
14711 tpf*)
14712   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14713   version_type=linux
14714   need_lib_prefix=no
14715   need_version=no
14716   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14717   shlibpath_var=LD_LIBRARY_PATH
14718   shlibpath_overrides_runpath=no
14719   hardcode_into_libs=yes
14720   ;;
14721
14722 uts4*)
14723   version_type=linux
14724   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14725   soname_spec='${libname}${release}${shared_ext}$major'
14726   shlibpath_var=LD_LIBRARY_PATH
14727   ;;
14728
14729 *)
14730   dynamic_linker=no
14731   ;;
14732 esac
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14734 $as_echo "$dynamic_linker" >&6; }
14735 test "$dynamic_linker" = no && can_build_shared=no
14736
14737 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14738 if test "$GCC" = yes; then
14739   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14740 fi
14741
14742 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14743   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14744 fi
14745 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14746   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14747 fi
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
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14787 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14788 hardcode_action_CXX=
14789 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14790    test -n "$runpath_var_CXX" ||
14791    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14792
14793   # We can hardcode non-existent directories.
14794   if test "$hardcode_direct_CXX" != no &&
14795      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14796      # have to relink, otherwise we might link with an installed library
14797      # when we should be linking with a yet-to-be-installed one
14798      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14799      test "$hardcode_minus_L_CXX" != no; then
14800     # Linking always hardcodes the temporary library directory.
14801     hardcode_action_CXX=relink
14802   else
14803     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14804     hardcode_action_CXX=immediate
14805   fi
14806 else
14807   # We cannot hardcode anything, or else we can only hardcode existing
14808   # directories.
14809   hardcode_action_CXX=unsupported
14810 fi
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14812 $as_echo "$hardcode_action_CXX" >&6; }
14813
14814 if test "$hardcode_action_CXX" = relink ||
14815    test "$inherit_rpath_CXX" = yes; then
14816   # Fast installation is not supported
14817   enable_fast_install=no
14818 elif test "$shlibpath_overrides_runpath" = yes ||
14819      test "$enable_shared" = no; then
14820   # Fast installation is not necessary
14821   enable_fast_install=needless
14822 fi
14823
14824
14825
14826
14827
14828
14829
14830   fi # test -n "$compiler"
14831
14832   CC=$lt_save_CC
14833   LDCXX=$LD
14834   LD=$lt_save_LD
14835   GCC=$lt_save_GCC
14836   with_gnu_ld=$lt_save_with_gnu_ld
14837   lt_cv_path_LDCXX=$lt_cv_path_LD
14838   lt_cv_path_LD=$lt_save_path_LD
14839   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14840   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14841 fi # test "$_lt_caught_CXX_error" != yes
14842
14843 ac_ext=c
14844 ac_cpp='$CPP $CPPFLAGS'
14845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861         ac_config_commands="$ac_config_commands libtool"
14862
14863
14864
14865
14866 # Only expand once:
14867
14868
14869
14870
14871
14872 case $host in
14873   *-cygwin* | *-mingw*)
14874     # 'host' will be top-level target in the case of a target lib,
14875     # we must compare to with_cross_host to decide if this is a native
14876     # or cross-compiler and select where to install dlls appropriately.
14877     if test -n "$with_cross_host" &&
14878         test x"$with_cross_host" != x"no"; then
14879       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14880     else
14881       lt_host_flags='-no-undefined -bindir "$(bindir)"';
14882     fi
14883     ;;
14884   *)
14885     lt_host_flags=
14886     ;;
14887 esac
14888
14889
14890
14891
14892
14893
14894 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14895 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14896
14897 # Possibly disable most of the library.
14898 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14899 ## than just ignoring the results.  Faster /and/ more correct, win win.
14900
14901   # Check whether --enable-hosted-libstdcxx was given.
14902 if test "${enable_hosted_libstdcxx+set}" = set; then :
14903   enableval=$enable_hosted_libstdcxx;
14904 else
14905   case "$host" in
14906         arm*-*-symbianelf*)
14907             enable_hosted_libstdcxx=no
14908             ;;
14909         *)
14910             enable_hosted_libstdcxx=yes
14911             ;;
14912      esac
14913 fi
14914
14915   if test "$enable_hosted_libstdcxx" = no; then
14916     { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14917 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14918     is_hosted=no
14919     hosted_define=0
14920     enable_abi_check=no
14921     enable_libstdcxx_pch=no
14922   else
14923     is_hosted=yes
14924     hosted_define=1
14925   fi
14926
14927
14928 cat >>confdefs.h <<_ACEOF
14929 #define _GLIBCXX_HOSTED $hosted_define
14930 _ACEOF
14931
14932
14933
14934 # Enable compiler support that doesn't require linking.
14935
14936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14937 $as_echo_n "checking for exception model to use... " >&6; }
14938
14939   ac_ext=cpp
14940 ac_cpp='$CXXCPP $CPPFLAGS'
14941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14944
14945    # Check whether --enable-sjlj-exceptions was given.
14946 if test "${enable_sjlj_exceptions+set}" = set; then :
14947   enableval=$enable_sjlj_exceptions;
14948       case "$enableval" in
14949        yes|no|auto) ;;
14950        *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14951                         esac
14952
14953 else
14954   enable_sjlj_exceptions=auto
14955 fi
14956
14957
14958
14959   if test $enable_sjlj_exceptions = auto; then
14960     # Botheration.  Now we've got to detect the exception model.  Link tests
14961     # against libgcc.a are problematic since we've not been given proper -L
14962     # bits for single-tree newlib and libgloss.
14963     #
14964     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
14965     cat > conftest.$ac_ext << EOF
14966 #line 14966 "configure"
14967 struct S { ~S(); };
14968 void bar();
14969 void foo()
14970 {
14971   S s;
14972   bar();
14973 }
14974 EOF
14975     old_CXXFLAGS="$CXXFLAGS"
14976     CXXFLAGS=-S
14977     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14978   (eval $ac_compile) 2>&5
14979   ac_status=$?
14980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14981   test $ac_status = 0; }; then
14982       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14983         enable_sjlj_exceptions=yes
14984       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14985         enable_sjlj_exceptions=no
14986       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14987         enable_sjlj_exceptions=no
14988       fi
14989     fi
14990     CXXFLAGS="$old_CXXFLAGS"
14991     rm -f conftest*
14992   fi
14993
14994   # This is a tad weird, for hysterical raisins.  We have to map
14995   # enable/disable to two different models.
14996   case $enable_sjlj_exceptions in
14997     yes)
14998
14999 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15000
15001       ac_exception_model_name=sjlj
15002       ;;
15003     no)
15004       ac_exception_model_name="call frame"
15005       ;;
15006     *)
15007       as_fn_error "unable to detect exception model" "$LINENO" 5
15008       ;;
15009   esac
15010  ac_ext=c
15011 ac_cpp='$CPP $CPPFLAGS'
15012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15015
15016  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15017 $as_echo "$ac_exception_model_name" >&6; }
15018
15019
15020    # Check whether --enable-libstdcxx-pch was given.
15021 if test "${enable_libstdcxx_pch+set}" = set; then :
15022   enableval=$enable_libstdcxx_pch;
15023       case "$enableval" in
15024        yes|no) ;;
15025        *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15026       esac
15027
15028 else
15029   enable_libstdcxx_pch=$is_hosted
15030 fi
15031
15032
15033   if test $enable_libstdcxx_pch = yes; then
15034     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15035 $as_echo_n "checking for compiler with PCH support... " >&6; }
15036 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15037   $as_echo_n "(cached) " >&6
15038 else
15039   ac_save_CXXFLAGS="$CXXFLAGS"
15040        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15041
15042        ac_ext=cpp
15043 ac_cpp='$CXXCPP $CPPFLAGS'
15044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15047
15048        echo '#include <math.h>' > conftest.h
15049        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15050                           -o conftest.h.gch 1>&5 2>&1 &&
15051                 echo '#error "pch failed"' > conftest.h &&
15052           echo '#include "conftest.h"' > conftest.cc &&
15053                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15054        then
15055          glibcxx_cv_prog_CXX_pch=yes
15056        else
15057          glibcxx_cv_prog_CXX_pch=no
15058        fi
15059        rm -f conftest*
15060        CXXFLAGS=$ac_save_CXXFLAGS
15061        ac_ext=c
15062 ac_cpp='$CPP $CPPFLAGS'
15063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15066
15067
15068 fi
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15070 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15071     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15072   fi
15073
15074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15075 $as_echo_n "checking for enabled PCH... " >&6; }
15076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15077 $as_echo "$enable_libstdcxx_pch" >&6; }
15078
15079
15080   if test $enable_libstdcxx_pch = yes; then
15081     glibcxx_PCHFLAGS="-include bits/stdc++.h"
15082   else
15083     glibcxx_PCHFLAGS=""
15084   fi
15085
15086
15087
15088   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15089 $as_echo_n "checking for thread model used by GCC... " >&6; }
15090   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15092 $as_echo "$target_thread_file" >&6; }
15093
15094
15095
15096   ac_ext=cpp
15097 ac_cpp='$CXXCPP $CPPFLAGS'
15098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15101
15102   old_CXXFLAGS="$CXXFLAGS"
15103
15104   # Do link tests if possible, instead asm tests, limited to some platforms
15105   # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15106   # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15107   atomic_builtins_link_tests=no
15108   if test x$gcc_no_link != xyes; then
15109     # Can do link tests. Limit to some tested platforms
15110     case "$host" in
15111       *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15112         atomic_builtins_link_tests=yes
15113         ;;
15114     esac
15115   fi
15116
15117   if test x$atomic_builtins_link_tests = xyes; then
15118
15119   # Do link tests.
15120
15121   CXXFLAGS="$CXXFLAGS -fno-exceptions"
15122
15123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15124 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15125   if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15126   $as_echo_n "(cached) " >&6
15127 else
15128
15129     if test x$gcc_no_link = xyes; then
15130   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15131 fi
15132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15133 /* end confdefs.h.  */
15134
15135 int
15136 main ()
15137 {
15138 typedef bool atomic_type;
15139        atomic_type c1;
15140        atomic_type c2;
15141        atomic_type c3(0);
15142        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15143        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15144                                    __ATOMIC_RELAXED);
15145        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15146        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15147
15148   ;
15149   return 0;
15150 }
15151 _ACEOF
15152 if ac_fn_cxx_try_link "$LINENO"; then :
15153   glibcxx_cv_atomic_bool=yes
15154 else
15155   glibcxx_cv_atomic_bool=no
15156 fi
15157 rm -f core conftest.err conftest.$ac_objext \
15158     conftest$ac_exeext conftest.$ac_ext
15159
15160 fi
15161
15162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15163 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15164
15165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15166 $as_echo_n "checking for atomic builtins for short... " >&6; }
15167   if test "${glibcxx_cv_atomic_short+set}" = set; then :
15168   $as_echo_n "(cached) " >&6
15169 else
15170
15171     if test x$gcc_no_link = xyes; then
15172   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15173 fi
15174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15175 /* end confdefs.h.  */
15176
15177 int
15178 main ()
15179 {
15180 typedef short atomic_type;
15181        atomic_type c1;
15182        atomic_type c2;
15183        atomic_type c3(0);
15184        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15185        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15186                                    __ATOMIC_RELAXED);
15187        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15188        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15189
15190   ;
15191   return 0;
15192 }
15193 _ACEOF
15194 if ac_fn_cxx_try_link "$LINENO"; then :
15195   glibcxx_cv_atomic_short=yes
15196 else
15197   glibcxx_cv_atomic_short=no
15198 fi
15199 rm -f core conftest.err conftest.$ac_objext \
15200     conftest$ac_exeext conftest.$ac_ext
15201
15202 fi
15203
15204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15205 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15206
15207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15208 $as_echo_n "checking for atomic builtins for int... " >&6; }
15209   if test "${glibcxx_cv_atomic_int+set}" = set; then :
15210   $as_echo_n "(cached) " >&6
15211 else
15212
15213     if test x$gcc_no_link = xyes; then
15214   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15215 fi
15216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15217 /* end confdefs.h.  */
15218
15219 int
15220 main ()
15221 {
15222 typedef int atomic_type;
15223        atomic_type c1;
15224        atomic_type c2;
15225        atomic_type c3(0);
15226        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15227        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15228                                    __ATOMIC_RELAXED);
15229        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15230        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15231
15232   ;
15233   return 0;
15234 }
15235 _ACEOF
15236 if ac_fn_cxx_try_link "$LINENO"; then :
15237   glibcxx_cv_atomic_int=yes
15238 else
15239   glibcxx_cv_atomic_int=no
15240 fi
15241 rm -f core conftest.err conftest.$ac_objext \
15242     conftest$ac_exeext conftest.$ac_ext
15243
15244 fi
15245
15246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15247 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15248
15249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15250 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15251   if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15252   $as_echo_n "(cached) " >&6
15253 else
15254
15255     if test x$gcc_no_link = xyes; then
15256   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15257 fi
15258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15259 /* end confdefs.h.  */
15260
15261 int
15262 main ()
15263 {
15264 typedef long long atomic_type;
15265        atomic_type c1;
15266        atomic_type c2;
15267        atomic_type c3(0);
15268        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15269        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15270                                    __ATOMIC_RELAXED);
15271        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15272        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15273
15274   ;
15275   return 0;
15276 }
15277 _ACEOF
15278 if ac_fn_cxx_try_link "$LINENO"; then :
15279   glibcxx_cv_atomic_long_long=yes
15280 else
15281   glibcxx_cv_atomic_long_long=no
15282 fi
15283 rm -f core conftest.err conftest.$ac_objext \
15284     conftest$ac_exeext conftest.$ac_ext
15285
15286 fi
15287
15288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15289 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15290
15291   else
15292
15293   # Do asm tests.
15294
15295   # Compile unoptimized.
15296   CXXFLAGS='-O0 -S'
15297
15298   # Fake what AC_TRY_COMPILE does.
15299
15300     cat > conftest.$ac_ext << EOF
15301 #line 15301 "configure"
15302 int main()
15303 {
15304   typedef bool atomic_type;
15305   atomic_type c1;
15306   atomic_type c2;
15307   atomic_type c3(0);
15308   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15309   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15310                               __ATOMIC_RELAXED);
15311   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15312   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15313
15314   return 0;
15315 }
15316 EOF
15317
15318     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15319 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15320     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15321   (eval $ac_compile) 2>&5
15322   ac_status=$?
15323   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15324   test $ac_status = 0; }; then
15325       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15326         glibcxx_cv_atomic_bool=no
15327       else
15328         glibcxx_cv_atomic_bool=yes
15329       fi
15330     fi
15331     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15332 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15333     rm -f conftest*
15334
15335     cat > conftest.$ac_ext << EOF
15336 #line 15336 "configure"
15337 int main()
15338 {
15339   typedef short atomic_type;
15340   atomic_type c1;
15341   atomic_type c2;
15342   atomic_type c3(0);
15343   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15344   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15345                               __ATOMIC_RELAXED);
15346   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15347   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15348
15349   return 0;
15350 }
15351 EOF
15352
15353     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15354 $as_echo_n "checking for atomic builtins for short... " >&6; }
15355     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15356   (eval $ac_compile) 2>&5
15357   ac_status=$?
15358   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15359   test $ac_status = 0; }; then
15360       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15361         glibcxx_cv_atomic_short=no
15362       else
15363         glibcxx_cv_atomic_short=yes
15364       fi
15365     fi
15366     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15367 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15368     rm -f conftest*
15369
15370     cat > conftest.$ac_ext << EOF
15371 #line 15371 "configure"
15372 int main()
15373 {
15374   // NB: _Atomic_word not necessarily int.
15375   typedef int atomic_type;
15376   atomic_type c1;
15377   atomic_type c2;
15378   atomic_type c3(0);
15379   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15380   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15381                               __ATOMIC_RELAXED);
15382   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15383   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15384
15385   return 0;
15386 }
15387 EOF
15388
15389     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15390 $as_echo_n "checking for atomic builtins for int... " >&6; }
15391     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15392   (eval $ac_compile) 2>&5
15393   ac_status=$?
15394   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15395   test $ac_status = 0; }; then
15396       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15397         glibcxx_cv_atomic_int=no
15398       else
15399         glibcxx_cv_atomic_int=yes
15400       fi
15401     fi
15402     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15403 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15404     rm -f conftest*
15405
15406     cat > conftest.$ac_ext << EOF
15407 #line 15407 "configure"
15408 int main()
15409 {
15410   typedef long long atomic_type;
15411   atomic_type c1;
15412   atomic_type c2;
15413   atomic_type c3(0);
15414   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15415   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15416                               __ATOMIC_RELAXED);
15417   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15418   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15419
15420   return 0;
15421 }
15422 EOF
15423
15424     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15425 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15426     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15427   (eval $ac_compile) 2>&5
15428   ac_status=$?
15429   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15430   test $ac_status = 0; }; then
15431       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15432         glibcxx_cv_atomic_long_long=no
15433       else
15434         glibcxx_cv_atomic_long_long=yes
15435       fi
15436     fi
15437     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15438 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15439     rm -f conftest*
15440
15441   fi
15442
15443   CXXFLAGS="$old_CXXFLAGS"
15444   ac_ext=c
15445 ac_cpp='$CPP $CPPFLAGS'
15446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15449
15450
15451   # Set atomicity_dir to builtins if all of above tests pass.
15452   if test $glibcxx_cv_atomic_bool = yes \
15453      && test $glibcxx_cv_atomic_short = yes \
15454      && test $glibcxx_cv_atomic_int = yes \
15455      && test $glibcxx_cv_atomic_long_long = yes ; then
15456
15457 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15458
15459     atomicity_dir=cpu/generic/atomicity_builtins
15460   fi
15461
15462   # If still generic, set to mutex.
15463   if test $atomicity_dir = "cpu/generic" ; then
15464     atomicity_dir=cpu/generic/atomicity_mutex
15465     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15466 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15467       if test "x$target_thread_file" = xsingle; then
15468         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15469 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15470         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15471 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15472       else
15473         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15474 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15475         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15476 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15477       fi
15478   fi
15479
15480
15481
15482
15483   # Fake what AC_TRY_COMPILE does, without linking as this is
15484   # unnecessary for this test.
15485
15486     cat > conftest.$ac_ext << EOF
15487 #line 15487 "configure"
15488 int main()
15489 {
15490   _Decimal32 d1;
15491   _Decimal64 d2;
15492   _Decimal128 d3;
15493   return 0;
15494 }
15495 EOF
15496
15497     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15498 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15499     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15500   (eval $ac_compile) 2>&5
15501   ac_status=$?
15502   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15503   test $ac_status = 0; }; then
15504
15505 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15506
15507       enable_dfp=yes
15508     else
15509       enable_dfp=no
15510     fi
15511     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15512 $as_echo "$enable_dfp" >&6; }
15513     rm -f conftest*
15514
15515
15516
15517
15518   ac_ext=cpp
15519 ac_cpp='$CXXCPP $CPPFLAGS'
15520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15523
15524
15525   # Fake what AC_TRY_COMPILE does, without linking as this is
15526   # unnecessary for this test.
15527
15528     cat > conftest.$ac_ext << EOF
15529 #line 15529 "configure"
15530 template<typename T1, typename T2>
15531   struct same
15532   { typedef T2 type; };
15533
15534 template<typename T>
15535   struct same<T, T>;
15536
15537 int main()
15538 {
15539   typename same<long, __int128>::type                i1;
15540   typename same<long long, __int128>::type           i2;
15541 }
15542 EOF
15543
15544     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15545 $as_echo_n "checking for __int128... " >&6; }
15546     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15547   (eval $ac_compile) 2>&5
15548   ac_status=$?
15549   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15550   test $ac_status = 0; }; then
15551
15552 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15553
15554       enable_int128=yes
15555     else
15556       enable_int128=no
15557     fi
15558     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15559 $as_echo "$enable_int128" >&6; }
15560     rm -f conftest*
15561
15562     cat > conftest.$ac_ext << EOF
15563 #line 15563 "configure"
15564 template<typename T1, typename T2>
15565   struct same
15566   { typedef T2 type; };
15567
15568 template<typename T>
15569   struct same<T, T>;
15570
15571 int main()
15572 {
15573   typename same<double, __float128>::type      f1;
15574   typename same<long double, __float128>::type f2;
15575 }
15576 EOF
15577
15578     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15579 $as_echo_n "checking for __float128... " >&6; }
15580     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15581   (eval $ac_compile) 2>&5
15582   ac_status=$?
15583   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15584   test $ac_status = 0; }; then
15585
15586 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15587
15588       enable_float128=yes
15589     else
15590       enable_float128=no
15591     fi
15592     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15593 $as_echo "$enable_float128" >&6; }
15594     rm -f conftest*
15595
15596   ac_ext=c
15597 ac_cpp='$CPP $CPPFLAGS'
15598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15601
15602
15603
15604 # Checks for compiler support that doesn't require linking.
15605
15606   # All these tests are for C++; save the language and the compiler flags.
15607   # The CXXFLAGS thing is suspicious, but based on similar bits previously
15608   # found in GLIBCXX_CONFIGURE.
15609
15610   ac_ext=cpp
15611 ac_cpp='$CXXCPP $CPPFLAGS'
15612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15615
15616   ac_test_CXXFLAGS="${CXXFLAGS+set}"
15617   ac_save_CXXFLAGS="$CXXFLAGS"
15618
15619   # Check for maintainer-mode bits.
15620   if test x"$USE_MAINTAINER_MODE" = xno; then
15621     WERROR=''
15622   else
15623     WERROR='-Werror'
15624   fi
15625
15626   # Check for -ffunction-sections -fdata-sections
15627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15628 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15629   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15631 /* end confdefs.h.  */
15632 int foo; void bar() { };
15633 int
15634 main ()
15635 {
15636
15637   ;
15638   return 0;
15639 }
15640 _ACEOF
15641 if ac_fn_cxx_try_compile "$LINENO"; then :
15642   ac_fdsections=yes
15643 else
15644   ac_fdsections=no
15645 fi
15646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15647   if test "$ac_test_CXXFLAGS" = set; then
15648     CXXFLAGS="$ac_save_CXXFLAGS"
15649   else
15650     # this is the suspicious part
15651     CXXFLAGS=''
15652   fi
15653   if test x"$ac_fdsections" = x"yes"; then
15654     SECTION_FLAGS='-ffunction-sections -fdata-sections'
15655   fi
15656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15657 $as_echo "$ac_fdsections" >&6; }
15658
15659   ac_ext=c
15660 ac_cpp='$CPP $CPPFLAGS'
15661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15664
15665
15666
15667
15668
15669 # Enable all the variable C++ runtime options that don't require linking.
15670
15671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15672 $as_echo_n "checking for underlying I/O to use... " >&6; }
15673    # Check whether --enable-cstdio was given.
15674 if test "${enable_cstdio+set}" = set; then :
15675   enableval=$enable_cstdio;
15676       case "$enableval" in
15677        stdio) ;;
15678        *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15679                         esac
15680
15681 else
15682   enable_cstdio=stdio
15683 fi
15684
15685
15686
15687   # Now that libio has been removed, you can have any color you want as long
15688   # as it's black.  This is one big no-op until other packages are added, but
15689   # showing the framework never hurts.
15690   case ${enable_cstdio} in
15691     stdio)
15692       CSTDIO_H=config/io/c_io_stdio.h
15693       BASIC_FILE_H=config/io/basic_file_stdio.h
15694       BASIC_FILE_CC=config/io/basic_file_stdio.cc
15695       { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15696 $as_echo "stdio" >&6; }
15697       ;;
15698   esac
15699
15700
15701
15702
15703
15704
15705    # Check whether --enable-clocale was given.
15706 if test "${enable_clocale+set}" = set; then :
15707   enableval=$enable_clocale;
15708       case "$enableval" in
15709        generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15710        *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15711                         esac
15712
15713 else
15714   enable_clocale=auto
15715 fi
15716
15717
15718
15719   # Deal with gettext issues.  Default to not using it (=no) until we detect
15720   # support for it later.  Let the user turn it off via --e/d, but let that
15721   # default to on for easier handling.
15722   USE_NLS=no
15723   # Check whether --enable-nls was given.
15724 if test "${enable_nls+set}" = set; then :
15725   enableval=$enable_nls;
15726 else
15727   enable_nls=yes
15728 fi
15729
15730
15731   # Either a known package, or "auto"
15732   if test $enable_clocale = no || test $enable_clocale = yes; then
15733      enable_clocale=auto
15734   fi
15735   enable_clocale_flag=$enable_clocale
15736
15737   # Probe for locale model to use if none specified.
15738   # Default to "generic".
15739   if test $enable_clocale_flag = auto; then
15740     case ${target_os} in
15741       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15742         enable_clocale_flag=gnu
15743         ;;
15744       darwin* | freebsd*)
15745         enable_clocale_flag=darwin
15746         ;;
15747       *)
15748         if test x"$with_newlib" = x"yes"; then
15749           enable_clocale_flag=newlib
15750         else
15751           enable_clocale_flag=generic
15752         fi
15753         ;;
15754     esac
15755   fi
15756
15757   # Sanity check model, and test for special functionality.
15758   if test $enable_clocale_flag = gnu; then
15759     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15760 /* end confdefs.h.  */
15761
15762     #include <features.h>
15763     #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15764       _GLIBCXX_ok
15765     #endif
15766
15767 _ACEOF
15768 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15769   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15770   enable_clocale_flag=gnu
15771 else
15772   enable_clocale_flag=generic
15773 fi
15774 rm -f conftest*
15775
15776
15777     # Set it to scream when it hurts.
15778     ac_save_CFLAGS="$CFLAGS"
15779     CFLAGS="-Wimplicit-function-declaration -Werror"
15780
15781     # Use strxfrm_l if available.
15782     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15783 /* end confdefs.h.  */
15784 #define _GNU_SOURCE 1
15785                     #include <string.h>
15786                     #include <locale.h>
15787 int
15788 main ()
15789 {
15790 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15791   ;
15792   return 0;
15793 }
15794 _ACEOF
15795 if ac_fn_c_try_compile "$LINENO"; then :
15796
15797 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15798
15799 fi
15800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15801
15802     # Use strerror_l if available.
15803     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15804 /* end confdefs.h.  */
15805 #define _GNU_SOURCE 1
15806                     #include <string.h>
15807                     #include <locale.h>
15808 int
15809 main ()
15810 {
15811 __locale_t loc; strerror_l(5, loc);
15812   ;
15813   return 0;
15814 }
15815 _ACEOF
15816 if ac_fn_c_try_compile "$LINENO"; then :
15817
15818 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15819
15820 fi
15821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15822
15823     CFLAGS="$ac_save_CFLAGS"
15824   fi
15825
15826   # Perhaps use strerror_r if available, and strerror_l isn't.
15827   ac_save_CFLAGS="$CFLAGS"
15828   CFLAGS="-Wimplicit-function-declaration -Werror"
15829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15830 /* end confdefs.h.  */
15831 #define _GNU_SOURCE 1
15832                   #include <string.h>
15833                   #include <locale.h>
15834 int
15835 main ()
15836 {
15837 char s[128]; strerror_r(5, s, 128);
15838   ;
15839   return 0;
15840 }
15841 _ACEOF
15842 if ac_fn_c_try_compile "$LINENO"; then :
15843
15844 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15845
15846 fi
15847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15848   CFLAGS="$ac_save_CFLAGS"
15849
15850   # Set configure bits for specified locale package
15851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15852 $as_echo_n "checking for C locale to use... " >&6; }
15853   case ${enable_clocale_flag} in
15854     generic)
15855       { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15856 $as_echo "generic" >&6; }
15857
15858       CLOCALE_H=config/locale/generic/c_locale.h
15859       CLOCALE_CC=config/locale/generic/c_locale.cc
15860       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15861       CCOLLATE_CC=config/locale/generic/collate_members.cc
15862       CCTYPE_CC=config/locale/generic/ctype_members.cc
15863       CMESSAGES_H=config/locale/generic/messages_members.h
15864       CMESSAGES_CC=config/locale/generic/messages_members.cc
15865       CMONEY_CC=config/locale/generic/monetary_members.cc
15866       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15867       CTIME_H=config/locale/generic/time_members.h
15868       CTIME_CC=config/locale/generic/time_members.cc
15869       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15870       ;;
15871     darwin)
15872       { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15873 $as_echo "darwin or freebsd" >&6; }
15874
15875       CLOCALE_H=config/locale/generic/c_locale.h
15876       CLOCALE_CC=config/locale/generic/c_locale.cc
15877       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15878       CCOLLATE_CC=config/locale/generic/collate_members.cc
15879       CCTYPE_CC=config/locale/darwin/ctype_members.cc
15880       CMESSAGES_H=config/locale/generic/messages_members.h
15881       CMESSAGES_CC=config/locale/generic/messages_members.cc
15882       CMONEY_CC=config/locale/generic/monetary_members.cc
15883       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15884       CTIME_H=config/locale/generic/time_members.h
15885       CTIME_CC=config/locale/generic/time_members.cc
15886       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15887       ;;
15888
15889     gnu)
15890       { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15891 $as_echo "gnu" >&6; }
15892
15893       # Declare intention to use gettext, and add support for specific
15894       # languages.
15895       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15896       ALL_LINGUAS="de fr"
15897
15898       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15899       # Extract the first word of "msgfmt", so it can be a program name with args.
15900 set dummy msgfmt; ac_word=$2
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15902 $as_echo_n "checking for $ac_word... " >&6; }
15903 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15904   $as_echo_n "(cached) " >&6
15905 else
15906   if test -n "$check_msgfmt"; then
15907   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15908 else
15909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15910 for as_dir in $PATH
15911 do
15912   IFS=$as_save_IFS
15913   test -z "$as_dir" && as_dir=.
15914     for ac_exec_ext in '' $ac_executable_extensions; do
15915   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15916     ac_cv_prog_check_msgfmt="yes"
15917     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15918     break 2
15919   fi
15920 done
15921   done
15922 IFS=$as_save_IFS
15923
15924   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15925 fi
15926 fi
15927 check_msgfmt=$ac_cv_prog_check_msgfmt
15928 if test -n "$check_msgfmt"; then
15929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15930 $as_echo "$check_msgfmt" >&6; }
15931 else
15932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15933 $as_echo "no" >&6; }
15934 fi
15935
15936
15937       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15938         USE_NLS=yes
15939       fi
15940       # Export the build objects.
15941       for ling in $ALL_LINGUAS; do \
15942         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15943         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15944       done
15945
15946
15947
15948       CLOCALE_H=config/locale/gnu/c_locale.h
15949       CLOCALE_CC=config/locale/gnu/c_locale.cc
15950       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15951       CCOLLATE_CC=config/locale/gnu/collate_members.cc
15952       CCTYPE_CC=config/locale/gnu/ctype_members.cc
15953       CMESSAGES_H=config/locale/gnu/messages_members.h
15954       CMESSAGES_CC=config/locale/gnu/messages_members.cc
15955       CMONEY_CC=config/locale/gnu/monetary_members.cc
15956       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15957       CTIME_H=config/locale/gnu/time_members.h
15958       CTIME_CC=config/locale/gnu/time_members.cc
15959       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15960       ;;
15961     ieee_1003.1-2001)
15962       { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15963 $as_echo "IEEE 1003.1" >&6; }
15964
15965       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15966       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15967       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15968       CCOLLATE_CC=config/locale/generic/collate_members.cc
15969       CCTYPE_CC=config/locale/generic/ctype_members.cc
15970       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15971       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15972       CMONEY_CC=config/locale/generic/monetary_members.cc
15973       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15974       CTIME_H=config/locale/generic/time_members.h
15975       CTIME_CC=config/locale/generic/time_members.cc
15976       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15977       ;;
15978     newlib)
15979       { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
15980 $as_echo "newlib" >&6; }
15981
15982       CLOCALE_H=config/locale/generic/c_locale.h
15983       CLOCALE_CC=config/locale/generic/c_locale.cc
15984       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15985       CCOLLATE_CC=config/locale/generic/collate_members.cc
15986       CCTYPE_CC=config/locale/newlib/ctype_members.cc
15987       CMESSAGES_H=config/locale/generic/messages_members.h
15988       CMESSAGES_CC=config/locale/generic/messages_members.cc
15989       CMONEY_CC=config/locale/generic/monetary_members.cc
15990       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15991       CTIME_H=config/locale/generic/time_members.h
15992       CTIME_CC=config/locale/generic/time_members.cc
15993       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15994       ;;
15995   esac
15996
15997   # This is where the testsuite looks for locale catalogs, using the
15998   # -DLOCALEDIR define during testsuite compilation.
15999   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16000
16001
16002   # A standalone libintl (e.g., GNU libintl) may be in use.
16003   if test $USE_NLS = yes; then
16004     for ac_header in libintl.h
16005 do :
16006   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16007 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16008   cat >>confdefs.h <<_ACEOF
16009 #define HAVE_LIBINTL_H 1
16010 _ACEOF
16011
16012 else
16013   USE_NLS=no
16014 fi
16015
16016 done
16017
16018     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16019 $as_echo_n "checking for library containing gettext... " >&6; }
16020 if test "${ac_cv_search_gettext+set}" = set; then :
16021   $as_echo_n "(cached) " >&6
16022 else
16023   ac_func_search_save_LIBS=$LIBS
16024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16025 /* end confdefs.h.  */
16026
16027 /* Override any GCC internal prototype to avoid an error.
16028    Use char because int might match the return type of a GCC
16029    builtin and then its argument prototype would still apply.  */
16030 #ifdef __cplusplus
16031 extern "C"
16032 #endif
16033 char gettext ();
16034 int
16035 main ()
16036 {
16037 return gettext ();
16038   ;
16039   return 0;
16040 }
16041 _ACEOF
16042 for ac_lib in '' intl; do
16043   if test -z "$ac_lib"; then
16044     ac_res="none required"
16045   else
16046     ac_res=-l$ac_lib
16047     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16048   fi
16049   if test x$gcc_no_link = xyes; then
16050   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16051 fi
16052 if ac_fn_c_try_link "$LINENO"; then :
16053   ac_cv_search_gettext=$ac_res
16054 fi
16055 rm -f core conftest.err conftest.$ac_objext \
16056     conftest$ac_exeext
16057   if test "${ac_cv_search_gettext+set}" = set; then :
16058   break
16059 fi
16060 done
16061 if test "${ac_cv_search_gettext+set}" = set; then :
16062
16063 else
16064   ac_cv_search_gettext=no
16065 fi
16066 rm conftest.$ac_ext
16067 LIBS=$ac_func_search_save_LIBS
16068 fi
16069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16070 $as_echo "$ac_cv_search_gettext" >&6; }
16071 ac_res=$ac_cv_search_gettext
16072 if test "$ac_res" != no; then :
16073   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16074
16075 else
16076   USE_NLS=no
16077 fi
16078
16079   fi
16080   if test $USE_NLS = yes; then
16081
16082 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16083
16084   fi
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16102 $as_echo_n "checking for std::allocator base class... " >&6; }
16103    # Check whether --enable-libstdcxx-allocator was given.
16104 if test "${enable_libstdcxx_allocator+set}" = set; then :
16105   enableval=$enable_libstdcxx_allocator;
16106       case "$enableval" in
16107        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16108        *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16109                         esac
16110
16111 else
16112   enable_libstdcxx_allocator=auto
16113 fi
16114
16115
16116
16117   # If they didn't use this option switch, or if they specified --enable
16118   # with no specific model, we'll have to look for one.  If they
16119   # specified --disable (???), do likewise.
16120   if test $enable_libstdcxx_allocator = no ||
16121      test $enable_libstdcxx_allocator = yes;
16122   then
16123      enable_libstdcxx_allocator=auto
16124   fi
16125
16126   # Either a known package, or "auto". Auto implies the default choice
16127   # for a particular platform.
16128   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16129
16130   # Probe for host-specific support if no specific model is specified.
16131   # Default to "new".
16132   if test $enable_libstdcxx_allocator_flag = auto; then
16133     case ${target_os} in
16134       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16135         enable_libstdcxx_allocator_flag=new
16136         ;;
16137       *)
16138         enable_libstdcxx_allocator_flag=new
16139         ;;
16140     esac
16141   fi
16142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16143 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16144
16145
16146   # Set configure bits for specified locale package
16147   case ${enable_libstdcxx_allocator_flag} in
16148     bitmap)
16149       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16150       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16151       ;;
16152     malloc)
16153       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16154       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16155       ;;
16156     mt)
16157       ALLOCATOR_H=config/allocator/mt_allocator_base.h
16158       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16159       ;;
16160     new)
16161       ALLOCATOR_H=config/allocator/new_allocator_base.h
16162       ALLOCATOR_NAME=__gnu_cxx::new_allocator
16163       ;;
16164     pool)
16165       ALLOCATOR_H=config/allocator/pool_allocator_base.h
16166       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16167       ;;
16168   esac
16169
16170
16171
16172
16173
16174    # Check whether --enable-cheaders was given.
16175 if test "${enable_cheaders+set}" = set; then :
16176   enableval=$enable_cheaders;
16177       case "$enableval" in
16178        c|c_std|c_global) ;;
16179        *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16180                         esac
16181
16182 else
16183   enable_cheaders=$c_model
16184 fi
16185
16186
16187   { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16188 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16189
16190   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16191
16192   # Allow overrides to configure.host here.
16193   if test $enable_cheaders = c_global; then
16194      c_compatibility=yes
16195   fi
16196
16197
16198
16199
16200
16201
16202
16203    # Check whether --enable-long-long was given.
16204 if test "${enable_long_long+set}" = set; then :
16205   enableval=$enable_long_long;
16206       case "$enableval" in
16207        yes|no) ;;
16208        *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16209       esac
16210
16211 else
16212   enable_long_long=yes
16213 fi
16214
16215
16216   if test $enable_long_long = yes; then
16217
16218 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16219
16220   fi
16221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16222 $as_echo_n "checking for enabled long long specializations... " >&6; }
16223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16224 $as_echo "$enable_long_long" >&6; }
16225
16226
16227    # Check whether --enable-wchar_t was given.
16228 if test "${enable_wchar_t+set}" = set; then :
16229   enableval=$enable_wchar_t;
16230       case "$enableval" in
16231        yes|no) ;;
16232        *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16233       esac
16234
16235 else
16236   enable_wchar_t=yes
16237 fi
16238
16239
16240
16241   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16242   for ac_header in wchar.h
16243 do :
16244   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16245 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16246   cat >>confdefs.h <<_ACEOF
16247 #define HAVE_WCHAR_H 1
16248 _ACEOF
16249  ac_has_wchar_h=yes
16250 else
16251   ac_has_wchar_h=no
16252 fi
16253
16254 done
16255
16256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16257 $as_echo_n "checking for mbstate_t... " >&6; }
16258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16259 /* end confdefs.h.  */
16260 #include <wchar.h>
16261 int
16262 main ()
16263 {
16264 mbstate_t teststate;
16265   ;
16266   return 0;
16267 }
16268 _ACEOF
16269 if ac_fn_c_try_compile "$LINENO"; then :
16270   have_mbstate_t=yes
16271 else
16272   have_mbstate_t=no
16273 fi
16274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16276 $as_echo "$have_mbstate_t" >&6; }
16277   if test x"$have_mbstate_t" = xyes; then
16278
16279 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16280
16281   fi
16282
16283   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16284   # ac_has_wchar_h.
16285   for ac_header in wctype.h
16286 do :
16287   ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16288 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16289   cat >>confdefs.h <<_ACEOF
16290 #define HAVE_WCTYPE_H 1
16291 _ACEOF
16292  ac_has_wctype_h=yes
16293 else
16294   ac_has_wctype_h=no
16295 fi
16296
16297 done
16298
16299
16300   if test x"$enable_wchar_t" = x"yes"; then
16301
16302
16303     ac_ext=cpp
16304 ac_cpp='$CXXCPP $CPPFLAGS'
16305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16308
16309
16310     if test x"$ac_has_wchar_h" = xyes &&
16311        test x"$ac_has_wctype_h" = xyes; then
16312       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16313 /* end confdefs.h.  */
16314 #include <wchar.h>
16315                       #include <stddef.h>
16316                       wint_t i;
16317                       long l = WEOF;
16318                       long j = WCHAR_MIN;
16319                       long k = WCHAR_MAX;
16320                       namespace test
16321                       {
16322                         using ::btowc;
16323                         using ::fgetwc;
16324                         using ::fgetws;
16325                         using ::fputwc;
16326                         using ::fputws;
16327                         using ::fwide;
16328                         using ::fwprintf;
16329                         using ::fwscanf;
16330                         using ::getwc;
16331                         using ::getwchar;
16332                         using ::mbrlen;
16333                         using ::mbrtowc;
16334                         using ::mbsinit;
16335                         using ::mbsrtowcs;
16336                         using ::putwc;
16337                         using ::putwchar;
16338                         using ::swprintf;
16339                         using ::swscanf;
16340                         using ::ungetwc;
16341                         using ::vfwprintf;
16342                         using ::vswprintf;
16343                         using ::vwprintf;
16344                         using ::wcrtomb;
16345                         using ::wcscat;
16346                         using ::wcschr;
16347                         using ::wcscmp;
16348                         using ::wcscoll;
16349                         using ::wcscpy;
16350                         using ::wcscspn;
16351                         using ::wcsftime;
16352                         using ::wcslen;
16353                         using ::wcsncat;
16354                         using ::wcsncmp;
16355                         using ::wcsncpy;
16356                         using ::wcspbrk;
16357                         using ::wcsrchr;
16358                         using ::wcsrtombs;
16359                         using ::wcsspn;
16360                         using ::wcsstr;
16361                         using ::wcstod;
16362                         using ::wcstok;
16363                         using ::wcstol;
16364                         using ::wcstoul;
16365                         using ::wcsxfrm;
16366                         using ::wctob;
16367                         using ::wmemchr;
16368                         using ::wmemcmp;
16369                         using ::wmemcpy;
16370                         using ::wmemmove;
16371                         using ::wmemset;
16372                         using ::wprintf;
16373                         using ::wscanf;
16374                       }
16375
16376 int
16377 main ()
16378 {
16379
16380   ;
16381   return 0;
16382 }
16383 _ACEOF
16384 if ac_fn_cxx_try_compile "$LINENO"; then :
16385
16386 else
16387   enable_wchar_t=no
16388 fi
16389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16390     else
16391       enable_wchar_t=no
16392     fi
16393
16394     ac_ext=c
16395 ac_cpp='$CPP $CPPFLAGS'
16396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16399
16400   fi
16401
16402   if test x"$enable_wchar_t" = x"yes"; then
16403
16404 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16405
16406   fi
16407
16408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16409 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16411 $as_echo "$enable_wchar_t" >&6; }
16412
16413
16414
16415    # Check whether --enable-c99 was given.
16416 if test "${enable_c99+set}" = set; then :
16417   enableval=$enable_c99;
16418       case "$enableval" in
16419        yes|no) ;;
16420        *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16421       esac
16422
16423 else
16424   enable_c99=yes
16425 fi
16426
16427
16428
16429   if test x"$enable_c99" = x"yes"; then
16430
16431
16432   ac_ext=cpp
16433 ac_cpp='$CXXCPP $CPPFLAGS'
16434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16437
16438
16439   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16440   # undefined and fake C99 facilities - like pre-standard snprintf - may be
16441   # spuriously enabled.
16442   # Long term, -std=c++0x could be even better, could manage to explicitely
16443   # request C99 facilities to the underlying C headers.
16444   ac_save_CXXFLAGS="$CXXFLAGS"
16445   CXXFLAGS="$CXXFLAGS -std=c++98"
16446   ac_save_LIBS="$LIBS"
16447   ac_save_gcc_no_link="$gcc_no_link"
16448
16449   if test x$gcc_no_link != xyes; then
16450     # Use -fno-exceptions to that the C driver can link these tests without
16451     # hitting undefined references to personality routines.
16452     CXXFLAGS="$CXXFLAGS -fno-exceptions"
16453     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16454 $as_echo_n "checking for sin in -lm... " >&6; }
16455 if test "${ac_cv_lib_m_sin+set}" = set; then :
16456   $as_echo_n "(cached) " >&6
16457 else
16458   ac_check_lib_save_LIBS=$LIBS
16459 LIBS="-lm  $LIBS"
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
16466 /* Override any GCC internal prototype to avoid an error.
16467    Use char because int might match the return type of a GCC
16468    builtin and then its argument prototype would still apply.  */
16469 #ifdef __cplusplus
16470 extern "C"
16471 #endif
16472 char sin ();
16473 int
16474 main ()
16475 {
16476 return sin ();
16477   ;
16478   return 0;
16479 }
16480 _ACEOF
16481 if ac_fn_cxx_try_link "$LINENO"; then :
16482   ac_cv_lib_m_sin=yes
16483 else
16484   ac_cv_lib_m_sin=no
16485 fi
16486 rm -f core conftest.err conftest.$ac_objext \
16487     conftest$ac_exeext conftest.$ac_ext
16488 LIBS=$ac_check_lib_save_LIBS
16489 fi
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16491 $as_echo "$ac_cv_lib_m_sin" >&6; }
16492 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16493
16494       LIBS="$LIBS -lm"
16495
16496 else
16497
16498       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16499       gcc_no_link=yes
16500
16501 fi
16502
16503   fi
16504
16505   # Check for the existence of <math.h> functions used if C99 is enabled.
16506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16507 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16508   if test "${glibcxx_cv_c99_math+set}" = set; then :
16509   $as_echo_n "(cached) " >&6
16510 else
16511
16512   if test x$gcc_no_link = xyes; then
16513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16514 /* end confdefs.h.  */
16515 #include <math.h>
16516       volatile double d1, d2;
16517       volatile int i;
16518 int
16519 main ()
16520 {
16521 i = fpclassify(d1);
16522       i = isfinite(d1);
16523       i = isinf(d1);
16524       i = isnan(d1);
16525       i = isnormal(d1);
16526       i = signbit(d1);
16527       i = isgreater(d1, d2);
16528       i = isgreaterequal(d1, d2);
16529       i = isless(d1, d2);
16530       i = islessequal(d1, d2);
16531       i = islessgreater(d1, d2);
16532       i = islessgreater(d1, d2);
16533       i = isunordered(d1, d2);
16534
16535   ;
16536   return 0;
16537 }
16538 _ACEOF
16539 if ac_fn_cxx_try_compile "$LINENO"; then :
16540   glibcxx_cv_c99_math=yes
16541 else
16542   glibcxx_cv_c99_math=no
16543 fi
16544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16545 else
16546   if test x$gcc_no_link = xyes; then
16547   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16548 fi
16549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16550 /* end confdefs.h.  */
16551 #include <math.h>
16552       volatile double d1, d2;
16553       volatile int i;
16554 int
16555 main ()
16556 {
16557 i = fpclassify(d1);
16558       i = isfinite(d1);
16559       i = isinf(d1);
16560       i = isnan(d1);
16561       i = isnormal(d1);
16562       i = signbit(d1);
16563       i = isgreater(d1, d2);
16564       i = isgreaterequal(d1, d2);
16565       i = isless(d1, d2);
16566       i = islessequal(d1, d2);
16567       i = islessgreater(d1, d2);
16568       i = islessgreater(d1, d2);
16569       i = isunordered(d1, d2);
16570
16571   ;
16572   return 0;
16573 }
16574 _ACEOF
16575 if ac_fn_cxx_try_link "$LINENO"; then :
16576   glibcxx_cv_c99_math=yes
16577 else
16578   glibcxx_cv_c99_math=no
16579 fi
16580 rm -f core conftest.err conftest.$ac_objext \
16581     conftest$ac_exeext conftest.$ac_ext
16582 fi
16583
16584 fi
16585
16586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16587 $as_echo "$glibcxx_cv_c99_math" >&6; }
16588   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16589
16590 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16591
16592   fi
16593
16594   # Check for the existence of <complex.h> complex math functions.
16595   # This is necessary even though libstdc++ uses the builtin versions
16596   # of these functions, because if the builtin cannot be used, a reference
16597   # to the library function is emitted.
16598   for ac_header in tgmath.h
16599 do :
16600   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16601 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16602   cat >>confdefs.h <<_ACEOF
16603 #define HAVE_TGMATH_H 1
16604 _ACEOF
16605  ac_has_tgmath_h=yes
16606 else
16607   ac_has_tgmath_h=no
16608 fi
16609
16610 done
16611
16612   for ac_header in complex.h
16613 do :
16614   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16615 if test "x$ac_cv_header_complex_h" = x""yes; then :
16616   cat >>confdefs.h <<_ACEOF
16617 #define HAVE_COMPLEX_H 1
16618 _ACEOF
16619  ac_has_complex_h=yes
16620 else
16621   ac_has_complex_h=no
16622 fi
16623
16624 done
16625
16626   glibcxx_cv_c99_complex=no;
16627   if test x"$ac_has_complex_h" = x"yes"; then
16628     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16629 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16630     if test x$gcc_no_link = xyes; then
16631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16632 /* end confdefs.h.  */
16633 #include <complex.h>
16634         typedef __complex__ float float_type;
16635         typedef __complex__ double double_type;
16636         typedef __complex__ long double ld_type;
16637         volatile float_type tmpf;
16638         volatile double_type tmpd;
16639         volatile ld_type tmpld;
16640         volatile float f;
16641         volatile double d;
16642         volatile long double ld;
16643 int
16644 main ()
16645 {
16646 f = cabsf(tmpf);
16647         f = cargf(tmpf);
16648         tmpf = ccosf(tmpf);
16649         tmpf = ccoshf(tmpf);
16650         tmpf = cexpf(tmpf);
16651         tmpf = clogf(tmpf);
16652         tmpf = csinf(tmpf);
16653         tmpf = csinhf(tmpf);
16654         tmpf = csqrtf(tmpf);
16655         tmpf = ctanf(tmpf);
16656         tmpf = ctanhf(tmpf);
16657         tmpf = cpowf(tmpf, tmpf);
16658         tmpf = cprojf(tmpf);
16659         d = cabs(tmpd);
16660         d = carg(tmpd);
16661         tmpd = ccos(tmpd);
16662         tmpd = ccosh(tmpd);
16663         tmpd = cexp(tmpd);
16664         tmpd = clog(tmpd);
16665         tmpd = csin(tmpd);
16666         tmpd = csinh(tmpd);
16667         tmpd = csqrt(tmpd);
16668         tmpd = ctan(tmpd);
16669         tmpd = ctanh(tmpd);
16670         tmpd = cpow(tmpd, tmpd);
16671         tmpd = cproj(tmpd);
16672         ld = cabsl(tmpld);
16673         ld = cargl(tmpld);
16674         tmpld = ccosl(tmpld);
16675         tmpld = ccoshl(tmpld);
16676         tmpld = cexpl(tmpld);
16677         tmpld = clogl(tmpld);
16678         tmpld = csinl(tmpld);
16679         tmpld = csinhl(tmpld);
16680         tmpld = csqrtl(tmpld);
16681         tmpld = ctanl(tmpld);
16682         tmpld = ctanhl(tmpld);
16683         tmpld = cpowl(tmpld, tmpld);
16684         tmpld = cprojl(tmpld);
16685
16686   ;
16687   return 0;
16688 }
16689 _ACEOF
16690 if ac_fn_cxx_try_compile "$LINENO"; then :
16691   glibcxx_cv_c99_complex=yes
16692 else
16693   glibcxx_cv_c99_complex=no
16694 fi
16695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16696 else
16697   if test x$gcc_no_link = xyes; then
16698   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16699 fi
16700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16701 /* end confdefs.h.  */
16702 #include <complex.h>
16703         typedef __complex__ float float_type;
16704         typedef __complex__ double double_type;
16705         typedef __complex__ long double ld_type;
16706         volatile float_type tmpf;
16707         volatile double_type tmpd;
16708         volatile ld_type tmpld;
16709         volatile float f;
16710         volatile double d;
16711         volatile long double ld;
16712 int
16713 main ()
16714 {
16715 f = cabsf(tmpf);
16716         f = cargf(tmpf);
16717         tmpf = ccosf(tmpf);
16718         tmpf = ccoshf(tmpf);
16719         tmpf = cexpf(tmpf);
16720         tmpf = clogf(tmpf);
16721         tmpf = csinf(tmpf);
16722         tmpf = csinhf(tmpf);
16723         tmpf = csqrtf(tmpf);
16724         tmpf = ctanf(tmpf);
16725         tmpf = ctanhf(tmpf);
16726         tmpf = cpowf(tmpf, tmpf);
16727         tmpf = cprojf(tmpf);
16728         d = cabs(tmpd);
16729         d = carg(tmpd);
16730         tmpd = ccos(tmpd);
16731         tmpd = ccosh(tmpd);
16732         tmpd = cexp(tmpd);
16733         tmpd = clog(tmpd);
16734         tmpd = csin(tmpd);
16735         tmpd = csinh(tmpd);
16736         tmpd = csqrt(tmpd);
16737         tmpd = ctan(tmpd);
16738         tmpd = ctanh(tmpd);
16739         tmpd = cpow(tmpd, tmpd);
16740         tmpd = cproj(tmpd);
16741         ld = cabsl(tmpld);
16742         ld = cargl(tmpld);
16743         tmpld = ccosl(tmpld);
16744         tmpld = ccoshl(tmpld);
16745         tmpld = cexpl(tmpld);
16746         tmpld = clogl(tmpld);
16747         tmpld = csinl(tmpld);
16748         tmpld = csinhl(tmpld);
16749         tmpld = csqrtl(tmpld);
16750         tmpld = ctanl(tmpld);
16751         tmpld = ctanhl(tmpld);
16752         tmpld = cpowl(tmpld, tmpld);
16753         tmpld = cprojl(tmpld);
16754
16755   ;
16756   return 0;
16757 }
16758 _ACEOF
16759 if ac_fn_cxx_try_link "$LINENO"; then :
16760   glibcxx_cv_c99_complex=yes
16761 else
16762   glibcxx_cv_c99_complex=no
16763 fi
16764 rm -f core conftest.err conftest.$ac_objext \
16765     conftest$ac_exeext conftest.$ac_ext
16766 fi
16767   fi
16768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16769 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16770   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16771
16772 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16773
16774   fi
16775
16776   # Check for the existence in <stdio.h> of vscanf, et. al.
16777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16778 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16779   if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16780   $as_echo_n "(cached) " >&6
16781 else
16782
16783   if test x$gcc_no_link = xyes; then
16784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16785 /* end confdefs.h.  */
16786 #include <stdio.h>
16787       #include <stdarg.h>
16788       void foo(char* fmt, ...)
16789       {
16790         va_list args; va_start(args, fmt);
16791         vfscanf(stderr, "%i", args);
16792         vscanf("%i", args);
16793         vsnprintf(fmt, 0, "%i", args);
16794         vsscanf(fmt, "%i", args);
16795       }
16796 int
16797 main ()
16798 {
16799 snprintf("12", 0, "%i");
16800   ;
16801   return 0;
16802 }
16803 _ACEOF
16804 if ac_fn_cxx_try_compile "$LINENO"; then :
16805   glibcxx_cv_c99_stdio=yes
16806 else
16807   glibcxx_cv_c99_stdio=no
16808 fi
16809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16810 else
16811   if test x$gcc_no_link = xyes; then
16812   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16813 fi
16814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16815 /* end confdefs.h.  */
16816 #include <stdio.h>
16817       #include <stdarg.h>
16818       void foo(char* fmt, ...)
16819       {
16820         va_list args; va_start(args, fmt);
16821         vfscanf(stderr, "%i", args);
16822         vscanf("%i", args);
16823         vsnprintf(fmt, 0, "%i", args);
16824         vsscanf(fmt, "%i", args);
16825       }
16826 int
16827 main ()
16828 {
16829 snprintf("12", 0, "%i");
16830   ;
16831   return 0;
16832 }
16833 _ACEOF
16834 if ac_fn_cxx_try_link "$LINENO"; then :
16835   glibcxx_cv_c99_stdio=yes
16836 else
16837   glibcxx_cv_c99_stdio=no
16838 fi
16839 rm -f core conftest.err conftest.$ac_objext \
16840     conftest$ac_exeext conftest.$ac_ext
16841 fi
16842
16843 fi
16844
16845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16846 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16847
16848   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16850 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16851   if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16852   $as_echo_n "(cached) " >&6
16853 else
16854
16855   if test x$gcc_no_link = xyes; then
16856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16857 /* end confdefs.h.  */
16858 #include <stdlib.h>
16859       volatile float f;
16860       volatile long double ld;
16861       volatile unsigned long long ll;
16862       lldiv_t mydivt;
16863 int
16864 main ()
16865 {
16866 char* tmp;
16867       f = strtof("gnu", &tmp);
16868       ld = strtold("gnu", &tmp);
16869       ll = strtoll("gnu", &tmp, 10);
16870       ll = strtoull("gnu", &tmp, 10);
16871       ll = llabs(10);
16872       mydivt = lldiv(10,1);
16873       ll = mydivt.quot;
16874       ll = mydivt.rem;
16875       ll = atoll("10");
16876       _Exit(0);
16877
16878   ;
16879   return 0;
16880 }
16881 _ACEOF
16882 if ac_fn_cxx_try_compile "$LINENO"; then :
16883   glibcxx_cv_c99_stdlib=yes
16884 else
16885   glibcxx_cv_c99_stdlib=no
16886 fi
16887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16888 else
16889   if test x$gcc_no_link = xyes; then
16890   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16891 fi
16892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16893 /* end confdefs.h.  */
16894 #include <stdlib.h>
16895       volatile float f;
16896       volatile long double ld;
16897       volatile unsigned long long ll;
16898       lldiv_t mydivt;
16899 int
16900 main ()
16901 {
16902 char* tmp;
16903       f = strtof("gnu", &tmp);
16904       ld = strtold("gnu", &tmp);
16905       ll = strtoll("gnu", &tmp, 10);
16906       ll = strtoull("gnu", &tmp, 10);
16907       ll = llabs(10);
16908       mydivt = lldiv(10,1);
16909       ll = mydivt.quot;
16910       ll = mydivt.rem;
16911       ll = atoll("10");
16912       _Exit(0);
16913
16914   ;
16915   return 0;
16916 }
16917 _ACEOF
16918 if ac_fn_cxx_try_link "$LINENO"; then :
16919   glibcxx_cv_c99_stdlib=yes
16920 else
16921   glibcxx_cv_c99_stdlib=no
16922 fi
16923 rm -f core conftest.err conftest.$ac_objext \
16924     conftest$ac_exeext conftest.$ac_ext
16925 fi
16926
16927 fi
16928
16929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16930 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16931
16932   # Check for the existence in <wchar.h> of wcstold, etc.
16933   glibcxx_cv_c99_wchar=no;
16934   if test x"$ac_has_wchar_h" = xyes &&
16935      test x"$ac_has_wctype_h" = xyes; then
16936     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16937 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16938     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16939 /* end confdefs.h.  */
16940 #include <wchar.h>
16941                     namespace test
16942                     {
16943                       using ::wcstold;
16944                       using ::wcstoll;
16945                       using ::wcstoull;
16946                     }
16947
16948 int
16949 main ()
16950 {
16951
16952   ;
16953   return 0;
16954 }
16955 _ACEOF
16956 if ac_fn_cxx_try_compile "$LINENO"; then :
16957   glibcxx_cv_c99_wchar=yes
16958 else
16959   glibcxx_cv_c99_wchar=no
16960 fi
16961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16962
16963     # Checks for wide character functions that may not be present.
16964     # Injection of these is wrapped with guard macros.
16965     # NB: only put functions here, instead of immediately above, if
16966     # absolutely necessary.
16967     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16968 /* end confdefs.h.  */
16969 #include <wchar.h>
16970                     namespace test { using ::vfwscanf; }
16971 int
16972 main ()
16973 {
16974
16975   ;
16976   return 0;
16977 }
16978 _ACEOF
16979 if ac_fn_cxx_try_compile "$LINENO"; then :
16980
16981 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16982
16983 fi
16984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16985
16986     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16987 /* end confdefs.h.  */
16988 #include <wchar.h>
16989                     namespace test { using ::vswscanf; }
16990 int
16991 main ()
16992 {
16993
16994   ;
16995   return 0;
16996 }
16997 _ACEOF
16998 if ac_fn_cxx_try_compile "$LINENO"; then :
16999
17000 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17001
17002 fi
17003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17004
17005     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17006 /* end confdefs.h.  */
17007 #include <wchar.h>
17008                     namespace test { using ::vwscanf; }
17009 int
17010 main ()
17011 {
17012
17013   ;
17014   return 0;
17015 }
17016 _ACEOF
17017 if ac_fn_cxx_try_compile "$LINENO"; then :
17018
17019 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17020
17021 fi
17022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17023
17024     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17025 /* end confdefs.h.  */
17026 #include <wchar.h>
17027                     namespace test { using ::wcstof; }
17028 int
17029 main ()
17030 {
17031
17032   ;
17033   return 0;
17034 }
17035 _ACEOF
17036 if ac_fn_cxx_try_compile "$LINENO"; then :
17037
17038 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17039
17040 fi
17041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17042
17043     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17044 /* end confdefs.h.  */
17045 #include <wctype.h>
17046 int
17047 main ()
17048 {
17049  wint_t t; int i = iswblank(t);
17050   ;
17051   return 0;
17052 }
17053 _ACEOF
17054 if ac_fn_cxx_try_compile "$LINENO"; then :
17055
17056 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17057
17058 fi
17059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17060
17061     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17062 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17063   fi
17064
17065   # Option parsed, now set things appropriately.
17066   if test x"$glibcxx_cv_c99_math" = x"no" ||
17067      test x"$glibcxx_cv_c99_complex" = x"no" ||
17068      test x"$glibcxx_cv_c99_stdio" = x"no" ||
17069      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17070      test x"$glibcxx_cv_c99_wchar" = x"no"; then
17071     enable_c99=no;
17072   else
17073
17074 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17075
17076   fi
17077
17078   gcc_no_link="$ac_save_gcc_no_link"
17079   LIBS="$ac_save_LIBS"
17080   CXXFLAGS="$ac_save_CXXFLAGS"
17081   ac_ext=c
17082 ac_cpp='$CPP $CPPFLAGS'
17083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17086
17087   fi
17088
17089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17090 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17092 $as_echo "$enable_c99" >&6; }
17093
17094
17095    # Check whether --enable-concept-checks was given.
17096 if test "${enable_concept_checks+set}" = set; then :
17097   enableval=$enable_concept_checks;
17098       case "$enableval" in
17099        yes|no) ;;
17100        *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17101       esac
17102
17103 else
17104   enable_concept_checks=no
17105 fi
17106
17107
17108   if test $enable_concept_checks = yes; then
17109
17110 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17111
17112   fi
17113
17114
17115    # Check whether --enable-libstdcxx-debug-flags was given.
17116 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17117   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17118       xno | x)    enable_libstdcxx_debug_flags= ;;
17119       x-*)        ;;
17120       *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17121      esac
17122 else
17123   enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17124 fi
17125
17126
17127
17128   # Option parsed, now set things appropriately
17129   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17130
17131
17132   { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17133 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17134
17135
17136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17137 $as_echo_n "checking for additional debug build... " >&6; }
17138    # Check whether --enable-libstdcxx-debug was given.
17139 if test "${enable_libstdcxx_debug+set}" = set; then :
17140   enableval=$enable_libstdcxx_debug;
17141       case "$enableval" in
17142        yes|no) ;;
17143        *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17144       esac
17145
17146 else
17147   enable_libstdcxx_debug=no
17148 fi
17149
17150
17151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17152 $as_echo "$enable_libstdcxx_debug" >&6; }
17153
17154
17155
17156
17157   enable_parallel=no;
17158
17159   # See if configured libgomp/omp.h exists. (libgomp may be in
17160   # noconfigdirs but not explicitly disabled.)
17161   if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17162     enable_parallel=yes;
17163   else
17164     { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17165 $as_echo "$as_me: target-libgomp not built" >&6;}
17166   fi
17167
17168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17169 $as_echo_n "checking for parallel mode support... " >&6; }
17170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17171 $as_echo "$enable_parallel" >&6; }
17172
17173
17174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17175 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17176    # Check whether --enable-cxx-flags was given.
17177 if test "${enable_cxx_flags+set}" = set; then :
17178   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17179       xno | x)   enable_cxx_flags= ;;
17180       x-*)       ;;
17181       *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17182      esac
17183 else
17184   enable_cxx_flags=
17185 fi
17186
17187
17188
17189   # Run through flags (either default or command-line) and set anything
17190   # extra (e.g., #defines) that must accompany particular g++ options.
17191   if test -n "$enable_cxx_flags"; then
17192     for f in $enable_cxx_flags; do
17193       case "$f" in
17194         -fhonor-std)  ;;
17195         -*)  ;;
17196         *)   # and we're trying to pass /what/ exactly?
17197              as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17198       esac
17199     done
17200   fi
17201
17202   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17204 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17205
17206
17207
17208    # Check whether --enable-fully-dynamic-string was given.
17209 if test "${enable_fully_dynamic_string+set}" = set; then :
17210   enableval=$enable_fully_dynamic_string;
17211       case "$enableval" in
17212        yes|no) ;;
17213        *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17214       esac
17215
17216 else
17217   enable_fully_dynamic_string=no
17218 fi
17219
17220
17221   if test $enable_fully_dynamic_string = yes; then
17222     enable_fully_dynamic_string_def=1
17223   else
17224     enable_fully_dynamic_string_def=0
17225   fi
17226
17227 cat >>confdefs.h <<_ACEOF
17228 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17229 _ACEOF
17230
17231
17232
17233
17234    # Check whether --enable-extern-template was given.
17235 if test "${enable_extern_template+set}" = set; then :
17236   enableval=$enable_extern_template;
17237       case "$enableval" in
17238        yes|no) ;;
17239        *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17240       esac
17241
17242 else
17243   enable_extern_template=yes
17244 fi
17245
17246
17247
17248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17249 $as_echo_n "checking for extern template support... " >&6; }
17250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17251 $as_echo "$enable_extern_template" >&6; }
17252
17253
17254
17255
17256
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17258 $as_echo_n "checking for custom python install directory... " >&6; }
17259
17260 # Check whether --with-python-dir was given.
17261 if test "${with_python_dir+set}" = set; then :
17262   withval=$with_python_dir; with_python_dir=$withval
17263 else
17264   with_python_dir="no"
17265 fi
17266
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17268 $as_echo "${with_python_dir}" >&6; }
17269
17270 # Needed for installing Python modules during make install.
17271 python_mod_dir="${with_python_dir}"
17272
17273
17274
17275
17276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17277 $as_echo_n "checking for -Werror... " >&6; }
17278    # Check whether --enable-werror was given.
17279 if test "${enable_werror+set}" = set; then :
17280   enableval=$enable_werror;
17281       case "$enableval" in
17282        yes|no) ;;
17283        *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17284       esac
17285
17286 else
17287   enable_werror=yes
17288 fi
17289
17290
17291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17292 $as_echo "$enable_werror" >&6; }
17293
17294
17295
17296 # Checks for operating systems support that doesn't require linking.
17297
17298
17299
17300   ac_ext=cpp
17301 ac_cpp='$CXXCPP $CPPFLAGS'
17302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17305
17306
17307   case "$host" in
17308     *-*-solaris2.*)
17309       # Solaris 8 FCS only had an overload for double std::abs(double) in
17310       # <iso/math_iso.h>.  Patches 111721-04 (SPARC) and 112757-01 (x86)
17311       # introduced the full set also found from Solaris 9 onwards.
17312       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float std::abs(float) overload" >&5
17313 $as_echo_n "checking for float std::abs(float) overload... " >&6; }
17314       if test "${glibcxx_cv_abs_float+set}" = set; then :
17315   $as_echo_n "(cached) " >&6
17316 else
17317
17318         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17319 /* end confdefs.h.  */
17320 #include <math.h>
17321            namespace std {
17322              inline float abs(float __x)
17323              {  return __builtin_fabsf(__x); }
17324            }
17325
17326 _ACEOF
17327 if ac_fn_cxx_try_compile "$LINENO"; then :
17328   glibcxx_cv_abs_float=no
17329 else
17330   glibcxx_cv_abs_float=yes
17331
17332 fi
17333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17334 fi
17335
17336
17337       # autoheader cannot handle indented templates.
17338
17339
17340
17341       if test $glibcxx_cv_abs_float = yes; then
17342         $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO1 1" >>confdefs.h
17343
17344       else
17345         $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO2 1" >>confdefs.h
17346
17347       fi
17348       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_float" >&5
17349 $as_echo "$glibcxx_cv_abs_float" >&6; }
17350       ;;
17351   esac
17352
17353   ac_ext=c
17354 ac_cpp='$CPP $CPPFLAGS'
17355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17358
17359
17360
17361
17362
17363   ac_ext=cpp
17364 ac_cpp='$CXXCPP $CPPFLAGS'
17365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17368
17369
17370   case "$host" in
17371     *-*-solaris2.*)
17372       # Solaris 8 FCS lacked the overloads for long std::abs(long) and
17373       # ldiv_t std::div(long, long) in <iso/stdlib_iso.h>.  Patches 109607-02
17374       # (SPARC) and 109608-02 (x86) introduced them.
17375       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long std::abs(long) overload" >&5
17376 $as_echo_n "checking for long std::abs(long) overload... " >&6; }
17377       if test "${glibcxx_cv_abs_long+set}" = set; then :
17378   $as_echo_n "(cached) " >&6
17379 else
17380
17381         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17382 /* end confdefs.h.  */
17383 #include <stdlib.h>
17384            namespace std {
17385              inline long
17386              abs(long __i) { return labs(__i); }
17387            }
17388
17389 _ACEOF
17390 if ac_fn_cxx_try_compile "$LINENO"; then :
17391   glibcxx_cv_abs_long=no
17392 else
17393   glibcxx_cv_abs_long=yes
17394
17395 fi
17396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17397 fi
17398
17399
17400       # autoheader cannot handle indented templates.
17401
17402       if test $glibcxx_cv_abs_long = yes; then
17403         $as_echo "#define __CORRECT_ISO_CPP_STDLIB_H_PROTO 1" >>confdefs.h
17404
17405       fi
17406       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_long" >&5
17407 $as_echo "$glibcxx_cv_abs_long" >&6; }
17408       ;;
17409   esac
17410
17411   ac_ext=c
17412 ac_cpp='$CPP $CPPFLAGS'
17413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17416
17417
17418
17419
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17421 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17422 if test "${glibcxx_cv_system_error1+set}" = set; then :
17423   $as_echo_n "(cached) " >&6
17424 else
17425
17426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17427 /* end confdefs.h.  */
17428 #include <errno.h>
17429 int
17430 main ()
17431 {
17432 int i = EOWNERDEAD;
17433   ;
17434   return 0;
17435 }
17436 _ACEOF
17437 if ac_fn_c_try_compile "$LINENO"; then :
17438   glibcxx_cv_system_error1=yes
17439 else
17440   glibcxx_cv_system_error1=no
17441 fi
17442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17443
17444 fi
17445
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17447 $as_echo "$glibcxx_cv_system_error1" >&6; }
17448 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17449
17450 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17451
17452 fi
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17454 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17455 if test "${glibcxx_cv_system_error2+set}" = set; then :
17456   $as_echo_n "(cached) " >&6
17457 else
17458
17459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17460 /* end confdefs.h.  */
17461 #include <errno.h>
17462 int
17463 main ()
17464 {
17465 int i = ENOTRECOVERABLE;
17466   ;
17467   return 0;
17468 }
17469 _ACEOF
17470 if ac_fn_c_try_compile "$LINENO"; then :
17471   glibcxx_cv_system_error2=yes
17472 else
17473   glibcxx_cv_system_error2=no
17474 fi
17475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17476
17477 fi
17478
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17480 $as_echo "$glibcxx_cv_system_error2" >&6; }
17481 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17482
17483 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17484
17485 fi
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17487 $as_echo_n "checking for ENOLINK... " >&6; }
17488 if test "${glibcxx_cv_system_error3+set}" = set; then :
17489   $as_echo_n "(cached) " >&6
17490 else
17491
17492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17493 /* end confdefs.h.  */
17494 #include <errno.h>
17495 int
17496 main ()
17497 {
17498 int i = ENOLINK;
17499   ;
17500   return 0;
17501 }
17502 _ACEOF
17503 if ac_fn_c_try_compile "$LINENO"; then :
17504   glibcxx_cv_system_error3=yes
17505 else
17506   glibcxx_cv_system_error3=no
17507 fi
17508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17509
17510 fi
17511
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17513 $as_echo "$glibcxx_cv_system_error3" >&6; }
17514 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17515
17516 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17517
17518 fi
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17520 $as_echo_n "checking for EPROTO... " >&6; }
17521 if test "${glibcxx_cv_system_error4+set}" = set; then :
17522   $as_echo_n "(cached) " >&6
17523 else
17524
17525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17526 /* end confdefs.h.  */
17527 #include <errno.h>
17528 int
17529 main ()
17530 {
17531 int i = EPROTO;
17532   ;
17533   return 0;
17534 }
17535 _ACEOF
17536 if ac_fn_c_try_compile "$LINENO"; then :
17537   glibcxx_cv_system_error4=yes
17538 else
17539   glibcxx_cv_system_error4=no
17540 fi
17541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17542
17543 fi
17544
17545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17546 $as_echo "$glibcxx_cv_system_error4" >&6; }
17547 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17548
17549 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17550
17551 fi
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17553 $as_echo_n "checking for ENODATA... " >&6; }
17554 if test "${glibcxx_cv_system_error5+set}" = set; then :
17555   $as_echo_n "(cached) " >&6
17556 else
17557
17558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17559 /* end confdefs.h.  */
17560 #include <errno.h>
17561 int
17562 main ()
17563 {
17564 int i = ENODATA;
17565   ;
17566   return 0;
17567 }
17568 _ACEOF
17569 if ac_fn_c_try_compile "$LINENO"; then :
17570   glibcxx_cv_system_error5=yes
17571 else
17572   glibcxx_cv_system_error5=no
17573 fi
17574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17575
17576 fi
17577
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17579 $as_echo "$glibcxx_cv_system_error5" >&6; }
17580 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17581
17582 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17583
17584 fi
17585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17586 $as_echo_n "checking for ENOSR... " >&6; }
17587 if test "${glibcxx_cv_system_error6+set}" = set; then :
17588   $as_echo_n "(cached) " >&6
17589 else
17590
17591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17592 /* end confdefs.h.  */
17593 #include <errno.h>
17594 int
17595 main ()
17596 {
17597 int i = ENOSR;
17598   ;
17599   return 0;
17600 }
17601 _ACEOF
17602 if ac_fn_c_try_compile "$LINENO"; then :
17603   glibcxx_cv_system_error6=yes
17604 else
17605   glibcxx_cv_system_error6=no
17606 fi
17607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17608
17609 fi
17610
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17612 $as_echo "$glibcxx_cv_system_error6" >&6; }
17613 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17614
17615 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17616
17617 fi
17618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17619 $as_echo_n "checking for ENOSTR... " >&6; }
17620 if test "${glibcxx_cv_system_error7+set}" = set; then :
17621   $as_echo_n "(cached) " >&6
17622 else
17623
17624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17625 /* end confdefs.h.  */
17626 #include <errno.h>
17627 int
17628 main ()
17629 {
17630 int i = ENOSTR;
17631   ;
17632   return 0;
17633 }
17634 _ACEOF
17635 if ac_fn_c_try_compile "$LINENO"; then :
17636   glibcxx_cv_system_error7=yes
17637 else
17638   glibcxx_cv_system_error7=no
17639 fi
17640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17641
17642 fi
17643
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17645 $as_echo "$glibcxx_cv_system_error7" >&6; }
17646 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17647
17648 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17649
17650 fi
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17652 $as_echo_n "checking for ETIME... " >&6; }
17653 if test "${glibcxx_cv_system_error8+set}" = set; then :
17654   $as_echo_n "(cached) " >&6
17655 else
17656
17657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17658 /* end confdefs.h.  */
17659 #include <errno.h>
17660 int
17661 main ()
17662 {
17663 int i = ETIME;
17664   ;
17665   return 0;
17666 }
17667 _ACEOF
17668 if ac_fn_c_try_compile "$LINENO"; then :
17669   glibcxx_cv_system_error8=yes
17670 else
17671   glibcxx_cv_system_error8=no
17672 fi
17673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17674
17675 fi
17676
17677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17678 $as_echo "$glibcxx_cv_system_error8" >&6; }
17679 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17680
17681 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17682
17683 fi
17684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17685 $as_echo_n "checking for EBADMSG... " >&6; }
17686 if test "${glibcxx_cv_system_error9+set}" = set; then :
17687   $as_echo_n "(cached) " >&6
17688 else
17689
17690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17691 /* end confdefs.h.  */
17692 #include <errno.h>
17693 int
17694 main ()
17695 {
17696 int i = EBADMSG;
17697   ;
17698   return 0;
17699 }
17700 _ACEOF
17701 if ac_fn_c_try_compile "$LINENO"; then :
17702   glibcxx_cv_system_error9=yes
17703 else
17704   glibcxx_cv_system_error9=no
17705 fi
17706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17707
17708 fi
17709
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17711 $as_echo "$glibcxx_cv_system_error9" >&6; }
17712 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17713
17714 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17715
17716 fi
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17718 $as_echo_n "checking for ECANCELED... " >&6; }
17719 if test "${glibcxx_cv_system_error10+set}" = set; then :
17720   $as_echo_n "(cached) " >&6
17721 else
17722
17723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17724 /* end confdefs.h.  */
17725 #include <errno.h>
17726 int
17727 main ()
17728 {
17729 int i = ECANCELED;
17730   ;
17731   return 0;
17732 }
17733 _ACEOF
17734 if ac_fn_c_try_compile "$LINENO"; then :
17735   glibcxx_cv_system_error10=yes
17736 else
17737   glibcxx_cv_system_error10=no
17738 fi
17739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17740
17741 fi
17742
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17744 $as_echo "$glibcxx_cv_system_error10" >&6; }
17745 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17746
17747 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17748
17749 fi
17750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17751 $as_echo_n "checking for EOVERFLOW... " >&6; }
17752 if test "${glibcxx_cv_system_error11+set}" = set; then :
17753   $as_echo_n "(cached) " >&6
17754 else
17755
17756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17757 /* end confdefs.h.  */
17758 #include <errno.h>
17759 int
17760 main ()
17761 {
17762 int i = EOVERFLOW;
17763   ;
17764   return 0;
17765 }
17766 _ACEOF
17767 if ac_fn_c_try_compile "$LINENO"; then :
17768   glibcxx_cv_system_error11=yes
17769 else
17770   glibcxx_cv_system_error11=no
17771 fi
17772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17773
17774 fi
17775
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17777 $as_echo "$glibcxx_cv_system_error11" >&6; }
17778 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17779
17780 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17781
17782 fi
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17784 $as_echo_n "checking for ENOTSUP... " >&6; }
17785 if test "${glibcxx_cv_system_error12+set}" = set; then :
17786   $as_echo_n "(cached) " >&6
17787 else
17788
17789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17790 /* end confdefs.h.  */
17791 #include <errno.h>
17792 int
17793 main ()
17794 {
17795 int i = ENOTSUP;
17796   ;
17797   return 0;
17798 }
17799 _ACEOF
17800 if ac_fn_c_try_compile "$LINENO"; then :
17801   glibcxx_cv_system_error12=yes
17802 else
17803   glibcxx_cv_system_error12=no
17804 fi
17805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17806
17807 fi
17808
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17810 $as_echo "$glibcxx_cv_system_error12" >&6; }
17811 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17812
17813 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17814
17815 fi
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17817 $as_echo_n "checking for EIDRM... " >&6; }
17818 if test "${glibcxx_cv_system_error13+set}" = set; then :
17819   $as_echo_n "(cached) " >&6
17820 else
17821
17822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17823 /* end confdefs.h.  */
17824 #include <errno.h>
17825 int
17826 main ()
17827 {
17828 int i = EIDRM;
17829   ;
17830   return 0;
17831 }
17832 _ACEOF
17833 if ac_fn_c_try_compile "$LINENO"; then :
17834   glibcxx_cv_system_error13=yes
17835 else
17836   glibcxx_cv_system_error13=no
17837 fi
17838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17839
17840 fi
17841
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17843 $as_echo "$glibcxx_cv_system_error13" >&6; }
17844 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17845
17846 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17847
17848 fi
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17850 $as_echo_n "checking for ETXTBSY... " >&6; }
17851 if test "${glibcxx_cv_system_error14+set}" = set; then :
17852   $as_echo_n "(cached) " >&6
17853 else
17854
17855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17856 /* end confdefs.h.  */
17857 #include <errno.h>
17858 int
17859 main ()
17860 {
17861 int i = ETXTBSY;
17862   ;
17863   return 0;
17864 }
17865 _ACEOF
17866 if ac_fn_c_try_compile "$LINENO"; then :
17867   glibcxx_cv_system_error14=yes
17868 else
17869   glibcxx_cv_system_error14=no
17870 fi
17871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17872
17873 fi
17874
17875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17876 $as_echo "$glibcxx_cv_system_error14" >&6; }
17877 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17878
17879 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17880
17881 fi
17882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17883 $as_echo_n "checking for ECHILD... " >&6; }
17884 if test "${glibcxx_cv_system_error15+set}" = set; then :
17885   $as_echo_n "(cached) " >&6
17886 else
17887
17888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17889 /* end confdefs.h.  */
17890 #include <errno.h>
17891 int
17892 main ()
17893 {
17894 int i = ECHILD;
17895   ;
17896   return 0;
17897 }
17898 _ACEOF
17899 if ac_fn_c_try_compile "$LINENO"; then :
17900   glibcxx_cv_system_error15=yes
17901 else
17902   glibcxx_cv_system_error15=no
17903 fi
17904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17905
17906 fi
17907
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17909 $as_echo "$glibcxx_cv_system_error15" >&6; }
17910 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17911
17912 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17913
17914 fi
17915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17916 $as_echo_n "checking for ENOSPC... " >&6; }
17917 if test "${glibcxx_cv_system_error16+set}" = set; then :
17918   $as_echo_n "(cached) " >&6
17919 else
17920
17921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17922 /* end confdefs.h.  */
17923 #include <errno.h>
17924 int
17925 main ()
17926 {
17927 int i = ENOSPC;
17928   ;
17929   return 0;
17930 }
17931 _ACEOF
17932 if ac_fn_c_try_compile "$LINENO"; then :
17933   glibcxx_cv_system_error16=yes
17934 else
17935   glibcxx_cv_system_error16=no
17936 fi
17937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17938
17939 fi
17940
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17942 $as_echo "$glibcxx_cv_system_error16" >&6; }
17943 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17944
17945 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17946
17947 fi
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17949 $as_echo_n "checking for EPERM... " >&6; }
17950 if test "${glibcxx_cv_system_error17+set}" = set; then :
17951   $as_echo_n "(cached) " >&6
17952 else
17953
17954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17955 /* end confdefs.h.  */
17956 #include <errno.h>
17957 int
17958 main ()
17959 {
17960 int i = EPERM;
17961   ;
17962   return 0;
17963 }
17964 _ACEOF
17965 if ac_fn_c_try_compile "$LINENO"; then :
17966   glibcxx_cv_system_error17=yes
17967 else
17968   glibcxx_cv_system_error17=no
17969 fi
17970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17971
17972 fi
17973
17974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17975 $as_echo "$glibcxx_cv_system_error17" >&6; }
17976 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17977
17978 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17979
17980 fi
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17982 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17983 if test "${glibcxx_cv_system_error18+set}" = set; then :
17984   $as_echo_n "(cached) " >&6
17985 else
17986
17987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17988 /* end confdefs.h.  */
17989 #include <errno.h>
17990 int
17991 main ()
17992 {
17993 int i = ETIMEDOUT;
17994   ;
17995   return 0;
17996 }
17997 _ACEOF
17998 if ac_fn_c_try_compile "$LINENO"; then :
17999   glibcxx_cv_system_error18=yes
18000 else
18001   glibcxx_cv_system_error18=no
18002 fi
18003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18004
18005 fi
18006
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18008 $as_echo "$glibcxx_cv_system_error18" >&6; }
18009 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18010
18011 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18012
18013 fi
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18015 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18016 if test "${glibcxx_cv_system_error19+set}" = set; then :
18017   $as_echo_n "(cached) " >&6
18018 else
18019
18020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18021 /* end confdefs.h.  */
18022 #include <errno.h>
18023 int
18024 main ()
18025 {
18026 int i = EWOULDBLOCK;
18027   ;
18028   return 0;
18029 }
18030 _ACEOF
18031 if ac_fn_c_try_compile "$LINENO"; then :
18032   glibcxx_cv_system_error19=yes
18033 else
18034   glibcxx_cv_system_error19=no
18035 fi
18036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18037
18038 fi
18039
18040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18041 $as_echo "$glibcxx_cv_system_error19" >&6; }
18042 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18043
18044 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18045
18046 fi
18047
18048
18049
18050 # For the streamoff typedef.
18051
18052
18053
18054   ac_ext=cpp
18055 ac_cpp='$CXXCPP $CPPFLAGS'
18056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18059
18060
18061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18062 $as_echo_n "checking for int64_t... " >&6; }
18063   if test "${glibcxx_cv_INT64_T+set}" = set; then :
18064   $as_echo_n "(cached) " >&6
18065 else
18066
18067     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18068 /* end confdefs.h.  */
18069 #include <stdint.h>
18070 int
18071 main ()
18072 {
18073 int64_t var;
18074   ;
18075   return 0;
18076 }
18077 _ACEOF
18078 if ac_fn_cxx_try_compile "$LINENO"; then :
18079   glibcxx_cv_INT64_T=yes
18080 else
18081   glibcxx_cv_INT64_T=no
18082 fi
18083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18084
18085 fi
18086
18087
18088   if test $glibcxx_cv_INT64_T = yes; then
18089
18090 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18091
18092     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18093 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18094
18095     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18096 $as_echo_n "checking for int64_t as long... " >&6; }
18097     if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18098   $as_echo_n "(cached) " >&6
18099 else
18100
18101       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18102 /* end confdefs.h.  */
18103 #include <stdint.h>
18104         template<typename, typename> struct same { enum { value = -1 }; };
18105         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18106         int array[same<int64_t, long>::value];
18107 int
18108 main ()
18109 {
18110
18111   ;
18112   return 0;
18113 }
18114 _ACEOF
18115 if ac_fn_cxx_try_compile "$LINENO"; then :
18116   glibcxx_cv_int64_t_long=yes
18117 else
18118   glibcxx_cv_int64_t_long=no
18119 fi
18120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18121
18122 fi
18123
18124
18125     if test $glibcxx_cv_int64_t_long = yes; then
18126
18127 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18128
18129       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18130 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18131     fi
18132
18133     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18134 $as_echo_n "checking for int64_t as long long... " >&6; }
18135     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18136   $as_echo_n "(cached) " >&6
18137 else
18138
18139       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18140 /* end confdefs.h.  */
18141 #include <stdint.h>
18142         template<typename, typename> struct same { enum { value = -1 }; };
18143         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18144         int array[same<int64_t, long long>::value];
18145 int
18146 main ()
18147 {
18148
18149   ;
18150   return 0;
18151 }
18152 _ACEOF
18153 if ac_fn_cxx_try_compile "$LINENO"; then :
18154   glibcxx_cv_int64_t_long_long=yes
18155 else
18156   glibcxx_cv_int64_t_long_long=no
18157 fi
18158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18159
18160 fi
18161
18162
18163     if test $glibcxx_cv_int64_t_long_long = yes; then
18164
18165 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18166
18167       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18168 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18169     fi
18170   fi
18171
18172   ac_ext=c
18173 ac_cpp='$CPP $CPPFLAGS'
18174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18177
18178
18179
18180 # For LFS support.
18181
18182
18183   ac_ext=cpp
18184 ac_cpp='$CXXCPP $CPPFLAGS'
18185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18188
18189   ac_save_CXXFLAGS="$CXXFLAGS"
18190   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18192 $as_echo_n "checking for LFS support... " >&6; }
18193   if test "${glibcxx_cv_LFS+set}" = set; then :
18194   $as_echo_n "(cached) " >&6
18195 else
18196
18197     if test x$gcc_no_link = xyes; then
18198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18199 /* end confdefs.h.  */
18200 #include <unistd.h>
18201        #include <stdio.h>
18202        #include <sys/stat.h>
18203
18204 int
18205 main ()
18206 {
18207 FILE* fp;
18208        fopen64("t", "w");
18209        fseeko64(fp, 0, SEEK_CUR);
18210        ftello64(fp);
18211        lseek64(1, 0, SEEK_CUR);
18212        struct stat64 buf;
18213        fstat64(1, &buf);
18214   ;
18215   return 0;
18216 }
18217 _ACEOF
18218 if ac_fn_cxx_try_compile "$LINENO"; then :
18219   glibcxx_cv_LFS=yes
18220 else
18221   glibcxx_cv_LFS=no
18222 fi
18223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18224 else
18225   if test x$gcc_no_link = xyes; then
18226   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18227 fi
18228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18229 /* end confdefs.h.  */
18230 #include <unistd.h>
18231        #include <stdio.h>
18232        #include <sys/stat.h>
18233
18234 int
18235 main ()
18236 {
18237 FILE* fp;
18238        fopen64("t", "w");
18239        fseeko64(fp, 0, SEEK_CUR);
18240        ftello64(fp);
18241        lseek64(1, 0, SEEK_CUR);
18242        struct stat64 buf;
18243        fstat64(1, &buf);
18244   ;
18245   return 0;
18246 }
18247 _ACEOF
18248 if ac_fn_cxx_try_link "$LINENO"; then :
18249   glibcxx_cv_LFS=yes
18250 else
18251   glibcxx_cv_LFS=no
18252 fi
18253 rm -f core conftest.err conftest.$ac_objext \
18254     conftest$ac_exeext conftest.$ac_ext
18255 fi
18256
18257 fi
18258
18259   if test $glibcxx_cv_LFS = yes; then
18260
18261 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18262
18263   fi
18264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18265 $as_echo "$glibcxx_cv_LFS" >&6; }
18266   CXXFLAGS="$ac_save_CXXFLAGS"
18267   ac_ext=c
18268 ac_cpp='$CPP $CPPFLAGS'
18269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18272
18273
18274
18275 # For showmanyc_helper().
18276 for ac_header in sys/ioctl.h sys/filio.h
18277 do :
18278   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18279 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18280 eval as_val=\$$as_ac_Header
18281    if test "x$as_val" = x""yes; then :
18282   cat >>confdefs.h <<_ACEOF
18283 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18284 _ACEOF
18285
18286 fi
18287
18288 done
18289
18290
18291
18292
18293   ac_ext=cpp
18294 ac_cpp='$CXXCPP $CPPFLAGS'
18295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18298
18299   ac_save_CXXFLAGS="$CXXFLAGS"
18300   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18301
18302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18303 $as_echo_n "checking for poll... " >&6; }
18304   if test "${glibcxx_cv_POLL+set}" = set; then :
18305   $as_echo_n "(cached) " >&6
18306 else
18307
18308     if test x$gcc_no_link = xyes; then
18309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18310 /* end confdefs.h.  */
18311 #include <poll.h>
18312 int
18313 main ()
18314 {
18315 struct pollfd pfd[1];
18316        pfd[0].events = POLLIN;
18317        poll(pfd, 1, 0);
18318   ;
18319   return 0;
18320 }
18321 _ACEOF
18322 if ac_fn_cxx_try_compile "$LINENO"; then :
18323   glibcxx_cv_POLL=yes
18324 else
18325   glibcxx_cv_POLL=no
18326 fi
18327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18328 else
18329   if test x$gcc_no_link = xyes; then
18330   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18331 fi
18332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18333 /* end confdefs.h.  */
18334 #include <poll.h>
18335 int
18336 main ()
18337 {
18338 struct pollfd pfd[1];
18339        pfd[0].events = POLLIN;
18340        poll(pfd, 1, 0);
18341   ;
18342   return 0;
18343 }
18344 _ACEOF
18345 if ac_fn_cxx_try_link "$LINENO"; then :
18346   glibcxx_cv_POLL=yes
18347 else
18348   glibcxx_cv_POLL=no
18349 fi
18350 rm -f core conftest.err conftest.$ac_objext \
18351     conftest$ac_exeext conftest.$ac_ext
18352 fi
18353
18354 fi
18355
18356   if test $glibcxx_cv_POLL = yes; then
18357
18358 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18359
18360   fi
18361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18362 $as_echo "$glibcxx_cv_POLL" >&6; }
18363
18364   CXXFLAGS="$ac_save_CXXFLAGS"
18365   ac_ext=c
18366 ac_cpp='$CPP $CPPFLAGS'
18367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18370
18371
18372
18373
18374
18375   ac_ext=cpp
18376 ac_cpp='$CXXCPP $CPPFLAGS'
18377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18380
18381   ac_save_CXXFLAGS="$CXXFLAGS"
18382   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18383
18384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18385 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18386   if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18387   $as_echo_n "(cached) " >&6
18388 else
18389
18390     if test x$gcc_no_link = xyes; then
18391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18392 /* end confdefs.h.  */
18393 #include <sys/stat.h>
18394 int
18395 main ()
18396 {
18397 struct stat buffer;
18398        fstat(0, &buffer);
18399        S_ISREG(buffer.st_mode);
18400   ;
18401   return 0;
18402 }
18403 _ACEOF
18404 if ac_fn_cxx_try_compile "$LINENO"; then :
18405   glibcxx_cv_S_ISREG=yes
18406 else
18407   glibcxx_cv_S_ISREG=no
18408 fi
18409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18410 else
18411   if test x$gcc_no_link = xyes; then
18412   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18413 fi
18414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18415 /* end confdefs.h.  */
18416 #include <sys/stat.h>
18417 int
18418 main ()
18419 {
18420 struct stat buffer;
18421        fstat(0, &buffer);
18422        S_ISREG(buffer.st_mode);
18423   ;
18424   return 0;
18425 }
18426 _ACEOF
18427 if ac_fn_cxx_try_link "$LINENO"; then :
18428   glibcxx_cv_S_ISREG=yes
18429 else
18430   glibcxx_cv_S_ISREG=no
18431 fi
18432 rm -f core conftest.err conftest.$ac_objext \
18433     conftest$ac_exeext conftest.$ac_ext
18434 fi
18435
18436 fi
18437
18438   if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18439   $as_echo_n "(cached) " >&6
18440 else
18441
18442     if test x$gcc_no_link = xyes; then
18443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18444 /* end confdefs.h.  */
18445 #include <sys/stat.h>
18446 int
18447 main ()
18448 {
18449 struct stat buffer;
18450        fstat(0, &buffer);
18451        S_IFREG & buffer.st_mode;
18452   ;
18453   return 0;
18454 }
18455 _ACEOF
18456 if ac_fn_cxx_try_compile "$LINENO"; then :
18457   glibcxx_cv_S_IFREG=yes
18458 else
18459   glibcxx_cv_S_IFREG=no
18460 fi
18461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18462 else
18463   if test x$gcc_no_link = xyes; then
18464   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18465 fi
18466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18467 /* end confdefs.h.  */
18468 #include <sys/stat.h>
18469 int
18470 main ()
18471 {
18472 struct stat buffer;
18473        fstat(0, &buffer);
18474        S_IFREG & buffer.st_mode;
18475   ;
18476   return 0;
18477 }
18478 _ACEOF
18479 if ac_fn_cxx_try_link "$LINENO"; then :
18480   glibcxx_cv_S_IFREG=yes
18481 else
18482   glibcxx_cv_S_IFREG=no
18483 fi
18484 rm -f core conftest.err conftest.$ac_objext \
18485     conftest$ac_exeext conftest.$ac_ext
18486 fi
18487
18488 fi
18489
18490   res=no
18491   if test $glibcxx_cv_S_ISREG = yes; then
18492
18493 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18494
18495     res=S_ISREG
18496   elif test $glibcxx_cv_S_IFREG = yes; then
18497
18498 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18499
18500     res=S_IFREG
18501   fi
18502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18503 $as_echo "$res" >&6; }
18504
18505   CXXFLAGS="$ac_save_CXXFLAGS"
18506   ac_ext=c
18507 ac_cpp='$CPP $CPPFLAGS'
18508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18511
18512
18513
18514 # For xsputn_2().
18515 for ac_header in sys/uio.h
18516 do :
18517   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18518 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18519   cat >>confdefs.h <<_ACEOF
18520 #define HAVE_SYS_UIO_H 1
18521 _ACEOF
18522
18523 fi
18524
18525 done
18526
18527
18528
18529
18530   ac_ext=cpp
18531 ac_cpp='$CXXCPP $CPPFLAGS'
18532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18535
18536   ac_save_CXXFLAGS="$CXXFLAGS"
18537   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18538
18539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18540 $as_echo_n "checking for writev... " >&6; }
18541   if test "${glibcxx_cv_WRITEV+set}" = set; then :
18542   $as_echo_n "(cached) " >&6
18543 else
18544
18545     if test x$gcc_no_link = xyes; then
18546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18547 /* end confdefs.h.  */
18548 #include <sys/uio.h>
18549 int
18550 main ()
18551 {
18552 struct iovec iov[2];
18553        writev(0, iov, 0);
18554   ;
18555   return 0;
18556 }
18557 _ACEOF
18558 if ac_fn_cxx_try_compile "$LINENO"; then :
18559   glibcxx_cv_WRITEV=yes
18560 else
18561   glibcxx_cv_WRITEV=no
18562 fi
18563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18564 else
18565   if test x$gcc_no_link = xyes; then
18566   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18567 fi
18568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18569 /* end confdefs.h.  */
18570 #include <sys/uio.h>
18571 int
18572 main ()
18573 {
18574 struct iovec iov[2];
18575        writev(0, iov, 0);
18576   ;
18577   return 0;
18578 }
18579 _ACEOF
18580 if ac_fn_cxx_try_link "$LINENO"; then :
18581   glibcxx_cv_WRITEV=yes
18582 else
18583   glibcxx_cv_WRITEV=no
18584 fi
18585 rm -f core conftest.err conftest.$ac_objext \
18586     conftest$ac_exeext conftest.$ac_ext
18587 fi
18588
18589 fi
18590
18591   if test $glibcxx_cv_WRITEV = yes; then
18592
18593 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18594
18595   fi
18596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18597 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18598
18599   CXXFLAGS="$ac_save_CXXFLAGS"
18600   ac_ext=c
18601 ac_cpp='$CPP $CPPFLAGS'
18602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18605
18606
18607
18608 # For C99 support to TR1.
18609
18610
18611
18612   ac_ext=cpp
18613 ac_cpp='$CXXCPP $CPPFLAGS'
18614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18617
18618
18619   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18620   # undefined and fake C99 facilities may be spuriously enabled.
18621   ac_save_CXXFLAGS="$CXXFLAGS"
18622   CXXFLAGS="$CXXFLAGS -std=c++98"
18623
18624   # Check for the existence of <complex.h> complex math functions used
18625   # by tr1/complex.
18626   for ac_header in complex.h
18627 do :
18628   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18629 if test "x$ac_cv_header_complex_h" = x""yes; then :
18630   cat >>confdefs.h <<_ACEOF
18631 #define HAVE_COMPLEX_H 1
18632 _ACEOF
18633  ac_has_complex_h=yes
18634 else
18635   ac_has_complex_h=no
18636 fi
18637
18638 done
18639
18640   ac_c99_complex_tr1=no;
18641   if test x"$ac_has_complex_h" = x"yes"; then
18642     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18643 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18644     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18645 /* end confdefs.h.  */
18646 #include <complex.h>
18647 int
18648 main ()
18649 {
18650 typedef __complex__ float float_type; float_type tmpf;
18651                     cacosf(tmpf);
18652                     casinf(tmpf);
18653                     catanf(tmpf);
18654                     cacoshf(tmpf);
18655                     casinhf(tmpf);
18656                     catanhf(tmpf);
18657                     typedef __complex__ double double_type; double_type tmpd;
18658                     cacos(tmpd);
18659                     casin(tmpd);
18660                     catan(tmpd);
18661                     cacosh(tmpd);
18662                     casinh(tmpd);
18663                     catanh(tmpd);
18664                     typedef __complex__ long double ld_type; ld_type tmpld;
18665                     cacosl(tmpld);
18666                     casinl(tmpld);
18667                     catanl(tmpld);
18668                     cacoshl(tmpld);
18669                     casinhl(tmpld);
18670                     catanhl(tmpld);
18671
18672   ;
18673   return 0;
18674 }
18675 _ACEOF
18676 if ac_fn_cxx_try_compile "$LINENO"; then :
18677   ac_c99_complex_tr1=yes
18678 else
18679   ac_c99_complex_tr1=no
18680 fi
18681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18682   fi
18683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18684 $as_echo "$ac_c99_complex_tr1" >&6; }
18685   if test x"$ac_c99_complex_tr1" = x"yes"; then
18686
18687 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18688
18689   fi
18690
18691   # Check for the existence of <ctype.h> functions.
18692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18693 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18694   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18695   $as_echo_n "(cached) " >&6
18696 else
18697
18698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18699 /* end confdefs.h.  */
18700 #include <ctype.h>
18701 int
18702 main ()
18703 {
18704 int ch;
18705                   int ret;
18706                   ret = isblank(ch);
18707
18708   ;
18709   return 0;
18710 }
18711 _ACEOF
18712 if ac_fn_cxx_try_compile "$LINENO"; then :
18713   glibcxx_cv_c99_ctype_tr1=yes
18714 else
18715   glibcxx_cv_c99_ctype_tr1=no
18716 fi
18717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18718
18719 fi
18720
18721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18722 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18723   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18724
18725 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18726
18727   fi
18728
18729   # Check for the existence of <fenv.h> functions.
18730   for ac_header in fenv.h
18731 do :
18732   ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18733 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18734   cat >>confdefs.h <<_ACEOF
18735 #define HAVE_FENV_H 1
18736 _ACEOF
18737  ac_has_fenv_h=yes
18738 else
18739   ac_has_fenv_h=no
18740 fi
18741
18742 done
18743
18744   ac_c99_fenv_tr1=no;
18745   if test x"$ac_has_fenv_h" = x"yes"; then
18746     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18747 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18748     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18749 /* end confdefs.h.  */
18750 #include <fenv.h>
18751 int
18752 main ()
18753 {
18754 int except, mode;
18755                     fexcept_t* pflag;
18756                     fenv_t* penv;
18757                     int ret;
18758                     ret = feclearexcept(except);
18759                     ret = fegetexceptflag(pflag, except);
18760                     ret = feraiseexcept(except);
18761                     ret = fesetexceptflag(pflag, except);
18762                     ret = fetestexcept(except);
18763                     ret = fegetround();
18764                     ret = fesetround(mode);
18765                     ret = fegetenv(penv);
18766                     ret = feholdexcept(penv);
18767                     ret = fesetenv(penv);
18768                     ret = feupdateenv(penv);
18769
18770   ;
18771   return 0;
18772 }
18773 _ACEOF
18774 if ac_fn_cxx_try_compile "$LINENO"; then :
18775   ac_c99_fenv_tr1=yes
18776 else
18777   ac_c99_fenv_tr1=no
18778 fi
18779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18780   fi
18781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18782 $as_echo "$ac_c99_fenv_tr1" >&6; }
18783   if test x"$ac_c99_fenv_tr1" = x"yes"; then
18784
18785 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18786
18787   fi
18788
18789   # Check for the existence of <stdint.h> types.
18790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18791 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18792   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18793   $as_echo_n "(cached) " >&6
18794 else
18795
18796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18797 /* end confdefs.h.  */
18798 #define __STDC_LIMIT_MACROS
18799                   #define __STDC_CONSTANT_MACROS
18800                   #include <stdint.h>
18801 int
18802 main ()
18803 {
18804 typedef int8_t          my_int8_t;
18805                   my_int8_t               i8 = INT8_MIN;
18806                   i8 = INT8_MAX;
18807                   typedef int16_t         my_int16_t;
18808                   my_int16_t              i16 = INT16_MIN;
18809                   i16 = INT16_MAX;
18810                   typedef int32_t         my_int32_t;
18811                   my_int32_t              i32 = INT32_MIN;
18812                   i32 = INT32_MAX;
18813                   typedef int64_t         my_int64_t;
18814                   my_int64_t              i64 = INT64_MIN;
18815                   i64 = INT64_MAX;
18816                   typedef int_fast8_t     my_int_fast8_t;
18817                   my_int_fast8_t          if8 = INT_FAST8_MIN;
18818                   if8 = INT_FAST8_MAX;
18819                   typedef int_fast16_t    my_int_fast16_t;
18820                   my_int_fast16_t         if16 = INT_FAST16_MIN;
18821                   if16 = INT_FAST16_MAX;
18822                   typedef int_fast32_t    my_int_fast32_t;
18823                   my_int_fast32_t         if32 = INT_FAST32_MIN;
18824                   if32 = INT_FAST32_MAX;
18825                   typedef int_fast64_t    my_int_fast64_t;
18826                   my_int_fast64_t         if64 = INT_FAST64_MIN;
18827                   if64 = INT_FAST64_MAX;
18828                   typedef int_least8_t    my_int_least8_t;
18829                   my_int_least8_t         il8 = INT_LEAST8_MIN;
18830                   il8 = INT_LEAST8_MAX;
18831                   typedef int_least16_t   my_int_least16_t;
18832                   my_int_least16_t        il16 = INT_LEAST16_MIN;
18833                   il16 = INT_LEAST16_MAX;
18834                   typedef int_least32_t   my_int_least32_t;
18835                   my_int_least32_t        il32 = INT_LEAST32_MIN;
18836                   il32 = INT_LEAST32_MAX;
18837                   typedef int_least64_t   my_int_least64_t;
18838                   my_int_least64_t        il64 = INT_LEAST64_MIN;
18839                   il64 = INT_LEAST64_MAX;
18840                   typedef intmax_t        my_intmax_t;
18841                   my_intmax_t             im = INTMAX_MAX;
18842                   im = INTMAX_MIN;
18843                   typedef intptr_t        my_intptr_t;
18844                   my_intptr_t             ip = INTPTR_MAX;
18845                   ip = INTPTR_MIN;
18846                   typedef uint8_t         my_uint8_t;
18847                   my_uint8_t              ui8 = UINT8_MAX;
18848                   ui8 = UINT8_MAX;
18849                   typedef uint16_t        my_uint16_t;
18850                   my_uint16_t             ui16 = UINT16_MAX;
18851                   ui16 = UINT16_MAX;
18852                   typedef uint32_t        my_uint32_t;
18853                   my_uint32_t             ui32 = UINT32_MAX;
18854                   ui32 = UINT32_MAX;
18855                   typedef uint64_t        my_uint64_t;
18856                   my_uint64_t             ui64 = UINT64_MAX;
18857                   ui64 = UINT64_MAX;
18858                   typedef uint_fast8_t    my_uint_fast8_t;
18859                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
18860                   uif8 = UINT_FAST8_MAX;
18861                   typedef uint_fast16_t   my_uint_fast16_t;
18862                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
18863                   uif16 = UINT_FAST16_MAX;
18864                   typedef uint_fast32_t   my_uint_fast32_t;
18865                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
18866                   uif32 = UINT_FAST32_MAX;
18867                   typedef uint_fast64_t   my_uint_fast64_t;
18868                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
18869                   uif64 = UINT_FAST64_MAX;
18870                   typedef uint_least8_t   my_uint_least8_t;
18871                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
18872                   uil8 = UINT_LEAST8_MAX;
18873                   typedef uint_least16_t  my_uint_least16_t;
18874                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
18875                   uil16 = UINT_LEAST16_MAX;
18876                   typedef uint_least32_t  my_uint_least32_t;
18877                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
18878                   uil32 = UINT_LEAST32_MAX;
18879                   typedef uint_least64_t  my_uint_least64_t;
18880                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
18881                   uil64 = UINT_LEAST64_MAX;
18882                   typedef uintmax_t       my_uintmax_t;
18883                   my_uintmax_t            uim = UINTMAX_MAX;
18884                   uim = UINTMAX_MAX;
18885                   typedef uintptr_t       my_uintptr_t;
18886                   my_uintptr_t            uip = UINTPTR_MAX;
18887                   uip = UINTPTR_MAX;
18888
18889   ;
18890   return 0;
18891 }
18892 _ACEOF
18893 if ac_fn_cxx_try_compile "$LINENO"; then :
18894   glibcxx_cv_c99_stdint_tr1=yes
18895 else
18896   glibcxx_cv_c99_stdint_tr1=no
18897 fi
18898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18899
18900 fi
18901
18902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18903 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18904   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18905
18906 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18907
18908   fi
18909
18910   # Check for the existence of <math.h> functions.
18911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18912 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18913   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18914   $as_echo_n "(cached) " >&6
18915 else
18916
18917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18918 /* end confdefs.h.  */
18919 #include <math.h>
18920 int
18921 main ()
18922 {
18923 typedef double_t  my_double_t;
18924                   typedef float_t   my_float_t;
18925                   acosh(0.0);
18926                   acoshf(0.0f);
18927                   acoshl(0.0l);
18928                   asinh(0.0);
18929                   asinhf(0.0f);
18930                   asinhl(0.0l);
18931                   atanh(0.0);
18932                   atanhf(0.0f);
18933                   atanhl(0.0l);
18934                   cbrt(0.0);
18935                   cbrtf(0.0f);
18936                   cbrtl(0.0l);
18937                   copysign(0.0, 0.0);
18938                   copysignf(0.0f, 0.0f);
18939                   copysignl(0.0l, 0.0l);
18940                   erf(0.0);
18941                   erff(0.0f);
18942                   erfl(0.0l);
18943                   erfc(0.0);
18944                   erfcf(0.0f);
18945                   erfcl(0.0l);
18946                   exp2(0.0);
18947                   exp2f(0.0f);
18948                   exp2l(0.0l);
18949                   expm1(0.0);
18950                   expm1f(0.0f);
18951                   expm1l(0.0l);
18952                   fdim(0.0, 0.0);
18953                   fdimf(0.0f, 0.0f);
18954                   fdiml(0.0l, 0.0l);
18955                   fma(0.0, 0.0, 0.0);
18956                   fmaf(0.0f, 0.0f, 0.0f);
18957                   fmal(0.0l, 0.0l, 0.0l);
18958                   fmax(0.0, 0.0);
18959                   fmaxf(0.0f, 0.0f);
18960                   fmaxl(0.0l, 0.0l);
18961                   fmin(0.0, 0.0);
18962                   fminf(0.0f, 0.0f);
18963                   fminl(0.0l, 0.0l);
18964                   hypot(0.0, 0.0);
18965                   hypotf(0.0f, 0.0f);
18966                   hypotl(0.0l, 0.0l);
18967                   ilogb(0.0);
18968                   ilogbf(0.0f);
18969                   ilogbl(0.0l);
18970                   lgamma(0.0);
18971                   lgammaf(0.0f);
18972                   lgammal(0.0l);
18973                   llrint(0.0);
18974                   llrintf(0.0f);
18975                   llrintl(0.0l);
18976                   llround(0.0);
18977                   llroundf(0.0f);
18978                   llroundl(0.0l);
18979                   log1p(0.0);
18980                   log1pf(0.0f);
18981                   log1pl(0.0l);
18982                   log2(0.0);
18983                   log2f(0.0f);
18984                   log2l(0.0l);
18985                   logb(0.0);
18986                   logbf(0.0f);
18987                   logbl(0.0l);
18988                   lrint(0.0);
18989                   lrintf(0.0f);
18990                   lrintl(0.0l);
18991                   lround(0.0);
18992                   lroundf(0.0f);
18993                   lroundl(0.0l);
18994                   nan(0);
18995                   nanf(0);
18996                   nanl(0);
18997                   nearbyint(0.0);
18998                   nearbyintf(0.0f);
18999                   nearbyintl(0.0l);
19000                   nextafter(0.0, 0.0);
19001                   nextafterf(0.0f, 0.0f);
19002                   nextafterl(0.0l, 0.0l);
19003                   nexttoward(0.0, 0.0);
19004                   nexttowardf(0.0f, 0.0f);
19005                   nexttowardl(0.0l, 0.0l);
19006                   remainder(0.0, 0.0);
19007                   remainderf(0.0f, 0.0f);
19008                   remainderl(0.0l, 0.0l);
19009                   remquo(0.0, 0.0, 0);
19010                   remquof(0.0f, 0.0f, 0);
19011                   remquol(0.0l, 0.0l, 0);
19012                   rint(0.0);
19013                   rintf(0.0f);
19014                   rintl(0.0l);
19015                   round(0.0);
19016                   roundf(0.0f);
19017                   roundl(0.0l);
19018                   scalbln(0.0, 0l);
19019                   scalblnf(0.0f, 0l);
19020                   scalblnl(0.0l, 0l);
19021                   scalbn(0.0, 0);
19022                   scalbnf(0.0f, 0);
19023                   scalbnl(0.0l, 0);
19024                   tgamma(0.0);
19025                   tgammaf(0.0f);
19026                   tgammal(0.0l);
19027                   trunc(0.0);
19028                   truncf(0.0f);
19029                   truncl(0.0l);
19030
19031   ;
19032   return 0;
19033 }
19034 _ACEOF
19035 if ac_fn_cxx_try_compile "$LINENO"; then :
19036   glibcxx_cv_c99_math_tr1=yes
19037 else
19038   glibcxx_cv_c99_math_tr1=no
19039 fi
19040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19041
19042 fi
19043
19044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19045 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19046   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19047
19048 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19049
19050   fi
19051
19052   # Check for the existence of <inttypes.h> functions (NB: doesn't make
19053   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19054   ac_c99_inttypes_tr1=no;
19055   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19056     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19057 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19058     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19059 /* end confdefs.h.  */
19060 #include <inttypes.h>
19061 int
19062 main ()
19063 {
19064 intmax_t i, numer, denom, base;
19065                     const char* s;
19066                     char** endptr;
19067                     intmax_t ret = imaxabs(i);
19068                     imaxdiv_t dret = imaxdiv(numer, denom);
19069                     ret = strtoimax(s, endptr, base);
19070                     uintmax_t uret = strtoumax(s, endptr, base);
19071
19072   ;
19073   return 0;
19074 }
19075 _ACEOF
19076 if ac_fn_cxx_try_compile "$LINENO"; then :
19077   ac_c99_inttypes_tr1=yes
19078 else
19079   ac_c99_inttypes_tr1=no
19080 fi
19081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19082   fi
19083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19084 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19085   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19086
19087 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19088
19089   fi
19090
19091   # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19092   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19093   ac_c99_inttypes_wchar_t_tr1=no;
19094   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19095     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19096 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19097     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19098 /* end confdefs.h.  */
19099 #include <inttypes.h>
19100 int
19101 main ()
19102 {
19103 intmax_t base;
19104                     const wchar_t* s;
19105                     wchar_t** endptr;
19106                     intmax_t ret = wcstoimax(s, endptr, base);
19107                     uintmax_t uret = wcstoumax(s, endptr, base);
19108
19109   ;
19110   return 0;
19111 }
19112 _ACEOF
19113 if ac_fn_cxx_try_compile "$LINENO"; then :
19114   ac_c99_inttypes_wchar_t_tr1=yes
19115 else
19116   ac_c99_inttypes_wchar_t_tr1=no
19117 fi
19118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19119   fi
19120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19121 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19122   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19123
19124 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19125
19126   fi
19127
19128   # Check for the existence of the <stdbool.h> header.
19129   for ac_header in stdbool.h
19130 do :
19131   ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19132 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19133   cat >>confdefs.h <<_ACEOF
19134 #define HAVE_STDBOOL_H 1
19135 _ACEOF
19136
19137 fi
19138
19139 done
19140
19141
19142   # Check for the existence of the <stdalign.h> header.
19143   for ac_header in stdalign.h
19144 do :
19145   ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19146 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19147   cat >>confdefs.h <<_ACEOF
19148 #define HAVE_STDALIGN_H 1
19149 _ACEOF
19150
19151 fi
19152
19153 done
19154
19155
19156   CXXFLAGS="$ac_save_CXXFLAGS"
19157   ac_ext=c
19158 ac_cpp='$CPP $CPPFLAGS'
19159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19162
19163
19164
19165 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19166
19167
19168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19169 $as_echo_n "checking for the value of EOF... " >&6; }
19170 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19171   $as_echo_n "(cached) " >&6
19172 else
19173
19174   if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
19175
19176 else
19177   as_fn_error "computing EOF failed" "$LINENO" 5
19178 fi
19179
19180
19181 fi
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19183 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19184
19185 cat >>confdefs.h <<_ACEOF
19186 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19187 _ACEOF
19188
19189
19190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19191 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19192 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19193   $as_echo_n "(cached) " >&6
19194 else
19195
19196   if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
19197
19198 else
19199   as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19200 fi
19201
19202
19203 fi
19204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19205 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19206
19207 cat >>confdefs.h <<_ACEOF
19208 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19209 _ACEOF
19210
19211
19212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19213 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19214 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19215   $as_echo_n "(cached) " >&6
19216 else
19217
19218   if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
19219
19220 else
19221   as_fn_error "computing SEEK_END failed" "$LINENO" 5
19222 fi
19223
19224
19225 fi
19226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19227 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19228
19229 cat >>confdefs.h <<_ACEOF
19230 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19231 _ACEOF
19232
19233
19234
19235 # For gettimeofday support.
19236
19237
19238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19239 $as_echo_n "checking for gettimeofday... " >&6; }
19240
19241
19242   ac_ext=cpp
19243 ac_cpp='$CXXCPP $CPPFLAGS'
19244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19247
19248   ac_save_CXXFLAGS="$CXXFLAGS"
19249   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19250
19251   ac_has_gettimeofday=no;
19252   for ac_header in sys/time.h
19253 do :
19254   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19255 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19256   cat >>confdefs.h <<_ACEOF
19257 #define HAVE_SYS_TIME_H 1
19258 _ACEOF
19259  ac_has_sys_time_h=yes
19260 else
19261   ac_has_sys_time_h=no
19262 fi
19263
19264 done
19265
19266   if test x"$ac_has_sys_time_h" = x"yes"; then
19267     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19268 $as_echo_n "checking for gettimeofday... " >&6; }
19269     if test x$gcc_no_link = xyes; then
19270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19271 /* end confdefs.h.  */
19272 #include <sys/time.h>
19273 int
19274 main ()
19275 {
19276 timeval tv; gettimeofday(&tv, 0);
19277   ;
19278   return 0;
19279 }
19280 _ACEOF
19281 if ac_fn_cxx_try_compile "$LINENO"; then :
19282   ac_has_gettimeofday=yes
19283 else
19284   ac_has_gettimeofday=no
19285 fi
19286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19287 else
19288   if test x$gcc_no_link = xyes; then
19289   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19290 fi
19291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19292 /* end confdefs.h.  */
19293 #include <sys/time.h>
19294 int
19295 main ()
19296 {
19297 timeval tv; gettimeofday(&tv, 0);
19298   ;
19299   return 0;
19300 }
19301 _ACEOF
19302 if ac_fn_cxx_try_link "$LINENO"; then :
19303   ac_has_gettimeofday=yes
19304 else
19305   ac_has_gettimeofday=no
19306 fi
19307 rm -f core conftest.err conftest.$ac_objext \
19308     conftest$ac_exeext conftest.$ac_ext
19309 fi
19310
19311     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19312 $as_echo "$ac_has_gettimeofday" >&6; }
19313   fi
19314
19315   if test x"$ac_has_gettimeofday" = x"yes"; then
19316
19317 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19318
19319   fi
19320
19321   CXXFLAGS="$ac_save_CXXFLAGS"
19322   ac_ext=c
19323 ac_cpp='$CPP $CPPFLAGS'
19324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19327
19328
19329
19330 # For clock_gettime, nanosleep and sched_yield support.
19331 # NB: The default is [no], because otherwise it requires linking.
19332
19333
19334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19335 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19336    # Check whether --enable-libstdcxx-time was given.
19337 if test "${enable_libstdcxx_time+set}" = set; then :
19338   enableval=$enable_libstdcxx_time;
19339       case "$enableval" in
19340        yes|no|rt) ;;
19341        *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19342                         esac
19343
19344 else
19345   enable_libstdcxx_time=no
19346 fi
19347
19348
19349
19350
19351   ac_ext=cpp
19352 ac_cpp='$CXXCPP $CPPFLAGS'
19353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19356
19357   ac_save_CXXFLAGS="$CXXFLAGS"
19358   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19359   ac_save_LIBS="$LIBS"
19360
19361   ac_has_clock_monotonic=no
19362   ac_has_clock_realtime=no
19363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19364 $as_echo "$enable_libstdcxx_time" >&6; }
19365
19366   if test x"$enable_libstdcxx_time" != x"no"; then
19367
19368     if test x"$enable_libstdcxx_time" = x"rt"; then
19369       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19370 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19371 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19372   $as_echo_n "(cached) " >&6
19373 else
19374   ac_func_search_save_LIBS=$LIBS
19375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19376 /* end confdefs.h.  */
19377
19378 /* Override any GCC internal prototype to avoid an error.
19379    Use char because int might match the return type of a GCC
19380    builtin and then its argument prototype would still apply.  */
19381 #ifdef __cplusplus
19382 extern "C"
19383 #endif
19384 char clock_gettime ();
19385 int
19386 main ()
19387 {
19388 return clock_gettime ();
19389   ;
19390   return 0;
19391 }
19392 _ACEOF
19393 for ac_lib in '' rt posix4; do
19394   if test -z "$ac_lib"; then
19395     ac_res="none required"
19396   else
19397     ac_res=-l$ac_lib
19398     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19399   fi
19400   if test x$gcc_no_link = xyes; then
19401   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19402 fi
19403 if ac_fn_cxx_try_link "$LINENO"; then :
19404   ac_cv_search_clock_gettime=$ac_res
19405 fi
19406 rm -f core conftest.err conftest.$ac_objext \
19407     conftest$ac_exeext
19408   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19409   break
19410 fi
19411 done
19412 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19413
19414 else
19415   ac_cv_search_clock_gettime=no
19416 fi
19417 rm conftest.$ac_ext
19418 LIBS=$ac_func_search_save_LIBS
19419 fi
19420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19421 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19422 ac_res=$ac_cv_search_clock_gettime
19423 if test "$ac_res" != no; then :
19424   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19425
19426 fi
19427
19428       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19429 $as_echo_n "checking for library containing nanosleep... " >&6; }
19430 if test "${ac_cv_search_nanosleep+set}" = set; then :
19431   $as_echo_n "(cached) " >&6
19432 else
19433   ac_func_search_save_LIBS=$LIBS
19434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19435 /* end confdefs.h.  */
19436
19437 /* Override any GCC internal prototype to avoid an error.
19438    Use char because int might match the return type of a GCC
19439    builtin and then its argument prototype would still apply.  */
19440 #ifdef __cplusplus
19441 extern "C"
19442 #endif
19443 char nanosleep ();
19444 int
19445 main ()
19446 {
19447 return nanosleep ();
19448   ;
19449   return 0;
19450 }
19451 _ACEOF
19452 for ac_lib in '' rt posix4; do
19453   if test -z "$ac_lib"; then
19454     ac_res="none required"
19455   else
19456     ac_res=-l$ac_lib
19457     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19458   fi
19459   if test x$gcc_no_link = xyes; then
19460   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19461 fi
19462 if ac_fn_cxx_try_link "$LINENO"; then :
19463   ac_cv_search_nanosleep=$ac_res
19464 fi
19465 rm -f core conftest.err conftest.$ac_objext \
19466     conftest$ac_exeext
19467   if test "${ac_cv_search_nanosleep+set}" = set; then :
19468   break
19469 fi
19470 done
19471 if test "${ac_cv_search_nanosleep+set}" = set; then :
19472
19473 else
19474   ac_cv_search_nanosleep=no
19475 fi
19476 rm conftest.$ac_ext
19477 LIBS=$ac_func_search_save_LIBS
19478 fi
19479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19480 $as_echo "$ac_cv_search_nanosleep" >&6; }
19481 ac_res=$ac_cv_search_nanosleep
19482 if test "$ac_res" != no; then :
19483   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19484
19485 fi
19486
19487     else
19488       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19489 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19490 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19491   $as_echo_n "(cached) " >&6
19492 else
19493   ac_func_search_save_LIBS=$LIBS
19494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19495 /* end confdefs.h.  */
19496
19497 /* Override any GCC internal prototype to avoid an error.
19498    Use char because int might match the return type of a GCC
19499    builtin and then its argument prototype would still apply.  */
19500 #ifdef __cplusplus
19501 extern "C"
19502 #endif
19503 char clock_gettime ();
19504 int
19505 main ()
19506 {
19507 return clock_gettime ();
19508   ;
19509   return 0;
19510 }
19511 _ACEOF
19512 for ac_lib in '' posix4; do
19513   if test -z "$ac_lib"; then
19514     ac_res="none required"
19515   else
19516     ac_res=-l$ac_lib
19517     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19518   fi
19519   if test x$gcc_no_link = xyes; then
19520   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19521 fi
19522 if ac_fn_cxx_try_link "$LINENO"; then :
19523   ac_cv_search_clock_gettime=$ac_res
19524 fi
19525 rm -f core conftest.err conftest.$ac_objext \
19526     conftest$ac_exeext
19527   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19528   break
19529 fi
19530 done
19531 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19532
19533 else
19534   ac_cv_search_clock_gettime=no
19535 fi
19536 rm conftest.$ac_ext
19537 LIBS=$ac_func_search_save_LIBS
19538 fi
19539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19540 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19541 ac_res=$ac_cv_search_clock_gettime
19542 if test "$ac_res" != no; then :
19543   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19544
19545 fi
19546
19547       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19548 $as_echo_n "checking for library containing nanosleep... " >&6; }
19549 if test "${ac_cv_search_nanosleep+set}" = set; then :
19550   $as_echo_n "(cached) " >&6
19551 else
19552   ac_func_search_save_LIBS=$LIBS
19553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19554 /* end confdefs.h.  */
19555
19556 /* Override any GCC internal prototype to avoid an error.
19557    Use char because int might match the return type of a GCC
19558    builtin and then its argument prototype would still apply.  */
19559 #ifdef __cplusplus
19560 extern "C"
19561 #endif
19562 char nanosleep ();
19563 int
19564 main ()
19565 {
19566 return nanosleep ();
19567   ;
19568   return 0;
19569 }
19570 _ACEOF
19571 for ac_lib in '' posix4; do
19572   if test -z "$ac_lib"; then
19573     ac_res="none required"
19574   else
19575     ac_res=-l$ac_lib
19576     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19577   fi
19578   if test x$gcc_no_link = xyes; then
19579   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19580 fi
19581 if ac_fn_cxx_try_link "$LINENO"; then :
19582   ac_cv_search_nanosleep=$ac_res
19583 fi
19584 rm -f core conftest.err conftest.$ac_objext \
19585     conftest$ac_exeext
19586   if test "${ac_cv_search_nanosleep+set}" = set; then :
19587   break
19588 fi
19589 done
19590 if test "${ac_cv_search_nanosleep+set}" = set; then :
19591
19592 else
19593   ac_cv_search_nanosleep=no
19594 fi
19595 rm conftest.$ac_ext
19596 LIBS=$ac_func_search_save_LIBS
19597 fi
19598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19599 $as_echo "$ac_cv_search_nanosleep" >&6; }
19600 ac_res=$ac_cv_search_nanosleep
19601 if test "$ac_res" != no; then :
19602   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19603
19604 fi
19605
19606     fi
19607
19608     case "$ac_cv_search_clock_gettime" in
19609       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19610       ;;
19611     esac
19612     case "$ac_cv_search_nanosleep" in
19613       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19614       ;;
19615     esac
19616
19617     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19618 $as_echo_n "checking for library containing sched_yield... " >&6; }
19619 if test "${ac_cv_search_sched_yield+set}" = set; then :
19620   $as_echo_n "(cached) " >&6
19621 else
19622   ac_func_search_save_LIBS=$LIBS
19623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19624 /* end confdefs.h.  */
19625
19626 /* Override any GCC internal prototype to avoid an error.
19627    Use char because int might match the return type of a GCC
19628    builtin and then its argument prototype would still apply.  */
19629 #ifdef __cplusplus
19630 extern "C"
19631 #endif
19632 char sched_yield ();
19633 int
19634 main ()
19635 {
19636 return sched_yield ();
19637   ;
19638   return 0;
19639 }
19640 _ACEOF
19641 for ac_lib in '' rt posix4; do
19642   if test -z "$ac_lib"; then
19643     ac_res="none required"
19644   else
19645     ac_res=-l$ac_lib
19646     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19647   fi
19648   if test x$gcc_no_link = xyes; then
19649   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19650 fi
19651 if ac_fn_cxx_try_link "$LINENO"; then :
19652   ac_cv_search_sched_yield=$ac_res
19653 fi
19654 rm -f core conftest.err conftest.$ac_objext \
19655     conftest$ac_exeext
19656   if test "${ac_cv_search_sched_yield+set}" = set; then :
19657   break
19658 fi
19659 done
19660 if test "${ac_cv_search_sched_yield+set}" = set; then :
19661
19662 else
19663   ac_cv_search_sched_yield=no
19664 fi
19665 rm conftest.$ac_ext
19666 LIBS=$ac_func_search_save_LIBS
19667 fi
19668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19669 $as_echo "$ac_cv_search_sched_yield" >&6; }
19670 ac_res=$ac_cv_search_sched_yield
19671 if test "$ac_res" != no; then :
19672   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19673
19674 fi
19675
19676
19677     case "$ac_cv_search_sched_yield" in
19678       -lposix4*)
19679       GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19680
19681 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19682
19683       ;;
19684       -lrt*)
19685       if test x"$enable_libstdcxx_time" = x"rt"; then
19686         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19687
19688 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19689
19690       fi
19691       ;;
19692       *)
19693
19694 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19695
19696       ;;
19697     esac
19698
19699     for ac_header in unistd.h
19700 do :
19701   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19702 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19703   cat >>confdefs.h <<_ACEOF
19704 #define HAVE_UNISTD_H 1
19705 _ACEOF
19706  ac_has_unistd_h=yes
19707 else
19708   ac_has_unistd_h=no
19709 fi
19710
19711 done
19712
19713
19714     if test x"$ac_has_unistd_h" = x"yes"; then
19715       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19716 $as_echo_n "checking for monotonic clock... " >&6; }
19717       if test x$gcc_no_link = xyes; then
19718   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19719 fi
19720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19721 /* end confdefs.h.  */
19722 #include <unistd.h>
19723          #include <time.h>
19724
19725 int
19726 main ()
19727 {
19728 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19729           timespec tp;
19730          #endif
19731           clock_gettime(CLOCK_MONOTONIC, &tp);
19732
19733   ;
19734   return 0;
19735 }
19736 _ACEOF
19737 if ac_fn_cxx_try_link "$LINENO"; then :
19738   ac_has_clock_monotonic=yes
19739 else
19740   ac_has_clock_monotonic=no
19741 fi
19742 rm -f core conftest.err conftest.$ac_objext \
19743     conftest$ac_exeext conftest.$ac_ext
19744
19745       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19746 $as_echo "$ac_has_clock_monotonic" >&6; }
19747
19748       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19749 $as_echo_n "checking for realtime clock... " >&6; }
19750       if test x$gcc_no_link = xyes; then
19751   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19752 fi
19753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19754 /* end confdefs.h.  */
19755 #include <unistd.h>
19756          #include <time.h>
19757
19758 int
19759 main ()
19760 {
19761 #if _POSIX_TIMERS > 0
19762           timespec tp;
19763          #endif
19764           clock_gettime(CLOCK_REALTIME, &tp);
19765
19766   ;
19767   return 0;
19768 }
19769 _ACEOF
19770 if ac_fn_cxx_try_link "$LINENO"; then :
19771   ac_has_clock_realtime=yes
19772 else
19773   ac_has_clock_realtime=no
19774 fi
19775 rm -f core conftest.err conftest.$ac_objext \
19776     conftest$ac_exeext conftest.$ac_ext
19777
19778       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19779 $as_echo "$ac_has_clock_realtime" >&6; }
19780
19781       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19782 $as_echo_n "checking for nanosleep... " >&6; }
19783       if test x$gcc_no_link = xyes; then
19784   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19785 fi
19786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19787 /* end confdefs.h.  */
19788 #include <unistd.h>
19789          #include <time.h>
19790
19791 int
19792 main ()
19793 {
19794 #if _POSIX_TIMERS > 0
19795           timespec tp;
19796          #endif
19797           nanosleep(&tp, 0);
19798
19799   ;
19800   return 0;
19801 }
19802 _ACEOF
19803 if ac_fn_cxx_try_link "$LINENO"; then :
19804   ac_has_nanosleep=yes
19805 else
19806   ac_has_nanosleep=no
19807 fi
19808 rm -f core conftest.err conftest.$ac_objext \
19809     conftest$ac_exeext conftest.$ac_ext
19810
19811       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19812 $as_echo "$ac_has_nanosleep" >&6; }
19813     fi
19814   fi
19815
19816   if test x"$ac_has_clock_monotonic" = x"yes"; then
19817
19818 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19819
19820   fi
19821
19822   if test x"$ac_has_clock_realtime" = x"yes"; then
19823
19824 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19825
19826   fi
19827
19828   if test x"$ac_has_nanosleep" = x"yes"; then
19829
19830 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19831
19832   fi
19833
19834
19835
19836   CXXFLAGS="$ac_save_CXXFLAGS"
19837   LIBS="$ac_save_LIBS"
19838   ac_ext=c
19839 ac_cpp='$CPP $CPPFLAGS'
19840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19843
19844
19845
19846
19847   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19848 if test "x$ac_cv_header_locale_h" = x""yes; then :
19849
19850     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19851 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19852 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19853   $as_echo_n "(cached) " >&6
19854 else
19855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19856 /* end confdefs.h.  */
19857 #include <locale.h>
19858 int
19859 main ()
19860 {
19861 return LC_MESSAGES
19862   ;
19863   return 0;
19864 }
19865 _ACEOF
19866 if ac_fn_c_try_compile "$LINENO"; then :
19867   ac_cv_val_LC_MESSAGES=yes
19868 else
19869   ac_cv_val_LC_MESSAGES=no
19870 fi
19871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19872 fi
19873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19874 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19875     if test $ac_cv_val_LC_MESSAGES = yes; then
19876
19877 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19878
19879     fi
19880
19881 fi
19882
19883
19884
19885
19886 # For hardware_concurrency
19887 for ac_header in sys/sysinfo.h
19888 do :
19889   ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19890 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19891   cat >>confdefs.h <<_ACEOF
19892 #define HAVE_SYS_SYSINFO_H 1
19893 _ACEOF
19894
19895 fi
19896
19897 done
19898
19899
19900
19901
19902   ac_ext=cpp
19903 ac_cpp='$CXXCPP $CPPFLAGS'
19904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19907
19908   ac_save_CXXFLAGS="$CXXFLAGS"
19909   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19910
19911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19912 $as_echo_n "checking for get_nprocs... " >&6; }
19913   if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19914   $as_echo_n "(cached) " >&6
19915 else
19916
19917     if test x$gcc_no_link = xyes; then
19918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19919 /* end confdefs.h.  */
19920 #include <sys/sysinfo.h>
19921 int
19922 main ()
19923 {
19924 int n = get_nprocs();
19925   ;
19926   return 0;
19927 }
19928 _ACEOF
19929 if ac_fn_cxx_try_compile "$LINENO"; then :
19930   glibcxx_cv_GET_NPROCS=yes
19931 else
19932   glibcxx_cv_GET_NPROCS=no
19933 fi
19934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19935 else
19936   if test x$gcc_no_link = xyes; then
19937   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19938 fi
19939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19940 /* end confdefs.h.  */
19941 #include <sys/sysinfo.h>
19942 int
19943 main ()
19944 {
19945 int n = get_nprocs();
19946   ;
19947   return 0;
19948 }
19949 _ACEOF
19950 if ac_fn_cxx_try_link "$LINENO"; then :
19951   glibcxx_cv_GET_NPROCS=yes
19952 else
19953   glibcxx_cv_GET_NPROCS=no
19954 fi
19955 rm -f core conftest.err conftest.$ac_objext \
19956     conftest$ac_exeext conftest.$ac_ext
19957 fi
19958
19959 fi
19960
19961   if test $glibcxx_cv_GET_NPROCS = yes; then
19962
19963 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
19964
19965   fi
19966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
19967 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
19968
19969   CXXFLAGS="$ac_save_CXXFLAGS"
19970   ac_ext=c
19971 ac_cpp='$CPP $CPPFLAGS'
19972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19975
19976
19977 for ac_header in unistd.h
19978 do :
19979   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19980 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19981   cat >>confdefs.h <<_ACEOF
19982 #define HAVE_UNISTD_H 1
19983 _ACEOF
19984
19985 fi
19986
19987 done
19988
19989
19990
19991
19992   ac_ext=cpp
19993 ac_cpp='$CXXCPP $CPPFLAGS'
19994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19997
19998   ac_save_CXXFLAGS="$CXXFLAGS"
19999   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20000
20001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20002 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20003   if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20004   $as_echo_n "(cached) " >&6
20005 else
20006
20007     if test x$gcc_no_link = xyes; then
20008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20009 /* end confdefs.h.  */
20010 #include <unistd.h>
20011 int
20012 main ()
20013 {
20014 int n = sysconf(_SC_NPROCESSORS_ONLN);
20015   ;
20016   return 0;
20017 }
20018 _ACEOF
20019 if ac_fn_cxx_try_compile "$LINENO"; then :
20020   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20021 else
20022   glibcxx_cv_SC_NPROCESSORS_ONLN=no
20023 fi
20024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20025 else
20026   if test x$gcc_no_link = xyes; then
20027   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20028 fi
20029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20030 /* end confdefs.h.  */
20031 #include <unistd.h>
20032 int
20033 main ()
20034 {
20035 int n = sysconf(_SC_NPROCESSORS_ONLN);
20036   ;
20037   return 0;
20038 }
20039 _ACEOF
20040 if ac_fn_cxx_try_link "$LINENO"; then :
20041   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20042 else
20043   glibcxx_cv_SC_NPROCESSORS_ONLN=no
20044 fi
20045 rm -f core conftest.err conftest.$ac_objext \
20046     conftest$ac_exeext conftest.$ac_ext
20047 fi
20048
20049 fi
20050
20051   if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20052
20053 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20054
20055   fi
20056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20057 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20058
20059   CXXFLAGS="$ac_save_CXXFLAGS"
20060   ac_ext=c
20061 ac_cpp='$CPP $CPPFLAGS'
20062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20065
20066
20067
20068
20069
20070   ac_ext=cpp
20071 ac_cpp='$CXXCPP $CPPFLAGS'
20072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20075
20076   ac_save_CXXFLAGS="$CXXFLAGS"
20077   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20078
20079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20080 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20081   if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20082   $as_echo_n "(cached) " >&6
20083 else
20084
20085     if test x$gcc_no_link = xyes; then
20086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20087 /* end confdefs.h.  */
20088 #include <unistd.h>
20089 int
20090 main ()
20091 {
20092 int n = sysconf(_SC_NPROC_ONLN);
20093   ;
20094   return 0;
20095 }
20096 _ACEOF
20097 if ac_fn_cxx_try_compile "$LINENO"; then :
20098   glibcxx_cv_SC_NPROC_ONLN=yes
20099 else
20100   glibcxx_cv_SC_NPROC_ONLN=no
20101 fi
20102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20103 else
20104   if test x$gcc_no_link = xyes; then
20105   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20106 fi
20107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20108 /* end confdefs.h.  */
20109 #include <unistd.h>
20110 int
20111 main ()
20112 {
20113 int n = sysconf(_SC_NPROC_ONLN);
20114   ;
20115   return 0;
20116 }
20117 _ACEOF
20118 if ac_fn_cxx_try_link "$LINENO"; then :
20119   glibcxx_cv_SC_NPROC_ONLN=yes
20120 else
20121   glibcxx_cv_SC_NPROC_ONLN=no
20122 fi
20123 rm -f core conftest.err conftest.$ac_objext \
20124     conftest$ac_exeext conftest.$ac_ext
20125 fi
20126
20127 fi
20128
20129   if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20130
20131 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20132
20133   fi
20134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20135 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20136
20137   CXXFLAGS="$ac_save_CXXFLAGS"
20138   ac_ext=c
20139 ac_cpp='$CPP $CPPFLAGS'
20140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20143
20144
20145
20146
20147
20148   ac_ext=cpp
20149 ac_cpp='$CXXCPP $CPPFLAGS'
20150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20153
20154   ac_save_CXXFLAGS="$CXXFLAGS"
20155   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20156
20157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20158 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20159   if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20160   $as_echo_n "(cached) " >&6
20161 else
20162
20163     if test x$gcc_no_link = xyes; then
20164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20165 /* end confdefs.h.  */
20166 #include <pthread.h>
20167 int
20168 main ()
20169 {
20170 int n = pthread_num_processors_np();
20171   ;
20172   return 0;
20173 }
20174 _ACEOF
20175 if ac_fn_cxx_try_compile "$LINENO"; then :
20176   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20177 else
20178   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20179 fi
20180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20181 else
20182   if test x$gcc_no_link = xyes; then
20183   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20184 fi
20185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20186 /* end confdefs.h.  */
20187 #include <pthread.h>
20188 int
20189 main ()
20190 {
20191 int n = pthread_num_processors_np();
20192   ;
20193   return 0;
20194 }
20195 _ACEOF
20196 if ac_fn_cxx_try_link "$LINENO"; then :
20197   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20198 else
20199   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20200 fi
20201 rm -f core conftest.err conftest.$ac_objext \
20202     conftest$ac_exeext conftest.$ac_ext
20203 fi
20204
20205 fi
20206
20207   if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20208
20209 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20210
20211   fi
20212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20213 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20214
20215   CXXFLAGS="$ac_save_CXXFLAGS"
20216   ac_ext=c
20217 ac_cpp='$CPP $CPPFLAGS'
20218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20221
20222
20223
20224
20225
20226   ac_ext=cpp
20227 ac_cpp='$CXXCPP $CPPFLAGS'
20228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20231
20232   ac_save_CXXFLAGS="$CXXFLAGS"
20233   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20234
20235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20236 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20237   if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20238   $as_echo_n "(cached) " >&6
20239 else
20240
20241     if test x$gcc_no_link = xyes; then
20242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20243 /* end confdefs.h.  */
20244
20245        #include <stddef.h>
20246        #include <sys/sysctl.h>
20247
20248 int
20249 main ()
20250 {
20251
20252        int count;
20253        size_t size = sizeof(count);
20254        int mib[] = { CTL_HW, HW_NCPU };
20255        sysctl(mib, 2, &count, &size, NULL, 0);
20256
20257   ;
20258   return 0;
20259 }
20260 _ACEOF
20261 if ac_fn_cxx_try_compile "$LINENO"; then :
20262   glibcxx_cv_SYSCTL_HW_NCPU=yes
20263 else
20264   glibcxx_cv_SYSCTL_HW_NCPU=no
20265 fi
20266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20267 else
20268   if test x$gcc_no_link = xyes; then
20269   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20270 fi
20271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20272 /* end confdefs.h.  */
20273
20274        #include <stddef.h>
20275        #include <sys/sysctl.h>
20276
20277 int
20278 main ()
20279 {
20280
20281        int count;
20282        size_t size = sizeof(count);
20283        int mib[] = { CTL_HW, HW_NCPU };
20284        sysctl(mib, 2, &count, &size, NULL, 0);
20285
20286   ;
20287   return 0;
20288 }
20289 _ACEOF
20290 if ac_fn_cxx_try_link "$LINENO"; then :
20291   glibcxx_cv_SYSCTL_HW_NCPU=yes
20292 else
20293   glibcxx_cv_SYSCTL_HW_NCPU=no
20294 fi
20295 rm -f core conftest.err conftest.$ac_objext \
20296     conftest$ac_exeext conftest.$ac_ext
20297 fi
20298
20299 fi
20300
20301   if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20302
20303 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20304
20305   fi
20306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20307 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20308
20309   CXXFLAGS="$ac_save_CXXFLAGS"
20310   ac_ext=c
20311 ac_cpp='$CPP $CPPFLAGS'
20312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20315
20316
20317
20318 # Check for available headers.
20319 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20320 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20321 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20322 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20323 wchar.h wctype.h
20324 do :
20325   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20326 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20327 eval as_val=\$$as_ac_Header
20328    if test "x$as_val" = x""yes; then :
20329   cat >>confdefs.h <<_ACEOF
20330 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20331 _ACEOF
20332
20333 fi
20334
20335 done
20336
20337
20338 # Only do link tests if native. Else, hardcode.
20339 if $GLIBCXX_IS_NATIVE; then
20340
20341   # We can do more elaborate tests that assume a working linker.
20342   CANADIAN=no
20343
20344
20345
20346 # Check whether --with-gnu-ld was given.
20347 if test "${with_gnu_ld+set}" = set; then :
20348   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20349 else
20350   with_gnu_ld=no
20351 fi
20352
20353 ac_prog=ld
20354 if test "$GCC" = yes; then
20355   # Check if gcc -print-prog-name=ld gives a path.
20356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20357 $as_echo_n "checking for ld used by $CC... " >&6; }
20358   case $host in
20359   *-*-mingw*)
20360     # gcc leaves a trailing carriage return which upsets mingw
20361     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20362   *)
20363     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20364   esac
20365   case $ac_prog in
20366     # Accept absolute paths.
20367     [\\/]* | ?:[\\/]*)
20368       re_direlt='/[^/][^/]*/\.\./'
20369       # Canonicalize the pathname of ld
20370       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20371       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20372         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20373       done
20374       test -z "$LD" && LD="$ac_prog"
20375       ;;
20376   "")
20377     # If it fails, then pretend we aren't using GCC.
20378     ac_prog=ld
20379     ;;
20380   *)
20381     # If it is relative, then search for the first ld in PATH.
20382     with_gnu_ld=unknown
20383     ;;
20384   esac
20385 elif test "$with_gnu_ld" = yes; then
20386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20387 $as_echo_n "checking for GNU ld... " >&6; }
20388 else
20389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20390 $as_echo_n "checking for non-GNU ld... " >&6; }
20391 fi
20392 if test "${lt_cv_path_LD+set}" = set; then :
20393   $as_echo_n "(cached) " >&6
20394 else
20395   if test -z "$LD"; then
20396   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20397   for ac_dir in $PATH; do
20398     IFS="$lt_save_ifs"
20399     test -z "$ac_dir" && ac_dir=.
20400     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20401       lt_cv_path_LD="$ac_dir/$ac_prog"
20402       # Check to see if the program is GNU ld.  I'd rather use --version,
20403       # but apparently some variants of GNU ld only accept -v.
20404       # Break only if it was the GNU/non-GNU ld that we prefer.
20405       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20406       *GNU* | *'with BFD'*)
20407         test "$with_gnu_ld" != no && break
20408         ;;
20409       *)
20410         test "$with_gnu_ld" != yes && break
20411         ;;
20412       esac
20413     fi
20414   done
20415   IFS="$lt_save_ifs"
20416 else
20417   lt_cv_path_LD="$LD" # Let the user override the test with a path.
20418 fi
20419 fi
20420
20421 LD="$lt_cv_path_LD"
20422 if test -n "$LD"; then
20423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20424 $as_echo "$LD" >&6; }
20425 else
20426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20427 $as_echo "no" >&6; }
20428 fi
20429 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20431 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20432 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20433   $as_echo_n "(cached) " >&6
20434 else
20435   # I'd rather use --version here, but apparently some GNU lds only accept -v.
20436 case `$LD -v 2>&1 </dev/null` in
20437 *GNU* | *'with BFD'*)
20438   lt_cv_prog_gnu_ld=yes
20439   ;;
20440 *)
20441   lt_cv_prog_gnu_ld=no
20442   ;;
20443 esac
20444 fi
20445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20446 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20447 with_gnu_ld=$lt_cv_prog_gnu_ld
20448
20449
20450
20451
20452
20453
20454
20455   # If we're not using GNU ld, then there's no point in even trying these
20456   # tests.  Check for that first.  We should have already tested for gld
20457   # by now (in libtool), but require it now just to be safe...
20458   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20459   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20460
20461
20462
20463   # The name set by libtool depends on the version of libtool.  Shame on us
20464   # for depending on an impl detail, but c'est la vie.  Older versions used
20465   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20466   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20467   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
20468   # set (hence we're using an older libtool), then set it.
20469   if test x${with_gnu_ld+set} != xset; then
20470     if test x${ac_cv_prog_gnu_ld+set} != xset; then
20471       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
20472       with_gnu_ld=no
20473     else
20474       with_gnu_ld=$ac_cv_prog_gnu_ld
20475     fi
20476   fi
20477
20478   # Start by getting the version number.  I think the libtool test already
20479   # does some of this, but throws away the result.
20480   glibcxx_ld_is_gold=no
20481   if test x"$with_gnu_ld" = x"yes"; then
20482     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20483 $as_echo_n "checking for ld version... " >&6; }
20484
20485     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20486       glibcxx_ld_is_gold=yes
20487     fi
20488     ldver=`$LD --version 2>/dev/null |
20489            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'`
20490
20491     glibcxx_gnu_ld_version=`echo $ldver | \
20492            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20493     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20494 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20495   fi
20496
20497   # Set --gc-sections.
20498   glibcxx_have_gc_sections=no
20499   if test "$glibcxx_ld_is_gold" = "yes"; then
20500     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20501       glibcxx_have_gc_sections=yes
20502     fi
20503   else
20504     glibcxx_gcsections_min_ld=21602
20505     if test x"$with_gnu_ld" = x"yes" &&
20506         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20507       glibcxx_have_gc_sections=yes
20508     fi
20509   fi
20510   if test "$glibcxx_have_gc_sections" = "yes"; then
20511     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
20512     # NB: This flag only works reliably after 2.16.1. Configure tests
20513     # for this are difficult, so hard wire a value that should work.
20514
20515     ac_test_CFLAGS="${CFLAGS+set}"
20516     ac_save_CFLAGS="$CFLAGS"
20517     CFLAGS='-Wl,--gc-sections'
20518
20519     # Check for -Wl,--gc-sections
20520     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20521 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20522     if test x$gcc_no_link = xyes; then
20523   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20524 fi
20525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20526 /* end confdefs.h.  */
20527  int one(void) { return 1; }
20528      int two(void) { return 2; }
20529
20530 int
20531 main ()
20532 {
20533  two();
20534   ;
20535   return 0;
20536 }
20537 _ACEOF
20538 if ac_fn_c_try_link "$LINENO"; then :
20539   ac_gcsections=yes
20540 else
20541   ac_gcsections=no
20542 fi
20543 rm -f core conftest.err conftest.$ac_objext \
20544     conftest$ac_exeext conftest.$ac_ext
20545     if test "$ac_gcsections" = "yes"; then
20546       rm -f conftest.c
20547       touch conftest.c
20548       if $CC -c conftest.c; then
20549         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20550            grep "Warning: gc-sections option ignored" > /dev/null; then
20551           ac_gcsections=no
20552         fi
20553       fi
20554       rm -f conftest.c conftest.o conftest
20555     fi
20556     if test "$ac_gcsections" = "yes"; then
20557       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20558     fi
20559     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20560 $as_echo "$ac_gcsections" >&6; }
20561
20562     if test "$ac_test_CFLAGS" = set; then
20563       CFLAGS="$ac_save_CFLAGS"
20564     else
20565       # this is the suspicious part
20566       CFLAGS=''
20567     fi
20568   fi
20569
20570   # Set -z,relro.
20571   # Note this is only for shared objects.
20572   ac_ld_relro=no
20573   if test x"$with_gnu_ld" = x"yes"; then
20574     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20575 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20576     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20577     if test -n "$cxx_z_relo"; then
20578       OPT_LDFLAGS="-Wl,-z,relro"
20579       ac_ld_relro=yes
20580     fi
20581     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20582 $as_echo "$ac_ld_relro" >&6; }
20583   fi
20584
20585   # Set linker optimization flags.
20586   if test x"$with_gnu_ld" = x"yes"; then
20587     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20588   fi
20589
20590
20591
20592
20593
20594   ac_test_CXXFLAGS="${CXXFLAGS+set}"
20595   ac_save_CXXFLAGS="$CXXFLAGS"
20596   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20597
20598     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20599 $as_echo_n "checking for sin in -lm... " >&6; }
20600 if test "${ac_cv_lib_m_sin+set}" = set; then :
20601   $as_echo_n "(cached) " >&6
20602 else
20603   ac_check_lib_save_LIBS=$LIBS
20604 LIBS="-lm  $LIBS"
20605 if test x$gcc_no_link = xyes; then
20606   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20607 fi
20608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20609 /* end confdefs.h.  */
20610
20611 /* Override any GCC internal prototype to avoid an error.
20612    Use char because int might match the return type of a GCC
20613    builtin and then its argument prototype would still apply.  */
20614 #ifdef __cplusplus
20615 extern "C"
20616 #endif
20617 char sin ();
20618 int
20619 main ()
20620 {
20621 return sin ();
20622   ;
20623   return 0;
20624 }
20625 _ACEOF
20626 if ac_fn_c_try_link "$LINENO"; then :
20627   ac_cv_lib_m_sin=yes
20628 else
20629   ac_cv_lib_m_sin=no
20630 fi
20631 rm -f core conftest.err conftest.$ac_objext \
20632     conftest$ac_exeext conftest.$ac_ext
20633 LIBS=$ac_check_lib_save_LIBS
20634 fi
20635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20636 $as_echo "$ac_cv_lib_m_sin" >&6; }
20637 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20638   libm="-lm"
20639 fi
20640
20641   ac_save_LIBS="$LIBS"
20642   LIBS="$LIBS $libm"
20643
20644
20645
20646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20647 $as_echo_n "checking for isinf declaration... " >&6; }
20648   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20649     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20650   $as_echo_n "(cached) " >&6
20651 else
20652
20653
20654       ac_ext=cpp
20655 ac_cpp='$CXXCPP $CPPFLAGS'
20656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20659
20660       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20661 /* end confdefs.h.  */
20662 #include <math.h>
20663                       #ifdef HAVE_IEEEFP_H
20664                       #include <ieeefp.h>
20665                       #endif
20666
20667 int
20668 main ()
20669 {
20670  isinf(0);
20671   ;
20672   return 0;
20673 }
20674 _ACEOF
20675 if ac_fn_cxx_try_compile "$LINENO"; then :
20676   glibcxx_cv_func_isinf_use=yes
20677 else
20678   glibcxx_cv_func_isinf_use=no
20679 fi
20680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20681       ac_ext=c
20682 ac_cpp='$CPP $CPPFLAGS'
20683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20686
20687
20688 fi
20689
20690   fi
20691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20692 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20693
20694   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20695     for ac_func in isinf
20696 do :
20697   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20698 if test "x$ac_cv_func_isinf" = x""yes; then :
20699   cat >>confdefs.h <<_ACEOF
20700 #define HAVE_ISINF 1
20701 _ACEOF
20702
20703 fi
20704 done
20705
20706   else
20707
20708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20709 $as_echo_n "checking for _isinf declaration... " >&6; }
20710   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20711     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20712   $as_echo_n "(cached) " >&6
20713 else
20714
20715
20716       ac_ext=cpp
20717 ac_cpp='$CXXCPP $CPPFLAGS'
20718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20721
20722       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20723 /* end confdefs.h.  */
20724 #include <math.h>
20725                       #ifdef HAVE_IEEEFP_H
20726                       #include <ieeefp.h>
20727                       #endif
20728
20729 int
20730 main ()
20731 {
20732  _isinf(0);
20733   ;
20734   return 0;
20735 }
20736 _ACEOF
20737 if ac_fn_cxx_try_compile "$LINENO"; then :
20738   glibcxx_cv_func__isinf_use=yes
20739 else
20740   glibcxx_cv_func__isinf_use=no
20741 fi
20742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20743       ac_ext=c
20744 ac_cpp='$CPP $CPPFLAGS'
20745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20748
20749
20750 fi
20751
20752   fi
20753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20754 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20755
20756     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20757       for ac_func in _isinf
20758 do :
20759   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20760 if test "x$ac_cv_func__isinf" = x""yes; then :
20761   cat >>confdefs.h <<_ACEOF
20762 #define HAVE__ISINF 1
20763 _ACEOF
20764
20765 fi
20766 done
20767
20768     fi
20769   fi
20770
20771
20772
20773
20774
20775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20776 $as_echo_n "checking for isnan declaration... " >&6; }
20777   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20778     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20779   $as_echo_n "(cached) " >&6
20780 else
20781
20782
20783       ac_ext=cpp
20784 ac_cpp='$CXXCPP $CPPFLAGS'
20785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20788
20789       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20790 /* end confdefs.h.  */
20791 #include <math.h>
20792                       #ifdef HAVE_IEEEFP_H
20793                       #include <ieeefp.h>
20794                       #endif
20795
20796 int
20797 main ()
20798 {
20799  isnan(0);
20800   ;
20801   return 0;
20802 }
20803 _ACEOF
20804 if ac_fn_cxx_try_compile "$LINENO"; then :
20805   glibcxx_cv_func_isnan_use=yes
20806 else
20807   glibcxx_cv_func_isnan_use=no
20808 fi
20809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20810       ac_ext=c
20811 ac_cpp='$CPP $CPPFLAGS'
20812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20815
20816
20817 fi
20818
20819   fi
20820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20821 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20822
20823   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20824     for ac_func in isnan
20825 do :
20826   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20827 if test "x$ac_cv_func_isnan" = x""yes; then :
20828   cat >>confdefs.h <<_ACEOF
20829 #define HAVE_ISNAN 1
20830 _ACEOF
20831
20832 fi
20833 done
20834
20835   else
20836
20837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20838 $as_echo_n "checking for _isnan declaration... " >&6; }
20839   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20840     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20841   $as_echo_n "(cached) " >&6
20842 else
20843
20844
20845       ac_ext=cpp
20846 ac_cpp='$CXXCPP $CPPFLAGS'
20847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20850
20851       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20852 /* end confdefs.h.  */
20853 #include <math.h>
20854                       #ifdef HAVE_IEEEFP_H
20855                       #include <ieeefp.h>
20856                       #endif
20857
20858 int
20859 main ()
20860 {
20861  _isnan(0);
20862   ;
20863   return 0;
20864 }
20865 _ACEOF
20866 if ac_fn_cxx_try_compile "$LINENO"; then :
20867   glibcxx_cv_func__isnan_use=yes
20868 else
20869   glibcxx_cv_func__isnan_use=no
20870 fi
20871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20872       ac_ext=c
20873 ac_cpp='$CPP $CPPFLAGS'
20874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20877
20878
20879 fi
20880
20881   fi
20882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20883 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20884
20885     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20886       for ac_func in _isnan
20887 do :
20888   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20889 if test "x$ac_cv_func__isnan" = x""yes; then :
20890   cat >>confdefs.h <<_ACEOF
20891 #define HAVE__ISNAN 1
20892 _ACEOF
20893
20894 fi
20895 done
20896
20897     fi
20898   fi
20899
20900
20901
20902
20903
20904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20905 $as_echo_n "checking for finite declaration... " >&6; }
20906   if test x${glibcxx_cv_func_finite_use+set} != xset; then
20907     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20908   $as_echo_n "(cached) " >&6
20909 else
20910
20911
20912       ac_ext=cpp
20913 ac_cpp='$CXXCPP $CPPFLAGS'
20914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20917
20918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20919 /* end confdefs.h.  */
20920 #include <math.h>
20921                       #ifdef HAVE_IEEEFP_H
20922                       #include <ieeefp.h>
20923                       #endif
20924
20925 int
20926 main ()
20927 {
20928  finite(0);
20929   ;
20930   return 0;
20931 }
20932 _ACEOF
20933 if ac_fn_cxx_try_compile "$LINENO"; then :
20934   glibcxx_cv_func_finite_use=yes
20935 else
20936   glibcxx_cv_func_finite_use=no
20937 fi
20938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20939       ac_ext=c
20940 ac_cpp='$CPP $CPPFLAGS'
20941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20944
20945
20946 fi
20947
20948   fi
20949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20950 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20951
20952   if test x$glibcxx_cv_func_finite_use = x"yes"; then
20953     for ac_func in finite
20954 do :
20955   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20956 if test "x$ac_cv_func_finite" = x""yes; then :
20957   cat >>confdefs.h <<_ACEOF
20958 #define HAVE_FINITE 1
20959 _ACEOF
20960
20961 fi
20962 done
20963
20964   else
20965
20966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20967 $as_echo_n "checking for _finite declaration... " >&6; }
20968   if test x${glibcxx_cv_func__finite_use+set} != xset; then
20969     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20970   $as_echo_n "(cached) " >&6
20971 else
20972
20973
20974       ac_ext=cpp
20975 ac_cpp='$CXXCPP $CPPFLAGS'
20976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20979
20980       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20981 /* end confdefs.h.  */
20982 #include <math.h>
20983                       #ifdef HAVE_IEEEFP_H
20984                       #include <ieeefp.h>
20985                       #endif
20986
20987 int
20988 main ()
20989 {
20990  _finite(0);
20991   ;
20992   return 0;
20993 }
20994 _ACEOF
20995 if ac_fn_cxx_try_compile "$LINENO"; then :
20996   glibcxx_cv_func__finite_use=yes
20997 else
20998   glibcxx_cv_func__finite_use=no
20999 fi
21000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21001       ac_ext=c
21002 ac_cpp='$CPP $CPPFLAGS'
21003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21006
21007
21008 fi
21009
21010   fi
21011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21012 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21013
21014     if test x$glibcxx_cv_func__finite_use = x"yes"; then
21015       for ac_func in _finite
21016 do :
21017   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21018 if test "x$ac_cv_func__finite" = x""yes; then :
21019   cat >>confdefs.h <<_ACEOF
21020 #define HAVE__FINITE 1
21021 _ACEOF
21022
21023 fi
21024 done
21025
21026     fi
21027   fi
21028
21029
21030
21031
21032
21033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21034 $as_echo_n "checking for sincos declaration... " >&6; }
21035   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21036     if test "${glibcxx_cv_func_sincos_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 int
21051 main ()
21052 {
21053  sincos(0, 0, 0);
21054   ;
21055   return 0;
21056 }
21057 _ACEOF
21058 if ac_fn_cxx_try_compile "$LINENO"; then :
21059   glibcxx_cv_func_sincos_use=yes
21060 else
21061   glibcxx_cv_func_sincos_use=no
21062 fi
21063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21064       ac_ext=c
21065 ac_cpp='$CPP $CPPFLAGS'
21066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21069
21070
21071 fi
21072
21073   fi
21074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21075 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21076
21077   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21078     for ac_func in sincos
21079 do :
21080   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21081 if test "x$ac_cv_func_sincos" = x""yes; then :
21082   cat >>confdefs.h <<_ACEOF
21083 #define HAVE_SINCOS 1
21084 _ACEOF
21085
21086 fi
21087 done
21088
21089   else
21090
21091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21092 $as_echo_n "checking for _sincos declaration... " >&6; }
21093   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21094     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21095   $as_echo_n "(cached) " >&6
21096 else
21097
21098
21099       ac_ext=cpp
21100 ac_cpp='$CXXCPP $CPPFLAGS'
21101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21104
21105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21106 /* end confdefs.h.  */
21107 #include <math.h>
21108 int
21109 main ()
21110 {
21111  _sincos(0, 0, 0);
21112   ;
21113   return 0;
21114 }
21115 _ACEOF
21116 if ac_fn_cxx_try_compile "$LINENO"; then :
21117   glibcxx_cv_func__sincos_use=yes
21118 else
21119   glibcxx_cv_func__sincos_use=no
21120 fi
21121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21122       ac_ext=c
21123 ac_cpp='$CPP $CPPFLAGS'
21124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21127
21128
21129 fi
21130
21131   fi
21132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21133 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21134
21135     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21136       for ac_func in _sincos
21137 do :
21138   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21139 if test "x$ac_cv_func__sincos" = x""yes; then :
21140   cat >>confdefs.h <<_ACEOF
21141 #define HAVE__SINCOS 1
21142 _ACEOF
21143
21144 fi
21145 done
21146
21147     fi
21148   fi
21149
21150
21151
21152
21153
21154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21155 $as_echo_n "checking for fpclass declaration... " >&6; }
21156   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21157     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21158   $as_echo_n "(cached) " >&6
21159 else
21160
21161
21162       ac_ext=cpp
21163 ac_cpp='$CXXCPP $CPPFLAGS'
21164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21167
21168       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21169 /* end confdefs.h.  */
21170 #include <math.h>
21171                       #ifdef HAVE_IEEEFP_H
21172                       #include <ieeefp.h>
21173                       #endif
21174
21175 int
21176 main ()
21177 {
21178  fpclass(0);
21179   ;
21180   return 0;
21181 }
21182 _ACEOF
21183 if ac_fn_cxx_try_compile "$LINENO"; then :
21184   glibcxx_cv_func_fpclass_use=yes
21185 else
21186   glibcxx_cv_func_fpclass_use=no
21187 fi
21188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21189       ac_ext=c
21190 ac_cpp='$CPP $CPPFLAGS'
21191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21194
21195
21196 fi
21197
21198   fi
21199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21200 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21201
21202   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21203     for ac_func in fpclass
21204 do :
21205   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21206 if test "x$ac_cv_func_fpclass" = x""yes; then :
21207   cat >>confdefs.h <<_ACEOF
21208 #define HAVE_FPCLASS 1
21209 _ACEOF
21210
21211 fi
21212 done
21213
21214   else
21215
21216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21217 $as_echo_n "checking for _fpclass declaration... " >&6; }
21218   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21219     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21220   $as_echo_n "(cached) " >&6
21221 else
21222
21223
21224       ac_ext=cpp
21225 ac_cpp='$CXXCPP $CPPFLAGS'
21226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21229
21230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21231 /* end confdefs.h.  */
21232 #include <math.h>
21233                       #ifdef HAVE_IEEEFP_H
21234                       #include <ieeefp.h>
21235                       #endif
21236
21237 int
21238 main ()
21239 {
21240  _fpclass(0);
21241   ;
21242   return 0;
21243 }
21244 _ACEOF
21245 if ac_fn_cxx_try_compile "$LINENO"; then :
21246   glibcxx_cv_func__fpclass_use=yes
21247 else
21248   glibcxx_cv_func__fpclass_use=no
21249 fi
21250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21251       ac_ext=c
21252 ac_cpp='$CPP $CPPFLAGS'
21253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21256
21257
21258 fi
21259
21260   fi
21261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21262 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21263
21264     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21265       for ac_func in _fpclass
21266 do :
21267   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21268 if test "x$ac_cv_func__fpclass" = x""yes; then :
21269   cat >>confdefs.h <<_ACEOF
21270 #define HAVE__FPCLASS 1
21271 _ACEOF
21272
21273 fi
21274 done
21275
21276     fi
21277   fi
21278
21279
21280
21281
21282
21283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21284 $as_echo_n "checking for qfpclass declaration... " >&6; }
21285   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21286     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21287   $as_echo_n "(cached) " >&6
21288 else
21289
21290
21291       ac_ext=cpp
21292 ac_cpp='$CXXCPP $CPPFLAGS'
21293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21296
21297       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21298 /* end confdefs.h.  */
21299 #include <math.h>
21300                       #ifdef HAVE_IEEEFP_H
21301                       #include <ieeefp.h>
21302                       #endif
21303
21304 int
21305 main ()
21306 {
21307  qfpclass(0);
21308   ;
21309   return 0;
21310 }
21311 _ACEOF
21312 if ac_fn_cxx_try_compile "$LINENO"; then :
21313   glibcxx_cv_func_qfpclass_use=yes
21314 else
21315   glibcxx_cv_func_qfpclass_use=no
21316 fi
21317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21318       ac_ext=c
21319 ac_cpp='$CPP $CPPFLAGS'
21320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21323
21324
21325 fi
21326
21327   fi
21328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21329 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21330
21331   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21332     for ac_func in qfpclass
21333 do :
21334   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21335 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21336   cat >>confdefs.h <<_ACEOF
21337 #define HAVE_QFPCLASS 1
21338 _ACEOF
21339
21340 fi
21341 done
21342
21343   else
21344
21345   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21346 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21347   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21348     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21349   $as_echo_n "(cached) " >&6
21350 else
21351
21352
21353       ac_ext=cpp
21354 ac_cpp='$CXXCPP $CPPFLAGS'
21355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21358
21359       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21360 /* end confdefs.h.  */
21361 #include <math.h>
21362                       #ifdef HAVE_IEEEFP_H
21363                       #include <ieeefp.h>
21364                       #endif
21365
21366 int
21367 main ()
21368 {
21369  _qfpclass(0);
21370   ;
21371   return 0;
21372 }
21373 _ACEOF
21374 if ac_fn_cxx_try_compile "$LINENO"; then :
21375   glibcxx_cv_func__qfpclass_use=yes
21376 else
21377   glibcxx_cv_func__qfpclass_use=no
21378 fi
21379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21380       ac_ext=c
21381 ac_cpp='$CPP $CPPFLAGS'
21382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21385
21386
21387 fi
21388
21389   fi
21390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21391 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21392
21393     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21394       for ac_func in _qfpclass
21395 do :
21396   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21397 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21398   cat >>confdefs.h <<_ACEOF
21399 #define HAVE__QFPCLASS 1
21400 _ACEOF
21401
21402 fi
21403 done
21404
21405     fi
21406   fi
21407
21408
21409
21410
21411
21412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21413 $as_echo_n "checking for hypot declaration... " >&6; }
21414   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21415     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21416   $as_echo_n "(cached) " >&6
21417 else
21418
21419
21420       ac_ext=cpp
21421 ac_cpp='$CXXCPP $CPPFLAGS'
21422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21425
21426       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21427 /* end confdefs.h.  */
21428 #include <math.h>
21429 int
21430 main ()
21431 {
21432  hypot(0, 0);
21433   ;
21434   return 0;
21435 }
21436 _ACEOF
21437 if ac_fn_cxx_try_compile "$LINENO"; then :
21438   glibcxx_cv_func_hypot_use=yes
21439 else
21440   glibcxx_cv_func_hypot_use=no
21441 fi
21442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21443       ac_ext=c
21444 ac_cpp='$CPP $CPPFLAGS'
21445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21448
21449
21450 fi
21451
21452   fi
21453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21454 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21455
21456   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21457     for ac_func in hypot
21458 do :
21459   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21460 if test "x$ac_cv_func_hypot" = x""yes; then :
21461   cat >>confdefs.h <<_ACEOF
21462 #define HAVE_HYPOT 1
21463 _ACEOF
21464
21465 fi
21466 done
21467
21468   else
21469
21470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21471 $as_echo_n "checking for _hypot declaration... " >&6; }
21472   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21473     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21474   $as_echo_n "(cached) " >&6
21475 else
21476
21477
21478       ac_ext=cpp
21479 ac_cpp='$CXXCPP $CPPFLAGS'
21480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21483
21484       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21485 /* end confdefs.h.  */
21486 #include <math.h>
21487 int
21488 main ()
21489 {
21490  _hypot(0, 0);
21491   ;
21492   return 0;
21493 }
21494 _ACEOF
21495 if ac_fn_cxx_try_compile "$LINENO"; then :
21496   glibcxx_cv_func__hypot_use=yes
21497 else
21498   glibcxx_cv_func__hypot_use=no
21499 fi
21500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21501       ac_ext=c
21502 ac_cpp='$CPP $CPPFLAGS'
21503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21506
21507
21508 fi
21509
21510   fi
21511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21512 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21513
21514     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21515       for ac_func in _hypot
21516 do :
21517   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21518 if test "x$ac_cv_func__hypot" = x""yes; then :
21519   cat >>confdefs.h <<_ACEOF
21520 #define HAVE__HYPOT 1
21521 _ACEOF
21522
21523 fi
21524 done
21525
21526     fi
21527   fi
21528
21529
21530
21531
21532
21533     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21534 $as_echo_n "checking for float trig functions... " >&6; }
21535   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21536   $as_echo_n "(cached) " >&6
21537 else
21538
21539
21540     ac_ext=cpp
21541 ac_cpp='$CXXCPP $CPPFLAGS'
21542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21545
21546     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21547 /* end confdefs.h.  */
21548 #include <math.h>
21549 int
21550 main ()
21551 {
21552 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21553   ;
21554   return 0;
21555 }
21556 _ACEOF
21557 if ac_fn_cxx_try_compile "$LINENO"; then :
21558   glibcxx_cv_func_float_trig_use=yes
21559 else
21560   glibcxx_cv_func_float_trig_use=no
21561 fi
21562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21563     ac_ext=c
21564 ac_cpp='$CPP $CPPFLAGS'
21565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21568
21569 fi
21570
21571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21572 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21573   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21574     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21575 do :
21576   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21577 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21578 eval as_val=\$$as_ac_var
21579    if test "x$as_val" = x""yes; then :
21580   cat >>confdefs.h <<_ACEOF
21581 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21582 _ACEOF
21583
21584 fi
21585 done
21586
21587   else
21588     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21589 $as_echo_n "checking for _float trig functions... " >&6; }
21590     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21591   $as_echo_n "(cached) " >&6
21592 else
21593
21594
21595       ac_ext=cpp
21596 ac_cpp='$CXXCPP $CPPFLAGS'
21597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21600
21601       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21602 /* end confdefs.h.  */
21603 #include <math.h>
21604 int
21605 main ()
21606 {
21607 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21608   ;
21609   return 0;
21610 }
21611 _ACEOF
21612 if ac_fn_cxx_try_compile "$LINENO"; then :
21613   glibcxx_cv_func__float_trig_use=yes
21614 else
21615   glibcxx_cv_func__float_trig_use=no
21616 fi
21617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21618       ac_ext=c
21619 ac_cpp='$CPP $CPPFLAGS'
21620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21623
21624 fi
21625
21626     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21627 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21628     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21629       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21630 do :
21631   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21632 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21633 eval as_val=\$$as_ac_var
21634    if test "x$as_val" = x""yes; then :
21635   cat >>confdefs.h <<_ACEOF
21636 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21637 _ACEOF
21638
21639 fi
21640 done
21641
21642     fi
21643   fi
21644
21645
21646
21647
21648
21649     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21650 $as_echo_n "checking for float round functions... " >&6; }
21651   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21652   $as_echo_n "(cached) " >&6
21653 else
21654
21655
21656     ac_ext=cpp
21657 ac_cpp='$CXXCPP $CPPFLAGS'
21658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21661
21662     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21663 /* end confdefs.h.  */
21664 #include <math.h>
21665 int
21666 main ()
21667 {
21668 ceilf (0); floorf (0);
21669   ;
21670   return 0;
21671 }
21672 _ACEOF
21673 if ac_fn_cxx_try_compile "$LINENO"; then :
21674   glibcxx_cv_func_float_round_use=yes
21675 else
21676   glibcxx_cv_func_float_round_use=no
21677 fi
21678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21679     ac_ext=c
21680 ac_cpp='$CPP $CPPFLAGS'
21681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21684
21685 fi
21686
21687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21688 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21689   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21690     for ac_func in ceilf floorf
21691 do :
21692   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21693 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21694 eval as_val=\$$as_ac_var
21695    if test "x$as_val" = x""yes; then :
21696   cat >>confdefs.h <<_ACEOF
21697 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21698 _ACEOF
21699
21700 fi
21701 done
21702
21703   else
21704     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21705 $as_echo_n "checking for _float round functions... " >&6; }
21706     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21707   $as_echo_n "(cached) " >&6
21708 else
21709
21710
21711       ac_ext=cpp
21712 ac_cpp='$CXXCPP $CPPFLAGS'
21713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21716
21717       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21718 /* end confdefs.h.  */
21719 #include <math.h>
21720 int
21721 main ()
21722 {
21723 _ceilf (0); _floorf (0);
21724   ;
21725   return 0;
21726 }
21727 _ACEOF
21728 if ac_fn_cxx_try_compile "$LINENO"; then :
21729   glibcxx_cv_func__float_round_use=yes
21730 else
21731   glibcxx_cv_func__float_round_use=no
21732 fi
21733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21734       ac_ext=c
21735 ac_cpp='$CPP $CPPFLAGS'
21736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21739
21740 fi
21741
21742     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21743 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21744     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21745       for ac_func in _ceilf _floorf
21746 do :
21747   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21748 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21749 eval as_val=\$$as_ac_var
21750    if test "x$as_val" = x""yes; then :
21751   cat >>confdefs.h <<_ACEOF
21752 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21753 _ACEOF
21754
21755 fi
21756 done
21757
21758     fi
21759   fi
21760
21761
21762
21763
21764
21765
21766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21767 $as_echo_n "checking for expf declaration... " >&6; }
21768   if test x${glibcxx_cv_func_expf_use+set} != xset; then
21769     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21770   $as_echo_n "(cached) " >&6
21771 else
21772
21773
21774       ac_ext=cpp
21775 ac_cpp='$CXXCPP $CPPFLAGS'
21776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21779
21780       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21781 /* end confdefs.h.  */
21782 #include <math.h>
21783                       #ifdef HAVE_IEEEFP_H
21784                       #include <ieeefp.h>
21785                       #endif
21786
21787 int
21788 main ()
21789 {
21790  expf(0);
21791   ;
21792   return 0;
21793 }
21794 _ACEOF
21795 if ac_fn_cxx_try_compile "$LINENO"; then :
21796   glibcxx_cv_func_expf_use=yes
21797 else
21798   glibcxx_cv_func_expf_use=no
21799 fi
21800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21801       ac_ext=c
21802 ac_cpp='$CPP $CPPFLAGS'
21803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21806
21807
21808 fi
21809
21810   fi
21811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21812 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21813
21814   if test x$glibcxx_cv_func_expf_use = x"yes"; then
21815     for ac_func in expf
21816 do :
21817   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21818 if test "x$ac_cv_func_expf" = x""yes; then :
21819   cat >>confdefs.h <<_ACEOF
21820 #define HAVE_EXPF 1
21821 _ACEOF
21822
21823 fi
21824 done
21825
21826   else
21827
21828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21829 $as_echo_n "checking for _expf declaration... " >&6; }
21830   if test x${glibcxx_cv_func__expf_use+set} != xset; then
21831     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21832   $as_echo_n "(cached) " >&6
21833 else
21834
21835
21836       ac_ext=cpp
21837 ac_cpp='$CXXCPP $CPPFLAGS'
21838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21841
21842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21843 /* end confdefs.h.  */
21844 #include <math.h>
21845                       #ifdef HAVE_IEEEFP_H
21846                       #include <ieeefp.h>
21847                       #endif
21848
21849 int
21850 main ()
21851 {
21852  _expf(0);
21853   ;
21854   return 0;
21855 }
21856 _ACEOF
21857 if ac_fn_cxx_try_compile "$LINENO"; then :
21858   glibcxx_cv_func__expf_use=yes
21859 else
21860   glibcxx_cv_func__expf_use=no
21861 fi
21862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21863       ac_ext=c
21864 ac_cpp='$CPP $CPPFLAGS'
21865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21868
21869
21870 fi
21871
21872   fi
21873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21874 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21875
21876     if test x$glibcxx_cv_func__expf_use = x"yes"; then
21877       for ac_func in _expf
21878 do :
21879   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21880 if test "x$ac_cv_func__expf" = x""yes; then :
21881   cat >>confdefs.h <<_ACEOF
21882 #define HAVE__EXPF 1
21883 _ACEOF
21884
21885 fi
21886 done
21887
21888     fi
21889   fi
21890
21891
21892
21893
21894
21895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21896 $as_echo_n "checking for isnanf declaration... " >&6; }
21897   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21898     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21899   $as_echo_n "(cached) " >&6
21900 else
21901
21902
21903       ac_ext=cpp
21904 ac_cpp='$CXXCPP $CPPFLAGS'
21905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21908
21909       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21910 /* end confdefs.h.  */
21911 #include <math.h>
21912                       #ifdef HAVE_IEEEFP_H
21913                       #include <ieeefp.h>
21914                       #endif
21915
21916 int
21917 main ()
21918 {
21919  isnanf(0);
21920   ;
21921   return 0;
21922 }
21923 _ACEOF
21924 if ac_fn_cxx_try_compile "$LINENO"; then :
21925   glibcxx_cv_func_isnanf_use=yes
21926 else
21927   glibcxx_cv_func_isnanf_use=no
21928 fi
21929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21930       ac_ext=c
21931 ac_cpp='$CPP $CPPFLAGS'
21932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21935
21936
21937 fi
21938
21939   fi
21940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21941 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21942
21943   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21944     for ac_func in isnanf
21945 do :
21946   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21947 if test "x$ac_cv_func_isnanf" = x""yes; then :
21948   cat >>confdefs.h <<_ACEOF
21949 #define HAVE_ISNANF 1
21950 _ACEOF
21951
21952 fi
21953 done
21954
21955   else
21956
21957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21958 $as_echo_n "checking for _isnanf declaration... " >&6; }
21959   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21960     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21961   $as_echo_n "(cached) " >&6
21962 else
21963
21964
21965       ac_ext=cpp
21966 ac_cpp='$CXXCPP $CPPFLAGS'
21967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21970
21971       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21972 /* end confdefs.h.  */
21973 #include <math.h>
21974                       #ifdef HAVE_IEEEFP_H
21975                       #include <ieeefp.h>
21976                       #endif
21977
21978 int
21979 main ()
21980 {
21981  _isnanf(0);
21982   ;
21983   return 0;
21984 }
21985 _ACEOF
21986 if ac_fn_cxx_try_compile "$LINENO"; then :
21987   glibcxx_cv_func__isnanf_use=yes
21988 else
21989   glibcxx_cv_func__isnanf_use=no
21990 fi
21991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21992       ac_ext=c
21993 ac_cpp='$CPP $CPPFLAGS'
21994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21997
21998
21999 fi
22000
22001   fi
22002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22003 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22004
22005     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22006       for ac_func in _isnanf
22007 do :
22008   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22009 if test "x$ac_cv_func__isnanf" = x""yes; then :
22010   cat >>confdefs.h <<_ACEOF
22011 #define HAVE__ISNANF 1
22012 _ACEOF
22013
22014 fi
22015 done
22016
22017     fi
22018   fi
22019
22020
22021
22022
22023
22024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22025 $as_echo_n "checking for isinff declaration... " >&6; }
22026   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22027     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22028   $as_echo_n "(cached) " >&6
22029 else
22030
22031
22032       ac_ext=cpp
22033 ac_cpp='$CXXCPP $CPPFLAGS'
22034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22037
22038       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22039 /* end confdefs.h.  */
22040 #include <math.h>
22041                       #ifdef HAVE_IEEEFP_H
22042                       #include <ieeefp.h>
22043                       #endif
22044
22045 int
22046 main ()
22047 {
22048  isinff(0);
22049   ;
22050   return 0;
22051 }
22052 _ACEOF
22053 if ac_fn_cxx_try_compile "$LINENO"; then :
22054   glibcxx_cv_func_isinff_use=yes
22055 else
22056   glibcxx_cv_func_isinff_use=no
22057 fi
22058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22059       ac_ext=c
22060 ac_cpp='$CPP $CPPFLAGS'
22061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22064
22065
22066 fi
22067
22068   fi
22069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22070 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22071
22072   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22073     for ac_func in isinff
22074 do :
22075   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22076 if test "x$ac_cv_func_isinff" = x""yes; then :
22077   cat >>confdefs.h <<_ACEOF
22078 #define HAVE_ISINFF 1
22079 _ACEOF
22080
22081 fi
22082 done
22083
22084   else
22085
22086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22087 $as_echo_n "checking for _isinff declaration... " >&6; }
22088   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22089     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22090   $as_echo_n "(cached) " >&6
22091 else
22092
22093
22094       ac_ext=cpp
22095 ac_cpp='$CXXCPP $CPPFLAGS'
22096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22099
22100       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22101 /* end confdefs.h.  */
22102 #include <math.h>
22103                       #ifdef HAVE_IEEEFP_H
22104                       #include <ieeefp.h>
22105                       #endif
22106
22107 int
22108 main ()
22109 {
22110  _isinff(0);
22111   ;
22112   return 0;
22113 }
22114 _ACEOF
22115 if ac_fn_cxx_try_compile "$LINENO"; then :
22116   glibcxx_cv_func__isinff_use=yes
22117 else
22118   glibcxx_cv_func__isinff_use=no
22119 fi
22120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22121       ac_ext=c
22122 ac_cpp='$CPP $CPPFLAGS'
22123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22126
22127
22128 fi
22129
22130   fi
22131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22132 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22133
22134     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22135       for ac_func in _isinff
22136 do :
22137   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22138 if test "x$ac_cv_func__isinff" = x""yes; then :
22139   cat >>confdefs.h <<_ACEOF
22140 #define HAVE__ISINFF 1
22141 _ACEOF
22142
22143 fi
22144 done
22145
22146     fi
22147   fi
22148
22149
22150
22151
22152
22153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22154 $as_echo_n "checking for atan2f declaration... " >&6; }
22155   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22156     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22157   $as_echo_n "(cached) " >&6
22158 else
22159
22160
22161       ac_ext=cpp
22162 ac_cpp='$CXXCPP $CPPFLAGS'
22163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22166
22167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22168 /* end confdefs.h.  */
22169 #include <math.h>
22170 int
22171 main ()
22172 {
22173  atan2f(0, 0);
22174   ;
22175   return 0;
22176 }
22177 _ACEOF
22178 if ac_fn_cxx_try_compile "$LINENO"; then :
22179   glibcxx_cv_func_atan2f_use=yes
22180 else
22181   glibcxx_cv_func_atan2f_use=no
22182 fi
22183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22184       ac_ext=c
22185 ac_cpp='$CPP $CPPFLAGS'
22186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22189
22190
22191 fi
22192
22193   fi
22194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22195 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22196
22197   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22198     for ac_func in atan2f
22199 do :
22200   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22201 if test "x$ac_cv_func_atan2f" = x""yes; then :
22202   cat >>confdefs.h <<_ACEOF
22203 #define HAVE_ATAN2F 1
22204 _ACEOF
22205
22206 fi
22207 done
22208
22209   else
22210
22211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22212 $as_echo_n "checking for _atan2f declaration... " >&6; }
22213   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22214     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22215   $as_echo_n "(cached) " >&6
22216 else
22217
22218
22219       ac_ext=cpp
22220 ac_cpp='$CXXCPP $CPPFLAGS'
22221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22224
22225       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22226 /* end confdefs.h.  */
22227 #include <math.h>
22228 int
22229 main ()
22230 {
22231  _atan2f(0, 0);
22232   ;
22233   return 0;
22234 }
22235 _ACEOF
22236 if ac_fn_cxx_try_compile "$LINENO"; then :
22237   glibcxx_cv_func__atan2f_use=yes
22238 else
22239   glibcxx_cv_func__atan2f_use=no
22240 fi
22241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22242       ac_ext=c
22243 ac_cpp='$CPP $CPPFLAGS'
22244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22247
22248
22249 fi
22250
22251   fi
22252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22253 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22254
22255     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22256       for ac_func in _atan2f
22257 do :
22258   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22259 if test "x$ac_cv_func__atan2f" = x""yes; then :
22260   cat >>confdefs.h <<_ACEOF
22261 #define HAVE__ATAN2F 1
22262 _ACEOF
22263
22264 fi
22265 done
22266
22267     fi
22268   fi
22269
22270
22271
22272
22273
22274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22275 $as_echo_n "checking for fabsf declaration... " >&6; }
22276   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22277     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22278   $as_echo_n "(cached) " >&6
22279 else
22280
22281
22282       ac_ext=cpp
22283 ac_cpp='$CXXCPP $CPPFLAGS'
22284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22287
22288       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22289 /* end confdefs.h.  */
22290 #include <math.h>
22291                       #ifdef HAVE_IEEEFP_H
22292                       #include <ieeefp.h>
22293                       #endif
22294
22295 int
22296 main ()
22297 {
22298  fabsf(0);
22299   ;
22300   return 0;
22301 }
22302 _ACEOF
22303 if ac_fn_cxx_try_compile "$LINENO"; then :
22304   glibcxx_cv_func_fabsf_use=yes
22305 else
22306   glibcxx_cv_func_fabsf_use=no
22307 fi
22308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22309       ac_ext=c
22310 ac_cpp='$CPP $CPPFLAGS'
22311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22314
22315
22316 fi
22317
22318   fi
22319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22320 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22321
22322   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22323     for ac_func in fabsf
22324 do :
22325   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22326 if test "x$ac_cv_func_fabsf" = x""yes; then :
22327   cat >>confdefs.h <<_ACEOF
22328 #define HAVE_FABSF 1
22329 _ACEOF
22330
22331 fi
22332 done
22333
22334   else
22335
22336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22337 $as_echo_n "checking for _fabsf declaration... " >&6; }
22338   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22339     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22340   $as_echo_n "(cached) " >&6
22341 else
22342
22343
22344       ac_ext=cpp
22345 ac_cpp='$CXXCPP $CPPFLAGS'
22346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22349
22350       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22351 /* end confdefs.h.  */
22352 #include <math.h>
22353                       #ifdef HAVE_IEEEFP_H
22354                       #include <ieeefp.h>
22355                       #endif
22356
22357 int
22358 main ()
22359 {
22360  _fabsf(0);
22361   ;
22362   return 0;
22363 }
22364 _ACEOF
22365 if ac_fn_cxx_try_compile "$LINENO"; then :
22366   glibcxx_cv_func__fabsf_use=yes
22367 else
22368   glibcxx_cv_func__fabsf_use=no
22369 fi
22370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22371       ac_ext=c
22372 ac_cpp='$CPP $CPPFLAGS'
22373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22376
22377
22378 fi
22379
22380   fi
22381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22382 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22383
22384     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22385       for ac_func in _fabsf
22386 do :
22387   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22388 if test "x$ac_cv_func__fabsf" = x""yes; then :
22389   cat >>confdefs.h <<_ACEOF
22390 #define HAVE__FABSF 1
22391 _ACEOF
22392
22393 fi
22394 done
22395
22396     fi
22397   fi
22398
22399
22400
22401
22402
22403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22404 $as_echo_n "checking for fmodf declaration... " >&6; }
22405   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22406     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22407   $as_echo_n "(cached) " >&6
22408 else
22409
22410
22411       ac_ext=cpp
22412 ac_cpp='$CXXCPP $CPPFLAGS'
22413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22416
22417       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22418 /* end confdefs.h.  */
22419 #include <math.h>
22420 int
22421 main ()
22422 {
22423  fmodf(0, 0);
22424   ;
22425   return 0;
22426 }
22427 _ACEOF
22428 if ac_fn_cxx_try_compile "$LINENO"; then :
22429   glibcxx_cv_func_fmodf_use=yes
22430 else
22431   glibcxx_cv_func_fmodf_use=no
22432 fi
22433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22434       ac_ext=c
22435 ac_cpp='$CPP $CPPFLAGS'
22436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22439
22440
22441 fi
22442
22443   fi
22444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22445 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22446
22447   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22448     for ac_func in fmodf
22449 do :
22450   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22451 if test "x$ac_cv_func_fmodf" = x""yes; then :
22452   cat >>confdefs.h <<_ACEOF
22453 #define HAVE_FMODF 1
22454 _ACEOF
22455
22456 fi
22457 done
22458
22459   else
22460
22461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22462 $as_echo_n "checking for _fmodf declaration... " >&6; }
22463   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22464     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22465   $as_echo_n "(cached) " >&6
22466 else
22467
22468
22469       ac_ext=cpp
22470 ac_cpp='$CXXCPP $CPPFLAGS'
22471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22474
22475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22476 /* end confdefs.h.  */
22477 #include <math.h>
22478 int
22479 main ()
22480 {
22481  _fmodf(0, 0);
22482   ;
22483   return 0;
22484 }
22485 _ACEOF
22486 if ac_fn_cxx_try_compile "$LINENO"; then :
22487   glibcxx_cv_func__fmodf_use=yes
22488 else
22489   glibcxx_cv_func__fmodf_use=no
22490 fi
22491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22492       ac_ext=c
22493 ac_cpp='$CPP $CPPFLAGS'
22494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22497
22498
22499 fi
22500
22501   fi
22502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22503 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22504
22505     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22506       for ac_func in _fmodf
22507 do :
22508   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22509 if test "x$ac_cv_func__fmodf" = x""yes; then :
22510   cat >>confdefs.h <<_ACEOF
22511 #define HAVE__FMODF 1
22512 _ACEOF
22513
22514 fi
22515 done
22516
22517     fi
22518   fi
22519
22520
22521
22522
22523
22524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22525 $as_echo_n "checking for frexpf declaration... " >&6; }
22526   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22527     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22528   $as_echo_n "(cached) " >&6
22529 else
22530
22531
22532       ac_ext=cpp
22533 ac_cpp='$CXXCPP $CPPFLAGS'
22534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22537
22538       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22539 /* end confdefs.h.  */
22540 #include <math.h>
22541 int
22542 main ()
22543 {
22544  frexpf(0, 0);
22545   ;
22546   return 0;
22547 }
22548 _ACEOF
22549 if ac_fn_cxx_try_compile "$LINENO"; then :
22550   glibcxx_cv_func_frexpf_use=yes
22551 else
22552   glibcxx_cv_func_frexpf_use=no
22553 fi
22554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22555       ac_ext=c
22556 ac_cpp='$CPP $CPPFLAGS'
22557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22560
22561
22562 fi
22563
22564   fi
22565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22566 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22567
22568   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22569     for ac_func in frexpf
22570 do :
22571   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22572 if test "x$ac_cv_func_frexpf" = x""yes; then :
22573   cat >>confdefs.h <<_ACEOF
22574 #define HAVE_FREXPF 1
22575 _ACEOF
22576
22577 fi
22578 done
22579
22580   else
22581
22582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22583 $as_echo_n "checking for _frexpf declaration... " >&6; }
22584   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22585     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22586   $as_echo_n "(cached) " >&6
22587 else
22588
22589
22590       ac_ext=cpp
22591 ac_cpp='$CXXCPP $CPPFLAGS'
22592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22595
22596       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22597 /* end confdefs.h.  */
22598 #include <math.h>
22599 int
22600 main ()
22601 {
22602  _frexpf(0, 0);
22603   ;
22604   return 0;
22605 }
22606 _ACEOF
22607 if ac_fn_cxx_try_compile "$LINENO"; then :
22608   glibcxx_cv_func__frexpf_use=yes
22609 else
22610   glibcxx_cv_func__frexpf_use=no
22611 fi
22612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22613       ac_ext=c
22614 ac_cpp='$CPP $CPPFLAGS'
22615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22618
22619
22620 fi
22621
22622   fi
22623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22624 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22625
22626     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22627       for ac_func in _frexpf
22628 do :
22629   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22630 if test "x$ac_cv_func__frexpf" = x""yes; then :
22631   cat >>confdefs.h <<_ACEOF
22632 #define HAVE__FREXPF 1
22633 _ACEOF
22634
22635 fi
22636 done
22637
22638     fi
22639   fi
22640
22641
22642
22643
22644
22645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22646 $as_echo_n "checking for hypotf declaration... " >&6; }
22647   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22648     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22649   $as_echo_n "(cached) " >&6
22650 else
22651
22652
22653       ac_ext=cpp
22654 ac_cpp='$CXXCPP $CPPFLAGS'
22655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22658
22659       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22660 /* end confdefs.h.  */
22661 #include <math.h>
22662 int
22663 main ()
22664 {
22665  hypotf(0, 0);
22666   ;
22667   return 0;
22668 }
22669 _ACEOF
22670 if ac_fn_cxx_try_compile "$LINENO"; then :
22671   glibcxx_cv_func_hypotf_use=yes
22672 else
22673   glibcxx_cv_func_hypotf_use=no
22674 fi
22675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22676       ac_ext=c
22677 ac_cpp='$CPP $CPPFLAGS'
22678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22681
22682
22683 fi
22684
22685   fi
22686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22687 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22688
22689   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22690     for ac_func in hypotf
22691 do :
22692   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22693 if test "x$ac_cv_func_hypotf" = x""yes; then :
22694   cat >>confdefs.h <<_ACEOF
22695 #define HAVE_HYPOTF 1
22696 _ACEOF
22697
22698 fi
22699 done
22700
22701   else
22702
22703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22704 $as_echo_n "checking for _hypotf declaration... " >&6; }
22705   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22706     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22707   $as_echo_n "(cached) " >&6
22708 else
22709
22710
22711       ac_ext=cpp
22712 ac_cpp='$CXXCPP $CPPFLAGS'
22713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22716
22717       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22718 /* end confdefs.h.  */
22719 #include <math.h>
22720 int
22721 main ()
22722 {
22723  _hypotf(0, 0);
22724   ;
22725   return 0;
22726 }
22727 _ACEOF
22728 if ac_fn_cxx_try_compile "$LINENO"; then :
22729   glibcxx_cv_func__hypotf_use=yes
22730 else
22731   glibcxx_cv_func__hypotf_use=no
22732 fi
22733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22734       ac_ext=c
22735 ac_cpp='$CPP $CPPFLAGS'
22736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22739
22740
22741 fi
22742
22743   fi
22744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22745 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22746
22747     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22748       for ac_func in _hypotf
22749 do :
22750   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22751 if test "x$ac_cv_func__hypotf" = x""yes; then :
22752   cat >>confdefs.h <<_ACEOF
22753 #define HAVE__HYPOTF 1
22754 _ACEOF
22755
22756 fi
22757 done
22758
22759     fi
22760   fi
22761
22762
22763
22764
22765
22766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22767 $as_echo_n "checking for ldexpf declaration... " >&6; }
22768   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22769     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22770   $as_echo_n "(cached) " >&6
22771 else
22772
22773
22774       ac_ext=cpp
22775 ac_cpp='$CXXCPP $CPPFLAGS'
22776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22779
22780       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22781 /* end confdefs.h.  */
22782 #include <math.h>
22783 int
22784 main ()
22785 {
22786  ldexpf(0, 0);
22787   ;
22788   return 0;
22789 }
22790 _ACEOF
22791 if ac_fn_cxx_try_compile "$LINENO"; then :
22792   glibcxx_cv_func_ldexpf_use=yes
22793 else
22794   glibcxx_cv_func_ldexpf_use=no
22795 fi
22796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22797       ac_ext=c
22798 ac_cpp='$CPP $CPPFLAGS'
22799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22802
22803
22804 fi
22805
22806   fi
22807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22808 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22809
22810   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22811     for ac_func in ldexpf
22812 do :
22813   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22814 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22815   cat >>confdefs.h <<_ACEOF
22816 #define HAVE_LDEXPF 1
22817 _ACEOF
22818
22819 fi
22820 done
22821
22822   else
22823
22824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22825 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22826   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22827     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22828   $as_echo_n "(cached) " >&6
22829 else
22830
22831
22832       ac_ext=cpp
22833 ac_cpp='$CXXCPP $CPPFLAGS'
22834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22837
22838       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22839 /* end confdefs.h.  */
22840 #include <math.h>
22841 int
22842 main ()
22843 {
22844  _ldexpf(0, 0);
22845   ;
22846   return 0;
22847 }
22848 _ACEOF
22849 if ac_fn_cxx_try_compile "$LINENO"; then :
22850   glibcxx_cv_func__ldexpf_use=yes
22851 else
22852   glibcxx_cv_func__ldexpf_use=no
22853 fi
22854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22855       ac_ext=c
22856 ac_cpp='$CPP $CPPFLAGS'
22857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22860
22861
22862 fi
22863
22864   fi
22865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22866 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22867
22868     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22869       for ac_func in _ldexpf
22870 do :
22871   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22872 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22873   cat >>confdefs.h <<_ACEOF
22874 #define HAVE__LDEXPF 1
22875 _ACEOF
22876
22877 fi
22878 done
22879
22880     fi
22881   fi
22882
22883
22884
22885
22886
22887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22888 $as_echo_n "checking for logf declaration... " >&6; }
22889   if test x${glibcxx_cv_func_logf_use+set} != xset; then
22890     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22891   $as_echo_n "(cached) " >&6
22892 else
22893
22894
22895       ac_ext=cpp
22896 ac_cpp='$CXXCPP $CPPFLAGS'
22897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22900
22901       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22902 /* end confdefs.h.  */
22903 #include <math.h>
22904                       #ifdef HAVE_IEEEFP_H
22905                       #include <ieeefp.h>
22906                       #endif
22907
22908 int
22909 main ()
22910 {
22911  logf(0);
22912   ;
22913   return 0;
22914 }
22915 _ACEOF
22916 if ac_fn_cxx_try_compile "$LINENO"; then :
22917   glibcxx_cv_func_logf_use=yes
22918 else
22919   glibcxx_cv_func_logf_use=no
22920 fi
22921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22922       ac_ext=c
22923 ac_cpp='$CPP $CPPFLAGS'
22924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22927
22928
22929 fi
22930
22931   fi
22932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22933 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22934
22935   if test x$glibcxx_cv_func_logf_use = x"yes"; then
22936     for ac_func in logf
22937 do :
22938   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22939 if test "x$ac_cv_func_logf" = x""yes; then :
22940   cat >>confdefs.h <<_ACEOF
22941 #define HAVE_LOGF 1
22942 _ACEOF
22943
22944 fi
22945 done
22946
22947   else
22948
22949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22950 $as_echo_n "checking for _logf declaration... " >&6; }
22951   if test x${glibcxx_cv_func__logf_use+set} != xset; then
22952     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22953   $as_echo_n "(cached) " >&6
22954 else
22955
22956
22957       ac_ext=cpp
22958 ac_cpp='$CXXCPP $CPPFLAGS'
22959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22962
22963       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22964 /* end confdefs.h.  */
22965 #include <math.h>
22966                       #ifdef HAVE_IEEEFP_H
22967                       #include <ieeefp.h>
22968                       #endif
22969
22970 int
22971 main ()
22972 {
22973  _logf(0);
22974   ;
22975   return 0;
22976 }
22977 _ACEOF
22978 if ac_fn_cxx_try_compile "$LINENO"; then :
22979   glibcxx_cv_func__logf_use=yes
22980 else
22981   glibcxx_cv_func__logf_use=no
22982 fi
22983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22984       ac_ext=c
22985 ac_cpp='$CPP $CPPFLAGS'
22986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22989
22990
22991 fi
22992
22993   fi
22994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22995 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22996
22997     if test x$glibcxx_cv_func__logf_use = x"yes"; then
22998       for ac_func in _logf
22999 do :
23000   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23001 if test "x$ac_cv_func__logf" = x""yes; then :
23002   cat >>confdefs.h <<_ACEOF
23003 #define HAVE__LOGF 1
23004 _ACEOF
23005
23006 fi
23007 done
23008
23009     fi
23010   fi
23011
23012
23013
23014
23015
23016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23017 $as_echo_n "checking for log10f declaration... " >&6; }
23018   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23019     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23020   $as_echo_n "(cached) " >&6
23021 else
23022
23023
23024       ac_ext=cpp
23025 ac_cpp='$CXXCPP $CPPFLAGS'
23026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23029
23030       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23031 /* end confdefs.h.  */
23032 #include <math.h>
23033                       #ifdef HAVE_IEEEFP_H
23034                       #include <ieeefp.h>
23035                       #endif
23036
23037 int
23038 main ()
23039 {
23040  log10f(0);
23041   ;
23042   return 0;
23043 }
23044 _ACEOF
23045 if ac_fn_cxx_try_compile "$LINENO"; then :
23046   glibcxx_cv_func_log10f_use=yes
23047 else
23048   glibcxx_cv_func_log10f_use=no
23049 fi
23050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23051       ac_ext=c
23052 ac_cpp='$CPP $CPPFLAGS'
23053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23056
23057
23058 fi
23059
23060   fi
23061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23062 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23063
23064   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23065     for ac_func in log10f
23066 do :
23067   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23068 if test "x$ac_cv_func_log10f" = x""yes; then :
23069   cat >>confdefs.h <<_ACEOF
23070 #define HAVE_LOG10F 1
23071 _ACEOF
23072
23073 fi
23074 done
23075
23076   else
23077
23078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23079 $as_echo_n "checking for _log10f declaration... " >&6; }
23080   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23081     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23082   $as_echo_n "(cached) " >&6
23083 else
23084
23085
23086       ac_ext=cpp
23087 ac_cpp='$CXXCPP $CPPFLAGS'
23088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23091
23092       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23093 /* end confdefs.h.  */
23094 #include <math.h>
23095                       #ifdef HAVE_IEEEFP_H
23096                       #include <ieeefp.h>
23097                       #endif
23098
23099 int
23100 main ()
23101 {
23102  _log10f(0);
23103   ;
23104   return 0;
23105 }
23106 _ACEOF
23107 if ac_fn_cxx_try_compile "$LINENO"; then :
23108   glibcxx_cv_func__log10f_use=yes
23109 else
23110   glibcxx_cv_func__log10f_use=no
23111 fi
23112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23113       ac_ext=c
23114 ac_cpp='$CPP $CPPFLAGS'
23115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23118
23119
23120 fi
23121
23122   fi
23123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23124 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23125
23126     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23127       for ac_func in _log10f
23128 do :
23129   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23130 if test "x$ac_cv_func__log10f" = x""yes; then :
23131   cat >>confdefs.h <<_ACEOF
23132 #define HAVE__LOG10F 1
23133 _ACEOF
23134
23135 fi
23136 done
23137
23138     fi
23139   fi
23140
23141
23142
23143
23144
23145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23146 $as_echo_n "checking for modff declaration... " >&6; }
23147   if test x${glibcxx_cv_func_modff_use+set} != xset; then
23148     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23149   $as_echo_n "(cached) " >&6
23150 else
23151
23152
23153       ac_ext=cpp
23154 ac_cpp='$CXXCPP $CPPFLAGS'
23155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23158
23159       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23160 /* end confdefs.h.  */
23161 #include <math.h>
23162 int
23163 main ()
23164 {
23165  modff(0, 0);
23166   ;
23167   return 0;
23168 }
23169 _ACEOF
23170 if ac_fn_cxx_try_compile "$LINENO"; then :
23171   glibcxx_cv_func_modff_use=yes
23172 else
23173   glibcxx_cv_func_modff_use=no
23174 fi
23175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23176       ac_ext=c
23177 ac_cpp='$CPP $CPPFLAGS'
23178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23181
23182
23183 fi
23184
23185   fi
23186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23187 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23188
23189   if test x$glibcxx_cv_func_modff_use = x"yes"; then
23190     for ac_func in modff
23191 do :
23192   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23193 if test "x$ac_cv_func_modff" = x""yes; then :
23194   cat >>confdefs.h <<_ACEOF
23195 #define HAVE_MODFF 1
23196 _ACEOF
23197
23198 fi
23199 done
23200
23201   else
23202
23203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23204 $as_echo_n "checking for _modff declaration... " >&6; }
23205   if test x${glibcxx_cv_func__modff_use+set} != xset; then
23206     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23207   $as_echo_n "(cached) " >&6
23208 else
23209
23210
23211       ac_ext=cpp
23212 ac_cpp='$CXXCPP $CPPFLAGS'
23213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23216
23217       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23218 /* end confdefs.h.  */
23219 #include <math.h>
23220 int
23221 main ()
23222 {
23223  _modff(0, 0);
23224   ;
23225   return 0;
23226 }
23227 _ACEOF
23228 if ac_fn_cxx_try_compile "$LINENO"; then :
23229   glibcxx_cv_func__modff_use=yes
23230 else
23231   glibcxx_cv_func__modff_use=no
23232 fi
23233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23234       ac_ext=c
23235 ac_cpp='$CPP $CPPFLAGS'
23236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23239
23240
23241 fi
23242
23243   fi
23244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23245 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23246
23247     if test x$glibcxx_cv_func__modff_use = x"yes"; then
23248       for ac_func in _modff
23249 do :
23250   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23251 if test "x$ac_cv_func__modff" = x""yes; then :
23252   cat >>confdefs.h <<_ACEOF
23253 #define HAVE__MODFF 1
23254 _ACEOF
23255
23256 fi
23257 done
23258
23259     fi
23260   fi
23261
23262
23263
23264
23265
23266   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23267 $as_echo_n "checking for modf declaration... " >&6; }
23268   if test x${glibcxx_cv_func_modf_use+set} != xset; then
23269     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23270   $as_echo_n "(cached) " >&6
23271 else
23272
23273
23274       ac_ext=cpp
23275 ac_cpp='$CXXCPP $CPPFLAGS'
23276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23279
23280       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23281 /* end confdefs.h.  */
23282 #include <math.h>
23283 int
23284 main ()
23285 {
23286  modf(0, 0);
23287   ;
23288   return 0;
23289 }
23290 _ACEOF
23291 if ac_fn_cxx_try_compile "$LINENO"; then :
23292   glibcxx_cv_func_modf_use=yes
23293 else
23294   glibcxx_cv_func_modf_use=no
23295 fi
23296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23297       ac_ext=c
23298 ac_cpp='$CPP $CPPFLAGS'
23299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23302
23303
23304 fi
23305
23306   fi
23307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23308 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23309
23310   if test x$glibcxx_cv_func_modf_use = x"yes"; then
23311     for ac_func in modf
23312 do :
23313   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23314 if test "x$ac_cv_func_modf" = x""yes; then :
23315   cat >>confdefs.h <<_ACEOF
23316 #define HAVE_MODF 1
23317 _ACEOF
23318
23319 fi
23320 done
23321
23322   else
23323
23324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23325 $as_echo_n "checking for _modf declaration... " >&6; }
23326   if test x${glibcxx_cv_func__modf_use+set} != xset; then
23327     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23328   $as_echo_n "(cached) " >&6
23329 else
23330
23331
23332       ac_ext=cpp
23333 ac_cpp='$CXXCPP $CPPFLAGS'
23334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23337
23338       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23339 /* end confdefs.h.  */
23340 #include <math.h>
23341 int
23342 main ()
23343 {
23344  _modf(0, 0);
23345   ;
23346   return 0;
23347 }
23348 _ACEOF
23349 if ac_fn_cxx_try_compile "$LINENO"; then :
23350   glibcxx_cv_func__modf_use=yes
23351 else
23352   glibcxx_cv_func__modf_use=no
23353 fi
23354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23355       ac_ext=c
23356 ac_cpp='$CPP $CPPFLAGS'
23357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23360
23361
23362 fi
23363
23364   fi
23365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23366 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23367
23368     if test x$glibcxx_cv_func__modf_use = x"yes"; then
23369       for ac_func in _modf
23370 do :
23371   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23372 if test "x$ac_cv_func__modf" = x""yes; then :
23373   cat >>confdefs.h <<_ACEOF
23374 #define HAVE__MODF 1
23375 _ACEOF
23376
23377 fi
23378 done
23379
23380     fi
23381   fi
23382
23383
23384
23385
23386
23387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23388 $as_echo_n "checking for powf declaration... " >&6; }
23389   if test x${glibcxx_cv_func_powf_use+set} != xset; then
23390     if test "${glibcxx_cv_func_powf_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 int
23405 main ()
23406 {
23407  powf(0, 0);
23408   ;
23409   return 0;
23410 }
23411 _ACEOF
23412 if ac_fn_cxx_try_compile "$LINENO"; then :
23413   glibcxx_cv_func_powf_use=yes
23414 else
23415   glibcxx_cv_func_powf_use=no
23416 fi
23417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23418       ac_ext=c
23419 ac_cpp='$CPP $CPPFLAGS'
23420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23423
23424
23425 fi
23426
23427   fi
23428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23429 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23430
23431   if test x$glibcxx_cv_func_powf_use = x"yes"; then
23432     for ac_func in powf
23433 do :
23434   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23435 if test "x$ac_cv_func_powf" = x""yes; then :
23436   cat >>confdefs.h <<_ACEOF
23437 #define HAVE_POWF 1
23438 _ACEOF
23439
23440 fi
23441 done
23442
23443   else
23444
23445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23446 $as_echo_n "checking for _powf declaration... " >&6; }
23447   if test x${glibcxx_cv_func__powf_use+set} != xset; then
23448     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23449   $as_echo_n "(cached) " >&6
23450 else
23451
23452
23453       ac_ext=cpp
23454 ac_cpp='$CXXCPP $CPPFLAGS'
23455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23458
23459       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23460 /* end confdefs.h.  */
23461 #include <math.h>
23462 int
23463 main ()
23464 {
23465  _powf(0, 0);
23466   ;
23467   return 0;
23468 }
23469 _ACEOF
23470 if ac_fn_cxx_try_compile "$LINENO"; then :
23471   glibcxx_cv_func__powf_use=yes
23472 else
23473   glibcxx_cv_func__powf_use=no
23474 fi
23475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23476       ac_ext=c
23477 ac_cpp='$CPP $CPPFLAGS'
23478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23481
23482
23483 fi
23484
23485   fi
23486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23487 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23488
23489     if test x$glibcxx_cv_func__powf_use = x"yes"; then
23490       for ac_func in _powf
23491 do :
23492   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23493 if test "x$ac_cv_func__powf" = x""yes; then :
23494   cat >>confdefs.h <<_ACEOF
23495 #define HAVE__POWF 1
23496 _ACEOF
23497
23498 fi
23499 done
23500
23501     fi
23502   fi
23503
23504
23505
23506
23507
23508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23509 $as_echo_n "checking for sqrtf declaration... " >&6; }
23510   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23511     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23512   $as_echo_n "(cached) " >&6
23513 else
23514
23515
23516       ac_ext=cpp
23517 ac_cpp='$CXXCPP $CPPFLAGS'
23518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23521
23522       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23523 /* end confdefs.h.  */
23524 #include <math.h>
23525                       #ifdef HAVE_IEEEFP_H
23526                       #include <ieeefp.h>
23527                       #endif
23528
23529 int
23530 main ()
23531 {
23532  sqrtf(0);
23533   ;
23534   return 0;
23535 }
23536 _ACEOF
23537 if ac_fn_cxx_try_compile "$LINENO"; then :
23538   glibcxx_cv_func_sqrtf_use=yes
23539 else
23540   glibcxx_cv_func_sqrtf_use=no
23541 fi
23542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23543       ac_ext=c
23544 ac_cpp='$CPP $CPPFLAGS'
23545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23548
23549
23550 fi
23551
23552   fi
23553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23554 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23555
23556   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23557     for ac_func in sqrtf
23558 do :
23559   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23560 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23561   cat >>confdefs.h <<_ACEOF
23562 #define HAVE_SQRTF 1
23563 _ACEOF
23564
23565 fi
23566 done
23567
23568   else
23569
23570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23571 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23572   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23573     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23574   $as_echo_n "(cached) " >&6
23575 else
23576
23577
23578       ac_ext=cpp
23579 ac_cpp='$CXXCPP $CPPFLAGS'
23580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23583
23584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23585 /* end confdefs.h.  */
23586 #include <math.h>
23587                       #ifdef HAVE_IEEEFP_H
23588                       #include <ieeefp.h>
23589                       #endif
23590
23591 int
23592 main ()
23593 {
23594  _sqrtf(0);
23595   ;
23596   return 0;
23597 }
23598 _ACEOF
23599 if ac_fn_cxx_try_compile "$LINENO"; then :
23600   glibcxx_cv_func__sqrtf_use=yes
23601 else
23602   glibcxx_cv_func__sqrtf_use=no
23603 fi
23604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23605       ac_ext=c
23606 ac_cpp='$CPP $CPPFLAGS'
23607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23610
23611
23612 fi
23613
23614   fi
23615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23616 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23617
23618     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23619       for ac_func in _sqrtf
23620 do :
23621   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23622 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23623   cat >>confdefs.h <<_ACEOF
23624 #define HAVE__SQRTF 1
23625 _ACEOF
23626
23627 fi
23628 done
23629
23630     fi
23631   fi
23632
23633
23634
23635
23636
23637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23638 $as_echo_n "checking for sincosf declaration... " >&6; }
23639   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23640     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23641   $as_echo_n "(cached) " >&6
23642 else
23643
23644
23645       ac_ext=cpp
23646 ac_cpp='$CXXCPP $CPPFLAGS'
23647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23650
23651       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23652 /* end confdefs.h.  */
23653 #include <math.h>
23654 int
23655 main ()
23656 {
23657  sincosf(0, 0, 0);
23658   ;
23659   return 0;
23660 }
23661 _ACEOF
23662 if ac_fn_cxx_try_compile "$LINENO"; then :
23663   glibcxx_cv_func_sincosf_use=yes
23664 else
23665   glibcxx_cv_func_sincosf_use=no
23666 fi
23667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23668       ac_ext=c
23669 ac_cpp='$CPP $CPPFLAGS'
23670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23673
23674
23675 fi
23676
23677   fi
23678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23679 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23680
23681   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23682     for ac_func in sincosf
23683 do :
23684   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23685 if test "x$ac_cv_func_sincosf" = x""yes; then :
23686   cat >>confdefs.h <<_ACEOF
23687 #define HAVE_SINCOSF 1
23688 _ACEOF
23689
23690 fi
23691 done
23692
23693   else
23694
23695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23696 $as_echo_n "checking for _sincosf declaration... " >&6; }
23697   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23698     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23699   $as_echo_n "(cached) " >&6
23700 else
23701
23702
23703       ac_ext=cpp
23704 ac_cpp='$CXXCPP $CPPFLAGS'
23705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23708
23709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23710 /* end confdefs.h.  */
23711 #include <math.h>
23712 int
23713 main ()
23714 {
23715  _sincosf(0, 0, 0);
23716   ;
23717   return 0;
23718 }
23719 _ACEOF
23720 if ac_fn_cxx_try_compile "$LINENO"; then :
23721   glibcxx_cv_func__sincosf_use=yes
23722 else
23723   glibcxx_cv_func__sincosf_use=no
23724 fi
23725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23726       ac_ext=c
23727 ac_cpp='$CPP $CPPFLAGS'
23728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23731
23732
23733 fi
23734
23735   fi
23736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23737 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23738
23739     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23740       for ac_func in _sincosf
23741 do :
23742   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23743 if test "x$ac_cv_func__sincosf" = x""yes; then :
23744   cat >>confdefs.h <<_ACEOF
23745 #define HAVE__SINCOSF 1
23746 _ACEOF
23747
23748 fi
23749 done
23750
23751     fi
23752   fi
23753
23754
23755
23756
23757
23758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23759 $as_echo_n "checking for finitef declaration... " >&6; }
23760   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23761     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23762   $as_echo_n "(cached) " >&6
23763 else
23764
23765
23766       ac_ext=cpp
23767 ac_cpp='$CXXCPP $CPPFLAGS'
23768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23771
23772       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23773 /* end confdefs.h.  */
23774 #include <math.h>
23775                       #ifdef HAVE_IEEEFP_H
23776                       #include <ieeefp.h>
23777                       #endif
23778
23779 int
23780 main ()
23781 {
23782  finitef(0);
23783   ;
23784   return 0;
23785 }
23786 _ACEOF
23787 if ac_fn_cxx_try_compile "$LINENO"; then :
23788   glibcxx_cv_func_finitef_use=yes
23789 else
23790   glibcxx_cv_func_finitef_use=no
23791 fi
23792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23793       ac_ext=c
23794 ac_cpp='$CPP $CPPFLAGS'
23795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23798
23799
23800 fi
23801
23802   fi
23803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23804 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23805
23806   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23807     for ac_func in finitef
23808 do :
23809   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23810 if test "x$ac_cv_func_finitef" = x""yes; then :
23811   cat >>confdefs.h <<_ACEOF
23812 #define HAVE_FINITEF 1
23813 _ACEOF
23814
23815 fi
23816 done
23817
23818   else
23819
23820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23821 $as_echo_n "checking for _finitef declaration... " >&6; }
23822   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23823     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23824   $as_echo_n "(cached) " >&6
23825 else
23826
23827
23828       ac_ext=cpp
23829 ac_cpp='$CXXCPP $CPPFLAGS'
23830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23833
23834       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23835 /* end confdefs.h.  */
23836 #include <math.h>
23837                       #ifdef HAVE_IEEEFP_H
23838                       #include <ieeefp.h>
23839                       #endif
23840
23841 int
23842 main ()
23843 {
23844  _finitef(0);
23845   ;
23846   return 0;
23847 }
23848 _ACEOF
23849 if ac_fn_cxx_try_compile "$LINENO"; then :
23850   glibcxx_cv_func__finitef_use=yes
23851 else
23852   glibcxx_cv_func__finitef_use=no
23853 fi
23854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23855       ac_ext=c
23856 ac_cpp='$CPP $CPPFLAGS'
23857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23860
23861
23862 fi
23863
23864   fi
23865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23866 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23867
23868     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23869       for ac_func in _finitef
23870 do :
23871   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23872 if test "x$ac_cv_func__finitef" = x""yes; then :
23873   cat >>confdefs.h <<_ACEOF
23874 #define HAVE__FINITEF 1
23875 _ACEOF
23876
23877 fi
23878 done
23879
23880     fi
23881   fi
23882
23883
23884
23885
23886
23887     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23888 $as_echo_n "checking for long double trig functions... " >&6; }
23889   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23890   $as_echo_n "(cached) " >&6
23891 else
23892
23893
23894     ac_ext=cpp
23895 ac_cpp='$CXXCPP $CPPFLAGS'
23896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23899
23900     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23901 /* end confdefs.h.  */
23902 #include <math.h>
23903 int
23904 main ()
23905 {
23906 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23907   ;
23908   return 0;
23909 }
23910 _ACEOF
23911 if ac_fn_cxx_try_compile "$LINENO"; then :
23912   glibcxx_cv_func_long_double_trig_use=yes
23913 else
23914   glibcxx_cv_func_long_double_trig_use=no
23915 fi
23916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23917     ac_ext=c
23918 ac_cpp='$CPP $CPPFLAGS'
23919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23922
23923 fi
23924
23925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23926 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23927   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23928     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23929 do :
23930   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23931 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23932 eval as_val=\$$as_ac_var
23933    if test "x$as_val" = x""yes; then :
23934   cat >>confdefs.h <<_ACEOF
23935 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23936 _ACEOF
23937
23938 fi
23939 done
23940
23941   else
23942     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23943 $as_echo_n "checking for _long double trig functions... " >&6; }
23944     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23945   $as_echo_n "(cached) " >&6
23946 else
23947
23948
23949       ac_ext=cpp
23950 ac_cpp='$CXXCPP $CPPFLAGS'
23951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23954
23955       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23956 /* end confdefs.h.  */
23957 #include <math.h>
23958 int
23959 main ()
23960 {
23961 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23962   ;
23963   return 0;
23964 }
23965 _ACEOF
23966 if ac_fn_cxx_try_compile "$LINENO"; then :
23967   glibcxx_cv_func__long_double_trig_use=yes
23968 else
23969   glibcxx_cv_func__long_double_trig_use=no
23970 fi
23971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23972       ac_ext=c
23973 ac_cpp='$CPP $CPPFLAGS'
23974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23977
23978 fi
23979
23980     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23981 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23982     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23983       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23984 do :
23985   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23986 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23987 eval as_val=\$$as_ac_var
23988    if test "x$as_val" = x""yes; then :
23989   cat >>confdefs.h <<_ACEOF
23990 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23991 _ACEOF
23992
23993 fi
23994 done
23995
23996     fi
23997   fi
23998
23999
24000
24001
24002
24003     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24004 $as_echo_n "checking for long double round functions... " >&6; }
24005   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24006   $as_echo_n "(cached) " >&6
24007 else
24008
24009
24010     ac_ext=cpp
24011 ac_cpp='$CXXCPP $CPPFLAGS'
24012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24015
24016     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24017 /* end confdefs.h.  */
24018 #include <math.h>
24019 int
24020 main ()
24021 {
24022 ceill (0); floorl (0);
24023   ;
24024   return 0;
24025 }
24026 _ACEOF
24027 if ac_fn_cxx_try_compile "$LINENO"; then :
24028   glibcxx_cv_func_long_double_round_use=yes
24029 else
24030   glibcxx_cv_func_long_double_round_use=no
24031 fi
24032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24033     ac_ext=c
24034 ac_cpp='$CPP $CPPFLAGS'
24035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24038
24039 fi
24040
24041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24042 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24043   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24044     for ac_func in ceill floorl
24045 do :
24046   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24047 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24048 eval as_val=\$$as_ac_var
24049    if test "x$as_val" = x""yes; then :
24050   cat >>confdefs.h <<_ACEOF
24051 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24052 _ACEOF
24053
24054 fi
24055 done
24056
24057   else
24058     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24059 $as_echo_n "checking for _long double round functions... " >&6; }
24060     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24061   $as_echo_n "(cached) " >&6
24062 else
24063
24064
24065       ac_ext=cpp
24066 ac_cpp='$CXXCPP $CPPFLAGS'
24067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24070
24071       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24072 /* end confdefs.h.  */
24073 #include <math.h>
24074 int
24075 main ()
24076 {
24077 _ceill (0); _floorl (0);
24078   ;
24079   return 0;
24080 }
24081 _ACEOF
24082 if ac_fn_cxx_try_compile "$LINENO"; then :
24083   glibcxx_cv_func__long_double_round_use=yes
24084 else
24085   glibcxx_cv_func__long_double_round_use=no
24086 fi
24087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24088       ac_ext=c
24089 ac_cpp='$CPP $CPPFLAGS'
24090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24093
24094 fi
24095
24096     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24097 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24098     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24099       for ac_func in _ceill _floorl
24100 do :
24101   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24102 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24103 eval as_val=\$$as_ac_var
24104    if test "x$as_val" = x""yes; then :
24105   cat >>confdefs.h <<_ACEOF
24106 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24107 _ACEOF
24108
24109 fi
24110 done
24111
24112     fi
24113   fi
24114
24115
24116
24117
24118
24119
24120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24121 $as_echo_n "checking for isnanl declaration... " >&6; }
24122   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24123     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24124   $as_echo_n "(cached) " >&6
24125 else
24126
24127
24128       ac_ext=cpp
24129 ac_cpp='$CXXCPP $CPPFLAGS'
24130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24133
24134       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24135 /* end confdefs.h.  */
24136 #include <math.h>
24137                       #ifdef HAVE_IEEEFP_H
24138                       #include <ieeefp.h>
24139                       #endif
24140
24141 int
24142 main ()
24143 {
24144  isnanl(0);
24145   ;
24146   return 0;
24147 }
24148 _ACEOF
24149 if ac_fn_cxx_try_compile "$LINENO"; then :
24150   glibcxx_cv_func_isnanl_use=yes
24151 else
24152   glibcxx_cv_func_isnanl_use=no
24153 fi
24154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24155       ac_ext=c
24156 ac_cpp='$CPP $CPPFLAGS'
24157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24160
24161
24162 fi
24163
24164   fi
24165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24166 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24167
24168   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24169     for ac_func in isnanl
24170 do :
24171   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24172 if test "x$ac_cv_func_isnanl" = x""yes; then :
24173   cat >>confdefs.h <<_ACEOF
24174 #define HAVE_ISNANL 1
24175 _ACEOF
24176
24177 fi
24178 done
24179
24180   else
24181
24182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24183 $as_echo_n "checking for _isnanl declaration... " >&6; }
24184   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24185     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24186   $as_echo_n "(cached) " >&6
24187 else
24188
24189
24190       ac_ext=cpp
24191 ac_cpp='$CXXCPP $CPPFLAGS'
24192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24195
24196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24197 /* end confdefs.h.  */
24198 #include <math.h>
24199                       #ifdef HAVE_IEEEFP_H
24200                       #include <ieeefp.h>
24201                       #endif
24202
24203 int
24204 main ()
24205 {
24206  _isnanl(0);
24207   ;
24208   return 0;
24209 }
24210 _ACEOF
24211 if ac_fn_cxx_try_compile "$LINENO"; then :
24212   glibcxx_cv_func__isnanl_use=yes
24213 else
24214   glibcxx_cv_func__isnanl_use=no
24215 fi
24216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24217       ac_ext=c
24218 ac_cpp='$CPP $CPPFLAGS'
24219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24222
24223
24224 fi
24225
24226   fi
24227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24228 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24229
24230     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24231       for ac_func in _isnanl
24232 do :
24233   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24234 if test "x$ac_cv_func__isnanl" = x""yes; then :
24235   cat >>confdefs.h <<_ACEOF
24236 #define HAVE__ISNANL 1
24237 _ACEOF
24238
24239 fi
24240 done
24241
24242     fi
24243   fi
24244
24245
24246
24247
24248
24249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24250 $as_echo_n "checking for isinfl declaration... " >&6; }
24251   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24252     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24253   $as_echo_n "(cached) " >&6
24254 else
24255
24256
24257       ac_ext=cpp
24258 ac_cpp='$CXXCPP $CPPFLAGS'
24259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24262
24263       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24264 /* end confdefs.h.  */
24265 #include <math.h>
24266                       #ifdef HAVE_IEEEFP_H
24267                       #include <ieeefp.h>
24268                       #endif
24269
24270 int
24271 main ()
24272 {
24273  isinfl(0);
24274   ;
24275   return 0;
24276 }
24277 _ACEOF
24278 if ac_fn_cxx_try_compile "$LINENO"; then :
24279   glibcxx_cv_func_isinfl_use=yes
24280 else
24281   glibcxx_cv_func_isinfl_use=no
24282 fi
24283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24284       ac_ext=c
24285 ac_cpp='$CPP $CPPFLAGS'
24286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24289
24290
24291 fi
24292
24293   fi
24294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24295 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24296
24297   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24298     for ac_func in isinfl
24299 do :
24300   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24301 if test "x$ac_cv_func_isinfl" = x""yes; then :
24302   cat >>confdefs.h <<_ACEOF
24303 #define HAVE_ISINFL 1
24304 _ACEOF
24305
24306 fi
24307 done
24308
24309   else
24310
24311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24312 $as_echo_n "checking for _isinfl declaration... " >&6; }
24313   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24314     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24315   $as_echo_n "(cached) " >&6
24316 else
24317
24318
24319       ac_ext=cpp
24320 ac_cpp='$CXXCPP $CPPFLAGS'
24321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24324
24325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24326 /* end confdefs.h.  */
24327 #include <math.h>
24328                       #ifdef HAVE_IEEEFP_H
24329                       #include <ieeefp.h>
24330                       #endif
24331
24332 int
24333 main ()
24334 {
24335  _isinfl(0);
24336   ;
24337   return 0;
24338 }
24339 _ACEOF
24340 if ac_fn_cxx_try_compile "$LINENO"; then :
24341   glibcxx_cv_func__isinfl_use=yes
24342 else
24343   glibcxx_cv_func__isinfl_use=no
24344 fi
24345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24346       ac_ext=c
24347 ac_cpp='$CPP $CPPFLAGS'
24348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24351
24352
24353 fi
24354
24355   fi
24356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24357 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24358
24359     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24360       for ac_func in _isinfl
24361 do :
24362   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24363 if test "x$ac_cv_func__isinfl" = x""yes; then :
24364   cat >>confdefs.h <<_ACEOF
24365 #define HAVE__ISINFL 1
24366 _ACEOF
24367
24368 fi
24369 done
24370
24371     fi
24372   fi
24373
24374
24375
24376
24377
24378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24379 $as_echo_n "checking for atan2l declaration... " >&6; }
24380   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24381     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24382   $as_echo_n "(cached) " >&6
24383 else
24384
24385
24386       ac_ext=cpp
24387 ac_cpp='$CXXCPP $CPPFLAGS'
24388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24391
24392       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24393 /* end confdefs.h.  */
24394 #include <math.h>
24395 int
24396 main ()
24397 {
24398  atan2l(0, 0);
24399   ;
24400   return 0;
24401 }
24402 _ACEOF
24403 if ac_fn_cxx_try_compile "$LINENO"; then :
24404   glibcxx_cv_func_atan2l_use=yes
24405 else
24406   glibcxx_cv_func_atan2l_use=no
24407 fi
24408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24409       ac_ext=c
24410 ac_cpp='$CPP $CPPFLAGS'
24411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24414
24415
24416 fi
24417
24418   fi
24419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24420 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24421
24422   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24423     for ac_func in atan2l
24424 do :
24425   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24426 if test "x$ac_cv_func_atan2l" = x""yes; then :
24427   cat >>confdefs.h <<_ACEOF
24428 #define HAVE_ATAN2L 1
24429 _ACEOF
24430
24431 fi
24432 done
24433
24434   else
24435
24436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24437 $as_echo_n "checking for _atan2l declaration... " >&6; }
24438   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24439     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24440   $as_echo_n "(cached) " >&6
24441 else
24442
24443
24444       ac_ext=cpp
24445 ac_cpp='$CXXCPP $CPPFLAGS'
24446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24449
24450       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24451 /* end confdefs.h.  */
24452 #include <math.h>
24453 int
24454 main ()
24455 {
24456  _atan2l(0, 0);
24457   ;
24458   return 0;
24459 }
24460 _ACEOF
24461 if ac_fn_cxx_try_compile "$LINENO"; then :
24462   glibcxx_cv_func__atan2l_use=yes
24463 else
24464   glibcxx_cv_func__atan2l_use=no
24465 fi
24466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24467       ac_ext=c
24468 ac_cpp='$CPP $CPPFLAGS'
24469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24472
24473
24474 fi
24475
24476   fi
24477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24478 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24479
24480     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24481       for ac_func in _atan2l
24482 do :
24483   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24484 if test "x$ac_cv_func__atan2l" = x""yes; then :
24485   cat >>confdefs.h <<_ACEOF
24486 #define HAVE__ATAN2L 1
24487 _ACEOF
24488
24489 fi
24490 done
24491
24492     fi
24493   fi
24494
24495
24496
24497
24498
24499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24500 $as_echo_n "checking for expl declaration... " >&6; }
24501   if test x${glibcxx_cv_func_expl_use+set} != xset; then
24502     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24503   $as_echo_n "(cached) " >&6
24504 else
24505
24506
24507       ac_ext=cpp
24508 ac_cpp='$CXXCPP $CPPFLAGS'
24509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24512
24513       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24514 /* end confdefs.h.  */
24515 #include <math.h>
24516                       #ifdef HAVE_IEEEFP_H
24517                       #include <ieeefp.h>
24518                       #endif
24519
24520 int
24521 main ()
24522 {
24523  expl(0);
24524   ;
24525   return 0;
24526 }
24527 _ACEOF
24528 if ac_fn_cxx_try_compile "$LINENO"; then :
24529   glibcxx_cv_func_expl_use=yes
24530 else
24531   glibcxx_cv_func_expl_use=no
24532 fi
24533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24534       ac_ext=c
24535 ac_cpp='$CPP $CPPFLAGS'
24536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24539
24540
24541 fi
24542
24543   fi
24544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24545 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24546
24547   if test x$glibcxx_cv_func_expl_use = x"yes"; then
24548     for ac_func in expl
24549 do :
24550   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24551 if test "x$ac_cv_func_expl" = x""yes; then :
24552   cat >>confdefs.h <<_ACEOF
24553 #define HAVE_EXPL 1
24554 _ACEOF
24555
24556 fi
24557 done
24558
24559   else
24560
24561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24562 $as_echo_n "checking for _expl declaration... " >&6; }
24563   if test x${glibcxx_cv_func__expl_use+set} != xset; then
24564     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24565   $as_echo_n "(cached) " >&6
24566 else
24567
24568
24569       ac_ext=cpp
24570 ac_cpp='$CXXCPP $CPPFLAGS'
24571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24574
24575       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24576 /* end confdefs.h.  */
24577 #include <math.h>
24578                       #ifdef HAVE_IEEEFP_H
24579                       #include <ieeefp.h>
24580                       #endif
24581
24582 int
24583 main ()
24584 {
24585  _expl(0);
24586   ;
24587   return 0;
24588 }
24589 _ACEOF
24590 if ac_fn_cxx_try_compile "$LINENO"; then :
24591   glibcxx_cv_func__expl_use=yes
24592 else
24593   glibcxx_cv_func__expl_use=no
24594 fi
24595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24596       ac_ext=c
24597 ac_cpp='$CPP $CPPFLAGS'
24598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24601
24602
24603 fi
24604
24605   fi
24606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24607 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24608
24609     if test x$glibcxx_cv_func__expl_use = x"yes"; then
24610       for ac_func in _expl
24611 do :
24612   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24613 if test "x$ac_cv_func__expl" = x""yes; then :
24614   cat >>confdefs.h <<_ACEOF
24615 #define HAVE__EXPL 1
24616 _ACEOF
24617
24618 fi
24619 done
24620
24621     fi
24622   fi
24623
24624
24625
24626
24627
24628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24629 $as_echo_n "checking for fabsl declaration... " >&6; }
24630   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24631     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24632   $as_echo_n "(cached) " >&6
24633 else
24634
24635
24636       ac_ext=cpp
24637 ac_cpp='$CXXCPP $CPPFLAGS'
24638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24641
24642       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24643 /* end confdefs.h.  */
24644 #include <math.h>
24645                       #ifdef HAVE_IEEEFP_H
24646                       #include <ieeefp.h>
24647                       #endif
24648
24649 int
24650 main ()
24651 {
24652  fabsl(0);
24653   ;
24654   return 0;
24655 }
24656 _ACEOF
24657 if ac_fn_cxx_try_compile "$LINENO"; then :
24658   glibcxx_cv_func_fabsl_use=yes
24659 else
24660   glibcxx_cv_func_fabsl_use=no
24661 fi
24662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24663       ac_ext=c
24664 ac_cpp='$CPP $CPPFLAGS'
24665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24668
24669
24670 fi
24671
24672   fi
24673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24674 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24675
24676   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24677     for ac_func in fabsl
24678 do :
24679   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24680 if test "x$ac_cv_func_fabsl" = x""yes; then :
24681   cat >>confdefs.h <<_ACEOF
24682 #define HAVE_FABSL 1
24683 _ACEOF
24684
24685 fi
24686 done
24687
24688   else
24689
24690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24691 $as_echo_n "checking for _fabsl declaration... " >&6; }
24692   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24693     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24694   $as_echo_n "(cached) " >&6
24695 else
24696
24697
24698       ac_ext=cpp
24699 ac_cpp='$CXXCPP $CPPFLAGS'
24700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24703
24704       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24705 /* end confdefs.h.  */
24706 #include <math.h>
24707                       #ifdef HAVE_IEEEFP_H
24708                       #include <ieeefp.h>
24709                       #endif
24710
24711 int
24712 main ()
24713 {
24714  _fabsl(0);
24715   ;
24716   return 0;
24717 }
24718 _ACEOF
24719 if ac_fn_cxx_try_compile "$LINENO"; then :
24720   glibcxx_cv_func__fabsl_use=yes
24721 else
24722   glibcxx_cv_func__fabsl_use=no
24723 fi
24724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24725       ac_ext=c
24726 ac_cpp='$CPP $CPPFLAGS'
24727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24730
24731
24732 fi
24733
24734   fi
24735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24736 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24737
24738     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24739       for ac_func in _fabsl
24740 do :
24741   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24742 if test "x$ac_cv_func__fabsl" = x""yes; then :
24743   cat >>confdefs.h <<_ACEOF
24744 #define HAVE__FABSL 1
24745 _ACEOF
24746
24747 fi
24748 done
24749
24750     fi
24751   fi
24752
24753
24754
24755
24756
24757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24758 $as_echo_n "checking for fmodl declaration... " >&6; }
24759   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24760     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24761   $as_echo_n "(cached) " >&6
24762 else
24763
24764
24765       ac_ext=cpp
24766 ac_cpp='$CXXCPP $CPPFLAGS'
24767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24770
24771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24772 /* end confdefs.h.  */
24773 #include <math.h>
24774 int
24775 main ()
24776 {
24777  fmodl(0, 0);
24778   ;
24779   return 0;
24780 }
24781 _ACEOF
24782 if ac_fn_cxx_try_compile "$LINENO"; then :
24783   glibcxx_cv_func_fmodl_use=yes
24784 else
24785   glibcxx_cv_func_fmodl_use=no
24786 fi
24787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24788       ac_ext=c
24789 ac_cpp='$CPP $CPPFLAGS'
24790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24793
24794
24795 fi
24796
24797   fi
24798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24799 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24800
24801   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24802     for ac_func in fmodl
24803 do :
24804   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24805 if test "x$ac_cv_func_fmodl" = x""yes; then :
24806   cat >>confdefs.h <<_ACEOF
24807 #define HAVE_FMODL 1
24808 _ACEOF
24809
24810 fi
24811 done
24812
24813   else
24814
24815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24816 $as_echo_n "checking for _fmodl declaration... " >&6; }
24817   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24818     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24819   $as_echo_n "(cached) " >&6
24820 else
24821
24822
24823       ac_ext=cpp
24824 ac_cpp='$CXXCPP $CPPFLAGS'
24825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24828
24829       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24830 /* end confdefs.h.  */
24831 #include <math.h>
24832 int
24833 main ()
24834 {
24835  _fmodl(0, 0);
24836   ;
24837   return 0;
24838 }
24839 _ACEOF
24840 if ac_fn_cxx_try_compile "$LINENO"; then :
24841   glibcxx_cv_func__fmodl_use=yes
24842 else
24843   glibcxx_cv_func__fmodl_use=no
24844 fi
24845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24846       ac_ext=c
24847 ac_cpp='$CPP $CPPFLAGS'
24848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24851
24852
24853 fi
24854
24855   fi
24856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24857 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24858
24859     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24860       for ac_func in _fmodl
24861 do :
24862   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24863 if test "x$ac_cv_func__fmodl" = x""yes; then :
24864   cat >>confdefs.h <<_ACEOF
24865 #define HAVE__FMODL 1
24866 _ACEOF
24867
24868 fi
24869 done
24870
24871     fi
24872   fi
24873
24874
24875
24876
24877
24878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24879 $as_echo_n "checking for frexpl declaration... " >&6; }
24880   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24881     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24882   $as_echo_n "(cached) " >&6
24883 else
24884
24885
24886       ac_ext=cpp
24887 ac_cpp='$CXXCPP $CPPFLAGS'
24888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24891
24892       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24893 /* end confdefs.h.  */
24894 #include <math.h>
24895 int
24896 main ()
24897 {
24898  frexpl(0, 0);
24899   ;
24900   return 0;
24901 }
24902 _ACEOF
24903 if ac_fn_cxx_try_compile "$LINENO"; then :
24904   glibcxx_cv_func_frexpl_use=yes
24905 else
24906   glibcxx_cv_func_frexpl_use=no
24907 fi
24908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24909       ac_ext=c
24910 ac_cpp='$CPP $CPPFLAGS'
24911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24914
24915
24916 fi
24917
24918   fi
24919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24920 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24921
24922   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24923     for ac_func in frexpl
24924 do :
24925   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24926 if test "x$ac_cv_func_frexpl" = x""yes; then :
24927   cat >>confdefs.h <<_ACEOF
24928 #define HAVE_FREXPL 1
24929 _ACEOF
24930
24931 fi
24932 done
24933
24934   else
24935
24936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24937 $as_echo_n "checking for _frexpl declaration... " >&6; }
24938   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24939     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24940   $as_echo_n "(cached) " >&6
24941 else
24942
24943
24944       ac_ext=cpp
24945 ac_cpp='$CXXCPP $CPPFLAGS'
24946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24949
24950       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24951 /* end confdefs.h.  */
24952 #include <math.h>
24953 int
24954 main ()
24955 {
24956  _frexpl(0, 0);
24957   ;
24958   return 0;
24959 }
24960 _ACEOF
24961 if ac_fn_cxx_try_compile "$LINENO"; then :
24962   glibcxx_cv_func__frexpl_use=yes
24963 else
24964   glibcxx_cv_func__frexpl_use=no
24965 fi
24966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24967       ac_ext=c
24968 ac_cpp='$CPP $CPPFLAGS'
24969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24972
24973
24974 fi
24975
24976   fi
24977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24978 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24979
24980     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24981       for ac_func in _frexpl
24982 do :
24983   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24984 if test "x$ac_cv_func__frexpl" = x""yes; then :
24985   cat >>confdefs.h <<_ACEOF
24986 #define HAVE__FREXPL 1
24987 _ACEOF
24988
24989 fi
24990 done
24991
24992     fi
24993   fi
24994
24995
24996
24997
24998
24999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25000 $as_echo_n "checking for hypotl declaration... " >&6; }
25001   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25002     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25003   $as_echo_n "(cached) " >&6
25004 else
25005
25006
25007       ac_ext=cpp
25008 ac_cpp='$CXXCPP $CPPFLAGS'
25009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25012
25013       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25014 /* end confdefs.h.  */
25015 #include <math.h>
25016 int
25017 main ()
25018 {
25019  hypotl(0, 0);
25020   ;
25021   return 0;
25022 }
25023 _ACEOF
25024 if ac_fn_cxx_try_compile "$LINENO"; then :
25025   glibcxx_cv_func_hypotl_use=yes
25026 else
25027   glibcxx_cv_func_hypotl_use=no
25028 fi
25029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25030       ac_ext=c
25031 ac_cpp='$CPP $CPPFLAGS'
25032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25035
25036
25037 fi
25038
25039   fi
25040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25041 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25042
25043   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25044     for ac_func in hypotl
25045 do :
25046   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25047 if test "x$ac_cv_func_hypotl" = x""yes; then :
25048   cat >>confdefs.h <<_ACEOF
25049 #define HAVE_HYPOTL 1
25050 _ACEOF
25051
25052 fi
25053 done
25054
25055   else
25056
25057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25058 $as_echo_n "checking for _hypotl declaration... " >&6; }
25059   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25060     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25061   $as_echo_n "(cached) " >&6
25062 else
25063
25064
25065       ac_ext=cpp
25066 ac_cpp='$CXXCPP $CPPFLAGS'
25067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25070
25071       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25072 /* end confdefs.h.  */
25073 #include <math.h>
25074 int
25075 main ()
25076 {
25077  _hypotl(0, 0);
25078   ;
25079   return 0;
25080 }
25081 _ACEOF
25082 if ac_fn_cxx_try_compile "$LINENO"; then :
25083   glibcxx_cv_func__hypotl_use=yes
25084 else
25085   glibcxx_cv_func__hypotl_use=no
25086 fi
25087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25088       ac_ext=c
25089 ac_cpp='$CPP $CPPFLAGS'
25090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25093
25094
25095 fi
25096
25097   fi
25098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25099 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25100
25101     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25102       for ac_func in _hypotl
25103 do :
25104   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25105 if test "x$ac_cv_func__hypotl" = x""yes; then :
25106   cat >>confdefs.h <<_ACEOF
25107 #define HAVE__HYPOTL 1
25108 _ACEOF
25109
25110 fi
25111 done
25112
25113     fi
25114   fi
25115
25116
25117
25118
25119
25120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25121 $as_echo_n "checking for ldexpl declaration... " >&6; }
25122   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25123     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25124   $as_echo_n "(cached) " >&6
25125 else
25126
25127
25128       ac_ext=cpp
25129 ac_cpp='$CXXCPP $CPPFLAGS'
25130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25133
25134       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25135 /* end confdefs.h.  */
25136 #include <math.h>
25137 int
25138 main ()
25139 {
25140  ldexpl(0, 0);
25141   ;
25142   return 0;
25143 }
25144 _ACEOF
25145 if ac_fn_cxx_try_compile "$LINENO"; then :
25146   glibcxx_cv_func_ldexpl_use=yes
25147 else
25148   glibcxx_cv_func_ldexpl_use=no
25149 fi
25150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25151       ac_ext=c
25152 ac_cpp='$CPP $CPPFLAGS'
25153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25156
25157
25158 fi
25159
25160   fi
25161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25162 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25163
25164   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25165     for ac_func in ldexpl
25166 do :
25167   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25168 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25169   cat >>confdefs.h <<_ACEOF
25170 #define HAVE_LDEXPL 1
25171 _ACEOF
25172
25173 fi
25174 done
25175
25176   else
25177
25178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25179 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25180   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25181     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25182   $as_echo_n "(cached) " >&6
25183 else
25184
25185
25186       ac_ext=cpp
25187 ac_cpp='$CXXCPP $CPPFLAGS'
25188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25191
25192       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25193 /* end confdefs.h.  */
25194 #include <math.h>
25195 int
25196 main ()
25197 {
25198  _ldexpl(0, 0);
25199   ;
25200   return 0;
25201 }
25202 _ACEOF
25203 if ac_fn_cxx_try_compile "$LINENO"; then :
25204   glibcxx_cv_func__ldexpl_use=yes
25205 else
25206   glibcxx_cv_func__ldexpl_use=no
25207 fi
25208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25209       ac_ext=c
25210 ac_cpp='$CPP $CPPFLAGS'
25211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25214
25215
25216 fi
25217
25218   fi
25219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25220 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25221
25222     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25223       for ac_func in _ldexpl
25224 do :
25225   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25226 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25227   cat >>confdefs.h <<_ACEOF
25228 #define HAVE__LDEXPL 1
25229 _ACEOF
25230
25231 fi
25232 done
25233
25234     fi
25235   fi
25236
25237
25238
25239
25240
25241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25242 $as_echo_n "checking for logl declaration... " >&6; }
25243   if test x${glibcxx_cv_func_logl_use+set} != xset; then
25244     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25245   $as_echo_n "(cached) " >&6
25246 else
25247
25248
25249       ac_ext=cpp
25250 ac_cpp='$CXXCPP $CPPFLAGS'
25251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25254
25255       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25256 /* end confdefs.h.  */
25257 #include <math.h>
25258                       #ifdef HAVE_IEEEFP_H
25259                       #include <ieeefp.h>
25260                       #endif
25261
25262 int
25263 main ()
25264 {
25265  logl(0);
25266   ;
25267   return 0;
25268 }
25269 _ACEOF
25270 if ac_fn_cxx_try_compile "$LINENO"; then :
25271   glibcxx_cv_func_logl_use=yes
25272 else
25273   glibcxx_cv_func_logl_use=no
25274 fi
25275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25276       ac_ext=c
25277 ac_cpp='$CPP $CPPFLAGS'
25278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25281
25282
25283 fi
25284
25285   fi
25286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25287 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25288
25289   if test x$glibcxx_cv_func_logl_use = x"yes"; then
25290     for ac_func in logl
25291 do :
25292   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25293 if test "x$ac_cv_func_logl" = x""yes; then :
25294   cat >>confdefs.h <<_ACEOF
25295 #define HAVE_LOGL 1
25296 _ACEOF
25297
25298 fi
25299 done
25300
25301   else
25302
25303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25304 $as_echo_n "checking for _logl declaration... " >&6; }
25305   if test x${glibcxx_cv_func__logl_use+set} != xset; then
25306     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25307   $as_echo_n "(cached) " >&6
25308 else
25309
25310
25311       ac_ext=cpp
25312 ac_cpp='$CXXCPP $CPPFLAGS'
25313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25316
25317       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25318 /* end confdefs.h.  */
25319 #include <math.h>
25320                       #ifdef HAVE_IEEEFP_H
25321                       #include <ieeefp.h>
25322                       #endif
25323
25324 int
25325 main ()
25326 {
25327  _logl(0);
25328   ;
25329   return 0;
25330 }
25331 _ACEOF
25332 if ac_fn_cxx_try_compile "$LINENO"; then :
25333   glibcxx_cv_func__logl_use=yes
25334 else
25335   glibcxx_cv_func__logl_use=no
25336 fi
25337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25338       ac_ext=c
25339 ac_cpp='$CPP $CPPFLAGS'
25340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25343
25344
25345 fi
25346
25347   fi
25348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25349 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25350
25351     if test x$glibcxx_cv_func__logl_use = x"yes"; then
25352       for ac_func in _logl
25353 do :
25354   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25355 if test "x$ac_cv_func__logl" = x""yes; then :
25356   cat >>confdefs.h <<_ACEOF
25357 #define HAVE__LOGL 1
25358 _ACEOF
25359
25360 fi
25361 done
25362
25363     fi
25364   fi
25365
25366
25367
25368
25369
25370   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25371 $as_echo_n "checking for log10l declaration... " >&6; }
25372   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25373     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25374   $as_echo_n "(cached) " >&6
25375 else
25376
25377
25378       ac_ext=cpp
25379 ac_cpp='$CXXCPP $CPPFLAGS'
25380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25383
25384       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25385 /* end confdefs.h.  */
25386 #include <math.h>
25387                       #ifdef HAVE_IEEEFP_H
25388                       #include <ieeefp.h>
25389                       #endif
25390
25391 int
25392 main ()
25393 {
25394  log10l(0);
25395   ;
25396   return 0;
25397 }
25398 _ACEOF
25399 if ac_fn_cxx_try_compile "$LINENO"; then :
25400   glibcxx_cv_func_log10l_use=yes
25401 else
25402   glibcxx_cv_func_log10l_use=no
25403 fi
25404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25405       ac_ext=c
25406 ac_cpp='$CPP $CPPFLAGS'
25407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25410
25411
25412 fi
25413
25414   fi
25415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25416 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25417
25418   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25419     for ac_func in log10l
25420 do :
25421   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25422 if test "x$ac_cv_func_log10l" = x""yes; then :
25423   cat >>confdefs.h <<_ACEOF
25424 #define HAVE_LOG10L 1
25425 _ACEOF
25426
25427 fi
25428 done
25429
25430   else
25431
25432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25433 $as_echo_n "checking for _log10l declaration... " >&6; }
25434   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25435     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25436   $as_echo_n "(cached) " >&6
25437 else
25438
25439
25440       ac_ext=cpp
25441 ac_cpp='$CXXCPP $CPPFLAGS'
25442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25445
25446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25447 /* end confdefs.h.  */
25448 #include <math.h>
25449                       #ifdef HAVE_IEEEFP_H
25450                       #include <ieeefp.h>
25451                       #endif
25452
25453 int
25454 main ()
25455 {
25456  _log10l(0);
25457   ;
25458   return 0;
25459 }
25460 _ACEOF
25461 if ac_fn_cxx_try_compile "$LINENO"; then :
25462   glibcxx_cv_func__log10l_use=yes
25463 else
25464   glibcxx_cv_func__log10l_use=no
25465 fi
25466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25467       ac_ext=c
25468 ac_cpp='$CPP $CPPFLAGS'
25469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25472
25473
25474 fi
25475
25476   fi
25477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25478 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25479
25480     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25481       for ac_func in _log10l
25482 do :
25483   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25484 if test "x$ac_cv_func__log10l" = x""yes; then :
25485   cat >>confdefs.h <<_ACEOF
25486 #define HAVE__LOG10L 1
25487 _ACEOF
25488
25489 fi
25490 done
25491
25492     fi
25493   fi
25494
25495
25496
25497
25498
25499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25500 $as_echo_n "checking for modfl declaration... " >&6; }
25501   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25502     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25503   $as_echo_n "(cached) " >&6
25504 else
25505
25506
25507       ac_ext=cpp
25508 ac_cpp='$CXXCPP $CPPFLAGS'
25509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25512
25513       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25514 /* end confdefs.h.  */
25515 #include <math.h>
25516 int
25517 main ()
25518 {
25519  modfl(0, 0);
25520   ;
25521   return 0;
25522 }
25523 _ACEOF
25524 if ac_fn_cxx_try_compile "$LINENO"; then :
25525   glibcxx_cv_func_modfl_use=yes
25526 else
25527   glibcxx_cv_func_modfl_use=no
25528 fi
25529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25530       ac_ext=c
25531 ac_cpp='$CPP $CPPFLAGS'
25532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25535
25536
25537 fi
25538
25539   fi
25540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25541 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25542
25543   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25544     for ac_func in modfl
25545 do :
25546   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25547 if test "x$ac_cv_func_modfl" = x""yes; then :
25548   cat >>confdefs.h <<_ACEOF
25549 #define HAVE_MODFL 1
25550 _ACEOF
25551
25552 fi
25553 done
25554
25555   else
25556
25557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25558 $as_echo_n "checking for _modfl declaration... " >&6; }
25559   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25560     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25561   $as_echo_n "(cached) " >&6
25562 else
25563
25564
25565       ac_ext=cpp
25566 ac_cpp='$CXXCPP $CPPFLAGS'
25567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25570
25571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25572 /* end confdefs.h.  */
25573 #include <math.h>
25574 int
25575 main ()
25576 {
25577  _modfl(0, 0);
25578   ;
25579   return 0;
25580 }
25581 _ACEOF
25582 if ac_fn_cxx_try_compile "$LINENO"; then :
25583   glibcxx_cv_func__modfl_use=yes
25584 else
25585   glibcxx_cv_func__modfl_use=no
25586 fi
25587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25588       ac_ext=c
25589 ac_cpp='$CPP $CPPFLAGS'
25590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25593
25594
25595 fi
25596
25597   fi
25598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25599 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25600
25601     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25602       for ac_func in _modfl
25603 do :
25604   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25605 if test "x$ac_cv_func__modfl" = x""yes; then :
25606   cat >>confdefs.h <<_ACEOF
25607 #define HAVE__MODFL 1
25608 _ACEOF
25609
25610 fi
25611 done
25612
25613     fi
25614   fi
25615
25616
25617
25618
25619
25620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25621 $as_echo_n "checking for powl declaration... " >&6; }
25622   if test x${glibcxx_cv_func_powl_use+set} != xset; then
25623     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25624   $as_echo_n "(cached) " >&6
25625 else
25626
25627
25628       ac_ext=cpp
25629 ac_cpp='$CXXCPP $CPPFLAGS'
25630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25633
25634       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25635 /* end confdefs.h.  */
25636 #include <math.h>
25637 int
25638 main ()
25639 {
25640  powl(0, 0);
25641   ;
25642   return 0;
25643 }
25644 _ACEOF
25645 if ac_fn_cxx_try_compile "$LINENO"; then :
25646   glibcxx_cv_func_powl_use=yes
25647 else
25648   glibcxx_cv_func_powl_use=no
25649 fi
25650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25651       ac_ext=c
25652 ac_cpp='$CPP $CPPFLAGS'
25653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25656
25657
25658 fi
25659
25660   fi
25661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25662 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25663
25664   if test x$glibcxx_cv_func_powl_use = x"yes"; then
25665     for ac_func in powl
25666 do :
25667   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25668 if test "x$ac_cv_func_powl" = x""yes; then :
25669   cat >>confdefs.h <<_ACEOF
25670 #define HAVE_POWL 1
25671 _ACEOF
25672
25673 fi
25674 done
25675
25676   else
25677
25678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25679 $as_echo_n "checking for _powl declaration... " >&6; }
25680   if test x${glibcxx_cv_func__powl_use+set} != xset; then
25681     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25682   $as_echo_n "(cached) " >&6
25683 else
25684
25685
25686       ac_ext=cpp
25687 ac_cpp='$CXXCPP $CPPFLAGS'
25688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25691
25692       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25693 /* end confdefs.h.  */
25694 #include <math.h>
25695 int
25696 main ()
25697 {
25698  _powl(0, 0);
25699   ;
25700   return 0;
25701 }
25702 _ACEOF
25703 if ac_fn_cxx_try_compile "$LINENO"; then :
25704   glibcxx_cv_func__powl_use=yes
25705 else
25706   glibcxx_cv_func__powl_use=no
25707 fi
25708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25709       ac_ext=c
25710 ac_cpp='$CPP $CPPFLAGS'
25711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25714
25715
25716 fi
25717
25718   fi
25719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25720 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25721
25722     if test x$glibcxx_cv_func__powl_use = x"yes"; then
25723       for ac_func in _powl
25724 do :
25725   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25726 if test "x$ac_cv_func__powl" = x""yes; then :
25727   cat >>confdefs.h <<_ACEOF
25728 #define HAVE__POWL 1
25729 _ACEOF
25730
25731 fi
25732 done
25733
25734     fi
25735   fi
25736
25737
25738
25739
25740
25741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25742 $as_echo_n "checking for sqrtl declaration... " >&6; }
25743   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25744     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25745   $as_echo_n "(cached) " >&6
25746 else
25747
25748
25749       ac_ext=cpp
25750 ac_cpp='$CXXCPP $CPPFLAGS'
25751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25754
25755       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25756 /* end confdefs.h.  */
25757 #include <math.h>
25758                       #ifdef HAVE_IEEEFP_H
25759                       #include <ieeefp.h>
25760                       #endif
25761
25762 int
25763 main ()
25764 {
25765  sqrtl(0);
25766   ;
25767   return 0;
25768 }
25769 _ACEOF
25770 if ac_fn_cxx_try_compile "$LINENO"; then :
25771   glibcxx_cv_func_sqrtl_use=yes
25772 else
25773   glibcxx_cv_func_sqrtl_use=no
25774 fi
25775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25776       ac_ext=c
25777 ac_cpp='$CPP $CPPFLAGS'
25778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25781
25782
25783 fi
25784
25785   fi
25786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25787 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25788
25789   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25790     for ac_func in sqrtl
25791 do :
25792   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25793 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25794   cat >>confdefs.h <<_ACEOF
25795 #define HAVE_SQRTL 1
25796 _ACEOF
25797
25798 fi
25799 done
25800
25801   else
25802
25803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25804 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25805   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25806     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25807   $as_echo_n "(cached) " >&6
25808 else
25809
25810
25811       ac_ext=cpp
25812 ac_cpp='$CXXCPP $CPPFLAGS'
25813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25816
25817       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25818 /* end confdefs.h.  */
25819 #include <math.h>
25820                       #ifdef HAVE_IEEEFP_H
25821                       #include <ieeefp.h>
25822                       #endif
25823
25824 int
25825 main ()
25826 {
25827  _sqrtl(0);
25828   ;
25829   return 0;
25830 }
25831 _ACEOF
25832 if ac_fn_cxx_try_compile "$LINENO"; then :
25833   glibcxx_cv_func__sqrtl_use=yes
25834 else
25835   glibcxx_cv_func__sqrtl_use=no
25836 fi
25837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25838       ac_ext=c
25839 ac_cpp='$CPP $CPPFLAGS'
25840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25843
25844
25845 fi
25846
25847   fi
25848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25849 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25850
25851     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25852       for ac_func in _sqrtl
25853 do :
25854   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25855 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25856   cat >>confdefs.h <<_ACEOF
25857 #define HAVE__SQRTL 1
25858 _ACEOF
25859
25860 fi
25861 done
25862
25863     fi
25864   fi
25865
25866
25867
25868
25869
25870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25871 $as_echo_n "checking for sincosl declaration... " >&6; }
25872   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25873     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25874   $as_echo_n "(cached) " >&6
25875 else
25876
25877
25878       ac_ext=cpp
25879 ac_cpp='$CXXCPP $CPPFLAGS'
25880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25883
25884       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25885 /* end confdefs.h.  */
25886 #include <math.h>
25887 int
25888 main ()
25889 {
25890  sincosl(0, 0, 0);
25891   ;
25892   return 0;
25893 }
25894 _ACEOF
25895 if ac_fn_cxx_try_compile "$LINENO"; then :
25896   glibcxx_cv_func_sincosl_use=yes
25897 else
25898   glibcxx_cv_func_sincosl_use=no
25899 fi
25900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25901       ac_ext=c
25902 ac_cpp='$CPP $CPPFLAGS'
25903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25906
25907
25908 fi
25909
25910   fi
25911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25912 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25913
25914   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25915     for ac_func in sincosl
25916 do :
25917   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25918 if test "x$ac_cv_func_sincosl" = x""yes; then :
25919   cat >>confdefs.h <<_ACEOF
25920 #define HAVE_SINCOSL 1
25921 _ACEOF
25922
25923 fi
25924 done
25925
25926   else
25927
25928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25929 $as_echo_n "checking for _sincosl declaration... " >&6; }
25930   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25931     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25932   $as_echo_n "(cached) " >&6
25933 else
25934
25935
25936       ac_ext=cpp
25937 ac_cpp='$CXXCPP $CPPFLAGS'
25938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25941
25942       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25943 /* end confdefs.h.  */
25944 #include <math.h>
25945 int
25946 main ()
25947 {
25948  _sincosl(0, 0, 0);
25949   ;
25950   return 0;
25951 }
25952 _ACEOF
25953 if ac_fn_cxx_try_compile "$LINENO"; then :
25954   glibcxx_cv_func__sincosl_use=yes
25955 else
25956   glibcxx_cv_func__sincosl_use=no
25957 fi
25958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25959       ac_ext=c
25960 ac_cpp='$CPP $CPPFLAGS'
25961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25964
25965
25966 fi
25967
25968   fi
25969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25970 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25971
25972     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25973       for ac_func in _sincosl
25974 do :
25975   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25976 if test "x$ac_cv_func__sincosl" = x""yes; then :
25977   cat >>confdefs.h <<_ACEOF
25978 #define HAVE__SINCOSL 1
25979 _ACEOF
25980
25981 fi
25982 done
25983
25984     fi
25985   fi
25986
25987
25988
25989
25990
25991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25992 $as_echo_n "checking for finitel declaration... " >&6; }
25993   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25994     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25995   $as_echo_n "(cached) " >&6
25996 else
25997
25998
25999       ac_ext=cpp
26000 ac_cpp='$CXXCPP $CPPFLAGS'
26001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26004
26005       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26006 /* end confdefs.h.  */
26007 #include <math.h>
26008                       #ifdef HAVE_IEEEFP_H
26009                       #include <ieeefp.h>
26010                       #endif
26011
26012 int
26013 main ()
26014 {
26015  finitel(0);
26016   ;
26017   return 0;
26018 }
26019 _ACEOF
26020 if ac_fn_cxx_try_compile "$LINENO"; then :
26021   glibcxx_cv_func_finitel_use=yes
26022 else
26023   glibcxx_cv_func_finitel_use=no
26024 fi
26025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26026       ac_ext=c
26027 ac_cpp='$CPP $CPPFLAGS'
26028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26031
26032
26033 fi
26034
26035   fi
26036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26037 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26038
26039   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26040     for ac_func in finitel
26041 do :
26042   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26043 if test "x$ac_cv_func_finitel" = x""yes; then :
26044   cat >>confdefs.h <<_ACEOF
26045 #define HAVE_FINITEL 1
26046 _ACEOF
26047
26048 fi
26049 done
26050
26051   else
26052
26053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26054 $as_echo_n "checking for _finitel declaration... " >&6; }
26055   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26056     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26057   $as_echo_n "(cached) " >&6
26058 else
26059
26060
26061       ac_ext=cpp
26062 ac_cpp='$CXXCPP $CPPFLAGS'
26063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26066
26067       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26068 /* end confdefs.h.  */
26069 #include <math.h>
26070                       #ifdef HAVE_IEEEFP_H
26071                       #include <ieeefp.h>
26072                       #endif
26073
26074 int
26075 main ()
26076 {
26077  _finitel(0);
26078   ;
26079   return 0;
26080 }
26081 _ACEOF
26082 if ac_fn_cxx_try_compile "$LINENO"; then :
26083   glibcxx_cv_func__finitel_use=yes
26084 else
26085   glibcxx_cv_func__finitel_use=no
26086 fi
26087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26088       ac_ext=c
26089 ac_cpp='$CPP $CPPFLAGS'
26090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26093
26094
26095 fi
26096
26097   fi
26098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26099 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26100
26101     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26102       for ac_func in _finitel
26103 do :
26104   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26105 if test "x$ac_cv_func__finitel" = x""yes; then :
26106   cat >>confdefs.h <<_ACEOF
26107 #define HAVE__FINITEL 1
26108 _ACEOF
26109
26110 fi
26111 done
26112
26113     fi
26114   fi
26115
26116
26117
26118
26119   LIBS="$ac_save_LIBS"
26120   CXXFLAGS="$ac_save_CXXFLAGS"
26121
26122
26123   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26124   ac_save_CXXFLAGS="$CXXFLAGS"
26125   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26126
26127
26128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26129 $as_echo_n "checking for strtold declaration... " >&6; }
26130   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26131     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26132   $as_echo_n "(cached) " >&6
26133 else
26134
26135
26136       ac_ext=cpp
26137 ac_cpp='$CXXCPP $CPPFLAGS'
26138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26141
26142       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26143 /* end confdefs.h.  */
26144 #include <stdlib.h>
26145 int
26146 main ()
26147 {
26148  strtold(0, 0);
26149   ;
26150   return 0;
26151 }
26152 _ACEOF
26153 if ac_fn_cxx_try_compile "$LINENO"; then :
26154   glibcxx_cv_func_strtold_use=yes
26155 else
26156   glibcxx_cv_func_strtold_use=no
26157 fi
26158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26159       ac_ext=c
26160 ac_cpp='$CPP $CPPFLAGS'
26161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26164
26165
26166 fi
26167
26168   fi
26169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26170 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26171   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26172     for ac_func in strtold
26173 do :
26174   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26175 if test "x$ac_cv_func_strtold" = x""yes; then :
26176   cat >>confdefs.h <<_ACEOF
26177 #define HAVE_STRTOLD 1
26178 _ACEOF
26179
26180 fi
26181 done
26182
26183   fi
26184
26185
26186
26187
26188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26189 $as_echo_n "checking for strtof declaration... " >&6; }
26190   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26191     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26192   $as_echo_n "(cached) " >&6
26193 else
26194
26195
26196       ac_ext=cpp
26197 ac_cpp='$CXXCPP $CPPFLAGS'
26198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26201
26202       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26203 /* end confdefs.h.  */
26204 #include <stdlib.h>
26205 int
26206 main ()
26207 {
26208  strtof(0, 0);
26209   ;
26210   return 0;
26211 }
26212 _ACEOF
26213 if ac_fn_cxx_try_compile "$LINENO"; then :
26214   glibcxx_cv_func_strtof_use=yes
26215 else
26216   glibcxx_cv_func_strtof_use=no
26217 fi
26218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26219       ac_ext=c
26220 ac_cpp='$CPP $CPPFLAGS'
26221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26224
26225
26226 fi
26227
26228   fi
26229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26230 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26231   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26232     for ac_func in strtof
26233 do :
26234   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26235 if test "x$ac_cv_func_strtof" = x""yes; then :
26236   cat >>confdefs.h <<_ACEOF
26237 #define HAVE_STRTOF 1
26238 _ACEOF
26239
26240 fi
26241 done
26242
26243   fi
26244
26245
26246
26247
26248   CXXFLAGS="$ac_save_CXXFLAGS"
26249
26250
26251   # For /dev/random and /dev/urandom for TR1.
26252
26253
26254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26255 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26256   if test "${glibcxx_cv_random_tr1+set}" = set; then :
26257   $as_echo_n "(cached) " >&6
26258 else
26259
26260     if test -r /dev/random && test -r /dev/urandom; then
26261       glibcxx_cv_random_tr1=yes;
26262     else
26263       glibcxx_cv_random_tr1=no;
26264     fi
26265
26266 fi
26267
26268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26269 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26270
26271   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26272
26273 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26274
26275   fi
26276
26277
26278
26279   # For TLS support.
26280
26281
26282    # Check whether --enable-tls was given.
26283 if test "${enable_tls+set}" = set; then :
26284   enableval=$enable_tls;
26285       case "$enableval" in
26286        yes|no) ;;
26287        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26288       esac
26289
26290 else
26291   enable_tls=yes
26292 fi
26293
26294
26295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26296 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26297 if test "${gcc_cv_have_tls+set}" = set; then :
26298   $as_echo_n "(cached) " >&6
26299 else
26300
26301     if test "$cross_compiling" = yes; then :
26302                 if test x$gcc_no_link = xyes; then
26303   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26304 fi
26305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26306 /* end confdefs.h.  */
26307 __thread int a; int b; int main() { return a = b; }
26308 _ACEOF
26309 if ac_fn_c_try_link "$LINENO"; then :
26310   chktls_save_LDFLAGS="$LDFLAGS"
26311                           case $host in
26312             *-*-linux*)
26313               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26314               ;;
26315           esac
26316           chktls_save_CFLAGS="$CFLAGS"
26317           CFLAGS="-fPIC $CFLAGS"
26318                   if test x$gcc_no_link = xyes; then
26319   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26320 fi
26321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26322 /* end confdefs.h.  */
26323 int f() { return 0; }
26324 _ACEOF
26325 if ac_fn_c_try_link "$LINENO"; then :
26326   if test x$gcc_no_link = xyes; then
26327   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26328 fi
26329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26330 /* end confdefs.h.  */
26331 __thread int a; int b; int f() { return a = b; }
26332 _ACEOF
26333 if ac_fn_c_try_link "$LINENO"; then :
26334   gcc_cv_have_tls=yes
26335 else
26336   gcc_cv_have_tls=no
26337 fi
26338 rm -f core conftest.err conftest.$ac_objext \
26339     conftest$ac_exeext conftest.$ac_ext
26340 else
26341   gcc_cv_have_tls=yes
26342 fi
26343 rm -f core conftest.err conftest.$ac_objext \
26344     conftest$ac_exeext conftest.$ac_ext
26345           CFLAGS="$chktls_save_CFLAGS"
26346           LDFLAGS="$chktls_save_LDFLAGS"
26347 else
26348   gcc_cv_have_tls=no
26349 fi
26350 rm -f core conftest.err conftest.$ac_objext \
26351     conftest$ac_exeext conftest.$ac_ext
26352
26353
26354 else
26355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26356 /* end confdefs.h.  */
26357 __thread int a; int b; int main() { return a = b; }
26358 _ACEOF
26359 if ac_fn_c_try_run "$LINENO"; then :
26360                       chktls_save_LDFLAGS="$LDFLAGS"
26361       LDFLAGS="-static $LDFLAGS"
26362       if test x$gcc_no_link = xyes; then
26363   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26364 fi
26365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26366 /* end confdefs.h.  */
26367 int main() { return 0; }
26368 _ACEOF
26369 if ac_fn_c_try_link "$LINENO"; then :
26370   if test "$cross_compiling" = yes; then :
26371   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26373 as_fn_error "cannot run test program while cross compiling
26374 See \`config.log' for more details." "$LINENO" 5; }
26375 else
26376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26377 /* end confdefs.h.  */
26378 __thread int a; int b; int main() { return a = b; }
26379 _ACEOF
26380 if ac_fn_c_try_run "$LINENO"; then :
26381   gcc_cv_have_tls=yes
26382 else
26383   gcc_cv_have_tls=no
26384 fi
26385 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26386   conftest.$ac_objext conftest.beam conftest.$ac_ext
26387 fi
26388
26389 else
26390   gcc_cv_have_tls=yes
26391 fi
26392 rm -f core conftest.err conftest.$ac_objext \
26393     conftest$ac_exeext conftest.$ac_ext
26394       LDFLAGS="$chktls_save_LDFLAGS"
26395       if test $gcc_cv_have_tls = yes; then
26396                                                 chktls_save_CFLAGS="$CFLAGS"
26397         thread_CFLAGS=failed
26398         for flag in '' '-pthread' '-lpthread'; do
26399           CFLAGS="$flag $chktls_save_CFLAGS"
26400           if test x$gcc_no_link = xyes; then
26401   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26402 fi
26403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26404 /* end confdefs.h.  */
26405 #include <pthread.h>
26406                 void *g(void *d) { return NULL; }
26407 int
26408 main ()
26409 {
26410 pthread_t t; pthread_create(&t,NULL,g,NULL);
26411   ;
26412   return 0;
26413 }
26414 _ACEOF
26415 if ac_fn_c_try_link "$LINENO"; then :
26416   thread_CFLAGS="$flag"
26417 fi
26418 rm -f core conftest.err conftest.$ac_objext \
26419     conftest$ac_exeext conftest.$ac_ext
26420           if test "X$thread_CFLAGS" != Xfailed; then
26421             break
26422           fi
26423         done
26424         CFLAGS="$chktls_save_CFLAGS"
26425         if test "X$thread_CFLAGS" != Xfailed; then
26426           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26427                                                   if test "$cross_compiling" = yes; then :
26428   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26430 as_fn_error "cannot run test program while cross compiling
26431 See \`config.log' for more details." "$LINENO" 5; }
26432 else
26433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26434 /* end confdefs.h.  */
26435 #include <pthread.h>
26436                 __thread int a;
26437                 static int *volatile a_in_other_thread;
26438                 static void *
26439                 thread_func (void *arg)
26440                 {
26441                   a_in_other_thread = &a;
26442                   return (void *)0;
26443                 }
26444 int
26445 main ()
26446 {
26447 pthread_t thread;
26448                 void *thread_retval;
26449                 int *volatile a_in_main_thread;
26450                 a_in_main_thread = &a;
26451                 if (pthread_create (&thread, (pthread_attr_t *)0,
26452                                     thread_func, (void *)0))
26453                   return 0;
26454                 if (pthread_join (thread, &thread_retval))
26455                   return 0;
26456                 return (a_in_other_thread == a_in_main_thread);
26457   ;
26458   return 0;
26459 }
26460 _ACEOF
26461 if ac_fn_c_try_run "$LINENO"; then :
26462   gcc_cv_have_tls=yes
26463 else
26464   gcc_cv_have_tls=no
26465 fi
26466 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26467   conftest.$ac_objext conftest.beam conftest.$ac_ext
26468 fi
26469
26470           CFLAGS="$chktls_save_CFLAGS"
26471         fi
26472       fi
26473 else
26474   gcc_cv_have_tls=no
26475 fi
26476 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26477   conftest.$ac_objext conftest.beam conftest.$ac_ext
26478 fi
26479
26480 fi
26481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26482 $as_echo "$gcc_cv_have_tls" >&6; }
26483   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26484
26485 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26486
26487   fi
26488
26489   # For iconv support.
26490
26491       if test "X$prefix" = "XNONE"; then
26492     acl_final_prefix="$ac_default_prefix"
26493   else
26494     acl_final_prefix="$prefix"
26495   fi
26496   if test "X$exec_prefix" = "XNONE"; then
26497     acl_final_exec_prefix='${prefix}'
26498   else
26499     acl_final_exec_prefix="$exec_prefix"
26500   fi
26501   acl_save_prefix="$prefix"
26502   prefix="$acl_final_prefix"
26503   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26504   prefix="$acl_save_prefix"
26505
26506
26507 # Check whether --with-gnu-ld was given.
26508 if test "${with_gnu_ld+set}" = set; then :
26509   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26510 else
26511   with_gnu_ld=no
26512 fi
26513
26514 # Prepare PATH_SEPARATOR.
26515 # The user is always right.
26516 if test "${PATH_SEPARATOR+set}" != set; then
26517   echo "#! /bin/sh" >conf$$.sh
26518   echo  "exit 0"   >>conf$$.sh
26519   chmod +x conf$$.sh
26520   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26521     PATH_SEPARATOR=';'
26522   else
26523     PATH_SEPARATOR=:
26524   fi
26525   rm -f conf$$.sh
26526 fi
26527 ac_prog=ld
26528 if test "$GCC" = yes; then
26529   # Check if gcc -print-prog-name=ld gives a path.
26530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26531 $as_echo_n "checking for ld used by GCC... " >&6; }
26532   case $host in
26533   *-*-mingw*)
26534     # gcc leaves a trailing carriage return which upsets mingw
26535     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26536   *)
26537     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26538   esac
26539   case $ac_prog in
26540     # Accept absolute paths.
26541     [\\/]* | [A-Za-z]:[\\/]*)
26542       re_direlt='/[^/][^/]*/\.\./'
26543       # Canonicalize the path of ld
26544       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26545       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26546         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26547       done
26548       test -z "$LD" && LD="$ac_prog"
26549       ;;
26550   "")
26551     # If it fails, then pretend we aren't using GCC.
26552     ac_prog=ld
26553     ;;
26554   *)
26555     # If it is relative, then search for the first ld in PATH.
26556     with_gnu_ld=unknown
26557     ;;
26558   esac
26559 elif test "$with_gnu_ld" = yes; then
26560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26561 $as_echo_n "checking for GNU ld... " >&6; }
26562 else
26563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26564 $as_echo_n "checking for non-GNU ld... " >&6; }
26565 fi
26566 if test "${acl_cv_path_LD+set}" = set; then :
26567   $as_echo_n "(cached) " >&6
26568 else
26569   if test -z "$LD"; then
26570   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26571   for ac_dir in $PATH; do
26572     test -z "$ac_dir" && ac_dir=.
26573     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26574       acl_cv_path_LD="$ac_dir/$ac_prog"
26575       # Check to see if the program is GNU ld.  I'd rather use --version,
26576       # but apparently some GNU ld's only accept -v.
26577       # Break only if it was the GNU/non-GNU ld that we prefer.
26578       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26579         test "$with_gnu_ld" != no && break
26580       else
26581         test "$with_gnu_ld" != yes && break
26582       fi
26583     fi
26584   done
26585   IFS="$ac_save_ifs"
26586 else
26587   acl_cv_path_LD="$LD" # Let the user override the test with a path.
26588 fi
26589 fi
26590
26591 LD="$acl_cv_path_LD"
26592 if test -n "$LD"; then
26593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26594 $as_echo "$LD" >&6; }
26595 else
26596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26597 $as_echo "no" >&6; }
26598 fi
26599 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26601 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26602 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26603   $as_echo_n "(cached) " >&6
26604 else
26605   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26606 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26607   acl_cv_prog_gnu_ld=yes
26608 else
26609   acl_cv_prog_gnu_ld=no
26610 fi
26611 fi
26612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26613 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26614 with_gnu_ld=$acl_cv_prog_gnu_ld
26615
26616
26617
26618                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26619 $as_echo_n "checking for shared library run path origin... " >&6; }
26620 if test "${acl_cv_rpath+set}" = set; then :
26621   $as_echo_n "(cached) " >&6
26622 else
26623
26624     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26625     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26626     . ./conftest.sh
26627     rm -f ./conftest.sh
26628     acl_cv_rpath=done
26629
26630 fi
26631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26632 $as_echo "$acl_cv_rpath" >&6; }
26633   wl="$acl_cv_wl"
26634   libext="$acl_cv_libext"
26635   shlibext="$acl_cv_shlibext"
26636   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26637   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26638   hardcode_direct="$acl_cv_hardcode_direct"
26639   hardcode_minus_L="$acl_cv_hardcode_minus_L"
26640     # Check whether --enable-rpath was given.
26641 if test "${enable_rpath+set}" = set; then :
26642   enableval=$enable_rpath; :
26643 else
26644   enable_rpath=yes
26645 fi
26646
26647
26648
26649
26650
26651
26652
26653
26654     use_additional=yes
26655
26656   acl_save_prefix="$prefix"
26657   prefix="$acl_final_prefix"
26658   acl_save_exec_prefix="$exec_prefix"
26659   exec_prefix="$acl_final_exec_prefix"
26660
26661     eval additional_includedir=\"$includedir\"
26662     eval additional_libdir=\"$libdir\"
26663
26664   exec_prefix="$acl_save_exec_prefix"
26665   prefix="$acl_save_prefix"
26666
26667
26668 # Check whether --with-libiconv-prefix was given.
26669 if test "${with_libiconv_prefix+set}" = set; then :
26670   withval=$with_libiconv_prefix;
26671     if test "X$withval" = "Xno"; then
26672       use_additional=no
26673     else
26674       if test "X$withval" = "X"; then
26675
26676   acl_save_prefix="$prefix"
26677   prefix="$acl_final_prefix"
26678   acl_save_exec_prefix="$exec_prefix"
26679   exec_prefix="$acl_final_exec_prefix"
26680
26681           eval additional_includedir=\"$includedir\"
26682           eval additional_libdir=\"$libdir\"
26683
26684   exec_prefix="$acl_save_exec_prefix"
26685   prefix="$acl_save_prefix"
26686
26687       else
26688         additional_includedir="$withval/include"
26689         additional_libdir="$withval/lib"
26690       fi
26691     fi
26692
26693 fi
26694
26695       LIBICONV=
26696   LTLIBICONV=
26697   INCICONV=
26698   rpathdirs=
26699   ltrpathdirs=
26700   names_already_handled=
26701   names_next_round='iconv '
26702   while test -n "$names_next_round"; do
26703     names_this_round="$names_next_round"
26704     names_next_round=
26705     for name in $names_this_round; do
26706       already_handled=
26707       for n in $names_already_handled; do
26708         if test "$n" = "$name"; then
26709           already_handled=yes
26710           break
26711         fi
26712       done
26713       if test -z "$already_handled"; then
26714         names_already_handled="$names_already_handled $name"
26715                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26716         eval value=\"\$HAVE_LIB$uppername\"
26717         if test -n "$value"; then
26718           if test "$value" = yes; then
26719             eval value=\"\$LIB$uppername\"
26720             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26721             eval value=\"\$LTLIB$uppername\"
26722             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26723           else
26724                                     :
26725           fi
26726         else
26727                               found_dir=
26728           found_la=
26729           found_so=
26730           found_a=
26731           if test $use_additional = yes; then
26732             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26733               found_dir="$additional_libdir"
26734               found_so="$additional_libdir/lib$name.$shlibext"
26735               if test -f "$additional_libdir/lib$name.la"; then
26736                 found_la="$additional_libdir/lib$name.la"
26737               fi
26738             else
26739               if test -f "$additional_libdir/lib$name.$libext"; then
26740                 found_dir="$additional_libdir"
26741                 found_a="$additional_libdir/lib$name.$libext"
26742                 if test -f "$additional_libdir/lib$name.la"; then
26743                   found_la="$additional_libdir/lib$name.la"
26744                 fi
26745               fi
26746             fi
26747           fi
26748           if test "X$found_dir" = "X"; then
26749             for x in $LDFLAGS $LTLIBICONV; do
26750
26751   acl_save_prefix="$prefix"
26752   prefix="$acl_final_prefix"
26753   acl_save_exec_prefix="$exec_prefix"
26754   exec_prefix="$acl_final_exec_prefix"
26755   eval x=\"$x\"
26756   exec_prefix="$acl_save_exec_prefix"
26757   prefix="$acl_save_prefix"
26758
26759               case "$x" in
26760                 -L*)
26761                   dir=`echo "X$x" | sed -e 's/^X-L//'`
26762                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26763                     found_dir="$dir"
26764                     found_so="$dir/lib$name.$shlibext"
26765                     if test -f "$dir/lib$name.la"; then
26766                       found_la="$dir/lib$name.la"
26767                     fi
26768                   else
26769                     if test -f "$dir/lib$name.$libext"; then
26770                       found_dir="$dir"
26771                       found_a="$dir/lib$name.$libext"
26772                       if test -f "$dir/lib$name.la"; then
26773                         found_la="$dir/lib$name.la"
26774                       fi
26775                     fi
26776                   fi
26777                   ;;
26778               esac
26779               if test "X$found_dir" != "X"; then
26780                 break
26781               fi
26782             done
26783           fi
26784           if test "X$found_dir" != "X"; then
26785                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26786             if test "X$found_so" != "X"; then
26787                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26788                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26789               else
26790                                                                                 haveit=
26791                 for x in $ltrpathdirs; do
26792                   if test "X$x" = "X$found_dir"; then
26793                     haveit=yes
26794                     break
26795                   fi
26796                 done
26797                 if test -z "$haveit"; then
26798                   ltrpathdirs="$ltrpathdirs $found_dir"
26799                 fi
26800                                 if test "$hardcode_direct" = yes; then
26801                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26802                 else
26803                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26804                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26805                                                             haveit=
26806                     for x in $rpathdirs; do
26807                       if test "X$x" = "X$found_dir"; then
26808                         haveit=yes
26809                         break
26810                       fi
26811                     done
26812                     if test -z "$haveit"; then
26813                       rpathdirs="$rpathdirs $found_dir"
26814                     fi
26815                   else
26816                                                                                 haveit=
26817                     for x in $LDFLAGS $LIBICONV; do
26818
26819   acl_save_prefix="$prefix"
26820   prefix="$acl_final_prefix"
26821   acl_save_exec_prefix="$exec_prefix"
26822   exec_prefix="$acl_final_exec_prefix"
26823   eval x=\"$x\"
26824   exec_prefix="$acl_save_exec_prefix"
26825   prefix="$acl_save_prefix"
26826
26827                       if test "X$x" = "X-L$found_dir"; then
26828                         haveit=yes
26829                         break
26830                       fi
26831                     done
26832                     if test -z "$haveit"; then
26833                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26834                     fi
26835                     if test "$hardcode_minus_L" != no; then
26836                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26837                     else
26838                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26839                     fi
26840                   fi
26841                 fi
26842               fi
26843             else
26844               if test "X$found_a" != "X"; then
26845                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26846               else
26847                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26848               fi
26849             fi
26850                         additional_includedir=
26851             case "$found_dir" in
26852               */lib | */lib/)
26853                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26854                 additional_includedir="$basedir/include"
26855                 ;;
26856             esac
26857             if test "X$additional_includedir" != "X"; then
26858                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
26859                 haveit=
26860                 if test "X$additional_includedir" = "X/usr/local/include"; then
26861                   if test -n "$GCC"; then
26862                     case $host_os in
26863                       linux*) haveit=yes;;
26864                     esac
26865                   fi
26866                 fi
26867                 if test -z "$haveit"; then
26868                   for x in $CPPFLAGS $INCICONV; do
26869
26870   acl_save_prefix="$prefix"
26871   prefix="$acl_final_prefix"
26872   acl_save_exec_prefix="$exec_prefix"
26873   exec_prefix="$acl_final_exec_prefix"
26874   eval x=\"$x\"
26875   exec_prefix="$acl_save_exec_prefix"
26876   prefix="$acl_save_prefix"
26877
26878                     if test "X$x" = "X-I$additional_includedir"; then
26879                       haveit=yes
26880                       break
26881                     fi
26882                   done
26883                   if test -z "$haveit"; then
26884                     if test -d "$additional_includedir"; then
26885                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26886                     fi
26887                   fi
26888                 fi
26889               fi
26890             fi
26891                         if test -n "$found_la"; then
26892                                                         save_libdir="$libdir"
26893               case "$found_la" in
26894                 */* | *\\*) . "$found_la" ;;
26895                 *) . "./$found_la" ;;
26896               esac
26897               libdir="$save_libdir"
26898                             for dep in $dependency_libs; do
26899                 case "$dep" in
26900                   -L*)
26901                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26902                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
26903                       haveit=
26904                       if test "X$additional_libdir" = "X/usr/local/lib"; then
26905                         if test -n "$GCC"; then
26906                           case $host_os in
26907                             linux*) haveit=yes;;
26908                           esac
26909                         fi
26910                       fi
26911                       if test -z "$haveit"; then
26912                         haveit=
26913                         for x in $LDFLAGS $LIBICONV; do
26914
26915   acl_save_prefix="$prefix"
26916   prefix="$acl_final_prefix"
26917   acl_save_exec_prefix="$exec_prefix"
26918   exec_prefix="$acl_final_exec_prefix"
26919   eval x=\"$x\"
26920   exec_prefix="$acl_save_exec_prefix"
26921   prefix="$acl_save_prefix"
26922
26923                           if test "X$x" = "X-L$additional_libdir"; then
26924                             haveit=yes
26925                             break
26926                           fi
26927                         done
26928                         if test -z "$haveit"; then
26929                           if test -d "$additional_libdir"; then
26930                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26931                           fi
26932                         fi
26933                         haveit=
26934                         for x in $LDFLAGS $LTLIBICONV; do
26935
26936   acl_save_prefix="$prefix"
26937   prefix="$acl_final_prefix"
26938   acl_save_exec_prefix="$exec_prefix"
26939   exec_prefix="$acl_final_exec_prefix"
26940   eval x=\"$x\"
26941   exec_prefix="$acl_save_exec_prefix"
26942   prefix="$acl_save_prefix"
26943
26944                           if test "X$x" = "X-L$additional_libdir"; then
26945                             haveit=yes
26946                             break
26947                           fi
26948                         done
26949                         if test -z "$haveit"; then
26950                           if test -d "$additional_libdir"; then
26951                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26952                           fi
26953                         fi
26954                       fi
26955                     fi
26956                     ;;
26957                   -R*)
26958                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
26959                     if test "$enable_rpath" != no; then
26960                                                                   haveit=
26961                       for x in $rpathdirs; do
26962                         if test "X$x" = "X$dir"; then
26963                           haveit=yes
26964                           break
26965                         fi
26966                       done
26967                       if test -z "$haveit"; then
26968                         rpathdirs="$rpathdirs $dir"
26969                       fi
26970                                                                   haveit=
26971                       for x in $ltrpathdirs; do
26972                         if test "X$x" = "X$dir"; then
26973                           haveit=yes
26974                           break
26975                         fi
26976                       done
26977                       if test -z "$haveit"; then
26978                         ltrpathdirs="$ltrpathdirs $dir"
26979                       fi
26980                     fi
26981                     ;;
26982                   -l*)
26983                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26984                     ;;
26985                   *.la)
26986                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26987                     ;;
26988                   *)
26989                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26990                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26991                     ;;
26992                 esac
26993               done
26994             fi
26995           else
26996                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26997             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26998           fi
26999         fi
27000       fi
27001     done
27002   done
27003   if test "X$rpathdirs" != "X"; then
27004     if test -n "$hardcode_libdir_separator"; then
27005                         alldirs=
27006       for found_dir in $rpathdirs; do
27007         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27008       done
27009             acl_save_libdir="$libdir"
27010       libdir="$alldirs"
27011       eval flag=\"$hardcode_libdir_flag_spec\"
27012       libdir="$acl_save_libdir"
27013       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27014     else
27015             for found_dir in $rpathdirs; do
27016         acl_save_libdir="$libdir"
27017         libdir="$found_dir"
27018         eval flag=\"$hardcode_libdir_flag_spec\"
27019         libdir="$acl_save_libdir"
27020         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27021       done
27022     fi
27023   fi
27024   if test "X$ltrpathdirs" != "X"; then
27025             for found_dir in $ltrpathdirs; do
27026       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27027     done
27028   fi
27029
27030
27031
27032
27033
27034
27035
27036           am_save_CPPFLAGS="$CPPFLAGS"
27037
27038   for element in $INCICONV; do
27039     haveit=
27040     for x in $CPPFLAGS; do
27041
27042   acl_save_prefix="$prefix"
27043   prefix="$acl_final_prefix"
27044   acl_save_exec_prefix="$exec_prefix"
27045   exec_prefix="$acl_final_exec_prefix"
27046   eval x=\"$x\"
27047   exec_prefix="$acl_save_exec_prefix"
27048   prefix="$acl_save_prefix"
27049
27050       if test "X$x" = "X$element"; then
27051         haveit=yes
27052         break
27053       fi
27054     done
27055     if test -z "$haveit"; then
27056       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27057     fi
27058   done
27059
27060
27061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27062 $as_echo_n "checking for iconv... " >&6; }
27063 if test "${am_cv_func_iconv+set}" = set; then :
27064   $as_echo_n "(cached) " >&6
27065 else
27066
27067     am_cv_func_iconv="no, consider installing GNU libiconv"
27068     am_cv_lib_iconv=no
27069     if test x$gcc_no_link = xyes; then
27070   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27071 fi
27072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27073 /* end confdefs.h.  */
27074 #include <stdlib.h>
27075 #include <iconv.h>
27076 int
27077 main ()
27078 {
27079 iconv_t cd = iconv_open("","");
27080        iconv(cd,NULL,NULL,NULL,NULL);
27081        iconv_close(cd);
27082   ;
27083   return 0;
27084 }
27085 _ACEOF
27086 if ac_fn_c_try_link "$LINENO"; then :
27087   am_cv_func_iconv=yes
27088 fi
27089 rm -f core conftest.err conftest.$ac_objext \
27090     conftest$ac_exeext conftest.$ac_ext
27091     if test "$am_cv_func_iconv" != yes; then
27092       am_save_LIBS="$LIBS"
27093       LIBS="$LIBS $LIBICONV"
27094       if test x$gcc_no_link = xyes; then
27095   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27096 fi
27097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27098 /* end confdefs.h.  */
27099 #include <stdlib.h>
27100 #include <iconv.h>
27101 int
27102 main ()
27103 {
27104 iconv_t cd = iconv_open("","");
27105          iconv(cd,NULL,NULL,NULL,NULL);
27106          iconv_close(cd);
27107   ;
27108   return 0;
27109 }
27110 _ACEOF
27111 if ac_fn_c_try_link "$LINENO"; then :
27112   am_cv_lib_iconv=yes
27113         am_cv_func_iconv=yes
27114 fi
27115 rm -f core conftest.err conftest.$ac_objext \
27116     conftest$ac_exeext conftest.$ac_ext
27117       LIBS="$am_save_LIBS"
27118     fi
27119
27120 fi
27121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27122 $as_echo "$am_cv_func_iconv" >&6; }
27123   if test "$am_cv_func_iconv" = yes; then
27124
27125 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27126
27127   fi
27128   if test "$am_cv_lib_iconv" = yes; then
27129     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27130 $as_echo_n "checking how to link with libiconv... " >&6; }
27131     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27132 $as_echo "$LIBICONV" >&6; }
27133   else
27134             CPPFLAGS="$am_save_CPPFLAGS"
27135     LIBICONV=
27136     LTLIBICONV=
27137   fi
27138
27139
27140
27141   if test "$am_cv_func_iconv" = yes; then
27142     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27143 $as_echo_n "checking for iconv declaration... " >&6; }
27144     if test "${am_cv_proto_iconv+set}" = set; then :
27145   $as_echo_n "(cached) " >&6
27146 else
27147
27148       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27149 /* end confdefs.h.  */
27150
27151 #include <stdlib.h>
27152 #include <iconv.h>
27153 extern
27154 #ifdef __cplusplus
27155 "C"
27156 #endif
27157 #if defined(__STDC__) || defined(__cplusplus)
27158 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27159 #else
27160 size_t iconv();
27161 #endif
27162
27163 int
27164 main ()
27165 {
27166
27167   ;
27168   return 0;
27169 }
27170 _ACEOF
27171 if ac_fn_c_try_compile "$LINENO"; then :
27172   am_cv_proto_iconv_arg1=""
27173 else
27174   am_cv_proto_iconv_arg1="const"
27175 fi
27176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27177       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);"
27178 fi
27179
27180     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27181     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27182          }$am_cv_proto_iconv" >&5
27183 $as_echo "${ac_t:-
27184          }$am_cv_proto_iconv" >&6; }
27185
27186 cat >>confdefs.h <<_ACEOF
27187 #define ICONV_CONST $am_cv_proto_iconv_arg1
27188 _ACEOF
27189
27190   fi
27191
27192
27193 else
27194
27195   # This lets us hard-code the functionality we know we'll have in the cross
27196   # target environment.  "Let" is a sugar-coated word placed on an especially
27197   # dull and tedious hack, actually.
27198   #
27199   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27200   # that involve linking, can't be used:
27201   #    "cannot open sim-crt0.o"
27202   #    "cannot open crt0.o"
27203   # etc.  All this is because there currently exists no unified, consistent
27204   # way for top level CC information to be passed down to target directories:
27205   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27206   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27207   # crosses can be removed.
27208
27209   # If Canadian cross, then don't pick up tools from the build directory.
27210   # Used only in GLIBCXX_EXPORT_INCLUDES.
27211   if test -n "$with_cross_host" &&
27212      test x"$build_alias" != x"$with_cross_host" &&
27213      test x"$build" != x"$target";
27214   then
27215     CANADIAN=yes
27216   else
27217     CANADIAN=no
27218   fi
27219
27220   # Construct crosses by hand, eliminating bits that need ld...
27221   # GLIBCXX_CHECK_MATH_SUPPORT
27222
27223   # First, test for "known" system libraries.  We may be using newlib even
27224   # on a hosted environment.
27225   if test "x${with_newlib}" = "xyes"; then
27226     os_include_dir="os/newlib"
27227     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27228
27229
27230     # GLIBCXX_CHECK_STDLIB_SUPPORT
27231     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27232
27233
27234     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27235
27236     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27237
27238     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27239
27240     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27241
27242     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27243
27244     $as_echo "#define HAVE_COSF 1" >>confdefs.h
27245
27246     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27247
27248     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27249
27250     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27251
27252     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27253
27254     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27255
27256     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27257
27258     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27259
27260     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27261
27262     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27263
27264     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27265
27266     $as_echo "#define HAVE_POWF 1" >>confdefs.h
27267
27268     $as_echo "#define HAVE_SINF 1" >>confdefs.h
27269
27270     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27271
27272     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27273
27274     $as_echo "#define HAVE_TANF 1" >>confdefs.h
27275
27276     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27277
27278
27279     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27280
27281   else
27282
27283 # Base decisions on target environment.
27284 case "${host}" in
27285   arm*-*-symbianelf*)
27286     # This is a freestanding configuration; there is nothing to do here.
27287     ;;
27288
27289   mips*-sde-elf*)
27290     # These definitions are for the SDE C library rather than newlib.
27291     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27292
27293
27294   # All these tests are for C++; save the language and the compiler flags.
27295   # The CXXFLAGS thing is suspicious, but based on similar bits previously
27296   # found in GLIBCXX_CONFIGURE.
27297
27298   ac_ext=cpp
27299 ac_cpp='$CXXCPP $CPPFLAGS'
27300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27303
27304   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27305   ac_save_CXXFLAGS="$CXXFLAGS"
27306
27307   # Check for maintainer-mode bits.
27308   if test x"$USE_MAINTAINER_MODE" = xno; then
27309     WERROR=''
27310   else
27311     WERROR='-Werror'
27312   fi
27313
27314   # Check for -ffunction-sections -fdata-sections
27315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27316 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27317   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27319 /* end confdefs.h.  */
27320 int foo; void bar() { };
27321 int
27322 main ()
27323 {
27324
27325   ;
27326   return 0;
27327 }
27328 _ACEOF
27329 if ac_fn_cxx_try_compile "$LINENO"; then :
27330   ac_fdsections=yes
27331 else
27332   ac_fdsections=no
27333 fi
27334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27335   if test "$ac_test_CXXFLAGS" = set; then
27336     CXXFLAGS="$ac_save_CXXFLAGS"
27337   else
27338     # this is the suspicious part
27339     CXXFLAGS=''
27340   fi
27341   if test x"$ac_fdsections" = x"yes"; then
27342     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27343   fi
27344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27345 $as_echo "$ac_fdsections" >&6; }
27346
27347   ac_ext=c
27348 ac_cpp='$CPP $CPPFLAGS'
27349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27352
27353
27354
27355
27356
27357   # If we're not using GNU ld, then there's no point in even trying these
27358   # tests.  Check for that first.  We should have already tested for gld
27359   # by now (in libtool), but require it now just to be safe...
27360   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27361   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27362
27363
27364
27365   # The name set by libtool depends on the version of libtool.  Shame on us
27366   # for depending on an impl detail, but c'est la vie.  Older versions used
27367   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27368   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27369   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
27370   # set (hence we're using an older libtool), then set it.
27371   if test x${with_gnu_ld+set} != xset; then
27372     if test x${ac_cv_prog_gnu_ld+set} != xset; then
27373       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
27374       with_gnu_ld=no
27375     else
27376       with_gnu_ld=$ac_cv_prog_gnu_ld
27377     fi
27378   fi
27379
27380   # Start by getting the version number.  I think the libtool test already
27381   # does some of this, but throws away the result.
27382   glibcxx_ld_is_gold=no
27383   if test x"$with_gnu_ld" = x"yes"; then
27384     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27385 $as_echo_n "checking for ld version... " >&6; }
27386
27387     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27388       glibcxx_ld_is_gold=yes
27389     fi
27390     ldver=`$LD --version 2>/dev/null |
27391            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'`
27392
27393     glibcxx_gnu_ld_version=`echo $ldver | \
27394            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27395     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27396 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27397   fi
27398
27399   # Set --gc-sections.
27400   glibcxx_have_gc_sections=no
27401   if test "$glibcxx_ld_is_gold" = "yes"; then
27402     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27403       glibcxx_have_gc_sections=yes
27404     fi
27405   else
27406     glibcxx_gcsections_min_ld=21602
27407     if test x"$with_gnu_ld" = x"yes" &&
27408         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27409       glibcxx_have_gc_sections=yes
27410     fi
27411   fi
27412   if test "$glibcxx_have_gc_sections" = "yes"; then
27413     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
27414     # NB: This flag only works reliably after 2.16.1. Configure tests
27415     # for this are difficult, so hard wire a value that should work.
27416
27417     ac_test_CFLAGS="${CFLAGS+set}"
27418     ac_save_CFLAGS="$CFLAGS"
27419     CFLAGS='-Wl,--gc-sections'
27420
27421     # Check for -Wl,--gc-sections
27422     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27423 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27424     if test x$gcc_no_link = xyes; then
27425   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27426 fi
27427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27428 /* end confdefs.h.  */
27429  int one(void) { return 1; }
27430      int two(void) { return 2; }
27431
27432 int
27433 main ()
27434 {
27435  two();
27436   ;
27437   return 0;
27438 }
27439 _ACEOF
27440 if ac_fn_c_try_link "$LINENO"; then :
27441   ac_gcsections=yes
27442 else
27443   ac_gcsections=no
27444 fi
27445 rm -f core conftest.err conftest.$ac_objext \
27446     conftest$ac_exeext conftest.$ac_ext
27447     if test "$ac_gcsections" = "yes"; then
27448       rm -f conftest.c
27449       touch conftest.c
27450       if $CC -c conftest.c; then
27451         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27452            grep "Warning: gc-sections option ignored" > /dev/null; then
27453           ac_gcsections=no
27454         fi
27455       fi
27456       rm -f conftest.c conftest.o conftest
27457     fi
27458     if test "$ac_gcsections" = "yes"; then
27459       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27460     fi
27461     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27462 $as_echo "$ac_gcsections" >&6; }
27463
27464     if test "$ac_test_CFLAGS" = set; then
27465       CFLAGS="$ac_save_CFLAGS"
27466     else
27467       # this is the suspicious part
27468       CFLAGS=''
27469     fi
27470   fi
27471
27472   # Set -z,relro.
27473   # Note this is only for shared objects.
27474   ac_ld_relro=no
27475   if test x"$with_gnu_ld" = x"yes"; then
27476     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27477 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27478     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27479     if test -n "$cxx_z_relo"; then
27480       OPT_LDFLAGS="-Wl,-z,relro"
27481       ac_ld_relro=yes
27482     fi
27483     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27484 $as_echo "$ac_ld_relro" >&6; }
27485   fi
27486
27487   # Set linker optimization flags.
27488   if test x"$with_gnu_ld" = x"yes"; then
27489     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27490   fi
27491
27492
27493
27494
27495
27496   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27497   ac_save_CXXFLAGS="$CXXFLAGS"
27498   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27499
27500     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27501 $as_echo_n "checking for sin in -lm... " >&6; }
27502 if test "${ac_cv_lib_m_sin+set}" = set; then :
27503   $as_echo_n "(cached) " >&6
27504 else
27505   ac_check_lib_save_LIBS=$LIBS
27506 LIBS="-lm  $LIBS"
27507 if test x$gcc_no_link = xyes; then
27508   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27509 fi
27510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27511 /* end confdefs.h.  */
27512
27513 /* Override any GCC internal prototype to avoid an error.
27514    Use char because int might match the return type of a GCC
27515    builtin and then its argument prototype would still apply.  */
27516 #ifdef __cplusplus
27517 extern "C"
27518 #endif
27519 char sin ();
27520 int
27521 main ()
27522 {
27523 return sin ();
27524   ;
27525   return 0;
27526 }
27527 _ACEOF
27528 if ac_fn_c_try_link "$LINENO"; then :
27529   ac_cv_lib_m_sin=yes
27530 else
27531   ac_cv_lib_m_sin=no
27532 fi
27533 rm -f core conftest.err conftest.$ac_objext \
27534     conftest$ac_exeext conftest.$ac_ext
27535 LIBS=$ac_check_lib_save_LIBS
27536 fi
27537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27538 $as_echo "$ac_cv_lib_m_sin" >&6; }
27539 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27540   libm="-lm"
27541 fi
27542
27543   ac_save_LIBS="$LIBS"
27544   LIBS="$LIBS $libm"
27545
27546
27547
27548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27549 $as_echo_n "checking for isinf declaration... " >&6; }
27550   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27551     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27552   $as_echo_n "(cached) " >&6
27553 else
27554
27555
27556       ac_ext=cpp
27557 ac_cpp='$CXXCPP $CPPFLAGS'
27558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27561
27562       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27563 /* end confdefs.h.  */
27564 #include <math.h>
27565                       #ifdef HAVE_IEEEFP_H
27566                       #include <ieeefp.h>
27567                       #endif
27568
27569 int
27570 main ()
27571 {
27572  isinf(0);
27573   ;
27574   return 0;
27575 }
27576 _ACEOF
27577 if ac_fn_cxx_try_compile "$LINENO"; then :
27578   glibcxx_cv_func_isinf_use=yes
27579 else
27580   glibcxx_cv_func_isinf_use=no
27581 fi
27582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27583       ac_ext=c
27584 ac_cpp='$CPP $CPPFLAGS'
27585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27588
27589
27590 fi
27591
27592   fi
27593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27594 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27595
27596   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27597     for ac_func in isinf
27598 do :
27599   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27600 if test "x$ac_cv_func_isinf" = x""yes; then :
27601   cat >>confdefs.h <<_ACEOF
27602 #define HAVE_ISINF 1
27603 _ACEOF
27604
27605 fi
27606 done
27607
27608   else
27609
27610   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27611 $as_echo_n "checking for _isinf declaration... " >&6; }
27612   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27613     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27614   $as_echo_n "(cached) " >&6
27615 else
27616
27617
27618       ac_ext=cpp
27619 ac_cpp='$CXXCPP $CPPFLAGS'
27620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27623
27624       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27625 /* end confdefs.h.  */
27626 #include <math.h>
27627                       #ifdef HAVE_IEEEFP_H
27628                       #include <ieeefp.h>
27629                       #endif
27630
27631 int
27632 main ()
27633 {
27634  _isinf(0);
27635   ;
27636   return 0;
27637 }
27638 _ACEOF
27639 if ac_fn_cxx_try_compile "$LINENO"; then :
27640   glibcxx_cv_func__isinf_use=yes
27641 else
27642   glibcxx_cv_func__isinf_use=no
27643 fi
27644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27645       ac_ext=c
27646 ac_cpp='$CPP $CPPFLAGS'
27647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27650
27651
27652 fi
27653
27654   fi
27655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27656 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27657
27658     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27659       for ac_func in _isinf
27660 do :
27661   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27662 if test "x$ac_cv_func__isinf" = x""yes; then :
27663   cat >>confdefs.h <<_ACEOF
27664 #define HAVE__ISINF 1
27665 _ACEOF
27666
27667 fi
27668 done
27669
27670     fi
27671   fi
27672
27673
27674
27675
27676
27677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27678 $as_echo_n "checking for isnan declaration... " >&6; }
27679   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27680     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27681   $as_echo_n "(cached) " >&6
27682 else
27683
27684
27685       ac_ext=cpp
27686 ac_cpp='$CXXCPP $CPPFLAGS'
27687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27690
27691       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27692 /* end confdefs.h.  */
27693 #include <math.h>
27694                       #ifdef HAVE_IEEEFP_H
27695                       #include <ieeefp.h>
27696                       #endif
27697
27698 int
27699 main ()
27700 {
27701  isnan(0);
27702   ;
27703   return 0;
27704 }
27705 _ACEOF
27706 if ac_fn_cxx_try_compile "$LINENO"; then :
27707   glibcxx_cv_func_isnan_use=yes
27708 else
27709   glibcxx_cv_func_isnan_use=no
27710 fi
27711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27712       ac_ext=c
27713 ac_cpp='$CPP $CPPFLAGS'
27714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27717
27718
27719 fi
27720
27721   fi
27722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27723 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27724
27725   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27726     for ac_func in isnan
27727 do :
27728   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27729 if test "x$ac_cv_func_isnan" = x""yes; then :
27730   cat >>confdefs.h <<_ACEOF
27731 #define HAVE_ISNAN 1
27732 _ACEOF
27733
27734 fi
27735 done
27736
27737   else
27738
27739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27740 $as_echo_n "checking for _isnan declaration... " >&6; }
27741   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27742     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27743   $as_echo_n "(cached) " >&6
27744 else
27745
27746
27747       ac_ext=cpp
27748 ac_cpp='$CXXCPP $CPPFLAGS'
27749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27752
27753       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27754 /* end confdefs.h.  */
27755 #include <math.h>
27756                       #ifdef HAVE_IEEEFP_H
27757                       #include <ieeefp.h>
27758                       #endif
27759
27760 int
27761 main ()
27762 {
27763  _isnan(0);
27764   ;
27765   return 0;
27766 }
27767 _ACEOF
27768 if ac_fn_cxx_try_compile "$LINENO"; then :
27769   glibcxx_cv_func__isnan_use=yes
27770 else
27771   glibcxx_cv_func__isnan_use=no
27772 fi
27773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27774       ac_ext=c
27775 ac_cpp='$CPP $CPPFLAGS'
27776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27779
27780
27781 fi
27782
27783   fi
27784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27785 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27786
27787     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27788       for ac_func in _isnan
27789 do :
27790   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27791 if test "x$ac_cv_func__isnan" = x""yes; then :
27792   cat >>confdefs.h <<_ACEOF
27793 #define HAVE__ISNAN 1
27794 _ACEOF
27795
27796 fi
27797 done
27798
27799     fi
27800   fi
27801
27802
27803
27804
27805
27806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27807 $as_echo_n "checking for finite declaration... " >&6; }
27808   if test x${glibcxx_cv_func_finite_use+set} != xset; then
27809     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27810   $as_echo_n "(cached) " >&6
27811 else
27812
27813
27814       ac_ext=cpp
27815 ac_cpp='$CXXCPP $CPPFLAGS'
27816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27819
27820       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27821 /* end confdefs.h.  */
27822 #include <math.h>
27823                       #ifdef HAVE_IEEEFP_H
27824                       #include <ieeefp.h>
27825                       #endif
27826
27827 int
27828 main ()
27829 {
27830  finite(0);
27831   ;
27832   return 0;
27833 }
27834 _ACEOF
27835 if ac_fn_cxx_try_compile "$LINENO"; then :
27836   glibcxx_cv_func_finite_use=yes
27837 else
27838   glibcxx_cv_func_finite_use=no
27839 fi
27840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27841       ac_ext=c
27842 ac_cpp='$CPP $CPPFLAGS'
27843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27846
27847
27848 fi
27849
27850   fi
27851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27852 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27853
27854   if test x$glibcxx_cv_func_finite_use = x"yes"; then
27855     for ac_func in finite
27856 do :
27857   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27858 if test "x$ac_cv_func_finite" = x""yes; then :
27859   cat >>confdefs.h <<_ACEOF
27860 #define HAVE_FINITE 1
27861 _ACEOF
27862
27863 fi
27864 done
27865
27866   else
27867
27868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27869 $as_echo_n "checking for _finite declaration... " >&6; }
27870   if test x${glibcxx_cv_func__finite_use+set} != xset; then
27871     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27872   $as_echo_n "(cached) " >&6
27873 else
27874
27875
27876       ac_ext=cpp
27877 ac_cpp='$CXXCPP $CPPFLAGS'
27878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27881
27882       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27883 /* end confdefs.h.  */
27884 #include <math.h>
27885                       #ifdef HAVE_IEEEFP_H
27886                       #include <ieeefp.h>
27887                       #endif
27888
27889 int
27890 main ()
27891 {
27892  _finite(0);
27893   ;
27894   return 0;
27895 }
27896 _ACEOF
27897 if ac_fn_cxx_try_compile "$LINENO"; then :
27898   glibcxx_cv_func__finite_use=yes
27899 else
27900   glibcxx_cv_func__finite_use=no
27901 fi
27902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27903       ac_ext=c
27904 ac_cpp='$CPP $CPPFLAGS'
27905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27908
27909
27910 fi
27911
27912   fi
27913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27914 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27915
27916     if test x$glibcxx_cv_func__finite_use = x"yes"; then
27917       for ac_func in _finite
27918 do :
27919   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27920 if test "x$ac_cv_func__finite" = x""yes; then :
27921   cat >>confdefs.h <<_ACEOF
27922 #define HAVE__FINITE 1
27923 _ACEOF
27924
27925 fi
27926 done
27927
27928     fi
27929   fi
27930
27931
27932
27933
27934
27935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27936 $as_echo_n "checking for sincos declaration... " >&6; }
27937   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27938     if test "${glibcxx_cv_func_sincos_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 int
27953 main ()
27954 {
27955  sincos(0, 0, 0);
27956   ;
27957   return 0;
27958 }
27959 _ACEOF
27960 if ac_fn_cxx_try_compile "$LINENO"; then :
27961   glibcxx_cv_func_sincos_use=yes
27962 else
27963   glibcxx_cv_func_sincos_use=no
27964 fi
27965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27966       ac_ext=c
27967 ac_cpp='$CPP $CPPFLAGS'
27968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27971
27972
27973 fi
27974
27975   fi
27976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27977 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27978
27979   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27980     for ac_func in sincos
27981 do :
27982   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27983 if test "x$ac_cv_func_sincos" = x""yes; then :
27984   cat >>confdefs.h <<_ACEOF
27985 #define HAVE_SINCOS 1
27986 _ACEOF
27987
27988 fi
27989 done
27990
27991   else
27992
27993   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27994 $as_echo_n "checking for _sincos declaration... " >&6; }
27995   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27996     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27997   $as_echo_n "(cached) " >&6
27998 else
27999
28000
28001       ac_ext=cpp
28002 ac_cpp='$CXXCPP $CPPFLAGS'
28003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28006
28007       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28008 /* end confdefs.h.  */
28009 #include <math.h>
28010 int
28011 main ()
28012 {
28013  _sincos(0, 0, 0);
28014   ;
28015   return 0;
28016 }
28017 _ACEOF
28018 if ac_fn_cxx_try_compile "$LINENO"; then :
28019   glibcxx_cv_func__sincos_use=yes
28020 else
28021   glibcxx_cv_func__sincos_use=no
28022 fi
28023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28024       ac_ext=c
28025 ac_cpp='$CPP $CPPFLAGS'
28026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28029
28030
28031 fi
28032
28033   fi
28034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28035 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28036
28037     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28038       for ac_func in _sincos
28039 do :
28040   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28041 if test "x$ac_cv_func__sincos" = x""yes; then :
28042   cat >>confdefs.h <<_ACEOF
28043 #define HAVE__SINCOS 1
28044 _ACEOF
28045
28046 fi
28047 done
28048
28049     fi
28050   fi
28051
28052
28053
28054
28055
28056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28057 $as_echo_n "checking for fpclass declaration... " >&6; }
28058   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28059     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28060   $as_echo_n "(cached) " >&6
28061 else
28062
28063
28064       ac_ext=cpp
28065 ac_cpp='$CXXCPP $CPPFLAGS'
28066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28069
28070       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28071 /* end confdefs.h.  */
28072 #include <math.h>
28073                       #ifdef HAVE_IEEEFP_H
28074                       #include <ieeefp.h>
28075                       #endif
28076
28077 int
28078 main ()
28079 {
28080  fpclass(0);
28081   ;
28082   return 0;
28083 }
28084 _ACEOF
28085 if ac_fn_cxx_try_compile "$LINENO"; then :
28086   glibcxx_cv_func_fpclass_use=yes
28087 else
28088   glibcxx_cv_func_fpclass_use=no
28089 fi
28090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28091       ac_ext=c
28092 ac_cpp='$CPP $CPPFLAGS'
28093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28096
28097
28098 fi
28099
28100   fi
28101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28102 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28103
28104   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28105     for ac_func in fpclass
28106 do :
28107   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28108 if test "x$ac_cv_func_fpclass" = x""yes; then :
28109   cat >>confdefs.h <<_ACEOF
28110 #define HAVE_FPCLASS 1
28111 _ACEOF
28112
28113 fi
28114 done
28115
28116   else
28117
28118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28119 $as_echo_n "checking for _fpclass declaration... " >&6; }
28120   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28121     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28122   $as_echo_n "(cached) " >&6
28123 else
28124
28125
28126       ac_ext=cpp
28127 ac_cpp='$CXXCPP $CPPFLAGS'
28128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28131
28132       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28133 /* end confdefs.h.  */
28134 #include <math.h>
28135                       #ifdef HAVE_IEEEFP_H
28136                       #include <ieeefp.h>
28137                       #endif
28138
28139 int
28140 main ()
28141 {
28142  _fpclass(0);
28143   ;
28144   return 0;
28145 }
28146 _ACEOF
28147 if ac_fn_cxx_try_compile "$LINENO"; then :
28148   glibcxx_cv_func__fpclass_use=yes
28149 else
28150   glibcxx_cv_func__fpclass_use=no
28151 fi
28152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28153       ac_ext=c
28154 ac_cpp='$CPP $CPPFLAGS'
28155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28158
28159
28160 fi
28161
28162   fi
28163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28164 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28165
28166     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28167       for ac_func in _fpclass
28168 do :
28169   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28170 if test "x$ac_cv_func__fpclass" = x""yes; then :
28171   cat >>confdefs.h <<_ACEOF
28172 #define HAVE__FPCLASS 1
28173 _ACEOF
28174
28175 fi
28176 done
28177
28178     fi
28179   fi
28180
28181
28182
28183
28184
28185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28186 $as_echo_n "checking for qfpclass declaration... " >&6; }
28187   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28188     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28189   $as_echo_n "(cached) " >&6
28190 else
28191
28192
28193       ac_ext=cpp
28194 ac_cpp='$CXXCPP $CPPFLAGS'
28195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28198
28199       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28200 /* end confdefs.h.  */
28201 #include <math.h>
28202                       #ifdef HAVE_IEEEFP_H
28203                       #include <ieeefp.h>
28204                       #endif
28205
28206 int
28207 main ()
28208 {
28209  qfpclass(0);
28210   ;
28211   return 0;
28212 }
28213 _ACEOF
28214 if ac_fn_cxx_try_compile "$LINENO"; then :
28215   glibcxx_cv_func_qfpclass_use=yes
28216 else
28217   glibcxx_cv_func_qfpclass_use=no
28218 fi
28219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28220       ac_ext=c
28221 ac_cpp='$CPP $CPPFLAGS'
28222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28225
28226
28227 fi
28228
28229   fi
28230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28231 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28232
28233   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28234     for ac_func in qfpclass
28235 do :
28236   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28237 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28238   cat >>confdefs.h <<_ACEOF
28239 #define HAVE_QFPCLASS 1
28240 _ACEOF
28241
28242 fi
28243 done
28244
28245   else
28246
28247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28248 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28249   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28250     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28251   $as_echo_n "(cached) " >&6
28252 else
28253
28254
28255       ac_ext=cpp
28256 ac_cpp='$CXXCPP $CPPFLAGS'
28257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28260
28261       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28262 /* end confdefs.h.  */
28263 #include <math.h>
28264                       #ifdef HAVE_IEEEFP_H
28265                       #include <ieeefp.h>
28266                       #endif
28267
28268 int
28269 main ()
28270 {
28271  _qfpclass(0);
28272   ;
28273   return 0;
28274 }
28275 _ACEOF
28276 if ac_fn_cxx_try_compile "$LINENO"; then :
28277   glibcxx_cv_func__qfpclass_use=yes
28278 else
28279   glibcxx_cv_func__qfpclass_use=no
28280 fi
28281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28282       ac_ext=c
28283 ac_cpp='$CPP $CPPFLAGS'
28284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28287
28288
28289 fi
28290
28291   fi
28292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28293 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28294
28295     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28296       for ac_func in _qfpclass
28297 do :
28298   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28299 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28300   cat >>confdefs.h <<_ACEOF
28301 #define HAVE__QFPCLASS 1
28302 _ACEOF
28303
28304 fi
28305 done
28306
28307     fi
28308   fi
28309
28310
28311
28312
28313
28314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28315 $as_echo_n "checking for hypot declaration... " >&6; }
28316   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28317     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28318   $as_echo_n "(cached) " >&6
28319 else
28320
28321
28322       ac_ext=cpp
28323 ac_cpp='$CXXCPP $CPPFLAGS'
28324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28327
28328       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28329 /* end confdefs.h.  */
28330 #include <math.h>
28331 int
28332 main ()
28333 {
28334  hypot(0, 0);
28335   ;
28336   return 0;
28337 }
28338 _ACEOF
28339 if ac_fn_cxx_try_compile "$LINENO"; then :
28340   glibcxx_cv_func_hypot_use=yes
28341 else
28342   glibcxx_cv_func_hypot_use=no
28343 fi
28344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28345       ac_ext=c
28346 ac_cpp='$CPP $CPPFLAGS'
28347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28350
28351
28352 fi
28353
28354   fi
28355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28356 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28357
28358   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28359     for ac_func in hypot
28360 do :
28361   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28362 if test "x$ac_cv_func_hypot" = x""yes; then :
28363   cat >>confdefs.h <<_ACEOF
28364 #define HAVE_HYPOT 1
28365 _ACEOF
28366
28367 fi
28368 done
28369
28370   else
28371
28372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28373 $as_echo_n "checking for _hypot declaration... " >&6; }
28374   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28375     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28376   $as_echo_n "(cached) " >&6
28377 else
28378
28379
28380       ac_ext=cpp
28381 ac_cpp='$CXXCPP $CPPFLAGS'
28382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28385
28386       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28387 /* end confdefs.h.  */
28388 #include <math.h>
28389 int
28390 main ()
28391 {
28392  _hypot(0, 0);
28393   ;
28394   return 0;
28395 }
28396 _ACEOF
28397 if ac_fn_cxx_try_compile "$LINENO"; then :
28398   glibcxx_cv_func__hypot_use=yes
28399 else
28400   glibcxx_cv_func__hypot_use=no
28401 fi
28402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28403       ac_ext=c
28404 ac_cpp='$CPP $CPPFLAGS'
28405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28408
28409
28410 fi
28411
28412   fi
28413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28414 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28415
28416     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28417       for ac_func in _hypot
28418 do :
28419   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28420 if test "x$ac_cv_func__hypot" = x""yes; then :
28421   cat >>confdefs.h <<_ACEOF
28422 #define HAVE__HYPOT 1
28423 _ACEOF
28424
28425 fi
28426 done
28427
28428     fi
28429   fi
28430
28431
28432
28433
28434
28435     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28436 $as_echo_n "checking for float trig functions... " >&6; }
28437   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28438   $as_echo_n "(cached) " >&6
28439 else
28440
28441
28442     ac_ext=cpp
28443 ac_cpp='$CXXCPP $CPPFLAGS'
28444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28447
28448     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28449 /* end confdefs.h.  */
28450 #include <math.h>
28451 int
28452 main ()
28453 {
28454 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28455   ;
28456   return 0;
28457 }
28458 _ACEOF
28459 if ac_fn_cxx_try_compile "$LINENO"; then :
28460   glibcxx_cv_func_float_trig_use=yes
28461 else
28462   glibcxx_cv_func_float_trig_use=no
28463 fi
28464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28465     ac_ext=c
28466 ac_cpp='$CPP $CPPFLAGS'
28467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28470
28471 fi
28472
28473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28474 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28475   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28476     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28477 do :
28478   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28479 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28480 eval as_val=\$$as_ac_var
28481    if test "x$as_val" = x""yes; then :
28482   cat >>confdefs.h <<_ACEOF
28483 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28484 _ACEOF
28485
28486 fi
28487 done
28488
28489   else
28490     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28491 $as_echo_n "checking for _float trig functions... " >&6; }
28492     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28493   $as_echo_n "(cached) " >&6
28494 else
28495
28496
28497       ac_ext=cpp
28498 ac_cpp='$CXXCPP $CPPFLAGS'
28499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28502
28503       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28504 /* end confdefs.h.  */
28505 #include <math.h>
28506 int
28507 main ()
28508 {
28509 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28510   ;
28511   return 0;
28512 }
28513 _ACEOF
28514 if ac_fn_cxx_try_compile "$LINENO"; then :
28515   glibcxx_cv_func__float_trig_use=yes
28516 else
28517   glibcxx_cv_func__float_trig_use=no
28518 fi
28519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28520       ac_ext=c
28521 ac_cpp='$CPP $CPPFLAGS'
28522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28525
28526 fi
28527
28528     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28529 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28530     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28531       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28532 do :
28533   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28534 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28535 eval as_val=\$$as_ac_var
28536    if test "x$as_val" = x""yes; then :
28537   cat >>confdefs.h <<_ACEOF
28538 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28539 _ACEOF
28540
28541 fi
28542 done
28543
28544     fi
28545   fi
28546
28547
28548
28549
28550
28551     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28552 $as_echo_n "checking for float round functions... " >&6; }
28553   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28554   $as_echo_n "(cached) " >&6
28555 else
28556
28557
28558     ac_ext=cpp
28559 ac_cpp='$CXXCPP $CPPFLAGS'
28560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28563
28564     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28565 /* end confdefs.h.  */
28566 #include <math.h>
28567 int
28568 main ()
28569 {
28570 ceilf (0); floorf (0);
28571   ;
28572   return 0;
28573 }
28574 _ACEOF
28575 if ac_fn_cxx_try_compile "$LINENO"; then :
28576   glibcxx_cv_func_float_round_use=yes
28577 else
28578   glibcxx_cv_func_float_round_use=no
28579 fi
28580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28581     ac_ext=c
28582 ac_cpp='$CPP $CPPFLAGS'
28583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28586
28587 fi
28588
28589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28590 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28591   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28592     for ac_func in ceilf floorf
28593 do :
28594   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28595 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28596 eval as_val=\$$as_ac_var
28597    if test "x$as_val" = x""yes; then :
28598   cat >>confdefs.h <<_ACEOF
28599 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28600 _ACEOF
28601
28602 fi
28603 done
28604
28605   else
28606     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28607 $as_echo_n "checking for _float round functions... " >&6; }
28608     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28609   $as_echo_n "(cached) " >&6
28610 else
28611
28612
28613       ac_ext=cpp
28614 ac_cpp='$CXXCPP $CPPFLAGS'
28615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28618
28619       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28620 /* end confdefs.h.  */
28621 #include <math.h>
28622 int
28623 main ()
28624 {
28625 _ceilf (0); _floorf (0);
28626   ;
28627   return 0;
28628 }
28629 _ACEOF
28630 if ac_fn_cxx_try_compile "$LINENO"; then :
28631   glibcxx_cv_func__float_round_use=yes
28632 else
28633   glibcxx_cv_func__float_round_use=no
28634 fi
28635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28636       ac_ext=c
28637 ac_cpp='$CPP $CPPFLAGS'
28638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28641
28642 fi
28643
28644     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28645 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28646     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28647       for ac_func in _ceilf _floorf
28648 do :
28649   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28650 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28651 eval as_val=\$$as_ac_var
28652    if test "x$as_val" = x""yes; then :
28653   cat >>confdefs.h <<_ACEOF
28654 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28655 _ACEOF
28656
28657 fi
28658 done
28659
28660     fi
28661   fi
28662
28663
28664
28665
28666
28667
28668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28669 $as_echo_n "checking for expf declaration... " >&6; }
28670   if test x${glibcxx_cv_func_expf_use+set} != xset; then
28671     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28672   $as_echo_n "(cached) " >&6
28673 else
28674
28675
28676       ac_ext=cpp
28677 ac_cpp='$CXXCPP $CPPFLAGS'
28678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28681
28682       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28683 /* end confdefs.h.  */
28684 #include <math.h>
28685                       #ifdef HAVE_IEEEFP_H
28686                       #include <ieeefp.h>
28687                       #endif
28688
28689 int
28690 main ()
28691 {
28692  expf(0);
28693   ;
28694   return 0;
28695 }
28696 _ACEOF
28697 if ac_fn_cxx_try_compile "$LINENO"; then :
28698   glibcxx_cv_func_expf_use=yes
28699 else
28700   glibcxx_cv_func_expf_use=no
28701 fi
28702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28703       ac_ext=c
28704 ac_cpp='$CPP $CPPFLAGS'
28705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28708
28709
28710 fi
28711
28712   fi
28713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28714 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28715
28716   if test x$glibcxx_cv_func_expf_use = x"yes"; then
28717     for ac_func in expf
28718 do :
28719   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28720 if test "x$ac_cv_func_expf" = x""yes; then :
28721   cat >>confdefs.h <<_ACEOF
28722 #define HAVE_EXPF 1
28723 _ACEOF
28724
28725 fi
28726 done
28727
28728   else
28729
28730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28731 $as_echo_n "checking for _expf declaration... " >&6; }
28732   if test x${glibcxx_cv_func__expf_use+set} != xset; then
28733     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28734   $as_echo_n "(cached) " >&6
28735 else
28736
28737
28738       ac_ext=cpp
28739 ac_cpp='$CXXCPP $CPPFLAGS'
28740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28743
28744       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28745 /* end confdefs.h.  */
28746 #include <math.h>
28747                       #ifdef HAVE_IEEEFP_H
28748                       #include <ieeefp.h>
28749                       #endif
28750
28751 int
28752 main ()
28753 {
28754  _expf(0);
28755   ;
28756   return 0;
28757 }
28758 _ACEOF
28759 if ac_fn_cxx_try_compile "$LINENO"; then :
28760   glibcxx_cv_func__expf_use=yes
28761 else
28762   glibcxx_cv_func__expf_use=no
28763 fi
28764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28765       ac_ext=c
28766 ac_cpp='$CPP $CPPFLAGS'
28767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28770
28771
28772 fi
28773
28774   fi
28775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28776 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28777
28778     if test x$glibcxx_cv_func__expf_use = x"yes"; then
28779       for ac_func in _expf
28780 do :
28781   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28782 if test "x$ac_cv_func__expf" = x""yes; then :
28783   cat >>confdefs.h <<_ACEOF
28784 #define HAVE__EXPF 1
28785 _ACEOF
28786
28787 fi
28788 done
28789
28790     fi
28791   fi
28792
28793
28794
28795
28796
28797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28798 $as_echo_n "checking for isnanf declaration... " >&6; }
28799   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28800     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28801   $as_echo_n "(cached) " >&6
28802 else
28803
28804
28805       ac_ext=cpp
28806 ac_cpp='$CXXCPP $CPPFLAGS'
28807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28810
28811       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28812 /* end confdefs.h.  */
28813 #include <math.h>
28814                       #ifdef HAVE_IEEEFP_H
28815                       #include <ieeefp.h>
28816                       #endif
28817
28818 int
28819 main ()
28820 {
28821  isnanf(0);
28822   ;
28823   return 0;
28824 }
28825 _ACEOF
28826 if ac_fn_cxx_try_compile "$LINENO"; then :
28827   glibcxx_cv_func_isnanf_use=yes
28828 else
28829   glibcxx_cv_func_isnanf_use=no
28830 fi
28831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28832       ac_ext=c
28833 ac_cpp='$CPP $CPPFLAGS'
28834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28837
28838
28839 fi
28840
28841   fi
28842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28843 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28844
28845   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28846     for ac_func in isnanf
28847 do :
28848   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28849 if test "x$ac_cv_func_isnanf" = x""yes; then :
28850   cat >>confdefs.h <<_ACEOF
28851 #define HAVE_ISNANF 1
28852 _ACEOF
28853
28854 fi
28855 done
28856
28857   else
28858
28859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28860 $as_echo_n "checking for _isnanf declaration... " >&6; }
28861   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28862     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28863   $as_echo_n "(cached) " >&6
28864 else
28865
28866
28867       ac_ext=cpp
28868 ac_cpp='$CXXCPP $CPPFLAGS'
28869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28872
28873       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28874 /* end confdefs.h.  */
28875 #include <math.h>
28876                       #ifdef HAVE_IEEEFP_H
28877                       #include <ieeefp.h>
28878                       #endif
28879
28880 int
28881 main ()
28882 {
28883  _isnanf(0);
28884   ;
28885   return 0;
28886 }
28887 _ACEOF
28888 if ac_fn_cxx_try_compile "$LINENO"; then :
28889   glibcxx_cv_func__isnanf_use=yes
28890 else
28891   glibcxx_cv_func__isnanf_use=no
28892 fi
28893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28894       ac_ext=c
28895 ac_cpp='$CPP $CPPFLAGS'
28896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28899
28900
28901 fi
28902
28903   fi
28904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28905 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28906
28907     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28908       for ac_func in _isnanf
28909 do :
28910   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28911 if test "x$ac_cv_func__isnanf" = x""yes; then :
28912   cat >>confdefs.h <<_ACEOF
28913 #define HAVE__ISNANF 1
28914 _ACEOF
28915
28916 fi
28917 done
28918
28919     fi
28920   fi
28921
28922
28923
28924
28925
28926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28927 $as_echo_n "checking for isinff declaration... " >&6; }
28928   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28929     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28930   $as_echo_n "(cached) " >&6
28931 else
28932
28933
28934       ac_ext=cpp
28935 ac_cpp='$CXXCPP $CPPFLAGS'
28936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28939
28940       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28941 /* end confdefs.h.  */
28942 #include <math.h>
28943                       #ifdef HAVE_IEEEFP_H
28944                       #include <ieeefp.h>
28945                       #endif
28946
28947 int
28948 main ()
28949 {
28950  isinff(0);
28951   ;
28952   return 0;
28953 }
28954 _ACEOF
28955 if ac_fn_cxx_try_compile "$LINENO"; then :
28956   glibcxx_cv_func_isinff_use=yes
28957 else
28958   glibcxx_cv_func_isinff_use=no
28959 fi
28960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28961       ac_ext=c
28962 ac_cpp='$CPP $CPPFLAGS'
28963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28966
28967
28968 fi
28969
28970   fi
28971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28972 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28973
28974   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28975     for ac_func in isinff
28976 do :
28977   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28978 if test "x$ac_cv_func_isinff" = x""yes; then :
28979   cat >>confdefs.h <<_ACEOF
28980 #define HAVE_ISINFF 1
28981 _ACEOF
28982
28983 fi
28984 done
28985
28986   else
28987
28988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28989 $as_echo_n "checking for _isinff declaration... " >&6; }
28990   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28991     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28992   $as_echo_n "(cached) " >&6
28993 else
28994
28995
28996       ac_ext=cpp
28997 ac_cpp='$CXXCPP $CPPFLAGS'
28998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29001
29002       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29003 /* end confdefs.h.  */
29004 #include <math.h>
29005                       #ifdef HAVE_IEEEFP_H
29006                       #include <ieeefp.h>
29007                       #endif
29008
29009 int
29010 main ()
29011 {
29012  _isinff(0);
29013   ;
29014   return 0;
29015 }
29016 _ACEOF
29017 if ac_fn_cxx_try_compile "$LINENO"; then :
29018   glibcxx_cv_func__isinff_use=yes
29019 else
29020   glibcxx_cv_func__isinff_use=no
29021 fi
29022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29023       ac_ext=c
29024 ac_cpp='$CPP $CPPFLAGS'
29025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29028
29029
29030 fi
29031
29032   fi
29033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29034 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29035
29036     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29037       for ac_func in _isinff
29038 do :
29039   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29040 if test "x$ac_cv_func__isinff" = x""yes; then :
29041   cat >>confdefs.h <<_ACEOF
29042 #define HAVE__ISINFF 1
29043 _ACEOF
29044
29045 fi
29046 done
29047
29048     fi
29049   fi
29050
29051
29052
29053
29054
29055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29056 $as_echo_n "checking for atan2f declaration... " >&6; }
29057   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29058     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29059   $as_echo_n "(cached) " >&6
29060 else
29061
29062
29063       ac_ext=cpp
29064 ac_cpp='$CXXCPP $CPPFLAGS'
29065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29068
29069       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29070 /* end confdefs.h.  */
29071 #include <math.h>
29072 int
29073 main ()
29074 {
29075  atan2f(0, 0);
29076   ;
29077   return 0;
29078 }
29079 _ACEOF
29080 if ac_fn_cxx_try_compile "$LINENO"; then :
29081   glibcxx_cv_func_atan2f_use=yes
29082 else
29083   glibcxx_cv_func_atan2f_use=no
29084 fi
29085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29086       ac_ext=c
29087 ac_cpp='$CPP $CPPFLAGS'
29088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29091
29092
29093 fi
29094
29095   fi
29096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29097 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29098
29099   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29100     for ac_func in atan2f
29101 do :
29102   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29103 if test "x$ac_cv_func_atan2f" = x""yes; then :
29104   cat >>confdefs.h <<_ACEOF
29105 #define HAVE_ATAN2F 1
29106 _ACEOF
29107
29108 fi
29109 done
29110
29111   else
29112
29113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29114 $as_echo_n "checking for _atan2f declaration... " >&6; }
29115   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29116     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29117   $as_echo_n "(cached) " >&6
29118 else
29119
29120
29121       ac_ext=cpp
29122 ac_cpp='$CXXCPP $CPPFLAGS'
29123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29126
29127       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29128 /* end confdefs.h.  */
29129 #include <math.h>
29130 int
29131 main ()
29132 {
29133  _atan2f(0, 0);
29134   ;
29135   return 0;
29136 }
29137 _ACEOF
29138 if ac_fn_cxx_try_compile "$LINENO"; then :
29139   glibcxx_cv_func__atan2f_use=yes
29140 else
29141   glibcxx_cv_func__atan2f_use=no
29142 fi
29143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29144       ac_ext=c
29145 ac_cpp='$CPP $CPPFLAGS'
29146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29149
29150
29151 fi
29152
29153   fi
29154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29155 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29156
29157     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29158       for ac_func in _atan2f
29159 do :
29160   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29161 if test "x$ac_cv_func__atan2f" = x""yes; then :
29162   cat >>confdefs.h <<_ACEOF
29163 #define HAVE__ATAN2F 1
29164 _ACEOF
29165
29166 fi
29167 done
29168
29169     fi
29170   fi
29171
29172
29173
29174
29175
29176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29177 $as_echo_n "checking for fabsf declaration... " >&6; }
29178   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29179     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29180   $as_echo_n "(cached) " >&6
29181 else
29182
29183
29184       ac_ext=cpp
29185 ac_cpp='$CXXCPP $CPPFLAGS'
29186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29189
29190       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29191 /* end confdefs.h.  */
29192 #include <math.h>
29193                       #ifdef HAVE_IEEEFP_H
29194                       #include <ieeefp.h>
29195                       #endif
29196
29197 int
29198 main ()
29199 {
29200  fabsf(0);
29201   ;
29202   return 0;
29203 }
29204 _ACEOF
29205 if ac_fn_cxx_try_compile "$LINENO"; then :
29206   glibcxx_cv_func_fabsf_use=yes
29207 else
29208   glibcxx_cv_func_fabsf_use=no
29209 fi
29210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29211       ac_ext=c
29212 ac_cpp='$CPP $CPPFLAGS'
29213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29216
29217
29218 fi
29219
29220   fi
29221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29222 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29223
29224   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29225     for ac_func in fabsf
29226 do :
29227   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29228 if test "x$ac_cv_func_fabsf" = x""yes; then :
29229   cat >>confdefs.h <<_ACEOF
29230 #define HAVE_FABSF 1
29231 _ACEOF
29232
29233 fi
29234 done
29235
29236   else
29237
29238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29239 $as_echo_n "checking for _fabsf declaration... " >&6; }
29240   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29241     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29242   $as_echo_n "(cached) " >&6
29243 else
29244
29245
29246       ac_ext=cpp
29247 ac_cpp='$CXXCPP $CPPFLAGS'
29248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29251
29252       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29253 /* end confdefs.h.  */
29254 #include <math.h>
29255                       #ifdef HAVE_IEEEFP_H
29256                       #include <ieeefp.h>
29257                       #endif
29258
29259 int
29260 main ()
29261 {
29262  _fabsf(0);
29263   ;
29264   return 0;
29265 }
29266 _ACEOF
29267 if ac_fn_cxx_try_compile "$LINENO"; then :
29268   glibcxx_cv_func__fabsf_use=yes
29269 else
29270   glibcxx_cv_func__fabsf_use=no
29271 fi
29272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29273       ac_ext=c
29274 ac_cpp='$CPP $CPPFLAGS'
29275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29278
29279
29280 fi
29281
29282   fi
29283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29284 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29285
29286     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29287       for ac_func in _fabsf
29288 do :
29289   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29290 if test "x$ac_cv_func__fabsf" = x""yes; then :
29291   cat >>confdefs.h <<_ACEOF
29292 #define HAVE__FABSF 1
29293 _ACEOF
29294
29295 fi
29296 done
29297
29298     fi
29299   fi
29300
29301
29302
29303
29304
29305   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29306 $as_echo_n "checking for fmodf declaration... " >&6; }
29307   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29308     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29309   $as_echo_n "(cached) " >&6
29310 else
29311
29312
29313       ac_ext=cpp
29314 ac_cpp='$CXXCPP $CPPFLAGS'
29315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29318
29319       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29320 /* end confdefs.h.  */
29321 #include <math.h>
29322 int
29323 main ()
29324 {
29325  fmodf(0, 0);
29326   ;
29327   return 0;
29328 }
29329 _ACEOF
29330 if ac_fn_cxx_try_compile "$LINENO"; then :
29331   glibcxx_cv_func_fmodf_use=yes
29332 else
29333   glibcxx_cv_func_fmodf_use=no
29334 fi
29335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29336       ac_ext=c
29337 ac_cpp='$CPP $CPPFLAGS'
29338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29341
29342
29343 fi
29344
29345   fi
29346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29347 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29348
29349   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29350     for ac_func in fmodf
29351 do :
29352   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29353 if test "x$ac_cv_func_fmodf" = x""yes; then :
29354   cat >>confdefs.h <<_ACEOF
29355 #define HAVE_FMODF 1
29356 _ACEOF
29357
29358 fi
29359 done
29360
29361   else
29362
29363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29364 $as_echo_n "checking for _fmodf declaration... " >&6; }
29365   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29366     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29367   $as_echo_n "(cached) " >&6
29368 else
29369
29370
29371       ac_ext=cpp
29372 ac_cpp='$CXXCPP $CPPFLAGS'
29373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29376
29377       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29378 /* end confdefs.h.  */
29379 #include <math.h>
29380 int
29381 main ()
29382 {
29383  _fmodf(0, 0);
29384   ;
29385   return 0;
29386 }
29387 _ACEOF
29388 if ac_fn_cxx_try_compile "$LINENO"; then :
29389   glibcxx_cv_func__fmodf_use=yes
29390 else
29391   glibcxx_cv_func__fmodf_use=no
29392 fi
29393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29394       ac_ext=c
29395 ac_cpp='$CPP $CPPFLAGS'
29396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29399
29400
29401 fi
29402
29403   fi
29404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29405 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29406
29407     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29408       for ac_func in _fmodf
29409 do :
29410   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29411 if test "x$ac_cv_func__fmodf" = x""yes; then :
29412   cat >>confdefs.h <<_ACEOF
29413 #define HAVE__FMODF 1
29414 _ACEOF
29415
29416 fi
29417 done
29418
29419     fi
29420   fi
29421
29422
29423
29424
29425
29426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29427 $as_echo_n "checking for frexpf declaration... " >&6; }
29428   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29429     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29430   $as_echo_n "(cached) " >&6
29431 else
29432
29433
29434       ac_ext=cpp
29435 ac_cpp='$CXXCPP $CPPFLAGS'
29436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29439
29440       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29441 /* end confdefs.h.  */
29442 #include <math.h>
29443 int
29444 main ()
29445 {
29446  frexpf(0, 0);
29447   ;
29448   return 0;
29449 }
29450 _ACEOF
29451 if ac_fn_cxx_try_compile "$LINENO"; then :
29452   glibcxx_cv_func_frexpf_use=yes
29453 else
29454   glibcxx_cv_func_frexpf_use=no
29455 fi
29456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29457       ac_ext=c
29458 ac_cpp='$CPP $CPPFLAGS'
29459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29462
29463
29464 fi
29465
29466   fi
29467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29468 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29469
29470   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29471     for ac_func in frexpf
29472 do :
29473   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29474 if test "x$ac_cv_func_frexpf" = x""yes; then :
29475   cat >>confdefs.h <<_ACEOF
29476 #define HAVE_FREXPF 1
29477 _ACEOF
29478
29479 fi
29480 done
29481
29482   else
29483
29484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29485 $as_echo_n "checking for _frexpf declaration... " >&6; }
29486   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29487     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29488   $as_echo_n "(cached) " >&6
29489 else
29490
29491
29492       ac_ext=cpp
29493 ac_cpp='$CXXCPP $CPPFLAGS'
29494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29497
29498       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29499 /* end confdefs.h.  */
29500 #include <math.h>
29501 int
29502 main ()
29503 {
29504  _frexpf(0, 0);
29505   ;
29506   return 0;
29507 }
29508 _ACEOF
29509 if ac_fn_cxx_try_compile "$LINENO"; then :
29510   glibcxx_cv_func__frexpf_use=yes
29511 else
29512   glibcxx_cv_func__frexpf_use=no
29513 fi
29514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29515       ac_ext=c
29516 ac_cpp='$CPP $CPPFLAGS'
29517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29520
29521
29522 fi
29523
29524   fi
29525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29526 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29527
29528     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29529       for ac_func in _frexpf
29530 do :
29531   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29532 if test "x$ac_cv_func__frexpf" = x""yes; then :
29533   cat >>confdefs.h <<_ACEOF
29534 #define HAVE__FREXPF 1
29535 _ACEOF
29536
29537 fi
29538 done
29539
29540     fi
29541   fi
29542
29543
29544
29545
29546
29547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29548 $as_echo_n "checking for hypotf declaration... " >&6; }
29549   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29550     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29551   $as_echo_n "(cached) " >&6
29552 else
29553
29554
29555       ac_ext=cpp
29556 ac_cpp='$CXXCPP $CPPFLAGS'
29557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29560
29561       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29562 /* end confdefs.h.  */
29563 #include <math.h>
29564 int
29565 main ()
29566 {
29567  hypotf(0, 0);
29568   ;
29569   return 0;
29570 }
29571 _ACEOF
29572 if ac_fn_cxx_try_compile "$LINENO"; then :
29573   glibcxx_cv_func_hypotf_use=yes
29574 else
29575   glibcxx_cv_func_hypotf_use=no
29576 fi
29577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29578       ac_ext=c
29579 ac_cpp='$CPP $CPPFLAGS'
29580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29583
29584
29585 fi
29586
29587   fi
29588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29589 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29590
29591   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29592     for ac_func in hypotf
29593 do :
29594   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29595 if test "x$ac_cv_func_hypotf" = x""yes; then :
29596   cat >>confdefs.h <<_ACEOF
29597 #define HAVE_HYPOTF 1
29598 _ACEOF
29599
29600 fi
29601 done
29602
29603   else
29604
29605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29606 $as_echo_n "checking for _hypotf declaration... " >&6; }
29607   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29608     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29609   $as_echo_n "(cached) " >&6
29610 else
29611
29612
29613       ac_ext=cpp
29614 ac_cpp='$CXXCPP $CPPFLAGS'
29615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29618
29619       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29620 /* end confdefs.h.  */
29621 #include <math.h>
29622 int
29623 main ()
29624 {
29625  _hypotf(0, 0);
29626   ;
29627   return 0;
29628 }
29629 _ACEOF
29630 if ac_fn_cxx_try_compile "$LINENO"; then :
29631   glibcxx_cv_func__hypotf_use=yes
29632 else
29633   glibcxx_cv_func__hypotf_use=no
29634 fi
29635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29636       ac_ext=c
29637 ac_cpp='$CPP $CPPFLAGS'
29638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29641
29642
29643 fi
29644
29645   fi
29646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29647 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29648
29649     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29650       for ac_func in _hypotf
29651 do :
29652   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29653 if test "x$ac_cv_func__hypotf" = x""yes; then :
29654   cat >>confdefs.h <<_ACEOF
29655 #define HAVE__HYPOTF 1
29656 _ACEOF
29657
29658 fi
29659 done
29660
29661     fi
29662   fi
29663
29664
29665
29666
29667
29668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29669 $as_echo_n "checking for ldexpf declaration... " >&6; }
29670   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29671     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29672   $as_echo_n "(cached) " >&6
29673 else
29674
29675
29676       ac_ext=cpp
29677 ac_cpp='$CXXCPP $CPPFLAGS'
29678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29681
29682       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29683 /* end confdefs.h.  */
29684 #include <math.h>
29685 int
29686 main ()
29687 {
29688  ldexpf(0, 0);
29689   ;
29690   return 0;
29691 }
29692 _ACEOF
29693 if ac_fn_cxx_try_compile "$LINENO"; then :
29694   glibcxx_cv_func_ldexpf_use=yes
29695 else
29696   glibcxx_cv_func_ldexpf_use=no
29697 fi
29698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29699       ac_ext=c
29700 ac_cpp='$CPP $CPPFLAGS'
29701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29704
29705
29706 fi
29707
29708   fi
29709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29710 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29711
29712   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29713     for ac_func in ldexpf
29714 do :
29715   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29716 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29717   cat >>confdefs.h <<_ACEOF
29718 #define HAVE_LDEXPF 1
29719 _ACEOF
29720
29721 fi
29722 done
29723
29724   else
29725
29726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29727 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29728   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29729     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29730   $as_echo_n "(cached) " >&6
29731 else
29732
29733
29734       ac_ext=cpp
29735 ac_cpp='$CXXCPP $CPPFLAGS'
29736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29739
29740       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29741 /* end confdefs.h.  */
29742 #include <math.h>
29743 int
29744 main ()
29745 {
29746  _ldexpf(0, 0);
29747   ;
29748   return 0;
29749 }
29750 _ACEOF
29751 if ac_fn_cxx_try_compile "$LINENO"; then :
29752   glibcxx_cv_func__ldexpf_use=yes
29753 else
29754   glibcxx_cv_func__ldexpf_use=no
29755 fi
29756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29757       ac_ext=c
29758 ac_cpp='$CPP $CPPFLAGS'
29759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29762
29763
29764 fi
29765
29766   fi
29767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29768 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29769
29770     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29771       for ac_func in _ldexpf
29772 do :
29773   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29774 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29775   cat >>confdefs.h <<_ACEOF
29776 #define HAVE__LDEXPF 1
29777 _ACEOF
29778
29779 fi
29780 done
29781
29782     fi
29783   fi
29784
29785
29786
29787
29788
29789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29790 $as_echo_n "checking for logf declaration... " >&6; }
29791   if test x${glibcxx_cv_func_logf_use+set} != xset; then
29792     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29793   $as_echo_n "(cached) " >&6
29794 else
29795
29796
29797       ac_ext=cpp
29798 ac_cpp='$CXXCPP $CPPFLAGS'
29799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29802
29803       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29804 /* end confdefs.h.  */
29805 #include <math.h>
29806                       #ifdef HAVE_IEEEFP_H
29807                       #include <ieeefp.h>
29808                       #endif
29809
29810 int
29811 main ()
29812 {
29813  logf(0);
29814   ;
29815   return 0;
29816 }
29817 _ACEOF
29818 if ac_fn_cxx_try_compile "$LINENO"; then :
29819   glibcxx_cv_func_logf_use=yes
29820 else
29821   glibcxx_cv_func_logf_use=no
29822 fi
29823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29824       ac_ext=c
29825 ac_cpp='$CPP $CPPFLAGS'
29826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29829
29830
29831 fi
29832
29833   fi
29834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29835 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29836
29837   if test x$glibcxx_cv_func_logf_use = x"yes"; then
29838     for ac_func in logf
29839 do :
29840   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29841 if test "x$ac_cv_func_logf" = x""yes; then :
29842   cat >>confdefs.h <<_ACEOF
29843 #define HAVE_LOGF 1
29844 _ACEOF
29845
29846 fi
29847 done
29848
29849   else
29850
29851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29852 $as_echo_n "checking for _logf declaration... " >&6; }
29853   if test x${glibcxx_cv_func__logf_use+set} != xset; then
29854     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29855   $as_echo_n "(cached) " >&6
29856 else
29857
29858
29859       ac_ext=cpp
29860 ac_cpp='$CXXCPP $CPPFLAGS'
29861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29864
29865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29866 /* end confdefs.h.  */
29867 #include <math.h>
29868                       #ifdef HAVE_IEEEFP_H
29869                       #include <ieeefp.h>
29870                       #endif
29871
29872 int
29873 main ()
29874 {
29875  _logf(0);
29876   ;
29877   return 0;
29878 }
29879 _ACEOF
29880 if ac_fn_cxx_try_compile "$LINENO"; then :
29881   glibcxx_cv_func__logf_use=yes
29882 else
29883   glibcxx_cv_func__logf_use=no
29884 fi
29885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29886       ac_ext=c
29887 ac_cpp='$CPP $CPPFLAGS'
29888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29891
29892
29893 fi
29894
29895   fi
29896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29897 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29898
29899     if test x$glibcxx_cv_func__logf_use = x"yes"; then
29900       for ac_func in _logf
29901 do :
29902   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29903 if test "x$ac_cv_func__logf" = x""yes; then :
29904   cat >>confdefs.h <<_ACEOF
29905 #define HAVE__LOGF 1
29906 _ACEOF
29907
29908 fi
29909 done
29910
29911     fi
29912   fi
29913
29914
29915
29916
29917
29918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29919 $as_echo_n "checking for log10f declaration... " >&6; }
29920   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29921     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29922   $as_echo_n "(cached) " >&6
29923 else
29924
29925
29926       ac_ext=cpp
29927 ac_cpp='$CXXCPP $CPPFLAGS'
29928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29931
29932       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29933 /* end confdefs.h.  */
29934 #include <math.h>
29935                       #ifdef HAVE_IEEEFP_H
29936                       #include <ieeefp.h>
29937                       #endif
29938
29939 int
29940 main ()
29941 {
29942  log10f(0);
29943   ;
29944   return 0;
29945 }
29946 _ACEOF
29947 if ac_fn_cxx_try_compile "$LINENO"; then :
29948   glibcxx_cv_func_log10f_use=yes
29949 else
29950   glibcxx_cv_func_log10f_use=no
29951 fi
29952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29953       ac_ext=c
29954 ac_cpp='$CPP $CPPFLAGS'
29955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29958
29959
29960 fi
29961
29962   fi
29963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29964 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29965
29966   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29967     for ac_func in log10f
29968 do :
29969   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29970 if test "x$ac_cv_func_log10f" = x""yes; then :
29971   cat >>confdefs.h <<_ACEOF
29972 #define HAVE_LOG10F 1
29973 _ACEOF
29974
29975 fi
29976 done
29977
29978   else
29979
29980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29981 $as_echo_n "checking for _log10f declaration... " >&6; }
29982   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29983     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29984   $as_echo_n "(cached) " >&6
29985 else
29986
29987
29988       ac_ext=cpp
29989 ac_cpp='$CXXCPP $CPPFLAGS'
29990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29993
29994       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29995 /* end confdefs.h.  */
29996 #include <math.h>
29997                       #ifdef HAVE_IEEEFP_H
29998                       #include <ieeefp.h>
29999                       #endif
30000
30001 int
30002 main ()
30003 {
30004  _log10f(0);
30005   ;
30006   return 0;
30007 }
30008 _ACEOF
30009 if ac_fn_cxx_try_compile "$LINENO"; then :
30010   glibcxx_cv_func__log10f_use=yes
30011 else
30012   glibcxx_cv_func__log10f_use=no
30013 fi
30014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30015       ac_ext=c
30016 ac_cpp='$CPP $CPPFLAGS'
30017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30020
30021
30022 fi
30023
30024   fi
30025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30026 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30027
30028     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30029       for ac_func in _log10f
30030 do :
30031   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30032 if test "x$ac_cv_func__log10f" = x""yes; then :
30033   cat >>confdefs.h <<_ACEOF
30034 #define HAVE__LOG10F 1
30035 _ACEOF
30036
30037 fi
30038 done
30039
30040     fi
30041   fi
30042
30043
30044
30045
30046
30047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30048 $as_echo_n "checking for modff declaration... " >&6; }
30049   if test x${glibcxx_cv_func_modff_use+set} != xset; then
30050     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30051   $as_echo_n "(cached) " >&6
30052 else
30053
30054
30055       ac_ext=cpp
30056 ac_cpp='$CXXCPP $CPPFLAGS'
30057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30060
30061       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30062 /* end confdefs.h.  */
30063 #include <math.h>
30064 int
30065 main ()
30066 {
30067  modff(0, 0);
30068   ;
30069   return 0;
30070 }
30071 _ACEOF
30072 if ac_fn_cxx_try_compile "$LINENO"; then :
30073   glibcxx_cv_func_modff_use=yes
30074 else
30075   glibcxx_cv_func_modff_use=no
30076 fi
30077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30078       ac_ext=c
30079 ac_cpp='$CPP $CPPFLAGS'
30080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30083
30084
30085 fi
30086
30087   fi
30088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30089 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30090
30091   if test x$glibcxx_cv_func_modff_use = x"yes"; then
30092     for ac_func in modff
30093 do :
30094   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30095 if test "x$ac_cv_func_modff" = x""yes; then :
30096   cat >>confdefs.h <<_ACEOF
30097 #define HAVE_MODFF 1
30098 _ACEOF
30099
30100 fi
30101 done
30102
30103   else
30104
30105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30106 $as_echo_n "checking for _modff declaration... " >&6; }
30107   if test x${glibcxx_cv_func__modff_use+set} != xset; then
30108     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30109   $as_echo_n "(cached) " >&6
30110 else
30111
30112
30113       ac_ext=cpp
30114 ac_cpp='$CXXCPP $CPPFLAGS'
30115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30118
30119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30120 /* end confdefs.h.  */
30121 #include <math.h>
30122 int
30123 main ()
30124 {
30125  _modff(0, 0);
30126   ;
30127   return 0;
30128 }
30129 _ACEOF
30130 if ac_fn_cxx_try_compile "$LINENO"; then :
30131   glibcxx_cv_func__modff_use=yes
30132 else
30133   glibcxx_cv_func__modff_use=no
30134 fi
30135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30136       ac_ext=c
30137 ac_cpp='$CPP $CPPFLAGS'
30138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30141
30142
30143 fi
30144
30145   fi
30146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30147 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30148
30149     if test x$glibcxx_cv_func__modff_use = x"yes"; then
30150       for ac_func in _modff
30151 do :
30152   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30153 if test "x$ac_cv_func__modff" = x""yes; then :
30154   cat >>confdefs.h <<_ACEOF
30155 #define HAVE__MODFF 1
30156 _ACEOF
30157
30158 fi
30159 done
30160
30161     fi
30162   fi
30163
30164
30165
30166
30167
30168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30169 $as_echo_n "checking for modf declaration... " >&6; }
30170   if test x${glibcxx_cv_func_modf_use+set} != xset; then
30171     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30172   $as_echo_n "(cached) " >&6
30173 else
30174
30175
30176       ac_ext=cpp
30177 ac_cpp='$CXXCPP $CPPFLAGS'
30178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30181
30182       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30183 /* end confdefs.h.  */
30184 #include <math.h>
30185 int
30186 main ()
30187 {
30188  modf(0, 0);
30189   ;
30190   return 0;
30191 }
30192 _ACEOF
30193 if ac_fn_cxx_try_compile "$LINENO"; then :
30194   glibcxx_cv_func_modf_use=yes
30195 else
30196   glibcxx_cv_func_modf_use=no
30197 fi
30198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30199       ac_ext=c
30200 ac_cpp='$CPP $CPPFLAGS'
30201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30204
30205
30206 fi
30207
30208   fi
30209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30210 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30211
30212   if test x$glibcxx_cv_func_modf_use = x"yes"; then
30213     for ac_func in modf
30214 do :
30215   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30216 if test "x$ac_cv_func_modf" = x""yes; then :
30217   cat >>confdefs.h <<_ACEOF
30218 #define HAVE_MODF 1
30219 _ACEOF
30220
30221 fi
30222 done
30223
30224   else
30225
30226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30227 $as_echo_n "checking for _modf declaration... " >&6; }
30228   if test x${glibcxx_cv_func__modf_use+set} != xset; then
30229     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30230   $as_echo_n "(cached) " >&6
30231 else
30232
30233
30234       ac_ext=cpp
30235 ac_cpp='$CXXCPP $CPPFLAGS'
30236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30239
30240       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30241 /* end confdefs.h.  */
30242 #include <math.h>
30243 int
30244 main ()
30245 {
30246  _modf(0, 0);
30247   ;
30248   return 0;
30249 }
30250 _ACEOF
30251 if ac_fn_cxx_try_compile "$LINENO"; then :
30252   glibcxx_cv_func__modf_use=yes
30253 else
30254   glibcxx_cv_func__modf_use=no
30255 fi
30256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30257       ac_ext=c
30258 ac_cpp='$CPP $CPPFLAGS'
30259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30262
30263
30264 fi
30265
30266   fi
30267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30268 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30269
30270     if test x$glibcxx_cv_func__modf_use = x"yes"; then
30271       for ac_func in _modf
30272 do :
30273   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30274 if test "x$ac_cv_func__modf" = x""yes; then :
30275   cat >>confdefs.h <<_ACEOF
30276 #define HAVE__MODF 1
30277 _ACEOF
30278
30279 fi
30280 done
30281
30282     fi
30283   fi
30284
30285
30286
30287
30288
30289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30290 $as_echo_n "checking for powf declaration... " >&6; }
30291   if test x${glibcxx_cv_func_powf_use+set} != xset; then
30292     if test "${glibcxx_cv_func_powf_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 int
30307 main ()
30308 {
30309  powf(0, 0);
30310   ;
30311   return 0;
30312 }
30313 _ACEOF
30314 if ac_fn_cxx_try_compile "$LINENO"; then :
30315   glibcxx_cv_func_powf_use=yes
30316 else
30317   glibcxx_cv_func_powf_use=no
30318 fi
30319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30320       ac_ext=c
30321 ac_cpp='$CPP $CPPFLAGS'
30322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30325
30326
30327 fi
30328
30329   fi
30330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30331 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30332
30333   if test x$glibcxx_cv_func_powf_use = x"yes"; then
30334     for ac_func in powf
30335 do :
30336   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30337 if test "x$ac_cv_func_powf" = x""yes; then :
30338   cat >>confdefs.h <<_ACEOF
30339 #define HAVE_POWF 1
30340 _ACEOF
30341
30342 fi
30343 done
30344
30345   else
30346
30347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30348 $as_echo_n "checking for _powf declaration... " >&6; }
30349   if test x${glibcxx_cv_func__powf_use+set} != xset; then
30350     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30351   $as_echo_n "(cached) " >&6
30352 else
30353
30354
30355       ac_ext=cpp
30356 ac_cpp='$CXXCPP $CPPFLAGS'
30357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30360
30361       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30362 /* end confdefs.h.  */
30363 #include <math.h>
30364 int
30365 main ()
30366 {
30367  _powf(0, 0);
30368   ;
30369   return 0;
30370 }
30371 _ACEOF
30372 if ac_fn_cxx_try_compile "$LINENO"; then :
30373   glibcxx_cv_func__powf_use=yes
30374 else
30375   glibcxx_cv_func__powf_use=no
30376 fi
30377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30378       ac_ext=c
30379 ac_cpp='$CPP $CPPFLAGS'
30380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30383
30384
30385 fi
30386
30387   fi
30388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30389 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30390
30391     if test x$glibcxx_cv_func__powf_use = x"yes"; then
30392       for ac_func in _powf
30393 do :
30394   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30395 if test "x$ac_cv_func__powf" = x""yes; then :
30396   cat >>confdefs.h <<_ACEOF
30397 #define HAVE__POWF 1
30398 _ACEOF
30399
30400 fi
30401 done
30402
30403     fi
30404   fi
30405
30406
30407
30408
30409
30410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30411 $as_echo_n "checking for sqrtf declaration... " >&6; }
30412   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30413     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30414   $as_echo_n "(cached) " >&6
30415 else
30416
30417
30418       ac_ext=cpp
30419 ac_cpp='$CXXCPP $CPPFLAGS'
30420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30423
30424       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30425 /* end confdefs.h.  */
30426 #include <math.h>
30427                       #ifdef HAVE_IEEEFP_H
30428                       #include <ieeefp.h>
30429                       #endif
30430
30431 int
30432 main ()
30433 {
30434  sqrtf(0);
30435   ;
30436   return 0;
30437 }
30438 _ACEOF
30439 if ac_fn_cxx_try_compile "$LINENO"; then :
30440   glibcxx_cv_func_sqrtf_use=yes
30441 else
30442   glibcxx_cv_func_sqrtf_use=no
30443 fi
30444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30445       ac_ext=c
30446 ac_cpp='$CPP $CPPFLAGS'
30447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30450
30451
30452 fi
30453
30454   fi
30455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30456 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30457
30458   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30459     for ac_func in sqrtf
30460 do :
30461   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30462 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30463   cat >>confdefs.h <<_ACEOF
30464 #define HAVE_SQRTF 1
30465 _ACEOF
30466
30467 fi
30468 done
30469
30470   else
30471
30472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30473 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30474   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30475     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30476   $as_echo_n "(cached) " >&6
30477 else
30478
30479
30480       ac_ext=cpp
30481 ac_cpp='$CXXCPP $CPPFLAGS'
30482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30485
30486       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30487 /* end confdefs.h.  */
30488 #include <math.h>
30489                       #ifdef HAVE_IEEEFP_H
30490                       #include <ieeefp.h>
30491                       #endif
30492
30493 int
30494 main ()
30495 {
30496  _sqrtf(0);
30497   ;
30498   return 0;
30499 }
30500 _ACEOF
30501 if ac_fn_cxx_try_compile "$LINENO"; then :
30502   glibcxx_cv_func__sqrtf_use=yes
30503 else
30504   glibcxx_cv_func__sqrtf_use=no
30505 fi
30506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30507       ac_ext=c
30508 ac_cpp='$CPP $CPPFLAGS'
30509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30512
30513
30514 fi
30515
30516   fi
30517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30518 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30519
30520     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30521       for ac_func in _sqrtf
30522 do :
30523   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30524 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30525   cat >>confdefs.h <<_ACEOF
30526 #define HAVE__SQRTF 1
30527 _ACEOF
30528
30529 fi
30530 done
30531
30532     fi
30533   fi
30534
30535
30536
30537
30538
30539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30540 $as_echo_n "checking for sincosf declaration... " >&6; }
30541   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30542     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30543   $as_echo_n "(cached) " >&6
30544 else
30545
30546
30547       ac_ext=cpp
30548 ac_cpp='$CXXCPP $CPPFLAGS'
30549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30552
30553       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30554 /* end confdefs.h.  */
30555 #include <math.h>
30556 int
30557 main ()
30558 {
30559  sincosf(0, 0, 0);
30560   ;
30561   return 0;
30562 }
30563 _ACEOF
30564 if ac_fn_cxx_try_compile "$LINENO"; then :
30565   glibcxx_cv_func_sincosf_use=yes
30566 else
30567   glibcxx_cv_func_sincosf_use=no
30568 fi
30569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30570       ac_ext=c
30571 ac_cpp='$CPP $CPPFLAGS'
30572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30575
30576
30577 fi
30578
30579   fi
30580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30581 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30582
30583   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30584     for ac_func in sincosf
30585 do :
30586   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30587 if test "x$ac_cv_func_sincosf" = x""yes; then :
30588   cat >>confdefs.h <<_ACEOF
30589 #define HAVE_SINCOSF 1
30590 _ACEOF
30591
30592 fi
30593 done
30594
30595   else
30596
30597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30598 $as_echo_n "checking for _sincosf declaration... " >&6; }
30599   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30600     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30601   $as_echo_n "(cached) " >&6
30602 else
30603
30604
30605       ac_ext=cpp
30606 ac_cpp='$CXXCPP $CPPFLAGS'
30607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30610
30611       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30612 /* end confdefs.h.  */
30613 #include <math.h>
30614 int
30615 main ()
30616 {
30617  _sincosf(0, 0, 0);
30618   ;
30619   return 0;
30620 }
30621 _ACEOF
30622 if ac_fn_cxx_try_compile "$LINENO"; then :
30623   glibcxx_cv_func__sincosf_use=yes
30624 else
30625   glibcxx_cv_func__sincosf_use=no
30626 fi
30627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30628       ac_ext=c
30629 ac_cpp='$CPP $CPPFLAGS'
30630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30633
30634
30635 fi
30636
30637   fi
30638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30639 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30640
30641     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30642       for ac_func in _sincosf
30643 do :
30644   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30645 if test "x$ac_cv_func__sincosf" = x""yes; then :
30646   cat >>confdefs.h <<_ACEOF
30647 #define HAVE__SINCOSF 1
30648 _ACEOF
30649
30650 fi
30651 done
30652
30653     fi
30654   fi
30655
30656
30657
30658
30659
30660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30661 $as_echo_n "checking for finitef declaration... " >&6; }
30662   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30663     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30664   $as_echo_n "(cached) " >&6
30665 else
30666
30667
30668       ac_ext=cpp
30669 ac_cpp='$CXXCPP $CPPFLAGS'
30670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30673
30674       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30675 /* end confdefs.h.  */
30676 #include <math.h>
30677                       #ifdef HAVE_IEEEFP_H
30678                       #include <ieeefp.h>
30679                       #endif
30680
30681 int
30682 main ()
30683 {
30684  finitef(0);
30685   ;
30686   return 0;
30687 }
30688 _ACEOF
30689 if ac_fn_cxx_try_compile "$LINENO"; then :
30690   glibcxx_cv_func_finitef_use=yes
30691 else
30692   glibcxx_cv_func_finitef_use=no
30693 fi
30694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30695       ac_ext=c
30696 ac_cpp='$CPP $CPPFLAGS'
30697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30700
30701
30702 fi
30703
30704   fi
30705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30706 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30707
30708   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30709     for ac_func in finitef
30710 do :
30711   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30712 if test "x$ac_cv_func_finitef" = x""yes; then :
30713   cat >>confdefs.h <<_ACEOF
30714 #define HAVE_FINITEF 1
30715 _ACEOF
30716
30717 fi
30718 done
30719
30720   else
30721
30722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30723 $as_echo_n "checking for _finitef declaration... " >&6; }
30724   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30725     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30726   $as_echo_n "(cached) " >&6
30727 else
30728
30729
30730       ac_ext=cpp
30731 ac_cpp='$CXXCPP $CPPFLAGS'
30732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30735
30736       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30737 /* end confdefs.h.  */
30738 #include <math.h>
30739                       #ifdef HAVE_IEEEFP_H
30740                       #include <ieeefp.h>
30741                       #endif
30742
30743 int
30744 main ()
30745 {
30746  _finitef(0);
30747   ;
30748   return 0;
30749 }
30750 _ACEOF
30751 if ac_fn_cxx_try_compile "$LINENO"; then :
30752   glibcxx_cv_func__finitef_use=yes
30753 else
30754   glibcxx_cv_func__finitef_use=no
30755 fi
30756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30757       ac_ext=c
30758 ac_cpp='$CPP $CPPFLAGS'
30759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30762
30763
30764 fi
30765
30766   fi
30767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30768 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30769
30770     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30771       for ac_func in _finitef
30772 do :
30773   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30774 if test "x$ac_cv_func__finitef" = x""yes; then :
30775   cat >>confdefs.h <<_ACEOF
30776 #define HAVE__FINITEF 1
30777 _ACEOF
30778
30779 fi
30780 done
30781
30782     fi
30783   fi
30784
30785
30786
30787
30788
30789     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30790 $as_echo_n "checking for long double trig functions... " >&6; }
30791   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30792   $as_echo_n "(cached) " >&6
30793 else
30794
30795
30796     ac_ext=cpp
30797 ac_cpp='$CXXCPP $CPPFLAGS'
30798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30801
30802     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30803 /* end confdefs.h.  */
30804 #include <math.h>
30805 int
30806 main ()
30807 {
30808 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30809   ;
30810   return 0;
30811 }
30812 _ACEOF
30813 if ac_fn_cxx_try_compile "$LINENO"; then :
30814   glibcxx_cv_func_long_double_trig_use=yes
30815 else
30816   glibcxx_cv_func_long_double_trig_use=no
30817 fi
30818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30819     ac_ext=c
30820 ac_cpp='$CPP $CPPFLAGS'
30821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30824
30825 fi
30826
30827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30828 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30829   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30830     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30831 do :
30832   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30833 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30834 eval as_val=\$$as_ac_var
30835    if test "x$as_val" = x""yes; then :
30836   cat >>confdefs.h <<_ACEOF
30837 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30838 _ACEOF
30839
30840 fi
30841 done
30842
30843   else
30844     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30845 $as_echo_n "checking for _long double trig functions... " >&6; }
30846     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30847   $as_echo_n "(cached) " >&6
30848 else
30849
30850
30851       ac_ext=cpp
30852 ac_cpp='$CXXCPP $CPPFLAGS'
30853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30856
30857       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30858 /* end confdefs.h.  */
30859 #include <math.h>
30860 int
30861 main ()
30862 {
30863 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30864   ;
30865   return 0;
30866 }
30867 _ACEOF
30868 if ac_fn_cxx_try_compile "$LINENO"; then :
30869   glibcxx_cv_func__long_double_trig_use=yes
30870 else
30871   glibcxx_cv_func__long_double_trig_use=no
30872 fi
30873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30874       ac_ext=c
30875 ac_cpp='$CPP $CPPFLAGS'
30876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30879
30880 fi
30881
30882     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30883 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30884     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30885       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30886 do :
30887   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30888 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30889 eval as_val=\$$as_ac_var
30890    if test "x$as_val" = x""yes; then :
30891   cat >>confdefs.h <<_ACEOF
30892 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30893 _ACEOF
30894
30895 fi
30896 done
30897
30898     fi
30899   fi
30900
30901
30902
30903
30904
30905     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30906 $as_echo_n "checking for long double round functions... " >&6; }
30907   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30908   $as_echo_n "(cached) " >&6
30909 else
30910
30911
30912     ac_ext=cpp
30913 ac_cpp='$CXXCPP $CPPFLAGS'
30914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30917
30918     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30919 /* end confdefs.h.  */
30920 #include <math.h>
30921 int
30922 main ()
30923 {
30924 ceill (0); floorl (0);
30925   ;
30926   return 0;
30927 }
30928 _ACEOF
30929 if ac_fn_cxx_try_compile "$LINENO"; then :
30930   glibcxx_cv_func_long_double_round_use=yes
30931 else
30932   glibcxx_cv_func_long_double_round_use=no
30933 fi
30934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30935     ac_ext=c
30936 ac_cpp='$CPP $CPPFLAGS'
30937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30940
30941 fi
30942
30943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30944 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30945   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30946     for ac_func in ceill floorl
30947 do :
30948   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30949 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30950 eval as_val=\$$as_ac_var
30951    if test "x$as_val" = x""yes; then :
30952   cat >>confdefs.h <<_ACEOF
30953 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30954 _ACEOF
30955
30956 fi
30957 done
30958
30959   else
30960     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30961 $as_echo_n "checking for _long double round functions... " >&6; }
30962     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30963   $as_echo_n "(cached) " >&6
30964 else
30965
30966
30967       ac_ext=cpp
30968 ac_cpp='$CXXCPP $CPPFLAGS'
30969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30972
30973       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30974 /* end confdefs.h.  */
30975 #include <math.h>
30976 int
30977 main ()
30978 {
30979 _ceill (0); _floorl (0);
30980   ;
30981   return 0;
30982 }
30983 _ACEOF
30984 if ac_fn_cxx_try_compile "$LINENO"; then :
30985   glibcxx_cv_func__long_double_round_use=yes
30986 else
30987   glibcxx_cv_func__long_double_round_use=no
30988 fi
30989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30990       ac_ext=c
30991 ac_cpp='$CPP $CPPFLAGS'
30992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30995
30996 fi
30997
30998     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30999 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31000     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31001       for ac_func in _ceill _floorl
31002 do :
31003   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31004 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31005 eval as_val=\$$as_ac_var
31006    if test "x$as_val" = x""yes; then :
31007   cat >>confdefs.h <<_ACEOF
31008 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31009 _ACEOF
31010
31011 fi
31012 done
31013
31014     fi
31015   fi
31016
31017
31018
31019
31020
31021
31022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31023 $as_echo_n "checking for isnanl declaration... " >&6; }
31024   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31025     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31026   $as_echo_n "(cached) " >&6
31027 else
31028
31029
31030       ac_ext=cpp
31031 ac_cpp='$CXXCPP $CPPFLAGS'
31032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31035
31036       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31037 /* end confdefs.h.  */
31038 #include <math.h>
31039                       #ifdef HAVE_IEEEFP_H
31040                       #include <ieeefp.h>
31041                       #endif
31042
31043 int
31044 main ()
31045 {
31046  isnanl(0);
31047   ;
31048   return 0;
31049 }
31050 _ACEOF
31051 if ac_fn_cxx_try_compile "$LINENO"; then :
31052   glibcxx_cv_func_isnanl_use=yes
31053 else
31054   glibcxx_cv_func_isnanl_use=no
31055 fi
31056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31057       ac_ext=c
31058 ac_cpp='$CPP $CPPFLAGS'
31059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31062
31063
31064 fi
31065
31066   fi
31067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31068 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31069
31070   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31071     for ac_func in isnanl
31072 do :
31073   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31074 if test "x$ac_cv_func_isnanl" = x""yes; then :
31075   cat >>confdefs.h <<_ACEOF
31076 #define HAVE_ISNANL 1
31077 _ACEOF
31078
31079 fi
31080 done
31081
31082   else
31083
31084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31085 $as_echo_n "checking for _isnanl declaration... " >&6; }
31086   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31087     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31088   $as_echo_n "(cached) " >&6
31089 else
31090
31091
31092       ac_ext=cpp
31093 ac_cpp='$CXXCPP $CPPFLAGS'
31094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31097
31098       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31099 /* end confdefs.h.  */
31100 #include <math.h>
31101                       #ifdef HAVE_IEEEFP_H
31102                       #include <ieeefp.h>
31103                       #endif
31104
31105 int
31106 main ()
31107 {
31108  _isnanl(0);
31109   ;
31110   return 0;
31111 }
31112 _ACEOF
31113 if ac_fn_cxx_try_compile "$LINENO"; then :
31114   glibcxx_cv_func__isnanl_use=yes
31115 else
31116   glibcxx_cv_func__isnanl_use=no
31117 fi
31118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31119       ac_ext=c
31120 ac_cpp='$CPP $CPPFLAGS'
31121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31124
31125
31126 fi
31127
31128   fi
31129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31130 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31131
31132     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31133       for ac_func in _isnanl
31134 do :
31135   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31136 if test "x$ac_cv_func__isnanl" = x""yes; then :
31137   cat >>confdefs.h <<_ACEOF
31138 #define HAVE__ISNANL 1
31139 _ACEOF
31140
31141 fi
31142 done
31143
31144     fi
31145   fi
31146
31147
31148
31149
31150
31151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31152 $as_echo_n "checking for isinfl declaration... " >&6; }
31153   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31154     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31155   $as_echo_n "(cached) " >&6
31156 else
31157
31158
31159       ac_ext=cpp
31160 ac_cpp='$CXXCPP $CPPFLAGS'
31161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31164
31165       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31166 /* end confdefs.h.  */
31167 #include <math.h>
31168                       #ifdef HAVE_IEEEFP_H
31169                       #include <ieeefp.h>
31170                       #endif
31171
31172 int
31173 main ()
31174 {
31175  isinfl(0);
31176   ;
31177   return 0;
31178 }
31179 _ACEOF
31180 if ac_fn_cxx_try_compile "$LINENO"; then :
31181   glibcxx_cv_func_isinfl_use=yes
31182 else
31183   glibcxx_cv_func_isinfl_use=no
31184 fi
31185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31186       ac_ext=c
31187 ac_cpp='$CPP $CPPFLAGS'
31188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31191
31192
31193 fi
31194
31195   fi
31196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31197 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31198
31199   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31200     for ac_func in isinfl
31201 do :
31202   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31203 if test "x$ac_cv_func_isinfl" = x""yes; then :
31204   cat >>confdefs.h <<_ACEOF
31205 #define HAVE_ISINFL 1
31206 _ACEOF
31207
31208 fi
31209 done
31210
31211   else
31212
31213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31214 $as_echo_n "checking for _isinfl declaration... " >&6; }
31215   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31216     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31217   $as_echo_n "(cached) " >&6
31218 else
31219
31220
31221       ac_ext=cpp
31222 ac_cpp='$CXXCPP $CPPFLAGS'
31223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31226
31227       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31228 /* end confdefs.h.  */
31229 #include <math.h>
31230                       #ifdef HAVE_IEEEFP_H
31231                       #include <ieeefp.h>
31232                       #endif
31233
31234 int
31235 main ()
31236 {
31237  _isinfl(0);
31238   ;
31239   return 0;
31240 }
31241 _ACEOF
31242 if ac_fn_cxx_try_compile "$LINENO"; then :
31243   glibcxx_cv_func__isinfl_use=yes
31244 else
31245   glibcxx_cv_func__isinfl_use=no
31246 fi
31247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31248       ac_ext=c
31249 ac_cpp='$CPP $CPPFLAGS'
31250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31253
31254
31255 fi
31256
31257   fi
31258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31259 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31260
31261     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31262       for ac_func in _isinfl
31263 do :
31264   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31265 if test "x$ac_cv_func__isinfl" = x""yes; then :
31266   cat >>confdefs.h <<_ACEOF
31267 #define HAVE__ISINFL 1
31268 _ACEOF
31269
31270 fi
31271 done
31272
31273     fi
31274   fi
31275
31276
31277
31278
31279
31280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31281 $as_echo_n "checking for atan2l declaration... " >&6; }
31282   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31283     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31284   $as_echo_n "(cached) " >&6
31285 else
31286
31287
31288       ac_ext=cpp
31289 ac_cpp='$CXXCPP $CPPFLAGS'
31290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31293
31294       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31295 /* end confdefs.h.  */
31296 #include <math.h>
31297 int
31298 main ()
31299 {
31300  atan2l(0, 0);
31301   ;
31302   return 0;
31303 }
31304 _ACEOF
31305 if ac_fn_cxx_try_compile "$LINENO"; then :
31306   glibcxx_cv_func_atan2l_use=yes
31307 else
31308   glibcxx_cv_func_atan2l_use=no
31309 fi
31310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31311       ac_ext=c
31312 ac_cpp='$CPP $CPPFLAGS'
31313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31316
31317
31318 fi
31319
31320   fi
31321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31322 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31323
31324   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31325     for ac_func in atan2l
31326 do :
31327   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31328 if test "x$ac_cv_func_atan2l" = x""yes; then :
31329   cat >>confdefs.h <<_ACEOF
31330 #define HAVE_ATAN2L 1
31331 _ACEOF
31332
31333 fi
31334 done
31335
31336   else
31337
31338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31339 $as_echo_n "checking for _atan2l declaration... " >&6; }
31340   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31341     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31342   $as_echo_n "(cached) " >&6
31343 else
31344
31345
31346       ac_ext=cpp
31347 ac_cpp='$CXXCPP $CPPFLAGS'
31348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31351
31352       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31353 /* end confdefs.h.  */
31354 #include <math.h>
31355 int
31356 main ()
31357 {
31358  _atan2l(0, 0);
31359   ;
31360   return 0;
31361 }
31362 _ACEOF
31363 if ac_fn_cxx_try_compile "$LINENO"; then :
31364   glibcxx_cv_func__atan2l_use=yes
31365 else
31366   glibcxx_cv_func__atan2l_use=no
31367 fi
31368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31369       ac_ext=c
31370 ac_cpp='$CPP $CPPFLAGS'
31371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31374
31375
31376 fi
31377
31378   fi
31379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31380 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31381
31382     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31383       for ac_func in _atan2l
31384 do :
31385   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31386 if test "x$ac_cv_func__atan2l" = x""yes; then :
31387   cat >>confdefs.h <<_ACEOF
31388 #define HAVE__ATAN2L 1
31389 _ACEOF
31390
31391 fi
31392 done
31393
31394     fi
31395   fi
31396
31397
31398
31399
31400
31401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31402 $as_echo_n "checking for expl declaration... " >&6; }
31403   if test x${glibcxx_cv_func_expl_use+set} != xset; then
31404     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31405   $as_echo_n "(cached) " >&6
31406 else
31407
31408
31409       ac_ext=cpp
31410 ac_cpp='$CXXCPP $CPPFLAGS'
31411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31414
31415       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31416 /* end confdefs.h.  */
31417 #include <math.h>
31418                       #ifdef HAVE_IEEEFP_H
31419                       #include <ieeefp.h>
31420                       #endif
31421
31422 int
31423 main ()
31424 {
31425  expl(0);
31426   ;
31427   return 0;
31428 }
31429 _ACEOF
31430 if ac_fn_cxx_try_compile "$LINENO"; then :
31431   glibcxx_cv_func_expl_use=yes
31432 else
31433   glibcxx_cv_func_expl_use=no
31434 fi
31435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31436       ac_ext=c
31437 ac_cpp='$CPP $CPPFLAGS'
31438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31441
31442
31443 fi
31444
31445   fi
31446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31447 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31448
31449   if test x$glibcxx_cv_func_expl_use = x"yes"; then
31450     for ac_func in expl
31451 do :
31452   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31453 if test "x$ac_cv_func_expl" = x""yes; then :
31454   cat >>confdefs.h <<_ACEOF
31455 #define HAVE_EXPL 1
31456 _ACEOF
31457
31458 fi
31459 done
31460
31461   else
31462
31463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31464 $as_echo_n "checking for _expl declaration... " >&6; }
31465   if test x${glibcxx_cv_func__expl_use+set} != xset; then
31466     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31467   $as_echo_n "(cached) " >&6
31468 else
31469
31470
31471       ac_ext=cpp
31472 ac_cpp='$CXXCPP $CPPFLAGS'
31473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31476
31477       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31478 /* end confdefs.h.  */
31479 #include <math.h>
31480                       #ifdef HAVE_IEEEFP_H
31481                       #include <ieeefp.h>
31482                       #endif
31483
31484 int
31485 main ()
31486 {
31487  _expl(0);
31488   ;
31489   return 0;
31490 }
31491 _ACEOF
31492 if ac_fn_cxx_try_compile "$LINENO"; then :
31493   glibcxx_cv_func__expl_use=yes
31494 else
31495   glibcxx_cv_func__expl_use=no
31496 fi
31497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31498       ac_ext=c
31499 ac_cpp='$CPP $CPPFLAGS'
31500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31503
31504
31505 fi
31506
31507   fi
31508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31509 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31510
31511     if test x$glibcxx_cv_func__expl_use = x"yes"; then
31512       for ac_func in _expl
31513 do :
31514   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31515 if test "x$ac_cv_func__expl" = x""yes; then :
31516   cat >>confdefs.h <<_ACEOF
31517 #define HAVE__EXPL 1
31518 _ACEOF
31519
31520 fi
31521 done
31522
31523     fi
31524   fi
31525
31526
31527
31528
31529
31530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31531 $as_echo_n "checking for fabsl declaration... " >&6; }
31532   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31533     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31534   $as_echo_n "(cached) " >&6
31535 else
31536
31537
31538       ac_ext=cpp
31539 ac_cpp='$CXXCPP $CPPFLAGS'
31540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31543
31544       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31545 /* end confdefs.h.  */
31546 #include <math.h>
31547                       #ifdef HAVE_IEEEFP_H
31548                       #include <ieeefp.h>
31549                       #endif
31550
31551 int
31552 main ()
31553 {
31554  fabsl(0);
31555   ;
31556   return 0;
31557 }
31558 _ACEOF
31559 if ac_fn_cxx_try_compile "$LINENO"; then :
31560   glibcxx_cv_func_fabsl_use=yes
31561 else
31562   glibcxx_cv_func_fabsl_use=no
31563 fi
31564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31565       ac_ext=c
31566 ac_cpp='$CPP $CPPFLAGS'
31567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31570
31571
31572 fi
31573
31574   fi
31575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31576 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31577
31578   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31579     for ac_func in fabsl
31580 do :
31581   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31582 if test "x$ac_cv_func_fabsl" = x""yes; then :
31583   cat >>confdefs.h <<_ACEOF
31584 #define HAVE_FABSL 1
31585 _ACEOF
31586
31587 fi
31588 done
31589
31590   else
31591
31592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31593 $as_echo_n "checking for _fabsl declaration... " >&6; }
31594   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31595     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31596   $as_echo_n "(cached) " >&6
31597 else
31598
31599
31600       ac_ext=cpp
31601 ac_cpp='$CXXCPP $CPPFLAGS'
31602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31605
31606       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31607 /* end confdefs.h.  */
31608 #include <math.h>
31609                       #ifdef HAVE_IEEEFP_H
31610                       #include <ieeefp.h>
31611                       #endif
31612
31613 int
31614 main ()
31615 {
31616  _fabsl(0);
31617   ;
31618   return 0;
31619 }
31620 _ACEOF
31621 if ac_fn_cxx_try_compile "$LINENO"; then :
31622   glibcxx_cv_func__fabsl_use=yes
31623 else
31624   glibcxx_cv_func__fabsl_use=no
31625 fi
31626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31627       ac_ext=c
31628 ac_cpp='$CPP $CPPFLAGS'
31629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31632
31633
31634 fi
31635
31636   fi
31637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31638 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31639
31640     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31641       for ac_func in _fabsl
31642 do :
31643   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31644 if test "x$ac_cv_func__fabsl" = x""yes; then :
31645   cat >>confdefs.h <<_ACEOF
31646 #define HAVE__FABSL 1
31647 _ACEOF
31648
31649 fi
31650 done
31651
31652     fi
31653   fi
31654
31655
31656
31657
31658
31659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31660 $as_echo_n "checking for fmodl declaration... " >&6; }
31661   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31662     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31663   $as_echo_n "(cached) " >&6
31664 else
31665
31666
31667       ac_ext=cpp
31668 ac_cpp='$CXXCPP $CPPFLAGS'
31669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31672
31673       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31674 /* end confdefs.h.  */
31675 #include <math.h>
31676 int
31677 main ()
31678 {
31679  fmodl(0, 0);
31680   ;
31681   return 0;
31682 }
31683 _ACEOF
31684 if ac_fn_cxx_try_compile "$LINENO"; then :
31685   glibcxx_cv_func_fmodl_use=yes
31686 else
31687   glibcxx_cv_func_fmodl_use=no
31688 fi
31689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31690       ac_ext=c
31691 ac_cpp='$CPP $CPPFLAGS'
31692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31695
31696
31697 fi
31698
31699   fi
31700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31701 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31702
31703   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31704     for ac_func in fmodl
31705 do :
31706   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31707 if test "x$ac_cv_func_fmodl" = x""yes; then :
31708   cat >>confdefs.h <<_ACEOF
31709 #define HAVE_FMODL 1
31710 _ACEOF
31711
31712 fi
31713 done
31714
31715   else
31716
31717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31718 $as_echo_n "checking for _fmodl declaration... " >&6; }
31719   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31720     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31721   $as_echo_n "(cached) " >&6
31722 else
31723
31724
31725       ac_ext=cpp
31726 ac_cpp='$CXXCPP $CPPFLAGS'
31727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31730
31731       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31732 /* end confdefs.h.  */
31733 #include <math.h>
31734 int
31735 main ()
31736 {
31737  _fmodl(0, 0);
31738   ;
31739   return 0;
31740 }
31741 _ACEOF
31742 if ac_fn_cxx_try_compile "$LINENO"; then :
31743   glibcxx_cv_func__fmodl_use=yes
31744 else
31745   glibcxx_cv_func__fmodl_use=no
31746 fi
31747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31748       ac_ext=c
31749 ac_cpp='$CPP $CPPFLAGS'
31750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31753
31754
31755 fi
31756
31757   fi
31758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31759 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31760
31761     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31762       for ac_func in _fmodl
31763 do :
31764   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31765 if test "x$ac_cv_func__fmodl" = x""yes; then :
31766   cat >>confdefs.h <<_ACEOF
31767 #define HAVE__FMODL 1
31768 _ACEOF
31769
31770 fi
31771 done
31772
31773     fi
31774   fi
31775
31776
31777
31778
31779
31780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31781 $as_echo_n "checking for frexpl declaration... " >&6; }
31782   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31783     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31784   $as_echo_n "(cached) " >&6
31785 else
31786
31787
31788       ac_ext=cpp
31789 ac_cpp='$CXXCPP $CPPFLAGS'
31790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31793
31794       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31795 /* end confdefs.h.  */
31796 #include <math.h>
31797 int
31798 main ()
31799 {
31800  frexpl(0, 0);
31801   ;
31802   return 0;
31803 }
31804 _ACEOF
31805 if ac_fn_cxx_try_compile "$LINENO"; then :
31806   glibcxx_cv_func_frexpl_use=yes
31807 else
31808   glibcxx_cv_func_frexpl_use=no
31809 fi
31810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31811       ac_ext=c
31812 ac_cpp='$CPP $CPPFLAGS'
31813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31816
31817
31818 fi
31819
31820   fi
31821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31822 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31823
31824   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31825     for ac_func in frexpl
31826 do :
31827   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31828 if test "x$ac_cv_func_frexpl" = x""yes; then :
31829   cat >>confdefs.h <<_ACEOF
31830 #define HAVE_FREXPL 1
31831 _ACEOF
31832
31833 fi
31834 done
31835
31836   else
31837
31838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31839 $as_echo_n "checking for _frexpl declaration... " >&6; }
31840   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31841     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31842   $as_echo_n "(cached) " >&6
31843 else
31844
31845
31846       ac_ext=cpp
31847 ac_cpp='$CXXCPP $CPPFLAGS'
31848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31851
31852       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31853 /* end confdefs.h.  */
31854 #include <math.h>
31855 int
31856 main ()
31857 {
31858  _frexpl(0, 0);
31859   ;
31860   return 0;
31861 }
31862 _ACEOF
31863 if ac_fn_cxx_try_compile "$LINENO"; then :
31864   glibcxx_cv_func__frexpl_use=yes
31865 else
31866   glibcxx_cv_func__frexpl_use=no
31867 fi
31868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31869       ac_ext=c
31870 ac_cpp='$CPP $CPPFLAGS'
31871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31874
31875
31876 fi
31877
31878   fi
31879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31880 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31881
31882     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31883       for ac_func in _frexpl
31884 do :
31885   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31886 if test "x$ac_cv_func__frexpl" = x""yes; then :
31887   cat >>confdefs.h <<_ACEOF
31888 #define HAVE__FREXPL 1
31889 _ACEOF
31890
31891 fi
31892 done
31893
31894     fi
31895   fi
31896
31897
31898
31899
31900
31901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31902 $as_echo_n "checking for hypotl declaration... " >&6; }
31903   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31904     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31905   $as_echo_n "(cached) " >&6
31906 else
31907
31908
31909       ac_ext=cpp
31910 ac_cpp='$CXXCPP $CPPFLAGS'
31911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31914
31915       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31916 /* end confdefs.h.  */
31917 #include <math.h>
31918 int
31919 main ()
31920 {
31921  hypotl(0, 0);
31922   ;
31923   return 0;
31924 }
31925 _ACEOF
31926 if ac_fn_cxx_try_compile "$LINENO"; then :
31927   glibcxx_cv_func_hypotl_use=yes
31928 else
31929   glibcxx_cv_func_hypotl_use=no
31930 fi
31931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31932       ac_ext=c
31933 ac_cpp='$CPP $CPPFLAGS'
31934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31937
31938
31939 fi
31940
31941   fi
31942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31943 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31944
31945   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31946     for ac_func in hypotl
31947 do :
31948   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31949 if test "x$ac_cv_func_hypotl" = x""yes; then :
31950   cat >>confdefs.h <<_ACEOF
31951 #define HAVE_HYPOTL 1
31952 _ACEOF
31953
31954 fi
31955 done
31956
31957   else
31958
31959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31960 $as_echo_n "checking for _hypotl declaration... " >&6; }
31961   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31962     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31963   $as_echo_n "(cached) " >&6
31964 else
31965
31966
31967       ac_ext=cpp
31968 ac_cpp='$CXXCPP $CPPFLAGS'
31969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31972
31973       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31974 /* end confdefs.h.  */
31975 #include <math.h>
31976 int
31977 main ()
31978 {
31979  _hypotl(0, 0);
31980   ;
31981   return 0;
31982 }
31983 _ACEOF
31984 if ac_fn_cxx_try_compile "$LINENO"; then :
31985   glibcxx_cv_func__hypotl_use=yes
31986 else
31987   glibcxx_cv_func__hypotl_use=no
31988 fi
31989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31990       ac_ext=c
31991 ac_cpp='$CPP $CPPFLAGS'
31992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31995
31996
31997 fi
31998
31999   fi
32000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32001 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32002
32003     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32004       for ac_func in _hypotl
32005 do :
32006   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32007 if test "x$ac_cv_func__hypotl" = x""yes; then :
32008   cat >>confdefs.h <<_ACEOF
32009 #define HAVE__HYPOTL 1
32010 _ACEOF
32011
32012 fi
32013 done
32014
32015     fi
32016   fi
32017
32018
32019
32020
32021
32022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32023 $as_echo_n "checking for ldexpl declaration... " >&6; }
32024   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32025     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32026   $as_echo_n "(cached) " >&6
32027 else
32028
32029
32030       ac_ext=cpp
32031 ac_cpp='$CXXCPP $CPPFLAGS'
32032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32035
32036       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32037 /* end confdefs.h.  */
32038 #include <math.h>
32039 int
32040 main ()
32041 {
32042  ldexpl(0, 0);
32043   ;
32044   return 0;
32045 }
32046 _ACEOF
32047 if ac_fn_cxx_try_compile "$LINENO"; then :
32048   glibcxx_cv_func_ldexpl_use=yes
32049 else
32050   glibcxx_cv_func_ldexpl_use=no
32051 fi
32052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32053       ac_ext=c
32054 ac_cpp='$CPP $CPPFLAGS'
32055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32058
32059
32060 fi
32061
32062   fi
32063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32064 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32065
32066   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32067     for ac_func in ldexpl
32068 do :
32069   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32070 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32071   cat >>confdefs.h <<_ACEOF
32072 #define HAVE_LDEXPL 1
32073 _ACEOF
32074
32075 fi
32076 done
32077
32078   else
32079
32080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32081 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32082   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32083     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32084   $as_echo_n "(cached) " >&6
32085 else
32086
32087
32088       ac_ext=cpp
32089 ac_cpp='$CXXCPP $CPPFLAGS'
32090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32093
32094       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32095 /* end confdefs.h.  */
32096 #include <math.h>
32097 int
32098 main ()
32099 {
32100  _ldexpl(0, 0);
32101   ;
32102   return 0;
32103 }
32104 _ACEOF
32105 if ac_fn_cxx_try_compile "$LINENO"; then :
32106   glibcxx_cv_func__ldexpl_use=yes
32107 else
32108   glibcxx_cv_func__ldexpl_use=no
32109 fi
32110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32111       ac_ext=c
32112 ac_cpp='$CPP $CPPFLAGS'
32113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32116
32117
32118 fi
32119
32120   fi
32121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32122 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32123
32124     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32125       for ac_func in _ldexpl
32126 do :
32127   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32128 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32129   cat >>confdefs.h <<_ACEOF
32130 #define HAVE__LDEXPL 1
32131 _ACEOF
32132
32133 fi
32134 done
32135
32136     fi
32137   fi
32138
32139
32140
32141
32142
32143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32144 $as_echo_n "checking for logl declaration... " >&6; }
32145   if test x${glibcxx_cv_func_logl_use+set} != xset; then
32146     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32147   $as_echo_n "(cached) " >&6
32148 else
32149
32150
32151       ac_ext=cpp
32152 ac_cpp='$CXXCPP $CPPFLAGS'
32153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32156
32157       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32158 /* end confdefs.h.  */
32159 #include <math.h>
32160                       #ifdef HAVE_IEEEFP_H
32161                       #include <ieeefp.h>
32162                       #endif
32163
32164 int
32165 main ()
32166 {
32167  logl(0);
32168   ;
32169   return 0;
32170 }
32171 _ACEOF
32172 if ac_fn_cxx_try_compile "$LINENO"; then :
32173   glibcxx_cv_func_logl_use=yes
32174 else
32175   glibcxx_cv_func_logl_use=no
32176 fi
32177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32178       ac_ext=c
32179 ac_cpp='$CPP $CPPFLAGS'
32180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32183
32184
32185 fi
32186
32187   fi
32188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32189 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32190
32191   if test x$glibcxx_cv_func_logl_use = x"yes"; then
32192     for ac_func in logl
32193 do :
32194   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32195 if test "x$ac_cv_func_logl" = x""yes; then :
32196   cat >>confdefs.h <<_ACEOF
32197 #define HAVE_LOGL 1
32198 _ACEOF
32199
32200 fi
32201 done
32202
32203   else
32204
32205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32206 $as_echo_n "checking for _logl declaration... " >&6; }
32207   if test x${glibcxx_cv_func__logl_use+set} != xset; then
32208     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32209   $as_echo_n "(cached) " >&6
32210 else
32211
32212
32213       ac_ext=cpp
32214 ac_cpp='$CXXCPP $CPPFLAGS'
32215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32218
32219       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32220 /* end confdefs.h.  */
32221 #include <math.h>
32222                       #ifdef HAVE_IEEEFP_H
32223                       #include <ieeefp.h>
32224                       #endif
32225
32226 int
32227 main ()
32228 {
32229  _logl(0);
32230   ;
32231   return 0;
32232 }
32233 _ACEOF
32234 if ac_fn_cxx_try_compile "$LINENO"; then :
32235   glibcxx_cv_func__logl_use=yes
32236 else
32237   glibcxx_cv_func__logl_use=no
32238 fi
32239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32240       ac_ext=c
32241 ac_cpp='$CPP $CPPFLAGS'
32242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32245
32246
32247 fi
32248
32249   fi
32250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32251 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32252
32253     if test x$glibcxx_cv_func__logl_use = x"yes"; then
32254       for ac_func in _logl
32255 do :
32256   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32257 if test "x$ac_cv_func__logl" = x""yes; then :
32258   cat >>confdefs.h <<_ACEOF
32259 #define HAVE__LOGL 1
32260 _ACEOF
32261
32262 fi
32263 done
32264
32265     fi
32266   fi
32267
32268
32269
32270
32271
32272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32273 $as_echo_n "checking for log10l declaration... " >&6; }
32274   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32275     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32276   $as_echo_n "(cached) " >&6
32277 else
32278
32279
32280       ac_ext=cpp
32281 ac_cpp='$CXXCPP $CPPFLAGS'
32282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32285
32286       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32287 /* end confdefs.h.  */
32288 #include <math.h>
32289                       #ifdef HAVE_IEEEFP_H
32290                       #include <ieeefp.h>
32291                       #endif
32292
32293 int
32294 main ()
32295 {
32296  log10l(0);
32297   ;
32298   return 0;
32299 }
32300 _ACEOF
32301 if ac_fn_cxx_try_compile "$LINENO"; then :
32302   glibcxx_cv_func_log10l_use=yes
32303 else
32304   glibcxx_cv_func_log10l_use=no
32305 fi
32306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32307       ac_ext=c
32308 ac_cpp='$CPP $CPPFLAGS'
32309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32312
32313
32314 fi
32315
32316   fi
32317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32318 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32319
32320   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32321     for ac_func in log10l
32322 do :
32323   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32324 if test "x$ac_cv_func_log10l" = x""yes; then :
32325   cat >>confdefs.h <<_ACEOF
32326 #define HAVE_LOG10L 1
32327 _ACEOF
32328
32329 fi
32330 done
32331
32332   else
32333
32334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32335 $as_echo_n "checking for _log10l declaration... " >&6; }
32336   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32337     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32338   $as_echo_n "(cached) " >&6
32339 else
32340
32341
32342       ac_ext=cpp
32343 ac_cpp='$CXXCPP $CPPFLAGS'
32344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32347
32348       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32349 /* end confdefs.h.  */
32350 #include <math.h>
32351                       #ifdef HAVE_IEEEFP_H
32352                       #include <ieeefp.h>
32353                       #endif
32354
32355 int
32356 main ()
32357 {
32358  _log10l(0);
32359   ;
32360   return 0;
32361 }
32362 _ACEOF
32363 if ac_fn_cxx_try_compile "$LINENO"; then :
32364   glibcxx_cv_func__log10l_use=yes
32365 else
32366   glibcxx_cv_func__log10l_use=no
32367 fi
32368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32369       ac_ext=c
32370 ac_cpp='$CPP $CPPFLAGS'
32371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32374
32375
32376 fi
32377
32378   fi
32379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32380 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32381
32382     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32383       for ac_func in _log10l
32384 do :
32385   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32386 if test "x$ac_cv_func__log10l" = x""yes; then :
32387   cat >>confdefs.h <<_ACEOF
32388 #define HAVE__LOG10L 1
32389 _ACEOF
32390
32391 fi
32392 done
32393
32394     fi
32395   fi
32396
32397
32398
32399
32400
32401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32402 $as_echo_n "checking for modfl declaration... " >&6; }
32403   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32404     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32405   $as_echo_n "(cached) " >&6
32406 else
32407
32408
32409       ac_ext=cpp
32410 ac_cpp='$CXXCPP $CPPFLAGS'
32411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32414
32415       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32416 /* end confdefs.h.  */
32417 #include <math.h>
32418 int
32419 main ()
32420 {
32421  modfl(0, 0);
32422   ;
32423   return 0;
32424 }
32425 _ACEOF
32426 if ac_fn_cxx_try_compile "$LINENO"; then :
32427   glibcxx_cv_func_modfl_use=yes
32428 else
32429   glibcxx_cv_func_modfl_use=no
32430 fi
32431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32432       ac_ext=c
32433 ac_cpp='$CPP $CPPFLAGS'
32434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32437
32438
32439 fi
32440
32441   fi
32442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32443 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32444
32445   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32446     for ac_func in modfl
32447 do :
32448   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32449 if test "x$ac_cv_func_modfl" = x""yes; then :
32450   cat >>confdefs.h <<_ACEOF
32451 #define HAVE_MODFL 1
32452 _ACEOF
32453
32454 fi
32455 done
32456
32457   else
32458
32459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32460 $as_echo_n "checking for _modfl declaration... " >&6; }
32461   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32462     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32463   $as_echo_n "(cached) " >&6
32464 else
32465
32466
32467       ac_ext=cpp
32468 ac_cpp='$CXXCPP $CPPFLAGS'
32469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32472
32473       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32474 /* end confdefs.h.  */
32475 #include <math.h>
32476 int
32477 main ()
32478 {
32479  _modfl(0, 0);
32480   ;
32481   return 0;
32482 }
32483 _ACEOF
32484 if ac_fn_cxx_try_compile "$LINENO"; then :
32485   glibcxx_cv_func__modfl_use=yes
32486 else
32487   glibcxx_cv_func__modfl_use=no
32488 fi
32489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32490       ac_ext=c
32491 ac_cpp='$CPP $CPPFLAGS'
32492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32495
32496
32497 fi
32498
32499   fi
32500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32501 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32502
32503     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32504       for ac_func in _modfl
32505 do :
32506   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32507 if test "x$ac_cv_func__modfl" = x""yes; then :
32508   cat >>confdefs.h <<_ACEOF
32509 #define HAVE__MODFL 1
32510 _ACEOF
32511
32512 fi
32513 done
32514
32515     fi
32516   fi
32517
32518
32519
32520
32521
32522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32523 $as_echo_n "checking for powl declaration... " >&6; }
32524   if test x${glibcxx_cv_func_powl_use+set} != xset; then
32525     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32526   $as_echo_n "(cached) " >&6
32527 else
32528
32529
32530       ac_ext=cpp
32531 ac_cpp='$CXXCPP $CPPFLAGS'
32532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32535
32536       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32537 /* end confdefs.h.  */
32538 #include <math.h>
32539 int
32540 main ()
32541 {
32542  powl(0, 0);
32543   ;
32544   return 0;
32545 }
32546 _ACEOF
32547 if ac_fn_cxx_try_compile "$LINENO"; then :
32548   glibcxx_cv_func_powl_use=yes
32549 else
32550   glibcxx_cv_func_powl_use=no
32551 fi
32552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32553       ac_ext=c
32554 ac_cpp='$CPP $CPPFLAGS'
32555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32558
32559
32560 fi
32561
32562   fi
32563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32564 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32565
32566   if test x$glibcxx_cv_func_powl_use = x"yes"; then
32567     for ac_func in powl
32568 do :
32569   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32570 if test "x$ac_cv_func_powl" = x""yes; then :
32571   cat >>confdefs.h <<_ACEOF
32572 #define HAVE_POWL 1
32573 _ACEOF
32574
32575 fi
32576 done
32577
32578   else
32579
32580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32581 $as_echo_n "checking for _powl declaration... " >&6; }
32582   if test x${glibcxx_cv_func__powl_use+set} != xset; then
32583     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32584   $as_echo_n "(cached) " >&6
32585 else
32586
32587
32588       ac_ext=cpp
32589 ac_cpp='$CXXCPP $CPPFLAGS'
32590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32593
32594       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32595 /* end confdefs.h.  */
32596 #include <math.h>
32597 int
32598 main ()
32599 {
32600  _powl(0, 0);
32601   ;
32602   return 0;
32603 }
32604 _ACEOF
32605 if ac_fn_cxx_try_compile "$LINENO"; then :
32606   glibcxx_cv_func__powl_use=yes
32607 else
32608   glibcxx_cv_func__powl_use=no
32609 fi
32610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32611       ac_ext=c
32612 ac_cpp='$CPP $CPPFLAGS'
32613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32616
32617
32618 fi
32619
32620   fi
32621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32622 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32623
32624     if test x$glibcxx_cv_func__powl_use = x"yes"; then
32625       for ac_func in _powl
32626 do :
32627   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32628 if test "x$ac_cv_func__powl" = x""yes; then :
32629   cat >>confdefs.h <<_ACEOF
32630 #define HAVE__POWL 1
32631 _ACEOF
32632
32633 fi
32634 done
32635
32636     fi
32637   fi
32638
32639
32640
32641
32642
32643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32644 $as_echo_n "checking for sqrtl declaration... " >&6; }
32645   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32646     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32647   $as_echo_n "(cached) " >&6
32648 else
32649
32650
32651       ac_ext=cpp
32652 ac_cpp='$CXXCPP $CPPFLAGS'
32653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32656
32657       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32658 /* end confdefs.h.  */
32659 #include <math.h>
32660                       #ifdef HAVE_IEEEFP_H
32661                       #include <ieeefp.h>
32662                       #endif
32663
32664 int
32665 main ()
32666 {
32667  sqrtl(0);
32668   ;
32669   return 0;
32670 }
32671 _ACEOF
32672 if ac_fn_cxx_try_compile "$LINENO"; then :
32673   glibcxx_cv_func_sqrtl_use=yes
32674 else
32675   glibcxx_cv_func_sqrtl_use=no
32676 fi
32677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32678       ac_ext=c
32679 ac_cpp='$CPP $CPPFLAGS'
32680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32683
32684
32685 fi
32686
32687   fi
32688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32689 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32690
32691   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32692     for ac_func in sqrtl
32693 do :
32694   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32695 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32696   cat >>confdefs.h <<_ACEOF
32697 #define HAVE_SQRTL 1
32698 _ACEOF
32699
32700 fi
32701 done
32702
32703   else
32704
32705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32706 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32707   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32708     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32709   $as_echo_n "(cached) " >&6
32710 else
32711
32712
32713       ac_ext=cpp
32714 ac_cpp='$CXXCPP $CPPFLAGS'
32715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32718
32719       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32720 /* end confdefs.h.  */
32721 #include <math.h>
32722                       #ifdef HAVE_IEEEFP_H
32723                       #include <ieeefp.h>
32724                       #endif
32725
32726 int
32727 main ()
32728 {
32729  _sqrtl(0);
32730   ;
32731   return 0;
32732 }
32733 _ACEOF
32734 if ac_fn_cxx_try_compile "$LINENO"; then :
32735   glibcxx_cv_func__sqrtl_use=yes
32736 else
32737   glibcxx_cv_func__sqrtl_use=no
32738 fi
32739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32740       ac_ext=c
32741 ac_cpp='$CPP $CPPFLAGS'
32742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32745
32746
32747 fi
32748
32749   fi
32750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32751 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32752
32753     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32754       for ac_func in _sqrtl
32755 do :
32756   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32757 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32758   cat >>confdefs.h <<_ACEOF
32759 #define HAVE__SQRTL 1
32760 _ACEOF
32761
32762 fi
32763 done
32764
32765     fi
32766   fi
32767
32768
32769
32770
32771
32772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32773 $as_echo_n "checking for sincosl declaration... " >&6; }
32774   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32775     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32776   $as_echo_n "(cached) " >&6
32777 else
32778
32779
32780       ac_ext=cpp
32781 ac_cpp='$CXXCPP $CPPFLAGS'
32782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32785
32786       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32787 /* end confdefs.h.  */
32788 #include <math.h>
32789 int
32790 main ()
32791 {
32792  sincosl(0, 0, 0);
32793   ;
32794   return 0;
32795 }
32796 _ACEOF
32797 if ac_fn_cxx_try_compile "$LINENO"; then :
32798   glibcxx_cv_func_sincosl_use=yes
32799 else
32800   glibcxx_cv_func_sincosl_use=no
32801 fi
32802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32803       ac_ext=c
32804 ac_cpp='$CPP $CPPFLAGS'
32805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32808
32809
32810 fi
32811
32812   fi
32813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32814 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32815
32816   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32817     for ac_func in sincosl
32818 do :
32819   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32820 if test "x$ac_cv_func_sincosl" = x""yes; then :
32821   cat >>confdefs.h <<_ACEOF
32822 #define HAVE_SINCOSL 1
32823 _ACEOF
32824
32825 fi
32826 done
32827
32828   else
32829
32830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32831 $as_echo_n "checking for _sincosl declaration... " >&6; }
32832   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32833     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32834   $as_echo_n "(cached) " >&6
32835 else
32836
32837
32838       ac_ext=cpp
32839 ac_cpp='$CXXCPP $CPPFLAGS'
32840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32843
32844       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32845 /* end confdefs.h.  */
32846 #include <math.h>
32847 int
32848 main ()
32849 {
32850  _sincosl(0, 0, 0);
32851   ;
32852   return 0;
32853 }
32854 _ACEOF
32855 if ac_fn_cxx_try_compile "$LINENO"; then :
32856   glibcxx_cv_func__sincosl_use=yes
32857 else
32858   glibcxx_cv_func__sincosl_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__sincosl_use" >&5
32872 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32873
32874     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32875       for ac_func in _sincosl
32876 do :
32877   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32878 if test "x$ac_cv_func__sincosl" = x""yes; then :
32879   cat >>confdefs.h <<_ACEOF
32880 #define HAVE__SINCOSL 1
32881 _ACEOF
32882
32883 fi
32884 done
32885
32886     fi
32887   fi
32888
32889
32890
32891
32892
32893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32894 $as_echo_n "checking for finitel declaration... " >&6; }
32895   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32896     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32897   $as_echo_n "(cached) " >&6
32898 else
32899
32900
32901       ac_ext=cpp
32902 ac_cpp='$CXXCPP $CPPFLAGS'
32903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32906
32907       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32908 /* end confdefs.h.  */
32909 #include <math.h>
32910                       #ifdef HAVE_IEEEFP_H
32911                       #include <ieeefp.h>
32912                       #endif
32913
32914 int
32915 main ()
32916 {
32917  finitel(0);
32918   ;
32919   return 0;
32920 }
32921 _ACEOF
32922 if ac_fn_cxx_try_compile "$LINENO"; then :
32923   glibcxx_cv_func_finitel_use=yes
32924 else
32925   glibcxx_cv_func_finitel_use=no
32926 fi
32927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32928       ac_ext=c
32929 ac_cpp='$CPP $CPPFLAGS'
32930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32933
32934
32935 fi
32936
32937   fi
32938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32939 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32940
32941   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32942     for ac_func in finitel
32943 do :
32944   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32945 if test "x$ac_cv_func_finitel" = x""yes; then :
32946   cat >>confdefs.h <<_ACEOF
32947 #define HAVE_FINITEL 1
32948 _ACEOF
32949
32950 fi
32951 done
32952
32953   else
32954
32955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32956 $as_echo_n "checking for _finitel declaration... " >&6; }
32957   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32958     if test "${glibcxx_cv_func__finitel_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                       #ifdef HAVE_IEEEFP_H
32973                       #include <ieeefp.h>
32974                       #endif
32975
32976 int
32977 main ()
32978 {
32979  _finitel(0);
32980   ;
32981   return 0;
32982 }
32983 _ACEOF
32984 if ac_fn_cxx_try_compile "$LINENO"; then :
32985   glibcxx_cv_func__finitel_use=yes
32986 else
32987   glibcxx_cv_func__finitel_use=no
32988 fi
32989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32990       ac_ext=c
32991 ac_cpp='$CPP $CPPFLAGS'
32992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32995
32996
32997 fi
32998
32999   fi
33000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33001 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33002
33003     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33004       for ac_func in _finitel
33005 do :
33006   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33007 if test "x$ac_cv_func__finitel" = x""yes; then :
33008   cat >>confdefs.h <<_ACEOF
33009 #define HAVE__FINITEL 1
33010 _ACEOF
33011
33012 fi
33013 done
33014
33015     fi
33016   fi
33017
33018
33019
33020
33021   LIBS="$ac_save_LIBS"
33022   CXXFLAGS="$ac_save_CXXFLAGS"
33023
33024
33025   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33026   ac_save_CXXFLAGS="$CXXFLAGS"
33027   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33028
33029
33030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33031 $as_echo_n "checking for strtold declaration... " >&6; }
33032   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33033     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33034   $as_echo_n "(cached) " >&6
33035 else
33036
33037
33038       ac_ext=cpp
33039 ac_cpp='$CXXCPP $CPPFLAGS'
33040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33043
33044       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33045 /* end confdefs.h.  */
33046 #include <stdlib.h>
33047 int
33048 main ()
33049 {
33050  strtold(0, 0);
33051   ;
33052   return 0;
33053 }
33054 _ACEOF
33055 if ac_fn_cxx_try_compile "$LINENO"; then :
33056   glibcxx_cv_func_strtold_use=yes
33057 else
33058   glibcxx_cv_func_strtold_use=no
33059 fi
33060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33061       ac_ext=c
33062 ac_cpp='$CPP $CPPFLAGS'
33063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33066
33067
33068 fi
33069
33070   fi
33071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33072 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33073   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33074     for ac_func in strtold
33075 do :
33076   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33077 if test "x$ac_cv_func_strtold" = x""yes; then :
33078   cat >>confdefs.h <<_ACEOF
33079 #define HAVE_STRTOLD 1
33080 _ACEOF
33081
33082 fi
33083 done
33084
33085   fi
33086
33087
33088
33089
33090   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33091 $as_echo_n "checking for strtof declaration... " >&6; }
33092   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33093     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33094   $as_echo_n "(cached) " >&6
33095 else
33096
33097
33098       ac_ext=cpp
33099 ac_cpp='$CXXCPP $CPPFLAGS'
33100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33103
33104       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33105 /* end confdefs.h.  */
33106 #include <stdlib.h>
33107 int
33108 main ()
33109 {
33110  strtof(0, 0);
33111   ;
33112   return 0;
33113 }
33114 _ACEOF
33115 if ac_fn_cxx_try_compile "$LINENO"; then :
33116   glibcxx_cv_func_strtof_use=yes
33117 else
33118   glibcxx_cv_func_strtof_use=no
33119 fi
33120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33121       ac_ext=c
33122 ac_cpp='$CPP $CPPFLAGS'
33123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33126
33127
33128 fi
33129
33130   fi
33131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33132 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33133   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33134     for ac_func in strtof
33135 do :
33136   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33137 if test "x$ac_cv_func_strtof" = x""yes; then :
33138   cat >>confdefs.h <<_ACEOF
33139 #define HAVE_STRTOF 1
33140 _ACEOF
33141
33142 fi
33143 done
33144
33145   fi
33146
33147
33148
33149
33150   CXXFLAGS="$ac_save_CXXFLAGS"
33151
33152
33153     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33154
33155     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33156
33157     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33158
33159     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33160
33161
33162     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33163
33164     $as_echo "#define HAVE_MODF 1" >>confdefs.h
33165
33166     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33167
33168     ;;
33169
33170   *-aix*)
33171
33172   # If we're not using GNU ld, then there's no point in even trying these
33173   # tests.  Check for that first.  We should have already tested for gld
33174   # by now (in libtool), but require it now just to be safe...
33175   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33176   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33177
33178
33179
33180   # The name set by libtool depends on the version of libtool.  Shame on us
33181   # for depending on an impl detail, but c'est la vie.  Older versions used
33182   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33183   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33184   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
33185   # set (hence we're using an older libtool), then set it.
33186   if test x${with_gnu_ld+set} != xset; then
33187     if test x${ac_cv_prog_gnu_ld+set} != xset; then
33188       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
33189       with_gnu_ld=no
33190     else
33191       with_gnu_ld=$ac_cv_prog_gnu_ld
33192     fi
33193   fi
33194
33195   # Start by getting the version number.  I think the libtool test already
33196   # does some of this, but throws away the result.
33197   glibcxx_ld_is_gold=no
33198   if test x"$with_gnu_ld" = x"yes"; then
33199     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33200 $as_echo_n "checking for ld version... " >&6; }
33201
33202     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33203       glibcxx_ld_is_gold=yes
33204     fi
33205     ldver=`$LD --version 2>/dev/null |
33206            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'`
33207
33208     glibcxx_gnu_ld_version=`echo $ldver | \
33209            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33210     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33211 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33212   fi
33213
33214   # Set --gc-sections.
33215   glibcxx_have_gc_sections=no
33216   if test "$glibcxx_ld_is_gold" = "yes"; then
33217     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33218       glibcxx_have_gc_sections=yes
33219     fi
33220   else
33221     glibcxx_gcsections_min_ld=21602
33222     if test x"$with_gnu_ld" = x"yes" &&
33223         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33224       glibcxx_have_gc_sections=yes
33225     fi
33226   fi
33227   if test "$glibcxx_have_gc_sections" = "yes"; then
33228     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
33229     # NB: This flag only works reliably after 2.16.1. Configure tests
33230     # for this are difficult, so hard wire a value that should work.
33231
33232     ac_test_CFLAGS="${CFLAGS+set}"
33233     ac_save_CFLAGS="$CFLAGS"
33234     CFLAGS='-Wl,--gc-sections'
33235
33236     # Check for -Wl,--gc-sections
33237     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33238 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33239     if test x$gcc_no_link = xyes; then
33240   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33241 fi
33242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33243 /* end confdefs.h.  */
33244  int one(void) { return 1; }
33245      int two(void) { return 2; }
33246
33247 int
33248 main ()
33249 {
33250  two();
33251   ;
33252   return 0;
33253 }
33254 _ACEOF
33255 if ac_fn_c_try_link "$LINENO"; then :
33256   ac_gcsections=yes
33257 else
33258   ac_gcsections=no
33259 fi
33260 rm -f core conftest.err conftest.$ac_objext \
33261     conftest$ac_exeext conftest.$ac_ext
33262     if test "$ac_gcsections" = "yes"; then
33263       rm -f conftest.c
33264       touch conftest.c
33265       if $CC -c conftest.c; then
33266         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33267            grep "Warning: gc-sections option ignored" > /dev/null; then
33268           ac_gcsections=no
33269         fi
33270       fi
33271       rm -f conftest.c conftest.o conftest
33272     fi
33273     if test "$ac_gcsections" = "yes"; then
33274       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33275     fi
33276     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33277 $as_echo "$ac_gcsections" >&6; }
33278
33279     if test "$ac_test_CFLAGS" = set; then
33280       CFLAGS="$ac_save_CFLAGS"
33281     else
33282       # this is the suspicious part
33283       CFLAGS=''
33284     fi
33285   fi
33286
33287   # Set -z,relro.
33288   # Note this is only for shared objects.
33289   ac_ld_relro=no
33290   if test x"$with_gnu_ld" = x"yes"; then
33291     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33292 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33293     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33294     if test -n "$cxx_z_relo"; then
33295       OPT_LDFLAGS="-Wl,-z,relro"
33296       ac_ld_relro=yes
33297     fi
33298     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33299 $as_echo "$ac_ld_relro" >&6; }
33300   fi
33301
33302   # Set linker optimization flags.
33303   if test x"$with_gnu_ld" = x"yes"; then
33304     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33305   fi
33306
33307
33308
33309
33310
33311   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33312   ac_save_CXXFLAGS="$CXXFLAGS"
33313   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33314
33315     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33316 $as_echo_n "checking for sin in -lm... " >&6; }
33317 if test "${ac_cv_lib_m_sin+set}" = set; then :
33318   $as_echo_n "(cached) " >&6
33319 else
33320   ac_check_lib_save_LIBS=$LIBS
33321 LIBS="-lm  $LIBS"
33322 if test x$gcc_no_link = xyes; then
33323   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33324 fi
33325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33326 /* end confdefs.h.  */
33327
33328 /* Override any GCC internal prototype to avoid an error.
33329    Use char because int might match the return type of a GCC
33330    builtin and then its argument prototype would still apply.  */
33331 #ifdef __cplusplus
33332 extern "C"
33333 #endif
33334 char sin ();
33335 int
33336 main ()
33337 {
33338 return sin ();
33339   ;
33340   return 0;
33341 }
33342 _ACEOF
33343 if ac_fn_c_try_link "$LINENO"; then :
33344   ac_cv_lib_m_sin=yes
33345 else
33346   ac_cv_lib_m_sin=no
33347 fi
33348 rm -f core conftest.err conftest.$ac_objext \
33349     conftest$ac_exeext conftest.$ac_ext
33350 LIBS=$ac_check_lib_save_LIBS
33351 fi
33352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33353 $as_echo "$ac_cv_lib_m_sin" >&6; }
33354 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33355   libm="-lm"
33356 fi
33357
33358   ac_save_LIBS="$LIBS"
33359   LIBS="$LIBS $libm"
33360
33361
33362
33363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33364 $as_echo_n "checking for isinf declaration... " >&6; }
33365   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33366     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33367   $as_echo_n "(cached) " >&6
33368 else
33369
33370
33371       ac_ext=cpp
33372 ac_cpp='$CXXCPP $CPPFLAGS'
33373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33376
33377       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33378 /* end confdefs.h.  */
33379 #include <math.h>
33380                       #ifdef HAVE_IEEEFP_H
33381                       #include <ieeefp.h>
33382                       #endif
33383
33384 int
33385 main ()
33386 {
33387  isinf(0);
33388   ;
33389   return 0;
33390 }
33391 _ACEOF
33392 if ac_fn_cxx_try_compile "$LINENO"; then :
33393   glibcxx_cv_func_isinf_use=yes
33394 else
33395   glibcxx_cv_func_isinf_use=no
33396 fi
33397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33398       ac_ext=c
33399 ac_cpp='$CPP $CPPFLAGS'
33400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33403
33404
33405 fi
33406
33407   fi
33408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33409 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33410
33411   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33412     for ac_func in isinf
33413 do :
33414   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33415 if test "x$ac_cv_func_isinf" = x""yes; then :
33416   cat >>confdefs.h <<_ACEOF
33417 #define HAVE_ISINF 1
33418 _ACEOF
33419
33420 fi
33421 done
33422
33423   else
33424
33425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33426 $as_echo_n "checking for _isinf declaration... " >&6; }
33427   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33428     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33429   $as_echo_n "(cached) " >&6
33430 else
33431
33432
33433       ac_ext=cpp
33434 ac_cpp='$CXXCPP $CPPFLAGS'
33435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33438
33439       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33440 /* end confdefs.h.  */
33441 #include <math.h>
33442                       #ifdef HAVE_IEEEFP_H
33443                       #include <ieeefp.h>
33444                       #endif
33445
33446 int
33447 main ()
33448 {
33449  _isinf(0);
33450   ;
33451   return 0;
33452 }
33453 _ACEOF
33454 if ac_fn_cxx_try_compile "$LINENO"; then :
33455   glibcxx_cv_func__isinf_use=yes
33456 else
33457   glibcxx_cv_func__isinf_use=no
33458 fi
33459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33460       ac_ext=c
33461 ac_cpp='$CPP $CPPFLAGS'
33462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33465
33466
33467 fi
33468
33469   fi
33470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33471 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33472
33473     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33474       for ac_func in _isinf
33475 do :
33476   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33477 if test "x$ac_cv_func__isinf" = x""yes; then :
33478   cat >>confdefs.h <<_ACEOF
33479 #define HAVE__ISINF 1
33480 _ACEOF
33481
33482 fi
33483 done
33484
33485     fi
33486   fi
33487
33488
33489
33490
33491
33492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33493 $as_echo_n "checking for isnan declaration... " >&6; }
33494   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33495     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33496   $as_echo_n "(cached) " >&6
33497 else
33498
33499
33500       ac_ext=cpp
33501 ac_cpp='$CXXCPP $CPPFLAGS'
33502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33505
33506       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33507 /* end confdefs.h.  */
33508 #include <math.h>
33509                       #ifdef HAVE_IEEEFP_H
33510                       #include <ieeefp.h>
33511                       #endif
33512
33513 int
33514 main ()
33515 {
33516  isnan(0);
33517   ;
33518   return 0;
33519 }
33520 _ACEOF
33521 if ac_fn_cxx_try_compile "$LINENO"; then :
33522   glibcxx_cv_func_isnan_use=yes
33523 else
33524   glibcxx_cv_func_isnan_use=no
33525 fi
33526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33527       ac_ext=c
33528 ac_cpp='$CPP $CPPFLAGS'
33529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33532
33533
33534 fi
33535
33536   fi
33537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33538 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33539
33540   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33541     for ac_func in isnan
33542 do :
33543   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33544 if test "x$ac_cv_func_isnan" = x""yes; then :
33545   cat >>confdefs.h <<_ACEOF
33546 #define HAVE_ISNAN 1
33547 _ACEOF
33548
33549 fi
33550 done
33551
33552   else
33553
33554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33555 $as_echo_n "checking for _isnan declaration... " >&6; }
33556   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33557     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33558   $as_echo_n "(cached) " >&6
33559 else
33560
33561
33562       ac_ext=cpp
33563 ac_cpp='$CXXCPP $CPPFLAGS'
33564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33567
33568       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33569 /* end confdefs.h.  */
33570 #include <math.h>
33571                       #ifdef HAVE_IEEEFP_H
33572                       #include <ieeefp.h>
33573                       #endif
33574
33575 int
33576 main ()
33577 {
33578  _isnan(0);
33579   ;
33580   return 0;
33581 }
33582 _ACEOF
33583 if ac_fn_cxx_try_compile "$LINENO"; then :
33584   glibcxx_cv_func__isnan_use=yes
33585 else
33586   glibcxx_cv_func__isnan_use=no
33587 fi
33588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33589       ac_ext=c
33590 ac_cpp='$CPP $CPPFLAGS'
33591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33594
33595
33596 fi
33597
33598   fi
33599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33600 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33601
33602     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33603       for ac_func in _isnan
33604 do :
33605   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33606 if test "x$ac_cv_func__isnan" = x""yes; then :
33607   cat >>confdefs.h <<_ACEOF
33608 #define HAVE__ISNAN 1
33609 _ACEOF
33610
33611 fi
33612 done
33613
33614     fi
33615   fi
33616
33617
33618
33619
33620
33621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33622 $as_echo_n "checking for finite declaration... " >&6; }
33623   if test x${glibcxx_cv_func_finite_use+set} != xset; then
33624     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33625   $as_echo_n "(cached) " >&6
33626 else
33627
33628
33629       ac_ext=cpp
33630 ac_cpp='$CXXCPP $CPPFLAGS'
33631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33634
33635       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33636 /* end confdefs.h.  */
33637 #include <math.h>
33638                       #ifdef HAVE_IEEEFP_H
33639                       #include <ieeefp.h>
33640                       #endif
33641
33642 int
33643 main ()
33644 {
33645  finite(0);
33646   ;
33647   return 0;
33648 }
33649 _ACEOF
33650 if ac_fn_cxx_try_compile "$LINENO"; then :
33651   glibcxx_cv_func_finite_use=yes
33652 else
33653   glibcxx_cv_func_finite_use=no
33654 fi
33655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33656       ac_ext=c
33657 ac_cpp='$CPP $CPPFLAGS'
33658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33661
33662
33663 fi
33664
33665   fi
33666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33667 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33668
33669   if test x$glibcxx_cv_func_finite_use = x"yes"; then
33670     for ac_func in finite
33671 do :
33672   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33673 if test "x$ac_cv_func_finite" = x""yes; then :
33674   cat >>confdefs.h <<_ACEOF
33675 #define HAVE_FINITE 1
33676 _ACEOF
33677
33678 fi
33679 done
33680
33681   else
33682
33683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33684 $as_echo_n "checking for _finite declaration... " >&6; }
33685   if test x${glibcxx_cv_func__finite_use+set} != xset; then
33686     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33687   $as_echo_n "(cached) " >&6
33688 else
33689
33690
33691       ac_ext=cpp
33692 ac_cpp='$CXXCPP $CPPFLAGS'
33693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33696
33697       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33698 /* end confdefs.h.  */
33699 #include <math.h>
33700                       #ifdef HAVE_IEEEFP_H
33701                       #include <ieeefp.h>
33702                       #endif
33703
33704 int
33705 main ()
33706 {
33707  _finite(0);
33708   ;
33709   return 0;
33710 }
33711 _ACEOF
33712 if ac_fn_cxx_try_compile "$LINENO"; then :
33713   glibcxx_cv_func__finite_use=yes
33714 else
33715   glibcxx_cv_func__finite_use=no
33716 fi
33717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33718       ac_ext=c
33719 ac_cpp='$CPP $CPPFLAGS'
33720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33723
33724
33725 fi
33726
33727   fi
33728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33729 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33730
33731     if test x$glibcxx_cv_func__finite_use = x"yes"; then
33732       for ac_func in _finite
33733 do :
33734   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33735 if test "x$ac_cv_func__finite" = x""yes; then :
33736   cat >>confdefs.h <<_ACEOF
33737 #define HAVE__FINITE 1
33738 _ACEOF
33739
33740 fi
33741 done
33742
33743     fi
33744   fi
33745
33746
33747
33748
33749
33750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33751 $as_echo_n "checking for sincos declaration... " >&6; }
33752   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33753     if test "${glibcxx_cv_func_sincos_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 int
33768 main ()
33769 {
33770  sincos(0, 0, 0);
33771   ;
33772   return 0;
33773 }
33774 _ACEOF
33775 if ac_fn_cxx_try_compile "$LINENO"; then :
33776   glibcxx_cv_func_sincos_use=yes
33777 else
33778   glibcxx_cv_func_sincos_use=no
33779 fi
33780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33781       ac_ext=c
33782 ac_cpp='$CPP $CPPFLAGS'
33783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33786
33787
33788 fi
33789
33790   fi
33791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33792 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33793
33794   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33795     for ac_func in sincos
33796 do :
33797   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33798 if test "x$ac_cv_func_sincos" = x""yes; then :
33799   cat >>confdefs.h <<_ACEOF
33800 #define HAVE_SINCOS 1
33801 _ACEOF
33802
33803 fi
33804 done
33805
33806   else
33807
33808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33809 $as_echo_n "checking for _sincos declaration... " >&6; }
33810   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33811     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33812   $as_echo_n "(cached) " >&6
33813 else
33814
33815
33816       ac_ext=cpp
33817 ac_cpp='$CXXCPP $CPPFLAGS'
33818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33821
33822       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33823 /* end confdefs.h.  */
33824 #include <math.h>
33825 int
33826 main ()
33827 {
33828  _sincos(0, 0, 0);
33829   ;
33830   return 0;
33831 }
33832 _ACEOF
33833 if ac_fn_cxx_try_compile "$LINENO"; then :
33834   glibcxx_cv_func__sincos_use=yes
33835 else
33836   glibcxx_cv_func__sincos_use=no
33837 fi
33838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33839       ac_ext=c
33840 ac_cpp='$CPP $CPPFLAGS'
33841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33844
33845
33846 fi
33847
33848   fi
33849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33850 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33851
33852     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33853       for ac_func in _sincos
33854 do :
33855   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33856 if test "x$ac_cv_func__sincos" = x""yes; then :
33857   cat >>confdefs.h <<_ACEOF
33858 #define HAVE__SINCOS 1
33859 _ACEOF
33860
33861 fi
33862 done
33863
33864     fi
33865   fi
33866
33867
33868
33869
33870
33871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33872 $as_echo_n "checking for fpclass declaration... " >&6; }
33873   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33874     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33875   $as_echo_n "(cached) " >&6
33876 else
33877
33878
33879       ac_ext=cpp
33880 ac_cpp='$CXXCPP $CPPFLAGS'
33881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33884
33885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33886 /* end confdefs.h.  */
33887 #include <math.h>
33888                       #ifdef HAVE_IEEEFP_H
33889                       #include <ieeefp.h>
33890                       #endif
33891
33892 int
33893 main ()
33894 {
33895  fpclass(0);
33896   ;
33897   return 0;
33898 }
33899 _ACEOF
33900 if ac_fn_cxx_try_compile "$LINENO"; then :
33901   glibcxx_cv_func_fpclass_use=yes
33902 else
33903   glibcxx_cv_func_fpclass_use=no
33904 fi
33905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33906       ac_ext=c
33907 ac_cpp='$CPP $CPPFLAGS'
33908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33911
33912
33913 fi
33914
33915   fi
33916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33917 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33918
33919   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33920     for ac_func in fpclass
33921 do :
33922   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33923 if test "x$ac_cv_func_fpclass" = x""yes; then :
33924   cat >>confdefs.h <<_ACEOF
33925 #define HAVE_FPCLASS 1
33926 _ACEOF
33927
33928 fi
33929 done
33930
33931   else
33932
33933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33934 $as_echo_n "checking for _fpclass declaration... " >&6; }
33935   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33936     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33937   $as_echo_n "(cached) " >&6
33938 else
33939
33940
33941       ac_ext=cpp
33942 ac_cpp='$CXXCPP $CPPFLAGS'
33943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33946
33947       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33948 /* end confdefs.h.  */
33949 #include <math.h>
33950                       #ifdef HAVE_IEEEFP_H
33951                       #include <ieeefp.h>
33952                       #endif
33953
33954 int
33955 main ()
33956 {
33957  _fpclass(0);
33958   ;
33959   return 0;
33960 }
33961 _ACEOF
33962 if ac_fn_cxx_try_compile "$LINENO"; then :
33963   glibcxx_cv_func__fpclass_use=yes
33964 else
33965   glibcxx_cv_func__fpclass_use=no
33966 fi
33967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33968       ac_ext=c
33969 ac_cpp='$CPP $CPPFLAGS'
33970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33973
33974
33975 fi
33976
33977   fi
33978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33979 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33980
33981     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33982       for ac_func in _fpclass
33983 do :
33984   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33985 if test "x$ac_cv_func__fpclass" = x""yes; then :
33986   cat >>confdefs.h <<_ACEOF
33987 #define HAVE__FPCLASS 1
33988 _ACEOF
33989
33990 fi
33991 done
33992
33993     fi
33994   fi
33995
33996
33997
33998
33999
34000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34001 $as_echo_n "checking for qfpclass declaration... " >&6; }
34002   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34003     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34004   $as_echo_n "(cached) " >&6
34005 else
34006
34007
34008       ac_ext=cpp
34009 ac_cpp='$CXXCPP $CPPFLAGS'
34010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34013
34014       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34015 /* end confdefs.h.  */
34016 #include <math.h>
34017                       #ifdef HAVE_IEEEFP_H
34018                       #include <ieeefp.h>
34019                       #endif
34020
34021 int
34022 main ()
34023 {
34024  qfpclass(0);
34025   ;
34026   return 0;
34027 }
34028 _ACEOF
34029 if ac_fn_cxx_try_compile "$LINENO"; then :
34030   glibcxx_cv_func_qfpclass_use=yes
34031 else
34032   glibcxx_cv_func_qfpclass_use=no
34033 fi
34034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34035       ac_ext=c
34036 ac_cpp='$CPP $CPPFLAGS'
34037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34040
34041
34042 fi
34043
34044   fi
34045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34046 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34047
34048   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34049     for ac_func in qfpclass
34050 do :
34051   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34052 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34053   cat >>confdefs.h <<_ACEOF
34054 #define HAVE_QFPCLASS 1
34055 _ACEOF
34056
34057 fi
34058 done
34059
34060   else
34061
34062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34063 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34064   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34065     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34066   $as_echo_n "(cached) " >&6
34067 else
34068
34069
34070       ac_ext=cpp
34071 ac_cpp='$CXXCPP $CPPFLAGS'
34072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34075
34076       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34077 /* end confdefs.h.  */
34078 #include <math.h>
34079                       #ifdef HAVE_IEEEFP_H
34080                       #include <ieeefp.h>
34081                       #endif
34082
34083 int
34084 main ()
34085 {
34086  _qfpclass(0);
34087   ;
34088   return 0;
34089 }
34090 _ACEOF
34091 if ac_fn_cxx_try_compile "$LINENO"; then :
34092   glibcxx_cv_func__qfpclass_use=yes
34093 else
34094   glibcxx_cv_func__qfpclass_use=no
34095 fi
34096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34097       ac_ext=c
34098 ac_cpp='$CPP $CPPFLAGS'
34099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34102
34103
34104 fi
34105
34106   fi
34107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34108 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34109
34110     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34111       for ac_func in _qfpclass
34112 do :
34113   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34114 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34115   cat >>confdefs.h <<_ACEOF
34116 #define HAVE__QFPCLASS 1
34117 _ACEOF
34118
34119 fi
34120 done
34121
34122     fi
34123   fi
34124
34125
34126
34127
34128
34129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34130 $as_echo_n "checking for hypot declaration... " >&6; }
34131   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34132     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34133   $as_echo_n "(cached) " >&6
34134 else
34135
34136
34137       ac_ext=cpp
34138 ac_cpp='$CXXCPP $CPPFLAGS'
34139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34142
34143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34144 /* end confdefs.h.  */
34145 #include <math.h>
34146 int
34147 main ()
34148 {
34149  hypot(0, 0);
34150   ;
34151   return 0;
34152 }
34153 _ACEOF
34154 if ac_fn_cxx_try_compile "$LINENO"; then :
34155   glibcxx_cv_func_hypot_use=yes
34156 else
34157   glibcxx_cv_func_hypot_use=no
34158 fi
34159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34160       ac_ext=c
34161 ac_cpp='$CPP $CPPFLAGS'
34162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34165
34166
34167 fi
34168
34169   fi
34170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34171 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34172
34173   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34174     for ac_func in hypot
34175 do :
34176   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34177 if test "x$ac_cv_func_hypot" = x""yes; then :
34178   cat >>confdefs.h <<_ACEOF
34179 #define HAVE_HYPOT 1
34180 _ACEOF
34181
34182 fi
34183 done
34184
34185   else
34186
34187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34188 $as_echo_n "checking for _hypot declaration... " >&6; }
34189   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34190     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34191   $as_echo_n "(cached) " >&6
34192 else
34193
34194
34195       ac_ext=cpp
34196 ac_cpp='$CXXCPP $CPPFLAGS'
34197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34200
34201       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34202 /* end confdefs.h.  */
34203 #include <math.h>
34204 int
34205 main ()
34206 {
34207  _hypot(0, 0);
34208   ;
34209   return 0;
34210 }
34211 _ACEOF
34212 if ac_fn_cxx_try_compile "$LINENO"; then :
34213   glibcxx_cv_func__hypot_use=yes
34214 else
34215   glibcxx_cv_func__hypot_use=no
34216 fi
34217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34218       ac_ext=c
34219 ac_cpp='$CPP $CPPFLAGS'
34220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34223
34224
34225 fi
34226
34227   fi
34228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34229 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34230
34231     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34232       for ac_func in _hypot
34233 do :
34234   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34235 if test "x$ac_cv_func__hypot" = x""yes; then :
34236   cat >>confdefs.h <<_ACEOF
34237 #define HAVE__HYPOT 1
34238 _ACEOF
34239
34240 fi
34241 done
34242
34243     fi
34244   fi
34245
34246
34247
34248
34249
34250     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34251 $as_echo_n "checking for float trig functions... " >&6; }
34252   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34253   $as_echo_n "(cached) " >&6
34254 else
34255
34256
34257     ac_ext=cpp
34258 ac_cpp='$CXXCPP $CPPFLAGS'
34259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34262
34263     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34264 /* end confdefs.h.  */
34265 #include <math.h>
34266 int
34267 main ()
34268 {
34269 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34270   ;
34271   return 0;
34272 }
34273 _ACEOF
34274 if ac_fn_cxx_try_compile "$LINENO"; then :
34275   glibcxx_cv_func_float_trig_use=yes
34276 else
34277   glibcxx_cv_func_float_trig_use=no
34278 fi
34279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34280     ac_ext=c
34281 ac_cpp='$CPP $CPPFLAGS'
34282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34285
34286 fi
34287
34288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34289 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34290   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34291     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34292 do :
34293   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34294 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34295 eval as_val=\$$as_ac_var
34296    if test "x$as_val" = x""yes; then :
34297   cat >>confdefs.h <<_ACEOF
34298 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34299 _ACEOF
34300
34301 fi
34302 done
34303
34304   else
34305     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34306 $as_echo_n "checking for _float trig functions... " >&6; }
34307     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34308   $as_echo_n "(cached) " >&6
34309 else
34310
34311
34312       ac_ext=cpp
34313 ac_cpp='$CXXCPP $CPPFLAGS'
34314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34317
34318       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34319 /* end confdefs.h.  */
34320 #include <math.h>
34321 int
34322 main ()
34323 {
34324 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34325   ;
34326   return 0;
34327 }
34328 _ACEOF
34329 if ac_fn_cxx_try_compile "$LINENO"; then :
34330   glibcxx_cv_func__float_trig_use=yes
34331 else
34332   glibcxx_cv_func__float_trig_use=no
34333 fi
34334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34335       ac_ext=c
34336 ac_cpp='$CPP $CPPFLAGS'
34337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34340
34341 fi
34342
34343     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34344 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34345     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34346       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34347 do :
34348   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34349 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34350 eval as_val=\$$as_ac_var
34351    if test "x$as_val" = x""yes; then :
34352   cat >>confdefs.h <<_ACEOF
34353 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34354 _ACEOF
34355
34356 fi
34357 done
34358
34359     fi
34360   fi
34361
34362
34363
34364
34365
34366     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34367 $as_echo_n "checking for float round functions... " >&6; }
34368   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34369   $as_echo_n "(cached) " >&6
34370 else
34371
34372
34373     ac_ext=cpp
34374 ac_cpp='$CXXCPP $CPPFLAGS'
34375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34378
34379     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34380 /* end confdefs.h.  */
34381 #include <math.h>
34382 int
34383 main ()
34384 {
34385 ceilf (0); floorf (0);
34386   ;
34387   return 0;
34388 }
34389 _ACEOF
34390 if ac_fn_cxx_try_compile "$LINENO"; then :
34391   glibcxx_cv_func_float_round_use=yes
34392 else
34393   glibcxx_cv_func_float_round_use=no
34394 fi
34395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34396     ac_ext=c
34397 ac_cpp='$CPP $CPPFLAGS'
34398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34401
34402 fi
34403
34404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34405 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34406   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34407     for ac_func in ceilf floorf
34408 do :
34409   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34410 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34411 eval as_val=\$$as_ac_var
34412    if test "x$as_val" = x""yes; then :
34413   cat >>confdefs.h <<_ACEOF
34414 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34415 _ACEOF
34416
34417 fi
34418 done
34419
34420   else
34421     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34422 $as_echo_n "checking for _float round functions... " >&6; }
34423     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34424   $as_echo_n "(cached) " >&6
34425 else
34426
34427
34428       ac_ext=cpp
34429 ac_cpp='$CXXCPP $CPPFLAGS'
34430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34433
34434       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34435 /* end confdefs.h.  */
34436 #include <math.h>
34437 int
34438 main ()
34439 {
34440 _ceilf (0); _floorf (0);
34441   ;
34442   return 0;
34443 }
34444 _ACEOF
34445 if ac_fn_cxx_try_compile "$LINENO"; then :
34446   glibcxx_cv_func__float_round_use=yes
34447 else
34448   glibcxx_cv_func__float_round_use=no
34449 fi
34450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34451       ac_ext=c
34452 ac_cpp='$CPP $CPPFLAGS'
34453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34456
34457 fi
34458
34459     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34460 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34461     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34462       for ac_func in _ceilf _floorf
34463 do :
34464   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34465 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34466 eval as_val=\$$as_ac_var
34467    if test "x$as_val" = x""yes; then :
34468   cat >>confdefs.h <<_ACEOF
34469 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34470 _ACEOF
34471
34472 fi
34473 done
34474
34475     fi
34476   fi
34477
34478
34479
34480
34481
34482
34483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34484 $as_echo_n "checking for expf declaration... " >&6; }
34485   if test x${glibcxx_cv_func_expf_use+set} != xset; then
34486     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34487   $as_echo_n "(cached) " >&6
34488 else
34489
34490
34491       ac_ext=cpp
34492 ac_cpp='$CXXCPP $CPPFLAGS'
34493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34496
34497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34498 /* end confdefs.h.  */
34499 #include <math.h>
34500                       #ifdef HAVE_IEEEFP_H
34501                       #include <ieeefp.h>
34502                       #endif
34503
34504 int
34505 main ()
34506 {
34507  expf(0);
34508   ;
34509   return 0;
34510 }
34511 _ACEOF
34512 if ac_fn_cxx_try_compile "$LINENO"; then :
34513   glibcxx_cv_func_expf_use=yes
34514 else
34515   glibcxx_cv_func_expf_use=no
34516 fi
34517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34518       ac_ext=c
34519 ac_cpp='$CPP $CPPFLAGS'
34520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34523
34524
34525 fi
34526
34527   fi
34528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34529 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34530
34531   if test x$glibcxx_cv_func_expf_use = x"yes"; then
34532     for ac_func in expf
34533 do :
34534   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34535 if test "x$ac_cv_func_expf" = x""yes; then :
34536   cat >>confdefs.h <<_ACEOF
34537 #define HAVE_EXPF 1
34538 _ACEOF
34539
34540 fi
34541 done
34542
34543   else
34544
34545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34546 $as_echo_n "checking for _expf declaration... " >&6; }
34547   if test x${glibcxx_cv_func__expf_use+set} != xset; then
34548     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34549   $as_echo_n "(cached) " >&6
34550 else
34551
34552
34553       ac_ext=cpp
34554 ac_cpp='$CXXCPP $CPPFLAGS'
34555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34558
34559       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34560 /* end confdefs.h.  */
34561 #include <math.h>
34562                       #ifdef HAVE_IEEEFP_H
34563                       #include <ieeefp.h>
34564                       #endif
34565
34566 int
34567 main ()
34568 {
34569  _expf(0);
34570   ;
34571   return 0;
34572 }
34573 _ACEOF
34574 if ac_fn_cxx_try_compile "$LINENO"; then :
34575   glibcxx_cv_func__expf_use=yes
34576 else
34577   glibcxx_cv_func__expf_use=no
34578 fi
34579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34580       ac_ext=c
34581 ac_cpp='$CPP $CPPFLAGS'
34582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34585
34586
34587 fi
34588
34589   fi
34590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34591 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34592
34593     if test x$glibcxx_cv_func__expf_use = x"yes"; then
34594       for ac_func in _expf
34595 do :
34596   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34597 if test "x$ac_cv_func__expf" = x""yes; then :
34598   cat >>confdefs.h <<_ACEOF
34599 #define HAVE__EXPF 1
34600 _ACEOF
34601
34602 fi
34603 done
34604
34605     fi
34606   fi
34607
34608
34609
34610
34611
34612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34613 $as_echo_n "checking for isnanf declaration... " >&6; }
34614   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34615     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34616   $as_echo_n "(cached) " >&6
34617 else
34618
34619
34620       ac_ext=cpp
34621 ac_cpp='$CXXCPP $CPPFLAGS'
34622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34625
34626       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34627 /* end confdefs.h.  */
34628 #include <math.h>
34629                       #ifdef HAVE_IEEEFP_H
34630                       #include <ieeefp.h>
34631                       #endif
34632
34633 int
34634 main ()
34635 {
34636  isnanf(0);
34637   ;
34638   return 0;
34639 }
34640 _ACEOF
34641 if ac_fn_cxx_try_compile "$LINENO"; then :
34642   glibcxx_cv_func_isnanf_use=yes
34643 else
34644   glibcxx_cv_func_isnanf_use=no
34645 fi
34646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34647       ac_ext=c
34648 ac_cpp='$CPP $CPPFLAGS'
34649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34652
34653
34654 fi
34655
34656   fi
34657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34658 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34659
34660   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34661     for ac_func in isnanf
34662 do :
34663   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34664 if test "x$ac_cv_func_isnanf" = x""yes; then :
34665   cat >>confdefs.h <<_ACEOF
34666 #define HAVE_ISNANF 1
34667 _ACEOF
34668
34669 fi
34670 done
34671
34672   else
34673
34674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34675 $as_echo_n "checking for _isnanf declaration... " >&6; }
34676   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34677     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34678   $as_echo_n "(cached) " >&6
34679 else
34680
34681
34682       ac_ext=cpp
34683 ac_cpp='$CXXCPP $CPPFLAGS'
34684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34687
34688       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34689 /* end confdefs.h.  */
34690 #include <math.h>
34691                       #ifdef HAVE_IEEEFP_H
34692                       #include <ieeefp.h>
34693                       #endif
34694
34695 int
34696 main ()
34697 {
34698  _isnanf(0);
34699   ;
34700   return 0;
34701 }
34702 _ACEOF
34703 if ac_fn_cxx_try_compile "$LINENO"; then :
34704   glibcxx_cv_func__isnanf_use=yes
34705 else
34706   glibcxx_cv_func__isnanf_use=no
34707 fi
34708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34709       ac_ext=c
34710 ac_cpp='$CPP $CPPFLAGS'
34711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34714
34715
34716 fi
34717
34718   fi
34719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34720 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34721
34722     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34723       for ac_func in _isnanf
34724 do :
34725   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34726 if test "x$ac_cv_func__isnanf" = x""yes; then :
34727   cat >>confdefs.h <<_ACEOF
34728 #define HAVE__ISNANF 1
34729 _ACEOF
34730
34731 fi
34732 done
34733
34734     fi
34735   fi
34736
34737
34738
34739
34740
34741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34742 $as_echo_n "checking for isinff declaration... " >&6; }
34743   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34744     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34745   $as_echo_n "(cached) " >&6
34746 else
34747
34748
34749       ac_ext=cpp
34750 ac_cpp='$CXXCPP $CPPFLAGS'
34751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34754
34755       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34756 /* end confdefs.h.  */
34757 #include <math.h>
34758                       #ifdef HAVE_IEEEFP_H
34759                       #include <ieeefp.h>
34760                       #endif
34761
34762 int
34763 main ()
34764 {
34765  isinff(0);
34766   ;
34767   return 0;
34768 }
34769 _ACEOF
34770 if ac_fn_cxx_try_compile "$LINENO"; then :
34771   glibcxx_cv_func_isinff_use=yes
34772 else
34773   glibcxx_cv_func_isinff_use=no
34774 fi
34775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34776       ac_ext=c
34777 ac_cpp='$CPP $CPPFLAGS'
34778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34781
34782
34783 fi
34784
34785   fi
34786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34787 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34788
34789   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34790     for ac_func in isinff
34791 do :
34792   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34793 if test "x$ac_cv_func_isinff" = x""yes; then :
34794   cat >>confdefs.h <<_ACEOF
34795 #define HAVE_ISINFF 1
34796 _ACEOF
34797
34798 fi
34799 done
34800
34801   else
34802
34803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34804 $as_echo_n "checking for _isinff declaration... " >&6; }
34805   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34806     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34807   $as_echo_n "(cached) " >&6
34808 else
34809
34810
34811       ac_ext=cpp
34812 ac_cpp='$CXXCPP $CPPFLAGS'
34813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34816
34817       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34818 /* end confdefs.h.  */
34819 #include <math.h>
34820                       #ifdef HAVE_IEEEFP_H
34821                       #include <ieeefp.h>
34822                       #endif
34823
34824 int
34825 main ()
34826 {
34827  _isinff(0);
34828   ;
34829   return 0;
34830 }
34831 _ACEOF
34832 if ac_fn_cxx_try_compile "$LINENO"; then :
34833   glibcxx_cv_func__isinff_use=yes
34834 else
34835   glibcxx_cv_func__isinff_use=no
34836 fi
34837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34838       ac_ext=c
34839 ac_cpp='$CPP $CPPFLAGS'
34840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34843
34844
34845 fi
34846
34847   fi
34848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34849 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34850
34851     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34852       for ac_func in _isinff
34853 do :
34854   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34855 if test "x$ac_cv_func__isinff" = x""yes; then :
34856   cat >>confdefs.h <<_ACEOF
34857 #define HAVE__ISINFF 1
34858 _ACEOF
34859
34860 fi
34861 done
34862
34863     fi
34864   fi
34865
34866
34867
34868
34869
34870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34871 $as_echo_n "checking for atan2f declaration... " >&6; }
34872   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34873     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34874   $as_echo_n "(cached) " >&6
34875 else
34876
34877
34878       ac_ext=cpp
34879 ac_cpp='$CXXCPP $CPPFLAGS'
34880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34883
34884       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34885 /* end confdefs.h.  */
34886 #include <math.h>
34887 int
34888 main ()
34889 {
34890  atan2f(0, 0);
34891   ;
34892   return 0;
34893 }
34894 _ACEOF
34895 if ac_fn_cxx_try_compile "$LINENO"; then :
34896   glibcxx_cv_func_atan2f_use=yes
34897 else
34898   glibcxx_cv_func_atan2f_use=no
34899 fi
34900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34901       ac_ext=c
34902 ac_cpp='$CPP $CPPFLAGS'
34903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34906
34907
34908 fi
34909
34910   fi
34911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34912 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34913
34914   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34915     for ac_func in atan2f
34916 do :
34917   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34918 if test "x$ac_cv_func_atan2f" = x""yes; then :
34919   cat >>confdefs.h <<_ACEOF
34920 #define HAVE_ATAN2F 1
34921 _ACEOF
34922
34923 fi
34924 done
34925
34926   else
34927
34928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34929 $as_echo_n "checking for _atan2f declaration... " >&6; }
34930   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34931     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34932   $as_echo_n "(cached) " >&6
34933 else
34934
34935
34936       ac_ext=cpp
34937 ac_cpp='$CXXCPP $CPPFLAGS'
34938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34941
34942       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34943 /* end confdefs.h.  */
34944 #include <math.h>
34945 int
34946 main ()
34947 {
34948  _atan2f(0, 0);
34949   ;
34950   return 0;
34951 }
34952 _ACEOF
34953 if ac_fn_cxx_try_compile "$LINENO"; then :
34954   glibcxx_cv_func__atan2f_use=yes
34955 else
34956   glibcxx_cv_func__atan2f_use=no
34957 fi
34958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34959       ac_ext=c
34960 ac_cpp='$CPP $CPPFLAGS'
34961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34964
34965
34966 fi
34967
34968   fi
34969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34970 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34971
34972     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34973       for ac_func in _atan2f
34974 do :
34975   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34976 if test "x$ac_cv_func__atan2f" = x""yes; then :
34977   cat >>confdefs.h <<_ACEOF
34978 #define HAVE__ATAN2F 1
34979 _ACEOF
34980
34981 fi
34982 done
34983
34984     fi
34985   fi
34986
34987
34988
34989
34990
34991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34992 $as_echo_n "checking for fabsf declaration... " >&6; }
34993   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34994     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34995   $as_echo_n "(cached) " >&6
34996 else
34997
34998
34999       ac_ext=cpp
35000 ac_cpp='$CXXCPP $CPPFLAGS'
35001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35004
35005       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35006 /* end confdefs.h.  */
35007 #include <math.h>
35008                       #ifdef HAVE_IEEEFP_H
35009                       #include <ieeefp.h>
35010                       #endif
35011
35012 int
35013 main ()
35014 {
35015  fabsf(0);
35016   ;
35017   return 0;
35018 }
35019 _ACEOF
35020 if ac_fn_cxx_try_compile "$LINENO"; then :
35021   glibcxx_cv_func_fabsf_use=yes
35022 else
35023   glibcxx_cv_func_fabsf_use=no
35024 fi
35025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35026       ac_ext=c
35027 ac_cpp='$CPP $CPPFLAGS'
35028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35031
35032
35033 fi
35034
35035   fi
35036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35037 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35038
35039   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35040     for ac_func in fabsf
35041 do :
35042   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35043 if test "x$ac_cv_func_fabsf" = x""yes; then :
35044   cat >>confdefs.h <<_ACEOF
35045 #define HAVE_FABSF 1
35046 _ACEOF
35047
35048 fi
35049 done
35050
35051   else
35052
35053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35054 $as_echo_n "checking for _fabsf declaration... " >&6; }
35055   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35056     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35057   $as_echo_n "(cached) " >&6
35058 else
35059
35060
35061       ac_ext=cpp
35062 ac_cpp='$CXXCPP $CPPFLAGS'
35063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35066
35067       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35068 /* end confdefs.h.  */
35069 #include <math.h>
35070                       #ifdef HAVE_IEEEFP_H
35071                       #include <ieeefp.h>
35072                       #endif
35073
35074 int
35075 main ()
35076 {
35077  _fabsf(0);
35078   ;
35079   return 0;
35080 }
35081 _ACEOF
35082 if ac_fn_cxx_try_compile "$LINENO"; then :
35083   glibcxx_cv_func__fabsf_use=yes
35084 else
35085   glibcxx_cv_func__fabsf_use=no
35086 fi
35087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35088       ac_ext=c
35089 ac_cpp='$CPP $CPPFLAGS'
35090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35093
35094
35095 fi
35096
35097   fi
35098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35099 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35100
35101     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35102       for ac_func in _fabsf
35103 do :
35104   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35105 if test "x$ac_cv_func__fabsf" = x""yes; then :
35106   cat >>confdefs.h <<_ACEOF
35107 #define HAVE__FABSF 1
35108 _ACEOF
35109
35110 fi
35111 done
35112
35113     fi
35114   fi
35115
35116
35117
35118
35119
35120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35121 $as_echo_n "checking for fmodf declaration... " >&6; }
35122   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35123     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35124   $as_echo_n "(cached) " >&6
35125 else
35126
35127
35128       ac_ext=cpp
35129 ac_cpp='$CXXCPP $CPPFLAGS'
35130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35133
35134       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35135 /* end confdefs.h.  */
35136 #include <math.h>
35137 int
35138 main ()
35139 {
35140  fmodf(0, 0);
35141   ;
35142   return 0;
35143 }
35144 _ACEOF
35145 if ac_fn_cxx_try_compile "$LINENO"; then :
35146   glibcxx_cv_func_fmodf_use=yes
35147 else
35148   glibcxx_cv_func_fmodf_use=no
35149 fi
35150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35151       ac_ext=c
35152 ac_cpp='$CPP $CPPFLAGS'
35153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35156
35157
35158 fi
35159
35160   fi
35161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35162 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35163
35164   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35165     for ac_func in fmodf
35166 do :
35167   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35168 if test "x$ac_cv_func_fmodf" = x""yes; then :
35169   cat >>confdefs.h <<_ACEOF
35170 #define HAVE_FMODF 1
35171 _ACEOF
35172
35173 fi
35174 done
35175
35176   else
35177
35178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35179 $as_echo_n "checking for _fmodf declaration... " >&6; }
35180   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35181     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35182   $as_echo_n "(cached) " >&6
35183 else
35184
35185
35186       ac_ext=cpp
35187 ac_cpp='$CXXCPP $CPPFLAGS'
35188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35191
35192       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35193 /* end confdefs.h.  */
35194 #include <math.h>
35195 int
35196 main ()
35197 {
35198  _fmodf(0, 0);
35199   ;
35200   return 0;
35201 }
35202 _ACEOF
35203 if ac_fn_cxx_try_compile "$LINENO"; then :
35204   glibcxx_cv_func__fmodf_use=yes
35205 else
35206   glibcxx_cv_func__fmodf_use=no
35207 fi
35208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35209       ac_ext=c
35210 ac_cpp='$CPP $CPPFLAGS'
35211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35214
35215
35216 fi
35217
35218   fi
35219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35220 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35221
35222     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35223       for ac_func in _fmodf
35224 do :
35225   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35226 if test "x$ac_cv_func__fmodf" = x""yes; then :
35227   cat >>confdefs.h <<_ACEOF
35228 #define HAVE__FMODF 1
35229 _ACEOF
35230
35231 fi
35232 done
35233
35234     fi
35235   fi
35236
35237
35238
35239
35240
35241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35242 $as_echo_n "checking for frexpf declaration... " >&6; }
35243   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35244     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35245   $as_echo_n "(cached) " >&6
35246 else
35247
35248
35249       ac_ext=cpp
35250 ac_cpp='$CXXCPP $CPPFLAGS'
35251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35254
35255       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35256 /* end confdefs.h.  */
35257 #include <math.h>
35258 int
35259 main ()
35260 {
35261  frexpf(0, 0);
35262   ;
35263   return 0;
35264 }
35265 _ACEOF
35266 if ac_fn_cxx_try_compile "$LINENO"; then :
35267   glibcxx_cv_func_frexpf_use=yes
35268 else
35269   glibcxx_cv_func_frexpf_use=no
35270 fi
35271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35272       ac_ext=c
35273 ac_cpp='$CPP $CPPFLAGS'
35274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35277
35278
35279 fi
35280
35281   fi
35282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35283 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35284
35285   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35286     for ac_func in frexpf
35287 do :
35288   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35289 if test "x$ac_cv_func_frexpf" = x""yes; then :
35290   cat >>confdefs.h <<_ACEOF
35291 #define HAVE_FREXPF 1
35292 _ACEOF
35293
35294 fi
35295 done
35296
35297   else
35298
35299   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35300 $as_echo_n "checking for _frexpf declaration... " >&6; }
35301   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35302     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35303   $as_echo_n "(cached) " >&6
35304 else
35305
35306
35307       ac_ext=cpp
35308 ac_cpp='$CXXCPP $CPPFLAGS'
35309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35312
35313       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35314 /* end confdefs.h.  */
35315 #include <math.h>
35316 int
35317 main ()
35318 {
35319  _frexpf(0, 0);
35320   ;
35321   return 0;
35322 }
35323 _ACEOF
35324 if ac_fn_cxx_try_compile "$LINENO"; then :
35325   glibcxx_cv_func__frexpf_use=yes
35326 else
35327   glibcxx_cv_func__frexpf_use=no
35328 fi
35329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35330       ac_ext=c
35331 ac_cpp='$CPP $CPPFLAGS'
35332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35335
35336
35337 fi
35338
35339   fi
35340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35341 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35342
35343     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35344       for ac_func in _frexpf
35345 do :
35346   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35347 if test "x$ac_cv_func__frexpf" = x""yes; then :
35348   cat >>confdefs.h <<_ACEOF
35349 #define HAVE__FREXPF 1
35350 _ACEOF
35351
35352 fi
35353 done
35354
35355     fi
35356   fi
35357
35358
35359
35360
35361
35362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35363 $as_echo_n "checking for hypotf declaration... " >&6; }
35364   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35365     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35366   $as_echo_n "(cached) " >&6
35367 else
35368
35369
35370       ac_ext=cpp
35371 ac_cpp='$CXXCPP $CPPFLAGS'
35372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35375
35376       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35377 /* end confdefs.h.  */
35378 #include <math.h>
35379 int
35380 main ()
35381 {
35382  hypotf(0, 0);
35383   ;
35384   return 0;
35385 }
35386 _ACEOF
35387 if ac_fn_cxx_try_compile "$LINENO"; then :
35388   glibcxx_cv_func_hypotf_use=yes
35389 else
35390   glibcxx_cv_func_hypotf_use=no
35391 fi
35392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35393       ac_ext=c
35394 ac_cpp='$CPP $CPPFLAGS'
35395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35398
35399
35400 fi
35401
35402   fi
35403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35404 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35405
35406   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35407     for ac_func in hypotf
35408 do :
35409   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35410 if test "x$ac_cv_func_hypotf" = x""yes; then :
35411   cat >>confdefs.h <<_ACEOF
35412 #define HAVE_HYPOTF 1
35413 _ACEOF
35414
35415 fi
35416 done
35417
35418   else
35419
35420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35421 $as_echo_n "checking for _hypotf declaration... " >&6; }
35422   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35423     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35424   $as_echo_n "(cached) " >&6
35425 else
35426
35427
35428       ac_ext=cpp
35429 ac_cpp='$CXXCPP $CPPFLAGS'
35430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35433
35434       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35435 /* end confdefs.h.  */
35436 #include <math.h>
35437 int
35438 main ()
35439 {
35440  _hypotf(0, 0);
35441   ;
35442   return 0;
35443 }
35444 _ACEOF
35445 if ac_fn_cxx_try_compile "$LINENO"; then :
35446   glibcxx_cv_func__hypotf_use=yes
35447 else
35448   glibcxx_cv_func__hypotf_use=no
35449 fi
35450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35451       ac_ext=c
35452 ac_cpp='$CPP $CPPFLAGS'
35453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35456
35457
35458 fi
35459
35460   fi
35461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35462 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35463
35464     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35465       for ac_func in _hypotf
35466 do :
35467   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35468 if test "x$ac_cv_func__hypotf" = x""yes; then :
35469   cat >>confdefs.h <<_ACEOF
35470 #define HAVE__HYPOTF 1
35471 _ACEOF
35472
35473 fi
35474 done
35475
35476     fi
35477   fi
35478
35479
35480
35481
35482
35483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35484 $as_echo_n "checking for ldexpf declaration... " >&6; }
35485   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35486     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35487   $as_echo_n "(cached) " >&6
35488 else
35489
35490
35491       ac_ext=cpp
35492 ac_cpp='$CXXCPP $CPPFLAGS'
35493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35496
35497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35498 /* end confdefs.h.  */
35499 #include <math.h>
35500 int
35501 main ()
35502 {
35503  ldexpf(0, 0);
35504   ;
35505   return 0;
35506 }
35507 _ACEOF
35508 if ac_fn_cxx_try_compile "$LINENO"; then :
35509   glibcxx_cv_func_ldexpf_use=yes
35510 else
35511   glibcxx_cv_func_ldexpf_use=no
35512 fi
35513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35514       ac_ext=c
35515 ac_cpp='$CPP $CPPFLAGS'
35516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35519
35520
35521 fi
35522
35523   fi
35524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35525 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35526
35527   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35528     for ac_func in ldexpf
35529 do :
35530   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35531 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35532   cat >>confdefs.h <<_ACEOF
35533 #define HAVE_LDEXPF 1
35534 _ACEOF
35535
35536 fi
35537 done
35538
35539   else
35540
35541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35542 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35543   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35544     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35545   $as_echo_n "(cached) " >&6
35546 else
35547
35548
35549       ac_ext=cpp
35550 ac_cpp='$CXXCPP $CPPFLAGS'
35551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35554
35555       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35556 /* end confdefs.h.  */
35557 #include <math.h>
35558 int
35559 main ()
35560 {
35561  _ldexpf(0, 0);
35562   ;
35563   return 0;
35564 }
35565 _ACEOF
35566 if ac_fn_cxx_try_compile "$LINENO"; then :
35567   glibcxx_cv_func__ldexpf_use=yes
35568 else
35569   glibcxx_cv_func__ldexpf_use=no
35570 fi
35571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35572       ac_ext=c
35573 ac_cpp='$CPP $CPPFLAGS'
35574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35577
35578
35579 fi
35580
35581   fi
35582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35583 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35584
35585     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35586       for ac_func in _ldexpf
35587 do :
35588   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35589 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35590   cat >>confdefs.h <<_ACEOF
35591 #define HAVE__LDEXPF 1
35592 _ACEOF
35593
35594 fi
35595 done
35596
35597     fi
35598   fi
35599
35600
35601
35602
35603
35604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35605 $as_echo_n "checking for logf declaration... " >&6; }
35606   if test x${glibcxx_cv_func_logf_use+set} != xset; then
35607     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35608   $as_echo_n "(cached) " >&6
35609 else
35610
35611
35612       ac_ext=cpp
35613 ac_cpp='$CXXCPP $CPPFLAGS'
35614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35617
35618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35619 /* end confdefs.h.  */
35620 #include <math.h>
35621                       #ifdef HAVE_IEEEFP_H
35622                       #include <ieeefp.h>
35623                       #endif
35624
35625 int
35626 main ()
35627 {
35628  logf(0);
35629   ;
35630   return 0;
35631 }
35632 _ACEOF
35633 if ac_fn_cxx_try_compile "$LINENO"; then :
35634   glibcxx_cv_func_logf_use=yes
35635 else
35636   glibcxx_cv_func_logf_use=no
35637 fi
35638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35639       ac_ext=c
35640 ac_cpp='$CPP $CPPFLAGS'
35641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35644
35645
35646 fi
35647
35648   fi
35649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35650 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35651
35652   if test x$glibcxx_cv_func_logf_use = x"yes"; then
35653     for ac_func in logf
35654 do :
35655   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35656 if test "x$ac_cv_func_logf" = x""yes; then :
35657   cat >>confdefs.h <<_ACEOF
35658 #define HAVE_LOGF 1
35659 _ACEOF
35660
35661 fi
35662 done
35663
35664   else
35665
35666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35667 $as_echo_n "checking for _logf declaration... " >&6; }
35668   if test x${glibcxx_cv_func__logf_use+set} != xset; then
35669     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35670   $as_echo_n "(cached) " >&6
35671 else
35672
35673
35674       ac_ext=cpp
35675 ac_cpp='$CXXCPP $CPPFLAGS'
35676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35679
35680       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35681 /* end confdefs.h.  */
35682 #include <math.h>
35683                       #ifdef HAVE_IEEEFP_H
35684                       #include <ieeefp.h>
35685                       #endif
35686
35687 int
35688 main ()
35689 {
35690  _logf(0);
35691   ;
35692   return 0;
35693 }
35694 _ACEOF
35695 if ac_fn_cxx_try_compile "$LINENO"; then :
35696   glibcxx_cv_func__logf_use=yes
35697 else
35698   glibcxx_cv_func__logf_use=no
35699 fi
35700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35701       ac_ext=c
35702 ac_cpp='$CPP $CPPFLAGS'
35703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35706
35707
35708 fi
35709
35710   fi
35711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35712 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35713
35714     if test x$glibcxx_cv_func__logf_use = x"yes"; then
35715       for ac_func in _logf
35716 do :
35717   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35718 if test "x$ac_cv_func__logf" = x""yes; then :
35719   cat >>confdefs.h <<_ACEOF
35720 #define HAVE__LOGF 1
35721 _ACEOF
35722
35723 fi
35724 done
35725
35726     fi
35727   fi
35728
35729
35730
35731
35732
35733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35734 $as_echo_n "checking for log10f declaration... " >&6; }
35735   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35736     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35737   $as_echo_n "(cached) " >&6
35738 else
35739
35740
35741       ac_ext=cpp
35742 ac_cpp='$CXXCPP $CPPFLAGS'
35743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35746
35747       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35748 /* end confdefs.h.  */
35749 #include <math.h>
35750                       #ifdef HAVE_IEEEFP_H
35751                       #include <ieeefp.h>
35752                       #endif
35753
35754 int
35755 main ()
35756 {
35757  log10f(0);
35758   ;
35759   return 0;
35760 }
35761 _ACEOF
35762 if ac_fn_cxx_try_compile "$LINENO"; then :
35763   glibcxx_cv_func_log10f_use=yes
35764 else
35765   glibcxx_cv_func_log10f_use=no
35766 fi
35767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35768       ac_ext=c
35769 ac_cpp='$CPP $CPPFLAGS'
35770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35773
35774
35775 fi
35776
35777   fi
35778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35779 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35780
35781   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35782     for ac_func in log10f
35783 do :
35784   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35785 if test "x$ac_cv_func_log10f" = x""yes; then :
35786   cat >>confdefs.h <<_ACEOF
35787 #define HAVE_LOG10F 1
35788 _ACEOF
35789
35790 fi
35791 done
35792
35793   else
35794
35795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35796 $as_echo_n "checking for _log10f declaration... " >&6; }
35797   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35798     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35799   $as_echo_n "(cached) " >&6
35800 else
35801
35802
35803       ac_ext=cpp
35804 ac_cpp='$CXXCPP $CPPFLAGS'
35805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35808
35809       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35810 /* end confdefs.h.  */
35811 #include <math.h>
35812                       #ifdef HAVE_IEEEFP_H
35813                       #include <ieeefp.h>
35814                       #endif
35815
35816 int
35817 main ()
35818 {
35819  _log10f(0);
35820   ;
35821   return 0;
35822 }
35823 _ACEOF
35824 if ac_fn_cxx_try_compile "$LINENO"; then :
35825   glibcxx_cv_func__log10f_use=yes
35826 else
35827   glibcxx_cv_func__log10f_use=no
35828 fi
35829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35830       ac_ext=c
35831 ac_cpp='$CPP $CPPFLAGS'
35832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35835
35836
35837 fi
35838
35839   fi
35840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35841 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35842
35843     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35844       for ac_func in _log10f
35845 do :
35846   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35847 if test "x$ac_cv_func__log10f" = x""yes; then :
35848   cat >>confdefs.h <<_ACEOF
35849 #define HAVE__LOG10F 1
35850 _ACEOF
35851
35852 fi
35853 done
35854
35855     fi
35856   fi
35857
35858
35859
35860
35861
35862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35863 $as_echo_n "checking for modff declaration... " >&6; }
35864   if test x${glibcxx_cv_func_modff_use+set} != xset; then
35865     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35866   $as_echo_n "(cached) " >&6
35867 else
35868
35869
35870       ac_ext=cpp
35871 ac_cpp='$CXXCPP $CPPFLAGS'
35872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35875
35876       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35877 /* end confdefs.h.  */
35878 #include <math.h>
35879 int
35880 main ()
35881 {
35882  modff(0, 0);
35883   ;
35884   return 0;
35885 }
35886 _ACEOF
35887 if ac_fn_cxx_try_compile "$LINENO"; then :
35888   glibcxx_cv_func_modff_use=yes
35889 else
35890   glibcxx_cv_func_modff_use=no
35891 fi
35892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35893       ac_ext=c
35894 ac_cpp='$CPP $CPPFLAGS'
35895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35898
35899
35900 fi
35901
35902   fi
35903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35904 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35905
35906   if test x$glibcxx_cv_func_modff_use = x"yes"; then
35907     for ac_func in modff
35908 do :
35909   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35910 if test "x$ac_cv_func_modff" = x""yes; then :
35911   cat >>confdefs.h <<_ACEOF
35912 #define HAVE_MODFF 1
35913 _ACEOF
35914
35915 fi
35916 done
35917
35918   else
35919
35920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35921 $as_echo_n "checking for _modff declaration... " >&6; }
35922   if test x${glibcxx_cv_func__modff_use+set} != xset; then
35923     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35924   $as_echo_n "(cached) " >&6
35925 else
35926
35927
35928       ac_ext=cpp
35929 ac_cpp='$CXXCPP $CPPFLAGS'
35930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35933
35934       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35935 /* end confdefs.h.  */
35936 #include <math.h>
35937 int
35938 main ()
35939 {
35940  _modff(0, 0);
35941   ;
35942   return 0;
35943 }
35944 _ACEOF
35945 if ac_fn_cxx_try_compile "$LINENO"; then :
35946   glibcxx_cv_func__modff_use=yes
35947 else
35948   glibcxx_cv_func__modff_use=no
35949 fi
35950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35951       ac_ext=c
35952 ac_cpp='$CPP $CPPFLAGS'
35953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35956
35957
35958 fi
35959
35960   fi
35961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35962 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35963
35964     if test x$glibcxx_cv_func__modff_use = x"yes"; then
35965       for ac_func in _modff
35966 do :
35967   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35968 if test "x$ac_cv_func__modff" = x""yes; then :
35969   cat >>confdefs.h <<_ACEOF
35970 #define HAVE__MODFF 1
35971 _ACEOF
35972
35973 fi
35974 done
35975
35976     fi
35977   fi
35978
35979
35980
35981
35982
35983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35984 $as_echo_n "checking for modf declaration... " >&6; }
35985   if test x${glibcxx_cv_func_modf_use+set} != xset; then
35986     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35987   $as_echo_n "(cached) " >&6
35988 else
35989
35990
35991       ac_ext=cpp
35992 ac_cpp='$CXXCPP $CPPFLAGS'
35993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35996
35997       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35998 /* end confdefs.h.  */
35999 #include <math.h>
36000 int
36001 main ()
36002 {
36003  modf(0, 0);
36004   ;
36005   return 0;
36006 }
36007 _ACEOF
36008 if ac_fn_cxx_try_compile "$LINENO"; then :
36009   glibcxx_cv_func_modf_use=yes
36010 else
36011   glibcxx_cv_func_modf_use=no
36012 fi
36013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36014       ac_ext=c
36015 ac_cpp='$CPP $CPPFLAGS'
36016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36019
36020
36021 fi
36022
36023   fi
36024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36025 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36026
36027   if test x$glibcxx_cv_func_modf_use = x"yes"; then
36028     for ac_func in modf
36029 do :
36030   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36031 if test "x$ac_cv_func_modf" = x""yes; then :
36032   cat >>confdefs.h <<_ACEOF
36033 #define HAVE_MODF 1
36034 _ACEOF
36035
36036 fi
36037 done
36038
36039   else
36040
36041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36042 $as_echo_n "checking for _modf declaration... " >&6; }
36043   if test x${glibcxx_cv_func__modf_use+set} != xset; then
36044     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36045   $as_echo_n "(cached) " >&6
36046 else
36047
36048
36049       ac_ext=cpp
36050 ac_cpp='$CXXCPP $CPPFLAGS'
36051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36054
36055       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36056 /* end confdefs.h.  */
36057 #include <math.h>
36058 int
36059 main ()
36060 {
36061  _modf(0, 0);
36062   ;
36063   return 0;
36064 }
36065 _ACEOF
36066 if ac_fn_cxx_try_compile "$LINENO"; then :
36067   glibcxx_cv_func__modf_use=yes
36068 else
36069   glibcxx_cv_func__modf_use=no
36070 fi
36071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36072       ac_ext=c
36073 ac_cpp='$CPP $CPPFLAGS'
36074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36077
36078
36079 fi
36080
36081   fi
36082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36083 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36084
36085     if test x$glibcxx_cv_func__modf_use = x"yes"; then
36086       for ac_func in _modf
36087 do :
36088   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36089 if test "x$ac_cv_func__modf" = x""yes; then :
36090   cat >>confdefs.h <<_ACEOF
36091 #define HAVE__MODF 1
36092 _ACEOF
36093
36094 fi
36095 done
36096
36097     fi
36098   fi
36099
36100
36101
36102
36103
36104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36105 $as_echo_n "checking for powf declaration... " >&6; }
36106   if test x${glibcxx_cv_func_powf_use+set} != xset; then
36107     if test "${glibcxx_cv_func_powf_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 int
36122 main ()
36123 {
36124  powf(0, 0);
36125   ;
36126   return 0;
36127 }
36128 _ACEOF
36129 if ac_fn_cxx_try_compile "$LINENO"; then :
36130   glibcxx_cv_func_powf_use=yes
36131 else
36132   glibcxx_cv_func_powf_use=no
36133 fi
36134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36135       ac_ext=c
36136 ac_cpp='$CPP $CPPFLAGS'
36137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36140
36141
36142 fi
36143
36144   fi
36145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36146 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36147
36148   if test x$glibcxx_cv_func_powf_use = x"yes"; then
36149     for ac_func in powf
36150 do :
36151   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36152 if test "x$ac_cv_func_powf" = x""yes; then :
36153   cat >>confdefs.h <<_ACEOF
36154 #define HAVE_POWF 1
36155 _ACEOF
36156
36157 fi
36158 done
36159
36160   else
36161
36162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36163 $as_echo_n "checking for _powf declaration... " >&6; }
36164   if test x${glibcxx_cv_func__powf_use+set} != xset; then
36165     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36166   $as_echo_n "(cached) " >&6
36167 else
36168
36169
36170       ac_ext=cpp
36171 ac_cpp='$CXXCPP $CPPFLAGS'
36172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36175
36176       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36177 /* end confdefs.h.  */
36178 #include <math.h>
36179 int
36180 main ()
36181 {
36182  _powf(0, 0);
36183   ;
36184   return 0;
36185 }
36186 _ACEOF
36187 if ac_fn_cxx_try_compile "$LINENO"; then :
36188   glibcxx_cv_func__powf_use=yes
36189 else
36190   glibcxx_cv_func__powf_use=no
36191 fi
36192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36193       ac_ext=c
36194 ac_cpp='$CPP $CPPFLAGS'
36195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36198
36199
36200 fi
36201
36202   fi
36203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36204 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36205
36206     if test x$glibcxx_cv_func__powf_use = x"yes"; then
36207       for ac_func in _powf
36208 do :
36209   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36210 if test "x$ac_cv_func__powf" = x""yes; then :
36211   cat >>confdefs.h <<_ACEOF
36212 #define HAVE__POWF 1
36213 _ACEOF
36214
36215 fi
36216 done
36217
36218     fi
36219   fi
36220
36221
36222
36223
36224
36225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36226 $as_echo_n "checking for sqrtf declaration... " >&6; }
36227   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36228     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36229   $as_echo_n "(cached) " >&6
36230 else
36231
36232
36233       ac_ext=cpp
36234 ac_cpp='$CXXCPP $CPPFLAGS'
36235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36238
36239       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36240 /* end confdefs.h.  */
36241 #include <math.h>
36242                       #ifdef HAVE_IEEEFP_H
36243                       #include <ieeefp.h>
36244                       #endif
36245
36246 int
36247 main ()
36248 {
36249  sqrtf(0);
36250   ;
36251   return 0;
36252 }
36253 _ACEOF
36254 if ac_fn_cxx_try_compile "$LINENO"; then :
36255   glibcxx_cv_func_sqrtf_use=yes
36256 else
36257   glibcxx_cv_func_sqrtf_use=no
36258 fi
36259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36260       ac_ext=c
36261 ac_cpp='$CPP $CPPFLAGS'
36262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36265
36266
36267 fi
36268
36269   fi
36270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36271 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36272
36273   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36274     for ac_func in sqrtf
36275 do :
36276   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36277 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36278   cat >>confdefs.h <<_ACEOF
36279 #define HAVE_SQRTF 1
36280 _ACEOF
36281
36282 fi
36283 done
36284
36285   else
36286
36287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36288 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36289   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36290     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36291   $as_echo_n "(cached) " >&6
36292 else
36293
36294
36295       ac_ext=cpp
36296 ac_cpp='$CXXCPP $CPPFLAGS'
36297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36300
36301       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36302 /* end confdefs.h.  */
36303 #include <math.h>
36304                       #ifdef HAVE_IEEEFP_H
36305                       #include <ieeefp.h>
36306                       #endif
36307
36308 int
36309 main ()
36310 {
36311  _sqrtf(0);
36312   ;
36313   return 0;
36314 }
36315 _ACEOF
36316 if ac_fn_cxx_try_compile "$LINENO"; then :
36317   glibcxx_cv_func__sqrtf_use=yes
36318 else
36319   glibcxx_cv_func__sqrtf_use=no
36320 fi
36321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36322       ac_ext=c
36323 ac_cpp='$CPP $CPPFLAGS'
36324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36327
36328
36329 fi
36330
36331   fi
36332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36333 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36334
36335     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36336       for ac_func in _sqrtf
36337 do :
36338   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36339 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36340   cat >>confdefs.h <<_ACEOF
36341 #define HAVE__SQRTF 1
36342 _ACEOF
36343
36344 fi
36345 done
36346
36347     fi
36348   fi
36349
36350
36351
36352
36353
36354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36355 $as_echo_n "checking for sincosf declaration... " >&6; }
36356   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36357     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36358   $as_echo_n "(cached) " >&6
36359 else
36360
36361
36362       ac_ext=cpp
36363 ac_cpp='$CXXCPP $CPPFLAGS'
36364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36367
36368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36369 /* end confdefs.h.  */
36370 #include <math.h>
36371 int
36372 main ()
36373 {
36374  sincosf(0, 0, 0);
36375   ;
36376   return 0;
36377 }
36378 _ACEOF
36379 if ac_fn_cxx_try_compile "$LINENO"; then :
36380   glibcxx_cv_func_sincosf_use=yes
36381 else
36382   glibcxx_cv_func_sincosf_use=no
36383 fi
36384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36385       ac_ext=c
36386 ac_cpp='$CPP $CPPFLAGS'
36387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36390
36391
36392 fi
36393
36394   fi
36395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36396 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36397
36398   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36399     for ac_func in sincosf
36400 do :
36401   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36402 if test "x$ac_cv_func_sincosf" = x""yes; then :
36403   cat >>confdefs.h <<_ACEOF
36404 #define HAVE_SINCOSF 1
36405 _ACEOF
36406
36407 fi
36408 done
36409
36410   else
36411
36412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36413 $as_echo_n "checking for _sincosf declaration... " >&6; }
36414   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36415     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36416   $as_echo_n "(cached) " >&6
36417 else
36418
36419
36420       ac_ext=cpp
36421 ac_cpp='$CXXCPP $CPPFLAGS'
36422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36425
36426       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36427 /* end confdefs.h.  */
36428 #include <math.h>
36429 int
36430 main ()
36431 {
36432  _sincosf(0, 0, 0);
36433   ;
36434   return 0;
36435 }
36436 _ACEOF
36437 if ac_fn_cxx_try_compile "$LINENO"; then :
36438   glibcxx_cv_func__sincosf_use=yes
36439 else
36440   glibcxx_cv_func__sincosf_use=no
36441 fi
36442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36443       ac_ext=c
36444 ac_cpp='$CPP $CPPFLAGS'
36445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36448
36449
36450 fi
36451
36452   fi
36453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36454 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36455
36456     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36457       for ac_func in _sincosf
36458 do :
36459   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36460 if test "x$ac_cv_func__sincosf" = x""yes; then :
36461   cat >>confdefs.h <<_ACEOF
36462 #define HAVE__SINCOSF 1
36463 _ACEOF
36464
36465 fi
36466 done
36467
36468     fi
36469   fi
36470
36471
36472
36473
36474
36475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36476 $as_echo_n "checking for finitef declaration... " >&6; }
36477   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36478     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36479   $as_echo_n "(cached) " >&6
36480 else
36481
36482
36483       ac_ext=cpp
36484 ac_cpp='$CXXCPP $CPPFLAGS'
36485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36488
36489       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36490 /* end confdefs.h.  */
36491 #include <math.h>
36492                       #ifdef HAVE_IEEEFP_H
36493                       #include <ieeefp.h>
36494                       #endif
36495
36496 int
36497 main ()
36498 {
36499  finitef(0);
36500   ;
36501   return 0;
36502 }
36503 _ACEOF
36504 if ac_fn_cxx_try_compile "$LINENO"; then :
36505   glibcxx_cv_func_finitef_use=yes
36506 else
36507   glibcxx_cv_func_finitef_use=no
36508 fi
36509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36510       ac_ext=c
36511 ac_cpp='$CPP $CPPFLAGS'
36512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36515
36516
36517 fi
36518
36519   fi
36520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36521 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36522
36523   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36524     for ac_func in finitef
36525 do :
36526   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36527 if test "x$ac_cv_func_finitef" = x""yes; then :
36528   cat >>confdefs.h <<_ACEOF
36529 #define HAVE_FINITEF 1
36530 _ACEOF
36531
36532 fi
36533 done
36534
36535   else
36536
36537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36538 $as_echo_n "checking for _finitef declaration... " >&6; }
36539   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36540     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36541   $as_echo_n "(cached) " >&6
36542 else
36543
36544
36545       ac_ext=cpp
36546 ac_cpp='$CXXCPP $CPPFLAGS'
36547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36550
36551       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36552 /* end confdefs.h.  */
36553 #include <math.h>
36554                       #ifdef HAVE_IEEEFP_H
36555                       #include <ieeefp.h>
36556                       #endif
36557
36558 int
36559 main ()
36560 {
36561  _finitef(0);
36562   ;
36563   return 0;
36564 }
36565 _ACEOF
36566 if ac_fn_cxx_try_compile "$LINENO"; then :
36567   glibcxx_cv_func__finitef_use=yes
36568 else
36569   glibcxx_cv_func__finitef_use=no
36570 fi
36571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36572       ac_ext=c
36573 ac_cpp='$CPP $CPPFLAGS'
36574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36577
36578
36579 fi
36580
36581   fi
36582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36583 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36584
36585     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36586       for ac_func in _finitef
36587 do :
36588   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36589 if test "x$ac_cv_func__finitef" = x""yes; then :
36590   cat >>confdefs.h <<_ACEOF
36591 #define HAVE__FINITEF 1
36592 _ACEOF
36593
36594 fi
36595 done
36596
36597     fi
36598   fi
36599
36600
36601
36602
36603
36604     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36605 $as_echo_n "checking for long double trig functions... " >&6; }
36606   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36607   $as_echo_n "(cached) " >&6
36608 else
36609
36610
36611     ac_ext=cpp
36612 ac_cpp='$CXXCPP $CPPFLAGS'
36613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36616
36617     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36618 /* end confdefs.h.  */
36619 #include <math.h>
36620 int
36621 main ()
36622 {
36623 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36624   ;
36625   return 0;
36626 }
36627 _ACEOF
36628 if ac_fn_cxx_try_compile "$LINENO"; then :
36629   glibcxx_cv_func_long_double_trig_use=yes
36630 else
36631   glibcxx_cv_func_long_double_trig_use=no
36632 fi
36633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36634     ac_ext=c
36635 ac_cpp='$CPP $CPPFLAGS'
36636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36639
36640 fi
36641
36642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36643 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36644   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36645     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36646 do :
36647   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36648 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36649 eval as_val=\$$as_ac_var
36650    if test "x$as_val" = x""yes; then :
36651   cat >>confdefs.h <<_ACEOF
36652 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36653 _ACEOF
36654
36655 fi
36656 done
36657
36658   else
36659     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36660 $as_echo_n "checking for _long double trig functions... " >&6; }
36661     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36662   $as_echo_n "(cached) " >&6
36663 else
36664
36665
36666       ac_ext=cpp
36667 ac_cpp='$CXXCPP $CPPFLAGS'
36668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36671
36672       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36673 /* end confdefs.h.  */
36674 #include <math.h>
36675 int
36676 main ()
36677 {
36678 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36679   ;
36680   return 0;
36681 }
36682 _ACEOF
36683 if ac_fn_cxx_try_compile "$LINENO"; then :
36684   glibcxx_cv_func__long_double_trig_use=yes
36685 else
36686   glibcxx_cv_func__long_double_trig_use=no
36687 fi
36688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36689       ac_ext=c
36690 ac_cpp='$CPP $CPPFLAGS'
36691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36694
36695 fi
36696
36697     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36698 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36699     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36700       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36701 do :
36702   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36703 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36704 eval as_val=\$$as_ac_var
36705    if test "x$as_val" = x""yes; then :
36706   cat >>confdefs.h <<_ACEOF
36707 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36708 _ACEOF
36709
36710 fi
36711 done
36712
36713     fi
36714   fi
36715
36716
36717
36718
36719
36720     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36721 $as_echo_n "checking for long double round functions... " >&6; }
36722   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36723   $as_echo_n "(cached) " >&6
36724 else
36725
36726
36727     ac_ext=cpp
36728 ac_cpp='$CXXCPP $CPPFLAGS'
36729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36732
36733     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36734 /* end confdefs.h.  */
36735 #include <math.h>
36736 int
36737 main ()
36738 {
36739 ceill (0); floorl (0);
36740   ;
36741   return 0;
36742 }
36743 _ACEOF
36744 if ac_fn_cxx_try_compile "$LINENO"; then :
36745   glibcxx_cv_func_long_double_round_use=yes
36746 else
36747   glibcxx_cv_func_long_double_round_use=no
36748 fi
36749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36750     ac_ext=c
36751 ac_cpp='$CPP $CPPFLAGS'
36752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36755
36756 fi
36757
36758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36759 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36760   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36761     for ac_func in ceill floorl
36762 do :
36763   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36764 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36765 eval as_val=\$$as_ac_var
36766    if test "x$as_val" = x""yes; then :
36767   cat >>confdefs.h <<_ACEOF
36768 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36769 _ACEOF
36770
36771 fi
36772 done
36773
36774   else
36775     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36776 $as_echo_n "checking for _long double round functions... " >&6; }
36777     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36778   $as_echo_n "(cached) " >&6
36779 else
36780
36781
36782       ac_ext=cpp
36783 ac_cpp='$CXXCPP $CPPFLAGS'
36784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36787
36788       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36789 /* end confdefs.h.  */
36790 #include <math.h>
36791 int
36792 main ()
36793 {
36794 _ceill (0); _floorl (0);
36795   ;
36796   return 0;
36797 }
36798 _ACEOF
36799 if ac_fn_cxx_try_compile "$LINENO"; then :
36800   glibcxx_cv_func__long_double_round_use=yes
36801 else
36802   glibcxx_cv_func__long_double_round_use=no
36803 fi
36804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36805       ac_ext=c
36806 ac_cpp='$CPP $CPPFLAGS'
36807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36810
36811 fi
36812
36813     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36814 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36815     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36816       for ac_func in _ceill _floorl
36817 do :
36818   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36819 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36820 eval as_val=\$$as_ac_var
36821    if test "x$as_val" = x""yes; then :
36822   cat >>confdefs.h <<_ACEOF
36823 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36824 _ACEOF
36825
36826 fi
36827 done
36828
36829     fi
36830   fi
36831
36832
36833
36834
36835
36836
36837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36838 $as_echo_n "checking for isnanl declaration... " >&6; }
36839   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36840     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36841   $as_echo_n "(cached) " >&6
36842 else
36843
36844
36845       ac_ext=cpp
36846 ac_cpp='$CXXCPP $CPPFLAGS'
36847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36850
36851       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36852 /* end confdefs.h.  */
36853 #include <math.h>
36854                       #ifdef HAVE_IEEEFP_H
36855                       #include <ieeefp.h>
36856                       #endif
36857
36858 int
36859 main ()
36860 {
36861  isnanl(0);
36862   ;
36863   return 0;
36864 }
36865 _ACEOF
36866 if ac_fn_cxx_try_compile "$LINENO"; then :
36867   glibcxx_cv_func_isnanl_use=yes
36868 else
36869   glibcxx_cv_func_isnanl_use=no
36870 fi
36871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36872       ac_ext=c
36873 ac_cpp='$CPP $CPPFLAGS'
36874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36877
36878
36879 fi
36880
36881   fi
36882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36883 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36884
36885   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36886     for ac_func in isnanl
36887 do :
36888   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36889 if test "x$ac_cv_func_isnanl" = x""yes; then :
36890   cat >>confdefs.h <<_ACEOF
36891 #define HAVE_ISNANL 1
36892 _ACEOF
36893
36894 fi
36895 done
36896
36897   else
36898
36899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36900 $as_echo_n "checking for _isnanl declaration... " >&6; }
36901   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36902     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36903   $as_echo_n "(cached) " >&6
36904 else
36905
36906
36907       ac_ext=cpp
36908 ac_cpp='$CXXCPP $CPPFLAGS'
36909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36912
36913       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36914 /* end confdefs.h.  */
36915 #include <math.h>
36916                       #ifdef HAVE_IEEEFP_H
36917                       #include <ieeefp.h>
36918                       #endif
36919
36920 int
36921 main ()
36922 {
36923  _isnanl(0);
36924   ;
36925   return 0;
36926 }
36927 _ACEOF
36928 if ac_fn_cxx_try_compile "$LINENO"; then :
36929   glibcxx_cv_func__isnanl_use=yes
36930 else
36931   glibcxx_cv_func__isnanl_use=no
36932 fi
36933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36934       ac_ext=c
36935 ac_cpp='$CPP $CPPFLAGS'
36936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36939
36940
36941 fi
36942
36943   fi
36944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36945 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36946
36947     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36948       for ac_func in _isnanl
36949 do :
36950   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36951 if test "x$ac_cv_func__isnanl" = x""yes; then :
36952   cat >>confdefs.h <<_ACEOF
36953 #define HAVE__ISNANL 1
36954 _ACEOF
36955
36956 fi
36957 done
36958
36959     fi
36960   fi
36961
36962
36963
36964
36965
36966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36967 $as_echo_n "checking for isinfl declaration... " >&6; }
36968   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36969     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36970   $as_echo_n "(cached) " >&6
36971 else
36972
36973
36974       ac_ext=cpp
36975 ac_cpp='$CXXCPP $CPPFLAGS'
36976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36979
36980       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36981 /* end confdefs.h.  */
36982 #include <math.h>
36983                       #ifdef HAVE_IEEEFP_H
36984                       #include <ieeefp.h>
36985                       #endif
36986
36987 int
36988 main ()
36989 {
36990  isinfl(0);
36991   ;
36992   return 0;
36993 }
36994 _ACEOF
36995 if ac_fn_cxx_try_compile "$LINENO"; then :
36996   glibcxx_cv_func_isinfl_use=yes
36997 else
36998   glibcxx_cv_func_isinfl_use=no
36999 fi
37000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37001       ac_ext=c
37002 ac_cpp='$CPP $CPPFLAGS'
37003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37006
37007
37008 fi
37009
37010   fi
37011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37012 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37013
37014   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37015     for ac_func in isinfl
37016 do :
37017   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37018 if test "x$ac_cv_func_isinfl" = x""yes; then :
37019   cat >>confdefs.h <<_ACEOF
37020 #define HAVE_ISINFL 1
37021 _ACEOF
37022
37023 fi
37024 done
37025
37026   else
37027
37028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37029 $as_echo_n "checking for _isinfl declaration... " >&6; }
37030   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37031     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37032   $as_echo_n "(cached) " >&6
37033 else
37034
37035
37036       ac_ext=cpp
37037 ac_cpp='$CXXCPP $CPPFLAGS'
37038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37041
37042       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37043 /* end confdefs.h.  */
37044 #include <math.h>
37045                       #ifdef HAVE_IEEEFP_H
37046                       #include <ieeefp.h>
37047                       #endif
37048
37049 int
37050 main ()
37051 {
37052  _isinfl(0);
37053   ;
37054   return 0;
37055 }
37056 _ACEOF
37057 if ac_fn_cxx_try_compile "$LINENO"; then :
37058   glibcxx_cv_func__isinfl_use=yes
37059 else
37060   glibcxx_cv_func__isinfl_use=no
37061 fi
37062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37063       ac_ext=c
37064 ac_cpp='$CPP $CPPFLAGS'
37065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37068
37069
37070 fi
37071
37072   fi
37073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37074 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37075
37076     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37077       for ac_func in _isinfl
37078 do :
37079   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37080 if test "x$ac_cv_func__isinfl" = x""yes; then :
37081   cat >>confdefs.h <<_ACEOF
37082 #define HAVE__ISINFL 1
37083 _ACEOF
37084
37085 fi
37086 done
37087
37088     fi
37089   fi
37090
37091
37092
37093
37094
37095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37096 $as_echo_n "checking for atan2l declaration... " >&6; }
37097   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37098     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37099   $as_echo_n "(cached) " >&6
37100 else
37101
37102
37103       ac_ext=cpp
37104 ac_cpp='$CXXCPP $CPPFLAGS'
37105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37108
37109       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37110 /* end confdefs.h.  */
37111 #include <math.h>
37112 int
37113 main ()
37114 {
37115  atan2l(0, 0);
37116   ;
37117   return 0;
37118 }
37119 _ACEOF
37120 if ac_fn_cxx_try_compile "$LINENO"; then :
37121   glibcxx_cv_func_atan2l_use=yes
37122 else
37123   glibcxx_cv_func_atan2l_use=no
37124 fi
37125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37126       ac_ext=c
37127 ac_cpp='$CPP $CPPFLAGS'
37128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37131
37132
37133 fi
37134
37135   fi
37136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37137 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37138
37139   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37140     for ac_func in atan2l
37141 do :
37142   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37143 if test "x$ac_cv_func_atan2l" = x""yes; then :
37144   cat >>confdefs.h <<_ACEOF
37145 #define HAVE_ATAN2L 1
37146 _ACEOF
37147
37148 fi
37149 done
37150
37151   else
37152
37153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37154 $as_echo_n "checking for _atan2l declaration... " >&6; }
37155   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37156     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37157   $as_echo_n "(cached) " >&6
37158 else
37159
37160
37161       ac_ext=cpp
37162 ac_cpp='$CXXCPP $CPPFLAGS'
37163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37166
37167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37168 /* end confdefs.h.  */
37169 #include <math.h>
37170 int
37171 main ()
37172 {
37173  _atan2l(0, 0);
37174   ;
37175   return 0;
37176 }
37177 _ACEOF
37178 if ac_fn_cxx_try_compile "$LINENO"; then :
37179   glibcxx_cv_func__atan2l_use=yes
37180 else
37181   glibcxx_cv_func__atan2l_use=no
37182 fi
37183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37184       ac_ext=c
37185 ac_cpp='$CPP $CPPFLAGS'
37186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37189
37190
37191 fi
37192
37193   fi
37194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37195 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37196
37197     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37198       for ac_func in _atan2l
37199 do :
37200   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37201 if test "x$ac_cv_func__atan2l" = x""yes; then :
37202   cat >>confdefs.h <<_ACEOF
37203 #define HAVE__ATAN2L 1
37204 _ACEOF
37205
37206 fi
37207 done
37208
37209     fi
37210   fi
37211
37212
37213
37214
37215
37216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37217 $as_echo_n "checking for expl declaration... " >&6; }
37218   if test x${glibcxx_cv_func_expl_use+set} != xset; then
37219     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37220   $as_echo_n "(cached) " >&6
37221 else
37222
37223
37224       ac_ext=cpp
37225 ac_cpp='$CXXCPP $CPPFLAGS'
37226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37229
37230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37231 /* end confdefs.h.  */
37232 #include <math.h>
37233                       #ifdef HAVE_IEEEFP_H
37234                       #include <ieeefp.h>
37235                       #endif
37236
37237 int
37238 main ()
37239 {
37240  expl(0);
37241   ;
37242   return 0;
37243 }
37244 _ACEOF
37245 if ac_fn_cxx_try_compile "$LINENO"; then :
37246   glibcxx_cv_func_expl_use=yes
37247 else
37248   glibcxx_cv_func_expl_use=no
37249 fi
37250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37251       ac_ext=c
37252 ac_cpp='$CPP $CPPFLAGS'
37253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37256
37257
37258 fi
37259
37260   fi
37261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37262 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37263
37264   if test x$glibcxx_cv_func_expl_use = x"yes"; then
37265     for ac_func in expl
37266 do :
37267   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37268 if test "x$ac_cv_func_expl" = x""yes; then :
37269   cat >>confdefs.h <<_ACEOF
37270 #define HAVE_EXPL 1
37271 _ACEOF
37272
37273 fi
37274 done
37275
37276   else
37277
37278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37279 $as_echo_n "checking for _expl declaration... " >&6; }
37280   if test x${glibcxx_cv_func__expl_use+set} != xset; then
37281     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37282   $as_echo_n "(cached) " >&6
37283 else
37284
37285
37286       ac_ext=cpp
37287 ac_cpp='$CXXCPP $CPPFLAGS'
37288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37291
37292       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37293 /* end confdefs.h.  */
37294 #include <math.h>
37295                       #ifdef HAVE_IEEEFP_H
37296                       #include <ieeefp.h>
37297                       #endif
37298
37299 int
37300 main ()
37301 {
37302  _expl(0);
37303   ;
37304   return 0;
37305 }
37306 _ACEOF
37307 if ac_fn_cxx_try_compile "$LINENO"; then :
37308   glibcxx_cv_func__expl_use=yes
37309 else
37310   glibcxx_cv_func__expl_use=no
37311 fi
37312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37313       ac_ext=c
37314 ac_cpp='$CPP $CPPFLAGS'
37315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37318
37319
37320 fi
37321
37322   fi
37323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37324 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37325
37326     if test x$glibcxx_cv_func__expl_use = x"yes"; then
37327       for ac_func in _expl
37328 do :
37329   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37330 if test "x$ac_cv_func__expl" = x""yes; then :
37331   cat >>confdefs.h <<_ACEOF
37332 #define HAVE__EXPL 1
37333 _ACEOF
37334
37335 fi
37336 done
37337
37338     fi
37339   fi
37340
37341
37342
37343
37344
37345   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37346 $as_echo_n "checking for fabsl declaration... " >&6; }
37347   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37348     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37349   $as_echo_n "(cached) " >&6
37350 else
37351
37352
37353       ac_ext=cpp
37354 ac_cpp='$CXXCPP $CPPFLAGS'
37355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37358
37359       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37360 /* end confdefs.h.  */
37361 #include <math.h>
37362                       #ifdef HAVE_IEEEFP_H
37363                       #include <ieeefp.h>
37364                       #endif
37365
37366 int
37367 main ()
37368 {
37369  fabsl(0);
37370   ;
37371   return 0;
37372 }
37373 _ACEOF
37374 if ac_fn_cxx_try_compile "$LINENO"; then :
37375   glibcxx_cv_func_fabsl_use=yes
37376 else
37377   glibcxx_cv_func_fabsl_use=no
37378 fi
37379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37380       ac_ext=c
37381 ac_cpp='$CPP $CPPFLAGS'
37382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37385
37386
37387 fi
37388
37389   fi
37390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37391 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37392
37393   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37394     for ac_func in fabsl
37395 do :
37396   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37397 if test "x$ac_cv_func_fabsl" = x""yes; then :
37398   cat >>confdefs.h <<_ACEOF
37399 #define HAVE_FABSL 1
37400 _ACEOF
37401
37402 fi
37403 done
37404
37405   else
37406
37407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37408 $as_echo_n "checking for _fabsl declaration... " >&6; }
37409   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37410     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37411   $as_echo_n "(cached) " >&6
37412 else
37413
37414
37415       ac_ext=cpp
37416 ac_cpp='$CXXCPP $CPPFLAGS'
37417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37420
37421       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37422 /* end confdefs.h.  */
37423 #include <math.h>
37424                       #ifdef HAVE_IEEEFP_H
37425                       #include <ieeefp.h>
37426                       #endif
37427
37428 int
37429 main ()
37430 {
37431  _fabsl(0);
37432   ;
37433   return 0;
37434 }
37435 _ACEOF
37436 if ac_fn_cxx_try_compile "$LINENO"; then :
37437   glibcxx_cv_func__fabsl_use=yes
37438 else
37439   glibcxx_cv_func__fabsl_use=no
37440 fi
37441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37442       ac_ext=c
37443 ac_cpp='$CPP $CPPFLAGS'
37444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37447
37448
37449 fi
37450
37451   fi
37452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37453 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37454
37455     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37456       for ac_func in _fabsl
37457 do :
37458   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37459 if test "x$ac_cv_func__fabsl" = x""yes; then :
37460   cat >>confdefs.h <<_ACEOF
37461 #define HAVE__FABSL 1
37462 _ACEOF
37463
37464 fi
37465 done
37466
37467     fi
37468   fi
37469
37470
37471
37472
37473
37474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37475 $as_echo_n "checking for fmodl declaration... " >&6; }
37476   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37477     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37478   $as_echo_n "(cached) " >&6
37479 else
37480
37481
37482       ac_ext=cpp
37483 ac_cpp='$CXXCPP $CPPFLAGS'
37484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37487
37488       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37489 /* end confdefs.h.  */
37490 #include <math.h>
37491 int
37492 main ()
37493 {
37494  fmodl(0, 0);
37495   ;
37496   return 0;
37497 }
37498 _ACEOF
37499 if ac_fn_cxx_try_compile "$LINENO"; then :
37500   glibcxx_cv_func_fmodl_use=yes
37501 else
37502   glibcxx_cv_func_fmodl_use=no
37503 fi
37504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37505       ac_ext=c
37506 ac_cpp='$CPP $CPPFLAGS'
37507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37510
37511
37512 fi
37513
37514   fi
37515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37516 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37517
37518   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37519     for ac_func in fmodl
37520 do :
37521   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37522 if test "x$ac_cv_func_fmodl" = x""yes; then :
37523   cat >>confdefs.h <<_ACEOF
37524 #define HAVE_FMODL 1
37525 _ACEOF
37526
37527 fi
37528 done
37529
37530   else
37531
37532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37533 $as_echo_n "checking for _fmodl declaration... " >&6; }
37534   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37535     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37536   $as_echo_n "(cached) " >&6
37537 else
37538
37539
37540       ac_ext=cpp
37541 ac_cpp='$CXXCPP $CPPFLAGS'
37542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37545
37546       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37547 /* end confdefs.h.  */
37548 #include <math.h>
37549 int
37550 main ()
37551 {
37552  _fmodl(0, 0);
37553   ;
37554   return 0;
37555 }
37556 _ACEOF
37557 if ac_fn_cxx_try_compile "$LINENO"; then :
37558   glibcxx_cv_func__fmodl_use=yes
37559 else
37560   glibcxx_cv_func__fmodl_use=no
37561 fi
37562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37563       ac_ext=c
37564 ac_cpp='$CPP $CPPFLAGS'
37565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37568
37569
37570 fi
37571
37572   fi
37573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37574 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37575
37576     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37577       for ac_func in _fmodl
37578 do :
37579   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37580 if test "x$ac_cv_func__fmodl" = x""yes; then :
37581   cat >>confdefs.h <<_ACEOF
37582 #define HAVE__FMODL 1
37583 _ACEOF
37584
37585 fi
37586 done
37587
37588     fi
37589   fi
37590
37591
37592
37593
37594
37595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37596 $as_echo_n "checking for frexpl declaration... " >&6; }
37597   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37598     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37599   $as_echo_n "(cached) " >&6
37600 else
37601
37602
37603       ac_ext=cpp
37604 ac_cpp='$CXXCPP $CPPFLAGS'
37605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37608
37609       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37610 /* end confdefs.h.  */
37611 #include <math.h>
37612 int
37613 main ()
37614 {
37615  frexpl(0, 0);
37616   ;
37617   return 0;
37618 }
37619 _ACEOF
37620 if ac_fn_cxx_try_compile "$LINENO"; then :
37621   glibcxx_cv_func_frexpl_use=yes
37622 else
37623   glibcxx_cv_func_frexpl_use=no
37624 fi
37625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37626       ac_ext=c
37627 ac_cpp='$CPP $CPPFLAGS'
37628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37631
37632
37633 fi
37634
37635   fi
37636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37637 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37638
37639   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37640     for ac_func in frexpl
37641 do :
37642   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37643 if test "x$ac_cv_func_frexpl" = x""yes; then :
37644   cat >>confdefs.h <<_ACEOF
37645 #define HAVE_FREXPL 1
37646 _ACEOF
37647
37648 fi
37649 done
37650
37651   else
37652
37653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37654 $as_echo_n "checking for _frexpl declaration... " >&6; }
37655   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37656     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37657   $as_echo_n "(cached) " >&6
37658 else
37659
37660
37661       ac_ext=cpp
37662 ac_cpp='$CXXCPP $CPPFLAGS'
37663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37666
37667       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37668 /* end confdefs.h.  */
37669 #include <math.h>
37670 int
37671 main ()
37672 {
37673  _frexpl(0, 0);
37674   ;
37675   return 0;
37676 }
37677 _ACEOF
37678 if ac_fn_cxx_try_compile "$LINENO"; then :
37679   glibcxx_cv_func__frexpl_use=yes
37680 else
37681   glibcxx_cv_func__frexpl_use=no
37682 fi
37683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37684       ac_ext=c
37685 ac_cpp='$CPP $CPPFLAGS'
37686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37689
37690
37691 fi
37692
37693   fi
37694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37695 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37696
37697     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37698       for ac_func in _frexpl
37699 do :
37700   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37701 if test "x$ac_cv_func__frexpl" = x""yes; then :
37702   cat >>confdefs.h <<_ACEOF
37703 #define HAVE__FREXPL 1
37704 _ACEOF
37705
37706 fi
37707 done
37708
37709     fi
37710   fi
37711
37712
37713
37714
37715
37716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37717 $as_echo_n "checking for hypotl declaration... " >&6; }
37718   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37719     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37720   $as_echo_n "(cached) " >&6
37721 else
37722
37723
37724       ac_ext=cpp
37725 ac_cpp='$CXXCPP $CPPFLAGS'
37726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37729
37730       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37731 /* end confdefs.h.  */
37732 #include <math.h>
37733 int
37734 main ()
37735 {
37736  hypotl(0, 0);
37737   ;
37738   return 0;
37739 }
37740 _ACEOF
37741 if ac_fn_cxx_try_compile "$LINENO"; then :
37742   glibcxx_cv_func_hypotl_use=yes
37743 else
37744   glibcxx_cv_func_hypotl_use=no
37745 fi
37746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37747       ac_ext=c
37748 ac_cpp='$CPP $CPPFLAGS'
37749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37752
37753
37754 fi
37755
37756   fi
37757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37758 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37759
37760   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37761     for ac_func in hypotl
37762 do :
37763   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37764 if test "x$ac_cv_func_hypotl" = x""yes; then :
37765   cat >>confdefs.h <<_ACEOF
37766 #define HAVE_HYPOTL 1
37767 _ACEOF
37768
37769 fi
37770 done
37771
37772   else
37773
37774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37775 $as_echo_n "checking for _hypotl declaration... " >&6; }
37776   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37777     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37778   $as_echo_n "(cached) " >&6
37779 else
37780
37781
37782       ac_ext=cpp
37783 ac_cpp='$CXXCPP $CPPFLAGS'
37784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37787
37788       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37789 /* end confdefs.h.  */
37790 #include <math.h>
37791 int
37792 main ()
37793 {
37794  _hypotl(0, 0);
37795   ;
37796   return 0;
37797 }
37798 _ACEOF
37799 if ac_fn_cxx_try_compile "$LINENO"; then :
37800   glibcxx_cv_func__hypotl_use=yes
37801 else
37802   glibcxx_cv_func__hypotl_use=no
37803 fi
37804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37805       ac_ext=c
37806 ac_cpp='$CPP $CPPFLAGS'
37807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37810
37811
37812 fi
37813
37814   fi
37815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37816 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37817
37818     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37819       for ac_func in _hypotl
37820 do :
37821   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37822 if test "x$ac_cv_func__hypotl" = x""yes; then :
37823   cat >>confdefs.h <<_ACEOF
37824 #define HAVE__HYPOTL 1
37825 _ACEOF
37826
37827 fi
37828 done
37829
37830     fi
37831   fi
37832
37833
37834
37835
37836
37837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37838 $as_echo_n "checking for ldexpl declaration... " >&6; }
37839   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37840     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37841   $as_echo_n "(cached) " >&6
37842 else
37843
37844
37845       ac_ext=cpp
37846 ac_cpp='$CXXCPP $CPPFLAGS'
37847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37850
37851       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37852 /* end confdefs.h.  */
37853 #include <math.h>
37854 int
37855 main ()
37856 {
37857  ldexpl(0, 0);
37858   ;
37859   return 0;
37860 }
37861 _ACEOF
37862 if ac_fn_cxx_try_compile "$LINENO"; then :
37863   glibcxx_cv_func_ldexpl_use=yes
37864 else
37865   glibcxx_cv_func_ldexpl_use=no
37866 fi
37867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37868       ac_ext=c
37869 ac_cpp='$CPP $CPPFLAGS'
37870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37873
37874
37875 fi
37876
37877   fi
37878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37879 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37880
37881   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37882     for ac_func in ldexpl
37883 do :
37884   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37885 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37886   cat >>confdefs.h <<_ACEOF
37887 #define HAVE_LDEXPL 1
37888 _ACEOF
37889
37890 fi
37891 done
37892
37893   else
37894
37895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37896 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37897   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37898     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37899   $as_echo_n "(cached) " >&6
37900 else
37901
37902
37903       ac_ext=cpp
37904 ac_cpp='$CXXCPP $CPPFLAGS'
37905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37908
37909       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37910 /* end confdefs.h.  */
37911 #include <math.h>
37912 int
37913 main ()
37914 {
37915  _ldexpl(0, 0);
37916   ;
37917   return 0;
37918 }
37919 _ACEOF
37920 if ac_fn_cxx_try_compile "$LINENO"; then :
37921   glibcxx_cv_func__ldexpl_use=yes
37922 else
37923   glibcxx_cv_func__ldexpl_use=no
37924 fi
37925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37926       ac_ext=c
37927 ac_cpp='$CPP $CPPFLAGS'
37928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37931
37932
37933 fi
37934
37935   fi
37936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37937 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37938
37939     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37940       for ac_func in _ldexpl
37941 do :
37942   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37943 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37944   cat >>confdefs.h <<_ACEOF
37945 #define HAVE__LDEXPL 1
37946 _ACEOF
37947
37948 fi
37949 done
37950
37951     fi
37952   fi
37953
37954
37955
37956
37957
37958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37959 $as_echo_n "checking for logl declaration... " >&6; }
37960   if test x${glibcxx_cv_func_logl_use+set} != xset; then
37961     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37962   $as_echo_n "(cached) " >&6
37963 else
37964
37965
37966       ac_ext=cpp
37967 ac_cpp='$CXXCPP $CPPFLAGS'
37968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37971
37972       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37973 /* end confdefs.h.  */
37974 #include <math.h>
37975                       #ifdef HAVE_IEEEFP_H
37976                       #include <ieeefp.h>
37977                       #endif
37978
37979 int
37980 main ()
37981 {
37982  logl(0);
37983   ;
37984   return 0;
37985 }
37986 _ACEOF
37987 if ac_fn_cxx_try_compile "$LINENO"; then :
37988   glibcxx_cv_func_logl_use=yes
37989 else
37990   glibcxx_cv_func_logl_use=no
37991 fi
37992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37993       ac_ext=c
37994 ac_cpp='$CPP $CPPFLAGS'
37995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37998
37999
38000 fi
38001
38002   fi
38003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38004 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38005
38006   if test x$glibcxx_cv_func_logl_use = x"yes"; then
38007     for ac_func in logl
38008 do :
38009   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38010 if test "x$ac_cv_func_logl" = x""yes; then :
38011   cat >>confdefs.h <<_ACEOF
38012 #define HAVE_LOGL 1
38013 _ACEOF
38014
38015 fi
38016 done
38017
38018   else
38019
38020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38021 $as_echo_n "checking for _logl declaration... " >&6; }
38022   if test x${glibcxx_cv_func__logl_use+set} != xset; then
38023     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38024   $as_echo_n "(cached) " >&6
38025 else
38026
38027
38028       ac_ext=cpp
38029 ac_cpp='$CXXCPP $CPPFLAGS'
38030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38033
38034       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38035 /* end confdefs.h.  */
38036 #include <math.h>
38037                       #ifdef HAVE_IEEEFP_H
38038                       #include <ieeefp.h>
38039                       #endif
38040
38041 int
38042 main ()
38043 {
38044  _logl(0);
38045   ;
38046   return 0;
38047 }
38048 _ACEOF
38049 if ac_fn_cxx_try_compile "$LINENO"; then :
38050   glibcxx_cv_func__logl_use=yes
38051 else
38052   glibcxx_cv_func__logl_use=no
38053 fi
38054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38055       ac_ext=c
38056 ac_cpp='$CPP $CPPFLAGS'
38057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38060
38061
38062 fi
38063
38064   fi
38065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38066 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38067
38068     if test x$glibcxx_cv_func__logl_use = x"yes"; then
38069       for ac_func in _logl
38070 do :
38071   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38072 if test "x$ac_cv_func__logl" = x""yes; then :
38073   cat >>confdefs.h <<_ACEOF
38074 #define HAVE__LOGL 1
38075 _ACEOF
38076
38077 fi
38078 done
38079
38080     fi
38081   fi
38082
38083
38084
38085
38086
38087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38088 $as_echo_n "checking for log10l declaration... " >&6; }
38089   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38090     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38091   $as_echo_n "(cached) " >&6
38092 else
38093
38094
38095       ac_ext=cpp
38096 ac_cpp='$CXXCPP $CPPFLAGS'
38097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38100
38101       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38102 /* end confdefs.h.  */
38103 #include <math.h>
38104                       #ifdef HAVE_IEEEFP_H
38105                       #include <ieeefp.h>
38106                       #endif
38107
38108 int
38109 main ()
38110 {
38111  log10l(0);
38112   ;
38113   return 0;
38114 }
38115 _ACEOF
38116 if ac_fn_cxx_try_compile "$LINENO"; then :
38117   glibcxx_cv_func_log10l_use=yes
38118 else
38119   glibcxx_cv_func_log10l_use=no
38120 fi
38121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38122       ac_ext=c
38123 ac_cpp='$CPP $CPPFLAGS'
38124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38127
38128
38129 fi
38130
38131   fi
38132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38133 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38134
38135   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38136     for ac_func in log10l
38137 do :
38138   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38139 if test "x$ac_cv_func_log10l" = x""yes; then :
38140   cat >>confdefs.h <<_ACEOF
38141 #define HAVE_LOG10L 1
38142 _ACEOF
38143
38144 fi
38145 done
38146
38147   else
38148
38149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38150 $as_echo_n "checking for _log10l declaration... " >&6; }
38151   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38152     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38153   $as_echo_n "(cached) " >&6
38154 else
38155
38156
38157       ac_ext=cpp
38158 ac_cpp='$CXXCPP $CPPFLAGS'
38159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38162
38163       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38164 /* end confdefs.h.  */
38165 #include <math.h>
38166                       #ifdef HAVE_IEEEFP_H
38167                       #include <ieeefp.h>
38168                       #endif
38169
38170 int
38171 main ()
38172 {
38173  _log10l(0);
38174   ;
38175   return 0;
38176 }
38177 _ACEOF
38178 if ac_fn_cxx_try_compile "$LINENO"; then :
38179   glibcxx_cv_func__log10l_use=yes
38180 else
38181   glibcxx_cv_func__log10l_use=no
38182 fi
38183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38184       ac_ext=c
38185 ac_cpp='$CPP $CPPFLAGS'
38186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38189
38190
38191 fi
38192
38193   fi
38194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38195 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38196
38197     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38198       for ac_func in _log10l
38199 do :
38200   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38201 if test "x$ac_cv_func__log10l" = x""yes; then :
38202   cat >>confdefs.h <<_ACEOF
38203 #define HAVE__LOG10L 1
38204 _ACEOF
38205
38206 fi
38207 done
38208
38209     fi
38210   fi
38211
38212
38213
38214
38215
38216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38217 $as_echo_n "checking for modfl declaration... " >&6; }
38218   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38219     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38220   $as_echo_n "(cached) " >&6
38221 else
38222
38223
38224       ac_ext=cpp
38225 ac_cpp='$CXXCPP $CPPFLAGS'
38226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38229
38230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38231 /* end confdefs.h.  */
38232 #include <math.h>
38233 int
38234 main ()
38235 {
38236  modfl(0, 0);
38237   ;
38238   return 0;
38239 }
38240 _ACEOF
38241 if ac_fn_cxx_try_compile "$LINENO"; then :
38242   glibcxx_cv_func_modfl_use=yes
38243 else
38244   glibcxx_cv_func_modfl_use=no
38245 fi
38246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38247       ac_ext=c
38248 ac_cpp='$CPP $CPPFLAGS'
38249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38252
38253
38254 fi
38255
38256   fi
38257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38258 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38259
38260   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38261     for ac_func in modfl
38262 do :
38263   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38264 if test "x$ac_cv_func_modfl" = x""yes; then :
38265   cat >>confdefs.h <<_ACEOF
38266 #define HAVE_MODFL 1
38267 _ACEOF
38268
38269 fi
38270 done
38271
38272   else
38273
38274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38275 $as_echo_n "checking for _modfl declaration... " >&6; }
38276   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38277     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38278   $as_echo_n "(cached) " >&6
38279 else
38280
38281
38282       ac_ext=cpp
38283 ac_cpp='$CXXCPP $CPPFLAGS'
38284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38287
38288       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38289 /* end confdefs.h.  */
38290 #include <math.h>
38291 int
38292 main ()
38293 {
38294  _modfl(0, 0);
38295   ;
38296   return 0;
38297 }
38298 _ACEOF
38299 if ac_fn_cxx_try_compile "$LINENO"; then :
38300   glibcxx_cv_func__modfl_use=yes
38301 else
38302   glibcxx_cv_func__modfl_use=no
38303 fi
38304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38305       ac_ext=c
38306 ac_cpp='$CPP $CPPFLAGS'
38307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38310
38311
38312 fi
38313
38314   fi
38315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38316 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38317
38318     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38319       for ac_func in _modfl
38320 do :
38321   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38322 if test "x$ac_cv_func__modfl" = x""yes; then :
38323   cat >>confdefs.h <<_ACEOF
38324 #define HAVE__MODFL 1
38325 _ACEOF
38326
38327 fi
38328 done
38329
38330     fi
38331   fi
38332
38333
38334
38335
38336
38337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38338 $as_echo_n "checking for powl declaration... " >&6; }
38339   if test x${glibcxx_cv_func_powl_use+set} != xset; then
38340     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38341   $as_echo_n "(cached) " >&6
38342 else
38343
38344
38345       ac_ext=cpp
38346 ac_cpp='$CXXCPP $CPPFLAGS'
38347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38350
38351       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38352 /* end confdefs.h.  */
38353 #include <math.h>
38354 int
38355 main ()
38356 {
38357  powl(0, 0);
38358   ;
38359   return 0;
38360 }
38361 _ACEOF
38362 if ac_fn_cxx_try_compile "$LINENO"; then :
38363   glibcxx_cv_func_powl_use=yes
38364 else
38365   glibcxx_cv_func_powl_use=no
38366 fi
38367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38368       ac_ext=c
38369 ac_cpp='$CPP $CPPFLAGS'
38370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38373
38374
38375 fi
38376
38377   fi
38378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38379 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38380
38381   if test x$glibcxx_cv_func_powl_use = x"yes"; then
38382     for ac_func in powl
38383 do :
38384   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38385 if test "x$ac_cv_func_powl" = x""yes; then :
38386   cat >>confdefs.h <<_ACEOF
38387 #define HAVE_POWL 1
38388 _ACEOF
38389
38390 fi
38391 done
38392
38393   else
38394
38395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38396 $as_echo_n "checking for _powl declaration... " >&6; }
38397   if test x${glibcxx_cv_func__powl_use+set} != xset; then
38398     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38399   $as_echo_n "(cached) " >&6
38400 else
38401
38402
38403       ac_ext=cpp
38404 ac_cpp='$CXXCPP $CPPFLAGS'
38405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38408
38409       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38410 /* end confdefs.h.  */
38411 #include <math.h>
38412 int
38413 main ()
38414 {
38415  _powl(0, 0);
38416   ;
38417   return 0;
38418 }
38419 _ACEOF
38420 if ac_fn_cxx_try_compile "$LINENO"; then :
38421   glibcxx_cv_func__powl_use=yes
38422 else
38423   glibcxx_cv_func__powl_use=no
38424 fi
38425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38426       ac_ext=c
38427 ac_cpp='$CPP $CPPFLAGS'
38428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38431
38432
38433 fi
38434
38435   fi
38436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38437 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38438
38439     if test x$glibcxx_cv_func__powl_use = x"yes"; then
38440       for ac_func in _powl
38441 do :
38442   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38443 if test "x$ac_cv_func__powl" = x""yes; then :
38444   cat >>confdefs.h <<_ACEOF
38445 #define HAVE__POWL 1
38446 _ACEOF
38447
38448 fi
38449 done
38450
38451     fi
38452   fi
38453
38454
38455
38456
38457
38458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38459 $as_echo_n "checking for sqrtl declaration... " >&6; }
38460   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38461     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38462   $as_echo_n "(cached) " >&6
38463 else
38464
38465
38466       ac_ext=cpp
38467 ac_cpp='$CXXCPP $CPPFLAGS'
38468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38471
38472       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38473 /* end confdefs.h.  */
38474 #include <math.h>
38475                       #ifdef HAVE_IEEEFP_H
38476                       #include <ieeefp.h>
38477                       #endif
38478
38479 int
38480 main ()
38481 {
38482  sqrtl(0);
38483   ;
38484   return 0;
38485 }
38486 _ACEOF
38487 if ac_fn_cxx_try_compile "$LINENO"; then :
38488   glibcxx_cv_func_sqrtl_use=yes
38489 else
38490   glibcxx_cv_func_sqrtl_use=no
38491 fi
38492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38493       ac_ext=c
38494 ac_cpp='$CPP $CPPFLAGS'
38495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38498
38499
38500 fi
38501
38502   fi
38503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38504 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38505
38506   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38507     for ac_func in sqrtl
38508 do :
38509   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38510 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38511   cat >>confdefs.h <<_ACEOF
38512 #define HAVE_SQRTL 1
38513 _ACEOF
38514
38515 fi
38516 done
38517
38518   else
38519
38520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38521 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38522   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38523     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38524   $as_echo_n "(cached) " >&6
38525 else
38526
38527
38528       ac_ext=cpp
38529 ac_cpp='$CXXCPP $CPPFLAGS'
38530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38533
38534       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38535 /* end confdefs.h.  */
38536 #include <math.h>
38537                       #ifdef HAVE_IEEEFP_H
38538                       #include <ieeefp.h>
38539                       #endif
38540
38541 int
38542 main ()
38543 {
38544  _sqrtl(0);
38545   ;
38546   return 0;
38547 }
38548 _ACEOF
38549 if ac_fn_cxx_try_compile "$LINENO"; then :
38550   glibcxx_cv_func__sqrtl_use=yes
38551 else
38552   glibcxx_cv_func__sqrtl_use=no
38553 fi
38554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38555       ac_ext=c
38556 ac_cpp='$CPP $CPPFLAGS'
38557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38560
38561
38562 fi
38563
38564   fi
38565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38566 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38567
38568     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38569       for ac_func in _sqrtl
38570 do :
38571   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38572 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38573   cat >>confdefs.h <<_ACEOF
38574 #define HAVE__SQRTL 1
38575 _ACEOF
38576
38577 fi
38578 done
38579
38580     fi
38581   fi
38582
38583
38584
38585
38586
38587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38588 $as_echo_n "checking for sincosl declaration... " >&6; }
38589   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38590     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38591   $as_echo_n "(cached) " >&6
38592 else
38593
38594
38595       ac_ext=cpp
38596 ac_cpp='$CXXCPP $CPPFLAGS'
38597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38600
38601       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38602 /* end confdefs.h.  */
38603 #include <math.h>
38604 int
38605 main ()
38606 {
38607  sincosl(0, 0, 0);
38608   ;
38609   return 0;
38610 }
38611 _ACEOF
38612 if ac_fn_cxx_try_compile "$LINENO"; then :
38613   glibcxx_cv_func_sincosl_use=yes
38614 else
38615   glibcxx_cv_func_sincosl_use=no
38616 fi
38617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38618       ac_ext=c
38619 ac_cpp='$CPP $CPPFLAGS'
38620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38623
38624
38625 fi
38626
38627   fi
38628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38629 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38630
38631   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38632     for ac_func in sincosl
38633 do :
38634   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38635 if test "x$ac_cv_func_sincosl" = x""yes; then :
38636   cat >>confdefs.h <<_ACEOF
38637 #define HAVE_SINCOSL 1
38638 _ACEOF
38639
38640 fi
38641 done
38642
38643   else
38644
38645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38646 $as_echo_n "checking for _sincosl declaration... " >&6; }
38647   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38648     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38649   $as_echo_n "(cached) " >&6
38650 else
38651
38652
38653       ac_ext=cpp
38654 ac_cpp='$CXXCPP $CPPFLAGS'
38655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38658
38659       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38660 /* end confdefs.h.  */
38661 #include <math.h>
38662 int
38663 main ()
38664 {
38665  _sincosl(0, 0, 0);
38666   ;
38667   return 0;
38668 }
38669 _ACEOF
38670 if ac_fn_cxx_try_compile "$LINENO"; then :
38671   glibcxx_cv_func__sincosl_use=yes
38672 else
38673   glibcxx_cv_func__sincosl_use=no
38674 fi
38675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38676       ac_ext=c
38677 ac_cpp='$CPP $CPPFLAGS'
38678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38681
38682
38683 fi
38684
38685   fi
38686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38687 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38688
38689     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38690       for ac_func in _sincosl
38691 do :
38692   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38693 if test "x$ac_cv_func__sincosl" = x""yes; then :
38694   cat >>confdefs.h <<_ACEOF
38695 #define HAVE__SINCOSL 1
38696 _ACEOF
38697
38698 fi
38699 done
38700
38701     fi
38702   fi
38703
38704
38705
38706
38707
38708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38709 $as_echo_n "checking for finitel declaration... " >&6; }
38710   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38711     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38712   $as_echo_n "(cached) " >&6
38713 else
38714
38715
38716       ac_ext=cpp
38717 ac_cpp='$CXXCPP $CPPFLAGS'
38718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38721
38722       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38723 /* end confdefs.h.  */
38724 #include <math.h>
38725                       #ifdef HAVE_IEEEFP_H
38726                       #include <ieeefp.h>
38727                       #endif
38728
38729 int
38730 main ()
38731 {
38732  finitel(0);
38733   ;
38734   return 0;
38735 }
38736 _ACEOF
38737 if ac_fn_cxx_try_compile "$LINENO"; then :
38738   glibcxx_cv_func_finitel_use=yes
38739 else
38740   glibcxx_cv_func_finitel_use=no
38741 fi
38742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38743       ac_ext=c
38744 ac_cpp='$CPP $CPPFLAGS'
38745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38748
38749
38750 fi
38751
38752   fi
38753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38754 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38755
38756   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38757     for ac_func in finitel
38758 do :
38759   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38760 if test "x$ac_cv_func_finitel" = x""yes; then :
38761   cat >>confdefs.h <<_ACEOF
38762 #define HAVE_FINITEL 1
38763 _ACEOF
38764
38765 fi
38766 done
38767
38768   else
38769
38770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38771 $as_echo_n "checking for _finitel declaration... " >&6; }
38772   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38773     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38774   $as_echo_n "(cached) " >&6
38775 else
38776
38777
38778       ac_ext=cpp
38779 ac_cpp='$CXXCPP $CPPFLAGS'
38780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38783
38784       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38785 /* end confdefs.h.  */
38786 #include <math.h>
38787                       #ifdef HAVE_IEEEFP_H
38788                       #include <ieeefp.h>
38789                       #endif
38790
38791 int
38792 main ()
38793 {
38794  _finitel(0);
38795   ;
38796   return 0;
38797 }
38798 _ACEOF
38799 if ac_fn_cxx_try_compile "$LINENO"; then :
38800   glibcxx_cv_func__finitel_use=yes
38801 else
38802   glibcxx_cv_func__finitel_use=no
38803 fi
38804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38805       ac_ext=c
38806 ac_cpp='$CPP $CPPFLAGS'
38807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38810
38811
38812 fi
38813
38814   fi
38815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38816 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38817
38818     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38819       for ac_func in _finitel
38820 do :
38821   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38822 if test "x$ac_cv_func__finitel" = x""yes; then :
38823   cat >>confdefs.h <<_ACEOF
38824 #define HAVE__FINITEL 1
38825 _ACEOF
38826
38827 fi
38828 done
38829
38830     fi
38831   fi
38832
38833
38834
38835
38836   LIBS="$ac_save_LIBS"
38837   CXXFLAGS="$ac_save_CXXFLAGS"
38838
38839
38840   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38841   ac_save_CXXFLAGS="$CXXFLAGS"
38842   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38843
38844
38845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38846 $as_echo_n "checking for strtold declaration... " >&6; }
38847   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38848     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38849   $as_echo_n "(cached) " >&6
38850 else
38851
38852
38853       ac_ext=cpp
38854 ac_cpp='$CXXCPP $CPPFLAGS'
38855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38858
38859       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38860 /* end confdefs.h.  */
38861 #include <stdlib.h>
38862 int
38863 main ()
38864 {
38865  strtold(0, 0);
38866   ;
38867   return 0;
38868 }
38869 _ACEOF
38870 if ac_fn_cxx_try_compile "$LINENO"; then :
38871   glibcxx_cv_func_strtold_use=yes
38872 else
38873   glibcxx_cv_func_strtold_use=no
38874 fi
38875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38876       ac_ext=c
38877 ac_cpp='$CPP $CPPFLAGS'
38878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38881
38882
38883 fi
38884
38885   fi
38886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38887 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38888   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38889     for ac_func in strtold
38890 do :
38891   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38892 if test "x$ac_cv_func_strtold" = x""yes; then :
38893   cat >>confdefs.h <<_ACEOF
38894 #define HAVE_STRTOLD 1
38895 _ACEOF
38896
38897 fi
38898 done
38899
38900   fi
38901
38902
38903
38904
38905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38906 $as_echo_n "checking for strtof declaration... " >&6; }
38907   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38908     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38909   $as_echo_n "(cached) " >&6
38910 else
38911
38912
38913       ac_ext=cpp
38914 ac_cpp='$CXXCPP $CPPFLAGS'
38915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38918
38919       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38920 /* end confdefs.h.  */
38921 #include <stdlib.h>
38922 int
38923 main ()
38924 {
38925  strtof(0, 0);
38926   ;
38927   return 0;
38928 }
38929 _ACEOF
38930 if ac_fn_cxx_try_compile "$LINENO"; then :
38931   glibcxx_cv_func_strtof_use=yes
38932 else
38933   glibcxx_cv_func_strtof_use=no
38934 fi
38935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38936       ac_ext=c
38937 ac_cpp='$CPP $CPPFLAGS'
38938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38941
38942
38943 fi
38944
38945   fi
38946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38947 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38948   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38949     for ac_func in strtof
38950 do :
38951   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38952 if test "x$ac_cv_func_strtof" = x""yes; then :
38953   cat >>confdefs.h <<_ACEOF
38954 #define HAVE_STRTOF 1
38955 _ACEOF
38956
38957 fi
38958 done
38959
38960   fi
38961
38962
38963
38964
38965   CXXFLAGS="$ac_save_CXXFLAGS"
38966
38967     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38968
38969     # We don't yet support AIX's TLS ABI.
38970     #GCC_CHECK_TLS
38971
38972
38973
38974
38975
38976           am_save_CPPFLAGS="$CPPFLAGS"
38977
38978   for element in $INCICONV; do
38979     haveit=
38980     for x in $CPPFLAGS; do
38981
38982   acl_save_prefix="$prefix"
38983   prefix="$acl_final_prefix"
38984   acl_save_exec_prefix="$exec_prefix"
38985   exec_prefix="$acl_final_exec_prefix"
38986   eval x=\"$x\"
38987   exec_prefix="$acl_save_exec_prefix"
38988   prefix="$acl_save_prefix"
38989
38990       if test "X$x" = "X$element"; then
38991         haveit=yes
38992         break
38993       fi
38994     done
38995     if test -z "$haveit"; then
38996       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38997     fi
38998   done
38999
39000
39001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39002 $as_echo_n "checking for iconv... " >&6; }
39003 if test "${am_cv_func_iconv+set}" = set; then :
39004   $as_echo_n "(cached) " >&6
39005 else
39006
39007     am_cv_func_iconv="no, consider installing GNU libiconv"
39008     am_cv_lib_iconv=no
39009     if test x$gcc_no_link = xyes; then
39010   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39011 fi
39012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39013 /* end confdefs.h.  */
39014 #include <stdlib.h>
39015 #include <iconv.h>
39016 int
39017 main ()
39018 {
39019 iconv_t cd = iconv_open("","");
39020        iconv(cd,NULL,NULL,NULL,NULL);
39021        iconv_close(cd);
39022   ;
39023   return 0;
39024 }
39025 _ACEOF
39026 if ac_fn_c_try_link "$LINENO"; then :
39027   am_cv_func_iconv=yes
39028 fi
39029 rm -f core conftest.err conftest.$ac_objext \
39030     conftest$ac_exeext conftest.$ac_ext
39031     if test "$am_cv_func_iconv" != yes; then
39032       am_save_LIBS="$LIBS"
39033       LIBS="$LIBS $LIBICONV"
39034       if test x$gcc_no_link = xyes; then
39035   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39036 fi
39037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39038 /* end confdefs.h.  */
39039 #include <stdlib.h>
39040 #include <iconv.h>
39041 int
39042 main ()
39043 {
39044 iconv_t cd = iconv_open("","");
39045          iconv(cd,NULL,NULL,NULL,NULL);
39046          iconv_close(cd);
39047   ;
39048   return 0;
39049 }
39050 _ACEOF
39051 if ac_fn_c_try_link "$LINENO"; then :
39052   am_cv_lib_iconv=yes
39053         am_cv_func_iconv=yes
39054 fi
39055 rm -f core conftest.err conftest.$ac_objext \
39056     conftest$ac_exeext conftest.$ac_ext
39057       LIBS="$am_save_LIBS"
39058     fi
39059
39060 fi
39061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39062 $as_echo "$am_cv_func_iconv" >&6; }
39063   if test "$am_cv_func_iconv" = yes; then
39064
39065 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39066
39067   fi
39068   if test "$am_cv_lib_iconv" = yes; then
39069     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39070 $as_echo_n "checking how to link with libiconv... " >&6; }
39071     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39072 $as_echo "$LIBICONV" >&6; }
39073   else
39074             CPPFLAGS="$am_save_CPPFLAGS"
39075     LIBICONV=
39076     LTLIBICONV=
39077   fi
39078
39079
39080
39081   if test "$am_cv_func_iconv" = yes; then
39082     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39083 $as_echo_n "checking for iconv declaration... " >&6; }
39084     if test "${am_cv_proto_iconv+set}" = set; then :
39085   $as_echo_n "(cached) " >&6
39086 else
39087
39088       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39089 /* end confdefs.h.  */
39090
39091 #include <stdlib.h>
39092 #include <iconv.h>
39093 extern
39094 #ifdef __cplusplus
39095 "C"
39096 #endif
39097 #if defined(__STDC__) || defined(__cplusplus)
39098 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39099 #else
39100 size_t iconv();
39101 #endif
39102
39103 int
39104 main ()
39105 {
39106
39107   ;
39108   return 0;
39109 }
39110 _ACEOF
39111 if ac_fn_c_try_compile "$LINENO"; then :
39112   am_cv_proto_iconv_arg1=""
39113 else
39114   am_cv_proto_iconv_arg1="const"
39115 fi
39116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39117       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);"
39118 fi
39119
39120     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39121     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39122          }$am_cv_proto_iconv" >&5
39123 $as_echo "${ac_t:-
39124          }$am_cv_proto_iconv" >&6; }
39125
39126 cat >>confdefs.h <<_ACEOF
39127 #define ICONV_CONST $am_cv_proto_iconv_arg1
39128 _ACEOF
39129
39130   fi
39131
39132     ;;
39133
39134   *-darwin*)
39135     # Darwin versions vary, but the linker should work in a cross environment,
39136     # so we just check for all the features here.
39137     # Check for available headers.
39138
39139     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39140
39141   ac_test_CXXFLAGS="${CXXFLAGS+set}"
39142   ac_save_CXXFLAGS="$CXXFLAGS"
39143   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39144
39145     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39146 $as_echo_n "checking for sin in -lm... " >&6; }
39147 if test "${ac_cv_lib_m_sin+set}" = set; then :
39148   $as_echo_n "(cached) " >&6
39149 else
39150   ac_check_lib_save_LIBS=$LIBS
39151 LIBS="-lm  $LIBS"
39152 if test x$gcc_no_link = xyes; then
39153   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39154 fi
39155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39156 /* end confdefs.h.  */
39157
39158 /* Override any GCC internal prototype to avoid an error.
39159    Use char because int might match the return type of a GCC
39160    builtin and then its argument prototype would still apply.  */
39161 #ifdef __cplusplus
39162 extern "C"
39163 #endif
39164 char sin ();
39165 int
39166 main ()
39167 {
39168 return sin ();
39169   ;
39170   return 0;
39171 }
39172 _ACEOF
39173 if ac_fn_c_try_link "$LINENO"; then :
39174   ac_cv_lib_m_sin=yes
39175 else
39176   ac_cv_lib_m_sin=no
39177 fi
39178 rm -f core conftest.err conftest.$ac_objext \
39179     conftest$ac_exeext conftest.$ac_ext
39180 LIBS=$ac_check_lib_save_LIBS
39181 fi
39182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39183 $as_echo "$ac_cv_lib_m_sin" >&6; }
39184 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39185   libm="-lm"
39186 fi
39187
39188   ac_save_LIBS="$LIBS"
39189   LIBS="$LIBS $libm"
39190
39191
39192
39193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39194 $as_echo_n "checking for isinf declaration... " >&6; }
39195   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39196     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39197   $as_echo_n "(cached) " >&6
39198 else
39199
39200
39201       ac_ext=cpp
39202 ac_cpp='$CXXCPP $CPPFLAGS'
39203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39206
39207       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39208 /* end confdefs.h.  */
39209 #include <math.h>
39210                       #ifdef HAVE_IEEEFP_H
39211                       #include <ieeefp.h>
39212                       #endif
39213
39214 int
39215 main ()
39216 {
39217  isinf(0);
39218   ;
39219   return 0;
39220 }
39221 _ACEOF
39222 if ac_fn_cxx_try_compile "$LINENO"; then :
39223   glibcxx_cv_func_isinf_use=yes
39224 else
39225   glibcxx_cv_func_isinf_use=no
39226 fi
39227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39228       ac_ext=c
39229 ac_cpp='$CPP $CPPFLAGS'
39230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39233
39234
39235 fi
39236
39237   fi
39238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39239 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39240
39241   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39242     for ac_func in isinf
39243 do :
39244   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39245 if test "x$ac_cv_func_isinf" = x""yes; then :
39246   cat >>confdefs.h <<_ACEOF
39247 #define HAVE_ISINF 1
39248 _ACEOF
39249
39250 fi
39251 done
39252
39253   else
39254
39255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39256 $as_echo_n "checking for _isinf declaration... " >&6; }
39257   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39258     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39259   $as_echo_n "(cached) " >&6
39260 else
39261
39262
39263       ac_ext=cpp
39264 ac_cpp='$CXXCPP $CPPFLAGS'
39265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39268
39269       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39270 /* end confdefs.h.  */
39271 #include <math.h>
39272                       #ifdef HAVE_IEEEFP_H
39273                       #include <ieeefp.h>
39274                       #endif
39275
39276 int
39277 main ()
39278 {
39279  _isinf(0);
39280   ;
39281   return 0;
39282 }
39283 _ACEOF
39284 if ac_fn_cxx_try_compile "$LINENO"; then :
39285   glibcxx_cv_func__isinf_use=yes
39286 else
39287   glibcxx_cv_func__isinf_use=no
39288 fi
39289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39290       ac_ext=c
39291 ac_cpp='$CPP $CPPFLAGS'
39292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39295
39296
39297 fi
39298
39299   fi
39300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39301 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39302
39303     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39304       for ac_func in _isinf
39305 do :
39306   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39307 if test "x$ac_cv_func__isinf" = x""yes; then :
39308   cat >>confdefs.h <<_ACEOF
39309 #define HAVE__ISINF 1
39310 _ACEOF
39311
39312 fi
39313 done
39314
39315     fi
39316   fi
39317
39318
39319
39320
39321
39322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39323 $as_echo_n "checking for isnan declaration... " >&6; }
39324   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39325     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39326   $as_echo_n "(cached) " >&6
39327 else
39328
39329
39330       ac_ext=cpp
39331 ac_cpp='$CXXCPP $CPPFLAGS'
39332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39335
39336       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39337 /* end confdefs.h.  */
39338 #include <math.h>
39339                       #ifdef HAVE_IEEEFP_H
39340                       #include <ieeefp.h>
39341                       #endif
39342
39343 int
39344 main ()
39345 {
39346  isnan(0);
39347   ;
39348   return 0;
39349 }
39350 _ACEOF
39351 if ac_fn_cxx_try_compile "$LINENO"; then :
39352   glibcxx_cv_func_isnan_use=yes
39353 else
39354   glibcxx_cv_func_isnan_use=no
39355 fi
39356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39357       ac_ext=c
39358 ac_cpp='$CPP $CPPFLAGS'
39359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39362
39363
39364 fi
39365
39366   fi
39367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39368 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39369
39370   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39371     for ac_func in isnan
39372 do :
39373   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39374 if test "x$ac_cv_func_isnan" = x""yes; then :
39375   cat >>confdefs.h <<_ACEOF
39376 #define HAVE_ISNAN 1
39377 _ACEOF
39378
39379 fi
39380 done
39381
39382   else
39383
39384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39385 $as_echo_n "checking for _isnan declaration... " >&6; }
39386   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39387     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39388   $as_echo_n "(cached) " >&6
39389 else
39390
39391
39392       ac_ext=cpp
39393 ac_cpp='$CXXCPP $CPPFLAGS'
39394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39397
39398       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39399 /* end confdefs.h.  */
39400 #include <math.h>
39401                       #ifdef HAVE_IEEEFP_H
39402                       #include <ieeefp.h>
39403                       #endif
39404
39405 int
39406 main ()
39407 {
39408  _isnan(0);
39409   ;
39410   return 0;
39411 }
39412 _ACEOF
39413 if ac_fn_cxx_try_compile "$LINENO"; then :
39414   glibcxx_cv_func__isnan_use=yes
39415 else
39416   glibcxx_cv_func__isnan_use=no
39417 fi
39418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39419       ac_ext=c
39420 ac_cpp='$CPP $CPPFLAGS'
39421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39424
39425
39426 fi
39427
39428   fi
39429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39430 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39431
39432     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39433       for ac_func in _isnan
39434 do :
39435   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39436 if test "x$ac_cv_func__isnan" = x""yes; then :
39437   cat >>confdefs.h <<_ACEOF
39438 #define HAVE__ISNAN 1
39439 _ACEOF
39440
39441 fi
39442 done
39443
39444     fi
39445   fi
39446
39447
39448
39449
39450
39451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39452 $as_echo_n "checking for finite declaration... " >&6; }
39453   if test x${glibcxx_cv_func_finite_use+set} != xset; then
39454     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39455   $as_echo_n "(cached) " >&6
39456 else
39457
39458
39459       ac_ext=cpp
39460 ac_cpp='$CXXCPP $CPPFLAGS'
39461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39464
39465       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39466 /* end confdefs.h.  */
39467 #include <math.h>
39468                       #ifdef HAVE_IEEEFP_H
39469                       #include <ieeefp.h>
39470                       #endif
39471
39472 int
39473 main ()
39474 {
39475  finite(0);
39476   ;
39477   return 0;
39478 }
39479 _ACEOF
39480 if ac_fn_cxx_try_compile "$LINENO"; then :
39481   glibcxx_cv_func_finite_use=yes
39482 else
39483   glibcxx_cv_func_finite_use=no
39484 fi
39485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39486       ac_ext=c
39487 ac_cpp='$CPP $CPPFLAGS'
39488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39491
39492
39493 fi
39494
39495   fi
39496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39497 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39498
39499   if test x$glibcxx_cv_func_finite_use = x"yes"; then
39500     for ac_func in finite
39501 do :
39502   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39503 if test "x$ac_cv_func_finite" = x""yes; then :
39504   cat >>confdefs.h <<_ACEOF
39505 #define HAVE_FINITE 1
39506 _ACEOF
39507
39508 fi
39509 done
39510
39511   else
39512
39513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39514 $as_echo_n "checking for _finite declaration... " >&6; }
39515   if test x${glibcxx_cv_func__finite_use+set} != xset; then
39516     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39517   $as_echo_n "(cached) " >&6
39518 else
39519
39520
39521       ac_ext=cpp
39522 ac_cpp='$CXXCPP $CPPFLAGS'
39523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39526
39527       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39528 /* end confdefs.h.  */
39529 #include <math.h>
39530                       #ifdef HAVE_IEEEFP_H
39531                       #include <ieeefp.h>
39532                       #endif
39533
39534 int
39535 main ()
39536 {
39537  _finite(0);
39538   ;
39539   return 0;
39540 }
39541 _ACEOF
39542 if ac_fn_cxx_try_compile "$LINENO"; then :
39543   glibcxx_cv_func__finite_use=yes
39544 else
39545   glibcxx_cv_func__finite_use=no
39546 fi
39547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39548       ac_ext=c
39549 ac_cpp='$CPP $CPPFLAGS'
39550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39553
39554
39555 fi
39556
39557   fi
39558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39559 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39560
39561     if test x$glibcxx_cv_func__finite_use = x"yes"; then
39562       for ac_func in _finite
39563 do :
39564   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39565 if test "x$ac_cv_func__finite" = x""yes; then :
39566   cat >>confdefs.h <<_ACEOF
39567 #define HAVE__FINITE 1
39568 _ACEOF
39569
39570 fi
39571 done
39572
39573     fi
39574   fi
39575
39576
39577
39578
39579
39580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39581 $as_echo_n "checking for sincos declaration... " >&6; }
39582   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39583     if test "${glibcxx_cv_func_sincos_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 int
39598 main ()
39599 {
39600  sincos(0, 0, 0);
39601   ;
39602   return 0;
39603 }
39604 _ACEOF
39605 if ac_fn_cxx_try_compile "$LINENO"; then :
39606   glibcxx_cv_func_sincos_use=yes
39607 else
39608   glibcxx_cv_func_sincos_use=no
39609 fi
39610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39611       ac_ext=c
39612 ac_cpp='$CPP $CPPFLAGS'
39613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39616
39617
39618 fi
39619
39620   fi
39621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39622 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39623
39624   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39625     for ac_func in sincos
39626 do :
39627   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39628 if test "x$ac_cv_func_sincos" = x""yes; then :
39629   cat >>confdefs.h <<_ACEOF
39630 #define HAVE_SINCOS 1
39631 _ACEOF
39632
39633 fi
39634 done
39635
39636   else
39637
39638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39639 $as_echo_n "checking for _sincos declaration... " >&6; }
39640   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39641     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39642   $as_echo_n "(cached) " >&6
39643 else
39644
39645
39646       ac_ext=cpp
39647 ac_cpp='$CXXCPP $CPPFLAGS'
39648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39651
39652       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39653 /* end confdefs.h.  */
39654 #include <math.h>
39655 int
39656 main ()
39657 {
39658  _sincos(0, 0, 0);
39659   ;
39660   return 0;
39661 }
39662 _ACEOF
39663 if ac_fn_cxx_try_compile "$LINENO"; then :
39664   glibcxx_cv_func__sincos_use=yes
39665 else
39666   glibcxx_cv_func__sincos_use=no
39667 fi
39668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39669       ac_ext=c
39670 ac_cpp='$CPP $CPPFLAGS'
39671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39674
39675
39676 fi
39677
39678   fi
39679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39680 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39681
39682     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39683       for ac_func in _sincos
39684 do :
39685   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39686 if test "x$ac_cv_func__sincos" = x""yes; then :
39687   cat >>confdefs.h <<_ACEOF
39688 #define HAVE__SINCOS 1
39689 _ACEOF
39690
39691 fi
39692 done
39693
39694     fi
39695   fi
39696
39697
39698
39699
39700
39701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39702 $as_echo_n "checking for fpclass declaration... " >&6; }
39703   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39704     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39705   $as_echo_n "(cached) " >&6
39706 else
39707
39708
39709       ac_ext=cpp
39710 ac_cpp='$CXXCPP $CPPFLAGS'
39711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39714
39715       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39716 /* end confdefs.h.  */
39717 #include <math.h>
39718                       #ifdef HAVE_IEEEFP_H
39719                       #include <ieeefp.h>
39720                       #endif
39721
39722 int
39723 main ()
39724 {
39725  fpclass(0);
39726   ;
39727   return 0;
39728 }
39729 _ACEOF
39730 if ac_fn_cxx_try_compile "$LINENO"; then :
39731   glibcxx_cv_func_fpclass_use=yes
39732 else
39733   glibcxx_cv_func_fpclass_use=no
39734 fi
39735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39736       ac_ext=c
39737 ac_cpp='$CPP $CPPFLAGS'
39738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39741
39742
39743 fi
39744
39745   fi
39746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39747 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39748
39749   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39750     for ac_func in fpclass
39751 do :
39752   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39753 if test "x$ac_cv_func_fpclass" = x""yes; then :
39754   cat >>confdefs.h <<_ACEOF
39755 #define HAVE_FPCLASS 1
39756 _ACEOF
39757
39758 fi
39759 done
39760
39761   else
39762
39763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39764 $as_echo_n "checking for _fpclass declaration... " >&6; }
39765   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39766     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39767   $as_echo_n "(cached) " >&6
39768 else
39769
39770
39771       ac_ext=cpp
39772 ac_cpp='$CXXCPP $CPPFLAGS'
39773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39776
39777       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39778 /* end confdefs.h.  */
39779 #include <math.h>
39780                       #ifdef HAVE_IEEEFP_H
39781                       #include <ieeefp.h>
39782                       #endif
39783
39784 int
39785 main ()
39786 {
39787  _fpclass(0);
39788   ;
39789   return 0;
39790 }
39791 _ACEOF
39792 if ac_fn_cxx_try_compile "$LINENO"; then :
39793   glibcxx_cv_func__fpclass_use=yes
39794 else
39795   glibcxx_cv_func__fpclass_use=no
39796 fi
39797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39798       ac_ext=c
39799 ac_cpp='$CPP $CPPFLAGS'
39800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39803
39804
39805 fi
39806
39807   fi
39808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39809 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39810
39811     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39812       for ac_func in _fpclass
39813 do :
39814   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39815 if test "x$ac_cv_func__fpclass" = x""yes; then :
39816   cat >>confdefs.h <<_ACEOF
39817 #define HAVE__FPCLASS 1
39818 _ACEOF
39819
39820 fi
39821 done
39822
39823     fi
39824   fi
39825
39826
39827
39828
39829
39830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39831 $as_echo_n "checking for qfpclass declaration... " >&6; }
39832   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39833     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39834   $as_echo_n "(cached) " >&6
39835 else
39836
39837
39838       ac_ext=cpp
39839 ac_cpp='$CXXCPP $CPPFLAGS'
39840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39843
39844       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39845 /* end confdefs.h.  */
39846 #include <math.h>
39847                       #ifdef HAVE_IEEEFP_H
39848                       #include <ieeefp.h>
39849                       #endif
39850
39851 int
39852 main ()
39853 {
39854  qfpclass(0);
39855   ;
39856   return 0;
39857 }
39858 _ACEOF
39859 if ac_fn_cxx_try_compile "$LINENO"; then :
39860   glibcxx_cv_func_qfpclass_use=yes
39861 else
39862   glibcxx_cv_func_qfpclass_use=no
39863 fi
39864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39865       ac_ext=c
39866 ac_cpp='$CPP $CPPFLAGS'
39867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39870
39871
39872 fi
39873
39874   fi
39875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39876 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39877
39878   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39879     for ac_func in qfpclass
39880 do :
39881   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39882 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39883   cat >>confdefs.h <<_ACEOF
39884 #define HAVE_QFPCLASS 1
39885 _ACEOF
39886
39887 fi
39888 done
39889
39890   else
39891
39892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39893 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39894   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39895     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39896   $as_echo_n "(cached) " >&6
39897 else
39898
39899
39900       ac_ext=cpp
39901 ac_cpp='$CXXCPP $CPPFLAGS'
39902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39905
39906       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39907 /* end confdefs.h.  */
39908 #include <math.h>
39909                       #ifdef HAVE_IEEEFP_H
39910                       #include <ieeefp.h>
39911                       #endif
39912
39913 int
39914 main ()
39915 {
39916  _qfpclass(0);
39917   ;
39918   return 0;
39919 }
39920 _ACEOF
39921 if ac_fn_cxx_try_compile "$LINENO"; then :
39922   glibcxx_cv_func__qfpclass_use=yes
39923 else
39924   glibcxx_cv_func__qfpclass_use=no
39925 fi
39926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39927       ac_ext=c
39928 ac_cpp='$CPP $CPPFLAGS'
39929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39932
39933
39934 fi
39935
39936   fi
39937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39938 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39939
39940     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39941       for ac_func in _qfpclass
39942 do :
39943   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39944 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39945   cat >>confdefs.h <<_ACEOF
39946 #define HAVE__QFPCLASS 1
39947 _ACEOF
39948
39949 fi
39950 done
39951
39952     fi
39953   fi
39954
39955
39956
39957
39958
39959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39960 $as_echo_n "checking for hypot declaration... " >&6; }
39961   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39962     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39963   $as_echo_n "(cached) " >&6
39964 else
39965
39966
39967       ac_ext=cpp
39968 ac_cpp='$CXXCPP $CPPFLAGS'
39969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39972
39973       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39974 /* end confdefs.h.  */
39975 #include <math.h>
39976 int
39977 main ()
39978 {
39979  hypot(0, 0);
39980   ;
39981   return 0;
39982 }
39983 _ACEOF
39984 if ac_fn_cxx_try_compile "$LINENO"; then :
39985   glibcxx_cv_func_hypot_use=yes
39986 else
39987   glibcxx_cv_func_hypot_use=no
39988 fi
39989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39990       ac_ext=c
39991 ac_cpp='$CPP $CPPFLAGS'
39992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39995
39996
39997 fi
39998
39999   fi
40000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40001 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40002
40003   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40004     for ac_func in hypot
40005 do :
40006   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40007 if test "x$ac_cv_func_hypot" = x""yes; then :
40008   cat >>confdefs.h <<_ACEOF
40009 #define HAVE_HYPOT 1
40010 _ACEOF
40011
40012 fi
40013 done
40014
40015   else
40016
40017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40018 $as_echo_n "checking for _hypot declaration... " >&6; }
40019   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40020     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40021   $as_echo_n "(cached) " >&6
40022 else
40023
40024
40025       ac_ext=cpp
40026 ac_cpp='$CXXCPP $CPPFLAGS'
40027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40030
40031       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40032 /* end confdefs.h.  */
40033 #include <math.h>
40034 int
40035 main ()
40036 {
40037  _hypot(0, 0);
40038   ;
40039   return 0;
40040 }
40041 _ACEOF
40042 if ac_fn_cxx_try_compile "$LINENO"; then :
40043   glibcxx_cv_func__hypot_use=yes
40044 else
40045   glibcxx_cv_func__hypot_use=no
40046 fi
40047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40048       ac_ext=c
40049 ac_cpp='$CPP $CPPFLAGS'
40050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40053
40054
40055 fi
40056
40057   fi
40058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40059 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40060
40061     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40062       for ac_func in _hypot
40063 do :
40064   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40065 if test "x$ac_cv_func__hypot" = x""yes; then :
40066   cat >>confdefs.h <<_ACEOF
40067 #define HAVE__HYPOT 1
40068 _ACEOF
40069
40070 fi
40071 done
40072
40073     fi
40074   fi
40075
40076
40077
40078
40079
40080     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40081 $as_echo_n "checking for float trig functions... " >&6; }
40082   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40083   $as_echo_n "(cached) " >&6
40084 else
40085
40086
40087     ac_ext=cpp
40088 ac_cpp='$CXXCPP $CPPFLAGS'
40089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40092
40093     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40094 /* end confdefs.h.  */
40095 #include <math.h>
40096 int
40097 main ()
40098 {
40099 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40100   ;
40101   return 0;
40102 }
40103 _ACEOF
40104 if ac_fn_cxx_try_compile "$LINENO"; then :
40105   glibcxx_cv_func_float_trig_use=yes
40106 else
40107   glibcxx_cv_func_float_trig_use=no
40108 fi
40109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40110     ac_ext=c
40111 ac_cpp='$CPP $CPPFLAGS'
40112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40115
40116 fi
40117
40118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40119 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40120   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40121     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40122 do :
40123   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40124 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40125 eval as_val=\$$as_ac_var
40126    if test "x$as_val" = x""yes; then :
40127   cat >>confdefs.h <<_ACEOF
40128 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40129 _ACEOF
40130
40131 fi
40132 done
40133
40134   else
40135     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40136 $as_echo_n "checking for _float trig functions... " >&6; }
40137     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40138   $as_echo_n "(cached) " >&6
40139 else
40140
40141
40142       ac_ext=cpp
40143 ac_cpp='$CXXCPP $CPPFLAGS'
40144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40147
40148       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40149 /* end confdefs.h.  */
40150 #include <math.h>
40151 int
40152 main ()
40153 {
40154 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40155   ;
40156   return 0;
40157 }
40158 _ACEOF
40159 if ac_fn_cxx_try_compile "$LINENO"; then :
40160   glibcxx_cv_func__float_trig_use=yes
40161 else
40162   glibcxx_cv_func__float_trig_use=no
40163 fi
40164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40165       ac_ext=c
40166 ac_cpp='$CPP $CPPFLAGS'
40167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40170
40171 fi
40172
40173     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40174 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40175     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40176       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40177 do :
40178   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40179 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40180 eval as_val=\$$as_ac_var
40181    if test "x$as_val" = x""yes; then :
40182   cat >>confdefs.h <<_ACEOF
40183 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40184 _ACEOF
40185
40186 fi
40187 done
40188
40189     fi
40190   fi
40191
40192
40193
40194
40195
40196     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40197 $as_echo_n "checking for float round functions... " >&6; }
40198   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40199   $as_echo_n "(cached) " >&6
40200 else
40201
40202
40203     ac_ext=cpp
40204 ac_cpp='$CXXCPP $CPPFLAGS'
40205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40208
40209     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40210 /* end confdefs.h.  */
40211 #include <math.h>
40212 int
40213 main ()
40214 {
40215 ceilf (0); floorf (0);
40216   ;
40217   return 0;
40218 }
40219 _ACEOF
40220 if ac_fn_cxx_try_compile "$LINENO"; then :
40221   glibcxx_cv_func_float_round_use=yes
40222 else
40223   glibcxx_cv_func_float_round_use=no
40224 fi
40225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40226     ac_ext=c
40227 ac_cpp='$CPP $CPPFLAGS'
40228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40231
40232 fi
40233
40234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40235 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40236   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40237     for ac_func in ceilf floorf
40238 do :
40239   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40240 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40241 eval as_val=\$$as_ac_var
40242    if test "x$as_val" = x""yes; then :
40243   cat >>confdefs.h <<_ACEOF
40244 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40245 _ACEOF
40246
40247 fi
40248 done
40249
40250   else
40251     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40252 $as_echo_n "checking for _float round functions... " >&6; }
40253     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40254   $as_echo_n "(cached) " >&6
40255 else
40256
40257
40258       ac_ext=cpp
40259 ac_cpp='$CXXCPP $CPPFLAGS'
40260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40263
40264       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40265 /* end confdefs.h.  */
40266 #include <math.h>
40267 int
40268 main ()
40269 {
40270 _ceilf (0); _floorf (0);
40271   ;
40272   return 0;
40273 }
40274 _ACEOF
40275 if ac_fn_cxx_try_compile "$LINENO"; then :
40276   glibcxx_cv_func__float_round_use=yes
40277 else
40278   glibcxx_cv_func__float_round_use=no
40279 fi
40280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40281       ac_ext=c
40282 ac_cpp='$CPP $CPPFLAGS'
40283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40286
40287 fi
40288
40289     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40290 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40291     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40292       for ac_func in _ceilf _floorf
40293 do :
40294   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40295 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40296 eval as_val=\$$as_ac_var
40297    if test "x$as_val" = x""yes; then :
40298   cat >>confdefs.h <<_ACEOF
40299 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40300 _ACEOF
40301
40302 fi
40303 done
40304
40305     fi
40306   fi
40307
40308
40309
40310
40311
40312
40313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40314 $as_echo_n "checking for expf declaration... " >&6; }
40315   if test x${glibcxx_cv_func_expf_use+set} != xset; then
40316     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40317   $as_echo_n "(cached) " >&6
40318 else
40319
40320
40321       ac_ext=cpp
40322 ac_cpp='$CXXCPP $CPPFLAGS'
40323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40326
40327       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40328 /* end confdefs.h.  */
40329 #include <math.h>
40330                       #ifdef HAVE_IEEEFP_H
40331                       #include <ieeefp.h>
40332                       #endif
40333
40334 int
40335 main ()
40336 {
40337  expf(0);
40338   ;
40339   return 0;
40340 }
40341 _ACEOF
40342 if ac_fn_cxx_try_compile "$LINENO"; then :
40343   glibcxx_cv_func_expf_use=yes
40344 else
40345   glibcxx_cv_func_expf_use=no
40346 fi
40347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40348       ac_ext=c
40349 ac_cpp='$CPP $CPPFLAGS'
40350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40353
40354
40355 fi
40356
40357   fi
40358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40359 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40360
40361   if test x$glibcxx_cv_func_expf_use = x"yes"; then
40362     for ac_func in expf
40363 do :
40364   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40365 if test "x$ac_cv_func_expf" = x""yes; then :
40366   cat >>confdefs.h <<_ACEOF
40367 #define HAVE_EXPF 1
40368 _ACEOF
40369
40370 fi
40371 done
40372
40373   else
40374
40375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40376 $as_echo_n "checking for _expf declaration... " >&6; }
40377   if test x${glibcxx_cv_func__expf_use+set} != xset; then
40378     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40379   $as_echo_n "(cached) " >&6
40380 else
40381
40382
40383       ac_ext=cpp
40384 ac_cpp='$CXXCPP $CPPFLAGS'
40385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40388
40389       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40390 /* end confdefs.h.  */
40391 #include <math.h>
40392                       #ifdef HAVE_IEEEFP_H
40393                       #include <ieeefp.h>
40394                       #endif
40395
40396 int
40397 main ()
40398 {
40399  _expf(0);
40400   ;
40401   return 0;
40402 }
40403 _ACEOF
40404 if ac_fn_cxx_try_compile "$LINENO"; then :
40405   glibcxx_cv_func__expf_use=yes
40406 else
40407   glibcxx_cv_func__expf_use=no
40408 fi
40409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40410       ac_ext=c
40411 ac_cpp='$CPP $CPPFLAGS'
40412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40415
40416
40417 fi
40418
40419   fi
40420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40421 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40422
40423     if test x$glibcxx_cv_func__expf_use = x"yes"; then
40424       for ac_func in _expf
40425 do :
40426   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40427 if test "x$ac_cv_func__expf" = x""yes; then :
40428   cat >>confdefs.h <<_ACEOF
40429 #define HAVE__EXPF 1
40430 _ACEOF
40431
40432 fi
40433 done
40434
40435     fi
40436   fi
40437
40438
40439
40440
40441
40442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40443 $as_echo_n "checking for isnanf declaration... " >&6; }
40444   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40445     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40446   $as_echo_n "(cached) " >&6
40447 else
40448
40449
40450       ac_ext=cpp
40451 ac_cpp='$CXXCPP $CPPFLAGS'
40452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40455
40456       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40457 /* end confdefs.h.  */
40458 #include <math.h>
40459                       #ifdef HAVE_IEEEFP_H
40460                       #include <ieeefp.h>
40461                       #endif
40462
40463 int
40464 main ()
40465 {
40466  isnanf(0);
40467   ;
40468   return 0;
40469 }
40470 _ACEOF
40471 if ac_fn_cxx_try_compile "$LINENO"; then :
40472   glibcxx_cv_func_isnanf_use=yes
40473 else
40474   glibcxx_cv_func_isnanf_use=no
40475 fi
40476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40477       ac_ext=c
40478 ac_cpp='$CPP $CPPFLAGS'
40479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40482
40483
40484 fi
40485
40486   fi
40487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40488 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40489
40490   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40491     for ac_func in isnanf
40492 do :
40493   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40494 if test "x$ac_cv_func_isnanf" = x""yes; then :
40495   cat >>confdefs.h <<_ACEOF
40496 #define HAVE_ISNANF 1
40497 _ACEOF
40498
40499 fi
40500 done
40501
40502   else
40503
40504   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40505 $as_echo_n "checking for _isnanf declaration... " >&6; }
40506   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40507     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40508   $as_echo_n "(cached) " >&6
40509 else
40510
40511
40512       ac_ext=cpp
40513 ac_cpp='$CXXCPP $CPPFLAGS'
40514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40517
40518       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40519 /* end confdefs.h.  */
40520 #include <math.h>
40521                       #ifdef HAVE_IEEEFP_H
40522                       #include <ieeefp.h>
40523                       #endif
40524
40525 int
40526 main ()
40527 {
40528  _isnanf(0);
40529   ;
40530   return 0;
40531 }
40532 _ACEOF
40533 if ac_fn_cxx_try_compile "$LINENO"; then :
40534   glibcxx_cv_func__isnanf_use=yes
40535 else
40536   glibcxx_cv_func__isnanf_use=no
40537 fi
40538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40539       ac_ext=c
40540 ac_cpp='$CPP $CPPFLAGS'
40541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40544
40545
40546 fi
40547
40548   fi
40549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40550 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40551
40552     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40553       for ac_func in _isnanf
40554 do :
40555   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40556 if test "x$ac_cv_func__isnanf" = x""yes; then :
40557   cat >>confdefs.h <<_ACEOF
40558 #define HAVE__ISNANF 1
40559 _ACEOF
40560
40561 fi
40562 done
40563
40564     fi
40565   fi
40566
40567
40568
40569
40570
40571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40572 $as_echo_n "checking for isinff declaration... " >&6; }
40573   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40574     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40575   $as_echo_n "(cached) " >&6
40576 else
40577
40578
40579       ac_ext=cpp
40580 ac_cpp='$CXXCPP $CPPFLAGS'
40581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40584
40585       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40586 /* end confdefs.h.  */
40587 #include <math.h>
40588                       #ifdef HAVE_IEEEFP_H
40589                       #include <ieeefp.h>
40590                       #endif
40591
40592 int
40593 main ()
40594 {
40595  isinff(0);
40596   ;
40597   return 0;
40598 }
40599 _ACEOF
40600 if ac_fn_cxx_try_compile "$LINENO"; then :
40601   glibcxx_cv_func_isinff_use=yes
40602 else
40603   glibcxx_cv_func_isinff_use=no
40604 fi
40605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40606       ac_ext=c
40607 ac_cpp='$CPP $CPPFLAGS'
40608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40611
40612
40613 fi
40614
40615   fi
40616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40617 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40618
40619   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40620     for ac_func in isinff
40621 do :
40622   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40623 if test "x$ac_cv_func_isinff" = x""yes; then :
40624   cat >>confdefs.h <<_ACEOF
40625 #define HAVE_ISINFF 1
40626 _ACEOF
40627
40628 fi
40629 done
40630
40631   else
40632
40633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40634 $as_echo_n "checking for _isinff declaration... " >&6; }
40635   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40636     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40637   $as_echo_n "(cached) " >&6
40638 else
40639
40640
40641       ac_ext=cpp
40642 ac_cpp='$CXXCPP $CPPFLAGS'
40643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40646
40647       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40648 /* end confdefs.h.  */
40649 #include <math.h>
40650                       #ifdef HAVE_IEEEFP_H
40651                       #include <ieeefp.h>
40652                       #endif
40653
40654 int
40655 main ()
40656 {
40657  _isinff(0);
40658   ;
40659   return 0;
40660 }
40661 _ACEOF
40662 if ac_fn_cxx_try_compile "$LINENO"; then :
40663   glibcxx_cv_func__isinff_use=yes
40664 else
40665   glibcxx_cv_func__isinff_use=no
40666 fi
40667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40668       ac_ext=c
40669 ac_cpp='$CPP $CPPFLAGS'
40670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40673
40674
40675 fi
40676
40677   fi
40678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40679 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40680
40681     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40682       for ac_func in _isinff
40683 do :
40684   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40685 if test "x$ac_cv_func__isinff" = x""yes; then :
40686   cat >>confdefs.h <<_ACEOF
40687 #define HAVE__ISINFF 1
40688 _ACEOF
40689
40690 fi
40691 done
40692
40693     fi
40694   fi
40695
40696
40697
40698
40699
40700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40701 $as_echo_n "checking for atan2f declaration... " >&6; }
40702   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40703     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40704   $as_echo_n "(cached) " >&6
40705 else
40706
40707
40708       ac_ext=cpp
40709 ac_cpp='$CXXCPP $CPPFLAGS'
40710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40713
40714       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40715 /* end confdefs.h.  */
40716 #include <math.h>
40717 int
40718 main ()
40719 {
40720  atan2f(0, 0);
40721   ;
40722   return 0;
40723 }
40724 _ACEOF
40725 if ac_fn_cxx_try_compile "$LINENO"; then :
40726   glibcxx_cv_func_atan2f_use=yes
40727 else
40728   glibcxx_cv_func_atan2f_use=no
40729 fi
40730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40731       ac_ext=c
40732 ac_cpp='$CPP $CPPFLAGS'
40733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40736
40737
40738 fi
40739
40740   fi
40741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40742 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40743
40744   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40745     for ac_func in atan2f
40746 do :
40747   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40748 if test "x$ac_cv_func_atan2f" = x""yes; then :
40749   cat >>confdefs.h <<_ACEOF
40750 #define HAVE_ATAN2F 1
40751 _ACEOF
40752
40753 fi
40754 done
40755
40756   else
40757
40758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40759 $as_echo_n "checking for _atan2f declaration... " >&6; }
40760   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40761     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40762   $as_echo_n "(cached) " >&6
40763 else
40764
40765
40766       ac_ext=cpp
40767 ac_cpp='$CXXCPP $CPPFLAGS'
40768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40771
40772       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40773 /* end confdefs.h.  */
40774 #include <math.h>
40775 int
40776 main ()
40777 {
40778  _atan2f(0, 0);
40779   ;
40780   return 0;
40781 }
40782 _ACEOF
40783 if ac_fn_cxx_try_compile "$LINENO"; then :
40784   glibcxx_cv_func__atan2f_use=yes
40785 else
40786   glibcxx_cv_func__atan2f_use=no
40787 fi
40788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40789       ac_ext=c
40790 ac_cpp='$CPP $CPPFLAGS'
40791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40794
40795
40796 fi
40797
40798   fi
40799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40800 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40801
40802     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40803       for ac_func in _atan2f
40804 do :
40805   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40806 if test "x$ac_cv_func__atan2f" = x""yes; then :
40807   cat >>confdefs.h <<_ACEOF
40808 #define HAVE__ATAN2F 1
40809 _ACEOF
40810
40811 fi
40812 done
40813
40814     fi
40815   fi
40816
40817
40818
40819
40820
40821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40822 $as_echo_n "checking for fabsf declaration... " >&6; }
40823   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40824     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40825   $as_echo_n "(cached) " >&6
40826 else
40827
40828
40829       ac_ext=cpp
40830 ac_cpp='$CXXCPP $CPPFLAGS'
40831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40834
40835       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40836 /* end confdefs.h.  */
40837 #include <math.h>
40838                       #ifdef HAVE_IEEEFP_H
40839                       #include <ieeefp.h>
40840                       #endif
40841
40842 int
40843 main ()
40844 {
40845  fabsf(0);
40846   ;
40847   return 0;
40848 }
40849 _ACEOF
40850 if ac_fn_cxx_try_compile "$LINENO"; then :
40851   glibcxx_cv_func_fabsf_use=yes
40852 else
40853   glibcxx_cv_func_fabsf_use=no
40854 fi
40855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40856       ac_ext=c
40857 ac_cpp='$CPP $CPPFLAGS'
40858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40861
40862
40863 fi
40864
40865   fi
40866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40867 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40868
40869   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40870     for ac_func in fabsf
40871 do :
40872   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40873 if test "x$ac_cv_func_fabsf" = x""yes; then :
40874   cat >>confdefs.h <<_ACEOF
40875 #define HAVE_FABSF 1
40876 _ACEOF
40877
40878 fi
40879 done
40880
40881   else
40882
40883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40884 $as_echo_n "checking for _fabsf declaration... " >&6; }
40885   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40886     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40887   $as_echo_n "(cached) " >&6
40888 else
40889
40890
40891       ac_ext=cpp
40892 ac_cpp='$CXXCPP $CPPFLAGS'
40893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40896
40897       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40898 /* end confdefs.h.  */
40899 #include <math.h>
40900                       #ifdef HAVE_IEEEFP_H
40901                       #include <ieeefp.h>
40902                       #endif
40903
40904 int
40905 main ()
40906 {
40907  _fabsf(0);
40908   ;
40909   return 0;
40910 }
40911 _ACEOF
40912 if ac_fn_cxx_try_compile "$LINENO"; then :
40913   glibcxx_cv_func__fabsf_use=yes
40914 else
40915   glibcxx_cv_func__fabsf_use=no
40916 fi
40917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40918       ac_ext=c
40919 ac_cpp='$CPP $CPPFLAGS'
40920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40923
40924
40925 fi
40926
40927   fi
40928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40929 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40930
40931     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40932       for ac_func in _fabsf
40933 do :
40934   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40935 if test "x$ac_cv_func__fabsf" = x""yes; then :
40936   cat >>confdefs.h <<_ACEOF
40937 #define HAVE__FABSF 1
40938 _ACEOF
40939
40940 fi
40941 done
40942
40943     fi
40944   fi
40945
40946
40947
40948
40949
40950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40951 $as_echo_n "checking for fmodf declaration... " >&6; }
40952   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40953     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40954   $as_echo_n "(cached) " >&6
40955 else
40956
40957
40958       ac_ext=cpp
40959 ac_cpp='$CXXCPP $CPPFLAGS'
40960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40963
40964       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40965 /* end confdefs.h.  */
40966 #include <math.h>
40967 int
40968 main ()
40969 {
40970  fmodf(0, 0);
40971   ;
40972   return 0;
40973 }
40974 _ACEOF
40975 if ac_fn_cxx_try_compile "$LINENO"; then :
40976   glibcxx_cv_func_fmodf_use=yes
40977 else
40978   glibcxx_cv_func_fmodf_use=no
40979 fi
40980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40981       ac_ext=c
40982 ac_cpp='$CPP $CPPFLAGS'
40983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40986
40987
40988 fi
40989
40990   fi
40991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40992 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40993
40994   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40995     for ac_func in fmodf
40996 do :
40997   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40998 if test "x$ac_cv_func_fmodf" = x""yes; then :
40999   cat >>confdefs.h <<_ACEOF
41000 #define HAVE_FMODF 1
41001 _ACEOF
41002
41003 fi
41004 done
41005
41006   else
41007
41008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41009 $as_echo_n "checking for _fmodf declaration... " >&6; }
41010   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41011     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41012   $as_echo_n "(cached) " >&6
41013 else
41014
41015
41016       ac_ext=cpp
41017 ac_cpp='$CXXCPP $CPPFLAGS'
41018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41021
41022       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41023 /* end confdefs.h.  */
41024 #include <math.h>
41025 int
41026 main ()
41027 {
41028  _fmodf(0, 0);
41029   ;
41030   return 0;
41031 }
41032 _ACEOF
41033 if ac_fn_cxx_try_compile "$LINENO"; then :
41034   glibcxx_cv_func__fmodf_use=yes
41035 else
41036   glibcxx_cv_func__fmodf_use=no
41037 fi
41038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41039       ac_ext=c
41040 ac_cpp='$CPP $CPPFLAGS'
41041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41044
41045
41046 fi
41047
41048   fi
41049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41050 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41051
41052     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41053       for ac_func in _fmodf
41054 do :
41055   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41056 if test "x$ac_cv_func__fmodf" = x""yes; then :
41057   cat >>confdefs.h <<_ACEOF
41058 #define HAVE__FMODF 1
41059 _ACEOF
41060
41061 fi
41062 done
41063
41064     fi
41065   fi
41066
41067
41068
41069
41070
41071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41072 $as_echo_n "checking for frexpf declaration... " >&6; }
41073   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41074     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41075   $as_echo_n "(cached) " >&6
41076 else
41077
41078
41079       ac_ext=cpp
41080 ac_cpp='$CXXCPP $CPPFLAGS'
41081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41084
41085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41086 /* end confdefs.h.  */
41087 #include <math.h>
41088 int
41089 main ()
41090 {
41091  frexpf(0, 0);
41092   ;
41093   return 0;
41094 }
41095 _ACEOF
41096 if ac_fn_cxx_try_compile "$LINENO"; then :
41097   glibcxx_cv_func_frexpf_use=yes
41098 else
41099   glibcxx_cv_func_frexpf_use=no
41100 fi
41101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41102       ac_ext=c
41103 ac_cpp='$CPP $CPPFLAGS'
41104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41107
41108
41109 fi
41110
41111   fi
41112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41113 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41114
41115   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41116     for ac_func in frexpf
41117 do :
41118   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41119 if test "x$ac_cv_func_frexpf" = x""yes; then :
41120   cat >>confdefs.h <<_ACEOF
41121 #define HAVE_FREXPF 1
41122 _ACEOF
41123
41124 fi
41125 done
41126
41127   else
41128
41129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41130 $as_echo_n "checking for _frexpf declaration... " >&6; }
41131   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41132     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41133   $as_echo_n "(cached) " >&6
41134 else
41135
41136
41137       ac_ext=cpp
41138 ac_cpp='$CXXCPP $CPPFLAGS'
41139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41142
41143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41144 /* end confdefs.h.  */
41145 #include <math.h>
41146 int
41147 main ()
41148 {
41149  _frexpf(0, 0);
41150   ;
41151   return 0;
41152 }
41153 _ACEOF
41154 if ac_fn_cxx_try_compile "$LINENO"; then :
41155   glibcxx_cv_func__frexpf_use=yes
41156 else
41157   glibcxx_cv_func__frexpf_use=no
41158 fi
41159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41160       ac_ext=c
41161 ac_cpp='$CPP $CPPFLAGS'
41162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41165
41166
41167 fi
41168
41169   fi
41170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41171 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41172
41173     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41174       for ac_func in _frexpf
41175 do :
41176   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41177 if test "x$ac_cv_func__frexpf" = x""yes; then :
41178   cat >>confdefs.h <<_ACEOF
41179 #define HAVE__FREXPF 1
41180 _ACEOF
41181
41182 fi
41183 done
41184
41185     fi
41186   fi
41187
41188
41189
41190
41191
41192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41193 $as_echo_n "checking for hypotf declaration... " >&6; }
41194   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41195     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41196   $as_echo_n "(cached) " >&6
41197 else
41198
41199
41200       ac_ext=cpp
41201 ac_cpp='$CXXCPP $CPPFLAGS'
41202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41205
41206       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41207 /* end confdefs.h.  */
41208 #include <math.h>
41209 int
41210 main ()
41211 {
41212  hypotf(0, 0);
41213   ;
41214   return 0;
41215 }
41216 _ACEOF
41217 if ac_fn_cxx_try_compile "$LINENO"; then :
41218   glibcxx_cv_func_hypotf_use=yes
41219 else
41220   glibcxx_cv_func_hypotf_use=no
41221 fi
41222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41223       ac_ext=c
41224 ac_cpp='$CPP $CPPFLAGS'
41225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41228
41229
41230 fi
41231
41232   fi
41233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41234 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41235
41236   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41237     for ac_func in hypotf
41238 do :
41239   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41240 if test "x$ac_cv_func_hypotf" = x""yes; then :
41241   cat >>confdefs.h <<_ACEOF
41242 #define HAVE_HYPOTF 1
41243 _ACEOF
41244
41245 fi
41246 done
41247
41248   else
41249
41250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41251 $as_echo_n "checking for _hypotf declaration... " >&6; }
41252   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41253     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41254   $as_echo_n "(cached) " >&6
41255 else
41256
41257
41258       ac_ext=cpp
41259 ac_cpp='$CXXCPP $CPPFLAGS'
41260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41263
41264       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41265 /* end confdefs.h.  */
41266 #include <math.h>
41267 int
41268 main ()
41269 {
41270  _hypotf(0, 0);
41271   ;
41272   return 0;
41273 }
41274 _ACEOF
41275 if ac_fn_cxx_try_compile "$LINENO"; then :
41276   glibcxx_cv_func__hypotf_use=yes
41277 else
41278   glibcxx_cv_func__hypotf_use=no
41279 fi
41280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41281       ac_ext=c
41282 ac_cpp='$CPP $CPPFLAGS'
41283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41286
41287
41288 fi
41289
41290   fi
41291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41292 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41293
41294     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41295       for ac_func in _hypotf
41296 do :
41297   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41298 if test "x$ac_cv_func__hypotf" = x""yes; then :
41299   cat >>confdefs.h <<_ACEOF
41300 #define HAVE__HYPOTF 1
41301 _ACEOF
41302
41303 fi
41304 done
41305
41306     fi
41307   fi
41308
41309
41310
41311
41312
41313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41314 $as_echo_n "checking for ldexpf declaration... " >&6; }
41315   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41316     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41317   $as_echo_n "(cached) " >&6
41318 else
41319
41320
41321       ac_ext=cpp
41322 ac_cpp='$CXXCPP $CPPFLAGS'
41323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41326
41327       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41328 /* end confdefs.h.  */
41329 #include <math.h>
41330 int
41331 main ()
41332 {
41333  ldexpf(0, 0);
41334   ;
41335   return 0;
41336 }
41337 _ACEOF
41338 if ac_fn_cxx_try_compile "$LINENO"; then :
41339   glibcxx_cv_func_ldexpf_use=yes
41340 else
41341   glibcxx_cv_func_ldexpf_use=no
41342 fi
41343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41344       ac_ext=c
41345 ac_cpp='$CPP $CPPFLAGS'
41346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41349
41350
41351 fi
41352
41353   fi
41354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41355 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41356
41357   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41358     for ac_func in ldexpf
41359 do :
41360   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41361 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41362   cat >>confdefs.h <<_ACEOF
41363 #define HAVE_LDEXPF 1
41364 _ACEOF
41365
41366 fi
41367 done
41368
41369   else
41370
41371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41372 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41373   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41374     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41375   $as_echo_n "(cached) " >&6
41376 else
41377
41378
41379       ac_ext=cpp
41380 ac_cpp='$CXXCPP $CPPFLAGS'
41381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41384
41385       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41386 /* end confdefs.h.  */
41387 #include <math.h>
41388 int
41389 main ()
41390 {
41391  _ldexpf(0, 0);
41392   ;
41393   return 0;
41394 }
41395 _ACEOF
41396 if ac_fn_cxx_try_compile "$LINENO"; then :
41397   glibcxx_cv_func__ldexpf_use=yes
41398 else
41399   glibcxx_cv_func__ldexpf_use=no
41400 fi
41401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41402       ac_ext=c
41403 ac_cpp='$CPP $CPPFLAGS'
41404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41407
41408
41409 fi
41410
41411   fi
41412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41413 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41414
41415     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41416       for ac_func in _ldexpf
41417 do :
41418   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41419 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41420   cat >>confdefs.h <<_ACEOF
41421 #define HAVE__LDEXPF 1
41422 _ACEOF
41423
41424 fi
41425 done
41426
41427     fi
41428   fi
41429
41430
41431
41432
41433
41434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41435 $as_echo_n "checking for logf declaration... " >&6; }
41436   if test x${glibcxx_cv_func_logf_use+set} != xset; then
41437     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41438   $as_echo_n "(cached) " >&6
41439 else
41440
41441
41442       ac_ext=cpp
41443 ac_cpp='$CXXCPP $CPPFLAGS'
41444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41447
41448       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41449 /* end confdefs.h.  */
41450 #include <math.h>
41451                       #ifdef HAVE_IEEEFP_H
41452                       #include <ieeefp.h>
41453                       #endif
41454
41455 int
41456 main ()
41457 {
41458  logf(0);
41459   ;
41460   return 0;
41461 }
41462 _ACEOF
41463 if ac_fn_cxx_try_compile "$LINENO"; then :
41464   glibcxx_cv_func_logf_use=yes
41465 else
41466   glibcxx_cv_func_logf_use=no
41467 fi
41468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41469       ac_ext=c
41470 ac_cpp='$CPP $CPPFLAGS'
41471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41474
41475
41476 fi
41477
41478   fi
41479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41480 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41481
41482   if test x$glibcxx_cv_func_logf_use = x"yes"; then
41483     for ac_func in logf
41484 do :
41485   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41486 if test "x$ac_cv_func_logf" = x""yes; then :
41487   cat >>confdefs.h <<_ACEOF
41488 #define HAVE_LOGF 1
41489 _ACEOF
41490
41491 fi
41492 done
41493
41494   else
41495
41496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41497 $as_echo_n "checking for _logf declaration... " >&6; }
41498   if test x${glibcxx_cv_func__logf_use+set} != xset; then
41499     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41500   $as_echo_n "(cached) " >&6
41501 else
41502
41503
41504       ac_ext=cpp
41505 ac_cpp='$CXXCPP $CPPFLAGS'
41506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41509
41510       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41511 /* end confdefs.h.  */
41512 #include <math.h>
41513                       #ifdef HAVE_IEEEFP_H
41514                       #include <ieeefp.h>
41515                       #endif
41516
41517 int
41518 main ()
41519 {
41520  _logf(0);
41521   ;
41522   return 0;
41523 }
41524 _ACEOF
41525 if ac_fn_cxx_try_compile "$LINENO"; then :
41526   glibcxx_cv_func__logf_use=yes
41527 else
41528   glibcxx_cv_func__logf_use=no
41529 fi
41530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41531       ac_ext=c
41532 ac_cpp='$CPP $CPPFLAGS'
41533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41536
41537
41538 fi
41539
41540   fi
41541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41542 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41543
41544     if test x$glibcxx_cv_func__logf_use = x"yes"; then
41545       for ac_func in _logf
41546 do :
41547   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41548 if test "x$ac_cv_func__logf" = x""yes; then :
41549   cat >>confdefs.h <<_ACEOF
41550 #define HAVE__LOGF 1
41551 _ACEOF
41552
41553 fi
41554 done
41555
41556     fi
41557   fi
41558
41559
41560
41561
41562
41563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41564 $as_echo_n "checking for log10f declaration... " >&6; }
41565   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41566     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41567   $as_echo_n "(cached) " >&6
41568 else
41569
41570
41571       ac_ext=cpp
41572 ac_cpp='$CXXCPP $CPPFLAGS'
41573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41576
41577       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41578 /* end confdefs.h.  */
41579 #include <math.h>
41580                       #ifdef HAVE_IEEEFP_H
41581                       #include <ieeefp.h>
41582                       #endif
41583
41584 int
41585 main ()
41586 {
41587  log10f(0);
41588   ;
41589   return 0;
41590 }
41591 _ACEOF
41592 if ac_fn_cxx_try_compile "$LINENO"; then :
41593   glibcxx_cv_func_log10f_use=yes
41594 else
41595   glibcxx_cv_func_log10f_use=no
41596 fi
41597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41598       ac_ext=c
41599 ac_cpp='$CPP $CPPFLAGS'
41600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41603
41604
41605 fi
41606
41607   fi
41608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41609 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41610
41611   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41612     for ac_func in log10f
41613 do :
41614   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41615 if test "x$ac_cv_func_log10f" = x""yes; then :
41616   cat >>confdefs.h <<_ACEOF
41617 #define HAVE_LOG10F 1
41618 _ACEOF
41619
41620 fi
41621 done
41622
41623   else
41624
41625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41626 $as_echo_n "checking for _log10f declaration... " >&6; }
41627   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41628     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41629   $as_echo_n "(cached) " >&6
41630 else
41631
41632
41633       ac_ext=cpp
41634 ac_cpp='$CXXCPP $CPPFLAGS'
41635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41638
41639       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41640 /* end confdefs.h.  */
41641 #include <math.h>
41642                       #ifdef HAVE_IEEEFP_H
41643                       #include <ieeefp.h>
41644                       #endif
41645
41646 int
41647 main ()
41648 {
41649  _log10f(0);
41650   ;
41651   return 0;
41652 }
41653 _ACEOF
41654 if ac_fn_cxx_try_compile "$LINENO"; then :
41655   glibcxx_cv_func__log10f_use=yes
41656 else
41657   glibcxx_cv_func__log10f_use=no
41658 fi
41659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41660       ac_ext=c
41661 ac_cpp='$CPP $CPPFLAGS'
41662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41665
41666
41667 fi
41668
41669   fi
41670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41671 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41672
41673     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41674       for ac_func in _log10f
41675 do :
41676   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41677 if test "x$ac_cv_func__log10f" = x""yes; then :
41678   cat >>confdefs.h <<_ACEOF
41679 #define HAVE__LOG10F 1
41680 _ACEOF
41681
41682 fi
41683 done
41684
41685     fi
41686   fi
41687
41688
41689
41690
41691
41692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41693 $as_echo_n "checking for modff declaration... " >&6; }
41694   if test x${glibcxx_cv_func_modff_use+set} != xset; then
41695     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41696   $as_echo_n "(cached) " >&6
41697 else
41698
41699
41700       ac_ext=cpp
41701 ac_cpp='$CXXCPP $CPPFLAGS'
41702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41705
41706       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41707 /* end confdefs.h.  */
41708 #include <math.h>
41709 int
41710 main ()
41711 {
41712  modff(0, 0);
41713   ;
41714   return 0;
41715 }
41716 _ACEOF
41717 if ac_fn_cxx_try_compile "$LINENO"; then :
41718   glibcxx_cv_func_modff_use=yes
41719 else
41720   glibcxx_cv_func_modff_use=no
41721 fi
41722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41723       ac_ext=c
41724 ac_cpp='$CPP $CPPFLAGS'
41725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41728
41729
41730 fi
41731
41732   fi
41733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41734 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41735
41736   if test x$glibcxx_cv_func_modff_use = x"yes"; then
41737     for ac_func in modff
41738 do :
41739   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41740 if test "x$ac_cv_func_modff" = x""yes; then :
41741   cat >>confdefs.h <<_ACEOF
41742 #define HAVE_MODFF 1
41743 _ACEOF
41744
41745 fi
41746 done
41747
41748   else
41749
41750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41751 $as_echo_n "checking for _modff declaration... " >&6; }
41752   if test x${glibcxx_cv_func__modff_use+set} != xset; then
41753     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41754   $as_echo_n "(cached) " >&6
41755 else
41756
41757
41758       ac_ext=cpp
41759 ac_cpp='$CXXCPP $CPPFLAGS'
41760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41763
41764       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41765 /* end confdefs.h.  */
41766 #include <math.h>
41767 int
41768 main ()
41769 {
41770  _modff(0, 0);
41771   ;
41772   return 0;
41773 }
41774 _ACEOF
41775 if ac_fn_cxx_try_compile "$LINENO"; then :
41776   glibcxx_cv_func__modff_use=yes
41777 else
41778   glibcxx_cv_func__modff_use=no
41779 fi
41780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41781       ac_ext=c
41782 ac_cpp='$CPP $CPPFLAGS'
41783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41786
41787
41788 fi
41789
41790   fi
41791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41792 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41793
41794     if test x$glibcxx_cv_func__modff_use = x"yes"; then
41795       for ac_func in _modff
41796 do :
41797   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41798 if test "x$ac_cv_func__modff" = x""yes; then :
41799   cat >>confdefs.h <<_ACEOF
41800 #define HAVE__MODFF 1
41801 _ACEOF
41802
41803 fi
41804 done
41805
41806     fi
41807   fi
41808
41809
41810
41811
41812
41813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41814 $as_echo_n "checking for modf declaration... " >&6; }
41815   if test x${glibcxx_cv_func_modf_use+set} != xset; then
41816     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41817   $as_echo_n "(cached) " >&6
41818 else
41819
41820
41821       ac_ext=cpp
41822 ac_cpp='$CXXCPP $CPPFLAGS'
41823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41826
41827       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41828 /* end confdefs.h.  */
41829 #include <math.h>
41830 int
41831 main ()
41832 {
41833  modf(0, 0);
41834   ;
41835   return 0;
41836 }
41837 _ACEOF
41838 if ac_fn_cxx_try_compile "$LINENO"; then :
41839   glibcxx_cv_func_modf_use=yes
41840 else
41841   glibcxx_cv_func_modf_use=no
41842 fi
41843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41844       ac_ext=c
41845 ac_cpp='$CPP $CPPFLAGS'
41846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41849
41850
41851 fi
41852
41853   fi
41854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41855 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41856
41857   if test x$glibcxx_cv_func_modf_use = x"yes"; then
41858     for ac_func in modf
41859 do :
41860   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41861 if test "x$ac_cv_func_modf" = x""yes; then :
41862   cat >>confdefs.h <<_ACEOF
41863 #define HAVE_MODF 1
41864 _ACEOF
41865
41866 fi
41867 done
41868
41869   else
41870
41871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41872 $as_echo_n "checking for _modf declaration... " >&6; }
41873   if test x${glibcxx_cv_func__modf_use+set} != xset; then
41874     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41875   $as_echo_n "(cached) " >&6
41876 else
41877
41878
41879       ac_ext=cpp
41880 ac_cpp='$CXXCPP $CPPFLAGS'
41881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41884
41885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41886 /* end confdefs.h.  */
41887 #include <math.h>
41888 int
41889 main ()
41890 {
41891  _modf(0, 0);
41892   ;
41893   return 0;
41894 }
41895 _ACEOF
41896 if ac_fn_cxx_try_compile "$LINENO"; then :
41897   glibcxx_cv_func__modf_use=yes
41898 else
41899   glibcxx_cv_func__modf_use=no
41900 fi
41901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41902       ac_ext=c
41903 ac_cpp='$CPP $CPPFLAGS'
41904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41907
41908
41909 fi
41910
41911   fi
41912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41913 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41914
41915     if test x$glibcxx_cv_func__modf_use = x"yes"; then
41916       for ac_func in _modf
41917 do :
41918   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41919 if test "x$ac_cv_func__modf" = x""yes; then :
41920   cat >>confdefs.h <<_ACEOF
41921 #define HAVE__MODF 1
41922 _ACEOF
41923
41924 fi
41925 done
41926
41927     fi
41928   fi
41929
41930
41931
41932
41933
41934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41935 $as_echo_n "checking for powf declaration... " >&6; }
41936   if test x${glibcxx_cv_func_powf_use+set} != xset; then
41937     if test "${glibcxx_cv_func_powf_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 int
41952 main ()
41953 {
41954  powf(0, 0);
41955   ;
41956   return 0;
41957 }
41958 _ACEOF
41959 if ac_fn_cxx_try_compile "$LINENO"; then :
41960   glibcxx_cv_func_powf_use=yes
41961 else
41962   glibcxx_cv_func_powf_use=no
41963 fi
41964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41965       ac_ext=c
41966 ac_cpp='$CPP $CPPFLAGS'
41967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41970
41971
41972 fi
41973
41974   fi
41975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41976 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41977
41978   if test x$glibcxx_cv_func_powf_use = x"yes"; then
41979     for ac_func in powf
41980 do :
41981   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41982 if test "x$ac_cv_func_powf" = x""yes; then :
41983   cat >>confdefs.h <<_ACEOF
41984 #define HAVE_POWF 1
41985 _ACEOF
41986
41987 fi
41988 done
41989
41990   else
41991
41992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41993 $as_echo_n "checking for _powf declaration... " >&6; }
41994   if test x${glibcxx_cv_func__powf_use+set} != xset; then
41995     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41996   $as_echo_n "(cached) " >&6
41997 else
41998
41999
42000       ac_ext=cpp
42001 ac_cpp='$CXXCPP $CPPFLAGS'
42002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42005
42006       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42007 /* end confdefs.h.  */
42008 #include <math.h>
42009 int
42010 main ()
42011 {
42012  _powf(0, 0);
42013   ;
42014   return 0;
42015 }
42016 _ACEOF
42017 if ac_fn_cxx_try_compile "$LINENO"; then :
42018   glibcxx_cv_func__powf_use=yes
42019 else
42020   glibcxx_cv_func__powf_use=no
42021 fi
42022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42023       ac_ext=c
42024 ac_cpp='$CPP $CPPFLAGS'
42025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42028
42029
42030 fi
42031
42032   fi
42033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42034 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42035
42036     if test x$glibcxx_cv_func__powf_use = x"yes"; then
42037       for ac_func in _powf
42038 do :
42039   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42040 if test "x$ac_cv_func__powf" = x""yes; then :
42041   cat >>confdefs.h <<_ACEOF
42042 #define HAVE__POWF 1
42043 _ACEOF
42044
42045 fi
42046 done
42047
42048     fi
42049   fi
42050
42051
42052
42053
42054
42055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42056 $as_echo_n "checking for sqrtf declaration... " >&6; }
42057   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42058     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42059   $as_echo_n "(cached) " >&6
42060 else
42061
42062
42063       ac_ext=cpp
42064 ac_cpp='$CXXCPP $CPPFLAGS'
42065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42068
42069       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42070 /* end confdefs.h.  */
42071 #include <math.h>
42072                       #ifdef HAVE_IEEEFP_H
42073                       #include <ieeefp.h>
42074                       #endif
42075
42076 int
42077 main ()
42078 {
42079  sqrtf(0);
42080   ;
42081   return 0;
42082 }
42083 _ACEOF
42084 if ac_fn_cxx_try_compile "$LINENO"; then :
42085   glibcxx_cv_func_sqrtf_use=yes
42086 else
42087   glibcxx_cv_func_sqrtf_use=no
42088 fi
42089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42090       ac_ext=c
42091 ac_cpp='$CPP $CPPFLAGS'
42092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42095
42096
42097 fi
42098
42099   fi
42100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42101 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42102
42103   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42104     for ac_func in sqrtf
42105 do :
42106   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42107 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42108   cat >>confdefs.h <<_ACEOF
42109 #define HAVE_SQRTF 1
42110 _ACEOF
42111
42112 fi
42113 done
42114
42115   else
42116
42117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42118 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42119   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42120     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42121   $as_echo_n "(cached) " >&6
42122 else
42123
42124
42125       ac_ext=cpp
42126 ac_cpp='$CXXCPP $CPPFLAGS'
42127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42130
42131       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42132 /* end confdefs.h.  */
42133 #include <math.h>
42134                       #ifdef HAVE_IEEEFP_H
42135                       #include <ieeefp.h>
42136                       #endif
42137
42138 int
42139 main ()
42140 {
42141  _sqrtf(0);
42142   ;
42143   return 0;
42144 }
42145 _ACEOF
42146 if ac_fn_cxx_try_compile "$LINENO"; then :
42147   glibcxx_cv_func__sqrtf_use=yes
42148 else
42149   glibcxx_cv_func__sqrtf_use=no
42150 fi
42151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42152       ac_ext=c
42153 ac_cpp='$CPP $CPPFLAGS'
42154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42157
42158
42159 fi
42160
42161   fi
42162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42163 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42164
42165     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42166       for ac_func in _sqrtf
42167 do :
42168   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42169 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42170   cat >>confdefs.h <<_ACEOF
42171 #define HAVE__SQRTF 1
42172 _ACEOF
42173
42174 fi
42175 done
42176
42177     fi
42178   fi
42179
42180
42181
42182
42183
42184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42185 $as_echo_n "checking for sincosf declaration... " >&6; }
42186   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42187     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42188   $as_echo_n "(cached) " >&6
42189 else
42190
42191
42192       ac_ext=cpp
42193 ac_cpp='$CXXCPP $CPPFLAGS'
42194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42197
42198       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42199 /* end confdefs.h.  */
42200 #include <math.h>
42201 int
42202 main ()
42203 {
42204  sincosf(0, 0, 0);
42205   ;
42206   return 0;
42207 }
42208 _ACEOF
42209 if ac_fn_cxx_try_compile "$LINENO"; then :
42210   glibcxx_cv_func_sincosf_use=yes
42211 else
42212   glibcxx_cv_func_sincosf_use=no
42213 fi
42214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42215       ac_ext=c
42216 ac_cpp='$CPP $CPPFLAGS'
42217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42220
42221
42222 fi
42223
42224   fi
42225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42226 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42227
42228   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42229     for ac_func in sincosf
42230 do :
42231   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42232 if test "x$ac_cv_func_sincosf" = x""yes; then :
42233   cat >>confdefs.h <<_ACEOF
42234 #define HAVE_SINCOSF 1
42235 _ACEOF
42236
42237 fi
42238 done
42239
42240   else
42241
42242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42243 $as_echo_n "checking for _sincosf declaration... " >&6; }
42244   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42245     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42246   $as_echo_n "(cached) " >&6
42247 else
42248
42249
42250       ac_ext=cpp
42251 ac_cpp='$CXXCPP $CPPFLAGS'
42252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42255
42256       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42257 /* end confdefs.h.  */
42258 #include <math.h>
42259 int
42260 main ()
42261 {
42262  _sincosf(0, 0, 0);
42263   ;
42264   return 0;
42265 }
42266 _ACEOF
42267 if ac_fn_cxx_try_compile "$LINENO"; then :
42268   glibcxx_cv_func__sincosf_use=yes
42269 else
42270   glibcxx_cv_func__sincosf_use=no
42271 fi
42272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42273       ac_ext=c
42274 ac_cpp='$CPP $CPPFLAGS'
42275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42278
42279
42280 fi
42281
42282   fi
42283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42284 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42285
42286     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42287       for ac_func in _sincosf
42288 do :
42289   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42290 if test "x$ac_cv_func__sincosf" = x""yes; then :
42291   cat >>confdefs.h <<_ACEOF
42292 #define HAVE__SINCOSF 1
42293 _ACEOF
42294
42295 fi
42296 done
42297
42298     fi
42299   fi
42300
42301
42302
42303
42304
42305   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42306 $as_echo_n "checking for finitef declaration... " >&6; }
42307   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42308     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42309   $as_echo_n "(cached) " >&6
42310 else
42311
42312
42313       ac_ext=cpp
42314 ac_cpp='$CXXCPP $CPPFLAGS'
42315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42318
42319       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42320 /* end confdefs.h.  */
42321 #include <math.h>
42322                       #ifdef HAVE_IEEEFP_H
42323                       #include <ieeefp.h>
42324                       #endif
42325
42326 int
42327 main ()
42328 {
42329  finitef(0);
42330   ;
42331   return 0;
42332 }
42333 _ACEOF
42334 if ac_fn_cxx_try_compile "$LINENO"; then :
42335   glibcxx_cv_func_finitef_use=yes
42336 else
42337   glibcxx_cv_func_finitef_use=no
42338 fi
42339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42340       ac_ext=c
42341 ac_cpp='$CPP $CPPFLAGS'
42342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42345
42346
42347 fi
42348
42349   fi
42350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42351 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42352
42353   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42354     for ac_func in finitef
42355 do :
42356   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42357 if test "x$ac_cv_func_finitef" = x""yes; then :
42358   cat >>confdefs.h <<_ACEOF
42359 #define HAVE_FINITEF 1
42360 _ACEOF
42361
42362 fi
42363 done
42364
42365   else
42366
42367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42368 $as_echo_n "checking for _finitef declaration... " >&6; }
42369   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42370     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42371   $as_echo_n "(cached) " >&6
42372 else
42373
42374
42375       ac_ext=cpp
42376 ac_cpp='$CXXCPP $CPPFLAGS'
42377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42380
42381       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42382 /* end confdefs.h.  */
42383 #include <math.h>
42384                       #ifdef HAVE_IEEEFP_H
42385                       #include <ieeefp.h>
42386                       #endif
42387
42388 int
42389 main ()
42390 {
42391  _finitef(0);
42392   ;
42393   return 0;
42394 }
42395 _ACEOF
42396 if ac_fn_cxx_try_compile "$LINENO"; then :
42397   glibcxx_cv_func__finitef_use=yes
42398 else
42399   glibcxx_cv_func__finitef_use=no
42400 fi
42401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42402       ac_ext=c
42403 ac_cpp='$CPP $CPPFLAGS'
42404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42407
42408
42409 fi
42410
42411   fi
42412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42413 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42414
42415     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42416       for ac_func in _finitef
42417 do :
42418   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42419 if test "x$ac_cv_func__finitef" = x""yes; then :
42420   cat >>confdefs.h <<_ACEOF
42421 #define HAVE__FINITEF 1
42422 _ACEOF
42423
42424 fi
42425 done
42426
42427     fi
42428   fi
42429
42430
42431
42432
42433
42434     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42435 $as_echo_n "checking for long double trig functions... " >&6; }
42436   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42437   $as_echo_n "(cached) " >&6
42438 else
42439
42440
42441     ac_ext=cpp
42442 ac_cpp='$CXXCPP $CPPFLAGS'
42443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42446
42447     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42448 /* end confdefs.h.  */
42449 #include <math.h>
42450 int
42451 main ()
42452 {
42453 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42454   ;
42455   return 0;
42456 }
42457 _ACEOF
42458 if ac_fn_cxx_try_compile "$LINENO"; then :
42459   glibcxx_cv_func_long_double_trig_use=yes
42460 else
42461   glibcxx_cv_func_long_double_trig_use=no
42462 fi
42463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42464     ac_ext=c
42465 ac_cpp='$CPP $CPPFLAGS'
42466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42469
42470 fi
42471
42472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42473 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42474   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42475     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42476 do :
42477   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42478 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42479 eval as_val=\$$as_ac_var
42480    if test "x$as_val" = x""yes; then :
42481   cat >>confdefs.h <<_ACEOF
42482 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42483 _ACEOF
42484
42485 fi
42486 done
42487
42488   else
42489     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42490 $as_echo_n "checking for _long double trig functions... " >&6; }
42491     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42492   $as_echo_n "(cached) " >&6
42493 else
42494
42495
42496       ac_ext=cpp
42497 ac_cpp='$CXXCPP $CPPFLAGS'
42498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42501
42502       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42503 /* end confdefs.h.  */
42504 #include <math.h>
42505 int
42506 main ()
42507 {
42508 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42509   ;
42510   return 0;
42511 }
42512 _ACEOF
42513 if ac_fn_cxx_try_compile "$LINENO"; then :
42514   glibcxx_cv_func__long_double_trig_use=yes
42515 else
42516   glibcxx_cv_func__long_double_trig_use=no
42517 fi
42518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42519       ac_ext=c
42520 ac_cpp='$CPP $CPPFLAGS'
42521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42524
42525 fi
42526
42527     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42528 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42529     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42530       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42531 do :
42532   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42533 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42534 eval as_val=\$$as_ac_var
42535    if test "x$as_val" = x""yes; then :
42536   cat >>confdefs.h <<_ACEOF
42537 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42538 _ACEOF
42539
42540 fi
42541 done
42542
42543     fi
42544   fi
42545
42546
42547
42548
42549
42550     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42551 $as_echo_n "checking for long double round functions... " >&6; }
42552   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42553   $as_echo_n "(cached) " >&6
42554 else
42555
42556
42557     ac_ext=cpp
42558 ac_cpp='$CXXCPP $CPPFLAGS'
42559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42562
42563     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42564 /* end confdefs.h.  */
42565 #include <math.h>
42566 int
42567 main ()
42568 {
42569 ceill (0); floorl (0);
42570   ;
42571   return 0;
42572 }
42573 _ACEOF
42574 if ac_fn_cxx_try_compile "$LINENO"; then :
42575   glibcxx_cv_func_long_double_round_use=yes
42576 else
42577   glibcxx_cv_func_long_double_round_use=no
42578 fi
42579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42580     ac_ext=c
42581 ac_cpp='$CPP $CPPFLAGS'
42582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42585
42586 fi
42587
42588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42589 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42590   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42591     for ac_func in ceill floorl
42592 do :
42593   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42594 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42595 eval as_val=\$$as_ac_var
42596    if test "x$as_val" = x""yes; then :
42597   cat >>confdefs.h <<_ACEOF
42598 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42599 _ACEOF
42600
42601 fi
42602 done
42603
42604   else
42605     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42606 $as_echo_n "checking for _long double round functions... " >&6; }
42607     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42608   $as_echo_n "(cached) " >&6
42609 else
42610
42611
42612       ac_ext=cpp
42613 ac_cpp='$CXXCPP $CPPFLAGS'
42614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42617
42618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42619 /* end confdefs.h.  */
42620 #include <math.h>
42621 int
42622 main ()
42623 {
42624 _ceill (0); _floorl (0);
42625   ;
42626   return 0;
42627 }
42628 _ACEOF
42629 if ac_fn_cxx_try_compile "$LINENO"; then :
42630   glibcxx_cv_func__long_double_round_use=yes
42631 else
42632   glibcxx_cv_func__long_double_round_use=no
42633 fi
42634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42635       ac_ext=c
42636 ac_cpp='$CPP $CPPFLAGS'
42637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42640
42641 fi
42642
42643     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42644 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42645     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42646       for ac_func in _ceill _floorl
42647 do :
42648   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42649 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42650 eval as_val=\$$as_ac_var
42651    if test "x$as_val" = x""yes; then :
42652   cat >>confdefs.h <<_ACEOF
42653 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42654 _ACEOF
42655
42656 fi
42657 done
42658
42659     fi
42660   fi
42661
42662
42663
42664
42665
42666
42667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42668 $as_echo_n "checking for isnanl declaration... " >&6; }
42669   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42670     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42671   $as_echo_n "(cached) " >&6
42672 else
42673
42674
42675       ac_ext=cpp
42676 ac_cpp='$CXXCPP $CPPFLAGS'
42677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42680
42681       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42682 /* end confdefs.h.  */
42683 #include <math.h>
42684                       #ifdef HAVE_IEEEFP_H
42685                       #include <ieeefp.h>
42686                       #endif
42687
42688 int
42689 main ()
42690 {
42691  isnanl(0);
42692   ;
42693   return 0;
42694 }
42695 _ACEOF
42696 if ac_fn_cxx_try_compile "$LINENO"; then :
42697   glibcxx_cv_func_isnanl_use=yes
42698 else
42699   glibcxx_cv_func_isnanl_use=no
42700 fi
42701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42702       ac_ext=c
42703 ac_cpp='$CPP $CPPFLAGS'
42704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42707
42708
42709 fi
42710
42711   fi
42712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42713 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42714
42715   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42716     for ac_func in isnanl
42717 do :
42718   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42719 if test "x$ac_cv_func_isnanl" = x""yes; then :
42720   cat >>confdefs.h <<_ACEOF
42721 #define HAVE_ISNANL 1
42722 _ACEOF
42723
42724 fi
42725 done
42726
42727   else
42728
42729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42730 $as_echo_n "checking for _isnanl declaration... " >&6; }
42731   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42732     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42733   $as_echo_n "(cached) " >&6
42734 else
42735
42736
42737       ac_ext=cpp
42738 ac_cpp='$CXXCPP $CPPFLAGS'
42739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42742
42743       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42744 /* end confdefs.h.  */
42745 #include <math.h>
42746                       #ifdef HAVE_IEEEFP_H
42747                       #include <ieeefp.h>
42748                       #endif
42749
42750 int
42751 main ()
42752 {
42753  _isnanl(0);
42754   ;
42755   return 0;
42756 }
42757 _ACEOF
42758 if ac_fn_cxx_try_compile "$LINENO"; then :
42759   glibcxx_cv_func__isnanl_use=yes
42760 else
42761   glibcxx_cv_func__isnanl_use=no
42762 fi
42763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42764       ac_ext=c
42765 ac_cpp='$CPP $CPPFLAGS'
42766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42769
42770
42771 fi
42772
42773   fi
42774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42775 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42776
42777     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42778       for ac_func in _isnanl
42779 do :
42780   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42781 if test "x$ac_cv_func__isnanl" = x""yes; then :
42782   cat >>confdefs.h <<_ACEOF
42783 #define HAVE__ISNANL 1
42784 _ACEOF
42785
42786 fi
42787 done
42788
42789     fi
42790   fi
42791
42792
42793
42794
42795
42796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42797 $as_echo_n "checking for isinfl declaration... " >&6; }
42798   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42799     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42800   $as_echo_n "(cached) " >&6
42801 else
42802
42803
42804       ac_ext=cpp
42805 ac_cpp='$CXXCPP $CPPFLAGS'
42806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42809
42810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42811 /* end confdefs.h.  */
42812 #include <math.h>
42813                       #ifdef HAVE_IEEEFP_H
42814                       #include <ieeefp.h>
42815                       #endif
42816
42817 int
42818 main ()
42819 {
42820  isinfl(0);
42821   ;
42822   return 0;
42823 }
42824 _ACEOF
42825 if ac_fn_cxx_try_compile "$LINENO"; then :
42826   glibcxx_cv_func_isinfl_use=yes
42827 else
42828   glibcxx_cv_func_isinfl_use=no
42829 fi
42830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42831       ac_ext=c
42832 ac_cpp='$CPP $CPPFLAGS'
42833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42836
42837
42838 fi
42839
42840   fi
42841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42842 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42843
42844   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42845     for ac_func in isinfl
42846 do :
42847   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42848 if test "x$ac_cv_func_isinfl" = x""yes; then :
42849   cat >>confdefs.h <<_ACEOF
42850 #define HAVE_ISINFL 1
42851 _ACEOF
42852
42853 fi
42854 done
42855
42856   else
42857
42858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42859 $as_echo_n "checking for _isinfl declaration... " >&6; }
42860   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42861     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42862   $as_echo_n "(cached) " >&6
42863 else
42864
42865
42866       ac_ext=cpp
42867 ac_cpp='$CXXCPP $CPPFLAGS'
42868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42871
42872       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42873 /* end confdefs.h.  */
42874 #include <math.h>
42875                       #ifdef HAVE_IEEEFP_H
42876                       #include <ieeefp.h>
42877                       #endif
42878
42879 int
42880 main ()
42881 {
42882  _isinfl(0);
42883   ;
42884   return 0;
42885 }
42886 _ACEOF
42887 if ac_fn_cxx_try_compile "$LINENO"; then :
42888   glibcxx_cv_func__isinfl_use=yes
42889 else
42890   glibcxx_cv_func__isinfl_use=no
42891 fi
42892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42893       ac_ext=c
42894 ac_cpp='$CPP $CPPFLAGS'
42895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42898
42899
42900 fi
42901
42902   fi
42903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42904 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42905
42906     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42907       for ac_func in _isinfl
42908 do :
42909   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42910 if test "x$ac_cv_func__isinfl" = x""yes; then :
42911   cat >>confdefs.h <<_ACEOF
42912 #define HAVE__ISINFL 1
42913 _ACEOF
42914
42915 fi
42916 done
42917
42918     fi
42919   fi
42920
42921
42922
42923
42924
42925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42926 $as_echo_n "checking for atan2l declaration... " >&6; }
42927   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42928     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42929   $as_echo_n "(cached) " >&6
42930 else
42931
42932
42933       ac_ext=cpp
42934 ac_cpp='$CXXCPP $CPPFLAGS'
42935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42938
42939       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42940 /* end confdefs.h.  */
42941 #include <math.h>
42942 int
42943 main ()
42944 {
42945  atan2l(0, 0);
42946   ;
42947   return 0;
42948 }
42949 _ACEOF
42950 if ac_fn_cxx_try_compile "$LINENO"; then :
42951   glibcxx_cv_func_atan2l_use=yes
42952 else
42953   glibcxx_cv_func_atan2l_use=no
42954 fi
42955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42956       ac_ext=c
42957 ac_cpp='$CPP $CPPFLAGS'
42958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42961
42962
42963 fi
42964
42965   fi
42966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42967 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42968
42969   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42970     for ac_func in atan2l
42971 do :
42972   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42973 if test "x$ac_cv_func_atan2l" = x""yes; then :
42974   cat >>confdefs.h <<_ACEOF
42975 #define HAVE_ATAN2L 1
42976 _ACEOF
42977
42978 fi
42979 done
42980
42981   else
42982
42983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42984 $as_echo_n "checking for _atan2l declaration... " >&6; }
42985   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42986     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42987   $as_echo_n "(cached) " >&6
42988 else
42989
42990
42991       ac_ext=cpp
42992 ac_cpp='$CXXCPP $CPPFLAGS'
42993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42996
42997       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42998 /* end confdefs.h.  */
42999 #include <math.h>
43000 int
43001 main ()
43002 {
43003  _atan2l(0, 0);
43004   ;
43005   return 0;
43006 }
43007 _ACEOF
43008 if ac_fn_cxx_try_compile "$LINENO"; then :
43009   glibcxx_cv_func__atan2l_use=yes
43010 else
43011   glibcxx_cv_func__atan2l_use=no
43012 fi
43013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43014       ac_ext=c
43015 ac_cpp='$CPP $CPPFLAGS'
43016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43019
43020
43021 fi
43022
43023   fi
43024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43025 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43026
43027     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43028       for ac_func in _atan2l
43029 do :
43030   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43031 if test "x$ac_cv_func__atan2l" = x""yes; then :
43032   cat >>confdefs.h <<_ACEOF
43033 #define HAVE__ATAN2L 1
43034 _ACEOF
43035
43036 fi
43037 done
43038
43039     fi
43040   fi
43041
43042
43043
43044
43045
43046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43047 $as_echo_n "checking for expl declaration... " >&6; }
43048   if test x${glibcxx_cv_func_expl_use+set} != xset; then
43049     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43050   $as_echo_n "(cached) " >&6
43051 else
43052
43053
43054       ac_ext=cpp
43055 ac_cpp='$CXXCPP $CPPFLAGS'
43056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43059
43060       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43061 /* end confdefs.h.  */
43062 #include <math.h>
43063                       #ifdef HAVE_IEEEFP_H
43064                       #include <ieeefp.h>
43065                       #endif
43066
43067 int
43068 main ()
43069 {
43070  expl(0);
43071   ;
43072   return 0;
43073 }
43074 _ACEOF
43075 if ac_fn_cxx_try_compile "$LINENO"; then :
43076   glibcxx_cv_func_expl_use=yes
43077 else
43078   glibcxx_cv_func_expl_use=no
43079 fi
43080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43081       ac_ext=c
43082 ac_cpp='$CPP $CPPFLAGS'
43083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43086
43087
43088 fi
43089
43090   fi
43091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43092 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43093
43094   if test x$glibcxx_cv_func_expl_use = x"yes"; then
43095     for ac_func in expl
43096 do :
43097   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43098 if test "x$ac_cv_func_expl" = x""yes; then :
43099   cat >>confdefs.h <<_ACEOF
43100 #define HAVE_EXPL 1
43101 _ACEOF
43102
43103 fi
43104 done
43105
43106   else
43107
43108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43109 $as_echo_n "checking for _expl declaration... " >&6; }
43110   if test x${glibcxx_cv_func__expl_use+set} != xset; then
43111     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43112   $as_echo_n "(cached) " >&6
43113 else
43114
43115
43116       ac_ext=cpp
43117 ac_cpp='$CXXCPP $CPPFLAGS'
43118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43121
43122       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43123 /* end confdefs.h.  */
43124 #include <math.h>
43125                       #ifdef HAVE_IEEEFP_H
43126                       #include <ieeefp.h>
43127                       #endif
43128
43129 int
43130 main ()
43131 {
43132  _expl(0);
43133   ;
43134   return 0;
43135 }
43136 _ACEOF
43137 if ac_fn_cxx_try_compile "$LINENO"; then :
43138   glibcxx_cv_func__expl_use=yes
43139 else
43140   glibcxx_cv_func__expl_use=no
43141 fi
43142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43143       ac_ext=c
43144 ac_cpp='$CPP $CPPFLAGS'
43145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43148
43149
43150 fi
43151
43152   fi
43153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43154 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43155
43156     if test x$glibcxx_cv_func__expl_use = x"yes"; then
43157       for ac_func in _expl
43158 do :
43159   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43160 if test "x$ac_cv_func__expl" = x""yes; then :
43161   cat >>confdefs.h <<_ACEOF
43162 #define HAVE__EXPL 1
43163 _ACEOF
43164
43165 fi
43166 done
43167
43168     fi
43169   fi
43170
43171
43172
43173
43174
43175   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43176 $as_echo_n "checking for fabsl declaration... " >&6; }
43177   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43178     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43179   $as_echo_n "(cached) " >&6
43180 else
43181
43182
43183       ac_ext=cpp
43184 ac_cpp='$CXXCPP $CPPFLAGS'
43185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43188
43189       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43190 /* end confdefs.h.  */
43191 #include <math.h>
43192                       #ifdef HAVE_IEEEFP_H
43193                       #include <ieeefp.h>
43194                       #endif
43195
43196 int
43197 main ()
43198 {
43199  fabsl(0);
43200   ;
43201   return 0;
43202 }
43203 _ACEOF
43204 if ac_fn_cxx_try_compile "$LINENO"; then :
43205   glibcxx_cv_func_fabsl_use=yes
43206 else
43207   glibcxx_cv_func_fabsl_use=no
43208 fi
43209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43210       ac_ext=c
43211 ac_cpp='$CPP $CPPFLAGS'
43212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43215
43216
43217 fi
43218
43219   fi
43220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43221 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43222
43223   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43224     for ac_func in fabsl
43225 do :
43226   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43227 if test "x$ac_cv_func_fabsl" = x""yes; then :
43228   cat >>confdefs.h <<_ACEOF
43229 #define HAVE_FABSL 1
43230 _ACEOF
43231
43232 fi
43233 done
43234
43235   else
43236
43237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43238 $as_echo_n "checking for _fabsl declaration... " >&6; }
43239   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43240     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43241   $as_echo_n "(cached) " >&6
43242 else
43243
43244
43245       ac_ext=cpp
43246 ac_cpp='$CXXCPP $CPPFLAGS'
43247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43250
43251       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43252 /* end confdefs.h.  */
43253 #include <math.h>
43254                       #ifdef HAVE_IEEEFP_H
43255                       #include <ieeefp.h>
43256                       #endif
43257
43258 int
43259 main ()
43260 {
43261  _fabsl(0);
43262   ;
43263   return 0;
43264 }
43265 _ACEOF
43266 if ac_fn_cxx_try_compile "$LINENO"; then :
43267   glibcxx_cv_func__fabsl_use=yes
43268 else
43269   glibcxx_cv_func__fabsl_use=no
43270 fi
43271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43272       ac_ext=c
43273 ac_cpp='$CPP $CPPFLAGS'
43274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43277
43278
43279 fi
43280
43281   fi
43282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43283 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43284
43285     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43286       for ac_func in _fabsl
43287 do :
43288   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43289 if test "x$ac_cv_func__fabsl" = x""yes; then :
43290   cat >>confdefs.h <<_ACEOF
43291 #define HAVE__FABSL 1
43292 _ACEOF
43293
43294 fi
43295 done
43296
43297     fi
43298   fi
43299
43300
43301
43302
43303
43304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43305 $as_echo_n "checking for fmodl declaration... " >&6; }
43306   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43307     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43308   $as_echo_n "(cached) " >&6
43309 else
43310
43311
43312       ac_ext=cpp
43313 ac_cpp='$CXXCPP $CPPFLAGS'
43314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43317
43318       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43319 /* end confdefs.h.  */
43320 #include <math.h>
43321 int
43322 main ()
43323 {
43324  fmodl(0, 0);
43325   ;
43326   return 0;
43327 }
43328 _ACEOF
43329 if ac_fn_cxx_try_compile "$LINENO"; then :
43330   glibcxx_cv_func_fmodl_use=yes
43331 else
43332   glibcxx_cv_func_fmodl_use=no
43333 fi
43334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43335       ac_ext=c
43336 ac_cpp='$CPP $CPPFLAGS'
43337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43340
43341
43342 fi
43343
43344   fi
43345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43346 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43347
43348   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43349     for ac_func in fmodl
43350 do :
43351   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43352 if test "x$ac_cv_func_fmodl" = x""yes; then :
43353   cat >>confdefs.h <<_ACEOF
43354 #define HAVE_FMODL 1
43355 _ACEOF
43356
43357 fi
43358 done
43359
43360   else
43361
43362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43363 $as_echo_n "checking for _fmodl declaration... " >&6; }
43364   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43365     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43366   $as_echo_n "(cached) " >&6
43367 else
43368
43369
43370       ac_ext=cpp
43371 ac_cpp='$CXXCPP $CPPFLAGS'
43372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43375
43376       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43377 /* end confdefs.h.  */
43378 #include <math.h>
43379 int
43380 main ()
43381 {
43382  _fmodl(0, 0);
43383   ;
43384   return 0;
43385 }
43386 _ACEOF
43387 if ac_fn_cxx_try_compile "$LINENO"; then :
43388   glibcxx_cv_func__fmodl_use=yes
43389 else
43390   glibcxx_cv_func__fmodl_use=no
43391 fi
43392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43393       ac_ext=c
43394 ac_cpp='$CPP $CPPFLAGS'
43395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43398
43399
43400 fi
43401
43402   fi
43403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43404 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43405
43406     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43407       for ac_func in _fmodl
43408 do :
43409   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43410 if test "x$ac_cv_func__fmodl" = x""yes; then :
43411   cat >>confdefs.h <<_ACEOF
43412 #define HAVE__FMODL 1
43413 _ACEOF
43414
43415 fi
43416 done
43417
43418     fi
43419   fi
43420
43421
43422
43423
43424
43425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43426 $as_echo_n "checking for frexpl declaration... " >&6; }
43427   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43428     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43429   $as_echo_n "(cached) " >&6
43430 else
43431
43432
43433       ac_ext=cpp
43434 ac_cpp='$CXXCPP $CPPFLAGS'
43435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43438
43439       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43440 /* end confdefs.h.  */
43441 #include <math.h>
43442 int
43443 main ()
43444 {
43445  frexpl(0, 0);
43446   ;
43447   return 0;
43448 }
43449 _ACEOF
43450 if ac_fn_cxx_try_compile "$LINENO"; then :
43451   glibcxx_cv_func_frexpl_use=yes
43452 else
43453   glibcxx_cv_func_frexpl_use=no
43454 fi
43455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43456       ac_ext=c
43457 ac_cpp='$CPP $CPPFLAGS'
43458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43461
43462
43463 fi
43464
43465   fi
43466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43467 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43468
43469   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43470     for ac_func in frexpl
43471 do :
43472   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43473 if test "x$ac_cv_func_frexpl" = x""yes; then :
43474   cat >>confdefs.h <<_ACEOF
43475 #define HAVE_FREXPL 1
43476 _ACEOF
43477
43478 fi
43479 done
43480
43481   else
43482
43483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43484 $as_echo_n "checking for _frexpl declaration... " >&6; }
43485   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43486     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43487   $as_echo_n "(cached) " >&6
43488 else
43489
43490
43491       ac_ext=cpp
43492 ac_cpp='$CXXCPP $CPPFLAGS'
43493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43496
43497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43498 /* end confdefs.h.  */
43499 #include <math.h>
43500 int
43501 main ()
43502 {
43503  _frexpl(0, 0);
43504   ;
43505   return 0;
43506 }
43507 _ACEOF
43508 if ac_fn_cxx_try_compile "$LINENO"; then :
43509   glibcxx_cv_func__frexpl_use=yes
43510 else
43511   glibcxx_cv_func__frexpl_use=no
43512 fi
43513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43514       ac_ext=c
43515 ac_cpp='$CPP $CPPFLAGS'
43516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43519
43520
43521 fi
43522
43523   fi
43524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43525 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43526
43527     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43528       for ac_func in _frexpl
43529 do :
43530   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43531 if test "x$ac_cv_func__frexpl" = x""yes; then :
43532   cat >>confdefs.h <<_ACEOF
43533 #define HAVE__FREXPL 1
43534 _ACEOF
43535
43536 fi
43537 done
43538
43539     fi
43540   fi
43541
43542
43543
43544
43545
43546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43547 $as_echo_n "checking for hypotl declaration... " >&6; }
43548   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43549     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43550   $as_echo_n "(cached) " >&6
43551 else
43552
43553
43554       ac_ext=cpp
43555 ac_cpp='$CXXCPP $CPPFLAGS'
43556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43559
43560       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43561 /* end confdefs.h.  */
43562 #include <math.h>
43563 int
43564 main ()
43565 {
43566  hypotl(0, 0);
43567   ;
43568   return 0;
43569 }
43570 _ACEOF
43571 if ac_fn_cxx_try_compile "$LINENO"; then :
43572   glibcxx_cv_func_hypotl_use=yes
43573 else
43574   glibcxx_cv_func_hypotl_use=no
43575 fi
43576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43577       ac_ext=c
43578 ac_cpp='$CPP $CPPFLAGS'
43579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43582
43583
43584 fi
43585
43586   fi
43587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43588 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43589
43590   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43591     for ac_func in hypotl
43592 do :
43593   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43594 if test "x$ac_cv_func_hypotl" = x""yes; then :
43595   cat >>confdefs.h <<_ACEOF
43596 #define HAVE_HYPOTL 1
43597 _ACEOF
43598
43599 fi
43600 done
43601
43602   else
43603
43604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43605 $as_echo_n "checking for _hypotl declaration... " >&6; }
43606   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43607     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43608   $as_echo_n "(cached) " >&6
43609 else
43610
43611
43612       ac_ext=cpp
43613 ac_cpp='$CXXCPP $CPPFLAGS'
43614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43617
43618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43619 /* end confdefs.h.  */
43620 #include <math.h>
43621 int
43622 main ()
43623 {
43624  _hypotl(0, 0);
43625   ;
43626   return 0;
43627 }
43628 _ACEOF
43629 if ac_fn_cxx_try_compile "$LINENO"; then :
43630   glibcxx_cv_func__hypotl_use=yes
43631 else
43632   glibcxx_cv_func__hypotl_use=no
43633 fi
43634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43635       ac_ext=c
43636 ac_cpp='$CPP $CPPFLAGS'
43637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43640
43641
43642 fi
43643
43644   fi
43645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43646 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43647
43648     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43649       for ac_func in _hypotl
43650 do :
43651   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43652 if test "x$ac_cv_func__hypotl" = x""yes; then :
43653   cat >>confdefs.h <<_ACEOF
43654 #define HAVE__HYPOTL 1
43655 _ACEOF
43656
43657 fi
43658 done
43659
43660     fi
43661   fi
43662
43663
43664
43665
43666
43667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43668 $as_echo_n "checking for ldexpl declaration... " >&6; }
43669   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43670     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43671   $as_echo_n "(cached) " >&6
43672 else
43673
43674
43675       ac_ext=cpp
43676 ac_cpp='$CXXCPP $CPPFLAGS'
43677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43680
43681       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43682 /* end confdefs.h.  */
43683 #include <math.h>
43684 int
43685 main ()
43686 {
43687  ldexpl(0, 0);
43688   ;
43689   return 0;
43690 }
43691 _ACEOF
43692 if ac_fn_cxx_try_compile "$LINENO"; then :
43693   glibcxx_cv_func_ldexpl_use=yes
43694 else
43695   glibcxx_cv_func_ldexpl_use=no
43696 fi
43697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43698       ac_ext=c
43699 ac_cpp='$CPP $CPPFLAGS'
43700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43703
43704
43705 fi
43706
43707   fi
43708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43709 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43710
43711   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43712     for ac_func in ldexpl
43713 do :
43714   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43715 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43716   cat >>confdefs.h <<_ACEOF
43717 #define HAVE_LDEXPL 1
43718 _ACEOF
43719
43720 fi
43721 done
43722
43723   else
43724
43725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43726 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43727   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43728     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43729   $as_echo_n "(cached) " >&6
43730 else
43731
43732
43733       ac_ext=cpp
43734 ac_cpp='$CXXCPP $CPPFLAGS'
43735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43738
43739       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43740 /* end confdefs.h.  */
43741 #include <math.h>
43742 int
43743 main ()
43744 {
43745  _ldexpl(0, 0);
43746   ;
43747   return 0;
43748 }
43749 _ACEOF
43750 if ac_fn_cxx_try_compile "$LINENO"; then :
43751   glibcxx_cv_func__ldexpl_use=yes
43752 else
43753   glibcxx_cv_func__ldexpl_use=no
43754 fi
43755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43756       ac_ext=c
43757 ac_cpp='$CPP $CPPFLAGS'
43758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43761
43762
43763 fi
43764
43765   fi
43766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43767 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43768
43769     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43770       for ac_func in _ldexpl
43771 do :
43772   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43773 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43774   cat >>confdefs.h <<_ACEOF
43775 #define HAVE__LDEXPL 1
43776 _ACEOF
43777
43778 fi
43779 done
43780
43781     fi
43782   fi
43783
43784
43785
43786
43787
43788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43789 $as_echo_n "checking for logl declaration... " >&6; }
43790   if test x${glibcxx_cv_func_logl_use+set} != xset; then
43791     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43792   $as_echo_n "(cached) " >&6
43793 else
43794
43795
43796       ac_ext=cpp
43797 ac_cpp='$CXXCPP $CPPFLAGS'
43798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43801
43802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43803 /* end confdefs.h.  */
43804 #include <math.h>
43805                       #ifdef HAVE_IEEEFP_H
43806                       #include <ieeefp.h>
43807                       #endif
43808
43809 int
43810 main ()
43811 {
43812  logl(0);
43813   ;
43814   return 0;
43815 }
43816 _ACEOF
43817 if ac_fn_cxx_try_compile "$LINENO"; then :
43818   glibcxx_cv_func_logl_use=yes
43819 else
43820   glibcxx_cv_func_logl_use=no
43821 fi
43822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43823       ac_ext=c
43824 ac_cpp='$CPP $CPPFLAGS'
43825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43828
43829
43830 fi
43831
43832   fi
43833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43834 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43835
43836   if test x$glibcxx_cv_func_logl_use = x"yes"; then
43837     for ac_func in logl
43838 do :
43839   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43840 if test "x$ac_cv_func_logl" = x""yes; then :
43841   cat >>confdefs.h <<_ACEOF
43842 #define HAVE_LOGL 1
43843 _ACEOF
43844
43845 fi
43846 done
43847
43848   else
43849
43850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43851 $as_echo_n "checking for _logl declaration... " >&6; }
43852   if test x${glibcxx_cv_func__logl_use+set} != xset; then
43853     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43854   $as_echo_n "(cached) " >&6
43855 else
43856
43857
43858       ac_ext=cpp
43859 ac_cpp='$CXXCPP $CPPFLAGS'
43860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43863
43864       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43865 /* end confdefs.h.  */
43866 #include <math.h>
43867                       #ifdef HAVE_IEEEFP_H
43868                       #include <ieeefp.h>
43869                       #endif
43870
43871 int
43872 main ()
43873 {
43874  _logl(0);
43875   ;
43876   return 0;
43877 }
43878 _ACEOF
43879 if ac_fn_cxx_try_compile "$LINENO"; then :
43880   glibcxx_cv_func__logl_use=yes
43881 else
43882   glibcxx_cv_func__logl_use=no
43883 fi
43884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43885       ac_ext=c
43886 ac_cpp='$CPP $CPPFLAGS'
43887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43890
43891
43892 fi
43893
43894   fi
43895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43896 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43897
43898     if test x$glibcxx_cv_func__logl_use = x"yes"; then
43899       for ac_func in _logl
43900 do :
43901   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43902 if test "x$ac_cv_func__logl" = x""yes; then :
43903   cat >>confdefs.h <<_ACEOF
43904 #define HAVE__LOGL 1
43905 _ACEOF
43906
43907 fi
43908 done
43909
43910     fi
43911   fi
43912
43913
43914
43915
43916
43917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43918 $as_echo_n "checking for log10l declaration... " >&6; }
43919   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43920     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43921   $as_echo_n "(cached) " >&6
43922 else
43923
43924
43925       ac_ext=cpp
43926 ac_cpp='$CXXCPP $CPPFLAGS'
43927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43930
43931       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43932 /* end confdefs.h.  */
43933 #include <math.h>
43934                       #ifdef HAVE_IEEEFP_H
43935                       #include <ieeefp.h>
43936                       #endif
43937
43938 int
43939 main ()
43940 {
43941  log10l(0);
43942   ;
43943   return 0;
43944 }
43945 _ACEOF
43946 if ac_fn_cxx_try_compile "$LINENO"; then :
43947   glibcxx_cv_func_log10l_use=yes
43948 else
43949   glibcxx_cv_func_log10l_use=no
43950 fi
43951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43952       ac_ext=c
43953 ac_cpp='$CPP $CPPFLAGS'
43954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43957
43958
43959 fi
43960
43961   fi
43962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43963 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43964
43965   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43966     for ac_func in log10l
43967 do :
43968   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43969 if test "x$ac_cv_func_log10l" = x""yes; then :
43970   cat >>confdefs.h <<_ACEOF
43971 #define HAVE_LOG10L 1
43972 _ACEOF
43973
43974 fi
43975 done
43976
43977   else
43978
43979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43980 $as_echo_n "checking for _log10l declaration... " >&6; }
43981   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43982     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43983   $as_echo_n "(cached) " >&6
43984 else
43985
43986
43987       ac_ext=cpp
43988 ac_cpp='$CXXCPP $CPPFLAGS'
43989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43992
43993       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43994 /* end confdefs.h.  */
43995 #include <math.h>
43996                       #ifdef HAVE_IEEEFP_H
43997                       #include <ieeefp.h>
43998                       #endif
43999
44000 int
44001 main ()
44002 {
44003  _log10l(0);
44004   ;
44005   return 0;
44006 }
44007 _ACEOF
44008 if ac_fn_cxx_try_compile "$LINENO"; then :
44009   glibcxx_cv_func__log10l_use=yes
44010 else
44011   glibcxx_cv_func__log10l_use=no
44012 fi
44013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44014       ac_ext=c
44015 ac_cpp='$CPP $CPPFLAGS'
44016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44019
44020
44021 fi
44022
44023   fi
44024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44025 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44026
44027     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44028       for ac_func in _log10l
44029 do :
44030   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44031 if test "x$ac_cv_func__log10l" = x""yes; then :
44032   cat >>confdefs.h <<_ACEOF
44033 #define HAVE__LOG10L 1
44034 _ACEOF
44035
44036 fi
44037 done
44038
44039     fi
44040   fi
44041
44042
44043
44044
44045
44046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44047 $as_echo_n "checking for modfl declaration... " >&6; }
44048   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44049     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44050   $as_echo_n "(cached) " >&6
44051 else
44052
44053
44054       ac_ext=cpp
44055 ac_cpp='$CXXCPP $CPPFLAGS'
44056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44059
44060       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44061 /* end confdefs.h.  */
44062 #include <math.h>
44063 int
44064 main ()
44065 {
44066  modfl(0, 0);
44067   ;
44068   return 0;
44069 }
44070 _ACEOF
44071 if ac_fn_cxx_try_compile "$LINENO"; then :
44072   glibcxx_cv_func_modfl_use=yes
44073 else
44074   glibcxx_cv_func_modfl_use=no
44075 fi
44076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44077       ac_ext=c
44078 ac_cpp='$CPP $CPPFLAGS'
44079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44082
44083
44084 fi
44085
44086   fi
44087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44088 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44089
44090   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44091     for ac_func in modfl
44092 do :
44093   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44094 if test "x$ac_cv_func_modfl" = x""yes; then :
44095   cat >>confdefs.h <<_ACEOF
44096 #define HAVE_MODFL 1
44097 _ACEOF
44098
44099 fi
44100 done
44101
44102   else
44103
44104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44105 $as_echo_n "checking for _modfl declaration... " >&6; }
44106   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44107     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44108   $as_echo_n "(cached) " >&6
44109 else
44110
44111
44112       ac_ext=cpp
44113 ac_cpp='$CXXCPP $CPPFLAGS'
44114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44117
44118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44119 /* end confdefs.h.  */
44120 #include <math.h>
44121 int
44122 main ()
44123 {
44124  _modfl(0, 0);
44125   ;
44126   return 0;
44127 }
44128 _ACEOF
44129 if ac_fn_cxx_try_compile "$LINENO"; then :
44130   glibcxx_cv_func__modfl_use=yes
44131 else
44132   glibcxx_cv_func__modfl_use=no
44133 fi
44134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44135       ac_ext=c
44136 ac_cpp='$CPP $CPPFLAGS'
44137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44140
44141
44142 fi
44143
44144   fi
44145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44146 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44147
44148     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44149       for ac_func in _modfl
44150 do :
44151   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44152 if test "x$ac_cv_func__modfl" = x""yes; then :
44153   cat >>confdefs.h <<_ACEOF
44154 #define HAVE__MODFL 1
44155 _ACEOF
44156
44157 fi
44158 done
44159
44160     fi
44161   fi
44162
44163
44164
44165
44166
44167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44168 $as_echo_n "checking for powl declaration... " >&6; }
44169   if test x${glibcxx_cv_func_powl_use+set} != xset; then
44170     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44171   $as_echo_n "(cached) " >&6
44172 else
44173
44174
44175       ac_ext=cpp
44176 ac_cpp='$CXXCPP $CPPFLAGS'
44177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44180
44181       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44182 /* end confdefs.h.  */
44183 #include <math.h>
44184 int
44185 main ()
44186 {
44187  powl(0, 0);
44188   ;
44189   return 0;
44190 }
44191 _ACEOF
44192 if ac_fn_cxx_try_compile "$LINENO"; then :
44193   glibcxx_cv_func_powl_use=yes
44194 else
44195   glibcxx_cv_func_powl_use=no
44196 fi
44197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44198       ac_ext=c
44199 ac_cpp='$CPP $CPPFLAGS'
44200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44203
44204
44205 fi
44206
44207   fi
44208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44209 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44210
44211   if test x$glibcxx_cv_func_powl_use = x"yes"; then
44212     for ac_func in powl
44213 do :
44214   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44215 if test "x$ac_cv_func_powl" = x""yes; then :
44216   cat >>confdefs.h <<_ACEOF
44217 #define HAVE_POWL 1
44218 _ACEOF
44219
44220 fi
44221 done
44222
44223   else
44224
44225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44226 $as_echo_n "checking for _powl declaration... " >&6; }
44227   if test x${glibcxx_cv_func__powl_use+set} != xset; then
44228     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44229   $as_echo_n "(cached) " >&6
44230 else
44231
44232
44233       ac_ext=cpp
44234 ac_cpp='$CXXCPP $CPPFLAGS'
44235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44238
44239       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44240 /* end confdefs.h.  */
44241 #include <math.h>
44242 int
44243 main ()
44244 {
44245  _powl(0, 0);
44246   ;
44247   return 0;
44248 }
44249 _ACEOF
44250 if ac_fn_cxx_try_compile "$LINENO"; then :
44251   glibcxx_cv_func__powl_use=yes
44252 else
44253   glibcxx_cv_func__powl_use=no
44254 fi
44255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44256       ac_ext=c
44257 ac_cpp='$CPP $CPPFLAGS'
44258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44261
44262
44263 fi
44264
44265   fi
44266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44267 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44268
44269     if test x$glibcxx_cv_func__powl_use = x"yes"; then
44270       for ac_func in _powl
44271 do :
44272   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44273 if test "x$ac_cv_func__powl" = x""yes; then :
44274   cat >>confdefs.h <<_ACEOF
44275 #define HAVE__POWL 1
44276 _ACEOF
44277
44278 fi
44279 done
44280
44281     fi
44282   fi
44283
44284
44285
44286
44287
44288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44289 $as_echo_n "checking for sqrtl declaration... " >&6; }
44290   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44291     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44292   $as_echo_n "(cached) " >&6
44293 else
44294
44295
44296       ac_ext=cpp
44297 ac_cpp='$CXXCPP $CPPFLAGS'
44298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44301
44302       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44303 /* end confdefs.h.  */
44304 #include <math.h>
44305                       #ifdef HAVE_IEEEFP_H
44306                       #include <ieeefp.h>
44307                       #endif
44308
44309 int
44310 main ()
44311 {
44312  sqrtl(0);
44313   ;
44314   return 0;
44315 }
44316 _ACEOF
44317 if ac_fn_cxx_try_compile "$LINENO"; then :
44318   glibcxx_cv_func_sqrtl_use=yes
44319 else
44320   glibcxx_cv_func_sqrtl_use=no
44321 fi
44322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44323       ac_ext=c
44324 ac_cpp='$CPP $CPPFLAGS'
44325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44328
44329
44330 fi
44331
44332   fi
44333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44334 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44335
44336   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44337     for ac_func in sqrtl
44338 do :
44339   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44340 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44341   cat >>confdefs.h <<_ACEOF
44342 #define HAVE_SQRTL 1
44343 _ACEOF
44344
44345 fi
44346 done
44347
44348   else
44349
44350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44351 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44352   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44353     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44354   $as_echo_n "(cached) " >&6
44355 else
44356
44357
44358       ac_ext=cpp
44359 ac_cpp='$CXXCPP $CPPFLAGS'
44360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44363
44364       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44365 /* end confdefs.h.  */
44366 #include <math.h>
44367                       #ifdef HAVE_IEEEFP_H
44368                       #include <ieeefp.h>
44369                       #endif
44370
44371 int
44372 main ()
44373 {
44374  _sqrtl(0);
44375   ;
44376   return 0;
44377 }
44378 _ACEOF
44379 if ac_fn_cxx_try_compile "$LINENO"; then :
44380   glibcxx_cv_func__sqrtl_use=yes
44381 else
44382   glibcxx_cv_func__sqrtl_use=no
44383 fi
44384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44385       ac_ext=c
44386 ac_cpp='$CPP $CPPFLAGS'
44387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44390
44391
44392 fi
44393
44394   fi
44395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44396 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44397
44398     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44399       for ac_func in _sqrtl
44400 do :
44401   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44402 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44403   cat >>confdefs.h <<_ACEOF
44404 #define HAVE__SQRTL 1
44405 _ACEOF
44406
44407 fi
44408 done
44409
44410     fi
44411   fi
44412
44413
44414
44415
44416
44417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44418 $as_echo_n "checking for sincosl declaration... " >&6; }
44419   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44420     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44421   $as_echo_n "(cached) " >&6
44422 else
44423
44424
44425       ac_ext=cpp
44426 ac_cpp='$CXXCPP $CPPFLAGS'
44427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44430
44431       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44432 /* end confdefs.h.  */
44433 #include <math.h>
44434 int
44435 main ()
44436 {
44437  sincosl(0, 0, 0);
44438   ;
44439   return 0;
44440 }
44441 _ACEOF
44442 if ac_fn_cxx_try_compile "$LINENO"; then :
44443   glibcxx_cv_func_sincosl_use=yes
44444 else
44445   glibcxx_cv_func_sincosl_use=no
44446 fi
44447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44448       ac_ext=c
44449 ac_cpp='$CPP $CPPFLAGS'
44450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44453
44454
44455 fi
44456
44457   fi
44458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44459 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44460
44461   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44462     for ac_func in sincosl
44463 do :
44464   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44465 if test "x$ac_cv_func_sincosl" = x""yes; then :
44466   cat >>confdefs.h <<_ACEOF
44467 #define HAVE_SINCOSL 1
44468 _ACEOF
44469
44470 fi
44471 done
44472
44473   else
44474
44475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44476 $as_echo_n "checking for _sincosl declaration... " >&6; }
44477   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44478     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44479   $as_echo_n "(cached) " >&6
44480 else
44481
44482
44483       ac_ext=cpp
44484 ac_cpp='$CXXCPP $CPPFLAGS'
44485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44488
44489       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44490 /* end confdefs.h.  */
44491 #include <math.h>
44492 int
44493 main ()
44494 {
44495  _sincosl(0, 0, 0);
44496   ;
44497   return 0;
44498 }
44499 _ACEOF
44500 if ac_fn_cxx_try_compile "$LINENO"; then :
44501   glibcxx_cv_func__sincosl_use=yes
44502 else
44503   glibcxx_cv_func__sincosl_use=no
44504 fi
44505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44506       ac_ext=c
44507 ac_cpp='$CPP $CPPFLAGS'
44508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44511
44512
44513 fi
44514
44515   fi
44516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44517 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44518
44519     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44520       for ac_func in _sincosl
44521 do :
44522   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44523 if test "x$ac_cv_func__sincosl" = x""yes; then :
44524   cat >>confdefs.h <<_ACEOF
44525 #define HAVE__SINCOSL 1
44526 _ACEOF
44527
44528 fi
44529 done
44530
44531     fi
44532   fi
44533
44534
44535
44536
44537
44538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44539 $as_echo_n "checking for finitel declaration... " >&6; }
44540   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44541     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44542   $as_echo_n "(cached) " >&6
44543 else
44544
44545
44546       ac_ext=cpp
44547 ac_cpp='$CXXCPP $CPPFLAGS'
44548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44551
44552       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44553 /* end confdefs.h.  */
44554 #include <math.h>
44555                       #ifdef HAVE_IEEEFP_H
44556                       #include <ieeefp.h>
44557                       #endif
44558
44559 int
44560 main ()
44561 {
44562  finitel(0);
44563   ;
44564   return 0;
44565 }
44566 _ACEOF
44567 if ac_fn_cxx_try_compile "$LINENO"; then :
44568   glibcxx_cv_func_finitel_use=yes
44569 else
44570   glibcxx_cv_func_finitel_use=no
44571 fi
44572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44573       ac_ext=c
44574 ac_cpp='$CPP $CPPFLAGS'
44575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44578
44579
44580 fi
44581
44582   fi
44583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44584 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44585
44586   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44587     for ac_func in finitel
44588 do :
44589   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44590 if test "x$ac_cv_func_finitel" = x""yes; then :
44591   cat >>confdefs.h <<_ACEOF
44592 #define HAVE_FINITEL 1
44593 _ACEOF
44594
44595 fi
44596 done
44597
44598   else
44599
44600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44601 $as_echo_n "checking for _finitel declaration... " >&6; }
44602   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44603     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44604   $as_echo_n "(cached) " >&6
44605 else
44606
44607
44608       ac_ext=cpp
44609 ac_cpp='$CXXCPP $CPPFLAGS'
44610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44613
44614       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44615 /* end confdefs.h.  */
44616 #include <math.h>
44617                       #ifdef HAVE_IEEEFP_H
44618                       #include <ieeefp.h>
44619                       #endif
44620
44621 int
44622 main ()
44623 {
44624  _finitel(0);
44625   ;
44626   return 0;
44627 }
44628 _ACEOF
44629 if ac_fn_cxx_try_compile "$LINENO"; then :
44630   glibcxx_cv_func__finitel_use=yes
44631 else
44632   glibcxx_cv_func__finitel_use=no
44633 fi
44634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44635       ac_ext=c
44636 ac_cpp='$CPP $CPPFLAGS'
44637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44640
44641
44642 fi
44643
44644   fi
44645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44646 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44647
44648     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44649       for ac_func in _finitel
44650 do :
44651   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44652 if test "x$ac_cv_func__finitel" = x""yes; then :
44653   cat >>confdefs.h <<_ACEOF
44654 #define HAVE__FINITEL 1
44655 _ACEOF
44656
44657 fi
44658 done
44659
44660     fi
44661   fi
44662
44663
44664
44665
44666   LIBS="$ac_save_LIBS"
44667   CXXFLAGS="$ac_save_CXXFLAGS"
44668
44669
44670   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44671   ac_save_CXXFLAGS="$CXXFLAGS"
44672   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44673
44674
44675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44676 $as_echo_n "checking for strtold declaration... " >&6; }
44677   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44678     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44679   $as_echo_n "(cached) " >&6
44680 else
44681
44682
44683       ac_ext=cpp
44684 ac_cpp='$CXXCPP $CPPFLAGS'
44685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44688
44689       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44690 /* end confdefs.h.  */
44691 #include <stdlib.h>
44692 int
44693 main ()
44694 {
44695  strtold(0, 0);
44696   ;
44697   return 0;
44698 }
44699 _ACEOF
44700 if ac_fn_cxx_try_compile "$LINENO"; then :
44701   glibcxx_cv_func_strtold_use=yes
44702 else
44703   glibcxx_cv_func_strtold_use=no
44704 fi
44705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44706       ac_ext=c
44707 ac_cpp='$CPP $CPPFLAGS'
44708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44711
44712
44713 fi
44714
44715   fi
44716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44717 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44718   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44719     for ac_func in strtold
44720 do :
44721   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44722 if test "x$ac_cv_func_strtold" = x""yes; then :
44723   cat >>confdefs.h <<_ACEOF
44724 #define HAVE_STRTOLD 1
44725 _ACEOF
44726
44727 fi
44728 done
44729
44730   fi
44731
44732
44733
44734
44735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44736 $as_echo_n "checking for strtof declaration... " >&6; }
44737   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44738     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44739   $as_echo_n "(cached) " >&6
44740 else
44741
44742
44743       ac_ext=cpp
44744 ac_cpp='$CXXCPP $CPPFLAGS'
44745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44748
44749       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44750 /* end confdefs.h.  */
44751 #include <stdlib.h>
44752 int
44753 main ()
44754 {
44755  strtof(0, 0);
44756   ;
44757   return 0;
44758 }
44759 _ACEOF
44760 if ac_fn_cxx_try_compile "$LINENO"; then :
44761   glibcxx_cv_func_strtof_use=yes
44762 else
44763   glibcxx_cv_func_strtof_use=no
44764 fi
44765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44766       ac_ext=c
44767 ac_cpp='$CPP $CPPFLAGS'
44768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44771
44772
44773 fi
44774
44775   fi
44776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44777 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44778   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44779     for ac_func in strtof
44780 do :
44781   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44782 if test "x$ac_cv_func_strtof" = x""yes; then :
44783   cat >>confdefs.h <<_ACEOF
44784 #define HAVE_STRTOF 1
44785 _ACEOF
44786
44787 fi
44788 done
44789
44790   fi
44791
44792
44793
44794
44795   CXXFLAGS="$ac_save_CXXFLAGS"
44796
44797     ;;
44798
44799   *djgpp)
44800     # GLIBCXX_CHECK_MATH_SUPPORT
44801     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44802
44803     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44804
44805     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44806
44807     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44808
44809     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44810
44811     ;;
44812
44813   *-freebsd*)
44814     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44815
44816
44817   # If we're not using GNU ld, then there's no point in even trying these
44818   # tests.  Check for that first.  We should have already tested for gld
44819   # by now (in libtool), but require it now just to be safe...
44820   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44821   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44822
44823
44824
44825   # The name set by libtool depends on the version of libtool.  Shame on us
44826   # for depending on an impl detail, but c'est la vie.  Older versions used
44827   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44828   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44829   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44830   # set (hence we're using an older libtool), then set it.
44831   if test x${with_gnu_ld+set} != xset; then
44832     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44833       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44834       with_gnu_ld=no
44835     else
44836       with_gnu_ld=$ac_cv_prog_gnu_ld
44837     fi
44838   fi
44839
44840   # Start by getting the version number.  I think the libtool test already
44841   # does some of this, but throws away the result.
44842   glibcxx_ld_is_gold=no
44843   if test x"$with_gnu_ld" = x"yes"; then
44844     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44845 $as_echo_n "checking for ld version... " >&6; }
44846
44847     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44848       glibcxx_ld_is_gold=yes
44849     fi
44850     ldver=`$LD --version 2>/dev/null |
44851            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'`
44852
44853     glibcxx_gnu_ld_version=`echo $ldver | \
44854            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44855     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44856 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44857   fi
44858
44859   # Set --gc-sections.
44860   glibcxx_have_gc_sections=no
44861   if test "$glibcxx_ld_is_gold" = "yes"; then
44862     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44863       glibcxx_have_gc_sections=yes
44864     fi
44865   else
44866     glibcxx_gcsections_min_ld=21602
44867     if test x"$with_gnu_ld" = x"yes" &&
44868         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44869       glibcxx_have_gc_sections=yes
44870     fi
44871   fi
44872   if test "$glibcxx_have_gc_sections" = "yes"; then
44873     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44874     # NB: This flag only works reliably after 2.16.1. Configure tests
44875     # for this are difficult, so hard wire a value that should work.
44876
44877     ac_test_CFLAGS="${CFLAGS+set}"
44878     ac_save_CFLAGS="$CFLAGS"
44879     CFLAGS='-Wl,--gc-sections'
44880
44881     # Check for -Wl,--gc-sections
44882     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44883 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44884     if test x$gcc_no_link = xyes; then
44885   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44886 fi
44887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44888 /* end confdefs.h.  */
44889  int one(void) { return 1; }
44890      int two(void) { return 2; }
44891
44892 int
44893 main ()
44894 {
44895  two();
44896   ;
44897   return 0;
44898 }
44899 _ACEOF
44900 if ac_fn_c_try_link "$LINENO"; then :
44901   ac_gcsections=yes
44902 else
44903   ac_gcsections=no
44904 fi
44905 rm -f core conftest.err conftest.$ac_objext \
44906     conftest$ac_exeext conftest.$ac_ext
44907     if test "$ac_gcsections" = "yes"; then
44908       rm -f conftest.c
44909       touch conftest.c
44910       if $CC -c conftest.c; then
44911         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44912            grep "Warning: gc-sections option ignored" > /dev/null; then
44913           ac_gcsections=no
44914         fi
44915       fi
44916       rm -f conftest.c conftest.o conftest
44917     fi
44918     if test "$ac_gcsections" = "yes"; then
44919       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44920     fi
44921     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44922 $as_echo "$ac_gcsections" >&6; }
44923
44924     if test "$ac_test_CFLAGS" = set; then
44925       CFLAGS="$ac_save_CFLAGS"
44926     else
44927       # this is the suspicious part
44928       CFLAGS=''
44929     fi
44930   fi
44931
44932   # Set -z,relro.
44933   # Note this is only for shared objects.
44934   ac_ld_relro=no
44935   if test x"$with_gnu_ld" = x"yes"; then
44936     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44937 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44938     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44939     if test -n "$cxx_z_relo"; then
44940       OPT_LDFLAGS="-Wl,-z,relro"
44941       ac_ld_relro=yes
44942     fi
44943     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44944 $as_echo "$ac_ld_relro" >&6; }
44945   fi
44946
44947   # Set linker optimization flags.
44948   if test x"$with_gnu_ld" = x"yes"; then
44949     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44950   fi
44951
44952
44953
44954
44955     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44956
44957     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44958
44959     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44960
44961     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44962
44963     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44964
44965     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44966
44967     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44968
44969     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44970
44971     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44972
44973
44974     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44975
44976     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44977
44978     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44979
44980     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44981
44982     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44983
44984     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44985
44986     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44987
44988     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44989
44990     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44991
44992     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44993
44994     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44995
44996     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44997
44998     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44999
45000     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45001
45002     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45003
45004     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45005
45006     $as_echo "#define HAVE_POWF 1" >>confdefs.h
45007
45008     $as_echo "#define HAVE_SINF 1" >>confdefs.h
45009
45010     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45011
45012     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45013
45014     $as_echo "#define HAVE_TANF 1" >>confdefs.h
45015
45016     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45017
45018     if test x"long_double_math_on_this_cpu" = x"yes"; then
45019       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45020
45021       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45022
45023       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45024
45025     fi
45026     ;;
45027   *-hpux*)
45028     SECTION_FLAGS='-ffunction-sections -fdata-sections'
45029
45030
45031   # If we're not using GNU ld, then there's no point in even trying these
45032   # tests.  Check for that first.  We should have already tested for gld
45033   # by now (in libtool), but require it now just to be safe...
45034   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45035   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45036
45037
45038
45039   # The name set by libtool depends on the version of libtool.  Shame on us
45040   # for depending on an impl detail, but c'est la vie.  Older versions used
45041   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45042   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45043   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45044   # set (hence we're using an older libtool), then set it.
45045   if test x${with_gnu_ld+set} != xset; then
45046     if test x${ac_cv_prog_gnu_ld+set} != xset; then
45047       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45048       with_gnu_ld=no
45049     else
45050       with_gnu_ld=$ac_cv_prog_gnu_ld
45051     fi
45052   fi
45053
45054   # Start by getting the version number.  I think the libtool test already
45055   # does some of this, but throws away the result.
45056   glibcxx_ld_is_gold=no
45057   if test x"$with_gnu_ld" = x"yes"; then
45058     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45059 $as_echo_n "checking for ld version... " >&6; }
45060
45061     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45062       glibcxx_ld_is_gold=yes
45063     fi
45064     ldver=`$LD --version 2>/dev/null |
45065            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'`
45066
45067     glibcxx_gnu_ld_version=`echo $ldver | \
45068            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45069     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45070 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45071   fi
45072
45073   # Set --gc-sections.
45074   glibcxx_have_gc_sections=no
45075   if test "$glibcxx_ld_is_gold" = "yes"; then
45076     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45077       glibcxx_have_gc_sections=yes
45078     fi
45079   else
45080     glibcxx_gcsections_min_ld=21602
45081     if test x"$with_gnu_ld" = x"yes" &&
45082         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45083       glibcxx_have_gc_sections=yes
45084     fi
45085   fi
45086   if test "$glibcxx_have_gc_sections" = "yes"; then
45087     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
45088     # NB: This flag only works reliably after 2.16.1. Configure tests
45089     # for this are difficult, so hard wire a value that should work.
45090
45091     ac_test_CFLAGS="${CFLAGS+set}"
45092     ac_save_CFLAGS="$CFLAGS"
45093     CFLAGS='-Wl,--gc-sections'
45094
45095     # Check for -Wl,--gc-sections
45096     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45097 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45098     if test x$gcc_no_link = xyes; then
45099   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45100 fi
45101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45102 /* end confdefs.h.  */
45103  int one(void) { return 1; }
45104      int two(void) { return 2; }
45105
45106 int
45107 main ()
45108 {
45109  two();
45110   ;
45111   return 0;
45112 }
45113 _ACEOF
45114 if ac_fn_c_try_link "$LINENO"; then :
45115   ac_gcsections=yes
45116 else
45117   ac_gcsections=no
45118 fi
45119 rm -f core conftest.err conftest.$ac_objext \
45120     conftest$ac_exeext conftest.$ac_ext
45121     if test "$ac_gcsections" = "yes"; then
45122       rm -f conftest.c
45123       touch conftest.c
45124       if $CC -c conftest.c; then
45125         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45126            grep "Warning: gc-sections option ignored" > /dev/null; then
45127           ac_gcsections=no
45128         fi
45129       fi
45130       rm -f conftest.c conftest.o conftest
45131     fi
45132     if test "$ac_gcsections" = "yes"; then
45133       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45134     fi
45135     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45136 $as_echo "$ac_gcsections" >&6; }
45137
45138     if test "$ac_test_CFLAGS" = set; then
45139       CFLAGS="$ac_save_CFLAGS"
45140     else
45141       # this is the suspicious part
45142       CFLAGS=''
45143     fi
45144   fi
45145
45146   # Set -z,relro.
45147   # Note this is only for shared objects.
45148   ac_ld_relro=no
45149   if test x"$with_gnu_ld" = x"yes"; then
45150     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45151 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45152     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45153     if test -n "$cxx_z_relo"; then
45154       OPT_LDFLAGS="-Wl,-z,relro"
45155       ac_ld_relro=yes
45156     fi
45157     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45158 $as_echo "$ac_ld_relro" >&6; }
45159   fi
45160
45161   # Set linker optimization flags.
45162   if test x"$with_gnu_ld" = x"yes"; then
45163     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45164   fi
45165
45166
45167
45168
45169
45170     # GLIBCXX_CHECK_MATH_SUPPORT
45171     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45172
45173     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45174
45175     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45176
45177     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45178
45179     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45180
45181     $as_echo "#define HAVE_COSF 1" >>confdefs.h
45182
45183     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45184
45185     $as_echo "#define HAVE_SINF 1" >>confdefs.h
45186
45187     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45188
45189     $as_echo "#define HAVE_TANF 1" >>confdefs.h
45190
45191     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45192
45193     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45194
45195     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45196
45197     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45198
45199     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45200
45201     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45202
45203     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45204
45205     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45206
45207     $as_echo "#define HAVE_MODF 1" >>confdefs.h
45208
45209     $as_echo "#define HAVE_POWF 1" >>confdefs.h
45210
45211     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45212
45213
45214     # GLIBCXX_CHECK_STDLIB_SUPPORT
45215     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45216
45217
45218
45219
45220    # Check whether --enable-tls was given.
45221 if test "${enable_tls+set}" = set; then :
45222   enableval=$enable_tls;
45223       case "$enableval" in
45224        yes|no) ;;
45225        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45226       esac
45227
45228 else
45229   enable_tls=yes
45230 fi
45231
45232
45233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45234 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45235 if test "${gcc_cv_have_tls+set}" = set; then :
45236   $as_echo_n "(cached) " >&6
45237 else
45238
45239     if test "$cross_compiling" = yes; then :
45240                 if test x$gcc_no_link = xyes; then
45241   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45242 fi
45243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45244 /* end confdefs.h.  */
45245 __thread int a; int b; int main() { return a = b; }
45246 _ACEOF
45247 if ac_fn_c_try_link "$LINENO"; then :
45248   chktls_save_LDFLAGS="$LDFLAGS"
45249                           case $host in
45250             *-*-linux*)
45251               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45252               ;;
45253           esac
45254           chktls_save_CFLAGS="$CFLAGS"
45255           CFLAGS="-fPIC $CFLAGS"
45256                   if test x$gcc_no_link = xyes; then
45257   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45258 fi
45259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45260 /* end confdefs.h.  */
45261 int f() { return 0; }
45262 _ACEOF
45263 if ac_fn_c_try_link "$LINENO"; then :
45264   if test x$gcc_no_link = xyes; then
45265   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45266 fi
45267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45268 /* end confdefs.h.  */
45269 __thread int a; int b; int f() { return a = b; }
45270 _ACEOF
45271 if ac_fn_c_try_link "$LINENO"; then :
45272   gcc_cv_have_tls=yes
45273 else
45274   gcc_cv_have_tls=no
45275 fi
45276 rm -f core conftest.err conftest.$ac_objext \
45277     conftest$ac_exeext conftest.$ac_ext
45278 else
45279   gcc_cv_have_tls=yes
45280 fi
45281 rm -f core conftest.err conftest.$ac_objext \
45282     conftest$ac_exeext conftest.$ac_ext
45283           CFLAGS="$chktls_save_CFLAGS"
45284           LDFLAGS="$chktls_save_LDFLAGS"
45285 else
45286   gcc_cv_have_tls=no
45287 fi
45288 rm -f core conftest.err conftest.$ac_objext \
45289     conftest$ac_exeext conftest.$ac_ext
45290
45291
45292 else
45293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45294 /* end confdefs.h.  */
45295 __thread int a; int b; int main() { return a = b; }
45296 _ACEOF
45297 if ac_fn_c_try_run "$LINENO"; then :
45298                       chktls_save_LDFLAGS="$LDFLAGS"
45299       LDFLAGS="-static $LDFLAGS"
45300       if test x$gcc_no_link = xyes; then
45301   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45302 fi
45303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45304 /* end confdefs.h.  */
45305 int main() { return 0; }
45306 _ACEOF
45307 if ac_fn_c_try_link "$LINENO"; then :
45308   if test "$cross_compiling" = yes; then :
45309   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45311 as_fn_error "cannot run test program while cross compiling
45312 See \`config.log' for more details." "$LINENO" 5; }
45313 else
45314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45315 /* end confdefs.h.  */
45316 __thread int a; int b; int main() { return a = b; }
45317 _ACEOF
45318 if ac_fn_c_try_run "$LINENO"; then :
45319   gcc_cv_have_tls=yes
45320 else
45321   gcc_cv_have_tls=no
45322 fi
45323 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45324   conftest.$ac_objext conftest.beam conftest.$ac_ext
45325 fi
45326
45327 else
45328   gcc_cv_have_tls=yes
45329 fi
45330 rm -f core conftest.err conftest.$ac_objext \
45331     conftest$ac_exeext conftest.$ac_ext
45332       LDFLAGS="$chktls_save_LDFLAGS"
45333       if test $gcc_cv_have_tls = yes; then
45334                                                 chktls_save_CFLAGS="$CFLAGS"
45335         thread_CFLAGS=failed
45336         for flag in '' '-pthread' '-lpthread'; do
45337           CFLAGS="$flag $chktls_save_CFLAGS"
45338           if test x$gcc_no_link = xyes; then
45339   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45340 fi
45341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45342 /* end confdefs.h.  */
45343 #include <pthread.h>
45344                 void *g(void *d) { return NULL; }
45345 int
45346 main ()
45347 {
45348 pthread_t t; pthread_create(&t,NULL,g,NULL);
45349   ;
45350   return 0;
45351 }
45352 _ACEOF
45353 if ac_fn_c_try_link "$LINENO"; then :
45354   thread_CFLAGS="$flag"
45355 fi
45356 rm -f core conftest.err conftest.$ac_objext \
45357     conftest$ac_exeext conftest.$ac_ext
45358           if test "X$thread_CFLAGS" != Xfailed; then
45359             break
45360           fi
45361         done
45362         CFLAGS="$chktls_save_CFLAGS"
45363         if test "X$thread_CFLAGS" != Xfailed; then
45364           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45365                                                   if test "$cross_compiling" = yes; then :
45366   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45368 as_fn_error "cannot run test program while cross compiling
45369 See \`config.log' for more details." "$LINENO" 5; }
45370 else
45371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45372 /* end confdefs.h.  */
45373 #include <pthread.h>
45374                 __thread int a;
45375                 static int *volatile a_in_other_thread;
45376                 static void *
45377                 thread_func (void *arg)
45378                 {
45379                   a_in_other_thread = &a;
45380                   return (void *)0;
45381                 }
45382 int
45383 main ()
45384 {
45385 pthread_t thread;
45386                 void *thread_retval;
45387                 int *volatile a_in_main_thread;
45388                 a_in_main_thread = &a;
45389                 if (pthread_create (&thread, (pthread_attr_t *)0,
45390                                     thread_func, (void *)0))
45391                   return 0;
45392                 if (pthread_join (thread, &thread_retval))
45393                   return 0;
45394                 return (a_in_other_thread == a_in_main_thread);
45395   ;
45396   return 0;
45397 }
45398 _ACEOF
45399 if ac_fn_c_try_run "$LINENO"; then :
45400   gcc_cv_have_tls=yes
45401 else
45402   gcc_cv_have_tls=no
45403 fi
45404 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45405   conftest.$ac_objext conftest.beam conftest.$ac_ext
45406 fi
45407
45408           CFLAGS="$chktls_save_CFLAGS"
45409         fi
45410       fi
45411 else
45412   gcc_cv_have_tls=no
45413 fi
45414 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45415   conftest.$ac_objext conftest.beam conftest.$ac_ext
45416 fi
45417
45418 fi
45419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45420 $as_echo "$gcc_cv_have_tls" >&6; }
45421   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45422
45423 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45424
45425   fi
45426     case "$target" in
45427       *-hpux10*)
45428         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45429
45430         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45431
45432         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45433
45434         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45435
45436         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45437
45438         ;;
45439     esac
45440     ;;
45441   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45442
45443   # All these tests are for C++; save the language and the compiler flags.
45444   # The CXXFLAGS thing is suspicious, but based on similar bits previously
45445   # found in GLIBCXX_CONFIGURE.
45446
45447   ac_ext=cpp
45448 ac_cpp='$CXXCPP $CPPFLAGS'
45449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45452
45453   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45454   ac_save_CXXFLAGS="$CXXFLAGS"
45455
45456   # Check for maintainer-mode bits.
45457   if test x"$USE_MAINTAINER_MODE" = xno; then
45458     WERROR=''
45459   else
45460     WERROR='-Werror'
45461   fi
45462
45463   # Check for -ffunction-sections -fdata-sections
45464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45465 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45466   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45468 /* end confdefs.h.  */
45469 int foo; void bar() { };
45470 int
45471 main ()
45472 {
45473
45474   ;
45475   return 0;
45476 }
45477 _ACEOF
45478 if ac_fn_cxx_try_compile "$LINENO"; then :
45479   ac_fdsections=yes
45480 else
45481   ac_fdsections=no
45482 fi
45483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45484   if test "$ac_test_CXXFLAGS" = set; then
45485     CXXFLAGS="$ac_save_CXXFLAGS"
45486   else
45487     # this is the suspicious part
45488     CXXFLAGS=''
45489   fi
45490   if test x"$ac_fdsections" = x"yes"; then
45491     SECTION_FLAGS='-ffunction-sections -fdata-sections'
45492   fi
45493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45494 $as_echo "$ac_fdsections" >&6; }
45495
45496   ac_ext=c
45497 ac_cpp='$CPP $CPPFLAGS'
45498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45501
45502
45503
45504
45505
45506   # If we're not using GNU ld, then there's no point in even trying these
45507   # tests.  Check for that first.  We should have already tested for gld
45508   # by now (in libtool), but require it now just to be safe...
45509   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45510   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45511
45512
45513
45514   # The name set by libtool depends on the version of libtool.  Shame on us
45515   # for depending on an impl detail, but c'est la vie.  Older versions used
45516   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45517   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45518   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45519   # set (hence we're using an older libtool), then set it.
45520   if test x${with_gnu_ld+set} != xset; then
45521     if test x${ac_cv_prog_gnu_ld+set} != xset; then
45522       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45523       with_gnu_ld=no
45524     else
45525       with_gnu_ld=$ac_cv_prog_gnu_ld
45526     fi
45527   fi
45528
45529   # Start by getting the version number.  I think the libtool test already
45530   # does some of this, but throws away the result.
45531   glibcxx_ld_is_gold=no
45532   if test x"$with_gnu_ld" = x"yes"; then
45533     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45534 $as_echo_n "checking for ld version... " >&6; }
45535
45536     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45537       glibcxx_ld_is_gold=yes
45538     fi
45539     ldver=`$LD --version 2>/dev/null |
45540            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'`
45541
45542     glibcxx_gnu_ld_version=`echo $ldver | \
45543            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45544     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45545 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45546   fi
45547
45548   # Set --gc-sections.
45549   glibcxx_have_gc_sections=no
45550   if test "$glibcxx_ld_is_gold" = "yes"; then
45551     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45552       glibcxx_have_gc_sections=yes
45553     fi
45554   else
45555     glibcxx_gcsections_min_ld=21602
45556     if test x"$with_gnu_ld" = x"yes" &&
45557         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45558       glibcxx_have_gc_sections=yes
45559     fi
45560   fi
45561   if test "$glibcxx_have_gc_sections" = "yes"; then
45562     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
45563     # NB: This flag only works reliably after 2.16.1. Configure tests
45564     # for this are difficult, so hard wire a value that should work.
45565
45566     ac_test_CFLAGS="${CFLAGS+set}"
45567     ac_save_CFLAGS="$CFLAGS"
45568     CFLAGS='-Wl,--gc-sections'
45569
45570     # Check for -Wl,--gc-sections
45571     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45572 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45573     if test x$gcc_no_link = xyes; then
45574   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45575 fi
45576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45577 /* end confdefs.h.  */
45578  int one(void) { return 1; }
45579      int two(void) { return 2; }
45580
45581 int
45582 main ()
45583 {
45584  two();
45585   ;
45586   return 0;
45587 }
45588 _ACEOF
45589 if ac_fn_c_try_link "$LINENO"; then :
45590   ac_gcsections=yes
45591 else
45592   ac_gcsections=no
45593 fi
45594 rm -f core conftest.err conftest.$ac_objext \
45595     conftest$ac_exeext conftest.$ac_ext
45596     if test "$ac_gcsections" = "yes"; then
45597       rm -f conftest.c
45598       touch conftest.c
45599       if $CC -c conftest.c; then
45600         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45601            grep "Warning: gc-sections option ignored" > /dev/null; then
45602           ac_gcsections=no
45603         fi
45604       fi
45605       rm -f conftest.c conftest.o conftest
45606     fi
45607     if test "$ac_gcsections" = "yes"; then
45608       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45609     fi
45610     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45611 $as_echo "$ac_gcsections" >&6; }
45612
45613     if test "$ac_test_CFLAGS" = set; then
45614       CFLAGS="$ac_save_CFLAGS"
45615     else
45616       # this is the suspicious part
45617       CFLAGS=''
45618     fi
45619   fi
45620
45621   # Set -z,relro.
45622   # Note this is only for shared objects.
45623   ac_ld_relro=no
45624   if test x"$with_gnu_ld" = x"yes"; then
45625     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45626 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45627     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45628     if test -n "$cxx_z_relo"; then
45629       OPT_LDFLAGS="-Wl,-z,relro"
45630       ac_ld_relro=yes
45631     fi
45632     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45633 $as_echo "$ac_ld_relro" >&6; }
45634   fi
45635
45636   # Set linker optimization flags.
45637   if test x"$with_gnu_ld" = x"yes"; then
45638     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45639   fi
45640
45641
45642
45643
45644
45645   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45646   ac_save_CXXFLAGS="$CXXFLAGS"
45647   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45648
45649     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45650 $as_echo_n "checking for sin in -lm... " >&6; }
45651 if test "${ac_cv_lib_m_sin+set}" = set; then :
45652   $as_echo_n "(cached) " >&6
45653 else
45654   ac_check_lib_save_LIBS=$LIBS
45655 LIBS="-lm  $LIBS"
45656 if test x$gcc_no_link = xyes; then
45657   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45658 fi
45659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45660 /* end confdefs.h.  */
45661
45662 /* Override any GCC internal prototype to avoid an error.
45663    Use char because int might match the return type of a GCC
45664    builtin and then its argument prototype would still apply.  */
45665 #ifdef __cplusplus
45666 extern "C"
45667 #endif
45668 char sin ();
45669 int
45670 main ()
45671 {
45672 return sin ();
45673   ;
45674   return 0;
45675 }
45676 _ACEOF
45677 if ac_fn_c_try_link "$LINENO"; then :
45678   ac_cv_lib_m_sin=yes
45679 else
45680   ac_cv_lib_m_sin=no
45681 fi
45682 rm -f core conftest.err conftest.$ac_objext \
45683     conftest$ac_exeext conftest.$ac_ext
45684 LIBS=$ac_check_lib_save_LIBS
45685 fi
45686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45687 $as_echo "$ac_cv_lib_m_sin" >&6; }
45688 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45689   libm="-lm"
45690 fi
45691
45692   ac_save_LIBS="$LIBS"
45693   LIBS="$LIBS $libm"
45694
45695
45696
45697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45698 $as_echo_n "checking for isinf declaration... " >&6; }
45699   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45700     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45701   $as_echo_n "(cached) " >&6
45702 else
45703
45704
45705       ac_ext=cpp
45706 ac_cpp='$CXXCPP $CPPFLAGS'
45707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45710
45711       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45712 /* end confdefs.h.  */
45713 #include <math.h>
45714                       #ifdef HAVE_IEEEFP_H
45715                       #include <ieeefp.h>
45716                       #endif
45717
45718 int
45719 main ()
45720 {
45721  isinf(0);
45722   ;
45723   return 0;
45724 }
45725 _ACEOF
45726 if ac_fn_cxx_try_compile "$LINENO"; then :
45727   glibcxx_cv_func_isinf_use=yes
45728 else
45729   glibcxx_cv_func_isinf_use=no
45730 fi
45731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45732       ac_ext=c
45733 ac_cpp='$CPP $CPPFLAGS'
45734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45737
45738
45739 fi
45740
45741   fi
45742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45743 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45744
45745   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45746     for ac_func in isinf
45747 do :
45748   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45749 if test "x$ac_cv_func_isinf" = x""yes; then :
45750   cat >>confdefs.h <<_ACEOF
45751 #define HAVE_ISINF 1
45752 _ACEOF
45753
45754 fi
45755 done
45756
45757   else
45758
45759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45760 $as_echo_n "checking for _isinf declaration... " >&6; }
45761   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45762     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45763   $as_echo_n "(cached) " >&6
45764 else
45765
45766
45767       ac_ext=cpp
45768 ac_cpp='$CXXCPP $CPPFLAGS'
45769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45772
45773       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45774 /* end confdefs.h.  */
45775 #include <math.h>
45776                       #ifdef HAVE_IEEEFP_H
45777                       #include <ieeefp.h>
45778                       #endif
45779
45780 int
45781 main ()
45782 {
45783  _isinf(0);
45784   ;
45785   return 0;
45786 }
45787 _ACEOF
45788 if ac_fn_cxx_try_compile "$LINENO"; then :
45789   glibcxx_cv_func__isinf_use=yes
45790 else
45791   glibcxx_cv_func__isinf_use=no
45792 fi
45793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45794       ac_ext=c
45795 ac_cpp='$CPP $CPPFLAGS'
45796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45799
45800
45801 fi
45802
45803   fi
45804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45805 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45806
45807     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45808       for ac_func in _isinf
45809 do :
45810   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45811 if test "x$ac_cv_func__isinf" = x""yes; then :
45812   cat >>confdefs.h <<_ACEOF
45813 #define HAVE__ISINF 1
45814 _ACEOF
45815
45816 fi
45817 done
45818
45819     fi
45820   fi
45821
45822
45823
45824
45825
45826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45827 $as_echo_n "checking for isnan declaration... " >&6; }
45828   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45829     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45830   $as_echo_n "(cached) " >&6
45831 else
45832
45833
45834       ac_ext=cpp
45835 ac_cpp='$CXXCPP $CPPFLAGS'
45836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45839
45840       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45841 /* end confdefs.h.  */
45842 #include <math.h>
45843                       #ifdef HAVE_IEEEFP_H
45844                       #include <ieeefp.h>
45845                       #endif
45846
45847 int
45848 main ()
45849 {
45850  isnan(0);
45851   ;
45852   return 0;
45853 }
45854 _ACEOF
45855 if ac_fn_cxx_try_compile "$LINENO"; then :
45856   glibcxx_cv_func_isnan_use=yes
45857 else
45858   glibcxx_cv_func_isnan_use=no
45859 fi
45860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45861       ac_ext=c
45862 ac_cpp='$CPP $CPPFLAGS'
45863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45866
45867
45868 fi
45869
45870   fi
45871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45872 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45873
45874   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45875     for ac_func in isnan
45876 do :
45877   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45878 if test "x$ac_cv_func_isnan" = x""yes; then :
45879   cat >>confdefs.h <<_ACEOF
45880 #define HAVE_ISNAN 1
45881 _ACEOF
45882
45883 fi
45884 done
45885
45886   else
45887
45888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45889 $as_echo_n "checking for _isnan declaration... " >&6; }
45890   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45891     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45892   $as_echo_n "(cached) " >&6
45893 else
45894
45895
45896       ac_ext=cpp
45897 ac_cpp='$CXXCPP $CPPFLAGS'
45898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45901
45902       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45903 /* end confdefs.h.  */
45904 #include <math.h>
45905                       #ifdef HAVE_IEEEFP_H
45906                       #include <ieeefp.h>
45907                       #endif
45908
45909 int
45910 main ()
45911 {
45912  _isnan(0);
45913   ;
45914   return 0;
45915 }
45916 _ACEOF
45917 if ac_fn_cxx_try_compile "$LINENO"; then :
45918   glibcxx_cv_func__isnan_use=yes
45919 else
45920   glibcxx_cv_func__isnan_use=no
45921 fi
45922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45923       ac_ext=c
45924 ac_cpp='$CPP $CPPFLAGS'
45925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45928
45929
45930 fi
45931
45932   fi
45933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45934 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45935
45936     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45937       for ac_func in _isnan
45938 do :
45939   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45940 if test "x$ac_cv_func__isnan" = x""yes; then :
45941   cat >>confdefs.h <<_ACEOF
45942 #define HAVE__ISNAN 1
45943 _ACEOF
45944
45945 fi
45946 done
45947
45948     fi
45949   fi
45950
45951
45952
45953
45954
45955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45956 $as_echo_n "checking for finite declaration... " >&6; }
45957   if test x${glibcxx_cv_func_finite_use+set} != xset; then
45958     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45959   $as_echo_n "(cached) " >&6
45960 else
45961
45962
45963       ac_ext=cpp
45964 ac_cpp='$CXXCPP $CPPFLAGS'
45965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45968
45969       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45970 /* end confdefs.h.  */
45971 #include <math.h>
45972                       #ifdef HAVE_IEEEFP_H
45973                       #include <ieeefp.h>
45974                       #endif
45975
45976 int
45977 main ()
45978 {
45979  finite(0);
45980   ;
45981   return 0;
45982 }
45983 _ACEOF
45984 if ac_fn_cxx_try_compile "$LINENO"; then :
45985   glibcxx_cv_func_finite_use=yes
45986 else
45987   glibcxx_cv_func_finite_use=no
45988 fi
45989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45990       ac_ext=c
45991 ac_cpp='$CPP $CPPFLAGS'
45992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45995
45996
45997 fi
45998
45999   fi
46000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46001 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46002
46003   if test x$glibcxx_cv_func_finite_use = x"yes"; then
46004     for ac_func in finite
46005 do :
46006   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46007 if test "x$ac_cv_func_finite" = x""yes; then :
46008   cat >>confdefs.h <<_ACEOF
46009 #define HAVE_FINITE 1
46010 _ACEOF
46011
46012 fi
46013 done
46014
46015   else
46016
46017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46018 $as_echo_n "checking for _finite declaration... " >&6; }
46019   if test x${glibcxx_cv_func__finite_use+set} != xset; then
46020     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46021   $as_echo_n "(cached) " >&6
46022 else
46023
46024
46025       ac_ext=cpp
46026 ac_cpp='$CXXCPP $CPPFLAGS'
46027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46030
46031       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46032 /* end confdefs.h.  */
46033 #include <math.h>
46034                       #ifdef HAVE_IEEEFP_H
46035                       #include <ieeefp.h>
46036                       #endif
46037
46038 int
46039 main ()
46040 {
46041  _finite(0);
46042   ;
46043   return 0;
46044 }
46045 _ACEOF
46046 if ac_fn_cxx_try_compile "$LINENO"; then :
46047   glibcxx_cv_func__finite_use=yes
46048 else
46049   glibcxx_cv_func__finite_use=no
46050 fi
46051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46052       ac_ext=c
46053 ac_cpp='$CPP $CPPFLAGS'
46054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46057
46058
46059 fi
46060
46061   fi
46062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46063 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46064
46065     if test x$glibcxx_cv_func__finite_use = x"yes"; then
46066       for ac_func in _finite
46067 do :
46068   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46069 if test "x$ac_cv_func__finite" = x""yes; then :
46070   cat >>confdefs.h <<_ACEOF
46071 #define HAVE__FINITE 1
46072 _ACEOF
46073
46074 fi
46075 done
46076
46077     fi
46078   fi
46079
46080
46081
46082
46083
46084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46085 $as_echo_n "checking for sincos declaration... " >&6; }
46086   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46087     if test "${glibcxx_cv_func_sincos_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 int
46102 main ()
46103 {
46104  sincos(0, 0, 0);
46105   ;
46106   return 0;
46107 }
46108 _ACEOF
46109 if ac_fn_cxx_try_compile "$LINENO"; then :
46110   glibcxx_cv_func_sincos_use=yes
46111 else
46112   glibcxx_cv_func_sincos_use=no
46113 fi
46114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46115       ac_ext=c
46116 ac_cpp='$CPP $CPPFLAGS'
46117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46120
46121
46122 fi
46123
46124   fi
46125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46126 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46127
46128   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46129     for ac_func in sincos
46130 do :
46131   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46132 if test "x$ac_cv_func_sincos" = x""yes; then :
46133   cat >>confdefs.h <<_ACEOF
46134 #define HAVE_SINCOS 1
46135 _ACEOF
46136
46137 fi
46138 done
46139
46140   else
46141
46142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46143 $as_echo_n "checking for _sincos declaration... " >&6; }
46144   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46145     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46146   $as_echo_n "(cached) " >&6
46147 else
46148
46149
46150       ac_ext=cpp
46151 ac_cpp='$CXXCPP $CPPFLAGS'
46152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46155
46156       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46157 /* end confdefs.h.  */
46158 #include <math.h>
46159 int
46160 main ()
46161 {
46162  _sincos(0, 0, 0);
46163   ;
46164   return 0;
46165 }
46166 _ACEOF
46167 if ac_fn_cxx_try_compile "$LINENO"; then :
46168   glibcxx_cv_func__sincos_use=yes
46169 else
46170   glibcxx_cv_func__sincos_use=no
46171 fi
46172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46173       ac_ext=c
46174 ac_cpp='$CPP $CPPFLAGS'
46175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46178
46179
46180 fi
46181
46182   fi
46183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46184 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46185
46186     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46187       for ac_func in _sincos
46188 do :
46189   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46190 if test "x$ac_cv_func__sincos" = x""yes; then :
46191   cat >>confdefs.h <<_ACEOF
46192 #define HAVE__SINCOS 1
46193 _ACEOF
46194
46195 fi
46196 done
46197
46198     fi
46199   fi
46200
46201
46202
46203
46204
46205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46206 $as_echo_n "checking for fpclass declaration... " >&6; }
46207   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46208     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46209   $as_echo_n "(cached) " >&6
46210 else
46211
46212
46213       ac_ext=cpp
46214 ac_cpp='$CXXCPP $CPPFLAGS'
46215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46218
46219       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46220 /* end confdefs.h.  */
46221 #include <math.h>
46222                       #ifdef HAVE_IEEEFP_H
46223                       #include <ieeefp.h>
46224                       #endif
46225
46226 int
46227 main ()
46228 {
46229  fpclass(0);
46230   ;
46231   return 0;
46232 }
46233 _ACEOF
46234 if ac_fn_cxx_try_compile "$LINENO"; then :
46235   glibcxx_cv_func_fpclass_use=yes
46236 else
46237   glibcxx_cv_func_fpclass_use=no
46238 fi
46239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46240       ac_ext=c
46241 ac_cpp='$CPP $CPPFLAGS'
46242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46245
46246
46247 fi
46248
46249   fi
46250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46251 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46252
46253   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46254     for ac_func in fpclass
46255 do :
46256   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46257 if test "x$ac_cv_func_fpclass" = x""yes; then :
46258   cat >>confdefs.h <<_ACEOF
46259 #define HAVE_FPCLASS 1
46260 _ACEOF
46261
46262 fi
46263 done
46264
46265   else
46266
46267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46268 $as_echo_n "checking for _fpclass declaration... " >&6; }
46269   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46270     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46271   $as_echo_n "(cached) " >&6
46272 else
46273
46274
46275       ac_ext=cpp
46276 ac_cpp='$CXXCPP $CPPFLAGS'
46277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46280
46281       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46282 /* end confdefs.h.  */
46283 #include <math.h>
46284                       #ifdef HAVE_IEEEFP_H
46285                       #include <ieeefp.h>
46286                       #endif
46287
46288 int
46289 main ()
46290 {
46291  _fpclass(0);
46292   ;
46293   return 0;
46294 }
46295 _ACEOF
46296 if ac_fn_cxx_try_compile "$LINENO"; then :
46297   glibcxx_cv_func__fpclass_use=yes
46298 else
46299   glibcxx_cv_func__fpclass_use=no
46300 fi
46301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46302       ac_ext=c
46303 ac_cpp='$CPP $CPPFLAGS'
46304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46307
46308
46309 fi
46310
46311   fi
46312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46313 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46314
46315     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46316       for ac_func in _fpclass
46317 do :
46318   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46319 if test "x$ac_cv_func__fpclass" = x""yes; then :
46320   cat >>confdefs.h <<_ACEOF
46321 #define HAVE__FPCLASS 1
46322 _ACEOF
46323
46324 fi
46325 done
46326
46327     fi
46328   fi
46329
46330
46331
46332
46333
46334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46335 $as_echo_n "checking for qfpclass declaration... " >&6; }
46336   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46337     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46338   $as_echo_n "(cached) " >&6
46339 else
46340
46341
46342       ac_ext=cpp
46343 ac_cpp='$CXXCPP $CPPFLAGS'
46344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46347
46348       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46349 /* end confdefs.h.  */
46350 #include <math.h>
46351                       #ifdef HAVE_IEEEFP_H
46352                       #include <ieeefp.h>
46353                       #endif
46354
46355 int
46356 main ()
46357 {
46358  qfpclass(0);
46359   ;
46360   return 0;
46361 }
46362 _ACEOF
46363 if ac_fn_cxx_try_compile "$LINENO"; then :
46364   glibcxx_cv_func_qfpclass_use=yes
46365 else
46366   glibcxx_cv_func_qfpclass_use=no
46367 fi
46368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46369       ac_ext=c
46370 ac_cpp='$CPP $CPPFLAGS'
46371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46374
46375
46376 fi
46377
46378   fi
46379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46380 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46381
46382   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46383     for ac_func in qfpclass
46384 do :
46385   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46386 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46387   cat >>confdefs.h <<_ACEOF
46388 #define HAVE_QFPCLASS 1
46389 _ACEOF
46390
46391 fi
46392 done
46393
46394   else
46395
46396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46397 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46398   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46399     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46400   $as_echo_n "(cached) " >&6
46401 else
46402
46403
46404       ac_ext=cpp
46405 ac_cpp='$CXXCPP $CPPFLAGS'
46406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46409
46410       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46411 /* end confdefs.h.  */
46412 #include <math.h>
46413                       #ifdef HAVE_IEEEFP_H
46414                       #include <ieeefp.h>
46415                       #endif
46416
46417 int
46418 main ()
46419 {
46420  _qfpclass(0);
46421   ;
46422   return 0;
46423 }
46424 _ACEOF
46425 if ac_fn_cxx_try_compile "$LINENO"; then :
46426   glibcxx_cv_func__qfpclass_use=yes
46427 else
46428   glibcxx_cv_func__qfpclass_use=no
46429 fi
46430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46431       ac_ext=c
46432 ac_cpp='$CPP $CPPFLAGS'
46433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46436
46437
46438 fi
46439
46440   fi
46441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46442 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46443
46444     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46445       for ac_func in _qfpclass
46446 do :
46447   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46448 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46449   cat >>confdefs.h <<_ACEOF
46450 #define HAVE__QFPCLASS 1
46451 _ACEOF
46452
46453 fi
46454 done
46455
46456     fi
46457   fi
46458
46459
46460
46461
46462
46463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46464 $as_echo_n "checking for hypot declaration... " >&6; }
46465   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46466     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46467   $as_echo_n "(cached) " >&6
46468 else
46469
46470
46471       ac_ext=cpp
46472 ac_cpp='$CXXCPP $CPPFLAGS'
46473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46476
46477       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46478 /* end confdefs.h.  */
46479 #include <math.h>
46480 int
46481 main ()
46482 {
46483  hypot(0, 0);
46484   ;
46485   return 0;
46486 }
46487 _ACEOF
46488 if ac_fn_cxx_try_compile "$LINENO"; then :
46489   glibcxx_cv_func_hypot_use=yes
46490 else
46491   glibcxx_cv_func_hypot_use=no
46492 fi
46493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46494       ac_ext=c
46495 ac_cpp='$CPP $CPPFLAGS'
46496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46499
46500
46501 fi
46502
46503   fi
46504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46505 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46506
46507   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46508     for ac_func in hypot
46509 do :
46510   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46511 if test "x$ac_cv_func_hypot" = x""yes; then :
46512   cat >>confdefs.h <<_ACEOF
46513 #define HAVE_HYPOT 1
46514 _ACEOF
46515
46516 fi
46517 done
46518
46519   else
46520
46521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46522 $as_echo_n "checking for _hypot declaration... " >&6; }
46523   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46524     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46525   $as_echo_n "(cached) " >&6
46526 else
46527
46528
46529       ac_ext=cpp
46530 ac_cpp='$CXXCPP $CPPFLAGS'
46531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46534
46535       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46536 /* end confdefs.h.  */
46537 #include <math.h>
46538 int
46539 main ()
46540 {
46541  _hypot(0, 0);
46542   ;
46543   return 0;
46544 }
46545 _ACEOF
46546 if ac_fn_cxx_try_compile "$LINENO"; then :
46547   glibcxx_cv_func__hypot_use=yes
46548 else
46549   glibcxx_cv_func__hypot_use=no
46550 fi
46551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46552       ac_ext=c
46553 ac_cpp='$CPP $CPPFLAGS'
46554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46557
46558
46559 fi
46560
46561   fi
46562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46563 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46564
46565     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46566       for ac_func in _hypot
46567 do :
46568   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46569 if test "x$ac_cv_func__hypot" = x""yes; then :
46570   cat >>confdefs.h <<_ACEOF
46571 #define HAVE__HYPOT 1
46572 _ACEOF
46573
46574 fi
46575 done
46576
46577     fi
46578   fi
46579
46580
46581
46582
46583
46584     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46585 $as_echo_n "checking for float trig functions... " >&6; }
46586   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46587   $as_echo_n "(cached) " >&6
46588 else
46589
46590
46591     ac_ext=cpp
46592 ac_cpp='$CXXCPP $CPPFLAGS'
46593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46596
46597     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46598 /* end confdefs.h.  */
46599 #include <math.h>
46600 int
46601 main ()
46602 {
46603 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46604   ;
46605   return 0;
46606 }
46607 _ACEOF
46608 if ac_fn_cxx_try_compile "$LINENO"; then :
46609   glibcxx_cv_func_float_trig_use=yes
46610 else
46611   glibcxx_cv_func_float_trig_use=no
46612 fi
46613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46614     ac_ext=c
46615 ac_cpp='$CPP $CPPFLAGS'
46616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46619
46620 fi
46621
46622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46623 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46624   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46625     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46626 do :
46627   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46628 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46629 eval as_val=\$$as_ac_var
46630    if test "x$as_val" = x""yes; then :
46631   cat >>confdefs.h <<_ACEOF
46632 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46633 _ACEOF
46634
46635 fi
46636 done
46637
46638   else
46639     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46640 $as_echo_n "checking for _float trig functions... " >&6; }
46641     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46642   $as_echo_n "(cached) " >&6
46643 else
46644
46645
46646       ac_ext=cpp
46647 ac_cpp='$CXXCPP $CPPFLAGS'
46648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46651
46652       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46653 /* end confdefs.h.  */
46654 #include <math.h>
46655 int
46656 main ()
46657 {
46658 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46659   ;
46660   return 0;
46661 }
46662 _ACEOF
46663 if ac_fn_cxx_try_compile "$LINENO"; then :
46664   glibcxx_cv_func__float_trig_use=yes
46665 else
46666   glibcxx_cv_func__float_trig_use=no
46667 fi
46668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46669       ac_ext=c
46670 ac_cpp='$CPP $CPPFLAGS'
46671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46674
46675 fi
46676
46677     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46678 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46679     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46680       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46681 do :
46682   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46683 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46684 eval as_val=\$$as_ac_var
46685    if test "x$as_val" = x""yes; then :
46686   cat >>confdefs.h <<_ACEOF
46687 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46688 _ACEOF
46689
46690 fi
46691 done
46692
46693     fi
46694   fi
46695
46696
46697
46698
46699
46700     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46701 $as_echo_n "checking for float round functions... " >&6; }
46702   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46703   $as_echo_n "(cached) " >&6
46704 else
46705
46706
46707     ac_ext=cpp
46708 ac_cpp='$CXXCPP $CPPFLAGS'
46709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46712
46713     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46714 /* end confdefs.h.  */
46715 #include <math.h>
46716 int
46717 main ()
46718 {
46719 ceilf (0); floorf (0);
46720   ;
46721   return 0;
46722 }
46723 _ACEOF
46724 if ac_fn_cxx_try_compile "$LINENO"; then :
46725   glibcxx_cv_func_float_round_use=yes
46726 else
46727   glibcxx_cv_func_float_round_use=no
46728 fi
46729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46730     ac_ext=c
46731 ac_cpp='$CPP $CPPFLAGS'
46732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46735
46736 fi
46737
46738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46739 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46740   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46741     for ac_func in ceilf floorf
46742 do :
46743   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46744 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46745 eval as_val=\$$as_ac_var
46746    if test "x$as_val" = x""yes; then :
46747   cat >>confdefs.h <<_ACEOF
46748 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46749 _ACEOF
46750
46751 fi
46752 done
46753
46754   else
46755     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46756 $as_echo_n "checking for _float round functions... " >&6; }
46757     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46758   $as_echo_n "(cached) " >&6
46759 else
46760
46761
46762       ac_ext=cpp
46763 ac_cpp='$CXXCPP $CPPFLAGS'
46764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46767
46768       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46769 /* end confdefs.h.  */
46770 #include <math.h>
46771 int
46772 main ()
46773 {
46774 _ceilf (0); _floorf (0);
46775   ;
46776   return 0;
46777 }
46778 _ACEOF
46779 if ac_fn_cxx_try_compile "$LINENO"; then :
46780   glibcxx_cv_func__float_round_use=yes
46781 else
46782   glibcxx_cv_func__float_round_use=no
46783 fi
46784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46785       ac_ext=c
46786 ac_cpp='$CPP $CPPFLAGS'
46787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46790
46791 fi
46792
46793     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46794 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46795     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46796       for ac_func in _ceilf _floorf
46797 do :
46798   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46799 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46800 eval as_val=\$$as_ac_var
46801    if test "x$as_val" = x""yes; then :
46802   cat >>confdefs.h <<_ACEOF
46803 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46804 _ACEOF
46805
46806 fi
46807 done
46808
46809     fi
46810   fi
46811
46812
46813
46814
46815
46816
46817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46818 $as_echo_n "checking for expf declaration... " >&6; }
46819   if test x${glibcxx_cv_func_expf_use+set} != xset; then
46820     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46821   $as_echo_n "(cached) " >&6
46822 else
46823
46824
46825       ac_ext=cpp
46826 ac_cpp='$CXXCPP $CPPFLAGS'
46827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46830
46831       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46832 /* end confdefs.h.  */
46833 #include <math.h>
46834                       #ifdef HAVE_IEEEFP_H
46835                       #include <ieeefp.h>
46836                       #endif
46837
46838 int
46839 main ()
46840 {
46841  expf(0);
46842   ;
46843   return 0;
46844 }
46845 _ACEOF
46846 if ac_fn_cxx_try_compile "$LINENO"; then :
46847   glibcxx_cv_func_expf_use=yes
46848 else
46849   glibcxx_cv_func_expf_use=no
46850 fi
46851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46852       ac_ext=c
46853 ac_cpp='$CPP $CPPFLAGS'
46854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46857
46858
46859 fi
46860
46861   fi
46862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46863 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46864
46865   if test x$glibcxx_cv_func_expf_use = x"yes"; then
46866     for ac_func in expf
46867 do :
46868   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46869 if test "x$ac_cv_func_expf" = x""yes; then :
46870   cat >>confdefs.h <<_ACEOF
46871 #define HAVE_EXPF 1
46872 _ACEOF
46873
46874 fi
46875 done
46876
46877   else
46878
46879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46880 $as_echo_n "checking for _expf declaration... " >&6; }
46881   if test x${glibcxx_cv_func__expf_use+set} != xset; then
46882     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46883   $as_echo_n "(cached) " >&6
46884 else
46885
46886
46887       ac_ext=cpp
46888 ac_cpp='$CXXCPP $CPPFLAGS'
46889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46892
46893       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46894 /* end confdefs.h.  */
46895 #include <math.h>
46896                       #ifdef HAVE_IEEEFP_H
46897                       #include <ieeefp.h>
46898                       #endif
46899
46900 int
46901 main ()
46902 {
46903  _expf(0);
46904   ;
46905   return 0;
46906 }
46907 _ACEOF
46908 if ac_fn_cxx_try_compile "$LINENO"; then :
46909   glibcxx_cv_func__expf_use=yes
46910 else
46911   glibcxx_cv_func__expf_use=no
46912 fi
46913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46914       ac_ext=c
46915 ac_cpp='$CPP $CPPFLAGS'
46916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46919
46920
46921 fi
46922
46923   fi
46924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46925 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46926
46927     if test x$glibcxx_cv_func__expf_use = x"yes"; then
46928       for ac_func in _expf
46929 do :
46930   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46931 if test "x$ac_cv_func__expf" = x""yes; then :
46932   cat >>confdefs.h <<_ACEOF
46933 #define HAVE__EXPF 1
46934 _ACEOF
46935
46936 fi
46937 done
46938
46939     fi
46940   fi
46941
46942
46943
46944
46945
46946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46947 $as_echo_n "checking for isnanf declaration... " >&6; }
46948   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46949     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46950   $as_echo_n "(cached) " >&6
46951 else
46952
46953
46954       ac_ext=cpp
46955 ac_cpp='$CXXCPP $CPPFLAGS'
46956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46959
46960       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46961 /* end confdefs.h.  */
46962 #include <math.h>
46963                       #ifdef HAVE_IEEEFP_H
46964                       #include <ieeefp.h>
46965                       #endif
46966
46967 int
46968 main ()
46969 {
46970  isnanf(0);
46971   ;
46972   return 0;
46973 }
46974 _ACEOF
46975 if ac_fn_cxx_try_compile "$LINENO"; then :
46976   glibcxx_cv_func_isnanf_use=yes
46977 else
46978   glibcxx_cv_func_isnanf_use=no
46979 fi
46980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46981       ac_ext=c
46982 ac_cpp='$CPP $CPPFLAGS'
46983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46986
46987
46988 fi
46989
46990   fi
46991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46992 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46993
46994   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46995     for ac_func in isnanf
46996 do :
46997   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46998 if test "x$ac_cv_func_isnanf" = x""yes; then :
46999   cat >>confdefs.h <<_ACEOF
47000 #define HAVE_ISNANF 1
47001 _ACEOF
47002
47003 fi
47004 done
47005
47006   else
47007
47008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47009 $as_echo_n "checking for _isnanf declaration... " >&6; }
47010   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47011     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47012   $as_echo_n "(cached) " >&6
47013 else
47014
47015
47016       ac_ext=cpp
47017 ac_cpp='$CXXCPP $CPPFLAGS'
47018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47021
47022       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47023 /* end confdefs.h.  */
47024 #include <math.h>
47025                       #ifdef HAVE_IEEEFP_H
47026                       #include <ieeefp.h>
47027                       #endif
47028
47029 int
47030 main ()
47031 {
47032  _isnanf(0);
47033   ;
47034   return 0;
47035 }
47036 _ACEOF
47037 if ac_fn_cxx_try_compile "$LINENO"; then :
47038   glibcxx_cv_func__isnanf_use=yes
47039 else
47040   glibcxx_cv_func__isnanf_use=no
47041 fi
47042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47043       ac_ext=c
47044 ac_cpp='$CPP $CPPFLAGS'
47045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47048
47049
47050 fi
47051
47052   fi
47053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47054 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47055
47056     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47057       for ac_func in _isnanf
47058 do :
47059   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47060 if test "x$ac_cv_func__isnanf" = x""yes; then :
47061   cat >>confdefs.h <<_ACEOF
47062 #define HAVE__ISNANF 1
47063 _ACEOF
47064
47065 fi
47066 done
47067
47068     fi
47069   fi
47070
47071
47072
47073
47074
47075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47076 $as_echo_n "checking for isinff declaration... " >&6; }
47077   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47078     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47079   $as_echo_n "(cached) " >&6
47080 else
47081
47082
47083       ac_ext=cpp
47084 ac_cpp='$CXXCPP $CPPFLAGS'
47085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47088
47089       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47090 /* end confdefs.h.  */
47091 #include <math.h>
47092                       #ifdef HAVE_IEEEFP_H
47093                       #include <ieeefp.h>
47094                       #endif
47095
47096 int
47097 main ()
47098 {
47099  isinff(0);
47100   ;
47101   return 0;
47102 }
47103 _ACEOF
47104 if ac_fn_cxx_try_compile "$LINENO"; then :
47105   glibcxx_cv_func_isinff_use=yes
47106 else
47107   glibcxx_cv_func_isinff_use=no
47108 fi
47109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47110       ac_ext=c
47111 ac_cpp='$CPP $CPPFLAGS'
47112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47115
47116
47117 fi
47118
47119   fi
47120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47121 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47122
47123   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47124     for ac_func in isinff
47125 do :
47126   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47127 if test "x$ac_cv_func_isinff" = x""yes; then :
47128   cat >>confdefs.h <<_ACEOF
47129 #define HAVE_ISINFF 1
47130 _ACEOF
47131
47132 fi
47133 done
47134
47135   else
47136
47137   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47138 $as_echo_n "checking for _isinff declaration... " >&6; }
47139   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47140     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47141   $as_echo_n "(cached) " >&6
47142 else
47143
47144
47145       ac_ext=cpp
47146 ac_cpp='$CXXCPP $CPPFLAGS'
47147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47150
47151       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47152 /* end confdefs.h.  */
47153 #include <math.h>
47154                       #ifdef HAVE_IEEEFP_H
47155                       #include <ieeefp.h>
47156                       #endif
47157
47158 int
47159 main ()
47160 {
47161  _isinff(0);
47162   ;
47163   return 0;
47164 }
47165 _ACEOF
47166 if ac_fn_cxx_try_compile "$LINENO"; then :
47167   glibcxx_cv_func__isinff_use=yes
47168 else
47169   glibcxx_cv_func__isinff_use=no
47170 fi
47171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47172       ac_ext=c
47173 ac_cpp='$CPP $CPPFLAGS'
47174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47177
47178
47179 fi
47180
47181   fi
47182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47183 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47184
47185     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47186       for ac_func in _isinff
47187 do :
47188   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47189 if test "x$ac_cv_func__isinff" = x""yes; then :
47190   cat >>confdefs.h <<_ACEOF
47191 #define HAVE__ISINFF 1
47192 _ACEOF
47193
47194 fi
47195 done
47196
47197     fi
47198   fi
47199
47200
47201
47202
47203
47204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47205 $as_echo_n "checking for atan2f declaration... " >&6; }
47206   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47207     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47208   $as_echo_n "(cached) " >&6
47209 else
47210
47211
47212       ac_ext=cpp
47213 ac_cpp='$CXXCPP $CPPFLAGS'
47214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47217
47218       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47219 /* end confdefs.h.  */
47220 #include <math.h>
47221 int
47222 main ()
47223 {
47224  atan2f(0, 0);
47225   ;
47226   return 0;
47227 }
47228 _ACEOF
47229 if ac_fn_cxx_try_compile "$LINENO"; then :
47230   glibcxx_cv_func_atan2f_use=yes
47231 else
47232   glibcxx_cv_func_atan2f_use=no
47233 fi
47234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47235       ac_ext=c
47236 ac_cpp='$CPP $CPPFLAGS'
47237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47240
47241
47242 fi
47243
47244   fi
47245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47246 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47247
47248   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47249     for ac_func in atan2f
47250 do :
47251   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47252 if test "x$ac_cv_func_atan2f" = x""yes; then :
47253   cat >>confdefs.h <<_ACEOF
47254 #define HAVE_ATAN2F 1
47255 _ACEOF
47256
47257 fi
47258 done
47259
47260   else
47261
47262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47263 $as_echo_n "checking for _atan2f declaration... " >&6; }
47264   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47265     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47266   $as_echo_n "(cached) " >&6
47267 else
47268
47269
47270       ac_ext=cpp
47271 ac_cpp='$CXXCPP $CPPFLAGS'
47272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47275
47276       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47277 /* end confdefs.h.  */
47278 #include <math.h>
47279 int
47280 main ()
47281 {
47282  _atan2f(0, 0);
47283   ;
47284   return 0;
47285 }
47286 _ACEOF
47287 if ac_fn_cxx_try_compile "$LINENO"; then :
47288   glibcxx_cv_func__atan2f_use=yes
47289 else
47290   glibcxx_cv_func__atan2f_use=no
47291 fi
47292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47293       ac_ext=c
47294 ac_cpp='$CPP $CPPFLAGS'
47295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47298
47299
47300 fi
47301
47302   fi
47303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47304 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47305
47306     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47307       for ac_func in _atan2f
47308 do :
47309   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47310 if test "x$ac_cv_func__atan2f" = x""yes; then :
47311   cat >>confdefs.h <<_ACEOF
47312 #define HAVE__ATAN2F 1
47313 _ACEOF
47314
47315 fi
47316 done
47317
47318     fi
47319   fi
47320
47321
47322
47323
47324
47325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47326 $as_echo_n "checking for fabsf declaration... " >&6; }
47327   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47328     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47329   $as_echo_n "(cached) " >&6
47330 else
47331
47332
47333       ac_ext=cpp
47334 ac_cpp='$CXXCPP $CPPFLAGS'
47335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47338
47339       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47340 /* end confdefs.h.  */
47341 #include <math.h>
47342                       #ifdef HAVE_IEEEFP_H
47343                       #include <ieeefp.h>
47344                       #endif
47345
47346 int
47347 main ()
47348 {
47349  fabsf(0);
47350   ;
47351   return 0;
47352 }
47353 _ACEOF
47354 if ac_fn_cxx_try_compile "$LINENO"; then :
47355   glibcxx_cv_func_fabsf_use=yes
47356 else
47357   glibcxx_cv_func_fabsf_use=no
47358 fi
47359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47360       ac_ext=c
47361 ac_cpp='$CPP $CPPFLAGS'
47362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47365
47366
47367 fi
47368
47369   fi
47370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47371 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47372
47373   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47374     for ac_func in fabsf
47375 do :
47376   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47377 if test "x$ac_cv_func_fabsf" = x""yes; then :
47378   cat >>confdefs.h <<_ACEOF
47379 #define HAVE_FABSF 1
47380 _ACEOF
47381
47382 fi
47383 done
47384
47385   else
47386
47387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47388 $as_echo_n "checking for _fabsf declaration... " >&6; }
47389   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47390     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47391   $as_echo_n "(cached) " >&6
47392 else
47393
47394
47395       ac_ext=cpp
47396 ac_cpp='$CXXCPP $CPPFLAGS'
47397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47400
47401       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47402 /* end confdefs.h.  */
47403 #include <math.h>
47404                       #ifdef HAVE_IEEEFP_H
47405                       #include <ieeefp.h>
47406                       #endif
47407
47408 int
47409 main ()
47410 {
47411  _fabsf(0);
47412   ;
47413   return 0;
47414 }
47415 _ACEOF
47416 if ac_fn_cxx_try_compile "$LINENO"; then :
47417   glibcxx_cv_func__fabsf_use=yes
47418 else
47419   glibcxx_cv_func__fabsf_use=no
47420 fi
47421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47422       ac_ext=c
47423 ac_cpp='$CPP $CPPFLAGS'
47424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47427
47428
47429 fi
47430
47431   fi
47432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47433 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47434
47435     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47436       for ac_func in _fabsf
47437 do :
47438   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47439 if test "x$ac_cv_func__fabsf" = x""yes; then :
47440   cat >>confdefs.h <<_ACEOF
47441 #define HAVE__FABSF 1
47442 _ACEOF
47443
47444 fi
47445 done
47446
47447     fi
47448   fi
47449
47450
47451
47452
47453
47454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47455 $as_echo_n "checking for fmodf declaration... " >&6; }
47456   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47457     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47458   $as_echo_n "(cached) " >&6
47459 else
47460
47461
47462       ac_ext=cpp
47463 ac_cpp='$CXXCPP $CPPFLAGS'
47464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47467
47468       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47469 /* end confdefs.h.  */
47470 #include <math.h>
47471 int
47472 main ()
47473 {
47474  fmodf(0, 0);
47475   ;
47476   return 0;
47477 }
47478 _ACEOF
47479 if ac_fn_cxx_try_compile "$LINENO"; then :
47480   glibcxx_cv_func_fmodf_use=yes
47481 else
47482   glibcxx_cv_func_fmodf_use=no
47483 fi
47484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47485       ac_ext=c
47486 ac_cpp='$CPP $CPPFLAGS'
47487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47490
47491
47492 fi
47493
47494   fi
47495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47496 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47497
47498   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47499     for ac_func in fmodf
47500 do :
47501   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47502 if test "x$ac_cv_func_fmodf" = x""yes; then :
47503   cat >>confdefs.h <<_ACEOF
47504 #define HAVE_FMODF 1
47505 _ACEOF
47506
47507 fi
47508 done
47509
47510   else
47511
47512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47513 $as_echo_n "checking for _fmodf declaration... " >&6; }
47514   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47515     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47516   $as_echo_n "(cached) " >&6
47517 else
47518
47519
47520       ac_ext=cpp
47521 ac_cpp='$CXXCPP $CPPFLAGS'
47522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47525
47526       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47527 /* end confdefs.h.  */
47528 #include <math.h>
47529 int
47530 main ()
47531 {
47532  _fmodf(0, 0);
47533   ;
47534   return 0;
47535 }
47536 _ACEOF
47537 if ac_fn_cxx_try_compile "$LINENO"; then :
47538   glibcxx_cv_func__fmodf_use=yes
47539 else
47540   glibcxx_cv_func__fmodf_use=no
47541 fi
47542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47543       ac_ext=c
47544 ac_cpp='$CPP $CPPFLAGS'
47545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47548
47549
47550 fi
47551
47552   fi
47553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47554 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47555
47556     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47557       for ac_func in _fmodf
47558 do :
47559   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47560 if test "x$ac_cv_func__fmodf" = x""yes; then :
47561   cat >>confdefs.h <<_ACEOF
47562 #define HAVE__FMODF 1
47563 _ACEOF
47564
47565 fi
47566 done
47567
47568     fi
47569   fi
47570
47571
47572
47573
47574
47575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47576 $as_echo_n "checking for frexpf declaration... " >&6; }
47577   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47578     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47579   $as_echo_n "(cached) " >&6
47580 else
47581
47582
47583       ac_ext=cpp
47584 ac_cpp='$CXXCPP $CPPFLAGS'
47585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47588
47589       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47590 /* end confdefs.h.  */
47591 #include <math.h>
47592 int
47593 main ()
47594 {
47595  frexpf(0, 0);
47596   ;
47597   return 0;
47598 }
47599 _ACEOF
47600 if ac_fn_cxx_try_compile "$LINENO"; then :
47601   glibcxx_cv_func_frexpf_use=yes
47602 else
47603   glibcxx_cv_func_frexpf_use=no
47604 fi
47605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47606       ac_ext=c
47607 ac_cpp='$CPP $CPPFLAGS'
47608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47611
47612
47613 fi
47614
47615   fi
47616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47617 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47618
47619   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47620     for ac_func in frexpf
47621 do :
47622   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47623 if test "x$ac_cv_func_frexpf" = x""yes; then :
47624   cat >>confdefs.h <<_ACEOF
47625 #define HAVE_FREXPF 1
47626 _ACEOF
47627
47628 fi
47629 done
47630
47631   else
47632
47633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47634 $as_echo_n "checking for _frexpf declaration... " >&6; }
47635   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47636     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47637   $as_echo_n "(cached) " >&6
47638 else
47639
47640
47641       ac_ext=cpp
47642 ac_cpp='$CXXCPP $CPPFLAGS'
47643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47646
47647       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47648 /* end confdefs.h.  */
47649 #include <math.h>
47650 int
47651 main ()
47652 {
47653  _frexpf(0, 0);
47654   ;
47655   return 0;
47656 }
47657 _ACEOF
47658 if ac_fn_cxx_try_compile "$LINENO"; then :
47659   glibcxx_cv_func__frexpf_use=yes
47660 else
47661   glibcxx_cv_func__frexpf_use=no
47662 fi
47663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47664       ac_ext=c
47665 ac_cpp='$CPP $CPPFLAGS'
47666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47669
47670
47671 fi
47672
47673   fi
47674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47675 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47676
47677     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47678       for ac_func in _frexpf
47679 do :
47680   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47681 if test "x$ac_cv_func__frexpf" = x""yes; then :
47682   cat >>confdefs.h <<_ACEOF
47683 #define HAVE__FREXPF 1
47684 _ACEOF
47685
47686 fi
47687 done
47688
47689     fi
47690   fi
47691
47692
47693
47694
47695
47696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47697 $as_echo_n "checking for hypotf declaration... " >&6; }
47698   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47699     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47700   $as_echo_n "(cached) " >&6
47701 else
47702
47703
47704       ac_ext=cpp
47705 ac_cpp='$CXXCPP $CPPFLAGS'
47706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47709
47710       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47711 /* end confdefs.h.  */
47712 #include <math.h>
47713 int
47714 main ()
47715 {
47716  hypotf(0, 0);
47717   ;
47718   return 0;
47719 }
47720 _ACEOF
47721 if ac_fn_cxx_try_compile "$LINENO"; then :
47722   glibcxx_cv_func_hypotf_use=yes
47723 else
47724   glibcxx_cv_func_hypotf_use=no
47725 fi
47726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47727       ac_ext=c
47728 ac_cpp='$CPP $CPPFLAGS'
47729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47732
47733
47734 fi
47735
47736   fi
47737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47738 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47739
47740   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47741     for ac_func in hypotf
47742 do :
47743   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47744 if test "x$ac_cv_func_hypotf" = x""yes; then :
47745   cat >>confdefs.h <<_ACEOF
47746 #define HAVE_HYPOTF 1
47747 _ACEOF
47748
47749 fi
47750 done
47751
47752   else
47753
47754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47755 $as_echo_n "checking for _hypotf declaration... " >&6; }
47756   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47757     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47758   $as_echo_n "(cached) " >&6
47759 else
47760
47761
47762       ac_ext=cpp
47763 ac_cpp='$CXXCPP $CPPFLAGS'
47764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47767
47768       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47769 /* end confdefs.h.  */
47770 #include <math.h>
47771 int
47772 main ()
47773 {
47774  _hypotf(0, 0);
47775   ;
47776   return 0;
47777 }
47778 _ACEOF
47779 if ac_fn_cxx_try_compile "$LINENO"; then :
47780   glibcxx_cv_func__hypotf_use=yes
47781 else
47782   glibcxx_cv_func__hypotf_use=no
47783 fi
47784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47785       ac_ext=c
47786 ac_cpp='$CPP $CPPFLAGS'
47787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47790
47791
47792 fi
47793
47794   fi
47795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47796 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47797
47798     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47799       for ac_func in _hypotf
47800 do :
47801   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47802 if test "x$ac_cv_func__hypotf" = x""yes; then :
47803   cat >>confdefs.h <<_ACEOF
47804 #define HAVE__HYPOTF 1
47805 _ACEOF
47806
47807 fi
47808 done
47809
47810     fi
47811   fi
47812
47813
47814
47815
47816
47817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47818 $as_echo_n "checking for ldexpf declaration... " >&6; }
47819   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47820     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47821   $as_echo_n "(cached) " >&6
47822 else
47823
47824
47825       ac_ext=cpp
47826 ac_cpp='$CXXCPP $CPPFLAGS'
47827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47830
47831       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47832 /* end confdefs.h.  */
47833 #include <math.h>
47834 int
47835 main ()
47836 {
47837  ldexpf(0, 0);
47838   ;
47839   return 0;
47840 }
47841 _ACEOF
47842 if ac_fn_cxx_try_compile "$LINENO"; then :
47843   glibcxx_cv_func_ldexpf_use=yes
47844 else
47845   glibcxx_cv_func_ldexpf_use=no
47846 fi
47847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47848       ac_ext=c
47849 ac_cpp='$CPP $CPPFLAGS'
47850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47853
47854
47855 fi
47856
47857   fi
47858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47859 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47860
47861   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47862     for ac_func in ldexpf
47863 do :
47864   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47865 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47866   cat >>confdefs.h <<_ACEOF
47867 #define HAVE_LDEXPF 1
47868 _ACEOF
47869
47870 fi
47871 done
47872
47873   else
47874
47875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47876 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47877   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47878     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47879   $as_echo_n "(cached) " >&6
47880 else
47881
47882
47883       ac_ext=cpp
47884 ac_cpp='$CXXCPP $CPPFLAGS'
47885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47888
47889       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47890 /* end confdefs.h.  */
47891 #include <math.h>
47892 int
47893 main ()
47894 {
47895  _ldexpf(0, 0);
47896   ;
47897   return 0;
47898 }
47899 _ACEOF
47900 if ac_fn_cxx_try_compile "$LINENO"; then :
47901   glibcxx_cv_func__ldexpf_use=yes
47902 else
47903   glibcxx_cv_func__ldexpf_use=no
47904 fi
47905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47906       ac_ext=c
47907 ac_cpp='$CPP $CPPFLAGS'
47908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47911
47912
47913 fi
47914
47915   fi
47916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47917 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47918
47919     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47920       for ac_func in _ldexpf
47921 do :
47922   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47923 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47924   cat >>confdefs.h <<_ACEOF
47925 #define HAVE__LDEXPF 1
47926 _ACEOF
47927
47928 fi
47929 done
47930
47931     fi
47932   fi
47933
47934
47935
47936
47937
47938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47939 $as_echo_n "checking for logf declaration... " >&6; }
47940   if test x${glibcxx_cv_func_logf_use+set} != xset; then
47941     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47942   $as_echo_n "(cached) " >&6
47943 else
47944
47945
47946       ac_ext=cpp
47947 ac_cpp='$CXXCPP $CPPFLAGS'
47948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47951
47952       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47953 /* end confdefs.h.  */
47954 #include <math.h>
47955                       #ifdef HAVE_IEEEFP_H
47956                       #include <ieeefp.h>
47957                       #endif
47958
47959 int
47960 main ()
47961 {
47962  logf(0);
47963   ;
47964   return 0;
47965 }
47966 _ACEOF
47967 if ac_fn_cxx_try_compile "$LINENO"; then :
47968   glibcxx_cv_func_logf_use=yes
47969 else
47970   glibcxx_cv_func_logf_use=no
47971 fi
47972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47973       ac_ext=c
47974 ac_cpp='$CPP $CPPFLAGS'
47975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47978
47979
47980 fi
47981
47982   fi
47983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47984 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47985
47986   if test x$glibcxx_cv_func_logf_use = x"yes"; then
47987     for ac_func in logf
47988 do :
47989   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47990 if test "x$ac_cv_func_logf" = x""yes; then :
47991   cat >>confdefs.h <<_ACEOF
47992 #define HAVE_LOGF 1
47993 _ACEOF
47994
47995 fi
47996 done
47997
47998   else
47999
48000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48001 $as_echo_n "checking for _logf declaration... " >&6; }
48002   if test x${glibcxx_cv_func__logf_use+set} != xset; then
48003     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48004   $as_echo_n "(cached) " >&6
48005 else
48006
48007
48008       ac_ext=cpp
48009 ac_cpp='$CXXCPP $CPPFLAGS'
48010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48013
48014       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48015 /* end confdefs.h.  */
48016 #include <math.h>
48017                       #ifdef HAVE_IEEEFP_H
48018                       #include <ieeefp.h>
48019                       #endif
48020
48021 int
48022 main ()
48023 {
48024  _logf(0);
48025   ;
48026   return 0;
48027 }
48028 _ACEOF
48029 if ac_fn_cxx_try_compile "$LINENO"; then :
48030   glibcxx_cv_func__logf_use=yes
48031 else
48032   glibcxx_cv_func__logf_use=no
48033 fi
48034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48035       ac_ext=c
48036 ac_cpp='$CPP $CPPFLAGS'
48037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48040
48041
48042 fi
48043
48044   fi
48045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48046 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48047
48048     if test x$glibcxx_cv_func__logf_use = x"yes"; then
48049       for ac_func in _logf
48050 do :
48051   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48052 if test "x$ac_cv_func__logf" = x""yes; then :
48053   cat >>confdefs.h <<_ACEOF
48054 #define HAVE__LOGF 1
48055 _ACEOF
48056
48057 fi
48058 done
48059
48060     fi
48061   fi
48062
48063
48064
48065
48066
48067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48068 $as_echo_n "checking for log10f declaration... " >&6; }
48069   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48070     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48071   $as_echo_n "(cached) " >&6
48072 else
48073
48074
48075       ac_ext=cpp
48076 ac_cpp='$CXXCPP $CPPFLAGS'
48077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48080
48081       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48082 /* end confdefs.h.  */
48083 #include <math.h>
48084                       #ifdef HAVE_IEEEFP_H
48085                       #include <ieeefp.h>
48086                       #endif
48087
48088 int
48089 main ()
48090 {
48091  log10f(0);
48092   ;
48093   return 0;
48094 }
48095 _ACEOF
48096 if ac_fn_cxx_try_compile "$LINENO"; then :
48097   glibcxx_cv_func_log10f_use=yes
48098 else
48099   glibcxx_cv_func_log10f_use=no
48100 fi
48101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48102       ac_ext=c
48103 ac_cpp='$CPP $CPPFLAGS'
48104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48107
48108
48109 fi
48110
48111   fi
48112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48113 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48114
48115   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48116     for ac_func in log10f
48117 do :
48118   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48119 if test "x$ac_cv_func_log10f" = x""yes; then :
48120   cat >>confdefs.h <<_ACEOF
48121 #define HAVE_LOG10F 1
48122 _ACEOF
48123
48124 fi
48125 done
48126
48127   else
48128
48129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48130 $as_echo_n "checking for _log10f declaration... " >&6; }
48131   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48132     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48133   $as_echo_n "(cached) " >&6
48134 else
48135
48136
48137       ac_ext=cpp
48138 ac_cpp='$CXXCPP $CPPFLAGS'
48139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48142
48143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48144 /* end confdefs.h.  */
48145 #include <math.h>
48146                       #ifdef HAVE_IEEEFP_H
48147                       #include <ieeefp.h>
48148                       #endif
48149
48150 int
48151 main ()
48152 {
48153  _log10f(0);
48154   ;
48155   return 0;
48156 }
48157 _ACEOF
48158 if ac_fn_cxx_try_compile "$LINENO"; then :
48159   glibcxx_cv_func__log10f_use=yes
48160 else
48161   glibcxx_cv_func__log10f_use=no
48162 fi
48163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48164       ac_ext=c
48165 ac_cpp='$CPP $CPPFLAGS'
48166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48169
48170
48171 fi
48172
48173   fi
48174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48175 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48176
48177     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48178       for ac_func in _log10f
48179 do :
48180   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48181 if test "x$ac_cv_func__log10f" = x""yes; then :
48182   cat >>confdefs.h <<_ACEOF
48183 #define HAVE__LOG10F 1
48184 _ACEOF
48185
48186 fi
48187 done
48188
48189     fi
48190   fi
48191
48192
48193
48194
48195
48196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48197 $as_echo_n "checking for modff declaration... " >&6; }
48198   if test x${glibcxx_cv_func_modff_use+set} != xset; then
48199     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48200   $as_echo_n "(cached) " >&6
48201 else
48202
48203
48204       ac_ext=cpp
48205 ac_cpp='$CXXCPP $CPPFLAGS'
48206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48209
48210       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48211 /* end confdefs.h.  */
48212 #include <math.h>
48213 int
48214 main ()
48215 {
48216  modff(0, 0);
48217   ;
48218   return 0;
48219 }
48220 _ACEOF
48221 if ac_fn_cxx_try_compile "$LINENO"; then :
48222   glibcxx_cv_func_modff_use=yes
48223 else
48224   glibcxx_cv_func_modff_use=no
48225 fi
48226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48227       ac_ext=c
48228 ac_cpp='$CPP $CPPFLAGS'
48229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48232
48233
48234 fi
48235
48236   fi
48237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48238 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48239
48240   if test x$glibcxx_cv_func_modff_use = x"yes"; then
48241     for ac_func in modff
48242 do :
48243   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48244 if test "x$ac_cv_func_modff" = x""yes; then :
48245   cat >>confdefs.h <<_ACEOF
48246 #define HAVE_MODFF 1
48247 _ACEOF
48248
48249 fi
48250 done
48251
48252   else
48253
48254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48255 $as_echo_n "checking for _modff declaration... " >&6; }
48256   if test x${glibcxx_cv_func__modff_use+set} != xset; then
48257     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48258   $as_echo_n "(cached) " >&6
48259 else
48260
48261
48262       ac_ext=cpp
48263 ac_cpp='$CXXCPP $CPPFLAGS'
48264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48267
48268       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48269 /* end confdefs.h.  */
48270 #include <math.h>
48271 int
48272 main ()
48273 {
48274  _modff(0, 0);
48275   ;
48276   return 0;
48277 }
48278 _ACEOF
48279 if ac_fn_cxx_try_compile "$LINENO"; then :
48280   glibcxx_cv_func__modff_use=yes
48281 else
48282   glibcxx_cv_func__modff_use=no
48283 fi
48284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48285       ac_ext=c
48286 ac_cpp='$CPP $CPPFLAGS'
48287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48290
48291
48292 fi
48293
48294   fi
48295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48296 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48297
48298     if test x$glibcxx_cv_func__modff_use = x"yes"; then
48299       for ac_func in _modff
48300 do :
48301   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48302 if test "x$ac_cv_func__modff" = x""yes; then :
48303   cat >>confdefs.h <<_ACEOF
48304 #define HAVE__MODFF 1
48305 _ACEOF
48306
48307 fi
48308 done
48309
48310     fi
48311   fi
48312
48313
48314
48315
48316
48317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48318 $as_echo_n "checking for modf declaration... " >&6; }
48319   if test x${glibcxx_cv_func_modf_use+set} != xset; then
48320     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48321   $as_echo_n "(cached) " >&6
48322 else
48323
48324
48325       ac_ext=cpp
48326 ac_cpp='$CXXCPP $CPPFLAGS'
48327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48330
48331       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48332 /* end confdefs.h.  */
48333 #include <math.h>
48334 int
48335 main ()
48336 {
48337  modf(0, 0);
48338   ;
48339   return 0;
48340 }
48341 _ACEOF
48342 if ac_fn_cxx_try_compile "$LINENO"; then :
48343   glibcxx_cv_func_modf_use=yes
48344 else
48345   glibcxx_cv_func_modf_use=no
48346 fi
48347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48348       ac_ext=c
48349 ac_cpp='$CPP $CPPFLAGS'
48350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48353
48354
48355 fi
48356
48357   fi
48358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48359 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48360
48361   if test x$glibcxx_cv_func_modf_use = x"yes"; then
48362     for ac_func in modf
48363 do :
48364   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48365 if test "x$ac_cv_func_modf" = x""yes; then :
48366   cat >>confdefs.h <<_ACEOF
48367 #define HAVE_MODF 1
48368 _ACEOF
48369
48370 fi
48371 done
48372
48373   else
48374
48375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48376 $as_echo_n "checking for _modf declaration... " >&6; }
48377   if test x${glibcxx_cv_func__modf_use+set} != xset; then
48378     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48379   $as_echo_n "(cached) " >&6
48380 else
48381
48382
48383       ac_ext=cpp
48384 ac_cpp='$CXXCPP $CPPFLAGS'
48385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48388
48389       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48390 /* end confdefs.h.  */
48391 #include <math.h>
48392 int
48393 main ()
48394 {
48395  _modf(0, 0);
48396   ;
48397   return 0;
48398 }
48399 _ACEOF
48400 if ac_fn_cxx_try_compile "$LINENO"; then :
48401   glibcxx_cv_func__modf_use=yes
48402 else
48403   glibcxx_cv_func__modf_use=no
48404 fi
48405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48406       ac_ext=c
48407 ac_cpp='$CPP $CPPFLAGS'
48408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48411
48412
48413 fi
48414
48415   fi
48416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48417 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48418
48419     if test x$glibcxx_cv_func__modf_use = x"yes"; then
48420       for ac_func in _modf
48421 do :
48422   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48423 if test "x$ac_cv_func__modf" = x""yes; then :
48424   cat >>confdefs.h <<_ACEOF
48425 #define HAVE__MODF 1
48426 _ACEOF
48427
48428 fi
48429 done
48430
48431     fi
48432   fi
48433
48434
48435
48436
48437
48438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48439 $as_echo_n "checking for powf declaration... " >&6; }
48440   if test x${glibcxx_cv_func_powf_use+set} != xset; then
48441     if test "${glibcxx_cv_func_powf_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 int
48456 main ()
48457 {
48458  powf(0, 0);
48459   ;
48460   return 0;
48461 }
48462 _ACEOF
48463 if ac_fn_cxx_try_compile "$LINENO"; then :
48464   glibcxx_cv_func_powf_use=yes
48465 else
48466   glibcxx_cv_func_powf_use=no
48467 fi
48468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48469       ac_ext=c
48470 ac_cpp='$CPP $CPPFLAGS'
48471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48474
48475
48476 fi
48477
48478   fi
48479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48480 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48481
48482   if test x$glibcxx_cv_func_powf_use = x"yes"; then
48483     for ac_func in powf
48484 do :
48485   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48486 if test "x$ac_cv_func_powf" = x""yes; then :
48487   cat >>confdefs.h <<_ACEOF
48488 #define HAVE_POWF 1
48489 _ACEOF
48490
48491 fi
48492 done
48493
48494   else
48495
48496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48497 $as_echo_n "checking for _powf declaration... " >&6; }
48498   if test x${glibcxx_cv_func__powf_use+set} != xset; then
48499     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48500   $as_echo_n "(cached) " >&6
48501 else
48502
48503
48504       ac_ext=cpp
48505 ac_cpp='$CXXCPP $CPPFLAGS'
48506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48509
48510       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48511 /* end confdefs.h.  */
48512 #include <math.h>
48513 int
48514 main ()
48515 {
48516  _powf(0, 0);
48517   ;
48518   return 0;
48519 }
48520 _ACEOF
48521 if ac_fn_cxx_try_compile "$LINENO"; then :
48522   glibcxx_cv_func__powf_use=yes
48523 else
48524   glibcxx_cv_func__powf_use=no
48525 fi
48526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48527       ac_ext=c
48528 ac_cpp='$CPP $CPPFLAGS'
48529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48532
48533
48534 fi
48535
48536   fi
48537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48538 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48539
48540     if test x$glibcxx_cv_func__powf_use = x"yes"; then
48541       for ac_func in _powf
48542 do :
48543   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48544 if test "x$ac_cv_func__powf" = x""yes; then :
48545   cat >>confdefs.h <<_ACEOF
48546 #define HAVE__POWF 1
48547 _ACEOF
48548
48549 fi
48550 done
48551
48552     fi
48553   fi
48554
48555
48556
48557
48558
48559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48560 $as_echo_n "checking for sqrtf declaration... " >&6; }
48561   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48562     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48563   $as_echo_n "(cached) " >&6
48564 else
48565
48566
48567       ac_ext=cpp
48568 ac_cpp='$CXXCPP $CPPFLAGS'
48569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48572
48573       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48574 /* end confdefs.h.  */
48575 #include <math.h>
48576                       #ifdef HAVE_IEEEFP_H
48577                       #include <ieeefp.h>
48578                       #endif
48579
48580 int
48581 main ()
48582 {
48583  sqrtf(0);
48584   ;
48585   return 0;
48586 }
48587 _ACEOF
48588 if ac_fn_cxx_try_compile "$LINENO"; then :
48589   glibcxx_cv_func_sqrtf_use=yes
48590 else
48591   glibcxx_cv_func_sqrtf_use=no
48592 fi
48593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48594       ac_ext=c
48595 ac_cpp='$CPP $CPPFLAGS'
48596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48599
48600
48601 fi
48602
48603   fi
48604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48605 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48606
48607   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48608     for ac_func in sqrtf
48609 do :
48610   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48611 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48612   cat >>confdefs.h <<_ACEOF
48613 #define HAVE_SQRTF 1
48614 _ACEOF
48615
48616 fi
48617 done
48618
48619   else
48620
48621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48622 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48623   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48624     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48625   $as_echo_n "(cached) " >&6
48626 else
48627
48628
48629       ac_ext=cpp
48630 ac_cpp='$CXXCPP $CPPFLAGS'
48631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48634
48635       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48636 /* end confdefs.h.  */
48637 #include <math.h>
48638                       #ifdef HAVE_IEEEFP_H
48639                       #include <ieeefp.h>
48640                       #endif
48641
48642 int
48643 main ()
48644 {
48645  _sqrtf(0);
48646   ;
48647   return 0;
48648 }
48649 _ACEOF
48650 if ac_fn_cxx_try_compile "$LINENO"; then :
48651   glibcxx_cv_func__sqrtf_use=yes
48652 else
48653   glibcxx_cv_func__sqrtf_use=no
48654 fi
48655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48656       ac_ext=c
48657 ac_cpp='$CPP $CPPFLAGS'
48658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48661
48662
48663 fi
48664
48665   fi
48666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48667 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48668
48669     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48670       for ac_func in _sqrtf
48671 do :
48672   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48673 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48674   cat >>confdefs.h <<_ACEOF
48675 #define HAVE__SQRTF 1
48676 _ACEOF
48677
48678 fi
48679 done
48680
48681     fi
48682   fi
48683
48684
48685
48686
48687
48688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48689 $as_echo_n "checking for sincosf declaration... " >&6; }
48690   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48691     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48692   $as_echo_n "(cached) " >&6
48693 else
48694
48695
48696       ac_ext=cpp
48697 ac_cpp='$CXXCPP $CPPFLAGS'
48698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48701
48702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48703 /* end confdefs.h.  */
48704 #include <math.h>
48705 int
48706 main ()
48707 {
48708  sincosf(0, 0, 0);
48709   ;
48710   return 0;
48711 }
48712 _ACEOF
48713 if ac_fn_cxx_try_compile "$LINENO"; then :
48714   glibcxx_cv_func_sincosf_use=yes
48715 else
48716   glibcxx_cv_func_sincosf_use=no
48717 fi
48718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48719       ac_ext=c
48720 ac_cpp='$CPP $CPPFLAGS'
48721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48724
48725
48726 fi
48727
48728   fi
48729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48730 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48731
48732   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48733     for ac_func in sincosf
48734 do :
48735   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48736 if test "x$ac_cv_func_sincosf" = x""yes; then :
48737   cat >>confdefs.h <<_ACEOF
48738 #define HAVE_SINCOSF 1
48739 _ACEOF
48740
48741 fi
48742 done
48743
48744   else
48745
48746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48747 $as_echo_n "checking for _sincosf declaration... " >&6; }
48748   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48749     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48750   $as_echo_n "(cached) " >&6
48751 else
48752
48753
48754       ac_ext=cpp
48755 ac_cpp='$CXXCPP $CPPFLAGS'
48756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48759
48760       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48761 /* end confdefs.h.  */
48762 #include <math.h>
48763 int
48764 main ()
48765 {
48766  _sincosf(0, 0, 0);
48767   ;
48768   return 0;
48769 }
48770 _ACEOF
48771 if ac_fn_cxx_try_compile "$LINENO"; then :
48772   glibcxx_cv_func__sincosf_use=yes
48773 else
48774   glibcxx_cv_func__sincosf_use=no
48775 fi
48776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48777       ac_ext=c
48778 ac_cpp='$CPP $CPPFLAGS'
48779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48782
48783
48784 fi
48785
48786   fi
48787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48788 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48789
48790     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48791       for ac_func in _sincosf
48792 do :
48793   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48794 if test "x$ac_cv_func__sincosf" = x""yes; then :
48795   cat >>confdefs.h <<_ACEOF
48796 #define HAVE__SINCOSF 1
48797 _ACEOF
48798
48799 fi
48800 done
48801
48802     fi
48803   fi
48804
48805
48806
48807
48808
48809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48810 $as_echo_n "checking for finitef declaration... " >&6; }
48811   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48812     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48813   $as_echo_n "(cached) " >&6
48814 else
48815
48816
48817       ac_ext=cpp
48818 ac_cpp='$CXXCPP $CPPFLAGS'
48819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48822
48823       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48824 /* end confdefs.h.  */
48825 #include <math.h>
48826                       #ifdef HAVE_IEEEFP_H
48827                       #include <ieeefp.h>
48828                       #endif
48829
48830 int
48831 main ()
48832 {
48833  finitef(0);
48834   ;
48835   return 0;
48836 }
48837 _ACEOF
48838 if ac_fn_cxx_try_compile "$LINENO"; then :
48839   glibcxx_cv_func_finitef_use=yes
48840 else
48841   glibcxx_cv_func_finitef_use=no
48842 fi
48843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48844       ac_ext=c
48845 ac_cpp='$CPP $CPPFLAGS'
48846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48849
48850
48851 fi
48852
48853   fi
48854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48855 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48856
48857   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48858     for ac_func in finitef
48859 do :
48860   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48861 if test "x$ac_cv_func_finitef" = x""yes; then :
48862   cat >>confdefs.h <<_ACEOF
48863 #define HAVE_FINITEF 1
48864 _ACEOF
48865
48866 fi
48867 done
48868
48869   else
48870
48871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48872 $as_echo_n "checking for _finitef declaration... " >&6; }
48873   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48874     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48875   $as_echo_n "(cached) " >&6
48876 else
48877
48878
48879       ac_ext=cpp
48880 ac_cpp='$CXXCPP $CPPFLAGS'
48881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48884
48885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48886 /* end confdefs.h.  */
48887 #include <math.h>
48888                       #ifdef HAVE_IEEEFP_H
48889                       #include <ieeefp.h>
48890                       #endif
48891
48892 int
48893 main ()
48894 {
48895  _finitef(0);
48896   ;
48897   return 0;
48898 }
48899 _ACEOF
48900 if ac_fn_cxx_try_compile "$LINENO"; then :
48901   glibcxx_cv_func__finitef_use=yes
48902 else
48903   glibcxx_cv_func__finitef_use=no
48904 fi
48905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48906       ac_ext=c
48907 ac_cpp='$CPP $CPPFLAGS'
48908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48911
48912
48913 fi
48914
48915   fi
48916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48917 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48918
48919     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48920       for ac_func in _finitef
48921 do :
48922   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48923 if test "x$ac_cv_func__finitef" = x""yes; then :
48924   cat >>confdefs.h <<_ACEOF
48925 #define HAVE__FINITEF 1
48926 _ACEOF
48927
48928 fi
48929 done
48930
48931     fi
48932   fi
48933
48934
48935
48936
48937
48938     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48939 $as_echo_n "checking for long double trig functions... " >&6; }
48940   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48941   $as_echo_n "(cached) " >&6
48942 else
48943
48944
48945     ac_ext=cpp
48946 ac_cpp='$CXXCPP $CPPFLAGS'
48947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48950
48951     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48952 /* end confdefs.h.  */
48953 #include <math.h>
48954 int
48955 main ()
48956 {
48957 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48958   ;
48959   return 0;
48960 }
48961 _ACEOF
48962 if ac_fn_cxx_try_compile "$LINENO"; then :
48963   glibcxx_cv_func_long_double_trig_use=yes
48964 else
48965   glibcxx_cv_func_long_double_trig_use=no
48966 fi
48967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48968     ac_ext=c
48969 ac_cpp='$CPP $CPPFLAGS'
48970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48973
48974 fi
48975
48976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48977 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48978   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48979     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48980 do :
48981   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48982 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48983 eval as_val=\$$as_ac_var
48984    if test "x$as_val" = x""yes; then :
48985   cat >>confdefs.h <<_ACEOF
48986 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48987 _ACEOF
48988
48989 fi
48990 done
48991
48992   else
48993     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48994 $as_echo_n "checking for _long double trig functions... " >&6; }
48995     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48996   $as_echo_n "(cached) " >&6
48997 else
48998
48999
49000       ac_ext=cpp
49001 ac_cpp='$CXXCPP $CPPFLAGS'
49002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49005
49006       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49007 /* end confdefs.h.  */
49008 #include <math.h>
49009 int
49010 main ()
49011 {
49012 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49013   ;
49014   return 0;
49015 }
49016 _ACEOF
49017 if ac_fn_cxx_try_compile "$LINENO"; then :
49018   glibcxx_cv_func__long_double_trig_use=yes
49019 else
49020   glibcxx_cv_func__long_double_trig_use=no
49021 fi
49022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49023       ac_ext=c
49024 ac_cpp='$CPP $CPPFLAGS'
49025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49028
49029 fi
49030
49031     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49032 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49033     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49034       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49035 do :
49036   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49037 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49038 eval as_val=\$$as_ac_var
49039    if test "x$as_val" = x""yes; then :
49040   cat >>confdefs.h <<_ACEOF
49041 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49042 _ACEOF
49043
49044 fi
49045 done
49046
49047     fi
49048   fi
49049
49050
49051
49052
49053
49054     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49055 $as_echo_n "checking for long double round functions... " >&6; }
49056   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49057   $as_echo_n "(cached) " >&6
49058 else
49059
49060
49061     ac_ext=cpp
49062 ac_cpp='$CXXCPP $CPPFLAGS'
49063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49066
49067     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49068 /* end confdefs.h.  */
49069 #include <math.h>
49070 int
49071 main ()
49072 {
49073 ceill (0); floorl (0);
49074   ;
49075   return 0;
49076 }
49077 _ACEOF
49078 if ac_fn_cxx_try_compile "$LINENO"; then :
49079   glibcxx_cv_func_long_double_round_use=yes
49080 else
49081   glibcxx_cv_func_long_double_round_use=no
49082 fi
49083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49084     ac_ext=c
49085 ac_cpp='$CPP $CPPFLAGS'
49086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49089
49090 fi
49091
49092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49093 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49094   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49095     for ac_func in ceill floorl
49096 do :
49097   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49099 eval as_val=\$$as_ac_var
49100    if test "x$as_val" = x""yes; then :
49101   cat >>confdefs.h <<_ACEOF
49102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49103 _ACEOF
49104
49105 fi
49106 done
49107
49108   else
49109     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49110 $as_echo_n "checking for _long double round functions... " >&6; }
49111     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49112   $as_echo_n "(cached) " >&6
49113 else
49114
49115
49116       ac_ext=cpp
49117 ac_cpp='$CXXCPP $CPPFLAGS'
49118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49121
49122       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49123 /* end confdefs.h.  */
49124 #include <math.h>
49125 int
49126 main ()
49127 {
49128 _ceill (0); _floorl (0);
49129   ;
49130   return 0;
49131 }
49132 _ACEOF
49133 if ac_fn_cxx_try_compile "$LINENO"; then :
49134   glibcxx_cv_func__long_double_round_use=yes
49135 else
49136   glibcxx_cv_func__long_double_round_use=no
49137 fi
49138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49139       ac_ext=c
49140 ac_cpp='$CPP $CPPFLAGS'
49141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49144
49145 fi
49146
49147     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49148 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49149     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49150       for ac_func in _ceill _floorl
49151 do :
49152   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49153 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49154 eval as_val=\$$as_ac_var
49155    if test "x$as_val" = x""yes; then :
49156   cat >>confdefs.h <<_ACEOF
49157 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49158 _ACEOF
49159
49160 fi
49161 done
49162
49163     fi
49164   fi
49165
49166
49167
49168
49169
49170
49171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49172 $as_echo_n "checking for isnanl declaration... " >&6; }
49173   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49174     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49175   $as_echo_n "(cached) " >&6
49176 else
49177
49178
49179       ac_ext=cpp
49180 ac_cpp='$CXXCPP $CPPFLAGS'
49181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49184
49185       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49186 /* end confdefs.h.  */
49187 #include <math.h>
49188                       #ifdef HAVE_IEEEFP_H
49189                       #include <ieeefp.h>
49190                       #endif
49191
49192 int
49193 main ()
49194 {
49195  isnanl(0);
49196   ;
49197   return 0;
49198 }
49199 _ACEOF
49200 if ac_fn_cxx_try_compile "$LINENO"; then :
49201   glibcxx_cv_func_isnanl_use=yes
49202 else
49203   glibcxx_cv_func_isnanl_use=no
49204 fi
49205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49206       ac_ext=c
49207 ac_cpp='$CPP $CPPFLAGS'
49208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49211
49212
49213 fi
49214
49215   fi
49216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49217 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49218
49219   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49220     for ac_func in isnanl
49221 do :
49222   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49223 if test "x$ac_cv_func_isnanl" = x""yes; then :
49224   cat >>confdefs.h <<_ACEOF
49225 #define HAVE_ISNANL 1
49226 _ACEOF
49227
49228 fi
49229 done
49230
49231   else
49232
49233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49234 $as_echo_n "checking for _isnanl declaration... " >&6; }
49235   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49236     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49237   $as_echo_n "(cached) " >&6
49238 else
49239
49240
49241       ac_ext=cpp
49242 ac_cpp='$CXXCPP $CPPFLAGS'
49243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49246
49247       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49248 /* end confdefs.h.  */
49249 #include <math.h>
49250                       #ifdef HAVE_IEEEFP_H
49251                       #include <ieeefp.h>
49252                       #endif
49253
49254 int
49255 main ()
49256 {
49257  _isnanl(0);
49258   ;
49259   return 0;
49260 }
49261 _ACEOF
49262 if ac_fn_cxx_try_compile "$LINENO"; then :
49263   glibcxx_cv_func__isnanl_use=yes
49264 else
49265   glibcxx_cv_func__isnanl_use=no
49266 fi
49267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49268       ac_ext=c
49269 ac_cpp='$CPP $CPPFLAGS'
49270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49273
49274
49275 fi
49276
49277   fi
49278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49279 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49280
49281     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49282       for ac_func in _isnanl
49283 do :
49284   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49285 if test "x$ac_cv_func__isnanl" = x""yes; then :
49286   cat >>confdefs.h <<_ACEOF
49287 #define HAVE__ISNANL 1
49288 _ACEOF
49289
49290 fi
49291 done
49292
49293     fi
49294   fi
49295
49296
49297
49298
49299
49300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49301 $as_echo_n "checking for isinfl declaration... " >&6; }
49302   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49303     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49304   $as_echo_n "(cached) " >&6
49305 else
49306
49307
49308       ac_ext=cpp
49309 ac_cpp='$CXXCPP $CPPFLAGS'
49310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49313
49314       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49315 /* end confdefs.h.  */
49316 #include <math.h>
49317                       #ifdef HAVE_IEEEFP_H
49318                       #include <ieeefp.h>
49319                       #endif
49320
49321 int
49322 main ()
49323 {
49324  isinfl(0);
49325   ;
49326   return 0;
49327 }
49328 _ACEOF
49329 if ac_fn_cxx_try_compile "$LINENO"; then :
49330   glibcxx_cv_func_isinfl_use=yes
49331 else
49332   glibcxx_cv_func_isinfl_use=no
49333 fi
49334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49335       ac_ext=c
49336 ac_cpp='$CPP $CPPFLAGS'
49337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49340
49341
49342 fi
49343
49344   fi
49345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49346 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49347
49348   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49349     for ac_func in isinfl
49350 do :
49351   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49352 if test "x$ac_cv_func_isinfl" = x""yes; then :
49353   cat >>confdefs.h <<_ACEOF
49354 #define HAVE_ISINFL 1
49355 _ACEOF
49356
49357 fi
49358 done
49359
49360   else
49361
49362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49363 $as_echo_n "checking for _isinfl declaration... " >&6; }
49364   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49365     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49366   $as_echo_n "(cached) " >&6
49367 else
49368
49369
49370       ac_ext=cpp
49371 ac_cpp='$CXXCPP $CPPFLAGS'
49372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49375
49376       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49377 /* end confdefs.h.  */
49378 #include <math.h>
49379                       #ifdef HAVE_IEEEFP_H
49380                       #include <ieeefp.h>
49381                       #endif
49382
49383 int
49384 main ()
49385 {
49386  _isinfl(0);
49387   ;
49388   return 0;
49389 }
49390 _ACEOF
49391 if ac_fn_cxx_try_compile "$LINENO"; then :
49392   glibcxx_cv_func__isinfl_use=yes
49393 else
49394   glibcxx_cv_func__isinfl_use=no
49395 fi
49396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49397       ac_ext=c
49398 ac_cpp='$CPP $CPPFLAGS'
49399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49402
49403
49404 fi
49405
49406   fi
49407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49408 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49409
49410     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49411       for ac_func in _isinfl
49412 do :
49413   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49414 if test "x$ac_cv_func__isinfl" = x""yes; then :
49415   cat >>confdefs.h <<_ACEOF
49416 #define HAVE__ISINFL 1
49417 _ACEOF
49418
49419 fi
49420 done
49421
49422     fi
49423   fi
49424
49425
49426
49427
49428
49429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49430 $as_echo_n "checking for atan2l declaration... " >&6; }
49431   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49432     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49433   $as_echo_n "(cached) " >&6
49434 else
49435
49436
49437       ac_ext=cpp
49438 ac_cpp='$CXXCPP $CPPFLAGS'
49439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49442
49443       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49444 /* end confdefs.h.  */
49445 #include <math.h>
49446 int
49447 main ()
49448 {
49449  atan2l(0, 0);
49450   ;
49451   return 0;
49452 }
49453 _ACEOF
49454 if ac_fn_cxx_try_compile "$LINENO"; then :
49455   glibcxx_cv_func_atan2l_use=yes
49456 else
49457   glibcxx_cv_func_atan2l_use=no
49458 fi
49459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49460       ac_ext=c
49461 ac_cpp='$CPP $CPPFLAGS'
49462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49465
49466
49467 fi
49468
49469   fi
49470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49471 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49472
49473   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49474     for ac_func in atan2l
49475 do :
49476   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49477 if test "x$ac_cv_func_atan2l" = x""yes; then :
49478   cat >>confdefs.h <<_ACEOF
49479 #define HAVE_ATAN2L 1
49480 _ACEOF
49481
49482 fi
49483 done
49484
49485   else
49486
49487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49488 $as_echo_n "checking for _atan2l declaration... " >&6; }
49489   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49490     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49491   $as_echo_n "(cached) " >&6
49492 else
49493
49494
49495       ac_ext=cpp
49496 ac_cpp='$CXXCPP $CPPFLAGS'
49497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49500
49501       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49502 /* end confdefs.h.  */
49503 #include <math.h>
49504 int
49505 main ()
49506 {
49507  _atan2l(0, 0);
49508   ;
49509   return 0;
49510 }
49511 _ACEOF
49512 if ac_fn_cxx_try_compile "$LINENO"; then :
49513   glibcxx_cv_func__atan2l_use=yes
49514 else
49515   glibcxx_cv_func__atan2l_use=no
49516 fi
49517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49518       ac_ext=c
49519 ac_cpp='$CPP $CPPFLAGS'
49520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49523
49524
49525 fi
49526
49527   fi
49528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49529 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49530
49531     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49532       for ac_func in _atan2l
49533 do :
49534   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49535 if test "x$ac_cv_func__atan2l" = x""yes; then :
49536   cat >>confdefs.h <<_ACEOF
49537 #define HAVE__ATAN2L 1
49538 _ACEOF
49539
49540 fi
49541 done
49542
49543     fi
49544   fi
49545
49546
49547
49548
49549
49550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49551 $as_echo_n "checking for expl declaration... " >&6; }
49552   if test x${glibcxx_cv_func_expl_use+set} != xset; then
49553     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49554   $as_echo_n "(cached) " >&6
49555 else
49556
49557
49558       ac_ext=cpp
49559 ac_cpp='$CXXCPP $CPPFLAGS'
49560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49563
49564       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49565 /* end confdefs.h.  */
49566 #include <math.h>
49567                       #ifdef HAVE_IEEEFP_H
49568                       #include <ieeefp.h>
49569                       #endif
49570
49571 int
49572 main ()
49573 {
49574  expl(0);
49575   ;
49576   return 0;
49577 }
49578 _ACEOF
49579 if ac_fn_cxx_try_compile "$LINENO"; then :
49580   glibcxx_cv_func_expl_use=yes
49581 else
49582   glibcxx_cv_func_expl_use=no
49583 fi
49584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49585       ac_ext=c
49586 ac_cpp='$CPP $CPPFLAGS'
49587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49590
49591
49592 fi
49593
49594   fi
49595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49596 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49597
49598   if test x$glibcxx_cv_func_expl_use = x"yes"; then
49599     for ac_func in expl
49600 do :
49601   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49602 if test "x$ac_cv_func_expl" = x""yes; then :
49603   cat >>confdefs.h <<_ACEOF
49604 #define HAVE_EXPL 1
49605 _ACEOF
49606
49607 fi
49608 done
49609
49610   else
49611
49612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49613 $as_echo_n "checking for _expl declaration... " >&6; }
49614   if test x${glibcxx_cv_func__expl_use+set} != xset; then
49615     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49616   $as_echo_n "(cached) " >&6
49617 else
49618
49619
49620       ac_ext=cpp
49621 ac_cpp='$CXXCPP $CPPFLAGS'
49622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49625
49626       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49627 /* end confdefs.h.  */
49628 #include <math.h>
49629                       #ifdef HAVE_IEEEFP_H
49630                       #include <ieeefp.h>
49631                       #endif
49632
49633 int
49634 main ()
49635 {
49636  _expl(0);
49637   ;
49638   return 0;
49639 }
49640 _ACEOF
49641 if ac_fn_cxx_try_compile "$LINENO"; then :
49642   glibcxx_cv_func__expl_use=yes
49643 else
49644   glibcxx_cv_func__expl_use=no
49645 fi
49646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49647       ac_ext=c
49648 ac_cpp='$CPP $CPPFLAGS'
49649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49652
49653
49654 fi
49655
49656   fi
49657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49658 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49659
49660     if test x$glibcxx_cv_func__expl_use = x"yes"; then
49661       for ac_func in _expl
49662 do :
49663   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49664 if test "x$ac_cv_func__expl" = x""yes; then :
49665   cat >>confdefs.h <<_ACEOF
49666 #define HAVE__EXPL 1
49667 _ACEOF
49668
49669 fi
49670 done
49671
49672     fi
49673   fi
49674
49675
49676
49677
49678
49679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49680 $as_echo_n "checking for fabsl declaration... " >&6; }
49681   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49682     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49683   $as_echo_n "(cached) " >&6
49684 else
49685
49686
49687       ac_ext=cpp
49688 ac_cpp='$CXXCPP $CPPFLAGS'
49689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49692
49693       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49694 /* end confdefs.h.  */
49695 #include <math.h>
49696                       #ifdef HAVE_IEEEFP_H
49697                       #include <ieeefp.h>
49698                       #endif
49699
49700 int
49701 main ()
49702 {
49703  fabsl(0);
49704   ;
49705   return 0;
49706 }
49707 _ACEOF
49708 if ac_fn_cxx_try_compile "$LINENO"; then :
49709   glibcxx_cv_func_fabsl_use=yes
49710 else
49711   glibcxx_cv_func_fabsl_use=no
49712 fi
49713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49714       ac_ext=c
49715 ac_cpp='$CPP $CPPFLAGS'
49716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49719
49720
49721 fi
49722
49723   fi
49724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49725 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49726
49727   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49728     for ac_func in fabsl
49729 do :
49730   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49731 if test "x$ac_cv_func_fabsl" = x""yes; then :
49732   cat >>confdefs.h <<_ACEOF
49733 #define HAVE_FABSL 1
49734 _ACEOF
49735
49736 fi
49737 done
49738
49739   else
49740
49741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49742 $as_echo_n "checking for _fabsl declaration... " >&6; }
49743   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49744     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49745   $as_echo_n "(cached) " >&6
49746 else
49747
49748
49749       ac_ext=cpp
49750 ac_cpp='$CXXCPP $CPPFLAGS'
49751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49754
49755       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49756 /* end confdefs.h.  */
49757 #include <math.h>
49758                       #ifdef HAVE_IEEEFP_H
49759                       #include <ieeefp.h>
49760                       #endif
49761
49762 int
49763 main ()
49764 {
49765  _fabsl(0);
49766   ;
49767   return 0;
49768 }
49769 _ACEOF
49770 if ac_fn_cxx_try_compile "$LINENO"; then :
49771   glibcxx_cv_func__fabsl_use=yes
49772 else
49773   glibcxx_cv_func__fabsl_use=no
49774 fi
49775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49776       ac_ext=c
49777 ac_cpp='$CPP $CPPFLAGS'
49778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49781
49782
49783 fi
49784
49785   fi
49786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49787 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49788
49789     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49790       for ac_func in _fabsl
49791 do :
49792   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49793 if test "x$ac_cv_func__fabsl" = x""yes; then :
49794   cat >>confdefs.h <<_ACEOF
49795 #define HAVE__FABSL 1
49796 _ACEOF
49797
49798 fi
49799 done
49800
49801     fi
49802   fi
49803
49804
49805
49806
49807
49808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49809 $as_echo_n "checking for fmodl declaration... " >&6; }
49810   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49811     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49812   $as_echo_n "(cached) " >&6
49813 else
49814
49815
49816       ac_ext=cpp
49817 ac_cpp='$CXXCPP $CPPFLAGS'
49818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49821
49822       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49823 /* end confdefs.h.  */
49824 #include <math.h>
49825 int
49826 main ()
49827 {
49828  fmodl(0, 0);
49829   ;
49830   return 0;
49831 }
49832 _ACEOF
49833 if ac_fn_cxx_try_compile "$LINENO"; then :
49834   glibcxx_cv_func_fmodl_use=yes
49835 else
49836   glibcxx_cv_func_fmodl_use=no
49837 fi
49838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49839       ac_ext=c
49840 ac_cpp='$CPP $CPPFLAGS'
49841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49844
49845
49846 fi
49847
49848   fi
49849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49850 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49851
49852   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49853     for ac_func in fmodl
49854 do :
49855   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49856 if test "x$ac_cv_func_fmodl" = x""yes; then :
49857   cat >>confdefs.h <<_ACEOF
49858 #define HAVE_FMODL 1
49859 _ACEOF
49860
49861 fi
49862 done
49863
49864   else
49865
49866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49867 $as_echo_n "checking for _fmodl declaration... " >&6; }
49868   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49869     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49870   $as_echo_n "(cached) " >&6
49871 else
49872
49873
49874       ac_ext=cpp
49875 ac_cpp='$CXXCPP $CPPFLAGS'
49876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49879
49880       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49881 /* end confdefs.h.  */
49882 #include <math.h>
49883 int
49884 main ()
49885 {
49886  _fmodl(0, 0);
49887   ;
49888   return 0;
49889 }
49890 _ACEOF
49891 if ac_fn_cxx_try_compile "$LINENO"; then :
49892   glibcxx_cv_func__fmodl_use=yes
49893 else
49894   glibcxx_cv_func__fmodl_use=no
49895 fi
49896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49897       ac_ext=c
49898 ac_cpp='$CPP $CPPFLAGS'
49899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49902
49903
49904 fi
49905
49906   fi
49907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49908 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49909
49910     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49911       for ac_func in _fmodl
49912 do :
49913   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49914 if test "x$ac_cv_func__fmodl" = x""yes; then :
49915   cat >>confdefs.h <<_ACEOF
49916 #define HAVE__FMODL 1
49917 _ACEOF
49918
49919 fi
49920 done
49921
49922     fi
49923   fi
49924
49925
49926
49927
49928
49929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49930 $as_echo_n "checking for frexpl declaration... " >&6; }
49931   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49932     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49933   $as_echo_n "(cached) " >&6
49934 else
49935
49936
49937       ac_ext=cpp
49938 ac_cpp='$CXXCPP $CPPFLAGS'
49939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49942
49943       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49944 /* end confdefs.h.  */
49945 #include <math.h>
49946 int
49947 main ()
49948 {
49949  frexpl(0, 0);
49950   ;
49951   return 0;
49952 }
49953 _ACEOF
49954 if ac_fn_cxx_try_compile "$LINENO"; then :
49955   glibcxx_cv_func_frexpl_use=yes
49956 else
49957   glibcxx_cv_func_frexpl_use=no
49958 fi
49959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49960       ac_ext=c
49961 ac_cpp='$CPP $CPPFLAGS'
49962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49965
49966
49967 fi
49968
49969   fi
49970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49971 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49972
49973   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49974     for ac_func in frexpl
49975 do :
49976   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49977 if test "x$ac_cv_func_frexpl" = x""yes; then :
49978   cat >>confdefs.h <<_ACEOF
49979 #define HAVE_FREXPL 1
49980 _ACEOF
49981
49982 fi
49983 done
49984
49985   else
49986
49987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49988 $as_echo_n "checking for _frexpl declaration... " >&6; }
49989   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49990     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49991   $as_echo_n "(cached) " >&6
49992 else
49993
49994
49995       ac_ext=cpp
49996 ac_cpp='$CXXCPP $CPPFLAGS'
49997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50000
50001       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50002 /* end confdefs.h.  */
50003 #include <math.h>
50004 int
50005 main ()
50006 {
50007  _frexpl(0, 0);
50008   ;
50009   return 0;
50010 }
50011 _ACEOF
50012 if ac_fn_cxx_try_compile "$LINENO"; then :
50013   glibcxx_cv_func__frexpl_use=yes
50014 else
50015   glibcxx_cv_func__frexpl_use=no
50016 fi
50017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50018       ac_ext=c
50019 ac_cpp='$CPP $CPPFLAGS'
50020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50023
50024
50025 fi
50026
50027   fi
50028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50029 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50030
50031     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50032       for ac_func in _frexpl
50033 do :
50034   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50035 if test "x$ac_cv_func__frexpl" = x""yes; then :
50036   cat >>confdefs.h <<_ACEOF
50037 #define HAVE__FREXPL 1
50038 _ACEOF
50039
50040 fi
50041 done
50042
50043     fi
50044   fi
50045
50046
50047
50048
50049
50050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50051 $as_echo_n "checking for hypotl declaration... " >&6; }
50052   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50053     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50054   $as_echo_n "(cached) " >&6
50055 else
50056
50057
50058       ac_ext=cpp
50059 ac_cpp='$CXXCPP $CPPFLAGS'
50060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50063
50064       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50065 /* end confdefs.h.  */
50066 #include <math.h>
50067 int
50068 main ()
50069 {
50070  hypotl(0, 0);
50071   ;
50072   return 0;
50073 }
50074 _ACEOF
50075 if ac_fn_cxx_try_compile "$LINENO"; then :
50076   glibcxx_cv_func_hypotl_use=yes
50077 else
50078   glibcxx_cv_func_hypotl_use=no
50079 fi
50080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50081       ac_ext=c
50082 ac_cpp='$CPP $CPPFLAGS'
50083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50086
50087
50088 fi
50089
50090   fi
50091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50092 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50093
50094   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50095     for ac_func in hypotl
50096 do :
50097   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50098 if test "x$ac_cv_func_hypotl" = x""yes; then :
50099   cat >>confdefs.h <<_ACEOF
50100 #define HAVE_HYPOTL 1
50101 _ACEOF
50102
50103 fi
50104 done
50105
50106   else
50107
50108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50109 $as_echo_n "checking for _hypotl declaration... " >&6; }
50110   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50111     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50112   $as_echo_n "(cached) " >&6
50113 else
50114
50115
50116       ac_ext=cpp
50117 ac_cpp='$CXXCPP $CPPFLAGS'
50118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50121
50122       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50123 /* end confdefs.h.  */
50124 #include <math.h>
50125 int
50126 main ()
50127 {
50128  _hypotl(0, 0);
50129   ;
50130   return 0;
50131 }
50132 _ACEOF
50133 if ac_fn_cxx_try_compile "$LINENO"; then :
50134   glibcxx_cv_func__hypotl_use=yes
50135 else
50136   glibcxx_cv_func__hypotl_use=no
50137 fi
50138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50139       ac_ext=c
50140 ac_cpp='$CPP $CPPFLAGS'
50141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50144
50145
50146 fi
50147
50148   fi
50149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50150 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50151
50152     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50153       for ac_func in _hypotl
50154 do :
50155   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50156 if test "x$ac_cv_func__hypotl" = x""yes; then :
50157   cat >>confdefs.h <<_ACEOF
50158 #define HAVE__HYPOTL 1
50159 _ACEOF
50160
50161 fi
50162 done
50163
50164     fi
50165   fi
50166
50167
50168
50169
50170
50171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50172 $as_echo_n "checking for ldexpl declaration... " >&6; }
50173   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50174     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50175   $as_echo_n "(cached) " >&6
50176 else
50177
50178
50179       ac_ext=cpp
50180 ac_cpp='$CXXCPP $CPPFLAGS'
50181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50184
50185       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50186 /* end confdefs.h.  */
50187 #include <math.h>
50188 int
50189 main ()
50190 {
50191  ldexpl(0, 0);
50192   ;
50193   return 0;
50194 }
50195 _ACEOF
50196 if ac_fn_cxx_try_compile "$LINENO"; then :
50197   glibcxx_cv_func_ldexpl_use=yes
50198 else
50199   glibcxx_cv_func_ldexpl_use=no
50200 fi
50201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50202       ac_ext=c
50203 ac_cpp='$CPP $CPPFLAGS'
50204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50207
50208
50209 fi
50210
50211   fi
50212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50213 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50214
50215   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50216     for ac_func in ldexpl
50217 do :
50218   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50219 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50220   cat >>confdefs.h <<_ACEOF
50221 #define HAVE_LDEXPL 1
50222 _ACEOF
50223
50224 fi
50225 done
50226
50227   else
50228
50229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50230 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50231   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50232     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50233   $as_echo_n "(cached) " >&6
50234 else
50235
50236
50237       ac_ext=cpp
50238 ac_cpp='$CXXCPP $CPPFLAGS'
50239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50242
50243       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50244 /* end confdefs.h.  */
50245 #include <math.h>
50246 int
50247 main ()
50248 {
50249  _ldexpl(0, 0);
50250   ;
50251   return 0;
50252 }
50253 _ACEOF
50254 if ac_fn_cxx_try_compile "$LINENO"; then :
50255   glibcxx_cv_func__ldexpl_use=yes
50256 else
50257   glibcxx_cv_func__ldexpl_use=no
50258 fi
50259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50260       ac_ext=c
50261 ac_cpp='$CPP $CPPFLAGS'
50262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50265
50266
50267 fi
50268
50269   fi
50270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50271 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50272
50273     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50274       for ac_func in _ldexpl
50275 do :
50276   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50277 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50278   cat >>confdefs.h <<_ACEOF
50279 #define HAVE__LDEXPL 1
50280 _ACEOF
50281
50282 fi
50283 done
50284
50285     fi
50286   fi
50287
50288
50289
50290
50291
50292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50293 $as_echo_n "checking for logl declaration... " >&6; }
50294   if test x${glibcxx_cv_func_logl_use+set} != xset; then
50295     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50296   $as_echo_n "(cached) " >&6
50297 else
50298
50299
50300       ac_ext=cpp
50301 ac_cpp='$CXXCPP $CPPFLAGS'
50302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50305
50306       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50307 /* end confdefs.h.  */
50308 #include <math.h>
50309                       #ifdef HAVE_IEEEFP_H
50310                       #include <ieeefp.h>
50311                       #endif
50312
50313 int
50314 main ()
50315 {
50316  logl(0);
50317   ;
50318   return 0;
50319 }
50320 _ACEOF
50321 if ac_fn_cxx_try_compile "$LINENO"; then :
50322   glibcxx_cv_func_logl_use=yes
50323 else
50324   glibcxx_cv_func_logl_use=no
50325 fi
50326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50327       ac_ext=c
50328 ac_cpp='$CPP $CPPFLAGS'
50329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50332
50333
50334 fi
50335
50336   fi
50337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50338 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50339
50340   if test x$glibcxx_cv_func_logl_use = x"yes"; then
50341     for ac_func in logl
50342 do :
50343   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50344 if test "x$ac_cv_func_logl" = x""yes; then :
50345   cat >>confdefs.h <<_ACEOF
50346 #define HAVE_LOGL 1
50347 _ACEOF
50348
50349 fi
50350 done
50351
50352   else
50353
50354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50355 $as_echo_n "checking for _logl declaration... " >&6; }
50356   if test x${glibcxx_cv_func__logl_use+set} != xset; then
50357     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50358   $as_echo_n "(cached) " >&6
50359 else
50360
50361
50362       ac_ext=cpp
50363 ac_cpp='$CXXCPP $CPPFLAGS'
50364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50367
50368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50369 /* end confdefs.h.  */
50370 #include <math.h>
50371                       #ifdef HAVE_IEEEFP_H
50372                       #include <ieeefp.h>
50373                       #endif
50374
50375 int
50376 main ()
50377 {
50378  _logl(0);
50379   ;
50380   return 0;
50381 }
50382 _ACEOF
50383 if ac_fn_cxx_try_compile "$LINENO"; then :
50384   glibcxx_cv_func__logl_use=yes
50385 else
50386   glibcxx_cv_func__logl_use=no
50387 fi
50388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50389       ac_ext=c
50390 ac_cpp='$CPP $CPPFLAGS'
50391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50394
50395
50396 fi
50397
50398   fi
50399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50400 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50401
50402     if test x$glibcxx_cv_func__logl_use = x"yes"; then
50403       for ac_func in _logl
50404 do :
50405   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50406 if test "x$ac_cv_func__logl" = x""yes; then :
50407   cat >>confdefs.h <<_ACEOF
50408 #define HAVE__LOGL 1
50409 _ACEOF
50410
50411 fi
50412 done
50413
50414     fi
50415   fi
50416
50417
50418
50419
50420
50421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50422 $as_echo_n "checking for log10l declaration... " >&6; }
50423   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50424     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50425   $as_echo_n "(cached) " >&6
50426 else
50427
50428
50429       ac_ext=cpp
50430 ac_cpp='$CXXCPP $CPPFLAGS'
50431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50434
50435       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50436 /* end confdefs.h.  */
50437 #include <math.h>
50438                       #ifdef HAVE_IEEEFP_H
50439                       #include <ieeefp.h>
50440                       #endif
50441
50442 int
50443 main ()
50444 {
50445  log10l(0);
50446   ;
50447   return 0;
50448 }
50449 _ACEOF
50450 if ac_fn_cxx_try_compile "$LINENO"; then :
50451   glibcxx_cv_func_log10l_use=yes
50452 else
50453   glibcxx_cv_func_log10l_use=no
50454 fi
50455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50456       ac_ext=c
50457 ac_cpp='$CPP $CPPFLAGS'
50458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50461
50462
50463 fi
50464
50465   fi
50466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50467 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50468
50469   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50470     for ac_func in log10l
50471 do :
50472   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50473 if test "x$ac_cv_func_log10l" = x""yes; then :
50474   cat >>confdefs.h <<_ACEOF
50475 #define HAVE_LOG10L 1
50476 _ACEOF
50477
50478 fi
50479 done
50480
50481   else
50482
50483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50484 $as_echo_n "checking for _log10l declaration... " >&6; }
50485   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50486     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50487   $as_echo_n "(cached) " >&6
50488 else
50489
50490
50491       ac_ext=cpp
50492 ac_cpp='$CXXCPP $CPPFLAGS'
50493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50496
50497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50498 /* end confdefs.h.  */
50499 #include <math.h>
50500                       #ifdef HAVE_IEEEFP_H
50501                       #include <ieeefp.h>
50502                       #endif
50503
50504 int
50505 main ()
50506 {
50507  _log10l(0);
50508   ;
50509   return 0;
50510 }
50511 _ACEOF
50512 if ac_fn_cxx_try_compile "$LINENO"; then :
50513   glibcxx_cv_func__log10l_use=yes
50514 else
50515   glibcxx_cv_func__log10l_use=no
50516 fi
50517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50518       ac_ext=c
50519 ac_cpp='$CPP $CPPFLAGS'
50520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50523
50524
50525 fi
50526
50527   fi
50528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50529 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50530
50531     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50532       for ac_func in _log10l
50533 do :
50534   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50535 if test "x$ac_cv_func__log10l" = x""yes; then :
50536   cat >>confdefs.h <<_ACEOF
50537 #define HAVE__LOG10L 1
50538 _ACEOF
50539
50540 fi
50541 done
50542
50543     fi
50544   fi
50545
50546
50547
50548
50549
50550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50551 $as_echo_n "checking for modfl declaration... " >&6; }
50552   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50553     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50554   $as_echo_n "(cached) " >&6
50555 else
50556
50557
50558       ac_ext=cpp
50559 ac_cpp='$CXXCPP $CPPFLAGS'
50560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50563
50564       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50565 /* end confdefs.h.  */
50566 #include <math.h>
50567 int
50568 main ()
50569 {
50570  modfl(0, 0);
50571   ;
50572   return 0;
50573 }
50574 _ACEOF
50575 if ac_fn_cxx_try_compile "$LINENO"; then :
50576   glibcxx_cv_func_modfl_use=yes
50577 else
50578   glibcxx_cv_func_modfl_use=no
50579 fi
50580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50581       ac_ext=c
50582 ac_cpp='$CPP $CPPFLAGS'
50583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50586
50587
50588 fi
50589
50590   fi
50591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50592 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50593
50594   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50595     for ac_func in modfl
50596 do :
50597   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50598 if test "x$ac_cv_func_modfl" = x""yes; then :
50599   cat >>confdefs.h <<_ACEOF
50600 #define HAVE_MODFL 1
50601 _ACEOF
50602
50603 fi
50604 done
50605
50606   else
50607
50608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50609 $as_echo_n "checking for _modfl declaration... " >&6; }
50610   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50611     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50612   $as_echo_n "(cached) " >&6
50613 else
50614
50615
50616       ac_ext=cpp
50617 ac_cpp='$CXXCPP $CPPFLAGS'
50618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50621
50622       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50623 /* end confdefs.h.  */
50624 #include <math.h>
50625 int
50626 main ()
50627 {
50628  _modfl(0, 0);
50629   ;
50630   return 0;
50631 }
50632 _ACEOF
50633 if ac_fn_cxx_try_compile "$LINENO"; then :
50634   glibcxx_cv_func__modfl_use=yes
50635 else
50636   glibcxx_cv_func__modfl_use=no
50637 fi
50638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50639       ac_ext=c
50640 ac_cpp='$CPP $CPPFLAGS'
50641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50644
50645
50646 fi
50647
50648   fi
50649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50650 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50651
50652     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50653       for ac_func in _modfl
50654 do :
50655   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50656 if test "x$ac_cv_func__modfl" = x""yes; then :
50657   cat >>confdefs.h <<_ACEOF
50658 #define HAVE__MODFL 1
50659 _ACEOF
50660
50661 fi
50662 done
50663
50664     fi
50665   fi
50666
50667
50668
50669
50670
50671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50672 $as_echo_n "checking for powl declaration... " >&6; }
50673   if test x${glibcxx_cv_func_powl_use+set} != xset; then
50674     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50675   $as_echo_n "(cached) " >&6
50676 else
50677
50678
50679       ac_ext=cpp
50680 ac_cpp='$CXXCPP $CPPFLAGS'
50681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50684
50685       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50686 /* end confdefs.h.  */
50687 #include <math.h>
50688 int
50689 main ()
50690 {
50691  powl(0, 0);
50692   ;
50693   return 0;
50694 }
50695 _ACEOF
50696 if ac_fn_cxx_try_compile "$LINENO"; then :
50697   glibcxx_cv_func_powl_use=yes
50698 else
50699   glibcxx_cv_func_powl_use=no
50700 fi
50701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50702       ac_ext=c
50703 ac_cpp='$CPP $CPPFLAGS'
50704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50707
50708
50709 fi
50710
50711   fi
50712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50713 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50714
50715   if test x$glibcxx_cv_func_powl_use = x"yes"; then
50716     for ac_func in powl
50717 do :
50718   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50719 if test "x$ac_cv_func_powl" = x""yes; then :
50720   cat >>confdefs.h <<_ACEOF
50721 #define HAVE_POWL 1
50722 _ACEOF
50723
50724 fi
50725 done
50726
50727   else
50728
50729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50730 $as_echo_n "checking for _powl declaration... " >&6; }
50731   if test x${glibcxx_cv_func__powl_use+set} != xset; then
50732     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50733   $as_echo_n "(cached) " >&6
50734 else
50735
50736
50737       ac_ext=cpp
50738 ac_cpp='$CXXCPP $CPPFLAGS'
50739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50742
50743       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50744 /* end confdefs.h.  */
50745 #include <math.h>
50746 int
50747 main ()
50748 {
50749  _powl(0, 0);
50750   ;
50751   return 0;
50752 }
50753 _ACEOF
50754 if ac_fn_cxx_try_compile "$LINENO"; then :
50755   glibcxx_cv_func__powl_use=yes
50756 else
50757   glibcxx_cv_func__powl_use=no
50758 fi
50759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50760       ac_ext=c
50761 ac_cpp='$CPP $CPPFLAGS'
50762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50765
50766
50767 fi
50768
50769   fi
50770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50771 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50772
50773     if test x$glibcxx_cv_func__powl_use = x"yes"; then
50774       for ac_func in _powl
50775 do :
50776   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50777 if test "x$ac_cv_func__powl" = x""yes; then :
50778   cat >>confdefs.h <<_ACEOF
50779 #define HAVE__POWL 1
50780 _ACEOF
50781
50782 fi
50783 done
50784
50785     fi
50786   fi
50787
50788
50789
50790
50791
50792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50793 $as_echo_n "checking for sqrtl declaration... " >&6; }
50794   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50795     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50796   $as_echo_n "(cached) " >&6
50797 else
50798
50799
50800       ac_ext=cpp
50801 ac_cpp='$CXXCPP $CPPFLAGS'
50802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50805
50806       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50807 /* end confdefs.h.  */
50808 #include <math.h>
50809                       #ifdef HAVE_IEEEFP_H
50810                       #include <ieeefp.h>
50811                       #endif
50812
50813 int
50814 main ()
50815 {
50816  sqrtl(0);
50817   ;
50818   return 0;
50819 }
50820 _ACEOF
50821 if ac_fn_cxx_try_compile "$LINENO"; then :
50822   glibcxx_cv_func_sqrtl_use=yes
50823 else
50824   glibcxx_cv_func_sqrtl_use=no
50825 fi
50826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50827       ac_ext=c
50828 ac_cpp='$CPP $CPPFLAGS'
50829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50832
50833
50834 fi
50835
50836   fi
50837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50838 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50839
50840   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50841     for ac_func in sqrtl
50842 do :
50843   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50844 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50845   cat >>confdefs.h <<_ACEOF
50846 #define HAVE_SQRTL 1
50847 _ACEOF
50848
50849 fi
50850 done
50851
50852   else
50853
50854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50855 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50856   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50857     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50858   $as_echo_n "(cached) " >&6
50859 else
50860
50861
50862       ac_ext=cpp
50863 ac_cpp='$CXXCPP $CPPFLAGS'
50864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50867
50868       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50869 /* end confdefs.h.  */
50870 #include <math.h>
50871                       #ifdef HAVE_IEEEFP_H
50872                       #include <ieeefp.h>
50873                       #endif
50874
50875 int
50876 main ()
50877 {
50878  _sqrtl(0);
50879   ;
50880   return 0;
50881 }
50882 _ACEOF
50883 if ac_fn_cxx_try_compile "$LINENO"; then :
50884   glibcxx_cv_func__sqrtl_use=yes
50885 else
50886   glibcxx_cv_func__sqrtl_use=no
50887 fi
50888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50889       ac_ext=c
50890 ac_cpp='$CPP $CPPFLAGS'
50891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50894
50895
50896 fi
50897
50898   fi
50899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50900 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50901
50902     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50903       for ac_func in _sqrtl
50904 do :
50905   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50906 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50907   cat >>confdefs.h <<_ACEOF
50908 #define HAVE__SQRTL 1
50909 _ACEOF
50910
50911 fi
50912 done
50913
50914     fi
50915   fi
50916
50917
50918
50919
50920
50921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50922 $as_echo_n "checking for sincosl declaration... " >&6; }
50923   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50924     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50925   $as_echo_n "(cached) " >&6
50926 else
50927
50928
50929       ac_ext=cpp
50930 ac_cpp='$CXXCPP $CPPFLAGS'
50931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50934
50935       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50936 /* end confdefs.h.  */
50937 #include <math.h>
50938 int
50939 main ()
50940 {
50941  sincosl(0, 0, 0);
50942   ;
50943   return 0;
50944 }
50945 _ACEOF
50946 if ac_fn_cxx_try_compile "$LINENO"; then :
50947   glibcxx_cv_func_sincosl_use=yes
50948 else
50949   glibcxx_cv_func_sincosl_use=no
50950 fi
50951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50952       ac_ext=c
50953 ac_cpp='$CPP $CPPFLAGS'
50954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50957
50958
50959 fi
50960
50961   fi
50962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50963 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50964
50965   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50966     for ac_func in sincosl
50967 do :
50968   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50969 if test "x$ac_cv_func_sincosl" = x""yes; then :
50970   cat >>confdefs.h <<_ACEOF
50971 #define HAVE_SINCOSL 1
50972 _ACEOF
50973
50974 fi
50975 done
50976
50977   else
50978
50979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50980 $as_echo_n "checking for _sincosl declaration... " >&6; }
50981   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50982     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50983   $as_echo_n "(cached) " >&6
50984 else
50985
50986
50987       ac_ext=cpp
50988 ac_cpp='$CXXCPP $CPPFLAGS'
50989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50992
50993       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50994 /* end confdefs.h.  */
50995 #include <math.h>
50996 int
50997 main ()
50998 {
50999  _sincosl(0, 0, 0);
51000   ;
51001   return 0;
51002 }
51003 _ACEOF
51004 if ac_fn_cxx_try_compile "$LINENO"; then :
51005   glibcxx_cv_func__sincosl_use=yes
51006 else
51007   glibcxx_cv_func__sincosl_use=no
51008 fi
51009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51010       ac_ext=c
51011 ac_cpp='$CPP $CPPFLAGS'
51012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51015
51016
51017 fi
51018
51019   fi
51020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51021 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51022
51023     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51024       for ac_func in _sincosl
51025 do :
51026   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51027 if test "x$ac_cv_func__sincosl" = x""yes; then :
51028   cat >>confdefs.h <<_ACEOF
51029 #define HAVE__SINCOSL 1
51030 _ACEOF
51031
51032 fi
51033 done
51034
51035     fi
51036   fi
51037
51038
51039
51040
51041
51042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51043 $as_echo_n "checking for finitel declaration... " >&6; }
51044   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51045     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51046   $as_echo_n "(cached) " >&6
51047 else
51048
51049
51050       ac_ext=cpp
51051 ac_cpp='$CXXCPP $CPPFLAGS'
51052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51055
51056       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51057 /* end confdefs.h.  */
51058 #include <math.h>
51059                       #ifdef HAVE_IEEEFP_H
51060                       #include <ieeefp.h>
51061                       #endif
51062
51063 int
51064 main ()
51065 {
51066  finitel(0);
51067   ;
51068   return 0;
51069 }
51070 _ACEOF
51071 if ac_fn_cxx_try_compile "$LINENO"; then :
51072   glibcxx_cv_func_finitel_use=yes
51073 else
51074   glibcxx_cv_func_finitel_use=no
51075 fi
51076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51077       ac_ext=c
51078 ac_cpp='$CPP $CPPFLAGS'
51079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51082
51083
51084 fi
51085
51086   fi
51087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51088 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51089
51090   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51091     for ac_func in finitel
51092 do :
51093   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51094 if test "x$ac_cv_func_finitel" = x""yes; then :
51095   cat >>confdefs.h <<_ACEOF
51096 #define HAVE_FINITEL 1
51097 _ACEOF
51098
51099 fi
51100 done
51101
51102   else
51103
51104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51105 $as_echo_n "checking for _finitel declaration... " >&6; }
51106   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51107     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51108   $as_echo_n "(cached) " >&6
51109 else
51110
51111
51112       ac_ext=cpp
51113 ac_cpp='$CXXCPP $CPPFLAGS'
51114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51117
51118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51119 /* end confdefs.h.  */
51120 #include <math.h>
51121                       #ifdef HAVE_IEEEFP_H
51122                       #include <ieeefp.h>
51123                       #endif
51124
51125 int
51126 main ()
51127 {
51128  _finitel(0);
51129   ;
51130   return 0;
51131 }
51132 _ACEOF
51133 if ac_fn_cxx_try_compile "$LINENO"; then :
51134   glibcxx_cv_func__finitel_use=yes
51135 else
51136   glibcxx_cv_func__finitel_use=no
51137 fi
51138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51139       ac_ext=c
51140 ac_cpp='$CPP $CPPFLAGS'
51141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51144
51145
51146 fi
51147
51148   fi
51149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51150 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51151
51152     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51153       for ac_func in _finitel
51154 do :
51155   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51156 if test "x$ac_cv_func__finitel" = x""yes; then :
51157   cat >>confdefs.h <<_ACEOF
51158 #define HAVE__FINITEL 1
51159 _ACEOF
51160
51161 fi
51162 done
51163
51164     fi
51165   fi
51166
51167
51168
51169
51170   LIBS="$ac_save_LIBS"
51171   CXXFLAGS="$ac_save_CXXFLAGS"
51172
51173
51174   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51175   ac_save_CXXFLAGS="$CXXFLAGS"
51176   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51177
51178
51179   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51180 $as_echo_n "checking for strtold declaration... " >&6; }
51181   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51182     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51183   $as_echo_n "(cached) " >&6
51184 else
51185
51186
51187       ac_ext=cpp
51188 ac_cpp='$CXXCPP $CPPFLAGS'
51189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51192
51193       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51194 /* end confdefs.h.  */
51195 #include <stdlib.h>
51196 int
51197 main ()
51198 {
51199  strtold(0, 0);
51200   ;
51201   return 0;
51202 }
51203 _ACEOF
51204 if ac_fn_cxx_try_compile "$LINENO"; then :
51205   glibcxx_cv_func_strtold_use=yes
51206 else
51207   glibcxx_cv_func_strtold_use=no
51208 fi
51209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51210       ac_ext=c
51211 ac_cpp='$CPP $CPPFLAGS'
51212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51215
51216
51217 fi
51218
51219   fi
51220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51221 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51222   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51223     for ac_func in strtold
51224 do :
51225   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51226 if test "x$ac_cv_func_strtold" = x""yes; then :
51227   cat >>confdefs.h <<_ACEOF
51228 #define HAVE_STRTOLD 1
51229 _ACEOF
51230
51231 fi
51232 done
51233
51234   fi
51235
51236
51237
51238
51239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51240 $as_echo_n "checking for strtof declaration... " >&6; }
51241   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51242     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51243   $as_echo_n "(cached) " >&6
51244 else
51245
51246
51247       ac_ext=cpp
51248 ac_cpp='$CXXCPP $CPPFLAGS'
51249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51252
51253       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51254 /* end confdefs.h.  */
51255 #include <stdlib.h>
51256 int
51257 main ()
51258 {
51259  strtof(0, 0);
51260   ;
51261   return 0;
51262 }
51263 _ACEOF
51264 if ac_fn_cxx_try_compile "$LINENO"; then :
51265   glibcxx_cv_func_strtof_use=yes
51266 else
51267   glibcxx_cv_func_strtof_use=no
51268 fi
51269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51270       ac_ext=c
51271 ac_cpp='$CPP $CPPFLAGS'
51272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51275
51276
51277 fi
51278
51279   fi
51280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51281 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51282   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51283     for ac_func in strtof
51284 do :
51285   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51286 if test "x$ac_cv_func_strtof" = x""yes; then :
51287   cat >>confdefs.h <<_ACEOF
51288 #define HAVE_STRTOF 1
51289 _ACEOF
51290
51291 fi
51292 done
51293
51294   fi
51295
51296
51297
51298
51299   CXXFLAGS="$ac_save_CXXFLAGS"
51300
51301     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51302
51303
51304
51305    # Check whether --enable-tls was given.
51306 if test "${enable_tls+set}" = set; then :
51307   enableval=$enable_tls;
51308       case "$enableval" in
51309        yes|no) ;;
51310        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51311       esac
51312
51313 else
51314   enable_tls=yes
51315 fi
51316
51317
51318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51319 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51320 if test "${gcc_cv_have_tls+set}" = set; then :
51321   $as_echo_n "(cached) " >&6
51322 else
51323
51324     if test "$cross_compiling" = yes; then :
51325                 if test x$gcc_no_link = xyes; then
51326   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51327 fi
51328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51329 /* end confdefs.h.  */
51330 __thread int a; int b; int main() { return a = b; }
51331 _ACEOF
51332 if ac_fn_c_try_link "$LINENO"; then :
51333   chktls_save_LDFLAGS="$LDFLAGS"
51334                           case $host in
51335             *-*-linux*)
51336               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51337               ;;
51338           esac
51339           chktls_save_CFLAGS="$CFLAGS"
51340           CFLAGS="-fPIC $CFLAGS"
51341                   if test x$gcc_no_link = xyes; then
51342   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51343 fi
51344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51345 /* end confdefs.h.  */
51346 int f() { return 0; }
51347 _ACEOF
51348 if ac_fn_c_try_link "$LINENO"; then :
51349   if test x$gcc_no_link = xyes; then
51350   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51351 fi
51352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51353 /* end confdefs.h.  */
51354 __thread int a; int b; int f() { return a = b; }
51355 _ACEOF
51356 if ac_fn_c_try_link "$LINENO"; then :
51357   gcc_cv_have_tls=yes
51358 else
51359   gcc_cv_have_tls=no
51360 fi
51361 rm -f core conftest.err conftest.$ac_objext \
51362     conftest$ac_exeext conftest.$ac_ext
51363 else
51364   gcc_cv_have_tls=yes
51365 fi
51366 rm -f core conftest.err conftest.$ac_objext \
51367     conftest$ac_exeext conftest.$ac_ext
51368           CFLAGS="$chktls_save_CFLAGS"
51369           LDFLAGS="$chktls_save_LDFLAGS"
51370 else
51371   gcc_cv_have_tls=no
51372 fi
51373 rm -f core conftest.err conftest.$ac_objext \
51374     conftest$ac_exeext conftest.$ac_ext
51375
51376
51377 else
51378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51379 /* end confdefs.h.  */
51380 __thread int a; int b; int main() { return a = b; }
51381 _ACEOF
51382 if ac_fn_c_try_run "$LINENO"; then :
51383                       chktls_save_LDFLAGS="$LDFLAGS"
51384       LDFLAGS="-static $LDFLAGS"
51385       if test x$gcc_no_link = xyes; then
51386   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51387 fi
51388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51389 /* end confdefs.h.  */
51390 int main() { return 0; }
51391 _ACEOF
51392 if ac_fn_c_try_link "$LINENO"; then :
51393   if test "$cross_compiling" = yes; then :
51394   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51396 as_fn_error "cannot run test program while cross compiling
51397 See \`config.log' for more details." "$LINENO" 5; }
51398 else
51399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51400 /* end confdefs.h.  */
51401 __thread int a; int b; int main() { return a = b; }
51402 _ACEOF
51403 if ac_fn_c_try_run "$LINENO"; then :
51404   gcc_cv_have_tls=yes
51405 else
51406   gcc_cv_have_tls=no
51407 fi
51408 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51409   conftest.$ac_objext conftest.beam conftest.$ac_ext
51410 fi
51411
51412 else
51413   gcc_cv_have_tls=yes
51414 fi
51415 rm -f core conftest.err conftest.$ac_objext \
51416     conftest$ac_exeext conftest.$ac_ext
51417       LDFLAGS="$chktls_save_LDFLAGS"
51418       if test $gcc_cv_have_tls = yes; then
51419                                                 chktls_save_CFLAGS="$CFLAGS"
51420         thread_CFLAGS=failed
51421         for flag in '' '-pthread' '-lpthread'; do
51422           CFLAGS="$flag $chktls_save_CFLAGS"
51423           if test x$gcc_no_link = xyes; then
51424   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51425 fi
51426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51427 /* end confdefs.h.  */
51428 #include <pthread.h>
51429                 void *g(void *d) { return NULL; }
51430 int
51431 main ()
51432 {
51433 pthread_t t; pthread_create(&t,NULL,g,NULL);
51434   ;
51435   return 0;
51436 }
51437 _ACEOF
51438 if ac_fn_c_try_link "$LINENO"; then :
51439   thread_CFLAGS="$flag"
51440 fi
51441 rm -f core conftest.err conftest.$ac_objext \
51442     conftest$ac_exeext conftest.$ac_ext
51443           if test "X$thread_CFLAGS" != Xfailed; then
51444             break
51445           fi
51446         done
51447         CFLAGS="$chktls_save_CFLAGS"
51448         if test "X$thread_CFLAGS" != Xfailed; then
51449           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51450                                                   if test "$cross_compiling" = yes; then :
51451   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51453 as_fn_error "cannot run test program while cross compiling
51454 See \`config.log' for more details." "$LINENO" 5; }
51455 else
51456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51457 /* end confdefs.h.  */
51458 #include <pthread.h>
51459                 __thread int a;
51460                 static int *volatile a_in_other_thread;
51461                 static void *
51462                 thread_func (void *arg)
51463                 {
51464                   a_in_other_thread = &a;
51465                   return (void *)0;
51466                 }
51467 int
51468 main ()
51469 {
51470 pthread_t thread;
51471                 void *thread_retval;
51472                 int *volatile a_in_main_thread;
51473                 a_in_main_thread = &a;
51474                 if (pthread_create (&thread, (pthread_attr_t *)0,
51475                                     thread_func, (void *)0))
51476                   return 0;
51477                 if (pthread_join (thread, &thread_retval))
51478                   return 0;
51479                 return (a_in_other_thread == a_in_main_thread);
51480   ;
51481   return 0;
51482 }
51483 _ACEOF
51484 if ac_fn_c_try_run "$LINENO"; then :
51485   gcc_cv_have_tls=yes
51486 else
51487   gcc_cv_have_tls=no
51488 fi
51489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51490   conftest.$ac_objext conftest.beam conftest.$ac_ext
51491 fi
51492
51493           CFLAGS="$chktls_save_CFLAGS"
51494         fi
51495       fi
51496 else
51497   gcc_cv_have_tls=no
51498 fi
51499 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51500   conftest.$ac_objext conftest.beam conftest.$ac_ext
51501 fi
51502
51503 fi
51504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51505 $as_echo "$gcc_cv_have_tls" >&6; }
51506   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51507
51508 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51509
51510   fi
51511
51512
51513
51514
51515
51516           am_save_CPPFLAGS="$CPPFLAGS"
51517
51518   for element in $INCICONV; do
51519     haveit=
51520     for x in $CPPFLAGS; do
51521
51522   acl_save_prefix="$prefix"
51523   prefix="$acl_final_prefix"
51524   acl_save_exec_prefix="$exec_prefix"
51525   exec_prefix="$acl_final_exec_prefix"
51526   eval x=\"$x\"
51527   exec_prefix="$acl_save_exec_prefix"
51528   prefix="$acl_save_prefix"
51529
51530       if test "X$x" = "X$element"; then
51531         haveit=yes
51532         break
51533       fi
51534     done
51535     if test -z "$haveit"; then
51536       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51537     fi
51538   done
51539
51540
51541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51542 $as_echo_n "checking for iconv... " >&6; }
51543 if test "${am_cv_func_iconv+set}" = set; then :
51544   $as_echo_n "(cached) " >&6
51545 else
51546
51547     am_cv_func_iconv="no, consider installing GNU libiconv"
51548     am_cv_lib_iconv=no
51549     if test x$gcc_no_link = xyes; then
51550   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51551 fi
51552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51553 /* end confdefs.h.  */
51554 #include <stdlib.h>
51555 #include <iconv.h>
51556 int
51557 main ()
51558 {
51559 iconv_t cd = iconv_open("","");
51560        iconv(cd,NULL,NULL,NULL,NULL);
51561        iconv_close(cd);
51562   ;
51563   return 0;
51564 }
51565 _ACEOF
51566 if ac_fn_c_try_link "$LINENO"; then :
51567   am_cv_func_iconv=yes
51568 fi
51569 rm -f core conftest.err conftest.$ac_objext \
51570     conftest$ac_exeext conftest.$ac_ext
51571     if test "$am_cv_func_iconv" != yes; then
51572       am_save_LIBS="$LIBS"
51573       LIBS="$LIBS $LIBICONV"
51574       if test x$gcc_no_link = xyes; then
51575   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51576 fi
51577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51578 /* end confdefs.h.  */
51579 #include <stdlib.h>
51580 #include <iconv.h>
51581 int
51582 main ()
51583 {
51584 iconv_t cd = iconv_open("","");
51585          iconv(cd,NULL,NULL,NULL,NULL);
51586          iconv_close(cd);
51587   ;
51588   return 0;
51589 }
51590 _ACEOF
51591 if ac_fn_c_try_link "$LINENO"; then :
51592   am_cv_lib_iconv=yes
51593         am_cv_func_iconv=yes
51594 fi
51595 rm -f core conftest.err conftest.$ac_objext \
51596     conftest$ac_exeext conftest.$ac_ext
51597       LIBS="$am_save_LIBS"
51598     fi
51599
51600 fi
51601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51602 $as_echo "$am_cv_func_iconv" >&6; }
51603   if test "$am_cv_func_iconv" = yes; then
51604
51605 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51606
51607   fi
51608   if test "$am_cv_lib_iconv" = yes; then
51609     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51610 $as_echo_n "checking how to link with libiconv... " >&6; }
51611     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51612 $as_echo "$LIBICONV" >&6; }
51613   else
51614             CPPFLAGS="$am_save_CPPFLAGS"
51615     LIBICONV=
51616     LTLIBICONV=
51617   fi
51618
51619
51620
51621   if test "$am_cv_func_iconv" = yes; then
51622     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51623 $as_echo_n "checking for iconv declaration... " >&6; }
51624     if test "${am_cv_proto_iconv+set}" = set; then :
51625   $as_echo_n "(cached) " >&6
51626 else
51627
51628       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51629 /* end confdefs.h.  */
51630
51631 #include <stdlib.h>
51632 #include <iconv.h>
51633 extern
51634 #ifdef __cplusplus
51635 "C"
51636 #endif
51637 #if defined(__STDC__) || defined(__cplusplus)
51638 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51639 #else
51640 size_t iconv();
51641 #endif
51642
51643 int
51644 main ()
51645 {
51646
51647   ;
51648   return 0;
51649 }
51650 _ACEOF
51651 if ac_fn_c_try_compile "$LINENO"; then :
51652   am_cv_proto_iconv_arg1=""
51653 else
51654   am_cv_proto_iconv_arg1="const"
51655 fi
51656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51657       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);"
51658 fi
51659
51660     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51661     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51662          }$am_cv_proto_iconv" >&5
51663 $as_echo "${ac_t:-
51664          }$am_cv_proto_iconv" >&6; }
51665
51666 cat >>confdefs.h <<_ACEOF
51667 #define ICONV_CONST $am_cv_proto_iconv_arg1
51668 _ACEOF
51669
51670   fi
51671
51672     ;;
51673   *-mingw32*)
51674
51675   # If we're not using GNU ld, then there's no point in even trying these
51676   # tests.  Check for that first.  We should have already tested for gld
51677   # by now (in libtool), but require it now just to be safe...
51678   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51679   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51680
51681
51682
51683   # The name set by libtool depends on the version of libtool.  Shame on us
51684   # for depending on an impl detail, but c'est la vie.  Older versions used
51685   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51686   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51687   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
51688   # set (hence we're using an older libtool), then set it.
51689   if test x${with_gnu_ld+set} != xset; then
51690     if test x${ac_cv_prog_gnu_ld+set} != xset; then
51691       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
51692       with_gnu_ld=no
51693     else
51694       with_gnu_ld=$ac_cv_prog_gnu_ld
51695     fi
51696   fi
51697
51698   # Start by getting the version number.  I think the libtool test already
51699   # does some of this, but throws away the result.
51700   glibcxx_ld_is_gold=no
51701   if test x"$with_gnu_ld" = x"yes"; then
51702     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51703 $as_echo_n "checking for ld version... " >&6; }
51704
51705     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51706       glibcxx_ld_is_gold=yes
51707     fi
51708     ldver=`$LD --version 2>/dev/null |
51709            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'`
51710
51711     glibcxx_gnu_ld_version=`echo $ldver | \
51712            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51713     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51714 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51715   fi
51716
51717   # Set --gc-sections.
51718   glibcxx_have_gc_sections=no
51719   if test "$glibcxx_ld_is_gold" = "yes"; then
51720     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51721       glibcxx_have_gc_sections=yes
51722     fi
51723   else
51724     glibcxx_gcsections_min_ld=21602
51725     if test x"$with_gnu_ld" = x"yes" &&
51726         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51727       glibcxx_have_gc_sections=yes
51728     fi
51729   fi
51730   if test "$glibcxx_have_gc_sections" = "yes"; then
51731     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
51732     # NB: This flag only works reliably after 2.16.1. Configure tests
51733     # for this are difficult, so hard wire a value that should work.
51734
51735     ac_test_CFLAGS="${CFLAGS+set}"
51736     ac_save_CFLAGS="$CFLAGS"
51737     CFLAGS='-Wl,--gc-sections'
51738
51739     # Check for -Wl,--gc-sections
51740     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51741 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51742     if test x$gcc_no_link = xyes; then
51743   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51744 fi
51745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51746 /* end confdefs.h.  */
51747  int one(void) { return 1; }
51748      int two(void) { return 2; }
51749
51750 int
51751 main ()
51752 {
51753  two();
51754   ;
51755   return 0;
51756 }
51757 _ACEOF
51758 if ac_fn_c_try_link "$LINENO"; then :
51759   ac_gcsections=yes
51760 else
51761   ac_gcsections=no
51762 fi
51763 rm -f core conftest.err conftest.$ac_objext \
51764     conftest$ac_exeext conftest.$ac_ext
51765     if test "$ac_gcsections" = "yes"; then
51766       rm -f conftest.c
51767       touch conftest.c
51768       if $CC -c conftest.c; then
51769         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51770            grep "Warning: gc-sections option ignored" > /dev/null; then
51771           ac_gcsections=no
51772         fi
51773       fi
51774       rm -f conftest.c conftest.o conftest
51775     fi
51776     if test "$ac_gcsections" = "yes"; then
51777       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51778     fi
51779     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51780 $as_echo "$ac_gcsections" >&6; }
51781
51782     if test "$ac_test_CFLAGS" = set; then
51783       CFLAGS="$ac_save_CFLAGS"
51784     else
51785       # this is the suspicious part
51786       CFLAGS=''
51787     fi
51788   fi
51789
51790   # Set -z,relro.
51791   # Note this is only for shared objects.
51792   ac_ld_relro=no
51793   if test x"$with_gnu_ld" = x"yes"; then
51794     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51795 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51796     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51797     if test -n "$cxx_z_relo"; then
51798       OPT_LDFLAGS="-Wl,-z,relro"
51799       ac_ld_relro=yes
51800     fi
51801     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51802 $as_echo "$ac_ld_relro" >&6; }
51803   fi
51804
51805   # Set linker optimization flags.
51806   if test x"$with_gnu_ld" = x"yes"; then
51807     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51808   fi
51809
51810
51811
51812
51813
51814   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51815   ac_save_CXXFLAGS="$CXXFLAGS"
51816   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51817
51818     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51819 $as_echo_n "checking for sin in -lm... " >&6; }
51820 if test "${ac_cv_lib_m_sin+set}" = set; then :
51821   $as_echo_n "(cached) " >&6
51822 else
51823   ac_check_lib_save_LIBS=$LIBS
51824 LIBS="-lm  $LIBS"
51825 if test x$gcc_no_link = xyes; then
51826   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51827 fi
51828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51829 /* end confdefs.h.  */
51830
51831 /* Override any GCC internal prototype to avoid an error.
51832    Use char because int might match the return type of a GCC
51833    builtin and then its argument prototype would still apply.  */
51834 #ifdef __cplusplus
51835 extern "C"
51836 #endif
51837 char sin ();
51838 int
51839 main ()
51840 {
51841 return sin ();
51842   ;
51843   return 0;
51844 }
51845 _ACEOF
51846 if ac_fn_c_try_link "$LINENO"; then :
51847   ac_cv_lib_m_sin=yes
51848 else
51849   ac_cv_lib_m_sin=no
51850 fi
51851 rm -f core conftest.err conftest.$ac_objext \
51852     conftest$ac_exeext conftest.$ac_ext
51853 LIBS=$ac_check_lib_save_LIBS
51854 fi
51855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51856 $as_echo "$ac_cv_lib_m_sin" >&6; }
51857 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51858   libm="-lm"
51859 fi
51860
51861   ac_save_LIBS="$LIBS"
51862   LIBS="$LIBS $libm"
51863
51864
51865
51866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51867 $as_echo_n "checking for isinf declaration... " >&6; }
51868   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51869     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51870   $as_echo_n "(cached) " >&6
51871 else
51872
51873
51874       ac_ext=cpp
51875 ac_cpp='$CXXCPP $CPPFLAGS'
51876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51879
51880       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51881 /* end confdefs.h.  */
51882 #include <math.h>
51883                       #ifdef HAVE_IEEEFP_H
51884                       #include <ieeefp.h>
51885                       #endif
51886
51887 int
51888 main ()
51889 {
51890  isinf(0);
51891   ;
51892   return 0;
51893 }
51894 _ACEOF
51895 if ac_fn_cxx_try_compile "$LINENO"; then :
51896   glibcxx_cv_func_isinf_use=yes
51897 else
51898   glibcxx_cv_func_isinf_use=no
51899 fi
51900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51901       ac_ext=c
51902 ac_cpp='$CPP $CPPFLAGS'
51903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51906
51907
51908 fi
51909
51910   fi
51911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51912 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51913
51914   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51915     for ac_func in isinf
51916 do :
51917   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51918 if test "x$ac_cv_func_isinf" = x""yes; then :
51919   cat >>confdefs.h <<_ACEOF
51920 #define HAVE_ISINF 1
51921 _ACEOF
51922
51923 fi
51924 done
51925
51926   else
51927
51928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51929 $as_echo_n "checking for _isinf declaration... " >&6; }
51930   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51931     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51932   $as_echo_n "(cached) " >&6
51933 else
51934
51935
51936       ac_ext=cpp
51937 ac_cpp='$CXXCPP $CPPFLAGS'
51938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51941
51942       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51943 /* end confdefs.h.  */
51944 #include <math.h>
51945                       #ifdef HAVE_IEEEFP_H
51946                       #include <ieeefp.h>
51947                       #endif
51948
51949 int
51950 main ()
51951 {
51952  _isinf(0);
51953   ;
51954   return 0;
51955 }
51956 _ACEOF
51957 if ac_fn_cxx_try_compile "$LINENO"; then :
51958   glibcxx_cv_func__isinf_use=yes
51959 else
51960   glibcxx_cv_func__isinf_use=no
51961 fi
51962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51963       ac_ext=c
51964 ac_cpp='$CPP $CPPFLAGS'
51965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51968
51969
51970 fi
51971
51972   fi
51973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51974 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51975
51976     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51977       for ac_func in _isinf
51978 do :
51979   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51980 if test "x$ac_cv_func__isinf" = x""yes; then :
51981   cat >>confdefs.h <<_ACEOF
51982 #define HAVE__ISINF 1
51983 _ACEOF
51984
51985 fi
51986 done
51987
51988     fi
51989   fi
51990
51991
51992
51993
51994
51995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51996 $as_echo_n "checking for isnan declaration... " >&6; }
51997   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51998     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51999   $as_echo_n "(cached) " >&6
52000 else
52001
52002
52003       ac_ext=cpp
52004 ac_cpp='$CXXCPP $CPPFLAGS'
52005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52008
52009       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52010 /* end confdefs.h.  */
52011 #include <math.h>
52012                       #ifdef HAVE_IEEEFP_H
52013                       #include <ieeefp.h>
52014                       #endif
52015
52016 int
52017 main ()
52018 {
52019  isnan(0);
52020   ;
52021   return 0;
52022 }
52023 _ACEOF
52024 if ac_fn_cxx_try_compile "$LINENO"; then :
52025   glibcxx_cv_func_isnan_use=yes
52026 else
52027   glibcxx_cv_func_isnan_use=no
52028 fi
52029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52030       ac_ext=c
52031 ac_cpp='$CPP $CPPFLAGS'
52032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52035
52036
52037 fi
52038
52039   fi
52040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52041 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52042
52043   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52044     for ac_func in isnan
52045 do :
52046   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52047 if test "x$ac_cv_func_isnan" = x""yes; then :
52048   cat >>confdefs.h <<_ACEOF
52049 #define HAVE_ISNAN 1
52050 _ACEOF
52051
52052 fi
52053 done
52054
52055   else
52056
52057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52058 $as_echo_n "checking for _isnan declaration... " >&6; }
52059   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52060     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52061   $as_echo_n "(cached) " >&6
52062 else
52063
52064
52065       ac_ext=cpp
52066 ac_cpp='$CXXCPP $CPPFLAGS'
52067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52070
52071       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52072 /* end confdefs.h.  */
52073 #include <math.h>
52074                       #ifdef HAVE_IEEEFP_H
52075                       #include <ieeefp.h>
52076                       #endif
52077
52078 int
52079 main ()
52080 {
52081  _isnan(0);
52082   ;
52083   return 0;
52084 }
52085 _ACEOF
52086 if ac_fn_cxx_try_compile "$LINENO"; then :
52087   glibcxx_cv_func__isnan_use=yes
52088 else
52089   glibcxx_cv_func__isnan_use=no
52090 fi
52091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52092       ac_ext=c
52093 ac_cpp='$CPP $CPPFLAGS'
52094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52097
52098
52099 fi
52100
52101   fi
52102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52103 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52104
52105     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52106       for ac_func in _isnan
52107 do :
52108   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52109 if test "x$ac_cv_func__isnan" = x""yes; then :
52110   cat >>confdefs.h <<_ACEOF
52111 #define HAVE__ISNAN 1
52112 _ACEOF
52113
52114 fi
52115 done
52116
52117     fi
52118   fi
52119
52120
52121
52122
52123
52124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52125 $as_echo_n "checking for finite declaration... " >&6; }
52126   if test x${glibcxx_cv_func_finite_use+set} != xset; then
52127     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52128   $as_echo_n "(cached) " >&6
52129 else
52130
52131
52132       ac_ext=cpp
52133 ac_cpp='$CXXCPP $CPPFLAGS'
52134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52137
52138       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52139 /* end confdefs.h.  */
52140 #include <math.h>
52141                       #ifdef HAVE_IEEEFP_H
52142                       #include <ieeefp.h>
52143                       #endif
52144
52145 int
52146 main ()
52147 {
52148  finite(0);
52149   ;
52150   return 0;
52151 }
52152 _ACEOF
52153 if ac_fn_cxx_try_compile "$LINENO"; then :
52154   glibcxx_cv_func_finite_use=yes
52155 else
52156   glibcxx_cv_func_finite_use=no
52157 fi
52158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52159       ac_ext=c
52160 ac_cpp='$CPP $CPPFLAGS'
52161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52164
52165
52166 fi
52167
52168   fi
52169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52170 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52171
52172   if test x$glibcxx_cv_func_finite_use = x"yes"; then
52173     for ac_func in finite
52174 do :
52175   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52176 if test "x$ac_cv_func_finite" = x""yes; then :
52177   cat >>confdefs.h <<_ACEOF
52178 #define HAVE_FINITE 1
52179 _ACEOF
52180
52181 fi
52182 done
52183
52184   else
52185
52186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52187 $as_echo_n "checking for _finite declaration... " >&6; }
52188   if test x${glibcxx_cv_func__finite_use+set} != xset; then
52189     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52190   $as_echo_n "(cached) " >&6
52191 else
52192
52193
52194       ac_ext=cpp
52195 ac_cpp='$CXXCPP $CPPFLAGS'
52196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52199
52200       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52201 /* end confdefs.h.  */
52202 #include <math.h>
52203                       #ifdef HAVE_IEEEFP_H
52204                       #include <ieeefp.h>
52205                       #endif
52206
52207 int
52208 main ()
52209 {
52210  _finite(0);
52211   ;
52212   return 0;
52213 }
52214 _ACEOF
52215 if ac_fn_cxx_try_compile "$LINENO"; then :
52216   glibcxx_cv_func__finite_use=yes
52217 else
52218   glibcxx_cv_func__finite_use=no
52219 fi
52220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52221       ac_ext=c
52222 ac_cpp='$CPP $CPPFLAGS'
52223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52226
52227
52228 fi
52229
52230   fi
52231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52232 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52233
52234     if test x$glibcxx_cv_func__finite_use = x"yes"; then
52235       for ac_func in _finite
52236 do :
52237   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52238 if test "x$ac_cv_func__finite" = x""yes; then :
52239   cat >>confdefs.h <<_ACEOF
52240 #define HAVE__FINITE 1
52241 _ACEOF
52242
52243 fi
52244 done
52245
52246     fi
52247   fi
52248
52249
52250
52251
52252
52253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52254 $as_echo_n "checking for sincos declaration... " >&6; }
52255   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52256     if test "${glibcxx_cv_func_sincos_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 int
52271 main ()
52272 {
52273  sincos(0, 0, 0);
52274   ;
52275   return 0;
52276 }
52277 _ACEOF
52278 if ac_fn_cxx_try_compile "$LINENO"; then :
52279   glibcxx_cv_func_sincos_use=yes
52280 else
52281   glibcxx_cv_func_sincos_use=no
52282 fi
52283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52284       ac_ext=c
52285 ac_cpp='$CPP $CPPFLAGS'
52286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52289
52290
52291 fi
52292
52293   fi
52294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52295 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52296
52297   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52298     for ac_func in sincos
52299 do :
52300   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52301 if test "x$ac_cv_func_sincos" = x""yes; then :
52302   cat >>confdefs.h <<_ACEOF
52303 #define HAVE_SINCOS 1
52304 _ACEOF
52305
52306 fi
52307 done
52308
52309   else
52310
52311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52312 $as_echo_n "checking for _sincos declaration... " >&6; }
52313   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52314     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52315   $as_echo_n "(cached) " >&6
52316 else
52317
52318
52319       ac_ext=cpp
52320 ac_cpp='$CXXCPP $CPPFLAGS'
52321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52324
52325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52326 /* end confdefs.h.  */
52327 #include <math.h>
52328 int
52329 main ()
52330 {
52331  _sincos(0, 0, 0);
52332   ;
52333   return 0;
52334 }
52335 _ACEOF
52336 if ac_fn_cxx_try_compile "$LINENO"; then :
52337   glibcxx_cv_func__sincos_use=yes
52338 else
52339   glibcxx_cv_func__sincos_use=no
52340 fi
52341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52342       ac_ext=c
52343 ac_cpp='$CPP $CPPFLAGS'
52344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52347
52348
52349 fi
52350
52351   fi
52352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52353 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52354
52355     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52356       for ac_func in _sincos
52357 do :
52358   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52359 if test "x$ac_cv_func__sincos" = x""yes; then :
52360   cat >>confdefs.h <<_ACEOF
52361 #define HAVE__SINCOS 1
52362 _ACEOF
52363
52364 fi
52365 done
52366
52367     fi
52368   fi
52369
52370
52371
52372
52373
52374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52375 $as_echo_n "checking for fpclass declaration... " >&6; }
52376   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52377     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52378   $as_echo_n "(cached) " >&6
52379 else
52380
52381
52382       ac_ext=cpp
52383 ac_cpp='$CXXCPP $CPPFLAGS'
52384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52387
52388       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52389 /* end confdefs.h.  */
52390 #include <math.h>
52391                       #ifdef HAVE_IEEEFP_H
52392                       #include <ieeefp.h>
52393                       #endif
52394
52395 int
52396 main ()
52397 {
52398  fpclass(0);
52399   ;
52400   return 0;
52401 }
52402 _ACEOF
52403 if ac_fn_cxx_try_compile "$LINENO"; then :
52404   glibcxx_cv_func_fpclass_use=yes
52405 else
52406   glibcxx_cv_func_fpclass_use=no
52407 fi
52408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52409       ac_ext=c
52410 ac_cpp='$CPP $CPPFLAGS'
52411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52414
52415
52416 fi
52417
52418   fi
52419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52420 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52421
52422   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52423     for ac_func in fpclass
52424 do :
52425   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52426 if test "x$ac_cv_func_fpclass" = x""yes; then :
52427   cat >>confdefs.h <<_ACEOF
52428 #define HAVE_FPCLASS 1
52429 _ACEOF
52430
52431 fi
52432 done
52433
52434   else
52435
52436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52437 $as_echo_n "checking for _fpclass declaration... " >&6; }
52438   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52439     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52440   $as_echo_n "(cached) " >&6
52441 else
52442
52443
52444       ac_ext=cpp
52445 ac_cpp='$CXXCPP $CPPFLAGS'
52446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52449
52450       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52451 /* end confdefs.h.  */
52452 #include <math.h>
52453                       #ifdef HAVE_IEEEFP_H
52454                       #include <ieeefp.h>
52455                       #endif
52456
52457 int
52458 main ()
52459 {
52460  _fpclass(0);
52461   ;
52462   return 0;
52463 }
52464 _ACEOF
52465 if ac_fn_cxx_try_compile "$LINENO"; then :
52466   glibcxx_cv_func__fpclass_use=yes
52467 else
52468   glibcxx_cv_func__fpclass_use=no
52469 fi
52470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52471       ac_ext=c
52472 ac_cpp='$CPP $CPPFLAGS'
52473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52476
52477
52478 fi
52479
52480   fi
52481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52482 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52483
52484     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52485       for ac_func in _fpclass
52486 do :
52487   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52488 if test "x$ac_cv_func__fpclass" = x""yes; then :
52489   cat >>confdefs.h <<_ACEOF
52490 #define HAVE__FPCLASS 1
52491 _ACEOF
52492
52493 fi
52494 done
52495
52496     fi
52497   fi
52498
52499
52500
52501
52502
52503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52504 $as_echo_n "checking for qfpclass declaration... " >&6; }
52505   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52506     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52507   $as_echo_n "(cached) " >&6
52508 else
52509
52510
52511       ac_ext=cpp
52512 ac_cpp='$CXXCPP $CPPFLAGS'
52513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52516
52517       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52518 /* end confdefs.h.  */
52519 #include <math.h>
52520                       #ifdef HAVE_IEEEFP_H
52521                       #include <ieeefp.h>
52522                       #endif
52523
52524 int
52525 main ()
52526 {
52527  qfpclass(0);
52528   ;
52529   return 0;
52530 }
52531 _ACEOF
52532 if ac_fn_cxx_try_compile "$LINENO"; then :
52533   glibcxx_cv_func_qfpclass_use=yes
52534 else
52535   glibcxx_cv_func_qfpclass_use=no
52536 fi
52537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52538       ac_ext=c
52539 ac_cpp='$CPP $CPPFLAGS'
52540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52543
52544
52545 fi
52546
52547   fi
52548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52549 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52550
52551   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52552     for ac_func in qfpclass
52553 do :
52554   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52555 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52556   cat >>confdefs.h <<_ACEOF
52557 #define HAVE_QFPCLASS 1
52558 _ACEOF
52559
52560 fi
52561 done
52562
52563   else
52564
52565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52566 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52567   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52568     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52569   $as_echo_n "(cached) " >&6
52570 else
52571
52572
52573       ac_ext=cpp
52574 ac_cpp='$CXXCPP $CPPFLAGS'
52575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52578
52579       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52580 /* end confdefs.h.  */
52581 #include <math.h>
52582                       #ifdef HAVE_IEEEFP_H
52583                       #include <ieeefp.h>
52584                       #endif
52585
52586 int
52587 main ()
52588 {
52589  _qfpclass(0);
52590   ;
52591   return 0;
52592 }
52593 _ACEOF
52594 if ac_fn_cxx_try_compile "$LINENO"; then :
52595   glibcxx_cv_func__qfpclass_use=yes
52596 else
52597   glibcxx_cv_func__qfpclass_use=no
52598 fi
52599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52600       ac_ext=c
52601 ac_cpp='$CPP $CPPFLAGS'
52602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52605
52606
52607 fi
52608
52609   fi
52610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52611 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52612
52613     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52614       for ac_func in _qfpclass
52615 do :
52616   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52617 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52618   cat >>confdefs.h <<_ACEOF
52619 #define HAVE__QFPCLASS 1
52620 _ACEOF
52621
52622 fi
52623 done
52624
52625     fi
52626   fi
52627
52628
52629
52630
52631
52632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52633 $as_echo_n "checking for hypot declaration... " >&6; }
52634   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52635     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52636   $as_echo_n "(cached) " >&6
52637 else
52638
52639
52640       ac_ext=cpp
52641 ac_cpp='$CXXCPP $CPPFLAGS'
52642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52645
52646       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52647 /* end confdefs.h.  */
52648 #include <math.h>
52649 int
52650 main ()
52651 {
52652  hypot(0, 0);
52653   ;
52654   return 0;
52655 }
52656 _ACEOF
52657 if ac_fn_cxx_try_compile "$LINENO"; then :
52658   glibcxx_cv_func_hypot_use=yes
52659 else
52660   glibcxx_cv_func_hypot_use=no
52661 fi
52662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52663       ac_ext=c
52664 ac_cpp='$CPP $CPPFLAGS'
52665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52668
52669
52670 fi
52671
52672   fi
52673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52674 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52675
52676   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52677     for ac_func in hypot
52678 do :
52679   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52680 if test "x$ac_cv_func_hypot" = x""yes; then :
52681   cat >>confdefs.h <<_ACEOF
52682 #define HAVE_HYPOT 1
52683 _ACEOF
52684
52685 fi
52686 done
52687
52688   else
52689
52690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52691 $as_echo_n "checking for _hypot declaration... " >&6; }
52692   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52693     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52694   $as_echo_n "(cached) " >&6
52695 else
52696
52697
52698       ac_ext=cpp
52699 ac_cpp='$CXXCPP $CPPFLAGS'
52700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52703
52704       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52705 /* end confdefs.h.  */
52706 #include <math.h>
52707 int
52708 main ()
52709 {
52710  _hypot(0, 0);
52711   ;
52712   return 0;
52713 }
52714 _ACEOF
52715 if ac_fn_cxx_try_compile "$LINENO"; then :
52716   glibcxx_cv_func__hypot_use=yes
52717 else
52718   glibcxx_cv_func__hypot_use=no
52719 fi
52720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52721       ac_ext=c
52722 ac_cpp='$CPP $CPPFLAGS'
52723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52726
52727
52728 fi
52729
52730   fi
52731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52732 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52733
52734     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52735       for ac_func in _hypot
52736 do :
52737   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52738 if test "x$ac_cv_func__hypot" = x""yes; then :
52739   cat >>confdefs.h <<_ACEOF
52740 #define HAVE__HYPOT 1
52741 _ACEOF
52742
52743 fi
52744 done
52745
52746     fi
52747   fi
52748
52749
52750
52751
52752
52753     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52754 $as_echo_n "checking for float trig functions... " >&6; }
52755   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52756   $as_echo_n "(cached) " >&6
52757 else
52758
52759
52760     ac_ext=cpp
52761 ac_cpp='$CXXCPP $CPPFLAGS'
52762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52765
52766     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52767 /* end confdefs.h.  */
52768 #include <math.h>
52769 int
52770 main ()
52771 {
52772 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52773   ;
52774   return 0;
52775 }
52776 _ACEOF
52777 if ac_fn_cxx_try_compile "$LINENO"; then :
52778   glibcxx_cv_func_float_trig_use=yes
52779 else
52780   glibcxx_cv_func_float_trig_use=no
52781 fi
52782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52783     ac_ext=c
52784 ac_cpp='$CPP $CPPFLAGS'
52785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52788
52789 fi
52790
52791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52792 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52793   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52794     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52795 do :
52796   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52797 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52798 eval as_val=\$$as_ac_var
52799    if test "x$as_val" = x""yes; then :
52800   cat >>confdefs.h <<_ACEOF
52801 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52802 _ACEOF
52803
52804 fi
52805 done
52806
52807   else
52808     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52809 $as_echo_n "checking for _float trig functions... " >&6; }
52810     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52811   $as_echo_n "(cached) " >&6
52812 else
52813
52814
52815       ac_ext=cpp
52816 ac_cpp='$CXXCPP $CPPFLAGS'
52817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52820
52821       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52822 /* end confdefs.h.  */
52823 #include <math.h>
52824 int
52825 main ()
52826 {
52827 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52828   ;
52829   return 0;
52830 }
52831 _ACEOF
52832 if ac_fn_cxx_try_compile "$LINENO"; then :
52833   glibcxx_cv_func__float_trig_use=yes
52834 else
52835   glibcxx_cv_func__float_trig_use=no
52836 fi
52837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52838       ac_ext=c
52839 ac_cpp='$CPP $CPPFLAGS'
52840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52843
52844 fi
52845
52846     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52847 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52848     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52849       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52850 do :
52851   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52852 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52853 eval as_val=\$$as_ac_var
52854    if test "x$as_val" = x""yes; then :
52855   cat >>confdefs.h <<_ACEOF
52856 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52857 _ACEOF
52858
52859 fi
52860 done
52861
52862     fi
52863   fi
52864
52865
52866
52867
52868
52869     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52870 $as_echo_n "checking for float round functions... " >&6; }
52871   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52872   $as_echo_n "(cached) " >&6
52873 else
52874
52875
52876     ac_ext=cpp
52877 ac_cpp='$CXXCPP $CPPFLAGS'
52878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52881
52882     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52883 /* end confdefs.h.  */
52884 #include <math.h>
52885 int
52886 main ()
52887 {
52888 ceilf (0); floorf (0);
52889   ;
52890   return 0;
52891 }
52892 _ACEOF
52893 if ac_fn_cxx_try_compile "$LINENO"; then :
52894   glibcxx_cv_func_float_round_use=yes
52895 else
52896   glibcxx_cv_func_float_round_use=no
52897 fi
52898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52899     ac_ext=c
52900 ac_cpp='$CPP $CPPFLAGS'
52901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52904
52905 fi
52906
52907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52908 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52909   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52910     for ac_func in ceilf floorf
52911 do :
52912   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52913 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52914 eval as_val=\$$as_ac_var
52915    if test "x$as_val" = x""yes; then :
52916   cat >>confdefs.h <<_ACEOF
52917 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52918 _ACEOF
52919
52920 fi
52921 done
52922
52923   else
52924     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52925 $as_echo_n "checking for _float round functions... " >&6; }
52926     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52927   $as_echo_n "(cached) " >&6
52928 else
52929
52930
52931       ac_ext=cpp
52932 ac_cpp='$CXXCPP $CPPFLAGS'
52933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52936
52937       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52938 /* end confdefs.h.  */
52939 #include <math.h>
52940 int
52941 main ()
52942 {
52943 _ceilf (0); _floorf (0);
52944   ;
52945   return 0;
52946 }
52947 _ACEOF
52948 if ac_fn_cxx_try_compile "$LINENO"; then :
52949   glibcxx_cv_func__float_round_use=yes
52950 else
52951   glibcxx_cv_func__float_round_use=no
52952 fi
52953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52954       ac_ext=c
52955 ac_cpp='$CPP $CPPFLAGS'
52956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52959
52960 fi
52961
52962     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52963 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52964     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52965       for ac_func in _ceilf _floorf
52966 do :
52967   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52968 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52969 eval as_val=\$$as_ac_var
52970    if test "x$as_val" = x""yes; then :
52971   cat >>confdefs.h <<_ACEOF
52972 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52973 _ACEOF
52974
52975 fi
52976 done
52977
52978     fi
52979   fi
52980
52981
52982
52983
52984
52985
52986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52987 $as_echo_n "checking for expf declaration... " >&6; }
52988   if test x${glibcxx_cv_func_expf_use+set} != xset; then
52989     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52990   $as_echo_n "(cached) " >&6
52991 else
52992
52993
52994       ac_ext=cpp
52995 ac_cpp='$CXXCPP $CPPFLAGS'
52996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52999
53000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53001 /* end confdefs.h.  */
53002 #include <math.h>
53003                       #ifdef HAVE_IEEEFP_H
53004                       #include <ieeefp.h>
53005                       #endif
53006
53007 int
53008 main ()
53009 {
53010  expf(0);
53011   ;
53012   return 0;
53013 }
53014 _ACEOF
53015 if ac_fn_cxx_try_compile "$LINENO"; then :
53016   glibcxx_cv_func_expf_use=yes
53017 else
53018   glibcxx_cv_func_expf_use=no
53019 fi
53020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53021       ac_ext=c
53022 ac_cpp='$CPP $CPPFLAGS'
53023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53026
53027
53028 fi
53029
53030   fi
53031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53032 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53033
53034   if test x$glibcxx_cv_func_expf_use = x"yes"; then
53035     for ac_func in expf
53036 do :
53037   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53038 if test "x$ac_cv_func_expf" = x""yes; then :
53039   cat >>confdefs.h <<_ACEOF
53040 #define HAVE_EXPF 1
53041 _ACEOF
53042
53043 fi
53044 done
53045
53046   else
53047
53048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53049 $as_echo_n "checking for _expf declaration... " >&6; }
53050   if test x${glibcxx_cv_func__expf_use+set} != xset; then
53051     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53052   $as_echo_n "(cached) " >&6
53053 else
53054
53055
53056       ac_ext=cpp
53057 ac_cpp='$CXXCPP $CPPFLAGS'
53058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53061
53062       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53063 /* end confdefs.h.  */
53064 #include <math.h>
53065                       #ifdef HAVE_IEEEFP_H
53066                       #include <ieeefp.h>
53067                       #endif
53068
53069 int
53070 main ()
53071 {
53072  _expf(0);
53073   ;
53074   return 0;
53075 }
53076 _ACEOF
53077 if ac_fn_cxx_try_compile "$LINENO"; then :
53078   glibcxx_cv_func__expf_use=yes
53079 else
53080   glibcxx_cv_func__expf_use=no
53081 fi
53082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53083       ac_ext=c
53084 ac_cpp='$CPP $CPPFLAGS'
53085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53088
53089
53090 fi
53091
53092   fi
53093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53094 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53095
53096     if test x$glibcxx_cv_func__expf_use = x"yes"; then
53097       for ac_func in _expf
53098 do :
53099   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53100 if test "x$ac_cv_func__expf" = x""yes; then :
53101   cat >>confdefs.h <<_ACEOF
53102 #define HAVE__EXPF 1
53103 _ACEOF
53104
53105 fi
53106 done
53107
53108     fi
53109   fi
53110
53111
53112
53113
53114
53115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53116 $as_echo_n "checking for isnanf declaration... " >&6; }
53117   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53118     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53119   $as_echo_n "(cached) " >&6
53120 else
53121
53122
53123       ac_ext=cpp
53124 ac_cpp='$CXXCPP $CPPFLAGS'
53125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53128
53129       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53130 /* end confdefs.h.  */
53131 #include <math.h>
53132                       #ifdef HAVE_IEEEFP_H
53133                       #include <ieeefp.h>
53134                       #endif
53135
53136 int
53137 main ()
53138 {
53139  isnanf(0);
53140   ;
53141   return 0;
53142 }
53143 _ACEOF
53144 if ac_fn_cxx_try_compile "$LINENO"; then :
53145   glibcxx_cv_func_isnanf_use=yes
53146 else
53147   glibcxx_cv_func_isnanf_use=no
53148 fi
53149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53150       ac_ext=c
53151 ac_cpp='$CPP $CPPFLAGS'
53152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53155
53156
53157 fi
53158
53159   fi
53160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53161 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53162
53163   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53164     for ac_func in isnanf
53165 do :
53166   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53167 if test "x$ac_cv_func_isnanf" = x""yes; then :
53168   cat >>confdefs.h <<_ACEOF
53169 #define HAVE_ISNANF 1
53170 _ACEOF
53171
53172 fi
53173 done
53174
53175   else
53176
53177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53178 $as_echo_n "checking for _isnanf declaration... " >&6; }
53179   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53180     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53181   $as_echo_n "(cached) " >&6
53182 else
53183
53184
53185       ac_ext=cpp
53186 ac_cpp='$CXXCPP $CPPFLAGS'
53187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53190
53191       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53192 /* end confdefs.h.  */
53193 #include <math.h>
53194                       #ifdef HAVE_IEEEFP_H
53195                       #include <ieeefp.h>
53196                       #endif
53197
53198 int
53199 main ()
53200 {
53201  _isnanf(0);
53202   ;
53203   return 0;
53204 }
53205 _ACEOF
53206 if ac_fn_cxx_try_compile "$LINENO"; then :
53207   glibcxx_cv_func__isnanf_use=yes
53208 else
53209   glibcxx_cv_func__isnanf_use=no
53210 fi
53211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53212       ac_ext=c
53213 ac_cpp='$CPP $CPPFLAGS'
53214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53217
53218
53219 fi
53220
53221   fi
53222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53223 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53224
53225     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53226       for ac_func in _isnanf
53227 do :
53228   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53229 if test "x$ac_cv_func__isnanf" = x""yes; then :
53230   cat >>confdefs.h <<_ACEOF
53231 #define HAVE__ISNANF 1
53232 _ACEOF
53233
53234 fi
53235 done
53236
53237     fi
53238   fi
53239
53240
53241
53242
53243
53244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53245 $as_echo_n "checking for isinff declaration... " >&6; }
53246   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53247     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53248   $as_echo_n "(cached) " >&6
53249 else
53250
53251
53252       ac_ext=cpp
53253 ac_cpp='$CXXCPP $CPPFLAGS'
53254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53257
53258       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53259 /* end confdefs.h.  */
53260 #include <math.h>
53261                       #ifdef HAVE_IEEEFP_H
53262                       #include <ieeefp.h>
53263                       #endif
53264
53265 int
53266 main ()
53267 {
53268  isinff(0);
53269   ;
53270   return 0;
53271 }
53272 _ACEOF
53273 if ac_fn_cxx_try_compile "$LINENO"; then :
53274   glibcxx_cv_func_isinff_use=yes
53275 else
53276   glibcxx_cv_func_isinff_use=no
53277 fi
53278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53279       ac_ext=c
53280 ac_cpp='$CPP $CPPFLAGS'
53281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53284
53285
53286 fi
53287
53288   fi
53289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53290 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53291
53292   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53293     for ac_func in isinff
53294 do :
53295   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53296 if test "x$ac_cv_func_isinff" = x""yes; then :
53297   cat >>confdefs.h <<_ACEOF
53298 #define HAVE_ISINFF 1
53299 _ACEOF
53300
53301 fi
53302 done
53303
53304   else
53305
53306   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53307 $as_echo_n "checking for _isinff declaration... " >&6; }
53308   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53309     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53310   $as_echo_n "(cached) " >&6
53311 else
53312
53313
53314       ac_ext=cpp
53315 ac_cpp='$CXXCPP $CPPFLAGS'
53316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53319
53320       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53321 /* end confdefs.h.  */
53322 #include <math.h>
53323                       #ifdef HAVE_IEEEFP_H
53324                       #include <ieeefp.h>
53325                       #endif
53326
53327 int
53328 main ()
53329 {
53330  _isinff(0);
53331   ;
53332   return 0;
53333 }
53334 _ACEOF
53335 if ac_fn_cxx_try_compile "$LINENO"; then :
53336   glibcxx_cv_func__isinff_use=yes
53337 else
53338   glibcxx_cv_func__isinff_use=no
53339 fi
53340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53341       ac_ext=c
53342 ac_cpp='$CPP $CPPFLAGS'
53343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53346
53347
53348 fi
53349
53350   fi
53351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53352 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53353
53354     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53355       for ac_func in _isinff
53356 do :
53357   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53358 if test "x$ac_cv_func__isinff" = x""yes; then :
53359   cat >>confdefs.h <<_ACEOF
53360 #define HAVE__ISINFF 1
53361 _ACEOF
53362
53363 fi
53364 done
53365
53366     fi
53367   fi
53368
53369
53370
53371
53372
53373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53374 $as_echo_n "checking for atan2f declaration... " >&6; }
53375   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53376     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53377   $as_echo_n "(cached) " >&6
53378 else
53379
53380
53381       ac_ext=cpp
53382 ac_cpp='$CXXCPP $CPPFLAGS'
53383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53386
53387       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53388 /* end confdefs.h.  */
53389 #include <math.h>
53390 int
53391 main ()
53392 {
53393  atan2f(0, 0);
53394   ;
53395   return 0;
53396 }
53397 _ACEOF
53398 if ac_fn_cxx_try_compile "$LINENO"; then :
53399   glibcxx_cv_func_atan2f_use=yes
53400 else
53401   glibcxx_cv_func_atan2f_use=no
53402 fi
53403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53404       ac_ext=c
53405 ac_cpp='$CPP $CPPFLAGS'
53406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53409
53410
53411 fi
53412
53413   fi
53414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53415 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53416
53417   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53418     for ac_func in atan2f
53419 do :
53420   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53421 if test "x$ac_cv_func_atan2f" = x""yes; then :
53422   cat >>confdefs.h <<_ACEOF
53423 #define HAVE_ATAN2F 1
53424 _ACEOF
53425
53426 fi
53427 done
53428
53429   else
53430
53431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53432 $as_echo_n "checking for _atan2f declaration... " >&6; }
53433   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53434     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53435   $as_echo_n "(cached) " >&6
53436 else
53437
53438
53439       ac_ext=cpp
53440 ac_cpp='$CXXCPP $CPPFLAGS'
53441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53444
53445       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53446 /* end confdefs.h.  */
53447 #include <math.h>
53448 int
53449 main ()
53450 {
53451  _atan2f(0, 0);
53452   ;
53453   return 0;
53454 }
53455 _ACEOF
53456 if ac_fn_cxx_try_compile "$LINENO"; then :
53457   glibcxx_cv_func__atan2f_use=yes
53458 else
53459   glibcxx_cv_func__atan2f_use=no
53460 fi
53461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53462       ac_ext=c
53463 ac_cpp='$CPP $CPPFLAGS'
53464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53467
53468
53469 fi
53470
53471   fi
53472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53473 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53474
53475     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53476       for ac_func in _atan2f
53477 do :
53478   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53479 if test "x$ac_cv_func__atan2f" = x""yes; then :
53480   cat >>confdefs.h <<_ACEOF
53481 #define HAVE__ATAN2F 1
53482 _ACEOF
53483
53484 fi
53485 done
53486
53487     fi
53488   fi
53489
53490
53491
53492
53493
53494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53495 $as_echo_n "checking for fabsf declaration... " >&6; }
53496   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53497     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53498   $as_echo_n "(cached) " >&6
53499 else
53500
53501
53502       ac_ext=cpp
53503 ac_cpp='$CXXCPP $CPPFLAGS'
53504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53507
53508       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53509 /* end confdefs.h.  */
53510 #include <math.h>
53511                       #ifdef HAVE_IEEEFP_H
53512                       #include <ieeefp.h>
53513                       #endif
53514
53515 int
53516 main ()
53517 {
53518  fabsf(0);
53519   ;
53520   return 0;
53521 }
53522 _ACEOF
53523 if ac_fn_cxx_try_compile "$LINENO"; then :
53524   glibcxx_cv_func_fabsf_use=yes
53525 else
53526   glibcxx_cv_func_fabsf_use=no
53527 fi
53528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53529       ac_ext=c
53530 ac_cpp='$CPP $CPPFLAGS'
53531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53534
53535
53536 fi
53537
53538   fi
53539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53540 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53541
53542   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53543     for ac_func in fabsf
53544 do :
53545   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53546 if test "x$ac_cv_func_fabsf" = x""yes; then :
53547   cat >>confdefs.h <<_ACEOF
53548 #define HAVE_FABSF 1
53549 _ACEOF
53550
53551 fi
53552 done
53553
53554   else
53555
53556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53557 $as_echo_n "checking for _fabsf declaration... " >&6; }
53558   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53559     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53560   $as_echo_n "(cached) " >&6
53561 else
53562
53563
53564       ac_ext=cpp
53565 ac_cpp='$CXXCPP $CPPFLAGS'
53566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53569
53570       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53571 /* end confdefs.h.  */
53572 #include <math.h>
53573                       #ifdef HAVE_IEEEFP_H
53574                       #include <ieeefp.h>
53575                       #endif
53576
53577 int
53578 main ()
53579 {
53580  _fabsf(0);
53581   ;
53582   return 0;
53583 }
53584 _ACEOF
53585 if ac_fn_cxx_try_compile "$LINENO"; then :
53586   glibcxx_cv_func__fabsf_use=yes
53587 else
53588   glibcxx_cv_func__fabsf_use=no
53589 fi
53590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53591       ac_ext=c
53592 ac_cpp='$CPP $CPPFLAGS'
53593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53596
53597
53598 fi
53599
53600   fi
53601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53602 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53603
53604     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53605       for ac_func in _fabsf
53606 do :
53607   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53608 if test "x$ac_cv_func__fabsf" = x""yes; then :
53609   cat >>confdefs.h <<_ACEOF
53610 #define HAVE__FABSF 1
53611 _ACEOF
53612
53613 fi
53614 done
53615
53616     fi
53617   fi
53618
53619
53620
53621
53622
53623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53624 $as_echo_n "checking for fmodf declaration... " >&6; }
53625   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53626     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53627   $as_echo_n "(cached) " >&6
53628 else
53629
53630
53631       ac_ext=cpp
53632 ac_cpp='$CXXCPP $CPPFLAGS'
53633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53636
53637       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53638 /* end confdefs.h.  */
53639 #include <math.h>
53640 int
53641 main ()
53642 {
53643  fmodf(0, 0);
53644   ;
53645   return 0;
53646 }
53647 _ACEOF
53648 if ac_fn_cxx_try_compile "$LINENO"; then :
53649   glibcxx_cv_func_fmodf_use=yes
53650 else
53651   glibcxx_cv_func_fmodf_use=no
53652 fi
53653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53654       ac_ext=c
53655 ac_cpp='$CPP $CPPFLAGS'
53656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53659
53660
53661 fi
53662
53663   fi
53664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53665 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53666
53667   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53668     for ac_func in fmodf
53669 do :
53670   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53671 if test "x$ac_cv_func_fmodf" = x""yes; then :
53672   cat >>confdefs.h <<_ACEOF
53673 #define HAVE_FMODF 1
53674 _ACEOF
53675
53676 fi
53677 done
53678
53679   else
53680
53681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53682 $as_echo_n "checking for _fmodf declaration... " >&6; }
53683   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53684     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53685   $as_echo_n "(cached) " >&6
53686 else
53687
53688
53689       ac_ext=cpp
53690 ac_cpp='$CXXCPP $CPPFLAGS'
53691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53694
53695       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53696 /* end confdefs.h.  */
53697 #include <math.h>
53698 int
53699 main ()
53700 {
53701  _fmodf(0, 0);
53702   ;
53703   return 0;
53704 }
53705 _ACEOF
53706 if ac_fn_cxx_try_compile "$LINENO"; then :
53707   glibcxx_cv_func__fmodf_use=yes
53708 else
53709   glibcxx_cv_func__fmodf_use=no
53710 fi
53711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53712       ac_ext=c
53713 ac_cpp='$CPP $CPPFLAGS'
53714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53717
53718
53719 fi
53720
53721   fi
53722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53723 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53724
53725     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53726       for ac_func in _fmodf
53727 do :
53728   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53729 if test "x$ac_cv_func__fmodf" = x""yes; then :
53730   cat >>confdefs.h <<_ACEOF
53731 #define HAVE__FMODF 1
53732 _ACEOF
53733
53734 fi
53735 done
53736
53737     fi
53738   fi
53739
53740
53741
53742
53743
53744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53745 $as_echo_n "checking for frexpf declaration... " >&6; }
53746   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53747     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53748   $as_echo_n "(cached) " >&6
53749 else
53750
53751
53752       ac_ext=cpp
53753 ac_cpp='$CXXCPP $CPPFLAGS'
53754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53757
53758       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53759 /* end confdefs.h.  */
53760 #include <math.h>
53761 int
53762 main ()
53763 {
53764  frexpf(0, 0);
53765   ;
53766   return 0;
53767 }
53768 _ACEOF
53769 if ac_fn_cxx_try_compile "$LINENO"; then :
53770   glibcxx_cv_func_frexpf_use=yes
53771 else
53772   glibcxx_cv_func_frexpf_use=no
53773 fi
53774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53775       ac_ext=c
53776 ac_cpp='$CPP $CPPFLAGS'
53777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53780
53781
53782 fi
53783
53784   fi
53785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53786 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53787
53788   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53789     for ac_func in frexpf
53790 do :
53791   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53792 if test "x$ac_cv_func_frexpf" = x""yes; then :
53793   cat >>confdefs.h <<_ACEOF
53794 #define HAVE_FREXPF 1
53795 _ACEOF
53796
53797 fi
53798 done
53799
53800   else
53801
53802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53803 $as_echo_n "checking for _frexpf declaration... " >&6; }
53804   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53805     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53806   $as_echo_n "(cached) " >&6
53807 else
53808
53809
53810       ac_ext=cpp
53811 ac_cpp='$CXXCPP $CPPFLAGS'
53812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53815
53816       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53817 /* end confdefs.h.  */
53818 #include <math.h>
53819 int
53820 main ()
53821 {
53822  _frexpf(0, 0);
53823   ;
53824   return 0;
53825 }
53826 _ACEOF
53827 if ac_fn_cxx_try_compile "$LINENO"; then :
53828   glibcxx_cv_func__frexpf_use=yes
53829 else
53830   glibcxx_cv_func__frexpf_use=no
53831 fi
53832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53833       ac_ext=c
53834 ac_cpp='$CPP $CPPFLAGS'
53835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53838
53839
53840 fi
53841
53842   fi
53843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53844 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53845
53846     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53847       for ac_func in _frexpf
53848 do :
53849   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53850 if test "x$ac_cv_func__frexpf" = x""yes; then :
53851   cat >>confdefs.h <<_ACEOF
53852 #define HAVE__FREXPF 1
53853 _ACEOF
53854
53855 fi
53856 done
53857
53858     fi
53859   fi
53860
53861
53862
53863
53864
53865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53866 $as_echo_n "checking for hypotf declaration... " >&6; }
53867   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53868     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53869   $as_echo_n "(cached) " >&6
53870 else
53871
53872
53873       ac_ext=cpp
53874 ac_cpp='$CXXCPP $CPPFLAGS'
53875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53878
53879       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53880 /* end confdefs.h.  */
53881 #include <math.h>
53882 int
53883 main ()
53884 {
53885  hypotf(0, 0);
53886   ;
53887   return 0;
53888 }
53889 _ACEOF
53890 if ac_fn_cxx_try_compile "$LINENO"; then :
53891   glibcxx_cv_func_hypotf_use=yes
53892 else
53893   glibcxx_cv_func_hypotf_use=no
53894 fi
53895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53896       ac_ext=c
53897 ac_cpp='$CPP $CPPFLAGS'
53898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53901
53902
53903 fi
53904
53905   fi
53906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53907 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53908
53909   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53910     for ac_func in hypotf
53911 do :
53912   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53913 if test "x$ac_cv_func_hypotf" = x""yes; then :
53914   cat >>confdefs.h <<_ACEOF
53915 #define HAVE_HYPOTF 1
53916 _ACEOF
53917
53918 fi
53919 done
53920
53921   else
53922
53923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53924 $as_echo_n "checking for _hypotf declaration... " >&6; }
53925   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53926     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53927   $as_echo_n "(cached) " >&6
53928 else
53929
53930
53931       ac_ext=cpp
53932 ac_cpp='$CXXCPP $CPPFLAGS'
53933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53936
53937       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53938 /* end confdefs.h.  */
53939 #include <math.h>
53940 int
53941 main ()
53942 {
53943  _hypotf(0, 0);
53944   ;
53945   return 0;
53946 }
53947 _ACEOF
53948 if ac_fn_cxx_try_compile "$LINENO"; then :
53949   glibcxx_cv_func__hypotf_use=yes
53950 else
53951   glibcxx_cv_func__hypotf_use=no
53952 fi
53953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53954       ac_ext=c
53955 ac_cpp='$CPP $CPPFLAGS'
53956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53959
53960
53961 fi
53962
53963   fi
53964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53965 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53966
53967     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53968       for ac_func in _hypotf
53969 do :
53970   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53971 if test "x$ac_cv_func__hypotf" = x""yes; then :
53972   cat >>confdefs.h <<_ACEOF
53973 #define HAVE__HYPOTF 1
53974 _ACEOF
53975
53976 fi
53977 done
53978
53979     fi
53980   fi
53981
53982
53983
53984
53985
53986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53987 $as_echo_n "checking for ldexpf declaration... " >&6; }
53988   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53989     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53990   $as_echo_n "(cached) " >&6
53991 else
53992
53993
53994       ac_ext=cpp
53995 ac_cpp='$CXXCPP $CPPFLAGS'
53996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53999
54000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54001 /* end confdefs.h.  */
54002 #include <math.h>
54003 int
54004 main ()
54005 {
54006  ldexpf(0, 0);
54007   ;
54008   return 0;
54009 }
54010 _ACEOF
54011 if ac_fn_cxx_try_compile "$LINENO"; then :
54012   glibcxx_cv_func_ldexpf_use=yes
54013 else
54014   glibcxx_cv_func_ldexpf_use=no
54015 fi
54016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54017       ac_ext=c
54018 ac_cpp='$CPP $CPPFLAGS'
54019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54022
54023
54024 fi
54025
54026   fi
54027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54028 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54029
54030   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54031     for ac_func in ldexpf
54032 do :
54033   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54034 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54035   cat >>confdefs.h <<_ACEOF
54036 #define HAVE_LDEXPF 1
54037 _ACEOF
54038
54039 fi
54040 done
54041
54042   else
54043
54044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54045 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54046   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54047     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54048   $as_echo_n "(cached) " >&6
54049 else
54050
54051
54052       ac_ext=cpp
54053 ac_cpp='$CXXCPP $CPPFLAGS'
54054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54057
54058       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54059 /* end confdefs.h.  */
54060 #include <math.h>
54061 int
54062 main ()
54063 {
54064  _ldexpf(0, 0);
54065   ;
54066   return 0;
54067 }
54068 _ACEOF
54069 if ac_fn_cxx_try_compile "$LINENO"; then :
54070   glibcxx_cv_func__ldexpf_use=yes
54071 else
54072   glibcxx_cv_func__ldexpf_use=no
54073 fi
54074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54075       ac_ext=c
54076 ac_cpp='$CPP $CPPFLAGS'
54077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54080
54081
54082 fi
54083
54084   fi
54085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54086 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54087
54088     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54089       for ac_func in _ldexpf
54090 do :
54091   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54092 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54093   cat >>confdefs.h <<_ACEOF
54094 #define HAVE__LDEXPF 1
54095 _ACEOF
54096
54097 fi
54098 done
54099
54100     fi
54101   fi
54102
54103
54104
54105
54106
54107   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54108 $as_echo_n "checking for logf declaration... " >&6; }
54109   if test x${glibcxx_cv_func_logf_use+set} != xset; then
54110     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54111   $as_echo_n "(cached) " >&6
54112 else
54113
54114
54115       ac_ext=cpp
54116 ac_cpp='$CXXCPP $CPPFLAGS'
54117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54120
54121       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54122 /* end confdefs.h.  */
54123 #include <math.h>
54124                       #ifdef HAVE_IEEEFP_H
54125                       #include <ieeefp.h>
54126                       #endif
54127
54128 int
54129 main ()
54130 {
54131  logf(0);
54132   ;
54133   return 0;
54134 }
54135 _ACEOF
54136 if ac_fn_cxx_try_compile "$LINENO"; then :
54137   glibcxx_cv_func_logf_use=yes
54138 else
54139   glibcxx_cv_func_logf_use=no
54140 fi
54141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54142       ac_ext=c
54143 ac_cpp='$CPP $CPPFLAGS'
54144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54147
54148
54149 fi
54150
54151   fi
54152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54153 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54154
54155   if test x$glibcxx_cv_func_logf_use = x"yes"; then
54156     for ac_func in logf
54157 do :
54158   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54159 if test "x$ac_cv_func_logf" = x""yes; then :
54160   cat >>confdefs.h <<_ACEOF
54161 #define HAVE_LOGF 1
54162 _ACEOF
54163
54164 fi
54165 done
54166
54167   else
54168
54169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54170 $as_echo_n "checking for _logf declaration... " >&6; }
54171   if test x${glibcxx_cv_func__logf_use+set} != xset; then
54172     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54173   $as_echo_n "(cached) " >&6
54174 else
54175
54176
54177       ac_ext=cpp
54178 ac_cpp='$CXXCPP $CPPFLAGS'
54179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54182
54183       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54184 /* end confdefs.h.  */
54185 #include <math.h>
54186                       #ifdef HAVE_IEEEFP_H
54187                       #include <ieeefp.h>
54188                       #endif
54189
54190 int
54191 main ()
54192 {
54193  _logf(0);
54194   ;
54195   return 0;
54196 }
54197 _ACEOF
54198 if ac_fn_cxx_try_compile "$LINENO"; then :
54199   glibcxx_cv_func__logf_use=yes
54200 else
54201   glibcxx_cv_func__logf_use=no
54202 fi
54203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54204       ac_ext=c
54205 ac_cpp='$CPP $CPPFLAGS'
54206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54209
54210
54211 fi
54212
54213   fi
54214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54215 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54216
54217     if test x$glibcxx_cv_func__logf_use = x"yes"; then
54218       for ac_func in _logf
54219 do :
54220   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54221 if test "x$ac_cv_func__logf" = x""yes; then :
54222   cat >>confdefs.h <<_ACEOF
54223 #define HAVE__LOGF 1
54224 _ACEOF
54225
54226 fi
54227 done
54228
54229     fi
54230   fi
54231
54232
54233
54234
54235
54236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54237 $as_echo_n "checking for log10f declaration... " >&6; }
54238   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54239     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54240   $as_echo_n "(cached) " >&6
54241 else
54242
54243
54244       ac_ext=cpp
54245 ac_cpp='$CXXCPP $CPPFLAGS'
54246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54249
54250       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54251 /* end confdefs.h.  */
54252 #include <math.h>
54253                       #ifdef HAVE_IEEEFP_H
54254                       #include <ieeefp.h>
54255                       #endif
54256
54257 int
54258 main ()
54259 {
54260  log10f(0);
54261   ;
54262   return 0;
54263 }
54264 _ACEOF
54265 if ac_fn_cxx_try_compile "$LINENO"; then :
54266   glibcxx_cv_func_log10f_use=yes
54267 else
54268   glibcxx_cv_func_log10f_use=no
54269 fi
54270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54271       ac_ext=c
54272 ac_cpp='$CPP $CPPFLAGS'
54273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54276
54277
54278 fi
54279
54280   fi
54281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54282 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54283
54284   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54285     for ac_func in log10f
54286 do :
54287   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54288 if test "x$ac_cv_func_log10f" = x""yes; then :
54289   cat >>confdefs.h <<_ACEOF
54290 #define HAVE_LOG10F 1
54291 _ACEOF
54292
54293 fi
54294 done
54295
54296   else
54297
54298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54299 $as_echo_n "checking for _log10f declaration... " >&6; }
54300   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54301     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54302   $as_echo_n "(cached) " >&6
54303 else
54304
54305
54306       ac_ext=cpp
54307 ac_cpp='$CXXCPP $CPPFLAGS'
54308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54311
54312       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54313 /* end confdefs.h.  */
54314 #include <math.h>
54315                       #ifdef HAVE_IEEEFP_H
54316                       #include <ieeefp.h>
54317                       #endif
54318
54319 int
54320 main ()
54321 {
54322  _log10f(0);
54323   ;
54324   return 0;
54325 }
54326 _ACEOF
54327 if ac_fn_cxx_try_compile "$LINENO"; then :
54328   glibcxx_cv_func__log10f_use=yes
54329 else
54330   glibcxx_cv_func__log10f_use=no
54331 fi
54332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54333       ac_ext=c
54334 ac_cpp='$CPP $CPPFLAGS'
54335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54338
54339
54340 fi
54341
54342   fi
54343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54344 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54345
54346     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54347       for ac_func in _log10f
54348 do :
54349   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54350 if test "x$ac_cv_func__log10f" = x""yes; then :
54351   cat >>confdefs.h <<_ACEOF
54352 #define HAVE__LOG10F 1
54353 _ACEOF
54354
54355 fi
54356 done
54357
54358     fi
54359   fi
54360
54361
54362
54363
54364
54365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54366 $as_echo_n "checking for modff declaration... " >&6; }
54367   if test x${glibcxx_cv_func_modff_use+set} != xset; then
54368     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54369   $as_echo_n "(cached) " >&6
54370 else
54371
54372
54373       ac_ext=cpp
54374 ac_cpp='$CXXCPP $CPPFLAGS'
54375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54378
54379       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54380 /* end confdefs.h.  */
54381 #include <math.h>
54382 int
54383 main ()
54384 {
54385  modff(0, 0);
54386   ;
54387   return 0;
54388 }
54389 _ACEOF
54390 if ac_fn_cxx_try_compile "$LINENO"; then :
54391   glibcxx_cv_func_modff_use=yes
54392 else
54393   glibcxx_cv_func_modff_use=no
54394 fi
54395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54396       ac_ext=c
54397 ac_cpp='$CPP $CPPFLAGS'
54398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54401
54402
54403 fi
54404
54405   fi
54406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54407 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54408
54409   if test x$glibcxx_cv_func_modff_use = x"yes"; then
54410     for ac_func in modff
54411 do :
54412   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54413 if test "x$ac_cv_func_modff" = x""yes; then :
54414   cat >>confdefs.h <<_ACEOF
54415 #define HAVE_MODFF 1
54416 _ACEOF
54417
54418 fi
54419 done
54420
54421   else
54422
54423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54424 $as_echo_n "checking for _modff declaration... " >&6; }
54425   if test x${glibcxx_cv_func__modff_use+set} != xset; then
54426     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54427   $as_echo_n "(cached) " >&6
54428 else
54429
54430
54431       ac_ext=cpp
54432 ac_cpp='$CXXCPP $CPPFLAGS'
54433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54436
54437       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54438 /* end confdefs.h.  */
54439 #include <math.h>
54440 int
54441 main ()
54442 {
54443  _modff(0, 0);
54444   ;
54445   return 0;
54446 }
54447 _ACEOF
54448 if ac_fn_cxx_try_compile "$LINENO"; then :
54449   glibcxx_cv_func__modff_use=yes
54450 else
54451   glibcxx_cv_func__modff_use=no
54452 fi
54453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54454       ac_ext=c
54455 ac_cpp='$CPP $CPPFLAGS'
54456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54459
54460
54461 fi
54462
54463   fi
54464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54465 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54466
54467     if test x$glibcxx_cv_func__modff_use = x"yes"; then
54468       for ac_func in _modff
54469 do :
54470   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54471 if test "x$ac_cv_func__modff" = x""yes; then :
54472   cat >>confdefs.h <<_ACEOF
54473 #define HAVE__MODFF 1
54474 _ACEOF
54475
54476 fi
54477 done
54478
54479     fi
54480   fi
54481
54482
54483
54484
54485
54486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54487 $as_echo_n "checking for modf declaration... " >&6; }
54488   if test x${glibcxx_cv_func_modf_use+set} != xset; then
54489     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54490   $as_echo_n "(cached) " >&6
54491 else
54492
54493
54494       ac_ext=cpp
54495 ac_cpp='$CXXCPP $CPPFLAGS'
54496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54499
54500       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54501 /* end confdefs.h.  */
54502 #include <math.h>
54503 int
54504 main ()
54505 {
54506  modf(0, 0);
54507   ;
54508   return 0;
54509 }
54510 _ACEOF
54511 if ac_fn_cxx_try_compile "$LINENO"; then :
54512   glibcxx_cv_func_modf_use=yes
54513 else
54514   glibcxx_cv_func_modf_use=no
54515 fi
54516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54517       ac_ext=c
54518 ac_cpp='$CPP $CPPFLAGS'
54519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54522
54523
54524 fi
54525
54526   fi
54527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54528 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54529
54530   if test x$glibcxx_cv_func_modf_use = x"yes"; then
54531     for ac_func in modf
54532 do :
54533   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54534 if test "x$ac_cv_func_modf" = x""yes; then :
54535   cat >>confdefs.h <<_ACEOF
54536 #define HAVE_MODF 1
54537 _ACEOF
54538
54539 fi
54540 done
54541
54542   else
54543
54544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54545 $as_echo_n "checking for _modf declaration... " >&6; }
54546   if test x${glibcxx_cv_func__modf_use+set} != xset; then
54547     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54548   $as_echo_n "(cached) " >&6
54549 else
54550
54551
54552       ac_ext=cpp
54553 ac_cpp='$CXXCPP $CPPFLAGS'
54554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54557
54558       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54559 /* end confdefs.h.  */
54560 #include <math.h>
54561 int
54562 main ()
54563 {
54564  _modf(0, 0);
54565   ;
54566   return 0;
54567 }
54568 _ACEOF
54569 if ac_fn_cxx_try_compile "$LINENO"; then :
54570   glibcxx_cv_func__modf_use=yes
54571 else
54572   glibcxx_cv_func__modf_use=no
54573 fi
54574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54575       ac_ext=c
54576 ac_cpp='$CPP $CPPFLAGS'
54577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54580
54581
54582 fi
54583
54584   fi
54585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54586 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54587
54588     if test x$glibcxx_cv_func__modf_use = x"yes"; then
54589       for ac_func in _modf
54590 do :
54591   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54592 if test "x$ac_cv_func__modf" = x""yes; then :
54593   cat >>confdefs.h <<_ACEOF
54594 #define HAVE__MODF 1
54595 _ACEOF
54596
54597 fi
54598 done
54599
54600     fi
54601   fi
54602
54603
54604
54605
54606
54607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54608 $as_echo_n "checking for powf declaration... " >&6; }
54609   if test x${glibcxx_cv_func_powf_use+set} != xset; then
54610     if test "${glibcxx_cv_func_powf_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 int
54625 main ()
54626 {
54627  powf(0, 0);
54628   ;
54629   return 0;
54630 }
54631 _ACEOF
54632 if ac_fn_cxx_try_compile "$LINENO"; then :
54633   glibcxx_cv_func_powf_use=yes
54634 else
54635   glibcxx_cv_func_powf_use=no
54636 fi
54637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54638       ac_ext=c
54639 ac_cpp='$CPP $CPPFLAGS'
54640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54643
54644
54645 fi
54646
54647   fi
54648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54649 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54650
54651   if test x$glibcxx_cv_func_powf_use = x"yes"; then
54652     for ac_func in powf
54653 do :
54654   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54655 if test "x$ac_cv_func_powf" = x""yes; then :
54656   cat >>confdefs.h <<_ACEOF
54657 #define HAVE_POWF 1
54658 _ACEOF
54659
54660 fi
54661 done
54662
54663   else
54664
54665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54666 $as_echo_n "checking for _powf declaration... " >&6; }
54667   if test x${glibcxx_cv_func__powf_use+set} != xset; then
54668     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54669   $as_echo_n "(cached) " >&6
54670 else
54671
54672
54673       ac_ext=cpp
54674 ac_cpp='$CXXCPP $CPPFLAGS'
54675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54678
54679       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54680 /* end confdefs.h.  */
54681 #include <math.h>
54682 int
54683 main ()
54684 {
54685  _powf(0, 0);
54686   ;
54687   return 0;
54688 }
54689 _ACEOF
54690 if ac_fn_cxx_try_compile "$LINENO"; then :
54691   glibcxx_cv_func__powf_use=yes
54692 else
54693   glibcxx_cv_func__powf_use=no
54694 fi
54695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54696       ac_ext=c
54697 ac_cpp='$CPP $CPPFLAGS'
54698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54701
54702
54703 fi
54704
54705   fi
54706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54707 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54708
54709     if test x$glibcxx_cv_func__powf_use = x"yes"; then
54710       for ac_func in _powf
54711 do :
54712   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54713 if test "x$ac_cv_func__powf" = x""yes; then :
54714   cat >>confdefs.h <<_ACEOF
54715 #define HAVE__POWF 1
54716 _ACEOF
54717
54718 fi
54719 done
54720
54721     fi
54722   fi
54723
54724
54725
54726
54727
54728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54729 $as_echo_n "checking for sqrtf declaration... " >&6; }
54730   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54731     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54732   $as_echo_n "(cached) " >&6
54733 else
54734
54735
54736       ac_ext=cpp
54737 ac_cpp='$CXXCPP $CPPFLAGS'
54738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54741
54742       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54743 /* end confdefs.h.  */
54744 #include <math.h>
54745                       #ifdef HAVE_IEEEFP_H
54746                       #include <ieeefp.h>
54747                       #endif
54748
54749 int
54750 main ()
54751 {
54752  sqrtf(0);
54753   ;
54754   return 0;
54755 }
54756 _ACEOF
54757 if ac_fn_cxx_try_compile "$LINENO"; then :
54758   glibcxx_cv_func_sqrtf_use=yes
54759 else
54760   glibcxx_cv_func_sqrtf_use=no
54761 fi
54762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54763       ac_ext=c
54764 ac_cpp='$CPP $CPPFLAGS'
54765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54768
54769
54770 fi
54771
54772   fi
54773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54774 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54775
54776   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54777     for ac_func in sqrtf
54778 do :
54779   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54780 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54781   cat >>confdefs.h <<_ACEOF
54782 #define HAVE_SQRTF 1
54783 _ACEOF
54784
54785 fi
54786 done
54787
54788   else
54789
54790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54791 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54792   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54793     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54794   $as_echo_n "(cached) " >&6
54795 else
54796
54797
54798       ac_ext=cpp
54799 ac_cpp='$CXXCPP $CPPFLAGS'
54800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54803
54804       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54805 /* end confdefs.h.  */
54806 #include <math.h>
54807                       #ifdef HAVE_IEEEFP_H
54808                       #include <ieeefp.h>
54809                       #endif
54810
54811 int
54812 main ()
54813 {
54814  _sqrtf(0);
54815   ;
54816   return 0;
54817 }
54818 _ACEOF
54819 if ac_fn_cxx_try_compile "$LINENO"; then :
54820   glibcxx_cv_func__sqrtf_use=yes
54821 else
54822   glibcxx_cv_func__sqrtf_use=no
54823 fi
54824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54825       ac_ext=c
54826 ac_cpp='$CPP $CPPFLAGS'
54827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54830
54831
54832 fi
54833
54834   fi
54835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54836 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54837
54838     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54839       for ac_func in _sqrtf
54840 do :
54841   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54842 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54843   cat >>confdefs.h <<_ACEOF
54844 #define HAVE__SQRTF 1
54845 _ACEOF
54846
54847 fi
54848 done
54849
54850     fi
54851   fi
54852
54853
54854
54855
54856
54857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54858 $as_echo_n "checking for sincosf declaration... " >&6; }
54859   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54860     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54861   $as_echo_n "(cached) " >&6
54862 else
54863
54864
54865       ac_ext=cpp
54866 ac_cpp='$CXXCPP $CPPFLAGS'
54867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54870
54871       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54872 /* end confdefs.h.  */
54873 #include <math.h>
54874 int
54875 main ()
54876 {
54877  sincosf(0, 0, 0);
54878   ;
54879   return 0;
54880 }
54881 _ACEOF
54882 if ac_fn_cxx_try_compile "$LINENO"; then :
54883   glibcxx_cv_func_sincosf_use=yes
54884 else
54885   glibcxx_cv_func_sincosf_use=no
54886 fi
54887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54888       ac_ext=c
54889 ac_cpp='$CPP $CPPFLAGS'
54890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54893
54894
54895 fi
54896
54897   fi
54898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54899 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54900
54901   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54902     for ac_func in sincosf
54903 do :
54904   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54905 if test "x$ac_cv_func_sincosf" = x""yes; then :
54906   cat >>confdefs.h <<_ACEOF
54907 #define HAVE_SINCOSF 1
54908 _ACEOF
54909
54910 fi
54911 done
54912
54913   else
54914
54915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54916 $as_echo_n "checking for _sincosf declaration... " >&6; }
54917   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54918     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54919   $as_echo_n "(cached) " >&6
54920 else
54921
54922
54923       ac_ext=cpp
54924 ac_cpp='$CXXCPP $CPPFLAGS'
54925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54928
54929       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54930 /* end confdefs.h.  */
54931 #include <math.h>
54932 int
54933 main ()
54934 {
54935  _sincosf(0, 0, 0);
54936   ;
54937   return 0;
54938 }
54939 _ACEOF
54940 if ac_fn_cxx_try_compile "$LINENO"; then :
54941   glibcxx_cv_func__sincosf_use=yes
54942 else
54943   glibcxx_cv_func__sincosf_use=no
54944 fi
54945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54946       ac_ext=c
54947 ac_cpp='$CPP $CPPFLAGS'
54948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54951
54952
54953 fi
54954
54955   fi
54956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54957 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54958
54959     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54960       for ac_func in _sincosf
54961 do :
54962   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54963 if test "x$ac_cv_func__sincosf" = x""yes; then :
54964   cat >>confdefs.h <<_ACEOF
54965 #define HAVE__SINCOSF 1
54966 _ACEOF
54967
54968 fi
54969 done
54970
54971     fi
54972   fi
54973
54974
54975
54976
54977
54978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54979 $as_echo_n "checking for finitef declaration... " >&6; }
54980   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54981     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54982   $as_echo_n "(cached) " >&6
54983 else
54984
54985
54986       ac_ext=cpp
54987 ac_cpp='$CXXCPP $CPPFLAGS'
54988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54991
54992       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54993 /* end confdefs.h.  */
54994 #include <math.h>
54995                       #ifdef HAVE_IEEEFP_H
54996                       #include <ieeefp.h>
54997                       #endif
54998
54999 int
55000 main ()
55001 {
55002  finitef(0);
55003   ;
55004   return 0;
55005 }
55006 _ACEOF
55007 if ac_fn_cxx_try_compile "$LINENO"; then :
55008   glibcxx_cv_func_finitef_use=yes
55009 else
55010   glibcxx_cv_func_finitef_use=no
55011 fi
55012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55013       ac_ext=c
55014 ac_cpp='$CPP $CPPFLAGS'
55015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55018
55019
55020 fi
55021
55022   fi
55023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55024 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55025
55026   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55027     for ac_func in finitef
55028 do :
55029   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55030 if test "x$ac_cv_func_finitef" = x""yes; then :
55031   cat >>confdefs.h <<_ACEOF
55032 #define HAVE_FINITEF 1
55033 _ACEOF
55034
55035 fi
55036 done
55037
55038   else
55039
55040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55041 $as_echo_n "checking for _finitef declaration... " >&6; }
55042   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55043     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55044   $as_echo_n "(cached) " >&6
55045 else
55046
55047
55048       ac_ext=cpp
55049 ac_cpp='$CXXCPP $CPPFLAGS'
55050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55053
55054       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55055 /* end confdefs.h.  */
55056 #include <math.h>
55057                       #ifdef HAVE_IEEEFP_H
55058                       #include <ieeefp.h>
55059                       #endif
55060
55061 int
55062 main ()
55063 {
55064  _finitef(0);
55065   ;
55066   return 0;
55067 }
55068 _ACEOF
55069 if ac_fn_cxx_try_compile "$LINENO"; then :
55070   glibcxx_cv_func__finitef_use=yes
55071 else
55072   glibcxx_cv_func__finitef_use=no
55073 fi
55074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55075       ac_ext=c
55076 ac_cpp='$CPP $CPPFLAGS'
55077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55080
55081
55082 fi
55083
55084   fi
55085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55086 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55087
55088     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55089       for ac_func in _finitef
55090 do :
55091   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55092 if test "x$ac_cv_func__finitef" = x""yes; then :
55093   cat >>confdefs.h <<_ACEOF
55094 #define HAVE__FINITEF 1
55095 _ACEOF
55096
55097 fi
55098 done
55099
55100     fi
55101   fi
55102
55103
55104
55105
55106
55107     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55108 $as_echo_n "checking for long double trig functions... " >&6; }
55109   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55110   $as_echo_n "(cached) " >&6
55111 else
55112
55113
55114     ac_ext=cpp
55115 ac_cpp='$CXXCPP $CPPFLAGS'
55116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55119
55120     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55121 /* end confdefs.h.  */
55122 #include <math.h>
55123 int
55124 main ()
55125 {
55126 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55127   ;
55128   return 0;
55129 }
55130 _ACEOF
55131 if ac_fn_cxx_try_compile "$LINENO"; then :
55132   glibcxx_cv_func_long_double_trig_use=yes
55133 else
55134   glibcxx_cv_func_long_double_trig_use=no
55135 fi
55136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55137     ac_ext=c
55138 ac_cpp='$CPP $CPPFLAGS'
55139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55142
55143 fi
55144
55145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55146 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55147   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55148     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55149 do :
55150   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55151 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55152 eval as_val=\$$as_ac_var
55153    if test "x$as_val" = x""yes; then :
55154   cat >>confdefs.h <<_ACEOF
55155 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55156 _ACEOF
55157
55158 fi
55159 done
55160
55161   else
55162     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55163 $as_echo_n "checking for _long double trig functions... " >&6; }
55164     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55165   $as_echo_n "(cached) " >&6
55166 else
55167
55168
55169       ac_ext=cpp
55170 ac_cpp='$CXXCPP $CPPFLAGS'
55171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55174
55175       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55176 /* end confdefs.h.  */
55177 #include <math.h>
55178 int
55179 main ()
55180 {
55181 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55182   ;
55183   return 0;
55184 }
55185 _ACEOF
55186 if ac_fn_cxx_try_compile "$LINENO"; then :
55187   glibcxx_cv_func__long_double_trig_use=yes
55188 else
55189   glibcxx_cv_func__long_double_trig_use=no
55190 fi
55191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55192       ac_ext=c
55193 ac_cpp='$CPP $CPPFLAGS'
55194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55197
55198 fi
55199
55200     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55201 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55202     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55203       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55204 do :
55205   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55206 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55207 eval as_val=\$$as_ac_var
55208    if test "x$as_val" = x""yes; then :
55209   cat >>confdefs.h <<_ACEOF
55210 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55211 _ACEOF
55212
55213 fi
55214 done
55215
55216     fi
55217   fi
55218
55219
55220
55221
55222
55223     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55224 $as_echo_n "checking for long double round functions... " >&6; }
55225   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55226   $as_echo_n "(cached) " >&6
55227 else
55228
55229
55230     ac_ext=cpp
55231 ac_cpp='$CXXCPP $CPPFLAGS'
55232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55235
55236     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55237 /* end confdefs.h.  */
55238 #include <math.h>
55239 int
55240 main ()
55241 {
55242 ceill (0); floorl (0);
55243   ;
55244   return 0;
55245 }
55246 _ACEOF
55247 if ac_fn_cxx_try_compile "$LINENO"; then :
55248   glibcxx_cv_func_long_double_round_use=yes
55249 else
55250   glibcxx_cv_func_long_double_round_use=no
55251 fi
55252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55253     ac_ext=c
55254 ac_cpp='$CPP $CPPFLAGS'
55255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55258
55259 fi
55260
55261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55262 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55263   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55264     for ac_func in ceill floorl
55265 do :
55266   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55267 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55268 eval as_val=\$$as_ac_var
55269    if test "x$as_val" = x""yes; then :
55270   cat >>confdefs.h <<_ACEOF
55271 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55272 _ACEOF
55273
55274 fi
55275 done
55276
55277   else
55278     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55279 $as_echo_n "checking for _long double round functions... " >&6; }
55280     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55281   $as_echo_n "(cached) " >&6
55282 else
55283
55284
55285       ac_ext=cpp
55286 ac_cpp='$CXXCPP $CPPFLAGS'
55287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55290
55291       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55292 /* end confdefs.h.  */
55293 #include <math.h>
55294 int
55295 main ()
55296 {
55297 _ceill (0); _floorl (0);
55298   ;
55299   return 0;
55300 }
55301 _ACEOF
55302 if ac_fn_cxx_try_compile "$LINENO"; then :
55303   glibcxx_cv_func__long_double_round_use=yes
55304 else
55305   glibcxx_cv_func__long_double_round_use=no
55306 fi
55307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55308       ac_ext=c
55309 ac_cpp='$CPP $CPPFLAGS'
55310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55313
55314 fi
55315
55316     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55317 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55318     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55319       for ac_func in _ceill _floorl
55320 do :
55321   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55323 eval as_val=\$$as_ac_var
55324    if test "x$as_val" = x""yes; then :
55325   cat >>confdefs.h <<_ACEOF
55326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55327 _ACEOF
55328
55329 fi
55330 done
55331
55332     fi
55333   fi
55334
55335
55336
55337
55338
55339
55340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55341 $as_echo_n "checking for isnanl declaration... " >&6; }
55342   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55343     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55344   $as_echo_n "(cached) " >&6
55345 else
55346
55347
55348       ac_ext=cpp
55349 ac_cpp='$CXXCPP $CPPFLAGS'
55350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55353
55354       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55355 /* end confdefs.h.  */
55356 #include <math.h>
55357                       #ifdef HAVE_IEEEFP_H
55358                       #include <ieeefp.h>
55359                       #endif
55360
55361 int
55362 main ()
55363 {
55364  isnanl(0);
55365   ;
55366   return 0;
55367 }
55368 _ACEOF
55369 if ac_fn_cxx_try_compile "$LINENO"; then :
55370   glibcxx_cv_func_isnanl_use=yes
55371 else
55372   glibcxx_cv_func_isnanl_use=no
55373 fi
55374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55375       ac_ext=c
55376 ac_cpp='$CPP $CPPFLAGS'
55377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55380
55381
55382 fi
55383
55384   fi
55385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55386 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55387
55388   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55389     for ac_func in isnanl
55390 do :
55391   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55392 if test "x$ac_cv_func_isnanl" = x""yes; then :
55393   cat >>confdefs.h <<_ACEOF
55394 #define HAVE_ISNANL 1
55395 _ACEOF
55396
55397 fi
55398 done
55399
55400   else
55401
55402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55403 $as_echo_n "checking for _isnanl declaration... " >&6; }
55404   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55405     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55406   $as_echo_n "(cached) " >&6
55407 else
55408
55409
55410       ac_ext=cpp
55411 ac_cpp='$CXXCPP $CPPFLAGS'
55412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55415
55416       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55417 /* end confdefs.h.  */
55418 #include <math.h>
55419                       #ifdef HAVE_IEEEFP_H
55420                       #include <ieeefp.h>
55421                       #endif
55422
55423 int
55424 main ()
55425 {
55426  _isnanl(0);
55427   ;
55428   return 0;
55429 }
55430 _ACEOF
55431 if ac_fn_cxx_try_compile "$LINENO"; then :
55432   glibcxx_cv_func__isnanl_use=yes
55433 else
55434   glibcxx_cv_func__isnanl_use=no
55435 fi
55436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55437       ac_ext=c
55438 ac_cpp='$CPP $CPPFLAGS'
55439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55442
55443
55444 fi
55445
55446   fi
55447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55448 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55449
55450     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55451       for ac_func in _isnanl
55452 do :
55453   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55454 if test "x$ac_cv_func__isnanl" = x""yes; then :
55455   cat >>confdefs.h <<_ACEOF
55456 #define HAVE__ISNANL 1
55457 _ACEOF
55458
55459 fi
55460 done
55461
55462     fi
55463   fi
55464
55465
55466
55467
55468
55469   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55470 $as_echo_n "checking for isinfl declaration... " >&6; }
55471   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55472     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55473   $as_echo_n "(cached) " >&6
55474 else
55475
55476
55477       ac_ext=cpp
55478 ac_cpp='$CXXCPP $CPPFLAGS'
55479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55482
55483       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55484 /* end confdefs.h.  */
55485 #include <math.h>
55486                       #ifdef HAVE_IEEEFP_H
55487                       #include <ieeefp.h>
55488                       #endif
55489
55490 int
55491 main ()
55492 {
55493  isinfl(0);
55494   ;
55495   return 0;
55496 }
55497 _ACEOF
55498 if ac_fn_cxx_try_compile "$LINENO"; then :
55499   glibcxx_cv_func_isinfl_use=yes
55500 else
55501   glibcxx_cv_func_isinfl_use=no
55502 fi
55503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55504       ac_ext=c
55505 ac_cpp='$CPP $CPPFLAGS'
55506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55509
55510
55511 fi
55512
55513   fi
55514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55515 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55516
55517   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55518     for ac_func in isinfl
55519 do :
55520   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55521 if test "x$ac_cv_func_isinfl" = x""yes; then :
55522   cat >>confdefs.h <<_ACEOF
55523 #define HAVE_ISINFL 1
55524 _ACEOF
55525
55526 fi
55527 done
55528
55529   else
55530
55531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55532 $as_echo_n "checking for _isinfl declaration... " >&6; }
55533   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55534     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55535   $as_echo_n "(cached) " >&6
55536 else
55537
55538
55539       ac_ext=cpp
55540 ac_cpp='$CXXCPP $CPPFLAGS'
55541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55544
55545       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55546 /* end confdefs.h.  */
55547 #include <math.h>
55548                       #ifdef HAVE_IEEEFP_H
55549                       #include <ieeefp.h>
55550                       #endif
55551
55552 int
55553 main ()
55554 {
55555  _isinfl(0);
55556   ;
55557   return 0;
55558 }
55559 _ACEOF
55560 if ac_fn_cxx_try_compile "$LINENO"; then :
55561   glibcxx_cv_func__isinfl_use=yes
55562 else
55563   glibcxx_cv_func__isinfl_use=no
55564 fi
55565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55566       ac_ext=c
55567 ac_cpp='$CPP $CPPFLAGS'
55568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55571
55572
55573 fi
55574
55575   fi
55576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55577 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55578
55579     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55580       for ac_func in _isinfl
55581 do :
55582   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55583 if test "x$ac_cv_func__isinfl" = x""yes; then :
55584   cat >>confdefs.h <<_ACEOF
55585 #define HAVE__ISINFL 1
55586 _ACEOF
55587
55588 fi
55589 done
55590
55591     fi
55592   fi
55593
55594
55595
55596
55597
55598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55599 $as_echo_n "checking for atan2l declaration... " >&6; }
55600   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55601     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55602   $as_echo_n "(cached) " >&6
55603 else
55604
55605
55606       ac_ext=cpp
55607 ac_cpp='$CXXCPP $CPPFLAGS'
55608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55611
55612       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55613 /* end confdefs.h.  */
55614 #include <math.h>
55615 int
55616 main ()
55617 {
55618  atan2l(0, 0);
55619   ;
55620   return 0;
55621 }
55622 _ACEOF
55623 if ac_fn_cxx_try_compile "$LINENO"; then :
55624   glibcxx_cv_func_atan2l_use=yes
55625 else
55626   glibcxx_cv_func_atan2l_use=no
55627 fi
55628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55629       ac_ext=c
55630 ac_cpp='$CPP $CPPFLAGS'
55631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55634
55635
55636 fi
55637
55638   fi
55639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55640 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55641
55642   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55643     for ac_func in atan2l
55644 do :
55645   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55646 if test "x$ac_cv_func_atan2l" = x""yes; then :
55647   cat >>confdefs.h <<_ACEOF
55648 #define HAVE_ATAN2L 1
55649 _ACEOF
55650
55651 fi
55652 done
55653
55654   else
55655
55656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55657 $as_echo_n "checking for _atan2l declaration... " >&6; }
55658   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55659     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55660   $as_echo_n "(cached) " >&6
55661 else
55662
55663
55664       ac_ext=cpp
55665 ac_cpp='$CXXCPP $CPPFLAGS'
55666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55669
55670       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55671 /* end confdefs.h.  */
55672 #include <math.h>
55673 int
55674 main ()
55675 {
55676  _atan2l(0, 0);
55677   ;
55678   return 0;
55679 }
55680 _ACEOF
55681 if ac_fn_cxx_try_compile "$LINENO"; then :
55682   glibcxx_cv_func__atan2l_use=yes
55683 else
55684   glibcxx_cv_func__atan2l_use=no
55685 fi
55686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55687       ac_ext=c
55688 ac_cpp='$CPP $CPPFLAGS'
55689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55692
55693
55694 fi
55695
55696   fi
55697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55698 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55699
55700     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55701       for ac_func in _atan2l
55702 do :
55703   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55704 if test "x$ac_cv_func__atan2l" = x""yes; then :
55705   cat >>confdefs.h <<_ACEOF
55706 #define HAVE__ATAN2L 1
55707 _ACEOF
55708
55709 fi
55710 done
55711
55712     fi
55713   fi
55714
55715
55716
55717
55718
55719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55720 $as_echo_n "checking for expl declaration... " >&6; }
55721   if test x${glibcxx_cv_func_expl_use+set} != xset; then
55722     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55723   $as_echo_n "(cached) " >&6
55724 else
55725
55726
55727       ac_ext=cpp
55728 ac_cpp='$CXXCPP $CPPFLAGS'
55729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55732
55733       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55734 /* end confdefs.h.  */
55735 #include <math.h>
55736                       #ifdef HAVE_IEEEFP_H
55737                       #include <ieeefp.h>
55738                       #endif
55739
55740 int
55741 main ()
55742 {
55743  expl(0);
55744   ;
55745   return 0;
55746 }
55747 _ACEOF
55748 if ac_fn_cxx_try_compile "$LINENO"; then :
55749   glibcxx_cv_func_expl_use=yes
55750 else
55751   glibcxx_cv_func_expl_use=no
55752 fi
55753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55754       ac_ext=c
55755 ac_cpp='$CPP $CPPFLAGS'
55756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55759
55760
55761 fi
55762
55763   fi
55764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55765 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55766
55767   if test x$glibcxx_cv_func_expl_use = x"yes"; then
55768     for ac_func in expl
55769 do :
55770   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55771 if test "x$ac_cv_func_expl" = x""yes; then :
55772   cat >>confdefs.h <<_ACEOF
55773 #define HAVE_EXPL 1
55774 _ACEOF
55775
55776 fi
55777 done
55778
55779   else
55780
55781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55782 $as_echo_n "checking for _expl declaration... " >&6; }
55783   if test x${glibcxx_cv_func__expl_use+set} != xset; then
55784     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55785   $as_echo_n "(cached) " >&6
55786 else
55787
55788
55789       ac_ext=cpp
55790 ac_cpp='$CXXCPP $CPPFLAGS'
55791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55794
55795       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55796 /* end confdefs.h.  */
55797 #include <math.h>
55798                       #ifdef HAVE_IEEEFP_H
55799                       #include <ieeefp.h>
55800                       #endif
55801
55802 int
55803 main ()
55804 {
55805  _expl(0);
55806   ;
55807   return 0;
55808 }
55809 _ACEOF
55810 if ac_fn_cxx_try_compile "$LINENO"; then :
55811   glibcxx_cv_func__expl_use=yes
55812 else
55813   glibcxx_cv_func__expl_use=no
55814 fi
55815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55816       ac_ext=c
55817 ac_cpp='$CPP $CPPFLAGS'
55818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55821
55822
55823 fi
55824
55825   fi
55826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55827 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55828
55829     if test x$glibcxx_cv_func__expl_use = x"yes"; then
55830       for ac_func in _expl
55831 do :
55832   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55833 if test "x$ac_cv_func__expl" = x""yes; then :
55834   cat >>confdefs.h <<_ACEOF
55835 #define HAVE__EXPL 1
55836 _ACEOF
55837
55838 fi
55839 done
55840
55841     fi
55842   fi
55843
55844
55845
55846
55847
55848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55849 $as_echo_n "checking for fabsl declaration... " >&6; }
55850   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55851     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55852   $as_echo_n "(cached) " >&6
55853 else
55854
55855
55856       ac_ext=cpp
55857 ac_cpp='$CXXCPP $CPPFLAGS'
55858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55861
55862       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55863 /* end confdefs.h.  */
55864 #include <math.h>
55865                       #ifdef HAVE_IEEEFP_H
55866                       #include <ieeefp.h>
55867                       #endif
55868
55869 int
55870 main ()
55871 {
55872  fabsl(0);
55873   ;
55874   return 0;
55875 }
55876 _ACEOF
55877 if ac_fn_cxx_try_compile "$LINENO"; then :
55878   glibcxx_cv_func_fabsl_use=yes
55879 else
55880   glibcxx_cv_func_fabsl_use=no
55881 fi
55882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55883       ac_ext=c
55884 ac_cpp='$CPP $CPPFLAGS'
55885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55888
55889
55890 fi
55891
55892   fi
55893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55894 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55895
55896   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55897     for ac_func in fabsl
55898 do :
55899   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55900 if test "x$ac_cv_func_fabsl" = x""yes; then :
55901   cat >>confdefs.h <<_ACEOF
55902 #define HAVE_FABSL 1
55903 _ACEOF
55904
55905 fi
55906 done
55907
55908   else
55909
55910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55911 $as_echo_n "checking for _fabsl declaration... " >&6; }
55912   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55913     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55914   $as_echo_n "(cached) " >&6
55915 else
55916
55917
55918       ac_ext=cpp
55919 ac_cpp='$CXXCPP $CPPFLAGS'
55920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55923
55924       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55925 /* end confdefs.h.  */
55926 #include <math.h>
55927                       #ifdef HAVE_IEEEFP_H
55928                       #include <ieeefp.h>
55929                       #endif
55930
55931 int
55932 main ()
55933 {
55934  _fabsl(0);
55935   ;
55936   return 0;
55937 }
55938 _ACEOF
55939 if ac_fn_cxx_try_compile "$LINENO"; then :
55940   glibcxx_cv_func__fabsl_use=yes
55941 else
55942   glibcxx_cv_func__fabsl_use=no
55943 fi
55944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55945       ac_ext=c
55946 ac_cpp='$CPP $CPPFLAGS'
55947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55950
55951
55952 fi
55953
55954   fi
55955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55956 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55957
55958     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55959       for ac_func in _fabsl
55960 do :
55961   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55962 if test "x$ac_cv_func__fabsl" = x""yes; then :
55963   cat >>confdefs.h <<_ACEOF
55964 #define HAVE__FABSL 1
55965 _ACEOF
55966
55967 fi
55968 done
55969
55970     fi
55971   fi
55972
55973
55974
55975
55976
55977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55978 $as_echo_n "checking for fmodl declaration... " >&6; }
55979   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55980     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55981   $as_echo_n "(cached) " >&6
55982 else
55983
55984
55985       ac_ext=cpp
55986 ac_cpp='$CXXCPP $CPPFLAGS'
55987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55990
55991       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55992 /* end confdefs.h.  */
55993 #include <math.h>
55994 int
55995 main ()
55996 {
55997  fmodl(0, 0);
55998   ;
55999   return 0;
56000 }
56001 _ACEOF
56002 if ac_fn_cxx_try_compile "$LINENO"; then :
56003   glibcxx_cv_func_fmodl_use=yes
56004 else
56005   glibcxx_cv_func_fmodl_use=no
56006 fi
56007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56008       ac_ext=c
56009 ac_cpp='$CPP $CPPFLAGS'
56010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56013
56014
56015 fi
56016
56017   fi
56018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56019 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56020
56021   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56022     for ac_func in fmodl
56023 do :
56024   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56025 if test "x$ac_cv_func_fmodl" = x""yes; then :
56026   cat >>confdefs.h <<_ACEOF
56027 #define HAVE_FMODL 1
56028 _ACEOF
56029
56030 fi
56031 done
56032
56033   else
56034
56035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56036 $as_echo_n "checking for _fmodl declaration... " >&6; }
56037   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56038     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56039   $as_echo_n "(cached) " >&6
56040 else
56041
56042
56043       ac_ext=cpp
56044 ac_cpp='$CXXCPP $CPPFLAGS'
56045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56048
56049       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56050 /* end confdefs.h.  */
56051 #include <math.h>
56052 int
56053 main ()
56054 {
56055  _fmodl(0, 0);
56056   ;
56057   return 0;
56058 }
56059 _ACEOF
56060 if ac_fn_cxx_try_compile "$LINENO"; then :
56061   glibcxx_cv_func__fmodl_use=yes
56062 else
56063   glibcxx_cv_func__fmodl_use=no
56064 fi
56065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56066       ac_ext=c
56067 ac_cpp='$CPP $CPPFLAGS'
56068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56071
56072
56073 fi
56074
56075   fi
56076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56077 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56078
56079     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56080       for ac_func in _fmodl
56081 do :
56082   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56083 if test "x$ac_cv_func__fmodl" = x""yes; then :
56084   cat >>confdefs.h <<_ACEOF
56085 #define HAVE__FMODL 1
56086 _ACEOF
56087
56088 fi
56089 done
56090
56091     fi
56092   fi
56093
56094
56095
56096
56097
56098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56099 $as_echo_n "checking for frexpl declaration... " >&6; }
56100   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56101     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56102   $as_echo_n "(cached) " >&6
56103 else
56104
56105
56106       ac_ext=cpp
56107 ac_cpp='$CXXCPP $CPPFLAGS'
56108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56111
56112       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56113 /* end confdefs.h.  */
56114 #include <math.h>
56115 int
56116 main ()
56117 {
56118  frexpl(0, 0);
56119   ;
56120   return 0;
56121 }
56122 _ACEOF
56123 if ac_fn_cxx_try_compile "$LINENO"; then :
56124   glibcxx_cv_func_frexpl_use=yes
56125 else
56126   glibcxx_cv_func_frexpl_use=no
56127 fi
56128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56129       ac_ext=c
56130 ac_cpp='$CPP $CPPFLAGS'
56131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56134
56135
56136 fi
56137
56138   fi
56139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56140 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56141
56142   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56143     for ac_func in frexpl
56144 do :
56145   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56146 if test "x$ac_cv_func_frexpl" = x""yes; then :
56147   cat >>confdefs.h <<_ACEOF
56148 #define HAVE_FREXPL 1
56149 _ACEOF
56150
56151 fi
56152 done
56153
56154   else
56155
56156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56157 $as_echo_n "checking for _frexpl declaration... " >&6; }
56158   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56159     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56160   $as_echo_n "(cached) " >&6
56161 else
56162
56163
56164       ac_ext=cpp
56165 ac_cpp='$CXXCPP $CPPFLAGS'
56166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56169
56170       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56171 /* end confdefs.h.  */
56172 #include <math.h>
56173 int
56174 main ()
56175 {
56176  _frexpl(0, 0);
56177   ;
56178   return 0;
56179 }
56180 _ACEOF
56181 if ac_fn_cxx_try_compile "$LINENO"; then :
56182   glibcxx_cv_func__frexpl_use=yes
56183 else
56184   glibcxx_cv_func__frexpl_use=no
56185 fi
56186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56187       ac_ext=c
56188 ac_cpp='$CPP $CPPFLAGS'
56189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56192
56193
56194 fi
56195
56196   fi
56197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56198 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56199
56200     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56201       for ac_func in _frexpl
56202 do :
56203   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56204 if test "x$ac_cv_func__frexpl" = x""yes; then :
56205   cat >>confdefs.h <<_ACEOF
56206 #define HAVE__FREXPL 1
56207 _ACEOF
56208
56209 fi
56210 done
56211
56212     fi
56213   fi
56214
56215
56216
56217
56218
56219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56220 $as_echo_n "checking for hypotl declaration... " >&6; }
56221   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56222     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56223   $as_echo_n "(cached) " >&6
56224 else
56225
56226
56227       ac_ext=cpp
56228 ac_cpp='$CXXCPP $CPPFLAGS'
56229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56232
56233       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56234 /* end confdefs.h.  */
56235 #include <math.h>
56236 int
56237 main ()
56238 {
56239  hypotl(0, 0);
56240   ;
56241   return 0;
56242 }
56243 _ACEOF
56244 if ac_fn_cxx_try_compile "$LINENO"; then :
56245   glibcxx_cv_func_hypotl_use=yes
56246 else
56247   glibcxx_cv_func_hypotl_use=no
56248 fi
56249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56250       ac_ext=c
56251 ac_cpp='$CPP $CPPFLAGS'
56252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56255
56256
56257 fi
56258
56259   fi
56260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56261 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56262
56263   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56264     for ac_func in hypotl
56265 do :
56266   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56267 if test "x$ac_cv_func_hypotl" = x""yes; then :
56268   cat >>confdefs.h <<_ACEOF
56269 #define HAVE_HYPOTL 1
56270 _ACEOF
56271
56272 fi
56273 done
56274
56275   else
56276
56277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56278 $as_echo_n "checking for _hypotl declaration... " >&6; }
56279   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56280     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56281   $as_echo_n "(cached) " >&6
56282 else
56283
56284
56285       ac_ext=cpp
56286 ac_cpp='$CXXCPP $CPPFLAGS'
56287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56290
56291       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56292 /* end confdefs.h.  */
56293 #include <math.h>
56294 int
56295 main ()
56296 {
56297  _hypotl(0, 0);
56298   ;
56299   return 0;
56300 }
56301 _ACEOF
56302 if ac_fn_cxx_try_compile "$LINENO"; then :
56303   glibcxx_cv_func__hypotl_use=yes
56304 else
56305   glibcxx_cv_func__hypotl_use=no
56306 fi
56307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56308       ac_ext=c
56309 ac_cpp='$CPP $CPPFLAGS'
56310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56313
56314
56315 fi
56316
56317   fi
56318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56319 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56320
56321     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56322       for ac_func in _hypotl
56323 do :
56324   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56325 if test "x$ac_cv_func__hypotl" = x""yes; then :
56326   cat >>confdefs.h <<_ACEOF
56327 #define HAVE__HYPOTL 1
56328 _ACEOF
56329
56330 fi
56331 done
56332
56333     fi
56334   fi
56335
56336
56337
56338
56339
56340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56341 $as_echo_n "checking for ldexpl declaration... " >&6; }
56342   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56343     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56344   $as_echo_n "(cached) " >&6
56345 else
56346
56347
56348       ac_ext=cpp
56349 ac_cpp='$CXXCPP $CPPFLAGS'
56350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56353
56354       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56355 /* end confdefs.h.  */
56356 #include <math.h>
56357 int
56358 main ()
56359 {
56360  ldexpl(0, 0);
56361   ;
56362   return 0;
56363 }
56364 _ACEOF
56365 if ac_fn_cxx_try_compile "$LINENO"; then :
56366   glibcxx_cv_func_ldexpl_use=yes
56367 else
56368   glibcxx_cv_func_ldexpl_use=no
56369 fi
56370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56371       ac_ext=c
56372 ac_cpp='$CPP $CPPFLAGS'
56373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56376
56377
56378 fi
56379
56380   fi
56381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56382 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56383
56384   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56385     for ac_func in ldexpl
56386 do :
56387   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56388 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56389   cat >>confdefs.h <<_ACEOF
56390 #define HAVE_LDEXPL 1
56391 _ACEOF
56392
56393 fi
56394 done
56395
56396   else
56397
56398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56399 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56400   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56401     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56402   $as_echo_n "(cached) " >&6
56403 else
56404
56405
56406       ac_ext=cpp
56407 ac_cpp='$CXXCPP $CPPFLAGS'
56408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56411
56412       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56413 /* end confdefs.h.  */
56414 #include <math.h>
56415 int
56416 main ()
56417 {
56418  _ldexpl(0, 0);
56419   ;
56420   return 0;
56421 }
56422 _ACEOF
56423 if ac_fn_cxx_try_compile "$LINENO"; then :
56424   glibcxx_cv_func__ldexpl_use=yes
56425 else
56426   glibcxx_cv_func__ldexpl_use=no
56427 fi
56428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56429       ac_ext=c
56430 ac_cpp='$CPP $CPPFLAGS'
56431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56434
56435
56436 fi
56437
56438   fi
56439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56440 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56441
56442     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56443       for ac_func in _ldexpl
56444 do :
56445   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56446 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56447   cat >>confdefs.h <<_ACEOF
56448 #define HAVE__LDEXPL 1
56449 _ACEOF
56450
56451 fi
56452 done
56453
56454     fi
56455   fi
56456
56457
56458
56459
56460
56461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56462 $as_echo_n "checking for logl declaration... " >&6; }
56463   if test x${glibcxx_cv_func_logl_use+set} != xset; then
56464     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56465   $as_echo_n "(cached) " >&6
56466 else
56467
56468
56469       ac_ext=cpp
56470 ac_cpp='$CXXCPP $CPPFLAGS'
56471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56474
56475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56476 /* end confdefs.h.  */
56477 #include <math.h>
56478                       #ifdef HAVE_IEEEFP_H
56479                       #include <ieeefp.h>
56480                       #endif
56481
56482 int
56483 main ()
56484 {
56485  logl(0);
56486   ;
56487   return 0;
56488 }
56489 _ACEOF
56490 if ac_fn_cxx_try_compile "$LINENO"; then :
56491   glibcxx_cv_func_logl_use=yes
56492 else
56493   glibcxx_cv_func_logl_use=no
56494 fi
56495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56496       ac_ext=c
56497 ac_cpp='$CPP $CPPFLAGS'
56498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56501
56502
56503 fi
56504
56505   fi
56506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56507 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56508
56509   if test x$glibcxx_cv_func_logl_use = x"yes"; then
56510     for ac_func in logl
56511 do :
56512   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56513 if test "x$ac_cv_func_logl" = x""yes; then :
56514   cat >>confdefs.h <<_ACEOF
56515 #define HAVE_LOGL 1
56516 _ACEOF
56517
56518 fi
56519 done
56520
56521   else
56522
56523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56524 $as_echo_n "checking for _logl declaration... " >&6; }
56525   if test x${glibcxx_cv_func__logl_use+set} != xset; then
56526     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56527   $as_echo_n "(cached) " >&6
56528 else
56529
56530
56531       ac_ext=cpp
56532 ac_cpp='$CXXCPP $CPPFLAGS'
56533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56536
56537       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56538 /* end confdefs.h.  */
56539 #include <math.h>
56540                       #ifdef HAVE_IEEEFP_H
56541                       #include <ieeefp.h>
56542                       #endif
56543
56544 int
56545 main ()
56546 {
56547  _logl(0);
56548   ;
56549   return 0;
56550 }
56551 _ACEOF
56552 if ac_fn_cxx_try_compile "$LINENO"; then :
56553   glibcxx_cv_func__logl_use=yes
56554 else
56555   glibcxx_cv_func__logl_use=no
56556 fi
56557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56558       ac_ext=c
56559 ac_cpp='$CPP $CPPFLAGS'
56560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56563
56564
56565 fi
56566
56567   fi
56568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56569 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56570
56571     if test x$glibcxx_cv_func__logl_use = x"yes"; then
56572       for ac_func in _logl
56573 do :
56574   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56575 if test "x$ac_cv_func__logl" = x""yes; then :
56576   cat >>confdefs.h <<_ACEOF
56577 #define HAVE__LOGL 1
56578 _ACEOF
56579
56580 fi
56581 done
56582
56583     fi
56584   fi
56585
56586
56587
56588
56589
56590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56591 $as_echo_n "checking for log10l declaration... " >&6; }
56592   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56593     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56594   $as_echo_n "(cached) " >&6
56595 else
56596
56597
56598       ac_ext=cpp
56599 ac_cpp='$CXXCPP $CPPFLAGS'
56600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56603
56604       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56605 /* end confdefs.h.  */
56606 #include <math.h>
56607                       #ifdef HAVE_IEEEFP_H
56608                       #include <ieeefp.h>
56609                       #endif
56610
56611 int
56612 main ()
56613 {
56614  log10l(0);
56615   ;
56616   return 0;
56617 }
56618 _ACEOF
56619 if ac_fn_cxx_try_compile "$LINENO"; then :
56620   glibcxx_cv_func_log10l_use=yes
56621 else
56622   glibcxx_cv_func_log10l_use=no
56623 fi
56624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56625       ac_ext=c
56626 ac_cpp='$CPP $CPPFLAGS'
56627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56630
56631
56632 fi
56633
56634   fi
56635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56636 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56637
56638   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56639     for ac_func in log10l
56640 do :
56641   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56642 if test "x$ac_cv_func_log10l" = x""yes; then :
56643   cat >>confdefs.h <<_ACEOF
56644 #define HAVE_LOG10L 1
56645 _ACEOF
56646
56647 fi
56648 done
56649
56650   else
56651
56652   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56653 $as_echo_n "checking for _log10l declaration... " >&6; }
56654   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56655     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56656   $as_echo_n "(cached) " >&6
56657 else
56658
56659
56660       ac_ext=cpp
56661 ac_cpp='$CXXCPP $CPPFLAGS'
56662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56665
56666       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56667 /* end confdefs.h.  */
56668 #include <math.h>
56669                       #ifdef HAVE_IEEEFP_H
56670                       #include <ieeefp.h>
56671                       #endif
56672
56673 int
56674 main ()
56675 {
56676  _log10l(0);
56677   ;
56678   return 0;
56679 }
56680 _ACEOF
56681 if ac_fn_cxx_try_compile "$LINENO"; then :
56682   glibcxx_cv_func__log10l_use=yes
56683 else
56684   glibcxx_cv_func__log10l_use=no
56685 fi
56686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56687       ac_ext=c
56688 ac_cpp='$CPP $CPPFLAGS'
56689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56692
56693
56694 fi
56695
56696   fi
56697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56698 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56699
56700     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56701       for ac_func in _log10l
56702 do :
56703   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56704 if test "x$ac_cv_func__log10l" = x""yes; then :
56705   cat >>confdefs.h <<_ACEOF
56706 #define HAVE__LOG10L 1
56707 _ACEOF
56708
56709 fi
56710 done
56711
56712     fi
56713   fi
56714
56715
56716
56717
56718
56719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56720 $as_echo_n "checking for modfl declaration... " >&6; }
56721   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56722     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56723   $as_echo_n "(cached) " >&6
56724 else
56725
56726
56727       ac_ext=cpp
56728 ac_cpp='$CXXCPP $CPPFLAGS'
56729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56732
56733       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56734 /* end confdefs.h.  */
56735 #include <math.h>
56736 int
56737 main ()
56738 {
56739  modfl(0, 0);
56740   ;
56741   return 0;
56742 }
56743 _ACEOF
56744 if ac_fn_cxx_try_compile "$LINENO"; then :
56745   glibcxx_cv_func_modfl_use=yes
56746 else
56747   glibcxx_cv_func_modfl_use=no
56748 fi
56749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56750       ac_ext=c
56751 ac_cpp='$CPP $CPPFLAGS'
56752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56755
56756
56757 fi
56758
56759   fi
56760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56761 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56762
56763   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56764     for ac_func in modfl
56765 do :
56766   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56767 if test "x$ac_cv_func_modfl" = x""yes; then :
56768   cat >>confdefs.h <<_ACEOF
56769 #define HAVE_MODFL 1
56770 _ACEOF
56771
56772 fi
56773 done
56774
56775   else
56776
56777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56778 $as_echo_n "checking for _modfl declaration... " >&6; }
56779   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56780     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56781   $as_echo_n "(cached) " >&6
56782 else
56783
56784
56785       ac_ext=cpp
56786 ac_cpp='$CXXCPP $CPPFLAGS'
56787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56790
56791       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56792 /* end confdefs.h.  */
56793 #include <math.h>
56794 int
56795 main ()
56796 {
56797  _modfl(0, 0);
56798   ;
56799   return 0;
56800 }
56801 _ACEOF
56802 if ac_fn_cxx_try_compile "$LINENO"; then :
56803   glibcxx_cv_func__modfl_use=yes
56804 else
56805   glibcxx_cv_func__modfl_use=no
56806 fi
56807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56808       ac_ext=c
56809 ac_cpp='$CPP $CPPFLAGS'
56810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56813
56814
56815 fi
56816
56817   fi
56818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56819 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56820
56821     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56822       for ac_func in _modfl
56823 do :
56824   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56825 if test "x$ac_cv_func__modfl" = x""yes; then :
56826   cat >>confdefs.h <<_ACEOF
56827 #define HAVE__MODFL 1
56828 _ACEOF
56829
56830 fi
56831 done
56832
56833     fi
56834   fi
56835
56836
56837
56838
56839
56840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56841 $as_echo_n "checking for powl declaration... " >&6; }
56842   if test x${glibcxx_cv_func_powl_use+set} != xset; then
56843     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56844   $as_echo_n "(cached) " >&6
56845 else
56846
56847
56848       ac_ext=cpp
56849 ac_cpp='$CXXCPP $CPPFLAGS'
56850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56853
56854       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56855 /* end confdefs.h.  */
56856 #include <math.h>
56857 int
56858 main ()
56859 {
56860  powl(0, 0);
56861   ;
56862   return 0;
56863 }
56864 _ACEOF
56865 if ac_fn_cxx_try_compile "$LINENO"; then :
56866   glibcxx_cv_func_powl_use=yes
56867 else
56868   glibcxx_cv_func_powl_use=no
56869 fi
56870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56871       ac_ext=c
56872 ac_cpp='$CPP $CPPFLAGS'
56873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56876
56877
56878 fi
56879
56880   fi
56881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56882 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56883
56884   if test x$glibcxx_cv_func_powl_use = x"yes"; then
56885     for ac_func in powl
56886 do :
56887   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56888 if test "x$ac_cv_func_powl" = x""yes; then :
56889   cat >>confdefs.h <<_ACEOF
56890 #define HAVE_POWL 1
56891 _ACEOF
56892
56893 fi
56894 done
56895
56896   else
56897
56898   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56899 $as_echo_n "checking for _powl declaration... " >&6; }
56900   if test x${glibcxx_cv_func__powl_use+set} != xset; then
56901     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56902   $as_echo_n "(cached) " >&6
56903 else
56904
56905
56906       ac_ext=cpp
56907 ac_cpp='$CXXCPP $CPPFLAGS'
56908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56911
56912       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56913 /* end confdefs.h.  */
56914 #include <math.h>
56915 int
56916 main ()
56917 {
56918  _powl(0, 0);
56919   ;
56920   return 0;
56921 }
56922 _ACEOF
56923 if ac_fn_cxx_try_compile "$LINENO"; then :
56924   glibcxx_cv_func__powl_use=yes
56925 else
56926   glibcxx_cv_func__powl_use=no
56927 fi
56928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56929       ac_ext=c
56930 ac_cpp='$CPP $CPPFLAGS'
56931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56934
56935
56936 fi
56937
56938   fi
56939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56940 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56941
56942     if test x$glibcxx_cv_func__powl_use = x"yes"; then
56943       for ac_func in _powl
56944 do :
56945   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56946 if test "x$ac_cv_func__powl" = x""yes; then :
56947   cat >>confdefs.h <<_ACEOF
56948 #define HAVE__POWL 1
56949 _ACEOF
56950
56951 fi
56952 done
56953
56954     fi
56955   fi
56956
56957
56958
56959
56960
56961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56962 $as_echo_n "checking for sqrtl declaration... " >&6; }
56963   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56964     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56965   $as_echo_n "(cached) " >&6
56966 else
56967
56968
56969       ac_ext=cpp
56970 ac_cpp='$CXXCPP $CPPFLAGS'
56971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56974
56975       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56976 /* end confdefs.h.  */
56977 #include <math.h>
56978                       #ifdef HAVE_IEEEFP_H
56979                       #include <ieeefp.h>
56980                       #endif
56981
56982 int
56983 main ()
56984 {
56985  sqrtl(0);
56986   ;
56987   return 0;
56988 }
56989 _ACEOF
56990 if ac_fn_cxx_try_compile "$LINENO"; then :
56991   glibcxx_cv_func_sqrtl_use=yes
56992 else
56993   glibcxx_cv_func_sqrtl_use=no
56994 fi
56995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56996       ac_ext=c
56997 ac_cpp='$CPP $CPPFLAGS'
56998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57001
57002
57003 fi
57004
57005   fi
57006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57007 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57008
57009   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57010     for ac_func in sqrtl
57011 do :
57012   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57013 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57014   cat >>confdefs.h <<_ACEOF
57015 #define HAVE_SQRTL 1
57016 _ACEOF
57017
57018 fi
57019 done
57020
57021   else
57022
57023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57024 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57025   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57026     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57027   $as_echo_n "(cached) " >&6
57028 else
57029
57030
57031       ac_ext=cpp
57032 ac_cpp='$CXXCPP $CPPFLAGS'
57033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57036
57037       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57038 /* end confdefs.h.  */
57039 #include <math.h>
57040                       #ifdef HAVE_IEEEFP_H
57041                       #include <ieeefp.h>
57042                       #endif
57043
57044 int
57045 main ()
57046 {
57047  _sqrtl(0);
57048   ;
57049   return 0;
57050 }
57051 _ACEOF
57052 if ac_fn_cxx_try_compile "$LINENO"; then :
57053   glibcxx_cv_func__sqrtl_use=yes
57054 else
57055   glibcxx_cv_func__sqrtl_use=no
57056 fi
57057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57058       ac_ext=c
57059 ac_cpp='$CPP $CPPFLAGS'
57060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57063
57064
57065 fi
57066
57067   fi
57068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57069 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57070
57071     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57072       for ac_func in _sqrtl
57073 do :
57074   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57075 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57076   cat >>confdefs.h <<_ACEOF
57077 #define HAVE__SQRTL 1
57078 _ACEOF
57079
57080 fi
57081 done
57082
57083     fi
57084   fi
57085
57086
57087
57088
57089
57090   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57091 $as_echo_n "checking for sincosl declaration... " >&6; }
57092   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57093     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57094   $as_echo_n "(cached) " >&6
57095 else
57096
57097
57098       ac_ext=cpp
57099 ac_cpp='$CXXCPP $CPPFLAGS'
57100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57103
57104       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57105 /* end confdefs.h.  */
57106 #include <math.h>
57107 int
57108 main ()
57109 {
57110  sincosl(0, 0, 0);
57111   ;
57112   return 0;
57113 }
57114 _ACEOF
57115 if ac_fn_cxx_try_compile "$LINENO"; then :
57116   glibcxx_cv_func_sincosl_use=yes
57117 else
57118   glibcxx_cv_func_sincosl_use=no
57119 fi
57120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57121       ac_ext=c
57122 ac_cpp='$CPP $CPPFLAGS'
57123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57126
57127
57128 fi
57129
57130   fi
57131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57132 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57133
57134   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57135     for ac_func in sincosl
57136 do :
57137   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57138 if test "x$ac_cv_func_sincosl" = x""yes; then :
57139   cat >>confdefs.h <<_ACEOF
57140 #define HAVE_SINCOSL 1
57141 _ACEOF
57142
57143 fi
57144 done
57145
57146   else
57147
57148   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57149 $as_echo_n "checking for _sincosl declaration... " >&6; }
57150   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57151     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57152   $as_echo_n "(cached) " >&6
57153 else
57154
57155
57156       ac_ext=cpp
57157 ac_cpp='$CXXCPP $CPPFLAGS'
57158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57161
57162       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57163 /* end confdefs.h.  */
57164 #include <math.h>
57165 int
57166 main ()
57167 {
57168  _sincosl(0, 0, 0);
57169   ;
57170   return 0;
57171 }
57172 _ACEOF
57173 if ac_fn_cxx_try_compile "$LINENO"; then :
57174   glibcxx_cv_func__sincosl_use=yes
57175 else
57176   glibcxx_cv_func__sincosl_use=no
57177 fi
57178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57179       ac_ext=c
57180 ac_cpp='$CPP $CPPFLAGS'
57181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57184
57185
57186 fi
57187
57188   fi
57189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57190 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57191
57192     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57193       for ac_func in _sincosl
57194 do :
57195   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57196 if test "x$ac_cv_func__sincosl" = x""yes; then :
57197   cat >>confdefs.h <<_ACEOF
57198 #define HAVE__SINCOSL 1
57199 _ACEOF
57200
57201 fi
57202 done
57203
57204     fi
57205   fi
57206
57207
57208
57209
57210
57211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57212 $as_echo_n "checking for finitel declaration... " >&6; }
57213   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57214     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57215   $as_echo_n "(cached) " >&6
57216 else
57217
57218
57219       ac_ext=cpp
57220 ac_cpp='$CXXCPP $CPPFLAGS'
57221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57224
57225       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57226 /* end confdefs.h.  */
57227 #include <math.h>
57228                       #ifdef HAVE_IEEEFP_H
57229                       #include <ieeefp.h>
57230                       #endif
57231
57232 int
57233 main ()
57234 {
57235  finitel(0);
57236   ;
57237   return 0;
57238 }
57239 _ACEOF
57240 if ac_fn_cxx_try_compile "$LINENO"; then :
57241   glibcxx_cv_func_finitel_use=yes
57242 else
57243   glibcxx_cv_func_finitel_use=no
57244 fi
57245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57246       ac_ext=c
57247 ac_cpp='$CPP $CPPFLAGS'
57248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57251
57252
57253 fi
57254
57255   fi
57256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57257 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57258
57259   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57260     for ac_func in finitel
57261 do :
57262   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57263 if test "x$ac_cv_func_finitel" = x""yes; then :
57264   cat >>confdefs.h <<_ACEOF
57265 #define HAVE_FINITEL 1
57266 _ACEOF
57267
57268 fi
57269 done
57270
57271   else
57272
57273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57274 $as_echo_n "checking for _finitel declaration... " >&6; }
57275   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57276     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57277   $as_echo_n "(cached) " >&6
57278 else
57279
57280
57281       ac_ext=cpp
57282 ac_cpp='$CXXCPP $CPPFLAGS'
57283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57286
57287       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57288 /* end confdefs.h.  */
57289 #include <math.h>
57290                       #ifdef HAVE_IEEEFP_H
57291                       #include <ieeefp.h>
57292                       #endif
57293
57294 int
57295 main ()
57296 {
57297  _finitel(0);
57298   ;
57299   return 0;
57300 }
57301 _ACEOF
57302 if ac_fn_cxx_try_compile "$LINENO"; then :
57303   glibcxx_cv_func__finitel_use=yes
57304 else
57305   glibcxx_cv_func__finitel_use=no
57306 fi
57307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57308       ac_ext=c
57309 ac_cpp='$CPP $CPPFLAGS'
57310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57313
57314
57315 fi
57316
57317   fi
57318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57319 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57320
57321     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57322       for ac_func in _finitel
57323 do :
57324   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57325 if test "x$ac_cv_func__finitel" = x""yes; then :
57326   cat >>confdefs.h <<_ACEOF
57327 #define HAVE__FINITEL 1
57328 _ACEOF
57329
57330 fi
57331 done
57332
57333     fi
57334   fi
57335
57336
57337
57338
57339   LIBS="$ac_save_LIBS"
57340   CXXFLAGS="$ac_save_CXXFLAGS"
57341
57342
57343   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57344   ac_save_CXXFLAGS="$CXXFLAGS"
57345   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57346
57347
57348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57349 $as_echo_n "checking for strtold declaration... " >&6; }
57350   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57351     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57352   $as_echo_n "(cached) " >&6
57353 else
57354
57355
57356       ac_ext=cpp
57357 ac_cpp='$CXXCPP $CPPFLAGS'
57358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57361
57362       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57363 /* end confdefs.h.  */
57364 #include <stdlib.h>
57365 int
57366 main ()
57367 {
57368  strtold(0, 0);
57369   ;
57370   return 0;
57371 }
57372 _ACEOF
57373 if ac_fn_cxx_try_compile "$LINENO"; then :
57374   glibcxx_cv_func_strtold_use=yes
57375 else
57376   glibcxx_cv_func_strtold_use=no
57377 fi
57378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57379       ac_ext=c
57380 ac_cpp='$CPP $CPPFLAGS'
57381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57384
57385
57386 fi
57387
57388   fi
57389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57390 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57391   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57392     for ac_func in strtold
57393 do :
57394   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57395 if test "x$ac_cv_func_strtold" = x""yes; then :
57396   cat >>confdefs.h <<_ACEOF
57397 #define HAVE_STRTOLD 1
57398 _ACEOF
57399
57400 fi
57401 done
57402
57403   fi
57404
57405
57406
57407
57408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57409 $as_echo_n "checking for strtof declaration... " >&6; }
57410   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57411     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57412   $as_echo_n "(cached) " >&6
57413 else
57414
57415
57416       ac_ext=cpp
57417 ac_cpp='$CXXCPP $CPPFLAGS'
57418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57421
57422       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57423 /* end confdefs.h.  */
57424 #include <stdlib.h>
57425 int
57426 main ()
57427 {
57428  strtof(0, 0);
57429   ;
57430   return 0;
57431 }
57432 _ACEOF
57433 if ac_fn_cxx_try_compile "$LINENO"; then :
57434   glibcxx_cv_func_strtof_use=yes
57435 else
57436   glibcxx_cv_func_strtof_use=no
57437 fi
57438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57439       ac_ext=c
57440 ac_cpp='$CPP $CPPFLAGS'
57441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57444
57445
57446 fi
57447
57448   fi
57449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57450 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57451   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57452     for ac_func in strtof
57453 do :
57454   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57455 if test "x$ac_cv_func_strtof" = x""yes; then :
57456   cat >>confdefs.h <<_ACEOF
57457 #define HAVE_STRTOF 1
57458 _ACEOF
57459
57460 fi
57461 done
57462
57463   fi
57464
57465
57466
57467
57468   CXXFLAGS="$ac_save_CXXFLAGS"
57469
57470     ;;
57471   *-netbsd*)
57472     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57473
57474
57475   # If we're not using GNU ld, then there's no point in even trying these
57476   # tests.  Check for that first.  We should have already tested for gld
57477   # by now (in libtool), but require it now just to be safe...
57478   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57479   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57480
57481
57482
57483   # The name set by libtool depends on the version of libtool.  Shame on us
57484   # for depending on an impl detail, but c'est la vie.  Older versions used
57485   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57486   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57487   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57488   # set (hence we're using an older libtool), then set it.
57489   if test x${with_gnu_ld+set} != xset; then
57490     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57491       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57492       with_gnu_ld=no
57493     else
57494       with_gnu_ld=$ac_cv_prog_gnu_ld
57495     fi
57496   fi
57497
57498   # Start by getting the version number.  I think the libtool test already
57499   # does some of this, but throws away the result.
57500   glibcxx_ld_is_gold=no
57501   if test x"$with_gnu_ld" = x"yes"; then
57502     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57503 $as_echo_n "checking for ld version... " >&6; }
57504
57505     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57506       glibcxx_ld_is_gold=yes
57507     fi
57508     ldver=`$LD --version 2>/dev/null |
57509            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'`
57510
57511     glibcxx_gnu_ld_version=`echo $ldver | \
57512            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57513     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57514 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57515   fi
57516
57517   # Set --gc-sections.
57518   glibcxx_have_gc_sections=no
57519   if test "$glibcxx_ld_is_gold" = "yes"; then
57520     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57521       glibcxx_have_gc_sections=yes
57522     fi
57523   else
57524     glibcxx_gcsections_min_ld=21602
57525     if test x"$with_gnu_ld" = x"yes" &&
57526         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57527       glibcxx_have_gc_sections=yes
57528     fi
57529   fi
57530   if test "$glibcxx_have_gc_sections" = "yes"; then
57531     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57532     # NB: This flag only works reliably after 2.16.1. Configure tests
57533     # for this are difficult, so hard wire a value that should work.
57534
57535     ac_test_CFLAGS="${CFLAGS+set}"
57536     ac_save_CFLAGS="$CFLAGS"
57537     CFLAGS='-Wl,--gc-sections'
57538
57539     # Check for -Wl,--gc-sections
57540     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57541 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57542     if test x$gcc_no_link = xyes; then
57543   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57544 fi
57545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57546 /* end confdefs.h.  */
57547  int one(void) { return 1; }
57548      int two(void) { return 2; }
57549
57550 int
57551 main ()
57552 {
57553  two();
57554   ;
57555   return 0;
57556 }
57557 _ACEOF
57558 if ac_fn_c_try_link "$LINENO"; then :
57559   ac_gcsections=yes
57560 else
57561   ac_gcsections=no
57562 fi
57563 rm -f core conftest.err conftest.$ac_objext \
57564     conftest$ac_exeext conftest.$ac_ext
57565     if test "$ac_gcsections" = "yes"; then
57566       rm -f conftest.c
57567       touch conftest.c
57568       if $CC -c conftest.c; then
57569         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57570            grep "Warning: gc-sections option ignored" > /dev/null; then
57571           ac_gcsections=no
57572         fi
57573       fi
57574       rm -f conftest.c conftest.o conftest
57575     fi
57576     if test "$ac_gcsections" = "yes"; then
57577       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57578     fi
57579     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57580 $as_echo "$ac_gcsections" >&6; }
57581
57582     if test "$ac_test_CFLAGS" = set; then
57583       CFLAGS="$ac_save_CFLAGS"
57584     else
57585       # this is the suspicious part
57586       CFLAGS=''
57587     fi
57588   fi
57589
57590   # Set -z,relro.
57591   # Note this is only for shared objects.
57592   ac_ld_relro=no
57593   if test x"$with_gnu_ld" = x"yes"; then
57594     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57595 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57596     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57597     if test -n "$cxx_z_relo"; then
57598       OPT_LDFLAGS="-Wl,-z,relro"
57599       ac_ld_relro=yes
57600     fi
57601     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57602 $as_echo "$ac_ld_relro" >&6; }
57603   fi
57604
57605   # Set linker optimization flags.
57606   if test x"$with_gnu_ld" = x"yes"; then
57607     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57608   fi
57609
57610
57611
57612
57613     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57614
57615     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57616
57617     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57618
57619     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57620
57621     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57622
57623     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57624
57625     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57626
57627     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57628
57629     if test x"long_double_math_on_this_cpu" = x"yes"; then
57630       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57631
57632       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57633
57634       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57635
57636     fi
57637     ;;
57638   *-qnx6.1* | *-qnx6.2*)
57639     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57640
57641
57642   # If we're not using GNU ld, then there's no point in even trying these
57643   # tests.  Check for that first.  We should have already tested for gld
57644   # by now (in libtool), but require it now just to be safe...
57645   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57646   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57647
57648
57649
57650   # The name set by libtool depends on the version of libtool.  Shame on us
57651   # for depending on an impl detail, but c'est la vie.  Older versions used
57652   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57653   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57654   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57655   # set (hence we're using an older libtool), then set it.
57656   if test x${with_gnu_ld+set} != xset; then
57657     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57658       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57659       with_gnu_ld=no
57660     else
57661       with_gnu_ld=$ac_cv_prog_gnu_ld
57662     fi
57663   fi
57664
57665   # Start by getting the version number.  I think the libtool test already
57666   # does some of this, but throws away the result.
57667   glibcxx_ld_is_gold=no
57668   if test x"$with_gnu_ld" = x"yes"; then
57669     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57670 $as_echo_n "checking for ld version... " >&6; }
57671
57672     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57673       glibcxx_ld_is_gold=yes
57674     fi
57675     ldver=`$LD --version 2>/dev/null |
57676            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'`
57677
57678     glibcxx_gnu_ld_version=`echo $ldver | \
57679            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57680     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57681 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57682   fi
57683
57684   # Set --gc-sections.
57685   glibcxx_have_gc_sections=no
57686   if test "$glibcxx_ld_is_gold" = "yes"; then
57687     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57688       glibcxx_have_gc_sections=yes
57689     fi
57690   else
57691     glibcxx_gcsections_min_ld=21602
57692     if test x"$with_gnu_ld" = x"yes" &&
57693         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57694       glibcxx_have_gc_sections=yes
57695     fi
57696   fi
57697   if test "$glibcxx_have_gc_sections" = "yes"; then
57698     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57699     # NB: This flag only works reliably after 2.16.1. Configure tests
57700     # for this are difficult, so hard wire a value that should work.
57701
57702     ac_test_CFLAGS="${CFLAGS+set}"
57703     ac_save_CFLAGS="$CFLAGS"
57704     CFLAGS='-Wl,--gc-sections'
57705
57706     # Check for -Wl,--gc-sections
57707     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57708 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57709     if test x$gcc_no_link = xyes; then
57710   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57711 fi
57712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57713 /* end confdefs.h.  */
57714  int one(void) { return 1; }
57715      int two(void) { return 2; }
57716
57717 int
57718 main ()
57719 {
57720  two();
57721   ;
57722   return 0;
57723 }
57724 _ACEOF
57725 if ac_fn_c_try_link "$LINENO"; then :
57726   ac_gcsections=yes
57727 else
57728   ac_gcsections=no
57729 fi
57730 rm -f core conftest.err conftest.$ac_objext \
57731     conftest$ac_exeext conftest.$ac_ext
57732     if test "$ac_gcsections" = "yes"; then
57733       rm -f conftest.c
57734       touch conftest.c
57735       if $CC -c conftest.c; then
57736         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57737            grep "Warning: gc-sections option ignored" > /dev/null; then
57738           ac_gcsections=no
57739         fi
57740       fi
57741       rm -f conftest.c conftest.o conftest
57742     fi
57743     if test "$ac_gcsections" = "yes"; then
57744       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57745     fi
57746     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57747 $as_echo "$ac_gcsections" >&6; }
57748
57749     if test "$ac_test_CFLAGS" = set; then
57750       CFLAGS="$ac_save_CFLAGS"
57751     else
57752       # this is the suspicious part
57753       CFLAGS=''
57754     fi
57755   fi
57756
57757   # Set -z,relro.
57758   # Note this is only for shared objects.
57759   ac_ld_relro=no
57760   if test x"$with_gnu_ld" = x"yes"; then
57761     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57762 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57763     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57764     if test -n "$cxx_z_relo"; then
57765       OPT_LDFLAGS="-Wl,-z,relro"
57766       ac_ld_relro=yes
57767     fi
57768     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57769 $as_echo "$ac_ld_relro" >&6; }
57770   fi
57771
57772   # Set linker optimization flags.
57773   if test x"$with_gnu_ld" = x"yes"; then
57774     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57775   fi
57776
57777
57778
57779
57780     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57781
57782     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57783
57784     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57785
57786     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57787
57788     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57789
57790     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57791
57792     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57793
57794     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57795
57796     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57797
57798     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57799
57800     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57801
57802     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57803
57804     ;;
57805   *-rtems*)
57806
57807   # All these tests are for C++; save the language and the compiler flags.
57808   # The CXXFLAGS thing is suspicious, but based on similar bits previously
57809   # found in GLIBCXX_CONFIGURE.
57810
57811   ac_ext=cpp
57812 ac_cpp='$CXXCPP $CPPFLAGS'
57813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57816
57817   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57818   ac_save_CXXFLAGS="$CXXFLAGS"
57819
57820   # Check for maintainer-mode bits.
57821   if test x"$USE_MAINTAINER_MODE" = xno; then
57822     WERROR=''
57823   else
57824     WERROR='-Werror'
57825   fi
57826
57827   # Check for -ffunction-sections -fdata-sections
57828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57829 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57830   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57832 /* end confdefs.h.  */
57833 int foo; void bar() { };
57834 int
57835 main ()
57836 {
57837
57838   ;
57839   return 0;
57840 }
57841 _ACEOF
57842 if ac_fn_cxx_try_compile "$LINENO"; then :
57843   ac_fdsections=yes
57844 else
57845   ac_fdsections=no
57846 fi
57847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57848   if test "$ac_test_CXXFLAGS" = set; then
57849     CXXFLAGS="$ac_save_CXXFLAGS"
57850   else
57851     # this is the suspicious part
57852     CXXFLAGS=''
57853   fi
57854   if test x"$ac_fdsections" = x"yes"; then
57855     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57856   fi
57857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57858 $as_echo "$ac_fdsections" >&6; }
57859
57860   ac_ext=c
57861 ac_cpp='$CPP $CPPFLAGS'
57862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57865
57866
57867
57868
57869
57870   # If we're not using GNU ld, then there's no point in even trying these
57871   # tests.  Check for that first.  We should have already tested for gld
57872   # by now (in libtool), but require it now just to be safe...
57873   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57874   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57875
57876
57877
57878   # The name set by libtool depends on the version of libtool.  Shame on us
57879   # for depending on an impl detail, but c'est la vie.  Older versions used
57880   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57881   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57882   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57883   # set (hence we're using an older libtool), then set it.
57884   if test x${with_gnu_ld+set} != xset; then
57885     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57886       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57887       with_gnu_ld=no
57888     else
57889       with_gnu_ld=$ac_cv_prog_gnu_ld
57890     fi
57891   fi
57892
57893   # Start by getting the version number.  I think the libtool test already
57894   # does some of this, but throws away the result.
57895   glibcxx_ld_is_gold=no
57896   if test x"$with_gnu_ld" = x"yes"; then
57897     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57898 $as_echo_n "checking for ld version... " >&6; }
57899
57900     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57901       glibcxx_ld_is_gold=yes
57902     fi
57903     ldver=`$LD --version 2>/dev/null |
57904            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'`
57905
57906     glibcxx_gnu_ld_version=`echo $ldver | \
57907            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57908     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57909 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57910   fi
57911
57912   # Set --gc-sections.
57913   glibcxx_have_gc_sections=no
57914   if test "$glibcxx_ld_is_gold" = "yes"; then
57915     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57916       glibcxx_have_gc_sections=yes
57917     fi
57918   else
57919     glibcxx_gcsections_min_ld=21602
57920     if test x"$with_gnu_ld" = x"yes" &&
57921         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57922       glibcxx_have_gc_sections=yes
57923     fi
57924   fi
57925   if test "$glibcxx_have_gc_sections" = "yes"; then
57926     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57927     # NB: This flag only works reliably after 2.16.1. Configure tests
57928     # for this are difficult, so hard wire a value that should work.
57929
57930     ac_test_CFLAGS="${CFLAGS+set}"
57931     ac_save_CFLAGS="$CFLAGS"
57932     CFLAGS='-Wl,--gc-sections'
57933
57934     # Check for -Wl,--gc-sections
57935     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57936 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57937     if test x$gcc_no_link = xyes; then
57938   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57939 fi
57940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57941 /* end confdefs.h.  */
57942  int one(void) { return 1; }
57943      int two(void) { return 2; }
57944
57945 int
57946 main ()
57947 {
57948  two();
57949   ;
57950   return 0;
57951 }
57952 _ACEOF
57953 if ac_fn_c_try_link "$LINENO"; then :
57954   ac_gcsections=yes
57955 else
57956   ac_gcsections=no
57957 fi
57958 rm -f core conftest.err conftest.$ac_objext \
57959     conftest$ac_exeext conftest.$ac_ext
57960     if test "$ac_gcsections" = "yes"; then
57961       rm -f conftest.c
57962       touch conftest.c
57963       if $CC -c conftest.c; then
57964         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57965            grep "Warning: gc-sections option ignored" > /dev/null; then
57966           ac_gcsections=no
57967         fi
57968       fi
57969       rm -f conftest.c conftest.o conftest
57970     fi
57971     if test "$ac_gcsections" = "yes"; then
57972       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57973     fi
57974     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57975 $as_echo "$ac_gcsections" >&6; }
57976
57977     if test "$ac_test_CFLAGS" = set; then
57978       CFLAGS="$ac_save_CFLAGS"
57979     else
57980       # this is the suspicious part
57981       CFLAGS=''
57982     fi
57983   fi
57984
57985   # Set -z,relro.
57986   # Note this is only for shared objects.
57987   ac_ld_relro=no
57988   if test x"$with_gnu_ld" = x"yes"; then
57989     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57990 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57991     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57992     if test -n "$cxx_z_relo"; then
57993       OPT_LDFLAGS="-Wl,-z,relro"
57994       ac_ld_relro=yes
57995     fi
57996     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57997 $as_echo "$ac_ld_relro" >&6; }
57998   fi
57999
58000   # Set linker optimization flags.
58001   if test x"$with_gnu_ld" = x"yes"; then
58002     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58003   fi
58004
58005
58006
58007
58008
58009   ac_test_CXXFLAGS="${CXXFLAGS+set}"
58010   ac_save_CXXFLAGS="$CXXFLAGS"
58011   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58012
58013     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58014 $as_echo_n "checking for sin in -lm... " >&6; }
58015 if test "${ac_cv_lib_m_sin+set}" = set; then :
58016   $as_echo_n "(cached) " >&6
58017 else
58018   ac_check_lib_save_LIBS=$LIBS
58019 LIBS="-lm  $LIBS"
58020 if test x$gcc_no_link = xyes; then
58021   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58022 fi
58023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58024 /* end confdefs.h.  */
58025
58026 /* Override any GCC internal prototype to avoid an error.
58027    Use char because int might match the return type of a GCC
58028    builtin and then its argument prototype would still apply.  */
58029 #ifdef __cplusplus
58030 extern "C"
58031 #endif
58032 char sin ();
58033 int
58034 main ()
58035 {
58036 return sin ();
58037   ;
58038   return 0;
58039 }
58040 _ACEOF
58041 if ac_fn_c_try_link "$LINENO"; then :
58042   ac_cv_lib_m_sin=yes
58043 else
58044   ac_cv_lib_m_sin=no
58045 fi
58046 rm -f core conftest.err conftest.$ac_objext \
58047     conftest$ac_exeext conftest.$ac_ext
58048 LIBS=$ac_check_lib_save_LIBS
58049 fi
58050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58051 $as_echo "$ac_cv_lib_m_sin" >&6; }
58052 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58053   libm="-lm"
58054 fi
58055
58056   ac_save_LIBS="$LIBS"
58057   LIBS="$LIBS $libm"
58058
58059
58060
58061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58062 $as_echo_n "checking for isinf declaration... " >&6; }
58063   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58064     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58065   $as_echo_n "(cached) " >&6
58066 else
58067
58068
58069       ac_ext=cpp
58070 ac_cpp='$CXXCPP $CPPFLAGS'
58071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58074
58075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58076 /* end confdefs.h.  */
58077 #include <math.h>
58078                       #ifdef HAVE_IEEEFP_H
58079                       #include <ieeefp.h>
58080                       #endif
58081
58082 int
58083 main ()
58084 {
58085  isinf(0);
58086   ;
58087   return 0;
58088 }
58089 _ACEOF
58090 if ac_fn_cxx_try_compile "$LINENO"; then :
58091   glibcxx_cv_func_isinf_use=yes
58092 else
58093   glibcxx_cv_func_isinf_use=no
58094 fi
58095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58096       ac_ext=c
58097 ac_cpp='$CPP $CPPFLAGS'
58098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58101
58102
58103 fi
58104
58105   fi
58106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58107 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58108
58109   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58110     for ac_func in isinf
58111 do :
58112   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58113 if test "x$ac_cv_func_isinf" = x""yes; then :
58114   cat >>confdefs.h <<_ACEOF
58115 #define HAVE_ISINF 1
58116 _ACEOF
58117
58118 fi
58119 done
58120
58121   else
58122
58123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58124 $as_echo_n "checking for _isinf declaration... " >&6; }
58125   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58126     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58127   $as_echo_n "(cached) " >&6
58128 else
58129
58130
58131       ac_ext=cpp
58132 ac_cpp='$CXXCPP $CPPFLAGS'
58133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58136
58137       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58138 /* end confdefs.h.  */
58139 #include <math.h>
58140                       #ifdef HAVE_IEEEFP_H
58141                       #include <ieeefp.h>
58142                       #endif
58143
58144 int
58145 main ()
58146 {
58147  _isinf(0);
58148   ;
58149   return 0;
58150 }
58151 _ACEOF
58152 if ac_fn_cxx_try_compile "$LINENO"; then :
58153   glibcxx_cv_func__isinf_use=yes
58154 else
58155   glibcxx_cv_func__isinf_use=no
58156 fi
58157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58158       ac_ext=c
58159 ac_cpp='$CPP $CPPFLAGS'
58160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58163
58164
58165 fi
58166
58167   fi
58168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58169 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58170
58171     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58172       for ac_func in _isinf
58173 do :
58174   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58175 if test "x$ac_cv_func__isinf" = x""yes; then :
58176   cat >>confdefs.h <<_ACEOF
58177 #define HAVE__ISINF 1
58178 _ACEOF
58179
58180 fi
58181 done
58182
58183     fi
58184   fi
58185
58186
58187
58188
58189
58190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58191 $as_echo_n "checking for isnan declaration... " >&6; }
58192   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58193     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58194   $as_echo_n "(cached) " >&6
58195 else
58196
58197
58198       ac_ext=cpp
58199 ac_cpp='$CXXCPP $CPPFLAGS'
58200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58203
58204       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58205 /* end confdefs.h.  */
58206 #include <math.h>
58207                       #ifdef HAVE_IEEEFP_H
58208                       #include <ieeefp.h>
58209                       #endif
58210
58211 int
58212 main ()
58213 {
58214  isnan(0);
58215   ;
58216   return 0;
58217 }
58218 _ACEOF
58219 if ac_fn_cxx_try_compile "$LINENO"; then :
58220   glibcxx_cv_func_isnan_use=yes
58221 else
58222   glibcxx_cv_func_isnan_use=no
58223 fi
58224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58225       ac_ext=c
58226 ac_cpp='$CPP $CPPFLAGS'
58227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58230
58231
58232 fi
58233
58234   fi
58235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58236 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58237
58238   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58239     for ac_func in isnan
58240 do :
58241   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58242 if test "x$ac_cv_func_isnan" = x""yes; then :
58243   cat >>confdefs.h <<_ACEOF
58244 #define HAVE_ISNAN 1
58245 _ACEOF
58246
58247 fi
58248 done
58249
58250   else
58251
58252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58253 $as_echo_n "checking for _isnan declaration... " >&6; }
58254   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58255     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58256   $as_echo_n "(cached) " >&6
58257 else
58258
58259
58260       ac_ext=cpp
58261 ac_cpp='$CXXCPP $CPPFLAGS'
58262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58265
58266       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58267 /* end confdefs.h.  */
58268 #include <math.h>
58269                       #ifdef HAVE_IEEEFP_H
58270                       #include <ieeefp.h>
58271                       #endif
58272
58273 int
58274 main ()
58275 {
58276  _isnan(0);
58277   ;
58278   return 0;
58279 }
58280 _ACEOF
58281 if ac_fn_cxx_try_compile "$LINENO"; then :
58282   glibcxx_cv_func__isnan_use=yes
58283 else
58284   glibcxx_cv_func__isnan_use=no
58285 fi
58286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58287       ac_ext=c
58288 ac_cpp='$CPP $CPPFLAGS'
58289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58292
58293
58294 fi
58295
58296   fi
58297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58298 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58299
58300     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58301       for ac_func in _isnan
58302 do :
58303   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58304 if test "x$ac_cv_func__isnan" = x""yes; then :
58305   cat >>confdefs.h <<_ACEOF
58306 #define HAVE__ISNAN 1
58307 _ACEOF
58308
58309 fi
58310 done
58311
58312     fi
58313   fi
58314
58315
58316
58317
58318
58319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58320 $as_echo_n "checking for finite declaration... " >&6; }
58321   if test x${glibcxx_cv_func_finite_use+set} != xset; then
58322     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58323   $as_echo_n "(cached) " >&6
58324 else
58325
58326
58327       ac_ext=cpp
58328 ac_cpp='$CXXCPP $CPPFLAGS'
58329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58332
58333       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58334 /* end confdefs.h.  */
58335 #include <math.h>
58336                       #ifdef HAVE_IEEEFP_H
58337                       #include <ieeefp.h>
58338                       #endif
58339
58340 int
58341 main ()
58342 {
58343  finite(0);
58344   ;
58345   return 0;
58346 }
58347 _ACEOF
58348 if ac_fn_cxx_try_compile "$LINENO"; then :
58349   glibcxx_cv_func_finite_use=yes
58350 else
58351   glibcxx_cv_func_finite_use=no
58352 fi
58353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58354       ac_ext=c
58355 ac_cpp='$CPP $CPPFLAGS'
58356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58359
58360
58361 fi
58362
58363   fi
58364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58365 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58366
58367   if test x$glibcxx_cv_func_finite_use = x"yes"; then
58368     for ac_func in finite
58369 do :
58370   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58371 if test "x$ac_cv_func_finite" = x""yes; then :
58372   cat >>confdefs.h <<_ACEOF
58373 #define HAVE_FINITE 1
58374 _ACEOF
58375
58376 fi
58377 done
58378
58379   else
58380
58381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58382 $as_echo_n "checking for _finite declaration... " >&6; }
58383   if test x${glibcxx_cv_func__finite_use+set} != xset; then
58384     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58385   $as_echo_n "(cached) " >&6
58386 else
58387
58388
58389       ac_ext=cpp
58390 ac_cpp='$CXXCPP $CPPFLAGS'
58391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58394
58395       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58396 /* end confdefs.h.  */
58397 #include <math.h>
58398                       #ifdef HAVE_IEEEFP_H
58399                       #include <ieeefp.h>
58400                       #endif
58401
58402 int
58403 main ()
58404 {
58405  _finite(0);
58406   ;
58407   return 0;
58408 }
58409 _ACEOF
58410 if ac_fn_cxx_try_compile "$LINENO"; then :
58411   glibcxx_cv_func__finite_use=yes
58412 else
58413   glibcxx_cv_func__finite_use=no
58414 fi
58415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58416       ac_ext=c
58417 ac_cpp='$CPP $CPPFLAGS'
58418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58421
58422
58423 fi
58424
58425   fi
58426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58427 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58428
58429     if test x$glibcxx_cv_func__finite_use = x"yes"; then
58430       for ac_func in _finite
58431 do :
58432   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58433 if test "x$ac_cv_func__finite" = x""yes; then :
58434   cat >>confdefs.h <<_ACEOF
58435 #define HAVE__FINITE 1
58436 _ACEOF
58437
58438 fi
58439 done
58440
58441     fi
58442   fi
58443
58444
58445
58446
58447
58448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58449 $as_echo_n "checking for sincos declaration... " >&6; }
58450   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58451     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58452   $as_echo_n "(cached) " >&6
58453 else
58454
58455
58456       ac_ext=cpp
58457 ac_cpp='$CXXCPP $CPPFLAGS'
58458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58461
58462       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58463 /* end confdefs.h.  */
58464 #include <math.h>
58465 int
58466 main ()
58467 {
58468  sincos(0, 0, 0);
58469   ;
58470   return 0;
58471 }
58472 _ACEOF
58473 if ac_fn_cxx_try_compile "$LINENO"; then :
58474   glibcxx_cv_func_sincos_use=yes
58475 else
58476   glibcxx_cv_func_sincos_use=no
58477 fi
58478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58479       ac_ext=c
58480 ac_cpp='$CPP $CPPFLAGS'
58481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58484
58485
58486 fi
58487
58488   fi
58489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58490 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58491
58492   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58493     for ac_func in sincos
58494 do :
58495   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58496 if test "x$ac_cv_func_sincos" = x""yes; then :
58497   cat >>confdefs.h <<_ACEOF
58498 #define HAVE_SINCOS 1
58499 _ACEOF
58500
58501 fi
58502 done
58503
58504   else
58505
58506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58507 $as_echo_n "checking for _sincos declaration... " >&6; }
58508   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58509     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58510   $as_echo_n "(cached) " >&6
58511 else
58512
58513
58514       ac_ext=cpp
58515 ac_cpp='$CXXCPP $CPPFLAGS'
58516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58519
58520       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58521 /* end confdefs.h.  */
58522 #include <math.h>
58523 int
58524 main ()
58525 {
58526  _sincos(0, 0, 0);
58527   ;
58528   return 0;
58529 }
58530 _ACEOF
58531 if ac_fn_cxx_try_compile "$LINENO"; then :
58532   glibcxx_cv_func__sincos_use=yes
58533 else
58534   glibcxx_cv_func__sincos_use=no
58535 fi
58536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58537       ac_ext=c
58538 ac_cpp='$CPP $CPPFLAGS'
58539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58542
58543
58544 fi
58545
58546   fi
58547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58548 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58549
58550     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58551       for ac_func in _sincos
58552 do :
58553   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58554 if test "x$ac_cv_func__sincos" = x""yes; then :
58555   cat >>confdefs.h <<_ACEOF
58556 #define HAVE__SINCOS 1
58557 _ACEOF
58558
58559 fi
58560 done
58561
58562     fi
58563   fi
58564
58565
58566
58567
58568
58569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58570 $as_echo_n "checking for fpclass declaration... " >&6; }
58571   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58572     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58573   $as_echo_n "(cached) " >&6
58574 else
58575
58576
58577       ac_ext=cpp
58578 ac_cpp='$CXXCPP $CPPFLAGS'
58579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58582
58583       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58584 /* end confdefs.h.  */
58585 #include <math.h>
58586                       #ifdef HAVE_IEEEFP_H
58587                       #include <ieeefp.h>
58588                       #endif
58589
58590 int
58591 main ()
58592 {
58593  fpclass(0);
58594   ;
58595   return 0;
58596 }
58597 _ACEOF
58598 if ac_fn_cxx_try_compile "$LINENO"; then :
58599   glibcxx_cv_func_fpclass_use=yes
58600 else
58601   glibcxx_cv_func_fpclass_use=no
58602 fi
58603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58604       ac_ext=c
58605 ac_cpp='$CPP $CPPFLAGS'
58606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58609
58610
58611 fi
58612
58613   fi
58614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58615 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58616
58617   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58618     for ac_func in fpclass
58619 do :
58620   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58621 if test "x$ac_cv_func_fpclass" = x""yes; then :
58622   cat >>confdefs.h <<_ACEOF
58623 #define HAVE_FPCLASS 1
58624 _ACEOF
58625
58626 fi
58627 done
58628
58629   else
58630
58631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58632 $as_echo_n "checking for _fpclass declaration... " >&6; }
58633   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58634     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58635   $as_echo_n "(cached) " >&6
58636 else
58637
58638
58639       ac_ext=cpp
58640 ac_cpp='$CXXCPP $CPPFLAGS'
58641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58644
58645       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58646 /* end confdefs.h.  */
58647 #include <math.h>
58648                       #ifdef HAVE_IEEEFP_H
58649                       #include <ieeefp.h>
58650                       #endif
58651
58652 int
58653 main ()
58654 {
58655  _fpclass(0);
58656   ;
58657   return 0;
58658 }
58659 _ACEOF
58660 if ac_fn_cxx_try_compile "$LINENO"; then :
58661   glibcxx_cv_func__fpclass_use=yes
58662 else
58663   glibcxx_cv_func__fpclass_use=no
58664 fi
58665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58666       ac_ext=c
58667 ac_cpp='$CPP $CPPFLAGS'
58668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58671
58672
58673 fi
58674
58675   fi
58676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58677 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58678
58679     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58680       for ac_func in _fpclass
58681 do :
58682   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58683 if test "x$ac_cv_func__fpclass" = x""yes; then :
58684   cat >>confdefs.h <<_ACEOF
58685 #define HAVE__FPCLASS 1
58686 _ACEOF
58687
58688 fi
58689 done
58690
58691     fi
58692   fi
58693
58694
58695
58696
58697
58698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58699 $as_echo_n "checking for qfpclass declaration... " >&6; }
58700   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58701     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58702   $as_echo_n "(cached) " >&6
58703 else
58704
58705
58706       ac_ext=cpp
58707 ac_cpp='$CXXCPP $CPPFLAGS'
58708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58711
58712       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58713 /* end confdefs.h.  */
58714 #include <math.h>
58715                       #ifdef HAVE_IEEEFP_H
58716                       #include <ieeefp.h>
58717                       #endif
58718
58719 int
58720 main ()
58721 {
58722  qfpclass(0);
58723   ;
58724   return 0;
58725 }
58726 _ACEOF
58727 if ac_fn_cxx_try_compile "$LINENO"; then :
58728   glibcxx_cv_func_qfpclass_use=yes
58729 else
58730   glibcxx_cv_func_qfpclass_use=no
58731 fi
58732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58733       ac_ext=c
58734 ac_cpp='$CPP $CPPFLAGS'
58735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58738
58739
58740 fi
58741
58742   fi
58743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58744 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58745
58746   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58747     for ac_func in qfpclass
58748 do :
58749   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58750 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58751   cat >>confdefs.h <<_ACEOF
58752 #define HAVE_QFPCLASS 1
58753 _ACEOF
58754
58755 fi
58756 done
58757
58758   else
58759
58760   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58761 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58762   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58763     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58764   $as_echo_n "(cached) " >&6
58765 else
58766
58767
58768       ac_ext=cpp
58769 ac_cpp='$CXXCPP $CPPFLAGS'
58770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58773
58774       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58775 /* end confdefs.h.  */
58776 #include <math.h>
58777                       #ifdef HAVE_IEEEFP_H
58778                       #include <ieeefp.h>
58779                       #endif
58780
58781 int
58782 main ()
58783 {
58784  _qfpclass(0);
58785   ;
58786   return 0;
58787 }
58788 _ACEOF
58789 if ac_fn_cxx_try_compile "$LINENO"; then :
58790   glibcxx_cv_func__qfpclass_use=yes
58791 else
58792   glibcxx_cv_func__qfpclass_use=no
58793 fi
58794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58795       ac_ext=c
58796 ac_cpp='$CPP $CPPFLAGS'
58797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58800
58801
58802 fi
58803
58804   fi
58805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58806 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58807
58808     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58809       for ac_func in _qfpclass
58810 do :
58811   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58812 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58813   cat >>confdefs.h <<_ACEOF
58814 #define HAVE__QFPCLASS 1
58815 _ACEOF
58816
58817 fi
58818 done
58819
58820     fi
58821   fi
58822
58823
58824
58825
58826
58827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58828 $as_echo_n "checking for hypot declaration... " >&6; }
58829   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58830     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58831   $as_echo_n "(cached) " >&6
58832 else
58833
58834
58835       ac_ext=cpp
58836 ac_cpp='$CXXCPP $CPPFLAGS'
58837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58840
58841       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58842 /* end confdefs.h.  */
58843 #include <math.h>
58844 int
58845 main ()
58846 {
58847  hypot(0, 0);
58848   ;
58849   return 0;
58850 }
58851 _ACEOF
58852 if ac_fn_cxx_try_compile "$LINENO"; then :
58853   glibcxx_cv_func_hypot_use=yes
58854 else
58855   glibcxx_cv_func_hypot_use=no
58856 fi
58857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58858       ac_ext=c
58859 ac_cpp='$CPP $CPPFLAGS'
58860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58863
58864
58865 fi
58866
58867   fi
58868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58869 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58870
58871   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58872     for ac_func in hypot
58873 do :
58874   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58875 if test "x$ac_cv_func_hypot" = x""yes; then :
58876   cat >>confdefs.h <<_ACEOF
58877 #define HAVE_HYPOT 1
58878 _ACEOF
58879
58880 fi
58881 done
58882
58883   else
58884
58885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58886 $as_echo_n "checking for _hypot declaration... " >&6; }
58887   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58888     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58889   $as_echo_n "(cached) " >&6
58890 else
58891
58892
58893       ac_ext=cpp
58894 ac_cpp='$CXXCPP $CPPFLAGS'
58895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58898
58899       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58900 /* end confdefs.h.  */
58901 #include <math.h>
58902 int
58903 main ()
58904 {
58905  _hypot(0, 0);
58906   ;
58907   return 0;
58908 }
58909 _ACEOF
58910 if ac_fn_cxx_try_compile "$LINENO"; then :
58911   glibcxx_cv_func__hypot_use=yes
58912 else
58913   glibcxx_cv_func__hypot_use=no
58914 fi
58915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58916       ac_ext=c
58917 ac_cpp='$CPP $CPPFLAGS'
58918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58921
58922
58923 fi
58924
58925   fi
58926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58927 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58928
58929     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58930       for ac_func in _hypot
58931 do :
58932   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58933 if test "x$ac_cv_func__hypot" = x""yes; then :
58934   cat >>confdefs.h <<_ACEOF
58935 #define HAVE__HYPOT 1
58936 _ACEOF
58937
58938 fi
58939 done
58940
58941     fi
58942   fi
58943
58944
58945
58946
58947
58948     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58949 $as_echo_n "checking for float trig functions... " >&6; }
58950   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58951   $as_echo_n "(cached) " >&6
58952 else
58953
58954
58955     ac_ext=cpp
58956 ac_cpp='$CXXCPP $CPPFLAGS'
58957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58960
58961     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58962 /* end confdefs.h.  */
58963 #include <math.h>
58964 int
58965 main ()
58966 {
58967 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58968   ;
58969   return 0;
58970 }
58971 _ACEOF
58972 if ac_fn_cxx_try_compile "$LINENO"; then :
58973   glibcxx_cv_func_float_trig_use=yes
58974 else
58975   glibcxx_cv_func_float_trig_use=no
58976 fi
58977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58978     ac_ext=c
58979 ac_cpp='$CPP $CPPFLAGS'
58980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58983
58984 fi
58985
58986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58987 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58988   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58989     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58990 do :
58991   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58992 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58993 eval as_val=\$$as_ac_var
58994    if test "x$as_val" = x""yes; then :
58995   cat >>confdefs.h <<_ACEOF
58996 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58997 _ACEOF
58998
58999 fi
59000 done
59001
59002   else
59003     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59004 $as_echo_n "checking for _float trig functions... " >&6; }
59005     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59006   $as_echo_n "(cached) " >&6
59007 else
59008
59009
59010       ac_ext=cpp
59011 ac_cpp='$CXXCPP $CPPFLAGS'
59012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59015
59016       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59017 /* end confdefs.h.  */
59018 #include <math.h>
59019 int
59020 main ()
59021 {
59022 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59023   ;
59024   return 0;
59025 }
59026 _ACEOF
59027 if ac_fn_cxx_try_compile "$LINENO"; then :
59028   glibcxx_cv_func__float_trig_use=yes
59029 else
59030   glibcxx_cv_func__float_trig_use=no
59031 fi
59032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59033       ac_ext=c
59034 ac_cpp='$CPP $CPPFLAGS'
59035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59038
59039 fi
59040
59041     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59042 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59043     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59044       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59045 do :
59046   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59047 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59048 eval as_val=\$$as_ac_var
59049    if test "x$as_val" = x""yes; then :
59050   cat >>confdefs.h <<_ACEOF
59051 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59052 _ACEOF
59053
59054 fi
59055 done
59056
59057     fi
59058   fi
59059
59060
59061
59062
59063
59064     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59065 $as_echo_n "checking for float round functions... " >&6; }
59066   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59067   $as_echo_n "(cached) " >&6
59068 else
59069
59070
59071     ac_ext=cpp
59072 ac_cpp='$CXXCPP $CPPFLAGS'
59073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59076
59077     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59078 /* end confdefs.h.  */
59079 #include <math.h>
59080 int
59081 main ()
59082 {
59083 ceilf (0); floorf (0);
59084   ;
59085   return 0;
59086 }
59087 _ACEOF
59088 if ac_fn_cxx_try_compile "$LINENO"; then :
59089   glibcxx_cv_func_float_round_use=yes
59090 else
59091   glibcxx_cv_func_float_round_use=no
59092 fi
59093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59094     ac_ext=c
59095 ac_cpp='$CPP $CPPFLAGS'
59096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59099
59100 fi
59101
59102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59103 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59104   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59105     for ac_func in ceilf floorf
59106 do :
59107   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59108 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59109 eval as_val=\$$as_ac_var
59110    if test "x$as_val" = x""yes; then :
59111   cat >>confdefs.h <<_ACEOF
59112 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59113 _ACEOF
59114
59115 fi
59116 done
59117
59118   else
59119     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59120 $as_echo_n "checking for _float round functions... " >&6; }
59121     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59122   $as_echo_n "(cached) " >&6
59123 else
59124
59125
59126       ac_ext=cpp
59127 ac_cpp='$CXXCPP $CPPFLAGS'
59128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59131
59132       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59133 /* end confdefs.h.  */
59134 #include <math.h>
59135 int
59136 main ()
59137 {
59138 _ceilf (0); _floorf (0);
59139   ;
59140   return 0;
59141 }
59142 _ACEOF
59143 if ac_fn_cxx_try_compile "$LINENO"; then :
59144   glibcxx_cv_func__float_round_use=yes
59145 else
59146   glibcxx_cv_func__float_round_use=no
59147 fi
59148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59149       ac_ext=c
59150 ac_cpp='$CPP $CPPFLAGS'
59151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59154
59155 fi
59156
59157     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59158 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59159     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59160       for ac_func in _ceilf _floorf
59161 do :
59162   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59163 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59164 eval as_val=\$$as_ac_var
59165    if test "x$as_val" = x""yes; then :
59166   cat >>confdefs.h <<_ACEOF
59167 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59168 _ACEOF
59169
59170 fi
59171 done
59172
59173     fi
59174   fi
59175
59176
59177
59178
59179
59180
59181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59182 $as_echo_n "checking for expf declaration... " >&6; }
59183   if test x${glibcxx_cv_func_expf_use+set} != xset; then
59184     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59185   $as_echo_n "(cached) " >&6
59186 else
59187
59188
59189       ac_ext=cpp
59190 ac_cpp='$CXXCPP $CPPFLAGS'
59191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59194
59195       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59196 /* end confdefs.h.  */
59197 #include <math.h>
59198                       #ifdef HAVE_IEEEFP_H
59199                       #include <ieeefp.h>
59200                       #endif
59201
59202 int
59203 main ()
59204 {
59205  expf(0);
59206   ;
59207   return 0;
59208 }
59209 _ACEOF
59210 if ac_fn_cxx_try_compile "$LINENO"; then :
59211   glibcxx_cv_func_expf_use=yes
59212 else
59213   glibcxx_cv_func_expf_use=no
59214 fi
59215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59216       ac_ext=c
59217 ac_cpp='$CPP $CPPFLAGS'
59218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59221
59222
59223 fi
59224
59225   fi
59226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59227 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59228
59229   if test x$glibcxx_cv_func_expf_use = x"yes"; then
59230     for ac_func in expf
59231 do :
59232   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59233 if test "x$ac_cv_func_expf" = x""yes; then :
59234   cat >>confdefs.h <<_ACEOF
59235 #define HAVE_EXPF 1
59236 _ACEOF
59237
59238 fi
59239 done
59240
59241   else
59242
59243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59244 $as_echo_n "checking for _expf declaration... " >&6; }
59245   if test x${glibcxx_cv_func__expf_use+set} != xset; then
59246     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59247   $as_echo_n "(cached) " >&6
59248 else
59249
59250
59251       ac_ext=cpp
59252 ac_cpp='$CXXCPP $CPPFLAGS'
59253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59256
59257       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59258 /* end confdefs.h.  */
59259 #include <math.h>
59260                       #ifdef HAVE_IEEEFP_H
59261                       #include <ieeefp.h>
59262                       #endif
59263
59264 int
59265 main ()
59266 {
59267  _expf(0);
59268   ;
59269   return 0;
59270 }
59271 _ACEOF
59272 if ac_fn_cxx_try_compile "$LINENO"; then :
59273   glibcxx_cv_func__expf_use=yes
59274 else
59275   glibcxx_cv_func__expf_use=no
59276 fi
59277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59278       ac_ext=c
59279 ac_cpp='$CPP $CPPFLAGS'
59280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59283
59284
59285 fi
59286
59287   fi
59288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59289 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59290
59291     if test x$glibcxx_cv_func__expf_use = x"yes"; then
59292       for ac_func in _expf
59293 do :
59294   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59295 if test "x$ac_cv_func__expf" = x""yes; then :
59296   cat >>confdefs.h <<_ACEOF
59297 #define HAVE__EXPF 1
59298 _ACEOF
59299
59300 fi
59301 done
59302
59303     fi
59304   fi
59305
59306
59307
59308
59309
59310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59311 $as_echo_n "checking for isnanf declaration... " >&6; }
59312   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59313     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59314   $as_echo_n "(cached) " >&6
59315 else
59316
59317
59318       ac_ext=cpp
59319 ac_cpp='$CXXCPP $CPPFLAGS'
59320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59323
59324       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59325 /* end confdefs.h.  */
59326 #include <math.h>
59327                       #ifdef HAVE_IEEEFP_H
59328                       #include <ieeefp.h>
59329                       #endif
59330
59331 int
59332 main ()
59333 {
59334  isnanf(0);
59335   ;
59336   return 0;
59337 }
59338 _ACEOF
59339 if ac_fn_cxx_try_compile "$LINENO"; then :
59340   glibcxx_cv_func_isnanf_use=yes
59341 else
59342   glibcxx_cv_func_isnanf_use=no
59343 fi
59344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59345       ac_ext=c
59346 ac_cpp='$CPP $CPPFLAGS'
59347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59350
59351
59352 fi
59353
59354   fi
59355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59356 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59357
59358   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59359     for ac_func in isnanf
59360 do :
59361   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59362 if test "x$ac_cv_func_isnanf" = x""yes; then :
59363   cat >>confdefs.h <<_ACEOF
59364 #define HAVE_ISNANF 1
59365 _ACEOF
59366
59367 fi
59368 done
59369
59370   else
59371
59372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59373 $as_echo_n "checking for _isnanf declaration... " >&6; }
59374   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59375     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59376   $as_echo_n "(cached) " >&6
59377 else
59378
59379
59380       ac_ext=cpp
59381 ac_cpp='$CXXCPP $CPPFLAGS'
59382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59385
59386       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59387 /* end confdefs.h.  */
59388 #include <math.h>
59389                       #ifdef HAVE_IEEEFP_H
59390                       #include <ieeefp.h>
59391                       #endif
59392
59393 int
59394 main ()
59395 {
59396  _isnanf(0);
59397   ;
59398   return 0;
59399 }
59400 _ACEOF
59401 if ac_fn_cxx_try_compile "$LINENO"; then :
59402   glibcxx_cv_func__isnanf_use=yes
59403 else
59404   glibcxx_cv_func__isnanf_use=no
59405 fi
59406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59407       ac_ext=c
59408 ac_cpp='$CPP $CPPFLAGS'
59409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59412
59413
59414 fi
59415
59416   fi
59417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59418 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59419
59420     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59421       for ac_func in _isnanf
59422 do :
59423   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59424 if test "x$ac_cv_func__isnanf" = x""yes; then :
59425   cat >>confdefs.h <<_ACEOF
59426 #define HAVE__ISNANF 1
59427 _ACEOF
59428
59429 fi
59430 done
59431
59432     fi
59433   fi
59434
59435
59436
59437
59438
59439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59440 $as_echo_n "checking for isinff declaration... " >&6; }
59441   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59442     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59443   $as_echo_n "(cached) " >&6
59444 else
59445
59446
59447       ac_ext=cpp
59448 ac_cpp='$CXXCPP $CPPFLAGS'
59449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59452
59453       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59454 /* end confdefs.h.  */
59455 #include <math.h>
59456                       #ifdef HAVE_IEEEFP_H
59457                       #include <ieeefp.h>
59458                       #endif
59459
59460 int
59461 main ()
59462 {
59463  isinff(0);
59464   ;
59465   return 0;
59466 }
59467 _ACEOF
59468 if ac_fn_cxx_try_compile "$LINENO"; then :
59469   glibcxx_cv_func_isinff_use=yes
59470 else
59471   glibcxx_cv_func_isinff_use=no
59472 fi
59473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59474       ac_ext=c
59475 ac_cpp='$CPP $CPPFLAGS'
59476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59479
59480
59481 fi
59482
59483   fi
59484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59485 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59486
59487   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59488     for ac_func in isinff
59489 do :
59490   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59491 if test "x$ac_cv_func_isinff" = x""yes; then :
59492   cat >>confdefs.h <<_ACEOF
59493 #define HAVE_ISINFF 1
59494 _ACEOF
59495
59496 fi
59497 done
59498
59499   else
59500
59501   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59502 $as_echo_n "checking for _isinff declaration... " >&6; }
59503   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59504     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59505   $as_echo_n "(cached) " >&6
59506 else
59507
59508
59509       ac_ext=cpp
59510 ac_cpp='$CXXCPP $CPPFLAGS'
59511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59514
59515       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59516 /* end confdefs.h.  */
59517 #include <math.h>
59518                       #ifdef HAVE_IEEEFP_H
59519                       #include <ieeefp.h>
59520                       #endif
59521
59522 int
59523 main ()
59524 {
59525  _isinff(0);
59526   ;
59527   return 0;
59528 }
59529 _ACEOF
59530 if ac_fn_cxx_try_compile "$LINENO"; then :
59531   glibcxx_cv_func__isinff_use=yes
59532 else
59533   glibcxx_cv_func__isinff_use=no
59534 fi
59535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59536       ac_ext=c
59537 ac_cpp='$CPP $CPPFLAGS'
59538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59541
59542
59543 fi
59544
59545   fi
59546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59547 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59548
59549     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59550       for ac_func in _isinff
59551 do :
59552   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59553 if test "x$ac_cv_func__isinff" = x""yes; then :
59554   cat >>confdefs.h <<_ACEOF
59555 #define HAVE__ISINFF 1
59556 _ACEOF
59557
59558 fi
59559 done
59560
59561     fi
59562   fi
59563
59564
59565
59566
59567
59568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59569 $as_echo_n "checking for atan2f declaration... " >&6; }
59570   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59571     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59572   $as_echo_n "(cached) " >&6
59573 else
59574
59575
59576       ac_ext=cpp
59577 ac_cpp='$CXXCPP $CPPFLAGS'
59578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59581
59582       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59583 /* end confdefs.h.  */
59584 #include <math.h>
59585 int
59586 main ()
59587 {
59588  atan2f(0, 0);
59589   ;
59590   return 0;
59591 }
59592 _ACEOF
59593 if ac_fn_cxx_try_compile "$LINENO"; then :
59594   glibcxx_cv_func_atan2f_use=yes
59595 else
59596   glibcxx_cv_func_atan2f_use=no
59597 fi
59598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59599       ac_ext=c
59600 ac_cpp='$CPP $CPPFLAGS'
59601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59604
59605
59606 fi
59607
59608   fi
59609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59610 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59611
59612   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59613     for ac_func in atan2f
59614 do :
59615   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59616 if test "x$ac_cv_func_atan2f" = x""yes; then :
59617   cat >>confdefs.h <<_ACEOF
59618 #define HAVE_ATAN2F 1
59619 _ACEOF
59620
59621 fi
59622 done
59623
59624   else
59625
59626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59627 $as_echo_n "checking for _atan2f declaration... " >&6; }
59628   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59629     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59630   $as_echo_n "(cached) " >&6
59631 else
59632
59633
59634       ac_ext=cpp
59635 ac_cpp='$CXXCPP $CPPFLAGS'
59636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59639
59640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59641 /* end confdefs.h.  */
59642 #include <math.h>
59643 int
59644 main ()
59645 {
59646  _atan2f(0, 0);
59647   ;
59648   return 0;
59649 }
59650 _ACEOF
59651 if ac_fn_cxx_try_compile "$LINENO"; then :
59652   glibcxx_cv_func__atan2f_use=yes
59653 else
59654   glibcxx_cv_func__atan2f_use=no
59655 fi
59656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59657       ac_ext=c
59658 ac_cpp='$CPP $CPPFLAGS'
59659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59662
59663
59664 fi
59665
59666   fi
59667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59668 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59669
59670     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59671       for ac_func in _atan2f
59672 do :
59673   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59674 if test "x$ac_cv_func__atan2f" = x""yes; then :
59675   cat >>confdefs.h <<_ACEOF
59676 #define HAVE__ATAN2F 1
59677 _ACEOF
59678
59679 fi
59680 done
59681
59682     fi
59683   fi
59684
59685
59686
59687
59688
59689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59690 $as_echo_n "checking for fabsf declaration... " >&6; }
59691   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59692     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59693   $as_echo_n "(cached) " >&6
59694 else
59695
59696
59697       ac_ext=cpp
59698 ac_cpp='$CXXCPP $CPPFLAGS'
59699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59702
59703       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59704 /* end confdefs.h.  */
59705 #include <math.h>
59706                       #ifdef HAVE_IEEEFP_H
59707                       #include <ieeefp.h>
59708                       #endif
59709
59710 int
59711 main ()
59712 {
59713  fabsf(0);
59714   ;
59715   return 0;
59716 }
59717 _ACEOF
59718 if ac_fn_cxx_try_compile "$LINENO"; then :
59719   glibcxx_cv_func_fabsf_use=yes
59720 else
59721   glibcxx_cv_func_fabsf_use=no
59722 fi
59723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59724       ac_ext=c
59725 ac_cpp='$CPP $CPPFLAGS'
59726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59729
59730
59731 fi
59732
59733   fi
59734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59735 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59736
59737   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59738     for ac_func in fabsf
59739 do :
59740   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59741 if test "x$ac_cv_func_fabsf" = x""yes; then :
59742   cat >>confdefs.h <<_ACEOF
59743 #define HAVE_FABSF 1
59744 _ACEOF
59745
59746 fi
59747 done
59748
59749   else
59750
59751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59752 $as_echo_n "checking for _fabsf declaration... " >&6; }
59753   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59754     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59755   $as_echo_n "(cached) " >&6
59756 else
59757
59758
59759       ac_ext=cpp
59760 ac_cpp='$CXXCPP $CPPFLAGS'
59761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59764
59765       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59766 /* end confdefs.h.  */
59767 #include <math.h>
59768                       #ifdef HAVE_IEEEFP_H
59769                       #include <ieeefp.h>
59770                       #endif
59771
59772 int
59773 main ()
59774 {
59775  _fabsf(0);
59776   ;
59777   return 0;
59778 }
59779 _ACEOF
59780 if ac_fn_cxx_try_compile "$LINENO"; then :
59781   glibcxx_cv_func__fabsf_use=yes
59782 else
59783   glibcxx_cv_func__fabsf_use=no
59784 fi
59785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59786       ac_ext=c
59787 ac_cpp='$CPP $CPPFLAGS'
59788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59791
59792
59793 fi
59794
59795   fi
59796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59797 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59798
59799     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59800       for ac_func in _fabsf
59801 do :
59802   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59803 if test "x$ac_cv_func__fabsf" = x""yes; then :
59804   cat >>confdefs.h <<_ACEOF
59805 #define HAVE__FABSF 1
59806 _ACEOF
59807
59808 fi
59809 done
59810
59811     fi
59812   fi
59813
59814
59815
59816
59817
59818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59819 $as_echo_n "checking for fmodf declaration... " >&6; }
59820   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59821     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59822   $as_echo_n "(cached) " >&6
59823 else
59824
59825
59826       ac_ext=cpp
59827 ac_cpp='$CXXCPP $CPPFLAGS'
59828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59831
59832       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59833 /* end confdefs.h.  */
59834 #include <math.h>
59835 int
59836 main ()
59837 {
59838  fmodf(0, 0);
59839   ;
59840   return 0;
59841 }
59842 _ACEOF
59843 if ac_fn_cxx_try_compile "$LINENO"; then :
59844   glibcxx_cv_func_fmodf_use=yes
59845 else
59846   glibcxx_cv_func_fmodf_use=no
59847 fi
59848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59849       ac_ext=c
59850 ac_cpp='$CPP $CPPFLAGS'
59851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59854
59855
59856 fi
59857
59858   fi
59859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59860 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59861
59862   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59863     for ac_func in fmodf
59864 do :
59865   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59866 if test "x$ac_cv_func_fmodf" = x""yes; then :
59867   cat >>confdefs.h <<_ACEOF
59868 #define HAVE_FMODF 1
59869 _ACEOF
59870
59871 fi
59872 done
59873
59874   else
59875
59876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59877 $as_echo_n "checking for _fmodf declaration... " >&6; }
59878   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59879     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59880   $as_echo_n "(cached) " >&6
59881 else
59882
59883
59884       ac_ext=cpp
59885 ac_cpp='$CXXCPP $CPPFLAGS'
59886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59889
59890       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59891 /* end confdefs.h.  */
59892 #include <math.h>
59893 int
59894 main ()
59895 {
59896  _fmodf(0, 0);
59897   ;
59898   return 0;
59899 }
59900 _ACEOF
59901 if ac_fn_cxx_try_compile "$LINENO"; then :
59902   glibcxx_cv_func__fmodf_use=yes
59903 else
59904   glibcxx_cv_func__fmodf_use=no
59905 fi
59906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59907       ac_ext=c
59908 ac_cpp='$CPP $CPPFLAGS'
59909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59912
59913
59914 fi
59915
59916   fi
59917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59918 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59919
59920     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59921       for ac_func in _fmodf
59922 do :
59923   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59924 if test "x$ac_cv_func__fmodf" = x""yes; then :
59925   cat >>confdefs.h <<_ACEOF
59926 #define HAVE__FMODF 1
59927 _ACEOF
59928
59929 fi
59930 done
59931
59932     fi
59933   fi
59934
59935
59936
59937
59938
59939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59940 $as_echo_n "checking for frexpf declaration... " >&6; }
59941   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59942     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59943   $as_echo_n "(cached) " >&6
59944 else
59945
59946
59947       ac_ext=cpp
59948 ac_cpp='$CXXCPP $CPPFLAGS'
59949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59952
59953       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59954 /* end confdefs.h.  */
59955 #include <math.h>
59956 int
59957 main ()
59958 {
59959  frexpf(0, 0);
59960   ;
59961   return 0;
59962 }
59963 _ACEOF
59964 if ac_fn_cxx_try_compile "$LINENO"; then :
59965   glibcxx_cv_func_frexpf_use=yes
59966 else
59967   glibcxx_cv_func_frexpf_use=no
59968 fi
59969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59970       ac_ext=c
59971 ac_cpp='$CPP $CPPFLAGS'
59972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59975
59976
59977 fi
59978
59979   fi
59980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59981 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59982
59983   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59984     for ac_func in frexpf
59985 do :
59986   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59987 if test "x$ac_cv_func_frexpf" = x""yes; then :
59988   cat >>confdefs.h <<_ACEOF
59989 #define HAVE_FREXPF 1
59990 _ACEOF
59991
59992 fi
59993 done
59994
59995   else
59996
59997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59998 $as_echo_n "checking for _frexpf declaration... " >&6; }
59999   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60000     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60001   $as_echo_n "(cached) " >&6
60002 else
60003
60004
60005       ac_ext=cpp
60006 ac_cpp='$CXXCPP $CPPFLAGS'
60007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60010
60011       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60012 /* end confdefs.h.  */
60013 #include <math.h>
60014 int
60015 main ()
60016 {
60017  _frexpf(0, 0);
60018   ;
60019   return 0;
60020 }
60021 _ACEOF
60022 if ac_fn_cxx_try_compile "$LINENO"; then :
60023   glibcxx_cv_func__frexpf_use=yes
60024 else
60025   glibcxx_cv_func__frexpf_use=no
60026 fi
60027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60028       ac_ext=c
60029 ac_cpp='$CPP $CPPFLAGS'
60030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60033
60034
60035 fi
60036
60037   fi
60038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60039 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60040
60041     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60042       for ac_func in _frexpf
60043 do :
60044   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60045 if test "x$ac_cv_func__frexpf" = x""yes; then :
60046   cat >>confdefs.h <<_ACEOF
60047 #define HAVE__FREXPF 1
60048 _ACEOF
60049
60050 fi
60051 done
60052
60053     fi
60054   fi
60055
60056
60057
60058
60059
60060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60061 $as_echo_n "checking for hypotf declaration... " >&6; }
60062   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60063     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60064   $as_echo_n "(cached) " >&6
60065 else
60066
60067
60068       ac_ext=cpp
60069 ac_cpp='$CXXCPP $CPPFLAGS'
60070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60073
60074       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60075 /* end confdefs.h.  */
60076 #include <math.h>
60077 int
60078 main ()
60079 {
60080  hypotf(0, 0);
60081   ;
60082   return 0;
60083 }
60084 _ACEOF
60085 if ac_fn_cxx_try_compile "$LINENO"; then :
60086   glibcxx_cv_func_hypotf_use=yes
60087 else
60088   glibcxx_cv_func_hypotf_use=no
60089 fi
60090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60091       ac_ext=c
60092 ac_cpp='$CPP $CPPFLAGS'
60093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60096
60097
60098 fi
60099
60100   fi
60101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60102 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60103
60104   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60105     for ac_func in hypotf
60106 do :
60107   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60108 if test "x$ac_cv_func_hypotf" = x""yes; then :
60109   cat >>confdefs.h <<_ACEOF
60110 #define HAVE_HYPOTF 1
60111 _ACEOF
60112
60113 fi
60114 done
60115
60116   else
60117
60118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60119 $as_echo_n "checking for _hypotf declaration... " >&6; }
60120   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60121     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60122   $as_echo_n "(cached) " >&6
60123 else
60124
60125
60126       ac_ext=cpp
60127 ac_cpp='$CXXCPP $CPPFLAGS'
60128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60131
60132       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60133 /* end confdefs.h.  */
60134 #include <math.h>
60135 int
60136 main ()
60137 {
60138  _hypotf(0, 0);
60139   ;
60140   return 0;
60141 }
60142 _ACEOF
60143 if ac_fn_cxx_try_compile "$LINENO"; then :
60144   glibcxx_cv_func__hypotf_use=yes
60145 else
60146   glibcxx_cv_func__hypotf_use=no
60147 fi
60148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60149       ac_ext=c
60150 ac_cpp='$CPP $CPPFLAGS'
60151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60154
60155
60156 fi
60157
60158   fi
60159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60160 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60161
60162     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60163       for ac_func in _hypotf
60164 do :
60165   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60166 if test "x$ac_cv_func__hypotf" = x""yes; then :
60167   cat >>confdefs.h <<_ACEOF
60168 #define HAVE__HYPOTF 1
60169 _ACEOF
60170
60171 fi
60172 done
60173
60174     fi
60175   fi
60176
60177
60178
60179
60180
60181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60182 $as_echo_n "checking for ldexpf declaration... " >&6; }
60183   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60184     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60185   $as_echo_n "(cached) " >&6
60186 else
60187
60188
60189       ac_ext=cpp
60190 ac_cpp='$CXXCPP $CPPFLAGS'
60191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60194
60195       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60196 /* end confdefs.h.  */
60197 #include <math.h>
60198 int
60199 main ()
60200 {
60201  ldexpf(0, 0);
60202   ;
60203   return 0;
60204 }
60205 _ACEOF
60206 if ac_fn_cxx_try_compile "$LINENO"; then :
60207   glibcxx_cv_func_ldexpf_use=yes
60208 else
60209   glibcxx_cv_func_ldexpf_use=no
60210 fi
60211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60212       ac_ext=c
60213 ac_cpp='$CPP $CPPFLAGS'
60214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60217
60218
60219 fi
60220
60221   fi
60222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60223 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60224
60225   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60226     for ac_func in ldexpf
60227 do :
60228   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60229 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60230   cat >>confdefs.h <<_ACEOF
60231 #define HAVE_LDEXPF 1
60232 _ACEOF
60233
60234 fi
60235 done
60236
60237   else
60238
60239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60240 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60241   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60242     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60243   $as_echo_n "(cached) " >&6
60244 else
60245
60246
60247       ac_ext=cpp
60248 ac_cpp='$CXXCPP $CPPFLAGS'
60249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60252
60253       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60254 /* end confdefs.h.  */
60255 #include <math.h>
60256 int
60257 main ()
60258 {
60259  _ldexpf(0, 0);
60260   ;
60261   return 0;
60262 }
60263 _ACEOF
60264 if ac_fn_cxx_try_compile "$LINENO"; then :
60265   glibcxx_cv_func__ldexpf_use=yes
60266 else
60267   glibcxx_cv_func__ldexpf_use=no
60268 fi
60269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60270       ac_ext=c
60271 ac_cpp='$CPP $CPPFLAGS'
60272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60275
60276
60277 fi
60278
60279   fi
60280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60281 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60282
60283     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60284       for ac_func in _ldexpf
60285 do :
60286   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60287 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60288   cat >>confdefs.h <<_ACEOF
60289 #define HAVE__LDEXPF 1
60290 _ACEOF
60291
60292 fi
60293 done
60294
60295     fi
60296   fi
60297
60298
60299
60300
60301
60302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60303 $as_echo_n "checking for logf declaration... " >&6; }
60304   if test x${glibcxx_cv_func_logf_use+set} != xset; then
60305     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60306   $as_echo_n "(cached) " >&6
60307 else
60308
60309
60310       ac_ext=cpp
60311 ac_cpp='$CXXCPP $CPPFLAGS'
60312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60315
60316       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60317 /* end confdefs.h.  */
60318 #include <math.h>
60319                       #ifdef HAVE_IEEEFP_H
60320                       #include <ieeefp.h>
60321                       #endif
60322
60323 int
60324 main ()
60325 {
60326  logf(0);
60327   ;
60328   return 0;
60329 }
60330 _ACEOF
60331 if ac_fn_cxx_try_compile "$LINENO"; then :
60332   glibcxx_cv_func_logf_use=yes
60333 else
60334   glibcxx_cv_func_logf_use=no
60335 fi
60336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60337       ac_ext=c
60338 ac_cpp='$CPP $CPPFLAGS'
60339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60342
60343
60344 fi
60345
60346   fi
60347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60348 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60349
60350   if test x$glibcxx_cv_func_logf_use = x"yes"; then
60351     for ac_func in logf
60352 do :
60353   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60354 if test "x$ac_cv_func_logf" = x""yes; then :
60355   cat >>confdefs.h <<_ACEOF
60356 #define HAVE_LOGF 1
60357 _ACEOF
60358
60359 fi
60360 done
60361
60362   else
60363
60364   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60365 $as_echo_n "checking for _logf declaration... " >&6; }
60366   if test x${glibcxx_cv_func__logf_use+set} != xset; then
60367     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60368   $as_echo_n "(cached) " >&6
60369 else
60370
60371
60372       ac_ext=cpp
60373 ac_cpp='$CXXCPP $CPPFLAGS'
60374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60377
60378       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60379 /* end confdefs.h.  */
60380 #include <math.h>
60381                       #ifdef HAVE_IEEEFP_H
60382                       #include <ieeefp.h>
60383                       #endif
60384
60385 int
60386 main ()
60387 {
60388  _logf(0);
60389   ;
60390   return 0;
60391 }
60392 _ACEOF
60393 if ac_fn_cxx_try_compile "$LINENO"; then :
60394   glibcxx_cv_func__logf_use=yes
60395 else
60396   glibcxx_cv_func__logf_use=no
60397 fi
60398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60399       ac_ext=c
60400 ac_cpp='$CPP $CPPFLAGS'
60401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60404
60405
60406 fi
60407
60408   fi
60409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60410 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60411
60412     if test x$glibcxx_cv_func__logf_use = x"yes"; then
60413       for ac_func in _logf
60414 do :
60415   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60416 if test "x$ac_cv_func__logf" = x""yes; then :
60417   cat >>confdefs.h <<_ACEOF
60418 #define HAVE__LOGF 1
60419 _ACEOF
60420
60421 fi
60422 done
60423
60424     fi
60425   fi
60426
60427
60428
60429
60430
60431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60432 $as_echo_n "checking for log10f declaration... " >&6; }
60433   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60434     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60435   $as_echo_n "(cached) " >&6
60436 else
60437
60438
60439       ac_ext=cpp
60440 ac_cpp='$CXXCPP $CPPFLAGS'
60441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60444
60445       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60446 /* end confdefs.h.  */
60447 #include <math.h>
60448                       #ifdef HAVE_IEEEFP_H
60449                       #include <ieeefp.h>
60450                       #endif
60451
60452 int
60453 main ()
60454 {
60455  log10f(0);
60456   ;
60457   return 0;
60458 }
60459 _ACEOF
60460 if ac_fn_cxx_try_compile "$LINENO"; then :
60461   glibcxx_cv_func_log10f_use=yes
60462 else
60463   glibcxx_cv_func_log10f_use=no
60464 fi
60465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60466       ac_ext=c
60467 ac_cpp='$CPP $CPPFLAGS'
60468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60471
60472
60473 fi
60474
60475   fi
60476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60477 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60478
60479   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60480     for ac_func in log10f
60481 do :
60482   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60483 if test "x$ac_cv_func_log10f" = x""yes; then :
60484   cat >>confdefs.h <<_ACEOF
60485 #define HAVE_LOG10F 1
60486 _ACEOF
60487
60488 fi
60489 done
60490
60491   else
60492
60493   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60494 $as_echo_n "checking for _log10f declaration... " >&6; }
60495   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60496     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60497   $as_echo_n "(cached) " >&6
60498 else
60499
60500
60501       ac_ext=cpp
60502 ac_cpp='$CXXCPP $CPPFLAGS'
60503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60506
60507       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60508 /* end confdefs.h.  */
60509 #include <math.h>
60510                       #ifdef HAVE_IEEEFP_H
60511                       #include <ieeefp.h>
60512                       #endif
60513
60514 int
60515 main ()
60516 {
60517  _log10f(0);
60518   ;
60519   return 0;
60520 }
60521 _ACEOF
60522 if ac_fn_cxx_try_compile "$LINENO"; then :
60523   glibcxx_cv_func__log10f_use=yes
60524 else
60525   glibcxx_cv_func__log10f_use=no
60526 fi
60527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60528       ac_ext=c
60529 ac_cpp='$CPP $CPPFLAGS'
60530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60533
60534
60535 fi
60536
60537   fi
60538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60539 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60540
60541     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60542       for ac_func in _log10f
60543 do :
60544   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60545 if test "x$ac_cv_func__log10f" = x""yes; then :
60546   cat >>confdefs.h <<_ACEOF
60547 #define HAVE__LOG10F 1
60548 _ACEOF
60549
60550 fi
60551 done
60552
60553     fi
60554   fi
60555
60556
60557
60558
60559
60560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60561 $as_echo_n "checking for modff declaration... " >&6; }
60562   if test x${glibcxx_cv_func_modff_use+set} != xset; then
60563     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60564   $as_echo_n "(cached) " >&6
60565 else
60566
60567
60568       ac_ext=cpp
60569 ac_cpp='$CXXCPP $CPPFLAGS'
60570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60573
60574       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60575 /* end confdefs.h.  */
60576 #include <math.h>
60577 int
60578 main ()
60579 {
60580  modff(0, 0);
60581   ;
60582   return 0;
60583 }
60584 _ACEOF
60585 if ac_fn_cxx_try_compile "$LINENO"; then :
60586   glibcxx_cv_func_modff_use=yes
60587 else
60588   glibcxx_cv_func_modff_use=no
60589 fi
60590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60591       ac_ext=c
60592 ac_cpp='$CPP $CPPFLAGS'
60593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60596
60597
60598 fi
60599
60600   fi
60601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60602 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60603
60604   if test x$glibcxx_cv_func_modff_use = x"yes"; then
60605     for ac_func in modff
60606 do :
60607   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60608 if test "x$ac_cv_func_modff" = x""yes; then :
60609   cat >>confdefs.h <<_ACEOF
60610 #define HAVE_MODFF 1
60611 _ACEOF
60612
60613 fi
60614 done
60615
60616   else
60617
60618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60619 $as_echo_n "checking for _modff declaration... " >&6; }
60620   if test x${glibcxx_cv_func__modff_use+set} != xset; then
60621     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60622   $as_echo_n "(cached) " >&6
60623 else
60624
60625
60626       ac_ext=cpp
60627 ac_cpp='$CXXCPP $CPPFLAGS'
60628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60631
60632       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60633 /* end confdefs.h.  */
60634 #include <math.h>
60635 int
60636 main ()
60637 {
60638  _modff(0, 0);
60639   ;
60640   return 0;
60641 }
60642 _ACEOF
60643 if ac_fn_cxx_try_compile "$LINENO"; then :
60644   glibcxx_cv_func__modff_use=yes
60645 else
60646   glibcxx_cv_func__modff_use=no
60647 fi
60648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60649       ac_ext=c
60650 ac_cpp='$CPP $CPPFLAGS'
60651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60654
60655
60656 fi
60657
60658   fi
60659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60660 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60661
60662     if test x$glibcxx_cv_func__modff_use = x"yes"; then
60663       for ac_func in _modff
60664 do :
60665   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60666 if test "x$ac_cv_func__modff" = x""yes; then :
60667   cat >>confdefs.h <<_ACEOF
60668 #define HAVE__MODFF 1
60669 _ACEOF
60670
60671 fi
60672 done
60673
60674     fi
60675   fi
60676
60677
60678
60679
60680
60681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60682 $as_echo_n "checking for modf declaration... " >&6; }
60683   if test x${glibcxx_cv_func_modf_use+set} != xset; then
60684     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60685   $as_echo_n "(cached) " >&6
60686 else
60687
60688
60689       ac_ext=cpp
60690 ac_cpp='$CXXCPP $CPPFLAGS'
60691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60694
60695       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60696 /* end confdefs.h.  */
60697 #include <math.h>
60698 int
60699 main ()
60700 {
60701  modf(0, 0);
60702   ;
60703   return 0;
60704 }
60705 _ACEOF
60706 if ac_fn_cxx_try_compile "$LINENO"; then :
60707   glibcxx_cv_func_modf_use=yes
60708 else
60709   glibcxx_cv_func_modf_use=no
60710 fi
60711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60712       ac_ext=c
60713 ac_cpp='$CPP $CPPFLAGS'
60714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60717
60718
60719 fi
60720
60721   fi
60722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60723 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60724
60725   if test x$glibcxx_cv_func_modf_use = x"yes"; then
60726     for ac_func in modf
60727 do :
60728   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60729 if test "x$ac_cv_func_modf" = x""yes; then :
60730   cat >>confdefs.h <<_ACEOF
60731 #define HAVE_MODF 1
60732 _ACEOF
60733
60734 fi
60735 done
60736
60737   else
60738
60739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60740 $as_echo_n "checking for _modf declaration... " >&6; }
60741   if test x${glibcxx_cv_func__modf_use+set} != xset; then
60742     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60743   $as_echo_n "(cached) " >&6
60744 else
60745
60746
60747       ac_ext=cpp
60748 ac_cpp='$CXXCPP $CPPFLAGS'
60749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60752
60753       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60754 /* end confdefs.h.  */
60755 #include <math.h>
60756 int
60757 main ()
60758 {
60759  _modf(0, 0);
60760   ;
60761   return 0;
60762 }
60763 _ACEOF
60764 if ac_fn_cxx_try_compile "$LINENO"; then :
60765   glibcxx_cv_func__modf_use=yes
60766 else
60767   glibcxx_cv_func__modf_use=no
60768 fi
60769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60770       ac_ext=c
60771 ac_cpp='$CPP $CPPFLAGS'
60772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60775
60776
60777 fi
60778
60779   fi
60780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60781 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60782
60783     if test x$glibcxx_cv_func__modf_use = x"yes"; then
60784       for ac_func in _modf
60785 do :
60786   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60787 if test "x$ac_cv_func__modf" = x""yes; then :
60788   cat >>confdefs.h <<_ACEOF
60789 #define HAVE__MODF 1
60790 _ACEOF
60791
60792 fi
60793 done
60794
60795     fi
60796   fi
60797
60798
60799
60800
60801
60802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60803 $as_echo_n "checking for powf declaration... " >&6; }
60804   if test x${glibcxx_cv_func_powf_use+set} != xset; then
60805     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60806   $as_echo_n "(cached) " >&6
60807 else
60808
60809
60810       ac_ext=cpp
60811 ac_cpp='$CXXCPP $CPPFLAGS'
60812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60815
60816       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60817 /* end confdefs.h.  */
60818 #include <math.h>
60819 int
60820 main ()
60821 {
60822  powf(0, 0);
60823   ;
60824   return 0;
60825 }
60826 _ACEOF
60827 if ac_fn_cxx_try_compile "$LINENO"; then :
60828   glibcxx_cv_func_powf_use=yes
60829 else
60830   glibcxx_cv_func_powf_use=no
60831 fi
60832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60833       ac_ext=c
60834 ac_cpp='$CPP $CPPFLAGS'
60835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60838
60839
60840 fi
60841
60842   fi
60843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60844 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60845
60846   if test x$glibcxx_cv_func_powf_use = x"yes"; then
60847     for ac_func in powf
60848 do :
60849   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60850 if test "x$ac_cv_func_powf" = x""yes; then :
60851   cat >>confdefs.h <<_ACEOF
60852 #define HAVE_POWF 1
60853 _ACEOF
60854
60855 fi
60856 done
60857
60858   else
60859
60860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60861 $as_echo_n "checking for _powf declaration... " >&6; }
60862   if test x${glibcxx_cv_func__powf_use+set} != xset; then
60863     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60864   $as_echo_n "(cached) " >&6
60865 else
60866
60867
60868       ac_ext=cpp
60869 ac_cpp='$CXXCPP $CPPFLAGS'
60870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60873
60874       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60875 /* end confdefs.h.  */
60876 #include <math.h>
60877 int
60878 main ()
60879 {
60880  _powf(0, 0);
60881   ;
60882   return 0;
60883 }
60884 _ACEOF
60885 if ac_fn_cxx_try_compile "$LINENO"; then :
60886   glibcxx_cv_func__powf_use=yes
60887 else
60888   glibcxx_cv_func__powf_use=no
60889 fi
60890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60891       ac_ext=c
60892 ac_cpp='$CPP $CPPFLAGS'
60893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60896
60897
60898 fi
60899
60900   fi
60901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60902 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60903
60904     if test x$glibcxx_cv_func__powf_use = x"yes"; then
60905       for ac_func in _powf
60906 do :
60907   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60908 if test "x$ac_cv_func__powf" = x""yes; then :
60909   cat >>confdefs.h <<_ACEOF
60910 #define HAVE__POWF 1
60911 _ACEOF
60912
60913 fi
60914 done
60915
60916     fi
60917   fi
60918
60919
60920
60921
60922
60923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60924 $as_echo_n "checking for sqrtf declaration... " >&6; }
60925   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60926     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60927   $as_echo_n "(cached) " >&6
60928 else
60929
60930
60931       ac_ext=cpp
60932 ac_cpp='$CXXCPP $CPPFLAGS'
60933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60936
60937       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60938 /* end confdefs.h.  */
60939 #include <math.h>
60940                       #ifdef HAVE_IEEEFP_H
60941                       #include <ieeefp.h>
60942                       #endif
60943
60944 int
60945 main ()
60946 {
60947  sqrtf(0);
60948   ;
60949   return 0;
60950 }
60951 _ACEOF
60952 if ac_fn_cxx_try_compile "$LINENO"; then :
60953   glibcxx_cv_func_sqrtf_use=yes
60954 else
60955   glibcxx_cv_func_sqrtf_use=no
60956 fi
60957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60958       ac_ext=c
60959 ac_cpp='$CPP $CPPFLAGS'
60960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60963
60964
60965 fi
60966
60967   fi
60968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60969 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60970
60971   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60972     for ac_func in sqrtf
60973 do :
60974   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60975 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60976   cat >>confdefs.h <<_ACEOF
60977 #define HAVE_SQRTF 1
60978 _ACEOF
60979
60980 fi
60981 done
60982
60983   else
60984
60985   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60986 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60987   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60988     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60989   $as_echo_n "(cached) " >&6
60990 else
60991
60992
60993       ac_ext=cpp
60994 ac_cpp='$CXXCPP $CPPFLAGS'
60995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60998
60999       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61000 /* end confdefs.h.  */
61001 #include <math.h>
61002                       #ifdef HAVE_IEEEFP_H
61003                       #include <ieeefp.h>
61004                       #endif
61005
61006 int
61007 main ()
61008 {
61009  _sqrtf(0);
61010   ;
61011   return 0;
61012 }
61013 _ACEOF
61014 if ac_fn_cxx_try_compile "$LINENO"; then :
61015   glibcxx_cv_func__sqrtf_use=yes
61016 else
61017   glibcxx_cv_func__sqrtf_use=no
61018 fi
61019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61020       ac_ext=c
61021 ac_cpp='$CPP $CPPFLAGS'
61022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61025
61026
61027 fi
61028
61029   fi
61030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61031 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61032
61033     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61034       for ac_func in _sqrtf
61035 do :
61036   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61037 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61038   cat >>confdefs.h <<_ACEOF
61039 #define HAVE__SQRTF 1
61040 _ACEOF
61041
61042 fi
61043 done
61044
61045     fi
61046   fi
61047
61048
61049
61050
61051
61052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61053 $as_echo_n "checking for sincosf declaration... " >&6; }
61054   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61055     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61056   $as_echo_n "(cached) " >&6
61057 else
61058
61059
61060       ac_ext=cpp
61061 ac_cpp='$CXXCPP $CPPFLAGS'
61062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61065
61066       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61067 /* end confdefs.h.  */
61068 #include <math.h>
61069 int
61070 main ()
61071 {
61072  sincosf(0, 0, 0);
61073   ;
61074   return 0;
61075 }
61076 _ACEOF
61077 if ac_fn_cxx_try_compile "$LINENO"; then :
61078   glibcxx_cv_func_sincosf_use=yes
61079 else
61080   glibcxx_cv_func_sincosf_use=no
61081 fi
61082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61083       ac_ext=c
61084 ac_cpp='$CPP $CPPFLAGS'
61085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61088
61089
61090 fi
61091
61092   fi
61093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61094 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61095
61096   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61097     for ac_func in sincosf
61098 do :
61099   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61100 if test "x$ac_cv_func_sincosf" = x""yes; then :
61101   cat >>confdefs.h <<_ACEOF
61102 #define HAVE_SINCOSF 1
61103 _ACEOF
61104
61105 fi
61106 done
61107
61108   else
61109
61110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61111 $as_echo_n "checking for _sincosf declaration... " >&6; }
61112   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61113     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61114   $as_echo_n "(cached) " >&6
61115 else
61116
61117
61118       ac_ext=cpp
61119 ac_cpp='$CXXCPP $CPPFLAGS'
61120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61123
61124       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61125 /* end confdefs.h.  */
61126 #include <math.h>
61127 int
61128 main ()
61129 {
61130  _sincosf(0, 0, 0);
61131   ;
61132   return 0;
61133 }
61134 _ACEOF
61135 if ac_fn_cxx_try_compile "$LINENO"; then :
61136   glibcxx_cv_func__sincosf_use=yes
61137 else
61138   glibcxx_cv_func__sincosf_use=no
61139 fi
61140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61141       ac_ext=c
61142 ac_cpp='$CPP $CPPFLAGS'
61143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61146
61147
61148 fi
61149
61150   fi
61151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61152 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61153
61154     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61155       for ac_func in _sincosf
61156 do :
61157   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61158 if test "x$ac_cv_func__sincosf" = x""yes; then :
61159   cat >>confdefs.h <<_ACEOF
61160 #define HAVE__SINCOSF 1
61161 _ACEOF
61162
61163 fi
61164 done
61165
61166     fi
61167   fi
61168
61169
61170
61171
61172
61173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61174 $as_echo_n "checking for finitef declaration... " >&6; }
61175   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61176     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61177   $as_echo_n "(cached) " >&6
61178 else
61179
61180
61181       ac_ext=cpp
61182 ac_cpp='$CXXCPP $CPPFLAGS'
61183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61186
61187       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61188 /* end confdefs.h.  */
61189 #include <math.h>
61190                       #ifdef HAVE_IEEEFP_H
61191                       #include <ieeefp.h>
61192                       #endif
61193
61194 int
61195 main ()
61196 {
61197  finitef(0);
61198   ;
61199   return 0;
61200 }
61201 _ACEOF
61202 if ac_fn_cxx_try_compile "$LINENO"; then :
61203   glibcxx_cv_func_finitef_use=yes
61204 else
61205   glibcxx_cv_func_finitef_use=no
61206 fi
61207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61208       ac_ext=c
61209 ac_cpp='$CPP $CPPFLAGS'
61210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61213
61214
61215 fi
61216
61217   fi
61218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61219 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61220
61221   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61222     for ac_func in finitef
61223 do :
61224   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61225 if test "x$ac_cv_func_finitef" = x""yes; then :
61226   cat >>confdefs.h <<_ACEOF
61227 #define HAVE_FINITEF 1
61228 _ACEOF
61229
61230 fi
61231 done
61232
61233   else
61234
61235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61236 $as_echo_n "checking for _finitef declaration... " >&6; }
61237   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61238     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61239   $as_echo_n "(cached) " >&6
61240 else
61241
61242
61243       ac_ext=cpp
61244 ac_cpp='$CXXCPP $CPPFLAGS'
61245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61248
61249       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61250 /* end confdefs.h.  */
61251 #include <math.h>
61252                       #ifdef HAVE_IEEEFP_H
61253                       #include <ieeefp.h>
61254                       #endif
61255
61256 int
61257 main ()
61258 {
61259  _finitef(0);
61260   ;
61261   return 0;
61262 }
61263 _ACEOF
61264 if ac_fn_cxx_try_compile "$LINENO"; then :
61265   glibcxx_cv_func__finitef_use=yes
61266 else
61267   glibcxx_cv_func__finitef_use=no
61268 fi
61269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61270       ac_ext=c
61271 ac_cpp='$CPP $CPPFLAGS'
61272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61275
61276
61277 fi
61278
61279   fi
61280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61281 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61282
61283     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61284       for ac_func in _finitef
61285 do :
61286   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61287 if test "x$ac_cv_func__finitef" = x""yes; then :
61288   cat >>confdefs.h <<_ACEOF
61289 #define HAVE__FINITEF 1
61290 _ACEOF
61291
61292 fi
61293 done
61294
61295     fi
61296   fi
61297
61298
61299
61300
61301
61302     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61303 $as_echo_n "checking for long double trig functions... " >&6; }
61304   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61305   $as_echo_n "(cached) " >&6
61306 else
61307
61308
61309     ac_ext=cpp
61310 ac_cpp='$CXXCPP $CPPFLAGS'
61311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61314
61315     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61316 /* end confdefs.h.  */
61317 #include <math.h>
61318 int
61319 main ()
61320 {
61321 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61322   ;
61323   return 0;
61324 }
61325 _ACEOF
61326 if ac_fn_cxx_try_compile "$LINENO"; then :
61327   glibcxx_cv_func_long_double_trig_use=yes
61328 else
61329   glibcxx_cv_func_long_double_trig_use=no
61330 fi
61331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61332     ac_ext=c
61333 ac_cpp='$CPP $CPPFLAGS'
61334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61337
61338 fi
61339
61340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61341 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61342   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61343     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61344 do :
61345   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61346 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61347 eval as_val=\$$as_ac_var
61348    if test "x$as_val" = x""yes; then :
61349   cat >>confdefs.h <<_ACEOF
61350 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61351 _ACEOF
61352
61353 fi
61354 done
61355
61356   else
61357     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61358 $as_echo_n "checking for _long double trig functions... " >&6; }
61359     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61360   $as_echo_n "(cached) " >&6
61361 else
61362
61363
61364       ac_ext=cpp
61365 ac_cpp='$CXXCPP $CPPFLAGS'
61366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61369
61370       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61371 /* end confdefs.h.  */
61372 #include <math.h>
61373 int
61374 main ()
61375 {
61376 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61377   ;
61378   return 0;
61379 }
61380 _ACEOF
61381 if ac_fn_cxx_try_compile "$LINENO"; then :
61382   glibcxx_cv_func__long_double_trig_use=yes
61383 else
61384   glibcxx_cv_func__long_double_trig_use=no
61385 fi
61386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61387       ac_ext=c
61388 ac_cpp='$CPP $CPPFLAGS'
61389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61392
61393 fi
61394
61395     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61396 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61397     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61398       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61399 do :
61400   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61401 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61402 eval as_val=\$$as_ac_var
61403    if test "x$as_val" = x""yes; then :
61404   cat >>confdefs.h <<_ACEOF
61405 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61406 _ACEOF
61407
61408 fi
61409 done
61410
61411     fi
61412   fi
61413
61414
61415
61416
61417
61418     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61419 $as_echo_n "checking for long double round functions... " >&6; }
61420   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61421   $as_echo_n "(cached) " >&6
61422 else
61423
61424
61425     ac_ext=cpp
61426 ac_cpp='$CXXCPP $CPPFLAGS'
61427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61430
61431     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61432 /* end confdefs.h.  */
61433 #include <math.h>
61434 int
61435 main ()
61436 {
61437 ceill (0); floorl (0);
61438   ;
61439   return 0;
61440 }
61441 _ACEOF
61442 if ac_fn_cxx_try_compile "$LINENO"; then :
61443   glibcxx_cv_func_long_double_round_use=yes
61444 else
61445   glibcxx_cv_func_long_double_round_use=no
61446 fi
61447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61448     ac_ext=c
61449 ac_cpp='$CPP $CPPFLAGS'
61450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61453
61454 fi
61455
61456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61457 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61458   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61459     for ac_func in ceill floorl
61460 do :
61461   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61462 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61463 eval as_val=\$$as_ac_var
61464    if test "x$as_val" = x""yes; then :
61465   cat >>confdefs.h <<_ACEOF
61466 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61467 _ACEOF
61468
61469 fi
61470 done
61471
61472   else
61473     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61474 $as_echo_n "checking for _long double round functions... " >&6; }
61475     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61476   $as_echo_n "(cached) " >&6
61477 else
61478
61479
61480       ac_ext=cpp
61481 ac_cpp='$CXXCPP $CPPFLAGS'
61482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61485
61486       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61487 /* end confdefs.h.  */
61488 #include <math.h>
61489 int
61490 main ()
61491 {
61492 _ceill (0); _floorl (0);
61493   ;
61494   return 0;
61495 }
61496 _ACEOF
61497 if ac_fn_cxx_try_compile "$LINENO"; then :
61498   glibcxx_cv_func__long_double_round_use=yes
61499 else
61500   glibcxx_cv_func__long_double_round_use=no
61501 fi
61502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61503       ac_ext=c
61504 ac_cpp='$CPP $CPPFLAGS'
61505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61508
61509 fi
61510
61511     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61512 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61513     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61514       for ac_func in _ceill _floorl
61515 do :
61516   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61517 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61518 eval as_val=\$$as_ac_var
61519    if test "x$as_val" = x""yes; then :
61520   cat >>confdefs.h <<_ACEOF
61521 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61522 _ACEOF
61523
61524 fi
61525 done
61526
61527     fi
61528   fi
61529
61530
61531
61532
61533
61534
61535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61536 $as_echo_n "checking for isnanl declaration... " >&6; }
61537   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61538     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61539   $as_echo_n "(cached) " >&6
61540 else
61541
61542
61543       ac_ext=cpp
61544 ac_cpp='$CXXCPP $CPPFLAGS'
61545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61548
61549       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61550 /* end confdefs.h.  */
61551 #include <math.h>
61552                       #ifdef HAVE_IEEEFP_H
61553                       #include <ieeefp.h>
61554                       #endif
61555
61556 int
61557 main ()
61558 {
61559  isnanl(0);
61560   ;
61561   return 0;
61562 }
61563 _ACEOF
61564 if ac_fn_cxx_try_compile "$LINENO"; then :
61565   glibcxx_cv_func_isnanl_use=yes
61566 else
61567   glibcxx_cv_func_isnanl_use=no
61568 fi
61569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61570       ac_ext=c
61571 ac_cpp='$CPP $CPPFLAGS'
61572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61575
61576
61577 fi
61578
61579   fi
61580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61581 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61582
61583   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61584     for ac_func in isnanl
61585 do :
61586   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61587 if test "x$ac_cv_func_isnanl" = x""yes; then :
61588   cat >>confdefs.h <<_ACEOF
61589 #define HAVE_ISNANL 1
61590 _ACEOF
61591
61592 fi
61593 done
61594
61595   else
61596
61597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61598 $as_echo_n "checking for _isnanl declaration... " >&6; }
61599   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61600     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61601   $as_echo_n "(cached) " >&6
61602 else
61603
61604
61605       ac_ext=cpp
61606 ac_cpp='$CXXCPP $CPPFLAGS'
61607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61610
61611       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61612 /* end confdefs.h.  */
61613 #include <math.h>
61614                       #ifdef HAVE_IEEEFP_H
61615                       #include <ieeefp.h>
61616                       #endif
61617
61618 int
61619 main ()
61620 {
61621  _isnanl(0);
61622   ;
61623   return 0;
61624 }
61625 _ACEOF
61626 if ac_fn_cxx_try_compile "$LINENO"; then :
61627   glibcxx_cv_func__isnanl_use=yes
61628 else
61629   glibcxx_cv_func__isnanl_use=no
61630 fi
61631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61632       ac_ext=c
61633 ac_cpp='$CPP $CPPFLAGS'
61634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61637
61638
61639 fi
61640
61641   fi
61642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61643 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61644
61645     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61646       for ac_func in _isnanl
61647 do :
61648   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61649 if test "x$ac_cv_func__isnanl" = x""yes; then :
61650   cat >>confdefs.h <<_ACEOF
61651 #define HAVE__ISNANL 1
61652 _ACEOF
61653
61654 fi
61655 done
61656
61657     fi
61658   fi
61659
61660
61661
61662
61663
61664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61665 $as_echo_n "checking for isinfl declaration... " >&6; }
61666   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61667     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61668   $as_echo_n "(cached) " >&6
61669 else
61670
61671
61672       ac_ext=cpp
61673 ac_cpp='$CXXCPP $CPPFLAGS'
61674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61677
61678       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61679 /* end confdefs.h.  */
61680 #include <math.h>
61681                       #ifdef HAVE_IEEEFP_H
61682                       #include <ieeefp.h>
61683                       #endif
61684
61685 int
61686 main ()
61687 {
61688  isinfl(0);
61689   ;
61690   return 0;
61691 }
61692 _ACEOF
61693 if ac_fn_cxx_try_compile "$LINENO"; then :
61694   glibcxx_cv_func_isinfl_use=yes
61695 else
61696   glibcxx_cv_func_isinfl_use=no
61697 fi
61698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61699       ac_ext=c
61700 ac_cpp='$CPP $CPPFLAGS'
61701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61704
61705
61706 fi
61707
61708   fi
61709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61710 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61711
61712   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61713     for ac_func in isinfl
61714 do :
61715   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61716 if test "x$ac_cv_func_isinfl" = x""yes; then :
61717   cat >>confdefs.h <<_ACEOF
61718 #define HAVE_ISINFL 1
61719 _ACEOF
61720
61721 fi
61722 done
61723
61724   else
61725
61726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61727 $as_echo_n "checking for _isinfl declaration... " >&6; }
61728   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61729     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61730   $as_echo_n "(cached) " >&6
61731 else
61732
61733
61734       ac_ext=cpp
61735 ac_cpp='$CXXCPP $CPPFLAGS'
61736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61739
61740       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61741 /* end confdefs.h.  */
61742 #include <math.h>
61743                       #ifdef HAVE_IEEEFP_H
61744                       #include <ieeefp.h>
61745                       #endif
61746
61747 int
61748 main ()
61749 {
61750  _isinfl(0);
61751   ;
61752   return 0;
61753 }
61754 _ACEOF
61755 if ac_fn_cxx_try_compile "$LINENO"; then :
61756   glibcxx_cv_func__isinfl_use=yes
61757 else
61758   glibcxx_cv_func__isinfl_use=no
61759 fi
61760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61761       ac_ext=c
61762 ac_cpp='$CPP $CPPFLAGS'
61763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61766
61767
61768 fi
61769
61770   fi
61771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61772 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61773
61774     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61775       for ac_func in _isinfl
61776 do :
61777   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61778 if test "x$ac_cv_func__isinfl" = x""yes; then :
61779   cat >>confdefs.h <<_ACEOF
61780 #define HAVE__ISINFL 1
61781 _ACEOF
61782
61783 fi
61784 done
61785
61786     fi
61787   fi
61788
61789
61790
61791
61792
61793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61794 $as_echo_n "checking for atan2l declaration... " >&6; }
61795   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61796     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61797   $as_echo_n "(cached) " >&6
61798 else
61799
61800
61801       ac_ext=cpp
61802 ac_cpp='$CXXCPP $CPPFLAGS'
61803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61806
61807       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61808 /* end confdefs.h.  */
61809 #include <math.h>
61810 int
61811 main ()
61812 {
61813  atan2l(0, 0);
61814   ;
61815   return 0;
61816 }
61817 _ACEOF
61818 if ac_fn_cxx_try_compile "$LINENO"; then :
61819   glibcxx_cv_func_atan2l_use=yes
61820 else
61821   glibcxx_cv_func_atan2l_use=no
61822 fi
61823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61824       ac_ext=c
61825 ac_cpp='$CPP $CPPFLAGS'
61826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61829
61830
61831 fi
61832
61833   fi
61834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61835 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61836
61837   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61838     for ac_func in atan2l
61839 do :
61840   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61841 if test "x$ac_cv_func_atan2l" = x""yes; then :
61842   cat >>confdefs.h <<_ACEOF
61843 #define HAVE_ATAN2L 1
61844 _ACEOF
61845
61846 fi
61847 done
61848
61849   else
61850
61851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61852 $as_echo_n "checking for _atan2l declaration... " >&6; }
61853   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61854     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61855   $as_echo_n "(cached) " >&6
61856 else
61857
61858
61859       ac_ext=cpp
61860 ac_cpp='$CXXCPP $CPPFLAGS'
61861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61864
61865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61866 /* end confdefs.h.  */
61867 #include <math.h>
61868 int
61869 main ()
61870 {
61871  _atan2l(0, 0);
61872   ;
61873   return 0;
61874 }
61875 _ACEOF
61876 if ac_fn_cxx_try_compile "$LINENO"; then :
61877   glibcxx_cv_func__atan2l_use=yes
61878 else
61879   glibcxx_cv_func__atan2l_use=no
61880 fi
61881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61882       ac_ext=c
61883 ac_cpp='$CPP $CPPFLAGS'
61884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61887
61888
61889 fi
61890
61891   fi
61892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61893 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61894
61895     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61896       for ac_func in _atan2l
61897 do :
61898   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61899 if test "x$ac_cv_func__atan2l" = x""yes; then :
61900   cat >>confdefs.h <<_ACEOF
61901 #define HAVE__ATAN2L 1
61902 _ACEOF
61903
61904 fi
61905 done
61906
61907     fi
61908   fi
61909
61910
61911
61912
61913
61914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61915 $as_echo_n "checking for expl declaration... " >&6; }
61916   if test x${glibcxx_cv_func_expl_use+set} != xset; then
61917     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61918   $as_echo_n "(cached) " >&6
61919 else
61920
61921
61922       ac_ext=cpp
61923 ac_cpp='$CXXCPP $CPPFLAGS'
61924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61927
61928       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61929 /* end confdefs.h.  */
61930 #include <math.h>
61931                       #ifdef HAVE_IEEEFP_H
61932                       #include <ieeefp.h>
61933                       #endif
61934
61935 int
61936 main ()
61937 {
61938  expl(0);
61939   ;
61940   return 0;
61941 }
61942 _ACEOF
61943 if ac_fn_cxx_try_compile "$LINENO"; then :
61944   glibcxx_cv_func_expl_use=yes
61945 else
61946   glibcxx_cv_func_expl_use=no
61947 fi
61948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61949       ac_ext=c
61950 ac_cpp='$CPP $CPPFLAGS'
61951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61954
61955
61956 fi
61957
61958   fi
61959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61960 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61961
61962   if test x$glibcxx_cv_func_expl_use = x"yes"; then
61963     for ac_func in expl
61964 do :
61965   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61966 if test "x$ac_cv_func_expl" = x""yes; then :
61967   cat >>confdefs.h <<_ACEOF
61968 #define HAVE_EXPL 1
61969 _ACEOF
61970
61971 fi
61972 done
61973
61974   else
61975
61976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61977 $as_echo_n "checking for _expl declaration... " >&6; }
61978   if test x${glibcxx_cv_func__expl_use+set} != xset; then
61979     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61980   $as_echo_n "(cached) " >&6
61981 else
61982
61983
61984       ac_ext=cpp
61985 ac_cpp='$CXXCPP $CPPFLAGS'
61986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61989
61990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61991 /* end confdefs.h.  */
61992 #include <math.h>
61993                       #ifdef HAVE_IEEEFP_H
61994                       #include <ieeefp.h>
61995                       #endif
61996
61997 int
61998 main ()
61999 {
62000  _expl(0);
62001   ;
62002   return 0;
62003 }
62004 _ACEOF
62005 if ac_fn_cxx_try_compile "$LINENO"; then :
62006   glibcxx_cv_func__expl_use=yes
62007 else
62008   glibcxx_cv_func__expl_use=no
62009 fi
62010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62011       ac_ext=c
62012 ac_cpp='$CPP $CPPFLAGS'
62013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62016
62017
62018 fi
62019
62020   fi
62021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62022 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62023
62024     if test x$glibcxx_cv_func__expl_use = x"yes"; then
62025       for ac_func in _expl
62026 do :
62027   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62028 if test "x$ac_cv_func__expl" = x""yes; then :
62029   cat >>confdefs.h <<_ACEOF
62030 #define HAVE__EXPL 1
62031 _ACEOF
62032
62033 fi
62034 done
62035
62036     fi
62037   fi
62038
62039
62040
62041
62042
62043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62044 $as_echo_n "checking for fabsl declaration... " >&6; }
62045   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62046     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62047   $as_echo_n "(cached) " >&6
62048 else
62049
62050
62051       ac_ext=cpp
62052 ac_cpp='$CXXCPP $CPPFLAGS'
62053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62056
62057       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62058 /* end confdefs.h.  */
62059 #include <math.h>
62060                       #ifdef HAVE_IEEEFP_H
62061                       #include <ieeefp.h>
62062                       #endif
62063
62064 int
62065 main ()
62066 {
62067  fabsl(0);
62068   ;
62069   return 0;
62070 }
62071 _ACEOF
62072 if ac_fn_cxx_try_compile "$LINENO"; then :
62073   glibcxx_cv_func_fabsl_use=yes
62074 else
62075   glibcxx_cv_func_fabsl_use=no
62076 fi
62077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62078       ac_ext=c
62079 ac_cpp='$CPP $CPPFLAGS'
62080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62083
62084
62085 fi
62086
62087   fi
62088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62089 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62090
62091   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62092     for ac_func in fabsl
62093 do :
62094   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62095 if test "x$ac_cv_func_fabsl" = x""yes; then :
62096   cat >>confdefs.h <<_ACEOF
62097 #define HAVE_FABSL 1
62098 _ACEOF
62099
62100 fi
62101 done
62102
62103   else
62104
62105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62106 $as_echo_n "checking for _fabsl declaration... " >&6; }
62107   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62108     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62109   $as_echo_n "(cached) " >&6
62110 else
62111
62112
62113       ac_ext=cpp
62114 ac_cpp='$CXXCPP $CPPFLAGS'
62115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62118
62119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62120 /* end confdefs.h.  */
62121 #include <math.h>
62122                       #ifdef HAVE_IEEEFP_H
62123                       #include <ieeefp.h>
62124                       #endif
62125
62126 int
62127 main ()
62128 {
62129  _fabsl(0);
62130   ;
62131   return 0;
62132 }
62133 _ACEOF
62134 if ac_fn_cxx_try_compile "$LINENO"; then :
62135   glibcxx_cv_func__fabsl_use=yes
62136 else
62137   glibcxx_cv_func__fabsl_use=no
62138 fi
62139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62140       ac_ext=c
62141 ac_cpp='$CPP $CPPFLAGS'
62142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62145
62146
62147 fi
62148
62149   fi
62150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62151 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62152
62153     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62154       for ac_func in _fabsl
62155 do :
62156   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62157 if test "x$ac_cv_func__fabsl" = x""yes; then :
62158   cat >>confdefs.h <<_ACEOF
62159 #define HAVE__FABSL 1
62160 _ACEOF
62161
62162 fi
62163 done
62164
62165     fi
62166   fi
62167
62168
62169
62170
62171
62172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62173 $as_echo_n "checking for fmodl declaration... " >&6; }
62174   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62175     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62176   $as_echo_n "(cached) " >&6
62177 else
62178
62179
62180       ac_ext=cpp
62181 ac_cpp='$CXXCPP $CPPFLAGS'
62182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62185
62186       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62187 /* end confdefs.h.  */
62188 #include <math.h>
62189 int
62190 main ()
62191 {
62192  fmodl(0, 0);
62193   ;
62194   return 0;
62195 }
62196 _ACEOF
62197 if ac_fn_cxx_try_compile "$LINENO"; then :
62198   glibcxx_cv_func_fmodl_use=yes
62199 else
62200   glibcxx_cv_func_fmodl_use=no
62201 fi
62202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62203       ac_ext=c
62204 ac_cpp='$CPP $CPPFLAGS'
62205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62208
62209
62210 fi
62211
62212   fi
62213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62214 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62215
62216   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62217     for ac_func in fmodl
62218 do :
62219   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62220 if test "x$ac_cv_func_fmodl" = x""yes; then :
62221   cat >>confdefs.h <<_ACEOF
62222 #define HAVE_FMODL 1
62223 _ACEOF
62224
62225 fi
62226 done
62227
62228   else
62229
62230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62231 $as_echo_n "checking for _fmodl declaration... " >&6; }
62232   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62233     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62234   $as_echo_n "(cached) " >&6
62235 else
62236
62237
62238       ac_ext=cpp
62239 ac_cpp='$CXXCPP $CPPFLAGS'
62240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62243
62244       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62245 /* end confdefs.h.  */
62246 #include <math.h>
62247 int
62248 main ()
62249 {
62250  _fmodl(0, 0);
62251   ;
62252   return 0;
62253 }
62254 _ACEOF
62255 if ac_fn_cxx_try_compile "$LINENO"; then :
62256   glibcxx_cv_func__fmodl_use=yes
62257 else
62258   glibcxx_cv_func__fmodl_use=no
62259 fi
62260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62261       ac_ext=c
62262 ac_cpp='$CPP $CPPFLAGS'
62263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62266
62267
62268 fi
62269
62270   fi
62271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62272 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62273
62274     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62275       for ac_func in _fmodl
62276 do :
62277   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62278 if test "x$ac_cv_func__fmodl" = x""yes; then :
62279   cat >>confdefs.h <<_ACEOF
62280 #define HAVE__FMODL 1
62281 _ACEOF
62282
62283 fi
62284 done
62285
62286     fi
62287   fi
62288
62289
62290
62291
62292
62293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62294 $as_echo_n "checking for frexpl declaration... " >&6; }
62295   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62296     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62297   $as_echo_n "(cached) " >&6
62298 else
62299
62300
62301       ac_ext=cpp
62302 ac_cpp='$CXXCPP $CPPFLAGS'
62303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62306
62307       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62308 /* end confdefs.h.  */
62309 #include <math.h>
62310 int
62311 main ()
62312 {
62313  frexpl(0, 0);
62314   ;
62315   return 0;
62316 }
62317 _ACEOF
62318 if ac_fn_cxx_try_compile "$LINENO"; then :
62319   glibcxx_cv_func_frexpl_use=yes
62320 else
62321   glibcxx_cv_func_frexpl_use=no
62322 fi
62323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62324       ac_ext=c
62325 ac_cpp='$CPP $CPPFLAGS'
62326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62329
62330
62331 fi
62332
62333   fi
62334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62335 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62336
62337   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62338     for ac_func in frexpl
62339 do :
62340   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62341 if test "x$ac_cv_func_frexpl" = x""yes; then :
62342   cat >>confdefs.h <<_ACEOF
62343 #define HAVE_FREXPL 1
62344 _ACEOF
62345
62346 fi
62347 done
62348
62349   else
62350
62351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62352 $as_echo_n "checking for _frexpl declaration... " >&6; }
62353   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62354     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62355   $as_echo_n "(cached) " >&6
62356 else
62357
62358
62359       ac_ext=cpp
62360 ac_cpp='$CXXCPP $CPPFLAGS'
62361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62364
62365       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62366 /* end confdefs.h.  */
62367 #include <math.h>
62368 int
62369 main ()
62370 {
62371  _frexpl(0, 0);
62372   ;
62373   return 0;
62374 }
62375 _ACEOF
62376 if ac_fn_cxx_try_compile "$LINENO"; then :
62377   glibcxx_cv_func__frexpl_use=yes
62378 else
62379   glibcxx_cv_func__frexpl_use=no
62380 fi
62381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62382       ac_ext=c
62383 ac_cpp='$CPP $CPPFLAGS'
62384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62387
62388
62389 fi
62390
62391   fi
62392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62393 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62394
62395     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62396       for ac_func in _frexpl
62397 do :
62398   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62399 if test "x$ac_cv_func__frexpl" = x""yes; then :
62400   cat >>confdefs.h <<_ACEOF
62401 #define HAVE__FREXPL 1
62402 _ACEOF
62403
62404 fi
62405 done
62406
62407     fi
62408   fi
62409
62410
62411
62412
62413
62414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62415 $as_echo_n "checking for hypotl declaration... " >&6; }
62416   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62417     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62418   $as_echo_n "(cached) " >&6
62419 else
62420
62421
62422       ac_ext=cpp
62423 ac_cpp='$CXXCPP $CPPFLAGS'
62424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62427
62428       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62429 /* end confdefs.h.  */
62430 #include <math.h>
62431 int
62432 main ()
62433 {
62434  hypotl(0, 0);
62435   ;
62436   return 0;
62437 }
62438 _ACEOF
62439 if ac_fn_cxx_try_compile "$LINENO"; then :
62440   glibcxx_cv_func_hypotl_use=yes
62441 else
62442   glibcxx_cv_func_hypotl_use=no
62443 fi
62444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62445       ac_ext=c
62446 ac_cpp='$CPP $CPPFLAGS'
62447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62450
62451
62452 fi
62453
62454   fi
62455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62456 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62457
62458   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62459     for ac_func in hypotl
62460 do :
62461   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62462 if test "x$ac_cv_func_hypotl" = x""yes; then :
62463   cat >>confdefs.h <<_ACEOF
62464 #define HAVE_HYPOTL 1
62465 _ACEOF
62466
62467 fi
62468 done
62469
62470   else
62471
62472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62473 $as_echo_n "checking for _hypotl declaration... " >&6; }
62474   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62475     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62476   $as_echo_n "(cached) " >&6
62477 else
62478
62479
62480       ac_ext=cpp
62481 ac_cpp='$CXXCPP $CPPFLAGS'
62482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62485
62486       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62487 /* end confdefs.h.  */
62488 #include <math.h>
62489 int
62490 main ()
62491 {
62492  _hypotl(0, 0);
62493   ;
62494   return 0;
62495 }
62496 _ACEOF
62497 if ac_fn_cxx_try_compile "$LINENO"; then :
62498   glibcxx_cv_func__hypotl_use=yes
62499 else
62500   glibcxx_cv_func__hypotl_use=no
62501 fi
62502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62503       ac_ext=c
62504 ac_cpp='$CPP $CPPFLAGS'
62505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62508
62509
62510 fi
62511
62512   fi
62513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62514 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62515
62516     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62517       for ac_func in _hypotl
62518 do :
62519   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62520 if test "x$ac_cv_func__hypotl" = x""yes; then :
62521   cat >>confdefs.h <<_ACEOF
62522 #define HAVE__HYPOTL 1
62523 _ACEOF
62524
62525 fi
62526 done
62527
62528     fi
62529   fi
62530
62531
62532
62533
62534
62535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62536 $as_echo_n "checking for ldexpl declaration... " >&6; }
62537   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62538     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62539   $as_echo_n "(cached) " >&6
62540 else
62541
62542
62543       ac_ext=cpp
62544 ac_cpp='$CXXCPP $CPPFLAGS'
62545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62548
62549       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62550 /* end confdefs.h.  */
62551 #include <math.h>
62552 int
62553 main ()
62554 {
62555  ldexpl(0, 0);
62556   ;
62557   return 0;
62558 }
62559 _ACEOF
62560 if ac_fn_cxx_try_compile "$LINENO"; then :
62561   glibcxx_cv_func_ldexpl_use=yes
62562 else
62563   glibcxx_cv_func_ldexpl_use=no
62564 fi
62565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62566       ac_ext=c
62567 ac_cpp='$CPP $CPPFLAGS'
62568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62571
62572
62573 fi
62574
62575   fi
62576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62577 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62578
62579   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62580     for ac_func in ldexpl
62581 do :
62582   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62583 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62584   cat >>confdefs.h <<_ACEOF
62585 #define HAVE_LDEXPL 1
62586 _ACEOF
62587
62588 fi
62589 done
62590
62591   else
62592
62593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62594 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62595   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62596     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62597   $as_echo_n "(cached) " >&6
62598 else
62599
62600
62601       ac_ext=cpp
62602 ac_cpp='$CXXCPP $CPPFLAGS'
62603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62606
62607       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62608 /* end confdefs.h.  */
62609 #include <math.h>
62610 int
62611 main ()
62612 {
62613  _ldexpl(0, 0);
62614   ;
62615   return 0;
62616 }
62617 _ACEOF
62618 if ac_fn_cxx_try_compile "$LINENO"; then :
62619   glibcxx_cv_func__ldexpl_use=yes
62620 else
62621   glibcxx_cv_func__ldexpl_use=no
62622 fi
62623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62624       ac_ext=c
62625 ac_cpp='$CPP $CPPFLAGS'
62626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62629
62630
62631 fi
62632
62633   fi
62634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62635 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62636
62637     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62638       for ac_func in _ldexpl
62639 do :
62640   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62641 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62642   cat >>confdefs.h <<_ACEOF
62643 #define HAVE__LDEXPL 1
62644 _ACEOF
62645
62646 fi
62647 done
62648
62649     fi
62650   fi
62651
62652
62653
62654
62655
62656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62657 $as_echo_n "checking for logl declaration... " >&6; }
62658   if test x${glibcxx_cv_func_logl_use+set} != xset; then
62659     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62660   $as_echo_n "(cached) " >&6
62661 else
62662
62663
62664       ac_ext=cpp
62665 ac_cpp='$CXXCPP $CPPFLAGS'
62666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62669
62670       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62671 /* end confdefs.h.  */
62672 #include <math.h>
62673                       #ifdef HAVE_IEEEFP_H
62674                       #include <ieeefp.h>
62675                       #endif
62676
62677 int
62678 main ()
62679 {
62680  logl(0);
62681   ;
62682   return 0;
62683 }
62684 _ACEOF
62685 if ac_fn_cxx_try_compile "$LINENO"; then :
62686   glibcxx_cv_func_logl_use=yes
62687 else
62688   glibcxx_cv_func_logl_use=no
62689 fi
62690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62691       ac_ext=c
62692 ac_cpp='$CPP $CPPFLAGS'
62693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62696
62697
62698 fi
62699
62700   fi
62701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62702 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62703
62704   if test x$glibcxx_cv_func_logl_use = x"yes"; then
62705     for ac_func in logl
62706 do :
62707   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62708 if test "x$ac_cv_func_logl" = x""yes; then :
62709   cat >>confdefs.h <<_ACEOF
62710 #define HAVE_LOGL 1
62711 _ACEOF
62712
62713 fi
62714 done
62715
62716   else
62717
62718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62719 $as_echo_n "checking for _logl declaration... " >&6; }
62720   if test x${glibcxx_cv_func__logl_use+set} != xset; then
62721     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62722   $as_echo_n "(cached) " >&6
62723 else
62724
62725
62726       ac_ext=cpp
62727 ac_cpp='$CXXCPP $CPPFLAGS'
62728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62731
62732       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62733 /* end confdefs.h.  */
62734 #include <math.h>
62735                       #ifdef HAVE_IEEEFP_H
62736                       #include <ieeefp.h>
62737                       #endif
62738
62739 int
62740 main ()
62741 {
62742  _logl(0);
62743   ;
62744   return 0;
62745 }
62746 _ACEOF
62747 if ac_fn_cxx_try_compile "$LINENO"; then :
62748   glibcxx_cv_func__logl_use=yes
62749 else
62750   glibcxx_cv_func__logl_use=no
62751 fi
62752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62753       ac_ext=c
62754 ac_cpp='$CPP $CPPFLAGS'
62755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62758
62759
62760 fi
62761
62762   fi
62763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62764 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62765
62766     if test x$glibcxx_cv_func__logl_use = x"yes"; then
62767       for ac_func in _logl
62768 do :
62769   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62770 if test "x$ac_cv_func__logl" = x""yes; then :
62771   cat >>confdefs.h <<_ACEOF
62772 #define HAVE__LOGL 1
62773 _ACEOF
62774
62775 fi
62776 done
62777
62778     fi
62779   fi
62780
62781
62782
62783
62784
62785   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62786 $as_echo_n "checking for log10l declaration... " >&6; }
62787   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62788     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62789   $as_echo_n "(cached) " >&6
62790 else
62791
62792
62793       ac_ext=cpp
62794 ac_cpp='$CXXCPP $CPPFLAGS'
62795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62798
62799       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62800 /* end confdefs.h.  */
62801 #include <math.h>
62802                       #ifdef HAVE_IEEEFP_H
62803                       #include <ieeefp.h>
62804                       #endif
62805
62806 int
62807 main ()
62808 {
62809  log10l(0);
62810   ;
62811   return 0;
62812 }
62813 _ACEOF
62814 if ac_fn_cxx_try_compile "$LINENO"; then :
62815   glibcxx_cv_func_log10l_use=yes
62816 else
62817   glibcxx_cv_func_log10l_use=no
62818 fi
62819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62820       ac_ext=c
62821 ac_cpp='$CPP $CPPFLAGS'
62822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62825
62826
62827 fi
62828
62829   fi
62830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62831 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62832
62833   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62834     for ac_func in log10l
62835 do :
62836   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62837 if test "x$ac_cv_func_log10l" = x""yes; then :
62838   cat >>confdefs.h <<_ACEOF
62839 #define HAVE_LOG10L 1
62840 _ACEOF
62841
62842 fi
62843 done
62844
62845   else
62846
62847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62848 $as_echo_n "checking for _log10l declaration... " >&6; }
62849   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62850     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62851   $as_echo_n "(cached) " >&6
62852 else
62853
62854
62855       ac_ext=cpp
62856 ac_cpp='$CXXCPP $CPPFLAGS'
62857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62860
62861       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62862 /* end confdefs.h.  */
62863 #include <math.h>
62864                       #ifdef HAVE_IEEEFP_H
62865                       #include <ieeefp.h>
62866                       #endif
62867
62868 int
62869 main ()
62870 {
62871  _log10l(0);
62872   ;
62873   return 0;
62874 }
62875 _ACEOF
62876 if ac_fn_cxx_try_compile "$LINENO"; then :
62877   glibcxx_cv_func__log10l_use=yes
62878 else
62879   glibcxx_cv_func__log10l_use=no
62880 fi
62881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62882       ac_ext=c
62883 ac_cpp='$CPP $CPPFLAGS'
62884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62887
62888
62889 fi
62890
62891   fi
62892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62893 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62894
62895     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62896       for ac_func in _log10l
62897 do :
62898   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62899 if test "x$ac_cv_func__log10l" = x""yes; then :
62900   cat >>confdefs.h <<_ACEOF
62901 #define HAVE__LOG10L 1
62902 _ACEOF
62903
62904 fi
62905 done
62906
62907     fi
62908   fi
62909
62910
62911
62912
62913
62914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62915 $as_echo_n "checking for modfl declaration... " >&6; }
62916   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62917     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62918   $as_echo_n "(cached) " >&6
62919 else
62920
62921
62922       ac_ext=cpp
62923 ac_cpp='$CXXCPP $CPPFLAGS'
62924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62927
62928       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62929 /* end confdefs.h.  */
62930 #include <math.h>
62931 int
62932 main ()
62933 {
62934  modfl(0, 0);
62935   ;
62936   return 0;
62937 }
62938 _ACEOF
62939 if ac_fn_cxx_try_compile "$LINENO"; then :
62940   glibcxx_cv_func_modfl_use=yes
62941 else
62942   glibcxx_cv_func_modfl_use=no
62943 fi
62944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62945       ac_ext=c
62946 ac_cpp='$CPP $CPPFLAGS'
62947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62950
62951
62952 fi
62953
62954   fi
62955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62956 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62957
62958   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62959     for ac_func in modfl
62960 do :
62961   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62962 if test "x$ac_cv_func_modfl" = x""yes; then :
62963   cat >>confdefs.h <<_ACEOF
62964 #define HAVE_MODFL 1
62965 _ACEOF
62966
62967 fi
62968 done
62969
62970   else
62971
62972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62973 $as_echo_n "checking for _modfl declaration... " >&6; }
62974   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62975     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62976   $as_echo_n "(cached) " >&6
62977 else
62978
62979
62980       ac_ext=cpp
62981 ac_cpp='$CXXCPP $CPPFLAGS'
62982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62985
62986       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62987 /* end confdefs.h.  */
62988 #include <math.h>
62989 int
62990 main ()
62991 {
62992  _modfl(0, 0);
62993   ;
62994   return 0;
62995 }
62996 _ACEOF
62997 if ac_fn_cxx_try_compile "$LINENO"; then :
62998   glibcxx_cv_func__modfl_use=yes
62999 else
63000   glibcxx_cv_func__modfl_use=no
63001 fi
63002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63003       ac_ext=c
63004 ac_cpp='$CPP $CPPFLAGS'
63005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63008
63009
63010 fi
63011
63012   fi
63013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63014 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63015
63016     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63017       for ac_func in _modfl
63018 do :
63019   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63020 if test "x$ac_cv_func__modfl" = x""yes; then :
63021   cat >>confdefs.h <<_ACEOF
63022 #define HAVE__MODFL 1
63023 _ACEOF
63024
63025 fi
63026 done
63027
63028     fi
63029   fi
63030
63031
63032
63033
63034
63035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63036 $as_echo_n "checking for powl declaration... " >&6; }
63037   if test x${glibcxx_cv_func_powl_use+set} != xset; then
63038     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63039   $as_echo_n "(cached) " >&6
63040 else
63041
63042
63043       ac_ext=cpp
63044 ac_cpp='$CXXCPP $CPPFLAGS'
63045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63048
63049       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63050 /* end confdefs.h.  */
63051 #include <math.h>
63052 int
63053 main ()
63054 {
63055  powl(0, 0);
63056   ;
63057   return 0;
63058 }
63059 _ACEOF
63060 if ac_fn_cxx_try_compile "$LINENO"; then :
63061   glibcxx_cv_func_powl_use=yes
63062 else
63063   glibcxx_cv_func_powl_use=no
63064 fi
63065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63066       ac_ext=c
63067 ac_cpp='$CPP $CPPFLAGS'
63068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63071
63072
63073 fi
63074
63075   fi
63076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63077 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63078
63079   if test x$glibcxx_cv_func_powl_use = x"yes"; then
63080     for ac_func in powl
63081 do :
63082   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63083 if test "x$ac_cv_func_powl" = x""yes; then :
63084   cat >>confdefs.h <<_ACEOF
63085 #define HAVE_POWL 1
63086 _ACEOF
63087
63088 fi
63089 done
63090
63091   else
63092
63093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63094 $as_echo_n "checking for _powl declaration... " >&6; }
63095   if test x${glibcxx_cv_func__powl_use+set} != xset; then
63096     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63097   $as_echo_n "(cached) " >&6
63098 else
63099
63100
63101       ac_ext=cpp
63102 ac_cpp='$CXXCPP $CPPFLAGS'
63103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63106
63107       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63108 /* end confdefs.h.  */
63109 #include <math.h>
63110 int
63111 main ()
63112 {
63113  _powl(0, 0);
63114   ;
63115   return 0;
63116 }
63117 _ACEOF
63118 if ac_fn_cxx_try_compile "$LINENO"; then :
63119   glibcxx_cv_func__powl_use=yes
63120 else
63121   glibcxx_cv_func__powl_use=no
63122 fi
63123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63124       ac_ext=c
63125 ac_cpp='$CPP $CPPFLAGS'
63126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63129
63130
63131 fi
63132
63133   fi
63134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63135 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63136
63137     if test x$glibcxx_cv_func__powl_use = x"yes"; then
63138       for ac_func in _powl
63139 do :
63140   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63141 if test "x$ac_cv_func__powl" = x""yes; then :
63142   cat >>confdefs.h <<_ACEOF
63143 #define HAVE__POWL 1
63144 _ACEOF
63145
63146 fi
63147 done
63148
63149     fi
63150   fi
63151
63152
63153
63154
63155
63156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63157 $as_echo_n "checking for sqrtl declaration... " >&6; }
63158   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63159     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63160   $as_echo_n "(cached) " >&6
63161 else
63162
63163
63164       ac_ext=cpp
63165 ac_cpp='$CXXCPP $CPPFLAGS'
63166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63169
63170       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63171 /* end confdefs.h.  */
63172 #include <math.h>
63173                       #ifdef HAVE_IEEEFP_H
63174                       #include <ieeefp.h>
63175                       #endif
63176
63177 int
63178 main ()
63179 {
63180  sqrtl(0);
63181   ;
63182   return 0;
63183 }
63184 _ACEOF
63185 if ac_fn_cxx_try_compile "$LINENO"; then :
63186   glibcxx_cv_func_sqrtl_use=yes
63187 else
63188   glibcxx_cv_func_sqrtl_use=no
63189 fi
63190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63191       ac_ext=c
63192 ac_cpp='$CPP $CPPFLAGS'
63193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63196
63197
63198 fi
63199
63200   fi
63201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63202 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63203
63204   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63205     for ac_func in sqrtl
63206 do :
63207   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63208 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63209   cat >>confdefs.h <<_ACEOF
63210 #define HAVE_SQRTL 1
63211 _ACEOF
63212
63213 fi
63214 done
63215
63216   else
63217
63218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63219 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63220   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63221     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63222   $as_echo_n "(cached) " >&6
63223 else
63224
63225
63226       ac_ext=cpp
63227 ac_cpp='$CXXCPP $CPPFLAGS'
63228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63231
63232       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63233 /* end confdefs.h.  */
63234 #include <math.h>
63235                       #ifdef HAVE_IEEEFP_H
63236                       #include <ieeefp.h>
63237                       #endif
63238
63239 int
63240 main ()
63241 {
63242  _sqrtl(0);
63243   ;
63244   return 0;
63245 }
63246 _ACEOF
63247 if ac_fn_cxx_try_compile "$LINENO"; then :
63248   glibcxx_cv_func__sqrtl_use=yes
63249 else
63250   glibcxx_cv_func__sqrtl_use=no
63251 fi
63252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63253       ac_ext=c
63254 ac_cpp='$CPP $CPPFLAGS'
63255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63258
63259
63260 fi
63261
63262   fi
63263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63264 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63265
63266     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63267       for ac_func in _sqrtl
63268 do :
63269   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63270 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63271   cat >>confdefs.h <<_ACEOF
63272 #define HAVE__SQRTL 1
63273 _ACEOF
63274
63275 fi
63276 done
63277
63278     fi
63279   fi
63280
63281
63282
63283
63284
63285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63286 $as_echo_n "checking for sincosl declaration... " >&6; }
63287   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63288     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63289   $as_echo_n "(cached) " >&6
63290 else
63291
63292
63293       ac_ext=cpp
63294 ac_cpp='$CXXCPP $CPPFLAGS'
63295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63298
63299       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63300 /* end confdefs.h.  */
63301 #include <math.h>
63302 int
63303 main ()
63304 {
63305  sincosl(0, 0, 0);
63306   ;
63307   return 0;
63308 }
63309 _ACEOF
63310 if ac_fn_cxx_try_compile "$LINENO"; then :
63311   glibcxx_cv_func_sincosl_use=yes
63312 else
63313   glibcxx_cv_func_sincosl_use=no
63314 fi
63315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63316       ac_ext=c
63317 ac_cpp='$CPP $CPPFLAGS'
63318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63321
63322
63323 fi
63324
63325   fi
63326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63327 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63328
63329   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63330     for ac_func in sincosl
63331 do :
63332   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63333 if test "x$ac_cv_func_sincosl" = x""yes; then :
63334   cat >>confdefs.h <<_ACEOF
63335 #define HAVE_SINCOSL 1
63336 _ACEOF
63337
63338 fi
63339 done
63340
63341   else
63342
63343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63344 $as_echo_n "checking for _sincosl declaration... " >&6; }
63345   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63346     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63347   $as_echo_n "(cached) " >&6
63348 else
63349
63350
63351       ac_ext=cpp
63352 ac_cpp='$CXXCPP $CPPFLAGS'
63353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63356
63357       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63358 /* end confdefs.h.  */
63359 #include <math.h>
63360 int
63361 main ()
63362 {
63363  _sincosl(0, 0, 0);
63364   ;
63365   return 0;
63366 }
63367 _ACEOF
63368 if ac_fn_cxx_try_compile "$LINENO"; then :
63369   glibcxx_cv_func__sincosl_use=yes
63370 else
63371   glibcxx_cv_func__sincosl_use=no
63372 fi
63373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63374       ac_ext=c
63375 ac_cpp='$CPP $CPPFLAGS'
63376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63379
63380
63381 fi
63382
63383   fi
63384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63385 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63386
63387     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63388       for ac_func in _sincosl
63389 do :
63390   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63391 if test "x$ac_cv_func__sincosl" = x""yes; then :
63392   cat >>confdefs.h <<_ACEOF
63393 #define HAVE__SINCOSL 1
63394 _ACEOF
63395
63396 fi
63397 done
63398
63399     fi
63400   fi
63401
63402
63403
63404
63405
63406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63407 $as_echo_n "checking for finitel declaration... " >&6; }
63408   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63409     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63410   $as_echo_n "(cached) " >&6
63411 else
63412
63413
63414       ac_ext=cpp
63415 ac_cpp='$CXXCPP $CPPFLAGS'
63416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63419
63420       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63421 /* end confdefs.h.  */
63422 #include <math.h>
63423                       #ifdef HAVE_IEEEFP_H
63424                       #include <ieeefp.h>
63425                       #endif
63426
63427 int
63428 main ()
63429 {
63430  finitel(0);
63431   ;
63432   return 0;
63433 }
63434 _ACEOF
63435 if ac_fn_cxx_try_compile "$LINENO"; then :
63436   glibcxx_cv_func_finitel_use=yes
63437 else
63438   glibcxx_cv_func_finitel_use=no
63439 fi
63440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63441       ac_ext=c
63442 ac_cpp='$CPP $CPPFLAGS'
63443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63446
63447
63448 fi
63449
63450   fi
63451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63452 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63453
63454   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63455     for ac_func in finitel
63456 do :
63457   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63458 if test "x$ac_cv_func_finitel" = x""yes; then :
63459   cat >>confdefs.h <<_ACEOF
63460 #define HAVE_FINITEL 1
63461 _ACEOF
63462
63463 fi
63464 done
63465
63466   else
63467
63468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63469 $as_echo_n "checking for _finitel declaration... " >&6; }
63470   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63471     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63472   $as_echo_n "(cached) " >&6
63473 else
63474
63475
63476       ac_ext=cpp
63477 ac_cpp='$CXXCPP $CPPFLAGS'
63478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63481
63482       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63483 /* end confdefs.h.  */
63484 #include <math.h>
63485                       #ifdef HAVE_IEEEFP_H
63486                       #include <ieeefp.h>
63487                       #endif
63488
63489 int
63490 main ()
63491 {
63492  _finitel(0);
63493   ;
63494   return 0;
63495 }
63496 _ACEOF
63497 if ac_fn_cxx_try_compile "$LINENO"; then :
63498   glibcxx_cv_func__finitel_use=yes
63499 else
63500   glibcxx_cv_func__finitel_use=no
63501 fi
63502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63503       ac_ext=c
63504 ac_cpp='$CPP $CPPFLAGS'
63505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63508
63509
63510 fi
63511
63512   fi
63513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63514 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63515
63516     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63517       for ac_func in _finitel
63518 do :
63519   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63520 if test "x$ac_cv_func__finitel" = x""yes; then :
63521   cat >>confdefs.h <<_ACEOF
63522 #define HAVE__FINITEL 1
63523 _ACEOF
63524
63525 fi
63526 done
63527
63528     fi
63529   fi
63530
63531
63532
63533
63534   LIBS="$ac_save_LIBS"
63535   CXXFLAGS="$ac_save_CXXFLAGS"
63536
63537
63538   ac_test_CXXFLAGS="${CXXFLAGS+set}"
63539   ac_save_CXXFLAGS="$CXXFLAGS"
63540   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63541
63542
63543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63544 $as_echo_n "checking for strtold declaration... " >&6; }
63545   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63546     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63547   $as_echo_n "(cached) " >&6
63548 else
63549
63550
63551       ac_ext=cpp
63552 ac_cpp='$CXXCPP $CPPFLAGS'
63553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63556
63557       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63558 /* end confdefs.h.  */
63559 #include <stdlib.h>
63560 int
63561 main ()
63562 {
63563  strtold(0, 0);
63564   ;
63565   return 0;
63566 }
63567 _ACEOF
63568 if ac_fn_cxx_try_compile "$LINENO"; then :
63569   glibcxx_cv_func_strtold_use=yes
63570 else
63571   glibcxx_cv_func_strtold_use=no
63572 fi
63573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63574       ac_ext=c
63575 ac_cpp='$CPP $CPPFLAGS'
63576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63579
63580
63581 fi
63582
63583   fi
63584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63585 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63586   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63587     for ac_func in strtold
63588 do :
63589   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63590 if test "x$ac_cv_func_strtold" = x""yes; then :
63591   cat >>confdefs.h <<_ACEOF
63592 #define HAVE_STRTOLD 1
63593 _ACEOF
63594
63595 fi
63596 done
63597
63598   fi
63599
63600
63601
63602
63603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63604 $as_echo_n "checking for strtof declaration... " >&6; }
63605   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63606     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63607   $as_echo_n "(cached) " >&6
63608 else
63609
63610
63611       ac_ext=cpp
63612 ac_cpp='$CXXCPP $CPPFLAGS'
63613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63616
63617       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63618 /* end confdefs.h.  */
63619 #include <stdlib.h>
63620 int
63621 main ()
63622 {
63623  strtof(0, 0);
63624   ;
63625   return 0;
63626 }
63627 _ACEOF
63628 if ac_fn_cxx_try_compile "$LINENO"; then :
63629   glibcxx_cv_func_strtof_use=yes
63630 else
63631   glibcxx_cv_func_strtof_use=no
63632 fi
63633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63634       ac_ext=c
63635 ac_cpp='$CPP $CPPFLAGS'
63636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63639
63640
63641 fi
63642
63643   fi
63644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63645 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63646   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63647     for ac_func in strtof
63648 do :
63649   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63650 if test "x$ac_cv_func_strtof" = x""yes; then :
63651   cat >>confdefs.h <<_ACEOF
63652 #define HAVE_STRTOF 1
63653 _ACEOF
63654
63655 fi
63656 done
63657
63658   fi
63659
63660
63661
63662
63663   CXXFLAGS="$ac_save_CXXFLAGS"
63664
63665     ;;
63666   *-solaris*)
63667     case "$target" in
63668       *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63669
63670   # If we're not using GNU ld, then there's no point in even trying these
63671   # tests.  Check for that first.  We should have already tested for gld
63672   # by now (in libtool), but require it now just to be safe...
63673   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63674   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63675
63676
63677
63678   # The name set by libtool depends on the version of libtool.  Shame on us
63679   # for depending on an impl detail, but c'est la vie.  Older versions used
63680   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63681   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63682   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
63683   # set (hence we're using an older libtool), then set it.
63684   if test x${with_gnu_ld+set} != xset; then
63685     if test x${ac_cv_prog_gnu_ld+set} != xset; then
63686       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
63687       with_gnu_ld=no
63688     else
63689       with_gnu_ld=$ac_cv_prog_gnu_ld
63690     fi
63691   fi
63692
63693   # Start by getting the version number.  I think the libtool test already
63694   # does some of this, but throws away the result.
63695   glibcxx_ld_is_gold=no
63696   if test x"$with_gnu_ld" = x"yes"; then
63697     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63698 $as_echo_n "checking for ld version... " >&6; }
63699
63700     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63701       glibcxx_ld_is_gold=yes
63702     fi
63703     ldver=`$LD --version 2>/dev/null |
63704            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'`
63705
63706     glibcxx_gnu_ld_version=`echo $ldver | \
63707            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63708     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63709 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63710   fi
63711
63712   # Set --gc-sections.
63713   glibcxx_have_gc_sections=no
63714   if test "$glibcxx_ld_is_gold" = "yes"; then
63715     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63716       glibcxx_have_gc_sections=yes
63717     fi
63718   else
63719     glibcxx_gcsections_min_ld=21602
63720     if test x"$with_gnu_ld" = x"yes" &&
63721         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63722       glibcxx_have_gc_sections=yes
63723     fi
63724   fi
63725   if test "$glibcxx_have_gc_sections" = "yes"; then
63726     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
63727     # NB: This flag only works reliably after 2.16.1. Configure tests
63728     # for this are difficult, so hard wire a value that should work.
63729
63730     ac_test_CFLAGS="${CFLAGS+set}"
63731     ac_save_CFLAGS="$CFLAGS"
63732     CFLAGS='-Wl,--gc-sections'
63733
63734     # Check for -Wl,--gc-sections
63735     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63736 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63737     if test x$gcc_no_link = xyes; then
63738   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63739 fi
63740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63741 /* end confdefs.h.  */
63742  int one(void) { return 1; }
63743      int two(void) { return 2; }
63744
63745 int
63746 main ()
63747 {
63748  two();
63749   ;
63750   return 0;
63751 }
63752 _ACEOF
63753 if ac_fn_c_try_link "$LINENO"; then :
63754   ac_gcsections=yes
63755 else
63756   ac_gcsections=no
63757 fi
63758 rm -f core conftest.err conftest.$ac_objext \
63759     conftest$ac_exeext conftest.$ac_ext
63760     if test "$ac_gcsections" = "yes"; then
63761       rm -f conftest.c
63762       touch conftest.c
63763       if $CC -c conftest.c; then
63764         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63765            grep "Warning: gc-sections option ignored" > /dev/null; then
63766           ac_gcsections=no
63767         fi
63768       fi
63769       rm -f conftest.c conftest.o conftest
63770     fi
63771     if test "$ac_gcsections" = "yes"; then
63772       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63773     fi
63774     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63775 $as_echo "$ac_gcsections" >&6; }
63776
63777     if test "$ac_test_CFLAGS" = set; then
63778       CFLAGS="$ac_save_CFLAGS"
63779     else
63780       # this is the suspicious part
63781       CFLAGS=''
63782     fi
63783   fi
63784
63785   # Set -z,relro.
63786   # Note this is only for shared objects.
63787   ac_ld_relro=no
63788   if test x"$with_gnu_ld" = x"yes"; then
63789     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63790 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63791     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63792     if test -n "$cxx_z_relo"; then
63793       OPT_LDFLAGS="-Wl,-z,relro"
63794       ac_ld_relro=yes
63795     fi
63796     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63797 $as_echo "$ac_ld_relro" >&6; }
63798   fi
63799
63800   # Set linker optimization flags.
63801   if test x"$with_gnu_ld" = x"yes"; then
63802     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63803   fi
63804
63805
63806
63807
63808          $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63809
63810          $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63811
63812          $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63813
63814          # All of the dependencies for wide character support are here, so
63815          # turn it on.
63816          $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63817
63818         ;;
63819     esac
63820     case "$target" in
63821       *-*-solaris2.10)
63822       # These two C99 functions are present only in Solaris >= 10
63823       $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63824
63825       $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63826
63827      ;;
63828     esac
63829     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63830
63831     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63832
63833     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63834
63835     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63836
63837     ;;
63838   *-tpf)
63839     SECTION_FLAGS='-ffunction-sections -fdata-sections'
63840
63841
63842   # If we're not using GNU ld, then there's no point in even trying these
63843   # tests.  Check for that first.  We should have already tested for gld
63844   # by now (in libtool), but require it now just to be safe...
63845   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63846   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63847
63848
63849
63850   # The name set by libtool depends on the version of libtool.  Shame on us
63851   # for depending on an impl detail, but c'est la vie.  Older versions used
63852   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63853   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63854   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
63855   # set (hence we're using an older libtool), then set it.
63856   if test x${with_gnu_ld+set} != xset; then
63857     if test x${ac_cv_prog_gnu_ld+set} != xset; then
63858       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
63859       with_gnu_ld=no
63860     else
63861       with_gnu_ld=$ac_cv_prog_gnu_ld
63862     fi
63863   fi
63864
63865   # Start by getting the version number.  I think the libtool test already
63866   # does some of this, but throws away the result.
63867   glibcxx_ld_is_gold=no
63868   if test x"$with_gnu_ld" = x"yes"; then
63869     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63870 $as_echo_n "checking for ld version... " >&6; }
63871
63872     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63873       glibcxx_ld_is_gold=yes
63874     fi
63875     ldver=`$LD --version 2>/dev/null |
63876            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'`
63877
63878     glibcxx_gnu_ld_version=`echo $ldver | \
63879            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63880     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63881 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63882   fi
63883
63884   # Set --gc-sections.
63885   glibcxx_have_gc_sections=no
63886   if test "$glibcxx_ld_is_gold" = "yes"; then
63887     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63888       glibcxx_have_gc_sections=yes
63889     fi
63890   else
63891     glibcxx_gcsections_min_ld=21602
63892     if test x"$with_gnu_ld" = x"yes" &&
63893         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63894       glibcxx_have_gc_sections=yes
63895     fi
63896   fi
63897   if test "$glibcxx_have_gc_sections" = "yes"; then
63898     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
63899     # NB: This flag only works reliably after 2.16.1. Configure tests
63900     # for this are difficult, so hard wire a value that should work.
63901
63902     ac_test_CFLAGS="${CFLAGS+set}"
63903     ac_save_CFLAGS="$CFLAGS"
63904     CFLAGS='-Wl,--gc-sections'
63905
63906     # Check for -Wl,--gc-sections
63907     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63908 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63909     if test x$gcc_no_link = xyes; then
63910   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63911 fi
63912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63913 /* end confdefs.h.  */
63914  int one(void) { return 1; }
63915      int two(void) { return 2; }
63916
63917 int
63918 main ()
63919 {
63920  two();
63921   ;
63922   return 0;
63923 }
63924 _ACEOF
63925 if ac_fn_c_try_link "$LINENO"; then :
63926   ac_gcsections=yes
63927 else
63928   ac_gcsections=no
63929 fi
63930 rm -f core conftest.err conftest.$ac_objext \
63931     conftest$ac_exeext conftest.$ac_ext
63932     if test "$ac_gcsections" = "yes"; then
63933       rm -f conftest.c
63934       touch conftest.c
63935       if $CC -c conftest.c; then
63936         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63937            grep "Warning: gc-sections option ignored" > /dev/null; then
63938           ac_gcsections=no
63939         fi
63940       fi
63941       rm -f conftest.c conftest.o conftest
63942     fi
63943     if test "$ac_gcsections" = "yes"; then
63944       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63945     fi
63946     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63947 $as_echo "$ac_gcsections" >&6; }
63948
63949     if test "$ac_test_CFLAGS" = set; then
63950       CFLAGS="$ac_save_CFLAGS"
63951     else
63952       # this is the suspicious part
63953       CFLAGS=''
63954     fi
63955   fi
63956
63957   # Set -z,relro.
63958   # Note this is only for shared objects.
63959   ac_ld_relro=no
63960   if test x"$with_gnu_ld" = x"yes"; then
63961     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63962 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63963     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63964     if test -n "$cxx_z_relo"; then
63965       OPT_LDFLAGS="-Wl,-z,relro"
63966       ac_ld_relro=yes
63967     fi
63968     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63969 $as_echo "$ac_ld_relro" >&6; }
63970   fi
63971
63972   # Set linker optimization flags.
63973   if test x"$with_gnu_ld" = x"yes"; then
63974     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63975   fi
63976
63977
63978
63979
63980     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63981
63982     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63983
63984     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63985
63986     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63987
63988     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63989
63990     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63991
63992     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63993
63994     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63995
63996     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63997
63998     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63999
64000     if test x"long_double_math_on_this_cpu" = x"yes"; then
64001       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64002
64003       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
64004
64005       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64006
64007       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64008
64009     fi
64010     ;;
64011   *-vxworks)
64012     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
64013
64014     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
64015
64016     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
64017
64018     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
64019
64020     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
64021
64022     $as_echo "#define HAVE_COSF 1" >>confdefs.h
64023
64024     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
64025
64026     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
64027
64028     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
64029
64030     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
64031
64032     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
64033
64034     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64035
64036     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
64037
64038     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
64039
64040     $as_echo "#define HAVE_POWF 1" >>confdefs.h
64041
64042     $as_echo "#define HAVE_SINF 1" >>confdefs.h
64043
64044     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
64045
64046     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
64047
64048     $as_echo "#define HAVE_TANF 1" >>confdefs.h
64049
64050     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
64051
64052     ;;
64053   *)
64054     as_fn_error "No support for this host/target combination." "$LINENO" 5
64055    ;;
64056 esac
64057
64058   fi
64059
64060   # At some point, we should differentiate between architectures
64061   # like x86, which have long double versions, and alpha/powerpc/etc.,
64062   # which don't. For the time being, punt.
64063   if test x"long_double_math_on_this_cpu" = x"yes"; then
64064     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
64065
64066     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
64067
64068     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
64069
64070     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
64071
64072     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
64073
64074     $as_echo "#define HAVE_COSL 1" >>confdefs.h
64075
64076     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
64077
64078     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
64079
64080     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
64081
64082     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
64083
64084     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
64085
64086     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
64087
64088     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
64089
64090     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
64091
64092     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
64093
64094     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
64095
64096     $as_echo "#define HAVE_POWL 1" >>confdefs.h
64097
64098     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
64099
64100     $as_echo "#define HAVE_SINL 1" >>confdefs.h
64101
64102     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
64103
64104     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
64105
64106     $as_echo "#define HAVE_TANL 1" >>confdefs.h
64107
64108     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
64109
64110   fi
64111 fi
64112
64113 # Check for _Unwind_GetIPInfo.
64114
64115
64116 # Check whether --with-system-libunwind was given.
64117 if test "${with_system_libunwind+set}" = set; then :
64118   withval=$with_system_libunwind;
64119 fi
64120
64121   # If system-libunwind was not specifically set, pick a default setting.
64122   if test x$with_system_libunwind = x; then
64123     case ${target} in
64124       ia64-*-hpux*) with_system_libunwind=yes ;;
64125       *) with_system_libunwind=no ;;
64126     esac
64127   fi
64128   # Based on system-libunwind and target, do we have ipinfo?
64129   if  test x$with_system_libunwind = xyes; then
64130     case ${target} in
64131       ia64-*-*) have_unwind_getipinfo=no ;;
64132       *) have_unwind_getipinfo=yes ;;
64133     esac
64134   else
64135     # Darwin before version 9 does not have _Unwind_GetIPInfo.
64136
64137     case ${target} in
64138       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
64139       *) have_unwind_getipinfo=yes ;;
64140     esac
64141
64142   fi
64143
64144   if test x$have_unwind_getipinfo = xyes; then
64145
64146 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
64147
64148   fi
64149
64150
64151  # Check whether --enable-linux-futex was given.
64152 if test "${enable_linux_futex+set}" = set; then :
64153   enableval=$enable_linux_futex;
64154       case "$enableval" in
64155        yes|no|default) ;;
64156        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
64157                           esac
64158
64159 else
64160   enable_linux_futex=default
64161 fi
64162
64163
64164 case "$target" in
64165   *-linux*)
64166     case "$enable_linux_futex" in
64167       default)
64168         # If headers don't have gettid/futex syscalls definition, then
64169         # default to no, otherwise there will be compile time failures.
64170         # Otherwise, default to yes.  If we don't detect we are
64171         # compiled/linked against NPTL and not cross-compiling, check
64172         # if programs are run by default against NPTL and if not, issue
64173         # a warning.
64174         enable_linux_futex=no
64175         if test x$gcc_no_link = xyes; then
64176   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64177 fi
64178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64179 /* end confdefs.h.  */
64180 #include <sys/syscall.h>
64181            int lk;
64182 int
64183 main ()
64184 {
64185 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64186   ;
64187   return 0;
64188 }
64189 _ACEOF
64190 if ac_fn_c_try_link "$LINENO"; then :
64191   save_LIBS="$LIBS"
64192            LIBS="-lpthread $LIBS"
64193            if test x$gcc_no_link = xyes; then
64194   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64195 fi
64196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64197 /* end confdefs.h.  */
64198 #ifndef _GNU_SOURCE
64199              #define _GNU_SOURCE 1
64200              #endif
64201              #include <pthread.h>
64202              pthread_t th; void *status;
64203 int
64204 main ()
64205 {
64206 pthread_tryjoin_np (th, &status);
64207   ;
64208   return 0;
64209 }
64210 _ACEOF
64211 if ac_fn_c_try_link "$LINENO"; then :
64212   enable_linux_futex=yes
64213 else
64214   if test x$cross_compiling = xno; then
64215                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
64216                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
64217                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
64218 If so, please configure with --disable-linux-futex" >&5
64219 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
64220 If so, please configure with --disable-linux-futex" >&2;}
64221                fi
64222              fi
64223              enable_linux_futex=yes
64224 fi
64225 rm -f core conftest.err conftest.$ac_objext \
64226     conftest$ac_exeext conftest.$ac_ext
64227            LIBS="$save_LIBS"
64228 fi
64229 rm -f core conftest.err conftest.$ac_objext \
64230     conftest$ac_exeext conftest.$ac_ext
64231         ;;
64232       yes)
64233         if test x$gcc_no_link = xyes; then
64234   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64235 fi
64236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64237 /* end confdefs.h.  */
64238 #include <sys/syscall.h>
64239            int lk;
64240 int
64241 main ()
64242 {
64243 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64244   ;
64245   return 0;
64246 }
64247 _ACEOF
64248 if ac_fn_c_try_link "$LINENO"; then :
64249
64250 else
64251   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
64252 fi
64253 rm -f core conftest.err conftest.$ac_objext \
64254     conftest$ac_exeext conftest.$ac_ext
64255         ;;
64256     esac
64257     ;;
64258   *)
64259     enable_linux_futex=no
64260     ;;
64261 esac
64262 if test x$enable_linux_futex = xyes; then
64263
64264 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
64265
64266 fi
64267
64268
64269
64270
64271 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
64272
64273 acx_cv_header_stdint=stddef.h
64274 acx_cv_header_stdint_kind="(already complete)"
64275 for i in stdint.h $inttype_headers; do
64276   unset ac_cv_type_uintptr_t
64277   unset ac_cv_type_uintmax_t
64278   unset ac_cv_type_int_least32_t
64279   unset ac_cv_type_int_fast32_t
64280   unset ac_cv_type_uint64_t
64281   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
64282   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
64283 #include <$i>
64284 "
64285 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
64286   acx_cv_header_stdint=$i
64287 else
64288   continue
64289 fi
64290
64291   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64292 #include <$i>
64293 "
64294 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64295
64296 else
64297   acx_cv_header_stdint_kind="(mostly complete)"
64298 fi
64299
64300   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
64301 #include <$i>
64302 "
64303 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
64304
64305 else
64306   acx_cv_header_stdint_kind="(mostly complete)"
64307 fi
64308
64309   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
64310 #include <$i>
64311 "
64312 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
64313
64314 else
64315   acx_cv_header_stdint_kind="(mostly complete)"
64316 fi
64317
64318   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64319 #include <$i>
64320 "
64321 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64322
64323 else
64324   acx_cv_header_stdint_kind="(lacks uint64_t)"
64325 fi
64326
64327   break
64328 done
64329 if test "$acx_cv_header_stdint" = stddef.h; then
64330   acx_cv_header_stdint_kind="(lacks uintmax_t)"
64331   for i in stdint.h $inttype_headers; do
64332     unset ac_cv_type_uintptr_t
64333     unset ac_cv_type_uint32_t
64334     unset ac_cv_type_uint64_t
64335     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
64336     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
64337 #include <$i>
64338 "
64339 if test "x$ac_cv_type_uint32_t" = x""yes; then :
64340   acx_cv_header_stdint=$i
64341 else
64342   continue
64343 fi
64344
64345     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64346 #include <$i>
64347 "
64348 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64349
64350 fi
64351
64352     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64353 #include <$i>
64354 "
64355 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64356
64357 fi
64358
64359     break
64360   done
64361 fi
64362 if test "$acx_cv_header_stdint" = stddef.h; then
64363   acx_cv_header_stdint_kind="(u_intXX_t style)"
64364   for i in sys/types.h $inttype_headers; do
64365     unset ac_cv_type_u_int32_t
64366     unset ac_cv_type_u_int64_t
64367     $as_echo_n "looking for u_intXX_t types in $i, " >&6
64368     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
64369 #include <$i>
64370 "
64371 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
64372   acx_cv_header_stdint=$i
64373 else
64374   continue
64375 fi
64376
64377     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
64378 #include <$i>
64379 "
64380 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
64381
64382 fi
64383
64384     break
64385   done
64386 fi
64387 if test "$acx_cv_header_stdint" = stddef.h; then
64388   acx_cv_header_stdint_kind="(using manual detection)"
64389 fi
64390
64391 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
64392 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
64393 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
64394 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
64395 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
64396
64397 # ----------------- Summarize what we found so far
64398
64399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
64400 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
64401
64402 case `$as_basename -- include/gstdint.h ||
64403 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
64404          Xinclude/gstdint.h : 'X\(//\)$' \| \
64405          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
64406 $as_echo X/include/gstdint.h |
64407     sed '/^.*\/\([^/][^/]*\)\/*$/{
64408             s//\1/
64409             q
64410           }
64411           /^X\/\(\/\/\)$/{
64412             s//\1/
64413             q
64414           }
64415           /^X\/\(\/\).*/{
64416             s//\1/
64417             q
64418           }
64419           s/.*/./; q'` in
64420   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64421 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64422   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64423 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64424   *) ;;
64425 esac
64426
64427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
64428 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
64429
64430 # ----------------- done included file, check C basic types --------
64431
64432 # Lacking an uintptr_t?  Test size of void *
64433 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
64434   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
64435 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64436 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64437 # This bug is HP SR number 8606223364.
64438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
64439 $as_echo_n "checking size of void *... " >&6; }
64440 if test "${ac_cv_sizeof_void_p+set}" = set; then :
64441   $as_echo_n "(cached) " >&6
64442 else
64443   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
64444
64445 else
64446   if test "$ac_cv_type_void_p" = yes; then
64447      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64449 { as_fn_set_status 77
64450 as_fn_error "cannot compute sizeof (void *)
64451 See \`config.log' for more details." "$LINENO" 5; }; }
64452    else
64453      ac_cv_sizeof_void_p=0
64454    fi
64455 fi
64456
64457 fi
64458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
64459 $as_echo "$ac_cv_sizeof_void_p" >&6; }
64460
64461
64462
64463 cat >>confdefs.h <<_ACEOF
64464 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
64465 _ACEOF
64466
64467  ;;
64468 esac
64469
64470 # Lacking an uint64_t?  Test size of long
64471 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
64472   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
64473 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64474 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64475 # This bug is HP SR number 8606223364.
64476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
64477 $as_echo_n "checking size of long... " >&6; }
64478 if test "${ac_cv_sizeof_long+set}" = set; then :
64479   $as_echo_n "(cached) " >&6
64480 else
64481   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
64482
64483 else
64484   if test "$ac_cv_type_long" = yes; then
64485      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64487 { as_fn_set_status 77
64488 as_fn_error "cannot compute sizeof (long)
64489 See \`config.log' for more details." "$LINENO" 5; }; }
64490    else
64491      ac_cv_sizeof_long=0
64492    fi
64493 fi
64494
64495 fi
64496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
64497 $as_echo "$ac_cv_sizeof_long" >&6; }
64498
64499
64500
64501 cat >>confdefs.h <<_ACEOF
64502 #define SIZEOF_LONG $ac_cv_sizeof_long
64503 _ACEOF
64504
64505  ;;
64506 esac
64507
64508 if test $acx_cv_header_stdint = stddef.h; then
64509   # Lacking a good header?  Test size of everything and deduce all types.
64510   # The cast to long int works around a bug in the HP C Compiler
64511 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64512 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64513 # This bug is HP SR number 8606223364.
64514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
64515 $as_echo_n "checking size of int... " >&6; }
64516 if test "${ac_cv_sizeof_int+set}" = set; then :
64517   $as_echo_n "(cached) " >&6
64518 else
64519   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
64520
64521 else
64522   if test "$ac_cv_type_int" = yes; then
64523      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64525 { as_fn_set_status 77
64526 as_fn_error "cannot compute sizeof (int)
64527 See \`config.log' for more details." "$LINENO" 5; }; }
64528    else
64529      ac_cv_sizeof_int=0
64530    fi
64531 fi
64532
64533 fi
64534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
64535 $as_echo "$ac_cv_sizeof_int" >&6; }
64536
64537
64538
64539 cat >>confdefs.h <<_ACEOF
64540 #define SIZEOF_INT $ac_cv_sizeof_int
64541 _ACEOF
64542
64543
64544   # The cast to long int works around a bug in the HP C Compiler
64545 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64546 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64547 # This bug is HP SR number 8606223364.
64548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
64549 $as_echo_n "checking size of short... " >&6; }
64550 if test "${ac_cv_sizeof_short+set}" = set; then :
64551   $as_echo_n "(cached) " >&6
64552 else
64553   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
64554
64555 else
64556   if test "$ac_cv_type_short" = yes; then
64557      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64559 { as_fn_set_status 77
64560 as_fn_error "cannot compute sizeof (short)
64561 See \`config.log' for more details." "$LINENO" 5; }; }
64562    else
64563      ac_cv_sizeof_short=0
64564    fi
64565 fi
64566
64567 fi
64568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
64569 $as_echo "$ac_cv_sizeof_short" >&6; }
64570
64571
64572
64573 cat >>confdefs.h <<_ACEOF
64574 #define SIZEOF_SHORT $ac_cv_sizeof_short
64575 _ACEOF
64576
64577
64578   # The cast to long int works around a bug in the HP C Compiler
64579 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64580 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64581 # This bug is HP SR number 8606223364.
64582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
64583 $as_echo_n "checking size of char... " >&6; }
64584 if test "${ac_cv_sizeof_char+set}" = set; then :
64585   $as_echo_n "(cached) " >&6
64586 else
64587   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
64588
64589 else
64590   if test "$ac_cv_type_char" = yes; then
64591      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64593 { as_fn_set_status 77
64594 as_fn_error "cannot compute sizeof (char)
64595 See \`config.log' for more details." "$LINENO" 5; }; }
64596    else
64597      ac_cv_sizeof_char=0
64598    fi
64599 fi
64600
64601 fi
64602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
64603 $as_echo "$ac_cv_sizeof_char" >&6; }
64604
64605
64606
64607 cat >>confdefs.h <<_ACEOF
64608 #define SIZEOF_CHAR $ac_cv_sizeof_char
64609 _ACEOF
64610
64611
64612
64613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
64614 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
64615   case "$ac_cv_sizeof_char" in
64616     1) acx_cv_type_int8_t=char ;;
64617     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
64618   esac
64619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
64620 $as_echo "$acx_cv_type_int8_t" >&6; }
64621
64622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
64623 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
64624   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
64625     2:*) acx_cv_type_int16_t=int ;;
64626     *:2) acx_cv_type_int16_t=short ;;
64627     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
64628   esac
64629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
64630 $as_echo "$acx_cv_type_int16_t" >&6; }
64631
64632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
64633 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
64634   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
64635     4:*) acx_cv_type_int32_t=int ;;
64636     *:4) acx_cv_type_int32_t=long ;;
64637     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
64638   esac
64639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
64640 $as_echo "$acx_cv_type_int32_t" >&6; }
64641 fi
64642
64643 # These tests are here to make the output prettier
64644
64645 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64646   case "$ac_cv_sizeof_long" in
64647     8) acx_cv_type_int64_t=long ;;
64648   esac
64649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64650 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64652 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64653 fi
64654
64655 # Now we can use the above types
64656
64657 if test "$ac_cv_type_uintptr_t" != yes; then
64658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64659 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64660   case $ac_cv_sizeof_void_p in
64661     2) acx_cv_type_intptr_t=int16_t ;;
64662     4) acx_cv_type_intptr_t=int32_t ;;
64663     8) acx_cv_type_intptr_t=int64_t ;;
64664     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64665   esac
64666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64667 $as_echo "$acx_cv_type_intptr_t" >&6; }
64668 fi
64669
64670 # ----------------- done all checks, emit header -------------
64671 ac_config_commands="$ac_config_commands include/gstdint.h"
64672
64673
64674
64675
64676
64677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64678 $as_echo_n "checking for GNU c++filt... " >&6; }
64679 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64680   $as_echo_n "(cached) " >&6
64681 else
64682   if test -z "$CXXFILT"; then
64683   ac_path_CXXFILT_found=false
64684   # Loop through the user's path and test for each of PROGNAME-LIST
64685   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64686 for as_dir in $PATH
64687 do
64688   IFS=$as_save_IFS
64689   test -z "$as_dir" && as_dir=.
64690     for ac_prog in c++filt gc++filt; do
64691     for ac_exec_ext in '' $ac_executable_extensions; do
64692       ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64693       { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64694 # Check for GNU $ac_path_CXXFILT
64695 case `"$ac_path_CXXFILT" --version 2>&1` in
64696 *GNU*)
64697   ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64698 esac
64699
64700       $ac_path_CXXFILT_found && break 3
64701     done
64702   done
64703   done
64704 IFS=$as_save_IFS
64705   if test -z "$ac_cv_path_CXXFILT"; then
64706     :
64707   fi
64708 else
64709   ac_cv_path_CXXFILT=$CXXFILT
64710 fi
64711
64712 fi
64713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64714 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64715   CXXFILT=$ac_cv_path_CXXFILT
64716
64717
64718
64719  # Check whether --enable-symvers was given.
64720 if test "${enable_symvers+set}" = set; then :
64721   enableval=$enable_symvers;
64722       case "$enableval" in
64723        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64724        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64725                         esac
64726
64727 else
64728   enable_symvers=yes
64729 fi
64730
64731
64732
64733 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64734 # don't know enough about $LD to do tricks...
64735
64736 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64737 # with extern "C++" in version scripts.
64738
64739
64740 # Turn a 'yes' into a suitable default.
64741 if test x$enable_symvers = xyes ; then
64742   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64743     enable_symvers=no
64744   else
64745     if test $with_gnu_ld = yes ; then
64746       case ${target_os} in
64747         hpux*)
64748           enable_symvers=no ;;
64749         *)
64750           enable_symvers=gnu ;;
64751       esac
64752     else
64753       case ${target_os} in
64754         darwin*)
64755           enable_symvers=darwin ;;
64756         # Sun symbol versioning exists since Solaris 2.5.
64757         solaris2.[5-9]* | solaris2.1[0-9]*)
64758           # make_sunver.pl needs GNU c++filt to support extern "C++" in
64759           # version scripts, so disable symbol versioning if none can be
64760           # found.
64761           if test -z "$ac_cv_path_CXXFILT"; then
64762             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64763 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64764             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
64765 $as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
64766             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64767 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64768             enable_symvers=no
64769           else
64770             enable_symvers=sun
64771           fi
64772           ;;
64773         *)
64774           enable_symvers=no ;;
64775       esac
64776     fi
64777   fi
64778 fi
64779
64780 # Check to see if 'darwin' or 'darwin-export' can win.
64781 if test x$enable_symvers = xdarwin-export ; then
64782     enable_symvers=darwin
64783 fi
64784
64785 # Check if 'sun' was requested on non-Solaris 2 platforms.
64786 if test x$enable_symvers = xsun ; then
64787   case ${target_os} in
64788     solaris2*)
64789       # All fine.
64790       ;;
64791     *)
64792       # Unlikely to work.
64793       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64794 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64795       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64796 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64797       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64798 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64799       enable_symvers=no
64800       ;;
64801   esac
64802 fi
64803
64804 # Check to see if 'gnu' can win.
64805 if test $enable_symvers = gnu ||
64806   test $enable_symvers = gnu-versioned-namespace ||
64807   test $enable_symvers = sun; then
64808   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64810 $as_echo_n "checking for shared libgcc... " >&6; }
64811   ac_save_CFLAGS="$CFLAGS"
64812   CFLAGS=' -lgcc_s'
64813   if test x$gcc_no_link = xyes; then
64814   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64815 fi
64816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64817 /* end confdefs.h.  */
64818
64819 int
64820 main ()
64821 {
64822 return 0;
64823   ;
64824   return 0;
64825 }
64826 _ACEOF
64827 if ac_fn_c_try_link "$LINENO"; then :
64828   glibcxx_shared_libgcc=yes
64829 else
64830   glibcxx_shared_libgcc=no
64831 fi
64832 rm -f core conftest.err conftest.$ac_objext \
64833     conftest$ac_exeext conftest.$ac_ext
64834   CFLAGS="$ac_save_CFLAGS"
64835   if test $glibcxx_shared_libgcc = no; then
64836     cat > conftest.c <<EOF
64837 int main (void) { return 0; }
64838 EOF
64839     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64840                              -shared -shared-libgcc -o conftest.so \
64841                              conftest.c -v 2>&1 >/dev/null \
64842                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64843     rm -f conftest.c conftest.so
64844     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64845       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64846       if test x$gcc_no_link = xyes; then
64847   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64848 fi
64849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64850 /* end confdefs.h.  */
64851
64852 int
64853 main ()
64854 {
64855 return 0;
64856   ;
64857   return 0;
64858 }
64859 _ACEOF
64860 if ac_fn_c_try_link "$LINENO"; then :
64861   glibcxx_shared_libgcc=yes
64862 fi
64863 rm -f core conftest.err conftest.$ac_objext \
64864     conftest$ac_exeext conftest.$ac_ext
64865       CFLAGS="$ac_save_CFLAGS"
64866     fi
64867   fi
64868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64869 $as_echo "$glibcxx_shared_libgcc" >&6; }
64870
64871   # For GNU ld, we need at least this version.  The format is described in
64872   # GLIBCXX_CHECK_LINKER_FEATURES above.
64873   glibcxx_min_gnu_ld_version=21400
64874
64875   # If no shared libgcc, can't win.
64876   if test $glibcxx_shared_libgcc != yes; then
64877       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64878 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64879       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64880 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64881       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64882 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64883       enable_symvers=no
64884   elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64885     : All interesting versions of Sun ld support sun style symbol versioning.
64886   elif test $with_gnu_ld != yes ; then
64887     # just fail for now
64888     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64889 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64890     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64891 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64892     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64893 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64894     enable_symvers=no
64895   elif test $glibcxx_ld_is_gold = yes ; then
64896     : All versions of gold support symbol versioning.
64897   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64898     # The right tools, the right setup, but too old.  Fallbacks?
64899     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64900 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64901     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64902 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64903     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64904 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64905     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64906 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64907     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64908 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64909     enable_symvers=no
64910   fi
64911 fi
64912
64913 # For libtool versioning info, format is CURRENT:REVISION:AGE
64914 libtool_VERSION=6:17:0
64915
64916 # Everything parsed; figure out what files and settings to use.
64917 case $enable_symvers in
64918   no)
64919     SYMVER_FILE=config/abi/pre/none.ver
64920     ;;
64921   gnu)
64922     SYMVER_FILE=config/abi/pre/gnu.ver
64923
64924 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64925
64926     ;;
64927   gnu-versioned-namespace)
64928     libtool_VERSION=7:0:0
64929     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64930
64931 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
64932
64933     ;;
64934   darwin)
64935     SYMVER_FILE=config/abi/pre/gnu.ver
64936
64937 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
64938
64939     ;;
64940   sun)
64941     SYMVER_FILE=config/abi/pre/gnu.ver
64942
64943 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
64944
64945     ;;
64946 esac
64947
64948 if test x$enable_symvers != xno ; then
64949
64950 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
64951
64952 fi
64953
64954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
64955 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
64956 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
64957   $as_echo_n "(cached) " >&6
64958 else
64959
64960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64961 /* end confdefs.h.  */
64962 void foo (void); __asm (".symver foo, bar@SYMVER");
64963 int
64964 main ()
64965 {
64966
64967   ;
64968   return 0;
64969 }
64970 _ACEOF
64971 if ac_fn_c_try_compile "$LINENO"; then :
64972   glibcxx_cv_have_as_symver_directive=yes
64973 else
64974   glibcxx_cv_have_as_symver_directive=no
64975 fi
64976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64977 fi
64978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
64979 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
64980 if test $glibcxx_cv_have_as_symver_directive = yes; then
64981
64982 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
64983
64984 fi
64985
64986
64987
64988
64989
64990
64991
64992
64993 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
64994 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
64995
64996 if test $enable_symvers != no ; then
64997    case ${target_os} in
64998      # The Solaris 2 runtime linker doesn't support the GNU extension of
64999      # binding the same symbol to different versions
65000      solaris2*)
65001        symvers_renaming=no  ;;
65002      # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
65003      *)
65004
65005 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
65006
65007        symvers_renaming=yes  ;;
65008     esac
65009 else
65010     symvers_renaming=no
65011 fi
65012
65013
65014 # Now, set up compatibility support, if any.
65015 # In addition, need this to deal with std::size_t mangling in
65016 # src/compatibility.cc.  In a perfect world, could use
65017 # typeid(std::size_t).name()[0] to do direct substitution.
65018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
65019 $as_echo_n "checking for size_t as unsigned int... " >&6; }
65020 ac_save_CFLAGS="$CFLAGS"
65021 CFLAGS="-Werror"
65022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65023 /* end confdefs.h.  */
65024
65025 int
65026 main ()
65027 {
65028 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
65029   ;
65030   return 0;
65031 }
65032 _ACEOF
65033 if ac_fn_c_try_compile "$LINENO"; then :
65034   glibcxx_size_t_is_i=yes
65035 else
65036   glibcxx_size_t_is_i=no
65037 fi
65038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65039 CFLAGS=$ac_save_CFLAGS
65040 if test "$glibcxx_size_t_is_i" = yes; then
65041
65042 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
65043
65044 fi
65045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
65046 $as_echo "$glibcxx_size_t_is_i" >&6; }
65047
65048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
65049 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
65050 ac_save_CFLAGS="$CFLAGS"
65051 CFLAGS="-Werror"
65052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65053 /* end confdefs.h.  */
65054
65055 int
65056 main ()
65057 {
65058 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
65059   ;
65060   return 0;
65061 }
65062 _ACEOF
65063 if ac_fn_c_try_compile "$LINENO"; then :
65064   glibcxx_ptrdiff_t_is_i=yes
65065 else
65066   glibcxx_ptrdiff_t_is_i=no
65067 fi
65068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65069 CFLAGS=$ac_save_CFLAGS
65070 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
65071
65072 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
65073
65074 fi
65075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
65076 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
65077
65078
65079
65080
65081  # Check whether --enable-libstdcxx-visibility was given.
65082 if test "${enable_libstdcxx_visibility+set}" = set; then :
65083   enableval=$enable_libstdcxx_visibility;
65084       case "$enableval" in
65085        yes|no) ;;
65086        *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
65087       esac
65088
65089 else
65090   enable_libstdcxx_visibility=yes
65091 fi
65092
65093
65094
65095 if test x$enable_libstdcxx_visibility = xyes ; then
65096       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
65097 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
65098 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
65099   $as_echo_n "(cached) " >&6
65100 else
65101
65102   save_CFLAGS="$CFLAGS"
65103   CFLAGS="$CFLAGS -Werror"
65104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65105 /* end confdefs.h.  */
65106 void __attribute__((visibility("hidden"))) foo(void) { }
65107 int
65108 main ()
65109 {
65110
65111   ;
65112   return 0;
65113 }
65114 _ACEOF
65115 if ac_fn_c_try_compile "$LINENO"; then :
65116   glibcxx_cv_have_attribute_visibility=yes
65117 else
65118   glibcxx_cv_have_attribute_visibility=no
65119 fi
65120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65121   CFLAGS="$save_CFLAGS"
65122 fi
65123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
65124 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
65125   if test $glibcxx_cv_have_attribute_visibility = no; then
65126     enable_libstdcxx_visibility=no
65127   fi
65128 fi
65129
65130
65131 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
65132 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
65133
65134
65135 ac_ldbl_compat=no
65136 case "$target" in
65137   powerpc*-*-linux* | \
65138   sparc*-*-linux* | \
65139   s390*-*-linux* | \
65140   alpha*-*-linux*)
65141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65142 /* end confdefs.h.  */
65143
65144 int
65145 main ()
65146 {
65147
65148 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
65149 #error no need for long double compatibility
65150 #endif
65151
65152   ;
65153   return 0;
65154 }
65155 _ACEOF
65156 if ac_fn_c_try_compile "$LINENO"; then :
65157   ac_ldbl_compat=yes
65158 else
65159   ac_ldbl_compat=no
65160 fi
65161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65162   if test "$ac_ldbl_compat" = yes; then
65163
65164 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
65165
65166     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
65167   fi
65168 esac
65169
65170
65171 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
65172
65173   if $GLIBCXX_IS_NATIVE ; then
65174     # Do checks for resource limit functions.
65175
65176   setrlimit_have_headers=yes
65177   for ac_header in unistd.h sys/time.h sys/resource.h
65178 do :
65179   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
65180 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
65181 eval as_val=\$$as_ac_Header
65182    if test "x$as_val" = x""yes; then :
65183   cat >>confdefs.h <<_ACEOF
65184 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
65185 _ACEOF
65186
65187 else
65188   setrlimit_have_headers=no
65189 fi
65190
65191 done
65192
65193   # If don't have the headers, then we can't run the tests now, and we
65194   # won't be seeing any of these during testsuite compilation.
65195   if test $setrlimit_have_headers = yes; then
65196     # Can't do these in a loop, else the resulting syntax is wrong.
65197
65198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
65199 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
65200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65201 /* end confdefs.h.  */
65202 #include <unistd.h>
65203      #include <sys/time.h>
65204      #include <sys/resource.h>
65205
65206 int
65207 main ()
65208 {
65209  int f = RLIMIT_DATA ;
65210   ;
65211   return 0;
65212 }
65213 _ACEOF
65214 if ac_fn_c_try_compile "$LINENO"; then :
65215   glibcxx_mresult=1
65216 else
65217   glibcxx_mresult=0
65218 fi
65219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65220
65221 cat >>confdefs.h <<_ACEOF
65222 #define HAVE_LIMIT_DATA $glibcxx_mresult
65223 _ACEOF
65224
65225   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65227 $as_echo "$res" >&6; }
65228
65229
65230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
65231 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
65232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65233 /* end confdefs.h.  */
65234 #include <unistd.h>
65235      #include <sys/time.h>
65236      #include <sys/resource.h>
65237
65238 int
65239 main ()
65240 {
65241  int f = RLIMIT_RSS ;
65242   ;
65243   return 0;
65244 }
65245 _ACEOF
65246 if ac_fn_c_try_compile "$LINENO"; then :
65247   glibcxx_mresult=1
65248 else
65249   glibcxx_mresult=0
65250 fi
65251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65252
65253 cat >>confdefs.h <<_ACEOF
65254 #define HAVE_LIMIT_RSS $glibcxx_mresult
65255 _ACEOF
65256
65257   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65259 $as_echo "$res" >&6; }
65260
65261
65262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
65263 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
65264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65265 /* end confdefs.h.  */
65266 #include <unistd.h>
65267      #include <sys/time.h>
65268      #include <sys/resource.h>
65269
65270 int
65271 main ()
65272 {
65273  int f = RLIMIT_VMEM ;
65274   ;
65275   return 0;
65276 }
65277 _ACEOF
65278 if ac_fn_c_try_compile "$LINENO"; then :
65279   glibcxx_mresult=1
65280 else
65281   glibcxx_mresult=0
65282 fi
65283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65284
65285 cat >>confdefs.h <<_ACEOF
65286 #define HAVE_LIMIT_VMEM $glibcxx_mresult
65287 _ACEOF
65288
65289   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65291 $as_echo "$res" >&6; }
65292
65293
65294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
65295 $as_echo_n "checking for RLIMIT_AS... " >&6; }
65296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65297 /* end confdefs.h.  */
65298 #include <unistd.h>
65299      #include <sys/time.h>
65300      #include <sys/resource.h>
65301
65302 int
65303 main ()
65304 {
65305  int f = RLIMIT_AS ;
65306   ;
65307   return 0;
65308 }
65309 _ACEOF
65310 if ac_fn_c_try_compile "$LINENO"; then :
65311   glibcxx_mresult=1
65312 else
65313   glibcxx_mresult=0
65314 fi
65315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65316
65317 cat >>confdefs.h <<_ACEOF
65318 #define HAVE_LIMIT_AS $glibcxx_mresult
65319 _ACEOF
65320
65321   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65323 $as_echo "$res" >&6; }
65324
65325
65326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
65327 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
65328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65329 /* end confdefs.h.  */
65330 #include <unistd.h>
65331      #include <sys/time.h>
65332      #include <sys/resource.h>
65333
65334 int
65335 main ()
65336 {
65337  int f = RLIMIT_FSIZE ;
65338   ;
65339   return 0;
65340 }
65341 _ACEOF
65342 if ac_fn_c_try_compile "$LINENO"; then :
65343   glibcxx_mresult=1
65344 else
65345   glibcxx_mresult=0
65346 fi
65347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65348
65349 cat >>confdefs.h <<_ACEOF
65350 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
65351 _ACEOF
65352
65353   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65355 $as_echo "$res" >&6; }
65356
65357
65358     # Check for rlimit, setrlimit.
65359     if test "${glibcxx_cv_setrlimit+set}" = set; then :
65360   $as_echo_n "(cached) " >&6
65361 else
65362
65363       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65364 /* end confdefs.h.  */
65365 #include <unistd.h>
65366          #include <sys/time.h>
65367          #include <sys/resource.h>
65368
65369 int
65370 main ()
65371 {
65372 struct rlimit r;
65373          setrlimit(0, &r);
65374   ;
65375   return 0;
65376 }
65377 _ACEOF
65378 if ac_fn_c_try_compile "$LINENO"; then :
65379   glibcxx_cv_setrlimit=yes
65380 else
65381   glibcxx_cv_setrlimit=no
65382 fi
65383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65384
65385 fi
65386
65387   fi
65388
65389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
65390 $as_echo_n "checking for testsuite resource limits support... " >&6; }
65391   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
65392     ac_res_limits=yes
65393
65394 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
65395
65396   else
65397     ac_res_limits=no
65398   fi
65399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
65400 $as_echo "$ac_res_limits" >&6; }
65401
65402
65403     # Look for setenv, so that extended locale tests can be performed.
65404
65405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
65406 $as_echo_n "checking for setenv declaration... " >&6; }
65407   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
65408     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
65409   $as_echo_n "(cached) " >&6
65410 else
65411
65412
65413       ac_ext=cpp
65414 ac_cpp='$CXXCPP $CPPFLAGS'
65415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65418
65419       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65420 /* end confdefs.h.  */
65421 #include <stdlib.h>
65422 int
65423 main ()
65424 {
65425  setenv(0, 0, 0);
65426   ;
65427   return 0;
65428 }
65429 _ACEOF
65430 if ac_fn_cxx_try_compile "$LINENO"; then :
65431   glibcxx_cv_func_setenv_use=yes
65432 else
65433   glibcxx_cv_func_setenv_use=no
65434 fi
65435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65436       ac_ext=c
65437 ac_cpp='$CPP $CPPFLAGS'
65438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65441
65442
65443 fi
65444
65445   fi
65446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
65447 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
65448   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
65449     for ac_func in setenv
65450 do :
65451   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
65452 if test "x$ac_cv_func_setenv" = x""yes; then :
65453   cat >>confdefs.h <<_ACEOF
65454 #define HAVE_SETENV 1
65455 _ACEOF
65456
65457 fi
65458 done
65459
65460   fi
65461
65462   fi
65463
65464   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
65465      test $enable_symvers != no; then
65466     case "$host" in
65467       *-*-cygwin*)
65468         enable_abi_check=no ;;
65469       *)
65470         enable_abi_check=yes ;;
65471     esac
65472   else
65473     # Only build this as native, since automake does not understand
65474     # CXX_FOR_BUILD.
65475     enable_abi_check=no
65476   fi
65477
65478   # Export file names for ABI checking.
65479   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
65480
65481   baseline_subdir_switch="$abi_baseline_subdir_switch"
65482
65483
65484
65485 # For gthread support.  Depends on GLIBCXX_ENABLE_SYMVERS.
65486
65487    # Check whether --enable-libstdcxx-threads was given.
65488 if test "${enable_libstdcxx_threads+set}" = set; then :
65489   enableval=$enable_libstdcxx_threads;
65490       case "$enableval" in
65491        yes|no) ;;
65492        *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
65493       esac
65494
65495 else
65496   enable_libstdcxx_threads=auto
65497 fi
65498
65499
65500
65501   if test x$enable_libstdcxx_threads = xauto ||
65502      test x$enable_libstdcxx_threads = xyes; then
65503
65504
65505   ac_ext=cpp
65506 ac_cpp='$CXXCPP $CPPFLAGS'
65507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65510
65511
65512   ac_save_CXXFLAGS="$CXXFLAGS"
65513   CXXFLAGS="$CXXFLAGS -fno-exceptions \
65514         -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
65515
65516   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
65517   case $target_thread_file in
65518     posix)
65519       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
65520   esac
65521
65522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
65523 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
65524
65525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65526 /* end confdefs.h.  */
65527 #include <unistd.h>
65528 int
65529 main ()
65530 {
65531
65532       // In case of POSIX threads check _POSIX_TIMEOUTS.
65533       #if (defined(_PTHREADS) \
65534           && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
65535       #error
65536       #endif
65537
65538   ;
65539   return 0;
65540 }
65541 _ACEOF
65542 if ac_fn_cxx_try_compile "$LINENO"; then :
65543   ac_gthread_use_mutex_timedlock=1
65544 else
65545   ac_gthread_use_mutex_timedlock=0
65546 fi
65547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65548
65549
65550 cat >>confdefs.h <<_ACEOF
65551 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
65552 _ACEOF
65553
65554
65555   if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
65556   else res_mutex_timedlock=no ; fi
65557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
65558 $as_echo "$res_mutex_timedlock" >&6; }
65559
65560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
65561 $as_echo_n "checking for gthreads library... " >&6; }
65562
65563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65564 /* end confdefs.h.  */
65565 #include "gthr.h"
65566 int
65567 main ()
65568 {
65569
65570       #ifndef __GTHREADS_CXX0X
65571       #error
65572       #endif
65573
65574   ;
65575   return 0;
65576 }
65577 _ACEOF
65578 if ac_fn_cxx_try_compile "$LINENO"; then :
65579   case $target_os in
65580           # gthreads support breaks symbol versioning on Solaris 8/9 (PR
65581           # libstdc++/52189).
65582           solaris2.[89]*)
65583             if test x$enable_symvers = xno; then
65584               ac_has_gthreads=yes
65585             elif test x$enable_libstdcxx_threads = xyes; then
65586               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
65587 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
65588               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
65589 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
65590               ac_has_gthreads=yes
65591             else
65592               ac_has_gthreads=no
65593             fi
65594             ;;
65595           *)
65596             ac_has_gthreads=yes
65597             ;;
65598         esac
65599 else
65600   ac_has_gthreads=no
65601 fi
65602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65603   else
65604     ac_has_gthreads=no
65605   fi
65606
65607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
65608 $as_echo "$ac_has_gthreads" >&6; }
65609
65610   if test x"$ac_has_gthreads" = x"yes"; then
65611
65612 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
65613
65614   fi
65615
65616   CXXFLAGS="$ac_save_CXXFLAGS"
65617   ac_ext=c
65618 ac_cpp='$CPP $CPPFLAGS'
65619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65622
65623
65624
65625 # Define documentation rules conditionally.
65626
65627 # See if makeinfo has been installed and is modern enough
65628 # that we can use it.
65629
65630   # Extract the first word of "makeinfo", so it can be a program name with args.
65631 set dummy makeinfo; ac_word=$2
65632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65633 $as_echo_n "checking for $ac_word... " >&6; }
65634 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
65635   $as_echo_n "(cached) " >&6
65636 else
65637   if test -n "$MAKEINFO"; then
65638   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
65639 else
65640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65641 for as_dir in $PATH
65642 do
65643   IFS=$as_save_IFS
65644   test -z "$as_dir" && as_dir=.
65645     for ac_exec_ext in '' $ac_executable_extensions; do
65646   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65647     ac_cv_prog_MAKEINFO="makeinfo"
65648     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65649     break 2
65650   fi
65651 done
65652   done
65653 IFS=$as_save_IFS
65654
65655 fi
65656 fi
65657 MAKEINFO=$ac_cv_prog_MAKEINFO
65658 if test -n "$MAKEINFO"; then
65659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
65660 $as_echo "$MAKEINFO" >&6; }
65661 else
65662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65663 $as_echo "no" >&6; }
65664 fi
65665
65666
65667   if test -n "$MAKEINFO"; then
65668     # Found it, now check the version.
65669     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
65670 $as_echo_n "checking for modern makeinfo... " >&6; }
65671 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
65672   $as_echo_n "(cached) " >&6
65673 else
65674   ac_prog_version=`eval $MAKEINFO --version 2>&1 |
65675                                      sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
65676
65677                     case $ac_prog_version in
65678                       '')  gcc_cv_prog_makeinfo_modern=no;;
65679                       4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
65680                       *)   gcc_cv_prog_makeinfo_modern=no;;
65681                     esac
65682
65683 fi
65684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
65685 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
65686   else
65687     gcc_cv_prog_makeinfo_modern=no
65688   fi
65689   if test $gcc_cv_prog_makeinfo_modern = no; then
65690     MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
65691   fi
65692
65693  if test $gcc_cv_prog_makeinfo_modern = "yes"; then
65694   BUILD_INFO_TRUE=
65695   BUILD_INFO_FALSE='#'
65696 else
65697   BUILD_INFO_TRUE='#'
65698   BUILD_INFO_FALSE=
65699 fi
65700
65701
65702 # Check for doxygen
65703 # Extract the first word of "doxygen", so it can be a program name with args.
65704 set dummy doxygen; ac_word=$2
65705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65706 $as_echo_n "checking for $ac_word... " >&6; }
65707 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
65708   $as_echo_n "(cached) " >&6
65709 else
65710   if test -n "$DOXYGEN"; then
65711   ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
65712 else
65713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65714 for as_dir in $PATH
65715 do
65716   IFS=$as_save_IFS
65717   test -z "$as_dir" && as_dir=.
65718     for ac_exec_ext in '' $ac_executable_extensions; do
65719   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65720     ac_cv_prog_DOXYGEN="yes"
65721     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65722     break 2
65723   fi
65724 done
65725   done
65726 IFS=$as_save_IFS
65727
65728   test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
65729 fi
65730 fi
65731 DOXYGEN=$ac_cv_prog_DOXYGEN
65732 if test -n "$DOXYGEN"; then
65733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
65734 $as_echo "$DOXYGEN" >&6; }
65735 else
65736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65737 $as_echo "no" >&6; }
65738 fi
65739
65740
65741 # Extract the first word of "dot", so it can be a program name with args.
65742 set dummy dot; ac_word=$2
65743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65744 $as_echo_n "checking for $ac_word... " >&6; }
65745 if test "${ac_cv_prog_DOT+set}" = set; then :
65746   $as_echo_n "(cached) " >&6
65747 else
65748   if test -n "$DOT"; then
65749   ac_cv_prog_DOT="$DOT" # Let the user override the test.
65750 else
65751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65752 for as_dir in $PATH
65753 do
65754   IFS=$as_save_IFS
65755   test -z "$as_dir" && as_dir=.
65756     for ac_exec_ext in '' $ac_executable_extensions; do
65757   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65758     ac_cv_prog_DOT="yes"
65759     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65760     break 2
65761   fi
65762 done
65763   done
65764 IFS=$as_save_IFS
65765
65766   test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
65767 fi
65768 fi
65769 DOT=$ac_cv_prog_DOT
65770 if test -n "$DOT"; then
65771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
65772 $as_echo "$DOT" >&6; }
65773 else
65774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65775 $as_echo "no" >&6; }
65776 fi
65777
65778
65779
65780 # Check for docbook
65781 # Extract the first word of "xsltproc", so it can be a program name with args.
65782 set dummy xsltproc; ac_word=$2
65783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65784 $as_echo_n "checking for $ac_word... " >&6; }
65785 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
65786   $as_echo_n "(cached) " >&6
65787 else
65788   if test -n "$XSLTPROC"; then
65789   ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
65790 else
65791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65792 for as_dir in $PATH
65793 do
65794   IFS=$as_save_IFS
65795   test -z "$as_dir" && as_dir=.
65796     for ac_exec_ext in '' $ac_executable_extensions; do
65797   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65798     ac_cv_prog_XSLTPROC="yes"
65799     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65800     break 2
65801   fi
65802 done
65803   done
65804 IFS=$as_save_IFS
65805
65806   test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65807 fi
65808 fi
65809 XSLTPROC=$ac_cv_prog_XSLTPROC
65810 if test -n "$XSLTPROC"; then
65811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65812 $as_echo "$XSLTPROC" >&6; }
65813 else
65814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65815 $as_echo "no" >&6; }
65816 fi
65817
65818
65819 # Extract the first word of "xmllint", so it can be a program name with args.
65820 set dummy xmllint; ac_word=$2
65821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65822 $as_echo_n "checking for $ac_word... " >&6; }
65823 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65824   $as_echo_n "(cached) " >&6
65825 else
65826   if test -n "$XMLLINT"; then
65827   ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65828 else
65829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65830 for as_dir in $PATH
65831 do
65832   IFS=$as_save_IFS
65833   test -z "$as_dir" && as_dir=.
65834     for ac_exec_ext in '' $ac_executable_extensions; do
65835   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65836     ac_cv_prog_XMLLINT="yes"
65837     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65838     break 2
65839   fi
65840 done
65841   done
65842 IFS=$as_save_IFS
65843
65844   test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65845 fi
65846 fi
65847 XMLLINT=$ac_cv_prog_XMLLINT
65848 if test -n "$XMLLINT"; then
65849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65850 $as_echo "$XMLLINT" >&6; }
65851 else
65852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65853 $as_echo "no" >&6; }
65854 fi
65855
65856
65857
65858
65859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
65860 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
65861 glibcxx_stylesheets=no
65862 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude http://docbook.sourceforge.net/release/xsl-ns/current/xhtml-1_1/docbook.xsl - 2>/dev/null; then
65863   glibcxx_stylesheets=yes
65864 fi
65865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65866 $as_echo "$glibcxx_stylesheets" >&6; }
65867
65868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65869 $as_echo_n "checking for local stylesheet directory... " >&6; }
65870 glibcxx_local_stylesheets=no
65871 if test x"$glibcxx_stylesheets" = x"yes"; then
65872   if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65873     glibcxx_local_stylesheets=yes
65874     XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65875   fi
65876   if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65877     glibcxx_local_stylesheets=yes
65878     XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65879   fi
65880 fi
65881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65882 $as_echo "$glibcxx_local_stylesheets" >&6; }
65883
65884 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65885
65886   { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65887 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65888 else
65889   glibcxx_stylesheets=no
65890 fi
65891
65892 # Check for epub3 dependencies.
65893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
65894 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
65895 glibcxx_epub_stylesheets=no
65896 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65897    if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
65898       glibcxx_epub_stylesheets=yes
65899    fi
65900 fi
65901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
65902 $as_echo "$glibcxx_epub_stylesheets" >&6; }
65903  if test x"$glibcxx_epub_stylesheets" = x"yes"; then
65904   BUILD_EPUB_TRUE=
65905   BUILD_EPUB_FALSE='#'
65906 else
65907   BUILD_EPUB_TRUE='#'
65908   BUILD_EPUB_FALSE=
65909 fi
65910
65911
65912
65913
65914 # Check for xml/html dependencies.
65915  if test $ac_cv_prog_DOXYGEN = "yes" &&
65916                test $ac_cv_prog_DOT = "yes" &&
65917                test $ac_cv_prog_XSLTPROC = "yes" &&
65918                test $ac_cv_prog_XMLLINT = "yes" &&
65919                test $glibcxx_stylesheets = "yes"; then
65920   BUILD_XML_TRUE=
65921   BUILD_XML_FALSE='#'
65922 else
65923   BUILD_XML_TRUE='#'
65924   BUILD_XML_FALSE=
65925 fi
65926
65927
65928  if test $ac_cv_prog_DOXYGEN = "yes" &&
65929                test $ac_cv_prog_DOT = "yes" &&
65930                test $ac_cv_prog_XSLTPROC = "yes" &&
65931                test $ac_cv_prog_XMLLINT = "yes" &&
65932                test $glibcxx_stylesheets = "yes"; then
65933   BUILD_HTML_TRUE=
65934   BUILD_HTML_FALSE='#'
65935 else
65936   BUILD_HTML_TRUE='#'
65937   BUILD_HTML_FALSE=
65938 fi
65939
65940
65941 # Check for man dependencies.
65942  if test $ac_cv_prog_DOXYGEN = "yes" &&
65943                test $ac_cv_prog_DOT = "yes"; then
65944   BUILD_MAN_TRUE=
65945   BUILD_MAN_FALSE='#'
65946 else
65947   BUILD_MAN_TRUE='#'
65948   BUILD_MAN_FALSE=
65949 fi
65950
65951
65952 # Check for pdf dependencies.
65953 # Extract the first word of "dblatex", so it can be a program name with args.
65954 set dummy dblatex; ac_word=$2
65955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65956 $as_echo_n "checking for $ac_word... " >&6; }
65957 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65958   $as_echo_n "(cached) " >&6
65959 else
65960   if test -n "$DBLATEX"; then
65961   ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65962 else
65963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65964 for as_dir in $PATH
65965 do
65966   IFS=$as_save_IFS
65967   test -z "$as_dir" && as_dir=.
65968     for ac_exec_ext in '' $ac_executable_extensions; do
65969   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65970     ac_cv_prog_DBLATEX="yes"
65971     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65972     break 2
65973   fi
65974 done
65975   done
65976 IFS=$as_save_IFS
65977
65978   test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65979 fi
65980 fi
65981 DBLATEX=$ac_cv_prog_DBLATEX
65982 if test -n "$DBLATEX"; then
65983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65984 $as_echo "$DBLATEX" >&6; }
65985 else
65986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65987 $as_echo "no" >&6; }
65988 fi
65989
65990
65991 # Extract the first word of "pdflatex", so it can be a program name with args.
65992 set dummy pdflatex; ac_word=$2
65993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65994 $as_echo_n "checking for $ac_word... " >&6; }
65995 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65996   $as_echo_n "(cached) " >&6
65997 else
65998   if test -n "$PDFLATEX"; then
65999   ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
66000 else
66001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66002 for as_dir in $PATH
66003 do
66004   IFS=$as_save_IFS
66005   test -z "$as_dir" && as_dir=.
66006     for ac_exec_ext in '' $ac_executable_extensions; do
66007   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
66008     ac_cv_prog_PDFLATEX="yes"
66009     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
66010     break 2
66011   fi
66012 done
66013   done
66014 IFS=$as_save_IFS
66015
66016   test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
66017 fi
66018 fi
66019 PDFLATEX=$ac_cv_prog_PDFLATEX
66020 if test -n "$PDFLATEX"; then
66021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
66022 $as_echo "$PDFLATEX" >&6; }
66023 else
66024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
66025 $as_echo "no" >&6; }
66026 fi
66027
66028
66029  if test $ac_cv_prog_DBLATEX = "yes" &&
66030                test $ac_cv_prog_PDFLATEX = "yes"; then
66031   BUILD_PDF_TRUE=
66032   BUILD_PDF_FALSE='#'
66033 else
66034   BUILD_PDF_TRUE='#'
66035   BUILD_PDF_FALSE=
66036 fi
66037
66038
66039
66040 # Propagate the target-specific source directories through the build chain.
66041 ATOMICITY_SRCDIR=config/${atomicity_dir}
66042 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
66043 ATOMIC_FLAGS=${atomic_flags}
66044 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
66045 OS_INC_SRCDIR=config/${os_include_dir}
66046 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
66047 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
66048
66049
66050
66051
66052
66053
66054
66055
66056
66057 # Determine cross-compile flags and AM_CONDITIONALs.
66058 #AC_SUBST(GLIBCXX_IS_NATIVE)
66059 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
66060     if test $is_hosted = yes; then
66061   GLIBCXX_HOSTED_TRUE=
66062   GLIBCXX_HOSTED_FALSE='#'
66063 else
66064   GLIBCXX_HOSTED_TRUE='#'
66065   GLIBCXX_HOSTED_FALSE=
66066 fi
66067
66068
66069     if test $enable_libstdcxx_pch = yes; then
66070   GLIBCXX_BUILD_PCH_TRUE=
66071   GLIBCXX_BUILD_PCH_FALSE='#'
66072 else
66073   GLIBCXX_BUILD_PCH_TRUE='#'
66074   GLIBCXX_BUILD_PCH_FALSE=
66075 fi
66076
66077
66078     if test $enable_cheaders = c; then
66079   GLIBCXX_C_HEADERS_C_TRUE=
66080   GLIBCXX_C_HEADERS_C_FALSE='#'
66081 else
66082   GLIBCXX_C_HEADERS_C_TRUE='#'
66083   GLIBCXX_C_HEADERS_C_FALSE=
66084 fi
66085
66086
66087     if test $enable_cheaders = c_std; then
66088   GLIBCXX_C_HEADERS_C_STD_TRUE=
66089   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
66090 else
66091   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
66092   GLIBCXX_C_HEADERS_C_STD_FALSE=
66093 fi
66094
66095
66096     if test $enable_cheaders = c_global; then
66097   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
66098   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
66099 else
66100   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
66101   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
66102 fi
66103
66104
66105     if test $c_compatibility = yes; then
66106   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
66107   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
66108 else
66109   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
66110   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
66111 fi
66112
66113
66114     if test $enable_libstdcxx_debug = yes; then
66115   GLIBCXX_BUILD_DEBUG_TRUE=
66116   GLIBCXX_BUILD_DEBUG_FALSE='#'
66117 else
66118   GLIBCXX_BUILD_DEBUG_TRUE='#'
66119   GLIBCXX_BUILD_DEBUG_FALSE=
66120 fi
66121
66122
66123     if test $enable_parallel = yes; then
66124   ENABLE_PARALLEL_TRUE=
66125   ENABLE_PARALLEL_FALSE='#'
66126 else
66127   ENABLE_PARALLEL_TRUE='#'
66128   ENABLE_PARALLEL_FALSE=
66129 fi
66130
66131
66132     if test $enable_extern_template = yes; then
66133   ENABLE_EXTERN_TEMPLATE_TRUE=
66134   ENABLE_EXTERN_TEMPLATE_FALSE='#'
66135 else
66136   ENABLE_EXTERN_TEMPLATE_TRUE='#'
66137   ENABLE_EXTERN_TEMPLATE_FALSE=
66138 fi
66139
66140
66141     if test $python_mod_dir != no; then
66142   ENABLE_PYTHONDIR_TRUE=
66143   ENABLE_PYTHONDIR_FALSE='#'
66144 else
66145   ENABLE_PYTHONDIR_TRUE='#'
66146   ENABLE_PYTHONDIR_FALSE=
66147 fi
66148
66149
66150     if test $enable_werror = yes; then
66151   ENABLE_WERROR_TRUE=
66152   ENABLE_WERROR_FALSE='#'
66153 else
66154   ENABLE_WERROR_TRUE='#'
66155   ENABLE_WERROR_FALSE=
66156 fi
66157
66158
66159     if test $enable_symvers != no; then
66160   ENABLE_SYMVERS_TRUE=
66161   ENABLE_SYMVERS_FALSE='#'
66162 else
66163   ENABLE_SYMVERS_TRUE='#'
66164   ENABLE_SYMVERS_FALSE=
66165 fi
66166
66167
66168     if test $enable_symvers = gnu; then
66169   ENABLE_SYMVERS_GNU_TRUE=
66170   ENABLE_SYMVERS_GNU_FALSE='#'
66171 else
66172   ENABLE_SYMVERS_GNU_TRUE='#'
66173   ENABLE_SYMVERS_GNU_FALSE=
66174 fi
66175
66176
66177     if test $enable_symvers = gnu-versioned-namespace; then
66178   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
66179   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
66180 else
66181   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
66182   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
66183 fi
66184
66185
66186     if test $enable_symvers = darwin; then
66187   ENABLE_SYMVERS_DARWIN_TRUE=
66188   ENABLE_SYMVERS_DARWIN_FALSE='#'
66189 else
66190   ENABLE_SYMVERS_DARWIN_TRUE='#'
66191   ENABLE_SYMVERS_DARWIN_FALSE=
66192 fi
66193
66194
66195     if test $enable_symvers = sun; then
66196   ENABLE_SYMVERS_SUN_TRUE=
66197   ENABLE_SYMVERS_SUN_FALSE='#'
66198 else
66199   ENABLE_SYMVERS_SUN_TRUE='#'
66200   ENABLE_SYMVERS_SUN_FALSE=
66201 fi
66202
66203
66204     if test $symvers_renaming = no; then
66205   ENABLE_SYMVERS_SOL2_TRUE=
66206   ENABLE_SYMVERS_SOL2_FALSE='#'
66207 else
66208   ENABLE_SYMVERS_SOL2_TRUE='#'
66209   ENABLE_SYMVERS_SOL2_FALSE=
66210 fi
66211
66212
66213     if test $enable_libstdcxx_visibility = yes; then
66214   ENABLE_VISIBILITY_TRUE=
66215   ENABLE_VISIBILITY_FALSE='#'
66216 else
66217   ENABLE_VISIBILITY_TRUE='#'
66218   ENABLE_VISIBILITY_FALSE=
66219 fi
66220
66221
66222     if test $ac_ldbl_compat = yes; then
66223   GLIBCXX_LDBL_COMPAT_TRUE=
66224   GLIBCXX_LDBL_COMPAT_FALSE='#'
66225 else
66226   GLIBCXX_LDBL_COMPAT_TRUE='#'
66227   GLIBCXX_LDBL_COMPAT_FALSE=
66228 fi
66229
66230
66231
66232
66233 cat >confcache <<\_ACEOF
66234 # This file is a shell script that caches the results of configure
66235 # tests run on this system so they can be shared between configure
66236 # scripts and configure runs, see configure's option --config-cache.
66237 # It is not useful on other systems.  If it contains results you don't
66238 # want to keep, you may remove or edit it.
66239 #
66240 # config.status only pays attention to the cache file if you give it
66241 # the --recheck option to rerun configure.
66242 #
66243 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66244 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66245 # following values.
66246
66247 _ACEOF
66248
66249 # The following way of writing the cache mishandles newlines in values,
66250 # but we know of no workaround that is simple, portable, and efficient.
66251 # So, we kill variables containing newlines.
66252 # Ultrix sh set writes to stderr and can't be redirected directly,
66253 # and sets the high bit in the cache file unless we assign to the vars.
66254 (
66255   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66256     eval ac_val=\$$ac_var
66257     case $ac_val in #(
66258     *${as_nl}*)
66259       case $ac_var in #(
66260       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66261 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66262       esac
66263       case $ac_var in #(
66264       _ | IFS | as_nl) ;; #(
66265       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66266       *) { eval $ac_var=; unset $ac_var;} ;;
66267       esac ;;
66268     esac
66269   done
66270
66271   (set) 2>&1 |
66272     case $as_nl`(ac_space=' '; set) 2>&1` in #(
66273     *${as_nl}ac_space=\ *)
66274       # `set' does not quote correctly, so add quotes: double-quote
66275       # substitution turns \\\\ into \\, and sed turns \\ into \.
66276       sed -n \
66277         "s/'/'\\\\''/g;
66278           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66279       ;; #(
66280     *)
66281       # `set' quotes correctly as required by POSIX, so do not add quotes.
66282       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66283       ;;
66284     esac |
66285     sort
66286 ) |
66287   sed '
66288      /^ac_cv_env_/b end
66289      t clear
66290      :clear
66291      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66292      t end
66293      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66294      :end' >>confcache
66295 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66296   if test -w "$cache_file"; then
66297     test "x$cache_file" != "x/dev/null" &&
66298       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66299 $as_echo "$as_me: updating cache $cache_file" >&6;}
66300     cat confcache >$cache_file
66301   else
66302     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66303 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66304   fi
66305 fi
66306 rm -f confcache
66307
66308 if test ${multilib} = yes; then
66309   multilib_arg="--enable-multilib"
66310 else
66311   multilib_arg=
66312 fi
66313
66314 # Export all the install information.
66315
66316   glibcxx_toolexecdir=no
66317   glibcxx_toolexeclibdir=no
66318   glibcxx_prefixdir=$prefix
66319
66320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
66321 $as_echo_n "checking for gxx-include-dir... " >&6; }
66322
66323 # Check whether --with-gxx-include-dir was given.
66324 if test "${with_gxx_include_dir+set}" = set; then :
66325   withval=$with_gxx_include_dir; case "$withval" in
66326       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
66327       no)  gxx_include_dir=no ;;
66328       *)   gxx_include_dir=$withval ;;
66329      esac
66330 else
66331   gxx_include_dir=no
66332 fi
66333
66334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66335 $as_echo "$gxx_include_dir" >&6; }
66336
66337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
66338 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
66339   # Check whether --enable-version-specific-runtime-libs was given.
66340 if test "${enable_version_specific_runtime_libs+set}" = set; then :
66341   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
66342       yes) version_specific_libs=yes ;;
66343       no)  version_specific_libs=no ;;
66344       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
66345      esac
66346 else
66347   version_specific_libs=no
66348 fi
66349
66350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
66351 $as_echo "$version_specific_libs" >&6; }
66352
66353   # Default case for install directory for include files.
66354   if test $version_specific_libs = no && test $gxx_include_dir = no; then
66355     gxx_include_dir='include/c++/${gcc_version}'
66356     if test -n "$with_cross_host" &&
66357        test x"$with_cross_host" != x"no"; then
66358       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
66359     else
66360       gxx_include_dir='${prefix}/'"$gxx_include_dir"
66361     fi
66362   fi
66363
66364   # Version-specific runtime libs processing.
66365   if test $version_specific_libs = yes; then
66366     # Need the gcc compiler version to know where to install libraries
66367     # and header files if --enable-version-specific-runtime-libs option
66368     # is selected.  FIXME: these variables are misnamed, there are
66369     # no executables installed in _toolexecdir or _toolexeclibdir.
66370     if test x"$gxx_include_dir" = x"no"; then
66371       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
66372     fi
66373     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66374     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
66375   fi
66376
66377   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
66378   # Install a library built with a cross compiler in tooldir, not libdir.
66379   if test x"$glibcxx_toolexecdir" = x"no"; then
66380     if test -n "$with_cross_host" &&
66381        test x"$with_cross_host" != x"no"; then
66382       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
66383       glibcxx_toolexeclibdir='${toolexecdir}/lib'
66384     else
66385       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66386       glibcxx_toolexeclibdir='${libdir}'
66387     fi
66388     multi_os_directory=`$CXX -print-multi-os-directory`
66389     case $multi_os_directory in
66390       .) ;; # Avoid trailing /.
66391       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
66392     esac
66393   fi
66394
66395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
66396 $as_echo_n "checking for install location... " >&6; }
66397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66398 $as_echo "$gxx_include_dir" >&6; }
66399
66400
66401
66402
66403
66404
66405
66406 # Export all the include and flag information to Makefiles.
66407
66408   # Used for every C++ compile we perform.
66409   GLIBCXX_INCLUDES="\
66410 -I$glibcxx_builddir/include/$host_alias \
66411 -I$glibcxx_builddir/include \
66412 -I$glibcxx_srcdir/libsupc++"
66413
66414   # For Canadian crosses, pick this up too.
66415   if test $CANADIAN = yes; then
66416     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
66417   fi
66418
66419   # Stuff in the actual top level.  Currently only used by libsupc++ to
66420   # get unwind* headers from the libgcc dir.
66421   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
66422   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
66423
66424   # Now, export this to all the little Makefiles....
66425
66426
66427
66428
66429   # Optimization flags that are probably a good idea for thrill-seekers. Just
66430   # uncomment the lines below and make, everything else is ready to go...
66431   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
66432   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
66433
66434
66435   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
66436
66437
66438
66439 if test "$enable_shared" = yes; then
66440   PIC_CXXFLAGS="-prefer-pic"
66441 else
66442   PIC_CXXFLAGS=
66443 fi
66444
66445
66446 ac_config_files="$ac_config_files Makefile"
66447
66448 ac_config_files="$ac_config_files scripts/testsuite_flags"
66449
66450 ac_config_files="$ac_config_files scripts/extract_symvers"
66451
66452
66453 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
66454 # that multilib installs will end up installed in the correct place.
66455 # The testsuite needs it for multilib-aware ABI baseline files.
66456 # To work around this not being passed down from config-ml.in ->
66457 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
66458 # append it here.  Only modify Makefiles that have just been created.
66459 #
66460 # Also, get rid of this simulated-VPATH thing that automake does.
66461 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
66462
66463
66464 ac_config_commands="$ac_config_commands generate-headers"
66465
66466
66467 cat >confcache <<\_ACEOF
66468 # This file is a shell script that caches the results of configure
66469 # tests run on this system so they can be shared between configure
66470 # scripts and configure runs, see configure's option --config-cache.
66471 # It is not useful on other systems.  If it contains results you don't
66472 # want to keep, you may remove or edit it.
66473 #
66474 # config.status only pays attention to the cache file if you give it
66475 # the --recheck option to rerun configure.
66476 #
66477 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66478 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66479 # following values.
66480
66481 _ACEOF
66482
66483 # The following way of writing the cache mishandles newlines in values,
66484 # but we know of no workaround that is simple, portable, and efficient.
66485 # So, we kill variables containing newlines.
66486 # Ultrix sh set writes to stderr and can't be redirected directly,
66487 # and sets the high bit in the cache file unless we assign to the vars.
66488 (
66489   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66490     eval ac_val=\$$ac_var
66491     case $ac_val in #(
66492     *${as_nl}*)
66493       case $ac_var in #(
66494       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66495 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66496       esac
66497       case $ac_var in #(
66498       _ | IFS | as_nl) ;; #(
66499       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66500       *) { eval $ac_var=; unset $ac_var;} ;;
66501       esac ;;
66502     esac
66503   done
66504
66505   (set) 2>&1 |
66506     case $as_nl`(ac_space=' '; set) 2>&1` in #(
66507     *${as_nl}ac_space=\ *)
66508       # `set' does not quote correctly, so add quotes: double-quote
66509       # substitution turns \\\\ into \\, and sed turns \\ into \.
66510       sed -n \
66511         "s/'/'\\\\''/g;
66512           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66513       ;; #(
66514     *)
66515       # `set' quotes correctly as required by POSIX, so do not add quotes.
66516       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66517       ;;
66518     esac |
66519     sort
66520 ) |
66521   sed '
66522      /^ac_cv_env_/b end
66523      t clear
66524      :clear
66525      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66526      t end
66527      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66528      :end' >>confcache
66529 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66530   if test -w "$cache_file"; then
66531     test "x$cache_file" != "x/dev/null" &&
66532       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66533 $as_echo "$as_me: updating cache $cache_file" >&6;}
66534     cat confcache >$cache_file
66535   else
66536     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66537 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66538   fi
66539 fi
66540 rm -f confcache
66541
66542 test "x$prefix" = xNONE && prefix=$ac_default_prefix
66543 # Let make expand exec_prefix.
66544 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
66545
66546 DEFS=-DHAVE_CONFIG_H
66547
66548 ac_libobjs=
66549 ac_ltlibobjs=
66550 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
66551   # 1. Remove the extension, and $U if already installed.
66552   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
66553   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
66554   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
66555   #    will be set to the directory where LIBOBJS objects are built.
66556   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
66557   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
66558 done
66559 LIBOBJS=$ac_libobjs
66560
66561 LTLIBOBJS=$ac_ltlibobjs
66562
66563
66564  if test -n "$EXEEXT"; then
66565   am__EXEEXT_TRUE=
66566   am__EXEEXT_FALSE='#'
66567 else
66568   am__EXEEXT_TRUE='#'
66569   am__EXEEXT_FALSE=
66570 fi
66571
66572 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
66573   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
66574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66575 fi
66576 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
66577   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
66578 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66579 fi
66580 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
66581   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
66582 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66583 fi
66584 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
66585   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
66586 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66587 fi
66588 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
66589   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
66590 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66591 fi
66592 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
66593   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
66594 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66595 fi
66596 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
66597   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
66598 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66599 fi
66600 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
66601   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
66602 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66603 fi
66604 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
66605   as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
66606 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66607 fi
66608 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
66609   as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
66610 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66611 fi
66612 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
66613   as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
66614 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66615 fi
66616 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
66617   as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
66618 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66619 fi
66620 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
66621   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
66622 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66623 fi
66624 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
66625   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
66626 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66627 fi
66628 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
66629   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
66630 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66631 fi
66632 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
66633   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
66634 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66635 fi
66636 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
66637   as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
66638 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66639 fi
66640 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
66641   as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
66642 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66643 fi
66644 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
66645   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
66646 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66647 fi
66648 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
66649   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
66650 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66651 fi
66652 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
66653   as_fn_error "conditional \"BUILD_INFO\" was never defined.
66654 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66655 fi
66656 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
66657   as_fn_error "conditional \"BUILD_EPUB\" was never defined.
66658 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66659 fi
66660 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
66661   as_fn_error "conditional \"BUILD_XML\" was never defined.
66662 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66663 fi
66664 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
66665   as_fn_error "conditional \"BUILD_HTML\" was never defined.
66666 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66667 fi
66668 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
66669   as_fn_error "conditional \"BUILD_MAN\" was never defined.
66670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66671 fi
66672 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
66673   as_fn_error "conditional \"BUILD_PDF\" was never defined.
66674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66675 fi
66676
66677 : ${CONFIG_STATUS=./config.status}
66678 ac_write_fail=0
66679 ac_clean_files_save=$ac_clean_files
66680 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
66681 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
66682 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
66683 as_write_fail=0
66684 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
66685 #! $SHELL
66686 # Generated by $as_me.
66687 # Run this file to recreate the current configuration.
66688 # Compiler output produced by configure, useful for debugging
66689 # configure, is in config.log if it exists.
66690
66691 debug=false
66692 ac_cs_recheck=false
66693 ac_cs_silent=false
66694
66695 SHELL=\${CONFIG_SHELL-$SHELL}
66696 export SHELL
66697 _ASEOF
66698 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
66699 ## -------------------- ##
66700 ## M4sh Initialization. ##
66701 ## -------------------- ##
66702
66703 # Be more Bourne compatible
66704 DUALCASE=1; export DUALCASE # for MKS sh
66705 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
66706   emulate sh
66707   NULLCMD=:
66708   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
66709   # is contrary to our usage.  Disable this feature.
66710   alias -g '${1+"$@"}'='"$@"'
66711   setopt NO_GLOB_SUBST
66712 else
66713   case `(set -o) 2>/dev/null` in #(
66714   *posix*) :
66715     set -o posix ;; #(
66716   *) :
66717      ;;
66718 esac
66719 fi
66720
66721
66722 as_nl='
66723 '
66724 export as_nl
66725 # Printing a long string crashes Solaris 7 /usr/bin/printf.
66726 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
66727 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
66728 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
66729 # Prefer a ksh shell builtin over an external printf program on Solaris,
66730 # but without wasting forks for bash or zsh.
66731 if test -z "$BASH_VERSION$ZSH_VERSION" \
66732     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
66733   as_echo='print -r --'
66734   as_echo_n='print -rn --'
66735 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
66736   as_echo='printf %s\n'
66737   as_echo_n='printf %s'
66738 else
66739   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66740     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
66741     as_echo_n='/usr/ucb/echo -n'
66742   else
66743     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66744     as_echo_n_body='eval
66745       arg=$1;
66746       case $arg in #(
66747       *"$as_nl"*)
66748         expr "X$arg" : "X\\(.*\\)$as_nl";
66749         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66750       esac;
66751       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66752     '
66753     export as_echo_n_body
66754     as_echo_n='sh -c $as_echo_n_body as_echo'
66755   fi
66756   export as_echo_body
66757   as_echo='sh -c $as_echo_body as_echo'
66758 fi
66759
66760 # The user is always right.
66761 if test "${PATH_SEPARATOR+set}" != set; then
66762   PATH_SEPARATOR=:
66763   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66764     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66765       PATH_SEPARATOR=';'
66766   }
66767 fi
66768
66769
66770 # IFS
66771 # We need space, tab and new line, in precisely that order.  Quoting is
66772 # there to prevent editors from complaining about space-tab.
66773 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66774 # splitting by setting IFS to empty value.)
66775 IFS=" ""        $as_nl"
66776
66777 # Find who we are.  Look in the path if we contain no directory separator.
66778 case $0 in #((
66779   *[\\/]* ) as_myself=$0 ;;
66780   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66781 for as_dir in $PATH
66782 do
66783   IFS=$as_save_IFS
66784   test -z "$as_dir" && as_dir=.
66785     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66786   done
66787 IFS=$as_save_IFS
66788
66789      ;;
66790 esac
66791 # We did not find ourselves, most probably we were run as `sh COMMAND'
66792 # in which case we are not to be found in the path.
66793 if test "x$as_myself" = x; then
66794   as_myself=$0
66795 fi
66796 if test ! -f "$as_myself"; then
66797   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66798   exit 1
66799 fi
66800
66801 # Unset variables that we do not need and which cause bugs (e.g. in
66802 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
66803 # suppresses any "Segmentation fault" message there.  '((' could
66804 # trigger a bug in pdksh 5.2.14.
66805 for as_var in BASH_ENV ENV MAIL MAILPATH
66806 do eval test x\${$as_var+set} = xset \
66807   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66808 done
66809 PS1='$ '
66810 PS2='> '
66811 PS4='+ '
66812
66813 # NLS nuisances.
66814 LC_ALL=C
66815 export LC_ALL
66816 LANGUAGE=C
66817 export LANGUAGE
66818
66819 # CDPATH.
66820 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66821
66822
66823 # as_fn_error ERROR [LINENO LOG_FD]
66824 # ---------------------------------
66825 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66826 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66827 # script with status $?, using 1 if that was 0.
66828 as_fn_error ()
66829 {
66830   as_status=$?; test $as_status -eq 0 && as_status=1
66831   if test "$3"; then
66832     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66833     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66834   fi
66835   $as_echo "$as_me: error: $1" >&2
66836   as_fn_exit $as_status
66837 } # as_fn_error
66838
66839
66840 # as_fn_set_status STATUS
66841 # -----------------------
66842 # Set $? to STATUS, without forking.
66843 as_fn_set_status ()
66844 {
66845   return $1
66846 } # as_fn_set_status
66847
66848 # as_fn_exit STATUS
66849 # -----------------
66850 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66851 as_fn_exit ()
66852 {
66853   set +e
66854   as_fn_set_status $1
66855   exit $1
66856 } # as_fn_exit
66857
66858 # as_fn_unset VAR
66859 # ---------------
66860 # Portably unset VAR.
66861 as_fn_unset ()
66862 {
66863   { eval $1=; unset $1;}
66864 }
66865 as_unset=as_fn_unset
66866 # as_fn_append VAR VALUE
66867 # ----------------------
66868 # Append the text in VALUE to the end of the definition contained in VAR. Take
66869 # advantage of any shell optimizations that allow amortized linear growth over
66870 # repeated appends, instead of the typical quadratic growth present in naive
66871 # implementations.
66872 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66873   eval 'as_fn_append ()
66874   {
66875     eval $1+=\$2
66876   }'
66877 else
66878   as_fn_append ()
66879   {
66880     eval $1=\$$1\$2
66881   }
66882 fi # as_fn_append
66883
66884 # as_fn_arith ARG...
66885 # ------------------
66886 # Perform arithmetic evaluation on the ARGs, and store the result in the
66887 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66888 # must be portable across $(()) and expr.
66889 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66890   eval 'as_fn_arith ()
66891   {
66892     as_val=$(( $* ))
66893   }'
66894 else
66895   as_fn_arith ()
66896   {
66897     as_val=`expr "$@" || test $? -eq 1`
66898   }
66899 fi # as_fn_arith
66900
66901
66902 if expr a : '\(a\)' >/dev/null 2>&1 &&
66903    test "X`expr 00001 : '.*\(...\)'`" = X001; then
66904   as_expr=expr
66905 else
66906   as_expr=false
66907 fi
66908
66909 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66910   as_basename=basename
66911 else
66912   as_basename=false
66913 fi
66914
66915 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66916   as_dirname=dirname
66917 else
66918   as_dirname=false
66919 fi
66920
66921 as_me=`$as_basename -- "$0" ||
66922 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66923          X"$0" : 'X\(//\)$' \| \
66924          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66925 $as_echo X/"$0" |
66926     sed '/^.*\/\([^/][^/]*\)\/*$/{
66927             s//\1/
66928             q
66929           }
66930           /^X\/\(\/\/\)$/{
66931             s//\1/
66932             q
66933           }
66934           /^X\/\(\/\).*/{
66935             s//\1/
66936             q
66937           }
66938           s/.*/./; q'`
66939
66940 # Avoid depending upon Character Ranges.
66941 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66942 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66943 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66944 as_cr_digits='0123456789'
66945 as_cr_alnum=$as_cr_Letters$as_cr_digits
66946
66947 ECHO_C= ECHO_N= ECHO_T=
66948 case `echo -n x` in #(((((
66949 -n*)
66950   case `echo 'xy\c'` in
66951   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
66952   xy)  ECHO_C='\c';;
66953   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
66954        ECHO_T=' ';;
66955   esac;;
66956 *)
66957   ECHO_N='-n';;
66958 esac
66959
66960 rm -f conf$$ conf$$.exe conf$$.file
66961 if test -d conf$$.dir; then
66962   rm -f conf$$.dir/conf$$.file
66963 else
66964   rm -f conf$$.dir
66965   mkdir conf$$.dir 2>/dev/null
66966 fi
66967 if (echo >conf$$.file) 2>/dev/null; then
66968   if ln -s conf$$.file conf$$ 2>/dev/null; then
66969     as_ln_s='ln -s'
66970     # ... but there are two gotchas:
66971     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66972     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66973     # In both cases, we have to default to `cp -p'.
66974     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66975       as_ln_s='cp -p'
66976   elif ln conf$$.file conf$$ 2>/dev/null; then
66977     as_ln_s=ln
66978   else
66979     as_ln_s='cp -p'
66980   fi
66981 else
66982   as_ln_s='cp -p'
66983 fi
66984 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66985 rmdir conf$$.dir 2>/dev/null
66986
66987
66988 # as_fn_mkdir_p
66989 # -------------
66990 # Create "$as_dir" as a directory, including parents if necessary.
66991 as_fn_mkdir_p ()
66992 {
66993
66994   case $as_dir in #(
66995   -*) as_dir=./$as_dir;;
66996   esac
66997   test -d "$as_dir" || eval $as_mkdir_p || {
66998     as_dirs=
66999     while :; do
67000       case $as_dir in #(
67001       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
67002       *) as_qdir=$as_dir;;
67003       esac
67004       as_dirs="'$as_qdir' $as_dirs"
67005       as_dir=`$as_dirname -- "$as_dir" ||
67006 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67007          X"$as_dir" : 'X\(//\)[^/]' \| \
67008          X"$as_dir" : 'X\(//\)$' \| \
67009          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
67010 $as_echo X"$as_dir" |
67011     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67012             s//\1/
67013             q
67014           }
67015           /^X\(\/\/\)[^/].*/{
67016             s//\1/
67017             q
67018           }
67019           /^X\(\/\/\)$/{
67020             s//\1/
67021             q
67022           }
67023           /^X\(\/\).*/{
67024             s//\1/
67025             q
67026           }
67027           s/.*/./; q'`
67028       test -d "$as_dir" && break
67029     done
67030     test -z "$as_dirs" || eval "mkdir $as_dirs"
67031   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
67032
67033
67034 } # as_fn_mkdir_p
67035 if mkdir -p . 2>/dev/null; then
67036   as_mkdir_p='mkdir -p "$as_dir"'
67037 else
67038   test -d ./-p && rmdir ./-p
67039   as_mkdir_p=false
67040 fi
67041
67042 if test -x / >/dev/null 2>&1; then
67043   as_test_x='test -x'
67044 else
67045   if ls -dL / >/dev/null 2>&1; then
67046     as_ls_L_option=L
67047   else
67048     as_ls_L_option=
67049   fi
67050   as_test_x='
67051     eval sh -c '\''
67052       if test -d "$1"; then
67053         test -d "$1/.";
67054       else
67055         case $1 in #(
67056         -*)set "./$1";;
67057         esac;
67058         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
67059         ???[sx]*):;;*)false;;esac;fi
67060     '\'' sh
67061   '
67062 fi
67063 as_executable_p=$as_test_x
67064
67065 # Sed expression to map a string onto a valid CPP name.
67066 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
67067
67068 # Sed expression to map a string onto a valid variable name.
67069 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
67070
67071
67072 exec 6>&1
67073 ## ----------------------------------- ##
67074 ## Main body of $CONFIG_STATUS script. ##
67075 ## ----------------------------------- ##
67076 _ASEOF
67077 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
67078
67079 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67080 # Save the log message, to keep $0 and so on meaningful, and to
67081 # report actual input values of CONFIG_FILES etc. instead of their
67082 # values after options handling.
67083 ac_log="
67084 This file was extended by package-unused $as_me version-unused, which was
67085 generated by GNU Autoconf 2.64.  Invocation command line was
67086
67087   CONFIG_FILES    = $CONFIG_FILES
67088   CONFIG_HEADERS  = $CONFIG_HEADERS
67089   CONFIG_LINKS    = $CONFIG_LINKS
67090   CONFIG_COMMANDS = $CONFIG_COMMANDS
67091   $ $0 $@
67092
67093 on `(hostname || uname -n) 2>/dev/null | sed 1q`
67094 "
67095
67096 _ACEOF
67097
67098 case $ac_config_files in *"
67099 "*) set x $ac_config_files; shift; ac_config_files=$*;;
67100 esac
67101
67102 case $ac_config_headers in *"
67103 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
67104 esac
67105
67106
67107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67108 # Files that config.status was made for.
67109 config_files="$ac_config_files"
67110 config_headers="$ac_config_headers"
67111 config_commands="$ac_config_commands"
67112
67113 _ACEOF
67114
67115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67116 ac_cs_usage="\
67117 \`$as_me' instantiates files and other configuration actions
67118 from templates according to the current configuration.  Unless the files
67119 and actions are specified as TAGs, all are instantiated by default.
67120
67121 Usage: $0 [OPTION]... [TAG]...
67122
67123   -h, --help       print this help, then exit
67124   -V, --version    print version number and configuration settings, then exit
67125   -q, --quiet, --silent
67126                    do not print progress messages
67127   -d, --debug      don't remove temporary files
67128       --recheck    update $as_me by reconfiguring in the same conditions
67129       --file=FILE[:TEMPLATE]
67130                    instantiate the configuration file FILE
67131       --header=FILE[:TEMPLATE]
67132                    instantiate the configuration header FILE
67133
67134 Configuration files:
67135 $config_files
67136
67137 Configuration headers:
67138 $config_headers
67139
67140 Configuration commands:
67141 $config_commands
67142
67143 Report bugs to the package provider."
67144
67145 _ACEOF
67146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67147 ac_cs_version="\\
67148 package-unused config.status version-unused
67149 configured by $0, generated by GNU Autoconf 2.64,
67150   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
67151
67152 Copyright (C) 2009 Free Software Foundation, Inc.
67153 This config.status script is free software; the Free Software Foundation
67154 gives unlimited permission to copy, distribute and modify it."
67155
67156 ac_pwd='$ac_pwd'
67157 srcdir='$srcdir'
67158 INSTALL='$INSTALL'
67159 MKDIR_P='$MKDIR_P'
67160 AWK='$AWK'
67161 test -n "\$AWK" || AWK=awk
67162 _ACEOF
67163
67164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67165 # The default lists apply if the user does not specify any file.
67166 ac_need_defaults=:
67167 while test $# != 0
67168 do
67169   case $1 in
67170   --*=*)
67171     ac_option=`expr "X$1" : 'X\([^=]*\)='`
67172     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
67173     ac_shift=:
67174     ;;
67175   *)
67176     ac_option=$1
67177     ac_optarg=$2
67178     ac_shift=shift
67179     ;;
67180   esac
67181
67182   case $ac_option in
67183   # Handling of the options.
67184   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
67185     ac_cs_recheck=: ;;
67186   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
67187     $as_echo "$ac_cs_version"; exit ;;
67188   --debug | --debu | --deb | --de | --d | -d )
67189     debug=: ;;
67190   --file | --fil | --fi | --f )
67191     $ac_shift
67192     case $ac_optarg in
67193     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
67194     esac
67195     as_fn_append CONFIG_FILES " '$ac_optarg'"
67196     ac_need_defaults=false;;
67197   --header | --heade | --head | --hea )
67198     $ac_shift
67199     case $ac_optarg in
67200     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
67201     esac
67202     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
67203     ac_need_defaults=false;;
67204   --he | --h)
67205     # Conflict between --help and --header
67206     as_fn_error "ambiguous option: \`$1'
67207 Try \`$0 --help' for more information.";;
67208   --help | --hel | -h )
67209     $as_echo "$ac_cs_usage"; exit ;;
67210   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
67211   | -silent | --silent | --silen | --sile | --sil | --si | --s)
67212     ac_cs_silent=: ;;
67213
67214   # This is an error.
67215   -*) as_fn_error "unrecognized option: \`$1'
67216 Try \`$0 --help' for more information." ;;
67217
67218   *) as_fn_append ac_config_targets " $1"
67219      ac_need_defaults=false ;;
67220
67221   esac
67222   shift
67223 done
67224
67225 ac_configure_extra_args=
67226
67227 if $ac_cs_silent; then
67228   exec 6>/dev/null
67229   ac_configure_extra_args="$ac_configure_extra_args --silent"
67230 fi
67231
67232 _ACEOF
67233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67234 if \$ac_cs_recheck; then
67235   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
67236   shift
67237   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
67238   CONFIG_SHELL='$SHELL'
67239   export CONFIG_SHELL
67240   exec "\$@"
67241 fi
67242
67243 _ACEOF
67244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67245 exec 5>>config.log
67246 {
67247   echo
67248   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
67249 ## Running $as_me. ##
67250 _ASBOX
67251   $as_echo "$ac_log"
67252 } >&5
67253
67254 _ACEOF
67255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67256 #
67257 # INIT-COMMANDS
67258 #
67259
67260 srcdir="$srcdir"
67261 host="$host"
67262 target="$target"
67263 with_multisubdir="$with_multisubdir"
67264 with_multisrctop="$with_multisrctop"
67265 with_target_subdir="$with_target_subdir"
67266 ac_configure_args="${multilib_arg} ${ac_configure_args}"
67267 multi_basedir="$multi_basedir"
67268 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
67269 CC="$CC"
67270 CXX="$CXX"
67271 GFORTRAN="$GFORTRAN"
67272 GCJ="$GCJ"
67273
67274
67275 # The HP-UX ksh and POSIX shell print the target directory to stdout
67276 # if CDPATH is set.
67277 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
67278
67279 sed_quote_subst='$sed_quote_subst'
67280 double_quote_subst='$double_quote_subst'
67281 delay_variable_subst='$delay_variable_subst'
67282 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
67283 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
67284 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
67285 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
67286 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
67287 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
67288 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
67289 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
67290 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
67291 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
67292 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
67293 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
67294 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
67295 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
67296 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
67297 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
67298 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
67299 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
67300 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
67301 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
67302 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
67303 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
67304 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
67305 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
67306 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
67307 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
67308 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
67309 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
67310 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
67311 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
67312 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
67313 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
67314 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
67315 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
67316 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
67317 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
67318 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
67319 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67320 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67321 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
67322 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
67323 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
67324 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
67325 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
67326 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
67327 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
67328 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
67329 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
67330 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"`'
67331 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
67332 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
67333 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
67334 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
67335 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
67336 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
67337 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
67338 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
67339 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
67340 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
67341 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
67342 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
67343 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
67344 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
67345 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
67346 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67347 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
67348 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
67349 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
67350 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
67351 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
67352 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
67353 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67354 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
67355 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67356 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
67357 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67358 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
67359 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
67360 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
67361 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
67362 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
67363 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
67364 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
67365 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
67366 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
67367 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
67368 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
67369 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
67370 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
67371 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
67372 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
67373 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
67374 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
67375 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
67376 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
67377 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
67378 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
67379 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
67380 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
67381 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
67382 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
67383 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
67384 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
67385 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
67386 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
67387 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
67388 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
67389 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67390 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67391 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
67392 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
67393 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
67394 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
67395 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
67396 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
67397 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
67398 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
67399 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
67400 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
67401 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
67402 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
67403 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
67404 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
67405 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
67406 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
67407 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
67408 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
67409 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
67410 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67411 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67412 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
67413 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
67414 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
67415 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
67416 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
67417 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
67418 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
67419 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
67420 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
67421 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67422 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67423 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
67424 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67425 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67426 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67427 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67428 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67429 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67430 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
67431 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67432 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67433 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67434 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
67435 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
67436 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
67437 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
67438 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
67439 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
67440 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
67441 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
67442 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
67443 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
67444 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
67445 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67446 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67447 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67448 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67449 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
67450 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
67451 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
67452 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67453 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67454 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
67455 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
67456 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
67457
67458 LTCC='$LTCC'
67459 LTCFLAGS='$LTCFLAGS'
67460 compiler='$compiler_DEFAULT'
67461
67462 # A function that is used when there is no print builtin or printf.
67463 func_fallback_echo ()
67464 {
67465   eval 'cat <<_LTECHO_EOF
67466 \$1
67467 _LTECHO_EOF'
67468 }
67469
67470 # Quote evaled strings.
67471 for var in SHELL \
67472 ECHO \
67473 SED \
67474 GREP \
67475 EGREP \
67476 FGREP \
67477 LD \
67478 NM \
67479 LN_S \
67480 lt_SP2NL \
67481 lt_NL2SP \
67482 reload_flag \
67483 OBJDUMP \
67484 deplibs_check_method \
67485 file_magic_cmd \
67486 AR \
67487 AR_FLAGS \
67488 STRIP \
67489 RANLIB \
67490 CC \
67491 CFLAGS \
67492 compiler \
67493 lt_cv_sys_global_symbol_pipe \
67494 lt_cv_sys_global_symbol_to_cdecl \
67495 lt_cv_sys_global_symbol_to_c_name_address \
67496 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
67497 lt_prog_compiler_no_builtin_flag \
67498 lt_prog_compiler_wl \
67499 lt_prog_compiler_pic \
67500 lt_prog_compiler_static \
67501 lt_cv_prog_compiler_c_o \
67502 need_locks \
67503 DSYMUTIL \
67504 NMEDIT \
67505 LIPO \
67506 OTOOL \
67507 OTOOL64 \
67508 shrext_cmds \
67509 export_dynamic_flag_spec \
67510 whole_archive_flag_spec \
67511 compiler_needs_object \
67512 with_gnu_ld \
67513 allow_undefined_flag \
67514 no_undefined_flag \
67515 hardcode_libdir_flag_spec \
67516 hardcode_libdir_flag_spec_ld \
67517 hardcode_libdir_separator \
67518 fix_srcfile_path \
67519 exclude_expsyms \
67520 include_expsyms \
67521 file_list_spec \
67522 variables_saved_for_relink \
67523 libname_spec \
67524 library_names_spec \
67525 soname_spec \
67526 install_override_mode \
67527 finish_eval \
67528 old_striplib \
67529 striplib \
67530 compiler_lib_search_dirs \
67531 predep_objects \
67532 postdep_objects \
67533 predeps \
67534 postdeps \
67535 compiler_lib_search_path \
67536 LD_CXX \
67537 reload_flag_CXX \
67538 compiler_CXX \
67539 lt_prog_compiler_no_builtin_flag_CXX \
67540 lt_prog_compiler_wl_CXX \
67541 lt_prog_compiler_pic_CXX \
67542 lt_prog_compiler_static_CXX \
67543 lt_cv_prog_compiler_c_o_CXX \
67544 export_dynamic_flag_spec_CXX \
67545 whole_archive_flag_spec_CXX \
67546 compiler_needs_object_CXX \
67547 with_gnu_ld_CXX \
67548 allow_undefined_flag_CXX \
67549 no_undefined_flag_CXX \
67550 hardcode_libdir_flag_spec_CXX \
67551 hardcode_libdir_flag_spec_ld_CXX \
67552 hardcode_libdir_separator_CXX \
67553 fix_srcfile_path_CXX \
67554 exclude_expsyms_CXX \
67555 include_expsyms_CXX \
67556 file_list_spec_CXX \
67557 compiler_lib_search_dirs_CXX \
67558 predep_objects_CXX \
67559 postdep_objects_CXX \
67560 predeps_CXX \
67561 postdeps_CXX \
67562 compiler_lib_search_path_CXX; do
67563     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67564     *[\\\\\\\`\\"\\\$]*)
67565       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
67566       ;;
67567     *)
67568       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67569       ;;
67570     esac
67571 done
67572
67573 # Double-quote double-evaled strings.
67574 for var in reload_cmds \
67575 old_postinstall_cmds \
67576 old_postuninstall_cmds \
67577 old_archive_cmds \
67578 extract_expsyms_cmds \
67579 old_archive_from_new_cmds \
67580 old_archive_from_expsyms_cmds \
67581 archive_cmds \
67582 archive_expsym_cmds \
67583 module_cmds \
67584 module_expsym_cmds \
67585 export_symbols_cmds \
67586 prelink_cmds \
67587 postinstall_cmds \
67588 postuninstall_cmds \
67589 finish_cmds \
67590 sys_lib_search_path_spec \
67591 sys_lib_dlsearch_path_spec \
67592 reload_cmds_CXX \
67593 old_archive_cmds_CXX \
67594 old_archive_from_new_cmds_CXX \
67595 old_archive_from_expsyms_cmds_CXX \
67596 archive_cmds_CXX \
67597 archive_expsym_cmds_CXX \
67598 module_cmds_CXX \
67599 module_expsym_cmds_CXX \
67600 export_symbols_cmds_CXX \
67601 prelink_cmds_CXX; do
67602     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67603     *[\\\\\\\`\\"\\\$]*)
67604       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
67605       ;;
67606     *)
67607       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67608       ;;
67609     esac
67610 done
67611
67612 ac_aux_dir='$ac_aux_dir'
67613 xsi_shell='$xsi_shell'
67614 lt_shell_append='$lt_shell_append'
67615
67616 # See if we are running on zsh, and set the options which allow our
67617 # commands through without removal of \ escapes INIT.
67618 if test -n "\${ZSH_VERSION+set}" ; then
67619    setopt NO_GLOB_SUBST
67620 fi
67621
67622
67623     PACKAGE='$PACKAGE'
67624     VERSION='$VERSION'
67625     TIMESTAMP='$TIMESTAMP'
67626     RM='$RM'
67627     ofile='$ofile'
67628
67629
67630
67631
67632
67633
67634 GCC="$GCC"
67635 CC="$CC"
67636 acx_cv_header_stdint="$acx_cv_header_stdint"
67637 acx_cv_type_int8_t="$acx_cv_type_int8_t"
67638 acx_cv_type_int16_t="$acx_cv_type_int16_t"
67639 acx_cv_type_int32_t="$acx_cv_type_int32_t"
67640 acx_cv_type_int64_t="$acx_cv_type_int64_t"
67641 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
67642 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
67643 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
67644 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
67645 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
67646 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
67647 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
67648 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
67649 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
67650
67651
67652 _ACEOF
67653
67654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67655
67656 # Handling of arguments.
67657 for ac_config_target in $ac_config_targets
67658 do
67659   case $ac_config_target in
67660     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
67661     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
67662     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
67663     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
67664     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
67665     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
67666     "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
67667     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
67668     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
67669     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
67670     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
67671     "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
67672     "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
67673     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
67674     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
67675     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
67676     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
67677
67678   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
67679   esac
67680 done
67681
67682
67683 # If the user did not use the arguments to specify the items to instantiate,
67684 # then the envvar interface is used.  Set only those that are not.
67685 # We use the long form for the default assignment because of an extremely
67686 # bizarre bug on SunOS 4.1.3.
67687 if $ac_need_defaults; then
67688   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
67689   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
67690   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
67691 fi
67692
67693 # Have a temporary directory for convenience.  Make it in the build tree
67694 # simply because there is no reason against having it here, and in addition,
67695 # creating and moving files from /tmp can sometimes cause problems.
67696 # Hook for its removal unless debugging.
67697 # Note that there is a small window in which the directory will not be cleaned:
67698 # after its creation but before its name has been assigned to `$tmp'.
67699 $debug ||
67700 {
67701   tmp=
67702   trap 'exit_status=$?
67703   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
67704 ' 0
67705   trap 'as_fn_exit 1' 1 2 13 15
67706 }
67707 # Create a (secure) tmp directory for tmp files.
67708
67709 {
67710   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
67711   test -n "$tmp" && test -d "$tmp"
67712 }  ||
67713 {
67714   tmp=./conf$$-$RANDOM
67715   (umask 077 && mkdir "$tmp")
67716 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
67717
67718 # Set up the scripts for CONFIG_FILES section.
67719 # No need to generate them if there are no CONFIG_FILES.
67720 # This happens for instance with `./config.status config.h'.
67721 if test -n "$CONFIG_FILES"; then
67722
67723
67724 ac_cr=`echo X | tr X '\015'`
67725 # On cygwin, bash can eat \r inside `` if the user requested igncr.
67726 # But we know of no other shell where ac_cr would be empty at this
67727 # point, so we can use a bashism as a fallback.
67728 if test "x$ac_cr" = x; then
67729   eval ac_cr=\$\'\\r\'
67730 fi
67731 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
67732 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
67733   ac_cs_awk_cr='\r'
67734 else
67735   ac_cs_awk_cr=$ac_cr
67736 fi
67737
67738 echo 'BEGIN {' >"$tmp/subs1.awk" &&
67739 _ACEOF
67740
67741
67742 {
67743   echo "cat >conf$$subs.awk <<_ACEOF" &&
67744   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
67745   echo "_ACEOF"
67746 } >conf$$subs.sh ||
67747   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67748 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
67749 ac_delim='%!_!# '
67750 for ac_last_try in false false false false false :; do
67751   . ./conf$$subs.sh ||
67752     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67753
67754   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67755   if test $ac_delim_n = $ac_delim_num; then
67756     break
67757   elif $ac_last_try; then
67758     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67759   else
67760     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67761   fi
67762 done
67763 rm -f conf$$subs.sh
67764
67765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67766 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67767 _ACEOF
67768 sed -n '
67769 h
67770 s/^/S["/; s/!.*/"]=/
67771 p
67772 g
67773 s/^[^!]*!//
67774 :repl
67775 t repl
67776 s/'"$ac_delim"'$//
67777 t delim
67778 :nl
67779 h
67780 s/\(.\{148\}\).*/\1/
67781 t more1
67782 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67783 p
67784 n
67785 b repl
67786 :more1
67787 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67788 p
67789 g
67790 s/.\{148\}//
67791 t nl
67792 :delim
67793 h
67794 s/\(.\{148\}\).*/\1/
67795 t more2
67796 s/["\\]/\\&/g; s/^/"/; s/$/"/
67797 p
67798 b
67799 :more2
67800 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67801 p
67802 g
67803 s/.\{148\}//
67804 t delim
67805 ' <conf$$subs.awk | sed '
67806 /^[^""]/{
67807   N
67808   s/\n//
67809 }
67810 ' >>$CONFIG_STATUS || ac_write_fail=1
67811 rm -f conf$$subs.awk
67812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67813 _ACAWK
67814 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67815   for (key in S) S_is_set[key] = 1
67816   FS = "\a"
67817
67818 }
67819 {
67820   line = $ 0
67821   nfields = split(line, field, "@")
67822   substed = 0
67823   len = length(field[1])
67824   for (i = 2; i < nfields; i++) {
67825     key = field[i]
67826     keylen = length(key)
67827     if (S_is_set[key]) {
67828       value = S[key]
67829       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67830       len += length(value) + length(field[++i])
67831       substed = 1
67832     } else
67833       len += 1 + keylen
67834   }
67835
67836   print line
67837 }
67838
67839 _ACAWK
67840 _ACEOF
67841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67842 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67843   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67844 else
67845   cat
67846 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67847   || as_fn_error "could not setup config files machinery" "$LINENO" 5
67848 _ACEOF
67849
67850 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67851 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67852 # trailing colons and then remove the whole line if VPATH becomes empty
67853 # (actually we leave an empty line to preserve line numbers).
67854 if test "x$srcdir" = x.; then
67855   ac_vpsub='/^[  ]*VPATH[        ]*=/{
67856 s/:*\$(srcdir):*/:/
67857 s/:*\${srcdir}:*/:/
67858 s/:*@srcdir@:*/:/
67859 s/^\([^=]*=[     ]*\):*/\1/
67860 s/:*$//
67861 s/^[^=]*=[       ]*$//
67862 }'
67863 fi
67864
67865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67866 fi # test -n "$CONFIG_FILES"
67867
67868 # Set up the scripts for CONFIG_HEADERS section.
67869 # No need to generate them if there are no CONFIG_HEADERS.
67870 # This happens for instance with `./config.status Makefile'.
67871 if test -n "$CONFIG_HEADERS"; then
67872 cat >"$tmp/defines.awk" <<\_ACAWK ||
67873 BEGIN {
67874 _ACEOF
67875
67876 # Transform confdefs.h into an awk script `defines.awk', embedded as
67877 # here-document in config.status, that substitutes the proper values into
67878 # config.h.in to produce config.h.
67879
67880 # Create a delimiter string that does not exist in confdefs.h, to ease
67881 # handling of long lines.
67882 ac_delim='%!_!# '
67883 for ac_last_try in false false :; do
67884   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67885   if test -z "$ac_t"; then
67886     break
67887   elif $ac_last_try; then
67888     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67889   else
67890     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67891   fi
67892 done
67893
67894 # For the awk script, D is an array of macro values keyed by name,
67895 # likewise P contains macro parameters if any.  Preserve backslash
67896 # newline sequences.
67897
67898 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67899 sed -n '
67900 s/.\{148\}/&'"$ac_delim"'/g
67901 t rset
67902 :rset
67903 s/^[     ]*#[    ]*define[       ][      ]*/ /
67904 t def
67905 d
67906 :def
67907 s/\\$//
67908 t bsnl
67909 s/["\\]/\\&/g
67910 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
67911 D["\1"]=" \3"/p
67912 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
67913 d
67914 :bsnl
67915 s/["\\]/\\&/g
67916 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
67917 D["\1"]=" \3\\\\\\n"\\/p
67918 t cont
67919 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67920 t cont
67921 d
67922 :cont
67923 n
67924 s/.\{148\}/&'"$ac_delim"'/g
67925 t clear
67926 :clear
67927 s/\\$//
67928 t bsnlc
67929 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67930 d
67931 :bsnlc
67932 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67933 b cont
67934 ' <confdefs.h | sed '
67935 s/'"$ac_delim"'/"\\\
67936 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67937
67938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67939   for (key in D) D_is_set[key] = 1
67940   FS = "\a"
67941 }
67942 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67943   line = \$ 0
67944   split(line, arg, " ")
67945   if (arg[1] == "#") {
67946     defundef = arg[2]
67947     mac1 = arg[3]
67948   } else {
67949     defundef = substr(arg[1], 2)
67950     mac1 = arg[2]
67951   }
67952   split(mac1, mac2, "(") #)
67953   macro = mac2[1]
67954   prefix = substr(line, 1, index(line, defundef) - 1)
67955   if (D_is_set[macro]) {
67956     # Preserve the white space surrounding the "#".
67957     print prefix "define", macro P[macro] D[macro]
67958     next
67959   } else {
67960     # Replace #undef with comments.  This is necessary, for example,
67961     # in the case of _POSIX_SOURCE, which is predefined and required
67962     # on some systems where configure will not decide to define it.
67963     if (defundef == "undef") {
67964       print "/*", prefix defundef, macro, "*/"
67965       next
67966     }
67967   }
67968 }
67969 { print }
67970 _ACAWK
67971 _ACEOF
67972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67973   as_fn_error "could not setup config headers machinery" "$LINENO" 5
67974 fi # test -n "$CONFIG_HEADERS"
67975
67976
67977 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
67978 shift
67979 for ac_tag
67980 do
67981   case $ac_tag in
67982   :[FHLC]) ac_mode=$ac_tag; continue;;
67983   esac
67984   case $ac_mode$ac_tag in
67985   :[FHL]*:*);;
67986   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67987   :[FH]-) ac_tag=-:-;;
67988   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67989   esac
67990   ac_save_IFS=$IFS
67991   IFS=:
67992   set x $ac_tag
67993   IFS=$ac_save_IFS
67994   shift
67995   ac_file=$1
67996   shift
67997
67998   case $ac_mode in
67999   :L) ac_source=$1;;
68000   :[FH])
68001     ac_file_inputs=
68002     for ac_f
68003     do
68004       case $ac_f in
68005       -) ac_f="$tmp/stdin";;
68006       *) # Look for the file first in the build tree, then in the source tree
68007          # (if the path is not absolute).  The absolute path cannot be DOS-style,
68008          # because $ac_f cannot contain `:'.
68009          test -f "$ac_f" ||
68010            case $ac_f in
68011            [\\/$]*) false;;
68012            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
68013            esac ||
68014            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
68015       esac
68016       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
68017       as_fn_append ac_file_inputs " '$ac_f'"
68018     done
68019
68020     # Let's still pretend it is `configure' which instantiates (i.e., don't
68021     # use $as_me), people would be surprised to read:
68022     #    /* config.h.  Generated by config.status.  */
68023     configure_input='Generated from '`
68024           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
68025         `' by configure.'
68026     if test x"$ac_file" != x-; then
68027       configure_input="$ac_file.  $configure_input"
68028       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
68029 $as_echo "$as_me: creating $ac_file" >&6;}
68030     fi
68031     # Neutralize special characters interpreted by sed in replacement strings.
68032     case $configure_input in #(
68033     *\&* | *\|* | *\\* )
68034        ac_sed_conf_input=`$as_echo "$configure_input" |
68035        sed 's/[\\\\&|]/\\\\&/g'`;; #(
68036     *) ac_sed_conf_input=$configure_input;;
68037     esac
68038
68039     case $ac_tag in
68040     *:-:* | *:-) cat >"$tmp/stdin" \
68041       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
68042     esac
68043     ;;
68044   esac
68045
68046   ac_dir=`$as_dirname -- "$ac_file" ||
68047 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68048          X"$ac_file" : 'X\(//\)[^/]' \| \
68049          X"$ac_file" : 'X\(//\)$' \| \
68050          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
68051 $as_echo X"$ac_file" |
68052     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
68053             s//\1/
68054             q
68055           }
68056           /^X\(\/\/\)[^/].*/{
68057             s//\1/
68058             q
68059           }
68060           /^X\(\/\/\)$/{
68061             s//\1/
68062             q
68063           }
68064           /^X\(\/\).*/{
68065             s//\1/
68066             q
68067           }
68068           s/.*/./; q'`
68069   as_dir="$ac_dir"; as_fn_mkdir_p
68070   ac_builddir=.
68071
68072 case "$ac_dir" in
68073 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
68074 *)
68075   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
68076   # A ".." for each directory in $ac_dir_suffix.
68077   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
68078   case $ac_top_builddir_sub in
68079   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
68080   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
68081   esac ;;
68082 esac
68083 ac_abs_top_builddir=$ac_pwd
68084 ac_abs_builddir=$ac_pwd$ac_dir_suffix
68085 # for backward compatibility:
68086 ac_top_builddir=$ac_top_build_prefix
68087
68088 case $srcdir in
68089   .)  # We are building in place.
68090     ac_srcdir=.
68091     ac_top_srcdir=$ac_top_builddir_sub
68092     ac_abs_top_srcdir=$ac_pwd ;;
68093   [\\/]* | ?:[\\/]* )  # Absolute name.
68094     ac_srcdir=$srcdir$ac_dir_suffix;
68095     ac_top_srcdir=$srcdir
68096     ac_abs_top_srcdir=$srcdir ;;
68097   *) # Relative name.
68098     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
68099     ac_top_srcdir=$ac_top_build_prefix$srcdir
68100     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
68101 esac
68102 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
68103
68104
68105   case $ac_mode in
68106   :F)
68107   #
68108   # CONFIG_FILE
68109   #
68110
68111   case $INSTALL in
68112   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
68113   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
68114   esac
68115   ac_MKDIR_P=$MKDIR_P
68116   case $MKDIR_P in
68117   [\\/$]* | ?:[\\/]* ) ;;
68118   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
68119   esac
68120 _ACEOF
68121
68122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
68123 # If the template does not know about datarootdir, expand it.
68124 # FIXME: This hack should be removed a few years after 2.60.
68125 ac_datarootdir_hack=; ac_datarootdir_seen=
68126 ac_sed_dataroot='
68127 /datarootdir/ {
68128   p
68129   q
68130 }
68131 /@datadir@/p
68132 /@docdir@/p
68133 /@infodir@/p
68134 /@localedir@/p
68135 /@mandir@/p'
68136 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
68137 *datarootdir*) ac_datarootdir_seen=yes;;
68138 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
68139   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
68140 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
68141 _ACEOF
68142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68143   ac_datarootdir_hack='
68144   s&@datadir@&$datadir&g
68145   s&@docdir@&$docdir&g
68146   s&@infodir@&$infodir&g
68147   s&@localedir@&$localedir&g
68148   s&@mandir@&$mandir&g
68149   s&\\\${datarootdir}&$datarootdir&g' ;;
68150 esac
68151 _ACEOF
68152
68153 # Neutralize VPATH when `$srcdir' = `.'.
68154 # Shell code in configure.ac might set extrasub.
68155 # FIXME: do we really want to maintain this feature?
68156 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68157 ac_sed_extra="$ac_vpsub
68158 $extrasub
68159 _ACEOF
68160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
68161 :t
68162 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
68163 s|@configure_input@|$ac_sed_conf_input|;t t
68164 s&@top_builddir@&$ac_top_builddir_sub&;t t
68165 s&@top_build_prefix@&$ac_top_build_prefix&;t t
68166 s&@srcdir@&$ac_srcdir&;t t
68167 s&@abs_srcdir@&$ac_abs_srcdir&;t t
68168 s&@top_srcdir@&$ac_top_srcdir&;t t
68169 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
68170 s&@builddir@&$ac_builddir&;t t
68171 s&@abs_builddir@&$ac_abs_builddir&;t t
68172 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
68173 s&@INSTALL@&$ac_INSTALL&;t t
68174 s&@MKDIR_P@&$ac_MKDIR_P&;t t
68175 $ac_datarootdir_hack
68176 "
68177 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
68178   || as_fn_error "could not create $ac_file" "$LINENO" 5
68179
68180 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
68181   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
68182   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
68183   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
68184 which seems to be undefined.  Please make sure it is defined." >&5
68185 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
68186 which seems to be undefined.  Please make sure it is defined." >&2;}
68187
68188   rm -f "$tmp/stdin"
68189   case $ac_file in
68190   -) cat "$tmp/out" && rm -f "$tmp/out";;
68191   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
68192   esac \
68193   || as_fn_error "could not create $ac_file" "$LINENO" 5
68194  ;;
68195   :H)
68196   #
68197   # CONFIG_HEADER
68198   #
68199   if test x"$ac_file" != x-; then
68200     {
68201       $as_echo "/* $configure_input  */" \
68202       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
68203     } >"$tmp/config.h" \
68204       || as_fn_error "could not create $ac_file" "$LINENO" 5
68205     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
68206       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
68207 $as_echo "$as_me: $ac_file is unchanged" >&6;}
68208     else
68209       rm -f "$ac_file"
68210       mv "$tmp/config.h" "$ac_file" \
68211         || as_fn_error "could not create $ac_file" "$LINENO" 5
68212     fi
68213   else
68214     $as_echo "/* $configure_input  */" \
68215       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
68216       || as_fn_error "could not create -" "$LINENO" 5
68217   fi
68218 # Compute "$ac_file"'s index in $config_headers.
68219 _am_arg="$ac_file"
68220 _am_stamp_count=1
68221 for _am_header in $config_headers :; do
68222   case $_am_header in
68223     $_am_arg | $_am_arg:* )
68224       break ;;
68225     * )
68226       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
68227   esac
68228 done
68229 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
68230 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68231          X"$_am_arg" : 'X\(//\)[^/]' \| \
68232          X"$_am_arg" : 'X\(//\)$' \| \
68233          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
68234 $as_echo X"$_am_arg" |
68235     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
68236             s//\1/
68237             q
68238           }
68239           /^X\(\/\/\)[^/].*/{
68240             s//\1/
68241             q
68242           }
68243           /^X\(\/\/\)$/{
68244             s//\1/
68245             q
68246           }
68247           /^X\(\/\).*/{
68248             s//\1/
68249             q
68250           }
68251           s/.*/./; q'`/stamp-h$_am_stamp_count
68252  ;;
68253
68254   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
68255 $as_echo "$as_me: executing $ac_file commands" >&6;}
68256  ;;
68257   esac
68258
68259
68260   case $ac_file$ac_mode in
68261     "default-1":C)
68262 # Only add multilib support code if we just rebuilt the top-level
68263 # Makefile.
68264 case " $CONFIG_FILES " in
68265  *" Makefile "*)
68266    ac_file=Makefile . ${multi_basedir}/config-ml.in
68267    ;;
68268 esac ;;
68269     "libtool":C)
68270
68271     # See if we are running on zsh, and set the options which allow our
68272     # commands through without removal of \ escapes.
68273     if test -n "${ZSH_VERSION+set}" ; then
68274       setopt NO_GLOB_SUBST
68275     fi
68276
68277     cfgfile="${ofile}T"
68278     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
68279     $RM "$cfgfile"
68280
68281     cat <<_LT_EOF >> "$cfgfile"
68282 #! $SHELL
68283
68284 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
68285 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
68286 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
68287 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
68288 #
68289 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
68290 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
68291 #   Written by Gordon Matzigkeit, 1996
68292 #
68293 #   This file is part of GNU Libtool.
68294 #
68295 # GNU Libtool is free software; you can redistribute it and/or
68296 # modify it under the terms of the GNU General Public License as
68297 # published by the Free Software Foundation; either version 2 of
68298 # the License, or (at your option) any later version.
68299 #
68300 # As a special exception to the GNU General Public License,
68301 # if you distribute this file as part of a program or library that
68302 # is built using GNU Libtool, you may include this file under the
68303 # same distribution terms that you use for the rest of that program.
68304 #
68305 # GNU Libtool is distributed in the hope that it will be useful,
68306 # but WITHOUT ANY WARRANTY; without even the implied warranty of
68307 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
68308 # GNU General Public License for more details.
68309 #
68310 # You should have received a copy of the GNU General Public License
68311 # along with GNU Libtool; see the file COPYING.  If not, a copy
68312 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
68313 # obtained by writing to the Free Software Foundation, Inc.,
68314 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
68315
68316
68317 # The names of the tagged configurations supported by this script.
68318 available_tags="CXX "
68319
68320 # ### BEGIN LIBTOOL CONFIG
68321
68322 # Which release of libtool.m4 was used?
68323 macro_version=$macro_version
68324 macro_revision=$macro_revision
68325
68326 # Whether or not to build shared libraries.
68327 build_libtool_libs=$enable_shared
68328
68329 # Whether or not to build static libraries.
68330 build_old_libs=$enable_static
68331
68332 # What type of objects to build.
68333 pic_mode=$pic_mode
68334
68335 # Whether or not to optimize for fast installation.
68336 fast_install=$enable_fast_install
68337
68338 # Shell to use when invoking shell scripts.
68339 SHELL=$lt_SHELL
68340
68341 # An echo program that protects backslashes.
68342 ECHO=$lt_ECHO
68343
68344 # The host system.
68345 host_alias=$host_alias
68346 host=$host
68347 host_os=$host_os
68348
68349 # The build system.
68350 build_alias=$build_alias
68351 build=$build
68352 build_os=$build_os
68353
68354 # A sed program that does not truncate output.
68355 SED=$lt_SED
68356
68357 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
68358 Xsed="\$SED -e 1s/^X//"
68359
68360 # A grep program that handles long lines.
68361 GREP=$lt_GREP
68362
68363 # An ERE matcher.
68364 EGREP=$lt_EGREP
68365
68366 # A literal string matcher.
68367 FGREP=$lt_FGREP
68368
68369 # A BSD- or MS-compatible name lister.
68370 NM=$lt_NM
68371
68372 # Whether we need soft or hard links.
68373 LN_S=$lt_LN_S
68374
68375 # What is the maximum length of a command?
68376 max_cmd_len=$max_cmd_len
68377
68378 # Object file suffix (normally "o").
68379 objext=$ac_objext
68380
68381 # Executable file suffix (normally "").
68382 exeext=$exeext
68383
68384 # whether the shell understands "unset".
68385 lt_unset=$lt_unset
68386
68387 # turn spaces into newlines.
68388 SP2NL=$lt_lt_SP2NL
68389
68390 # turn newlines into spaces.
68391 NL2SP=$lt_lt_NL2SP
68392
68393 # An object symbol dumper.
68394 OBJDUMP=$lt_OBJDUMP
68395
68396 # Method to check whether dependent libraries are shared objects.
68397 deplibs_check_method=$lt_deplibs_check_method
68398
68399 # Command to use when deplibs_check_method == "file_magic".
68400 file_magic_cmd=$lt_file_magic_cmd
68401
68402 # The archiver.
68403 AR=$lt_AR
68404 AR_FLAGS=$lt_AR_FLAGS
68405
68406 # A symbol stripping program.
68407 STRIP=$lt_STRIP
68408
68409 # Commands used to install an old-style archive.
68410 RANLIB=$lt_RANLIB
68411 old_postinstall_cmds=$lt_old_postinstall_cmds
68412 old_postuninstall_cmds=$lt_old_postuninstall_cmds
68413
68414 # Whether to use a lock for old archive extraction.
68415 lock_old_archive_extraction=$lock_old_archive_extraction
68416
68417 # A C compiler.
68418 LTCC=$lt_CC
68419
68420 # LTCC compiler flags.
68421 LTCFLAGS=$lt_CFLAGS
68422
68423 # Take the output of nm and produce a listing of raw symbols and C names.
68424 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
68425
68426 # Transform the output of nm in a proper C declaration.
68427 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
68428
68429 # Transform the output of nm in a C name address pair.
68430 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
68431
68432 # Transform the output of nm in a C name address pair when lib prefix is needed.
68433 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
68434
68435 # The name of the directory that contains temporary libtool files.
68436 objdir=$objdir
68437
68438 # Used to examine libraries when file_magic_cmd begins with "file".
68439 MAGIC_CMD=$MAGIC_CMD
68440
68441 # Must we lock files when doing compilation?
68442 need_locks=$lt_need_locks
68443
68444 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
68445 DSYMUTIL=$lt_DSYMUTIL
68446
68447 # Tool to change global to local symbols on Mac OS X.
68448 NMEDIT=$lt_NMEDIT
68449
68450 # Tool to manipulate fat objects and archives on Mac OS X.
68451 LIPO=$lt_LIPO
68452
68453 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
68454 OTOOL=$lt_OTOOL
68455
68456 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
68457 OTOOL64=$lt_OTOOL64
68458
68459 # Old archive suffix (normally "a").
68460 libext=$libext
68461
68462 # Shared library suffix (normally ".so").
68463 shrext_cmds=$lt_shrext_cmds
68464
68465 # The commands to extract the exported symbol list from a shared archive.
68466 extract_expsyms_cmds=$lt_extract_expsyms_cmds
68467
68468 # Variables whose values should be saved in libtool wrapper scripts and
68469 # restored at link time.
68470 variables_saved_for_relink=$lt_variables_saved_for_relink
68471
68472 # Do we need the "lib" prefix for modules?
68473 need_lib_prefix=$need_lib_prefix
68474
68475 # Do we need a version for libraries?
68476 need_version=$need_version
68477
68478 # Library versioning type.
68479 version_type=$version_type
68480
68481 # Shared library runtime path variable.
68482 runpath_var=$runpath_var
68483
68484 # Shared library path variable.
68485 shlibpath_var=$shlibpath_var
68486
68487 # Is shlibpath searched before the hard-coded library search path?
68488 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
68489
68490 # Format of library name prefix.
68491 libname_spec=$lt_libname_spec
68492
68493 # List of archive names.  First name is the real one, the rest are links.
68494 # The last name is the one that the linker finds with -lNAME
68495 library_names_spec=$lt_library_names_spec
68496
68497 # The coded name of the library, if different from the real name.
68498 soname_spec=$lt_soname_spec
68499
68500 # Permission mode override for installation of shared libraries.
68501 install_override_mode=$lt_install_override_mode
68502
68503 # Command to use after installation of a shared archive.
68504 postinstall_cmds=$lt_postinstall_cmds
68505
68506 # Command to use after uninstallation of a shared archive.
68507 postuninstall_cmds=$lt_postuninstall_cmds
68508
68509 # Commands used to finish a libtool library installation in a directory.
68510 finish_cmds=$lt_finish_cmds
68511
68512 # As "finish_cmds", except a single script fragment to be evaled but
68513 # not shown.
68514 finish_eval=$lt_finish_eval
68515
68516 # Whether we should hardcode library paths into libraries.
68517 hardcode_into_libs=$hardcode_into_libs
68518
68519 # Compile-time system search path for libraries.
68520 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
68521
68522 # Run-time system search path for libraries.
68523 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
68524
68525 # Whether dlopen is supported.
68526 dlopen_support=$enable_dlopen
68527
68528 # Whether dlopen of programs is supported.
68529 dlopen_self=$enable_dlopen_self
68530
68531 # Whether dlopen of statically linked programs is supported.
68532 dlopen_self_static=$enable_dlopen_self_static
68533
68534 # Commands to strip libraries.
68535 old_striplib=$lt_old_striplib
68536 striplib=$lt_striplib
68537
68538
68539 # The linker used to build libraries.
68540 LD=$lt_LD
68541
68542 # How to create reloadable object files.
68543 reload_flag=$lt_reload_flag
68544 reload_cmds=$lt_reload_cmds
68545
68546 # Commands used to build an old-style archive.
68547 old_archive_cmds=$lt_old_archive_cmds
68548
68549 # A language specific compiler.
68550 CC=$lt_compiler
68551
68552 # Is the compiler the GNU compiler?
68553 with_gcc=$GCC
68554
68555 # Compiler flag to turn off builtin functions.
68556 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
68557
68558 # How to pass a linker flag through the compiler.
68559 wl=$lt_lt_prog_compiler_wl
68560
68561 # Additional compiler flags for building library objects.
68562 pic_flag=$lt_lt_prog_compiler_pic
68563
68564 # Compiler flag to prevent dynamic linking.
68565 link_static_flag=$lt_lt_prog_compiler_static
68566
68567 # Does compiler simultaneously support -c and -o options?
68568 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
68569
68570 # Whether or not to add -lc for building shared libraries.
68571 build_libtool_need_lc=$archive_cmds_need_lc
68572
68573 # Whether or not to disallow shared libs when runtime libs are static.
68574 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
68575
68576 # Compiler flag to allow reflexive dlopens.
68577 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
68578
68579 # Compiler flag to generate shared objects directly from archives.
68580 whole_archive_flag_spec=$lt_whole_archive_flag_spec
68581
68582 # Whether the compiler copes with passing no objects directly.
68583 compiler_needs_object=$lt_compiler_needs_object
68584
68585 # Create an old-style archive from a shared archive.
68586 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
68587
68588 # Create a temporary old-style archive to link instead of a shared archive.
68589 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
68590
68591 # Commands used to build a shared archive.
68592 archive_cmds=$lt_archive_cmds
68593 archive_expsym_cmds=$lt_archive_expsym_cmds
68594
68595 # Commands used to build a loadable module if different from building
68596 # a shared archive.
68597 module_cmds=$lt_module_cmds
68598 module_expsym_cmds=$lt_module_expsym_cmds
68599
68600 # Whether we are building with GNU ld or not.
68601 with_gnu_ld=$lt_with_gnu_ld
68602
68603 # Flag that allows shared libraries with undefined symbols to be built.
68604 allow_undefined_flag=$lt_allow_undefined_flag
68605
68606 # Flag that enforces no undefined symbols.
68607 no_undefined_flag=$lt_no_undefined_flag
68608
68609 # Flag to hardcode \$libdir into a binary during linking.
68610 # This must work even if \$libdir does not exist
68611 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
68612
68613 # If ld is used when linking, flag to hardcode \$libdir into a binary
68614 # during linking.  This must work even if \$libdir does not exist.
68615 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
68616
68617 # Whether we need a single "-rpath" flag with a separated argument.
68618 hardcode_libdir_separator=$lt_hardcode_libdir_separator
68619
68620 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68621 # DIR into the resulting binary.
68622 hardcode_direct=$hardcode_direct
68623
68624 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68625 # DIR into the resulting binary and the resulting library dependency is
68626 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68627 # library is relocated.
68628 hardcode_direct_absolute=$hardcode_direct_absolute
68629
68630 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68631 # into the resulting binary.
68632 hardcode_minus_L=$hardcode_minus_L
68633
68634 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68635 # into the resulting binary.
68636 hardcode_shlibpath_var=$hardcode_shlibpath_var
68637
68638 # Set to "yes" if building a shared library automatically hardcodes DIR
68639 # into the library and all subsequent libraries and executables linked
68640 # against it.
68641 hardcode_automatic=$hardcode_automatic
68642
68643 # Set to yes if linker adds runtime paths of dependent libraries
68644 # to runtime path list.
68645 inherit_rpath=$inherit_rpath
68646
68647 # Whether libtool must link a program against all its dependency libraries.
68648 link_all_deplibs=$link_all_deplibs
68649
68650 # Fix the shell variable \$srcfile for the compiler.
68651 fix_srcfile_path=$lt_fix_srcfile_path
68652
68653 # Set to "yes" if exported symbols are required.
68654 always_export_symbols=$always_export_symbols
68655
68656 # The commands to list exported symbols.
68657 export_symbols_cmds=$lt_export_symbols_cmds
68658
68659 # Symbols that should not be listed in the preloaded symbols.
68660 exclude_expsyms=$lt_exclude_expsyms
68661
68662 # Symbols that must always be exported.
68663 include_expsyms=$lt_include_expsyms
68664
68665 # Commands necessary for linking programs (against libraries) with templates.
68666 prelink_cmds=$lt_prelink_cmds
68667
68668 # Specify filename containing input files.
68669 file_list_spec=$lt_file_list_spec
68670
68671 # How to hardcode a shared library path into an executable.
68672 hardcode_action=$hardcode_action
68673
68674 # The directories searched by this compiler when creating a shared library.
68675 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
68676
68677 # Dependencies to place before and after the objects being linked to
68678 # create a shared library.
68679 predep_objects=$lt_predep_objects
68680 postdep_objects=$lt_postdep_objects
68681 predeps=$lt_predeps
68682 postdeps=$lt_postdeps
68683
68684 # The library search path used internally by the compiler when linking
68685 # a shared library.
68686 compiler_lib_search_path=$lt_compiler_lib_search_path
68687
68688 # ### END LIBTOOL CONFIG
68689
68690 _LT_EOF
68691
68692   case $host_os in
68693   aix3*)
68694     cat <<\_LT_EOF >> "$cfgfile"
68695 # AIX sometimes has problems with the GCC collect2 program.  For some
68696 # reason, if we set the COLLECT_NAMES environment variable, the problems
68697 # vanish in a puff of smoke.
68698 if test "X${COLLECT_NAMES+set}" != Xset; then
68699   COLLECT_NAMES=
68700   export COLLECT_NAMES
68701 fi
68702 _LT_EOF
68703     ;;
68704   esac
68705
68706
68707 ltmain="$ac_aux_dir/ltmain.sh"
68708
68709
68710   # We use sed instead of cat because bash on DJGPP gets confused if
68711   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
68712   # text mode, it properly converts lines to CR/LF.  This bash problem
68713   # is reportedly fixed, but why not run on old versions too?
68714   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
68715     || (rm -f "$cfgfile"; exit 1)
68716
68717   case $xsi_shell in
68718   yes)
68719     cat << \_LT_EOF >> "$cfgfile"
68720
68721 # func_dirname file append nondir_replacement
68722 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
68723 # otherwise set result to NONDIR_REPLACEMENT.
68724 func_dirname ()
68725 {
68726   case ${1} in
68727     */*) func_dirname_result="${1%/*}${2}" ;;
68728     *  ) func_dirname_result="${3}" ;;
68729   esac
68730 }
68731
68732 # func_basename file
68733 func_basename ()
68734 {
68735   func_basename_result="${1##*/}"
68736 }
68737
68738 # func_dirname_and_basename file append nondir_replacement
68739 # perform func_basename and func_dirname in a single function
68740 # call:
68741 #   dirname:  Compute the dirname of FILE.  If nonempty,
68742 #             add APPEND to the result, otherwise set result
68743 #             to NONDIR_REPLACEMENT.
68744 #             value returned in "$func_dirname_result"
68745 #   basename: Compute filename of FILE.
68746 #             value retuned in "$func_basename_result"
68747 # Implementation must be kept synchronized with func_dirname
68748 # and func_basename. For efficiency, we do not delegate to
68749 # those functions but instead duplicate the functionality here.
68750 func_dirname_and_basename ()
68751 {
68752   case ${1} in
68753     */*) func_dirname_result="${1%/*}${2}" ;;
68754     *  ) func_dirname_result="${3}" ;;
68755   esac
68756   func_basename_result="${1##*/}"
68757 }
68758
68759 # func_stripname prefix suffix name
68760 # strip PREFIX and SUFFIX off of NAME.
68761 # PREFIX and SUFFIX must not contain globbing or regex special
68762 # characters, hashes, percent signs, but SUFFIX may contain a leading
68763 # dot (in which case that matches only a dot).
68764 func_stripname ()
68765 {
68766   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68767   # positional parameters, so assign one to ordinary parameter first.
68768   func_stripname_result=${3}
68769   func_stripname_result=${func_stripname_result#"${1}"}
68770   func_stripname_result=${func_stripname_result%"${2}"}
68771 }
68772
68773 # func_opt_split
68774 func_opt_split ()
68775 {
68776   func_opt_split_opt=${1%%=*}
68777   func_opt_split_arg=${1#*=}
68778 }
68779
68780 # func_lo2o object
68781 func_lo2o ()
68782 {
68783   case ${1} in
68784     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68785     *)    func_lo2o_result=${1} ;;
68786   esac
68787 }
68788
68789 # func_xform libobj-or-source
68790 func_xform ()
68791 {
68792   func_xform_result=${1%.*}.lo
68793 }
68794
68795 # func_arith arithmetic-term...
68796 func_arith ()
68797 {
68798   func_arith_result=$(( $* ))
68799 }
68800
68801 # func_len string
68802 # STRING may not start with a hyphen.
68803 func_len ()
68804 {
68805   func_len_result=${#1}
68806 }
68807
68808 _LT_EOF
68809     ;;
68810   *) # Bourne compatible functions.
68811     cat << \_LT_EOF >> "$cfgfile"
68812
68813 # func_dirname file append nondir_replacement
68814 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
68815 # otherwise set result to NONDIR_REPLACEMENT.
68816 func_dirname ()
68817 {
68818   # Extract subdirectory from the argument.
68819   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68820   if test "X$func_dirname_result" = "X${1}"; then
68821     func_dirname_result="${3}"
68822   else
68823     func_dirname_result="$func_dirname_result${2}"
68824   fi
68825 }
68826
68827 # func_basename file
68828 func_basename ()
68829 {
68830   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68831 }
68832
68833
68834 # func_stripname prefix suffix name
68835 # strip PREFIX and SUFFIX off of NAME.
68836 # PREFIX and SUFFIX must not contain globbing or regex special
68837 # characters, hashes, percent signs, but SUFFIX may contain a leading
68838 # dot (in which case that matches only a dot).
68839 # func_strip_suffix prefix name
68840 func_stripname ()
68841 {
68842   case ${2} in
68843     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68844     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68845   esac
68846 }
68847
68848 # sed scripts:
68849 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68850 my_sed_long_arg='1s/^-[^=]*=//'
68851
68852 # func_opt_split
68853 func_opt_split ()
68854 {
68855   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68856   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68857 }
68858
68859 # func_lo2o object
68860 func_lo2o ()
68861 {
68862   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68863 }
68864
68865 # func_xform libobj-or-source
68866 func_xform ()
68867 {
68868   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68869 }
68870
68871 # func_arith arithmetic-term...
68872 func_arith ()
68873 {
68874   func_arith_result=`expr "$@"`
68875 }
68876
68877 # func_len string
68878 # STRING may not start with a hyphen.
68879 func_len ()
68880 {
68881   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68882 }
68883
68884 _LT_EOF
68885 esac
68886
68887 case $lt_shell_append in
68888   yes)
68889     cat << \_LT_EOF >> "$cfgfile"
68890
68891 # func_append var value
68892 # Append VALUE to the end of shell variable VAR.
68893 func_append ()
68894 {
68895   eval "$1+=\$2"
68896 }
68897 _LT_EOF
68898     ;;
68899   *)
68900     cat << \_LT_EOF >> "$cfgfile"
68901
68902 # func_append var value
68903 # Append VALUE to the end of shell variable VAR.
68904 func_append ()
68905 {
68906   eval "$1=\$$1\$2"
68907 }
68908
68909 _LT_EOF
68910     ;;
68911   esac
68912
68913
68914   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68915     || (rm -f "$cfgfile"; exit 1)
68916
68917   mv -f "$cfgfile" "$ofile" ||
68918     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68919   chmod +x "$ofile"
68920
68921
68922     cat <<_LT_EOF >> "$ofile"
68923
68924 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68925
68926 # The linker used to build libraries.
68927 LD=$lt_LD_CXX
68928
68929 # How to create reloadable object files.
68930 reload_flag=$lt_reload_flag_CXX
68931 reload_cmds=$lt_reload_cmds_CXX
68932
68933 # Commands used to build an old-style archive.
68934 old_archive_cmds=$lt_old_archive_cmds_CXX
68935
68936 # A language specific compiler.
68937 CC=$lt_compiler_CXX
68938
68939 # Is the compiler the GNU compiler?
68940 with_gcc=$GCC_CXX
68941
68942 # Compiler flag to turn off builtin functions.
68943 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68944
68945 # How to pass a linker flag through the compiler.
68946 wl=$lt_lt_prog_compiler_wl_CXX
68947
68948 # Additional compiler flags for building library objects.
68949 pic_flag=$lt_lt_prog_compiler_pic_CXX
68950
68951 # Compiler flag to prevent dynamic linking.
68952 link_static_flag=$lt_lt_prog_compiler_static_CXX
68953
68954 # Does compiler simultaneously support -c and -o options?
68955 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68956
68957 # Whether or not to add -lc for building shared libraries.
68958 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68959
68960 # Whether or not to disallow shared libs when runtime libs are static.
68961 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68962
68963 # Compiler flag to allow reflexive dlopens.
68964 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68965
68966 # Compiler flag to generate shared objects directly from archives.
68967 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68968
68969 # Whether the compiler copes with passing no objects directly.
68970 compiler_needs_object=$lt_compiler_needs_object_CXX
68971
68972 # Create an old-style archive from a shared archive.
68973 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68974
68975 # Create a temporary old-style archive to link instead of a shared archive.
68976 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68977
68978 # Commands used to build a shared archive.
68979 archive_cmds=$lt_archive_cmds_CXX
68980 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68981
68982 # Commands used to build a loadable module if different from building
68983 # a shared archive.
68984 module_cmds=$lt_module_cmds_CXX
68985 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68986
68987 # Whether we are building with GNU ld or not.
68988 with_gnu_ld=$lt_with_gnu_ld_CXX
68989
68990 # Flag that allows shared libraries with undefined symbols to be built.
68991 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68992
68993 # Flag that enforces no undefined symbols.
68994 no_undefined_flag=$lt_no_undefined_flag_CXX
68995
68996 # Flag to hardcode \$libdir into a binary during linking.
68997 # This must work even if \$libdir does not exist
68998 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68999
69000 # If ld is used when linking, flag to hardcode \$libdir into a binary
69001 # during linking.  This must work even if \$libdir does not exist.
69002 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
69003
69004 # Whether we need a single "-rpath" flag with a separated argument.
69005 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
69006
69007 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
69008 # DIR into the resulting binary.
69009 hardcode_direct=$hardcode_direct_CXX
69010
69011 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
69012 # DIR into the resulting binary and the resulting library dependency is
69013 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
69014 # library is relocated.
69015 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
69016
69017 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
69018 # into the resulting binary.
69019 hardcode_minus_L=$hardcode_minus_L_CXX
69020
69021 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
69022 # into the resulting binary.
69023 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
69024
69025 # Set to "yes" if building a shared library automatically hardcodes DIR
69026 # into the library and all subsequent libraries and executables linked
69027 # against it.
69028 hardcode_automatic=$hardcode_automatic_CXX
69029
69030 # Set to yes if linker adds runtime paths of dependent libraries
69031 # to runtime path list.
69032 inherit_rpath=$inherit_rpath_CXX
69033
69034 # Whether libtool must link a program against all its dependency libraries.
69035 link_all_deplibs=$link_all_deplibs_CXX
69036
69037 # Fix the shell variable \$srcfile for the compiler.
69038 fix_srcfile_path=$lt_fix_srcfile_path_CXX
69039
69040 # Set to "yes" if exported symbols are required.
69041 always_export_symbols=$always_export_symbols_CXX
69042
69043 # The commands to list exported symbols.
69044 export_symbols_cmds=$lt_export_symbols_cmds_CXX
69045
69046 # Symbols that should not be listed in the preloaded symbols.
69047 exclude_expsyms=$lt_exclude_expsyms_CXX
69048
69049 # Symbols that must always be exported.
69050 include_expsyms=$lt_include_expsyms_CXX
69051
69052 # Commands necessary for linking programs (against libraries) with templates.
69053 prelink_cmds=$lt_prelink_cmds_CXX
69054
69055 # Specify filename containing input files.
69056 file_list_spec=$lt_file_list_spec_CXX
69057
69058 # How to hardcode a shared library path into an executable.
69059 hardcode_action=$hardcode_action_CXX
69060
69061 # The directories searched by this compiler when creating a shared library.
69062 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
69063
69064 # Dependencies to place before and after the objects being linked to
69065 # create a shared library.
69066 predep_objects=$lt_predep_objects_CXX
69067 postdep_objects=$lt_postdep_objects_CXX
69068 predeps=$lt_predeps_CXX
69069 postdeps=$lt_postdeps_CXX
69070
69071 # The library search path used internally by the compiler when linking
69072 # a shared library.
69073 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
69074
69075 # ### END LIBTOOL TAG CONFIG: CXX
69076 _LT_EOF
69077
69078  ;;
69079     "include/gstdint.h":C)
69080 if test "$GCC" = yes; then
69081   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
69082 else
69083   echo "/* generated for $CC */" > tmp-stdint.h
69084 fi
69085
69086 sed 's/^ *//' >> tmp-stdint.h <<EOF
69087
69088   #ifndef GCC_GENERATED_STDINT_H
69089   #define GCC_GENERATED_STDINT_H 1
69090
69091   #include <sys/types.h>
69092 EOF
69093
69094 if test "$acx_cv_header_stdint" != stdint.h; then
69095   echo "#include <stddef.h>" >> tmp-stdint.h
69096 fi
69097 if test "$acx_cv_header_stdint" != stddef.h; then
69098   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
69099 fi
69100
69101 sed 's/^ *//' >> tmp-stdint.h <<EOF
69102   /* glibc uses these symbols as guards to prevent redefinitions.  */
69103   #ifdef __int8_t_defined
69104   #define _INT8_T
69105   #define _INT16_T
69106   #define _INT32_T
69107   #endif
69108   #ifdef __uint32_t_defined
69109   #define _UINT32_T
69110   #endif
69111
69112 EOF
69113
69114 # ----------------- done header, emit basic int types -------------
69115 if test "$acx_cv_header_stdint" = stddef.h; then
69116   sed 's/^ *//' >> tmp-stdint.h <<EOF
69117
69118     #ifndef _UINT8_T
69119     #define _UINT8_T
69120     #ifndef __uint8_t_defined
69121     #define __uint8_t_defined
69122     #ifndef uint8_t
69123     typedef unsigned $acx_cv_type_int8_t uint8_t;
69124     #endif
69125     #endif
69126     #endif
69127
69128     #ifndef _UINT16_T
69129     #define _UINT16_T
69130     #ifndef __uint16_t_defined
69131     #define __uint16_t_defined
69132     #ifndef uint16_t
69133     typedef unsigned $acx_cv_type_int16_t uint16_t;
69134     #endif
69135     #endif
69136     #endif
69137
69138     #ifndef _UINT32_T
69139     #define _UINT32_T
69140     #ifndef __uint32_t_defined
69141     #define __uint32_t_defined
69142     #ifndef uint32_t
69143     typedef unsigned $acx_cv_type_int32_t uint32_t;
69144     #endif
69145     #endif
69146     #endif
69147
69148     #ifndef _INT8_T
69149     #define _INT8_T
69150     #ifndef __int8_t_defined
69151     #define __int8_t_defined
69152     #ifndef int8_t
69153     typedef $acx_cv_type_int8_t int8_t;
69154     #endif
69155     #endif
69156     #endif
69157
69158     #ifndef _INT16_T
69159     #define _INT16_T
69160     #ifndef __int16_t_defined
69161     #define __int16_t_defined
69162     #ifndef int16_t
69163     typedef $acx_cv_type_int16_t int16_t;
69164     #endif
69165     #endif
69166     #endif
69167
69168     #ifndef _INT32_T
69169     #define _INT32_T
69170     #ifndef __int32_t_defined
69171     #define __int32_t_defined
69172     #ifndef int32_t
69173     typedef $acx_cv_type_int32_t int32_t;
69174     #endif
69175     #endif
69176     #endif
69177 EOF
69178 elif test "$ac_cv_type_u_int32_t" = yes; then
69179   sed 's/^ *//' >> tmp-stdint.h <<EOF
69180
69181     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
69182     #ifndef _INT8_T
69183     #define _INT8_T
69184     #endif
69185     #ifndef _INT16_T
69186     #define _INT16_T
69187     #endif
69188     #ifndef _INT32_T
69189     #define _INT32_T
69190     #endif
69191
69192     #ifndef _UINT8_T
69193     #define _UINT8_T
69194     #ifndef __uint8_t_defined
69195     #define __uint8_t_defined
69196     #ifndef uint8_t
69197     typedef u_int8_t uint8_t;
69198     #endif
69199     #endif
69200     #endif
69201
69202     #ifndef _UINT16_T
69203     #define _UINT16_T
69204     #ifndef __uint16_t_defined
69205     #define __uint16_t_defined
69206     #ifndef uint16_t
69207     typedef u_int16_t uint16_t;
69208     #endif
69209     #endif
69210     #endif
69211
69212     #ifndef _UINT32_T
69213     #define _UINT32_T
69214     #ifndef __uint32_t_defined
69215     #define __uint32_t_defined
69216     #ifndef uint32_t
69217     typedef u_int32_t uint32_t;
69218     #endif
69219     #endif
69220     #endif
69221 EOF
69222 else
69223   sed 's/^ *//' >> tmp-stdint.h <<EOF
69224
69225     /* Some systems have guard macros to prevent redefinitions, define them.  */
69226     #ifndef _INT8_T
69227     #define _INT8_T
69228     #endif
69229     #ifndef _INT16_T
69230     #define _INT16_T
69231     #endif
69232     #ifndef _INT32_T
69233     #define _INT32_T
69234     #endif
69235     #ifndef _UINT8_T
69236     #define _UINT8_T
69237     #endif
69238     #ifndef _UINT16_T
69239     #define _UINT16_T
69240     #endif
69241     #ifndef _UINT32_T
69242     #define _UINT32_T
69243     #endif
69244 EOF
69245 fi
69246
69247 # ------------- done basic int types, emit int64_t types ------------
69248 if test "$ac_cv_type_uint64_t" = yes; then
69249   sed 's/^ *//' >> tmp-stdint.h <<EOF
69250
69251     /* system headers have good uint64_t and int64_t */
69252     #ifndef _INT64_T
69253     #define _INT64_T
69254     #endif
69255     #ifndef _UINT64_T
69256     #define _UINT64_T
69257     #endif
69258 EOF
69259 elif test "$ac_cv_type_u_int64_t" = yes; then
69260   sed 's/^ *//' >> tmp-stdint.h <<EOF
69261
69262     /* system headers have an u_int64_t (and int64_t) */
69263     #ifndef _INT64_T
69264     #define _INT64_T
69265     #endif
69266     #ifndef _UINT64_T
69267     #define _UINT64_T
69268     #ifndef __uint64_t_defined
69269     #define __uint64_t_defined
69270     #ifndef uint64_t
69271     typedef u_int64_t uint64_t;
69272     #endif
69273     #endif
69274     #endif
69275 EOF
69276 elif test -n "$acx_cv_type_int64_t"; then
69277   sed 's/^ *//' >> tmp-stdint.h <<EOF
69278
69279     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
69280     #ifndef _INT64_T
69281     #define _INT64_T
69282     #ifndef int64_t
69283     typedef $acx_cv_type_int64_t int64_t;
69284     #endif
69285     #endif
69286     #ifndef _UINT64_T
69287     #define _UINT64_T
69288     #ifndef __uint64_t_defined
69289     #define __uint64_t_defined
69290     #ifndef uint64_t
69291     typedef unsigned $acx_cv_type_int64_t uint64_t;
69292     #endif
69293     #endif
69294     #endif
69295 EOF
69296 else
69297   sed 's/^ *//' >> tmp-stdint.h <<EOF
69298
69299     /* some common heuristics for int64_t, using compiler-specific tests */
69300     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
69301     #ifndef _INT64_T
69302     #define _INT64_T
69303     #ifndef __int64_t_defined
69304     #ifndef int64_t
69305     typedef long long int64_t;
69306     #endif
69307     #endif
69308     #endif
69309     #ifndef _UINT64_T
69310     #define _UINT64_T
69311     #ifndef uint64_t
69312     typedef unsigned long long uint64_t;
69313     #endif
69314     #endif
69315
69316     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
69317     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
69318        does not implement __extension__.  But that compiler doesn't define
69319        __GNUC_MINOR__.  */
69320     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
69321     # define __extension__
69322     # endif
69323
69324     # ifndef _INT64_T
69325     # define _INT64_T
69326     # ifndef int64_t
69327     __extension__ typedef long long int64_t;
69328     # endif
69329     # endif
69330     # ifndef _UINT64_T
69331     # define _UINT64_T
69332     # ifndef uint64_t
69333     __extension__ typedef unsigned long long uint64_t;
69334     # endif
69335     # endif
69336
69337     #elif !defined __STRICT_ANSI__
69338     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
69339
69340     #  ifndef _INT64_T
69341     #  define _INT64_T
69342     #  ifndef int64_t
69343     typedef __int64 int64_t;
69344     #  endif
69345     #  endif
69346     #  ifndef _UINT64_T
69347     #  define _UINT64_T
69348     #  ifndef uint64_t
69349     typedef unsigned __int64 uint64_t;
69350     #  endif
69351     #  endif
69352     # endif /* compiler */
69353
69354     #endif /* ANSI version */
69355 EOF
69356 fi
69357
69358 # ------------- done int64_t types, emit intptr types ------------
69359 if test "$ac_cv_type_uintptr_t" != yes; then
69360   sed 's/^ *//' >> tmp-stdint.h <<EOF
69361
69362     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
69363     #ifndef __uintptr_t_defined
69364     #ifndef uintptr_t
69365     typedef u$acx_cv_type_intptr_t uintptr_t;
69366     #endif
69367     #endif
69368     #ifndef __intptr_t_defined
69369     #ifndef intptr_t
69370     typedef $acx_cv_type_intptr_t  intptr_t;
69371     #endif
69372     #endif
69373 EOF
69374 fi
69375
69376 # ------------- done intptr types, emit int_least types ------------
69377 if test "$ac_cv_type_int_least32_t" != yes; then
69378   sed 's/^ *//' >> tmp-stdint.h <<EOF
69379
69380     /* Define int_least types */
69381     typedef int8_t     int_least8_t;
69382     typedef int16_t    int_least16_t;
69383     typedef int32_t    int_least32_t;
69384     #ifdef _INT64_T
69385     typedef int64_t    int_least64_t;
69386     #endif
69387
69388     typedef uint8_t    uint_least8_t;
69389     typedef uint16_t   uint_least16_t;
69390     typedef uint32_t   uint_least32_t;
69391     #ifdef _UINT64_T
69392     typedef uint64_t   uint_least64_t;
69393     #endif
69394 EOF
69395 fi
69396
69397 # ------------- done intptr types, emit int_fast types ------------
69398 if test "$ac_cv_type_int_fast32_t" != yes; then
69399       sed 's/^ *//' >> tmp-stdint.h <<EOF
69400
69401     /* Define int_fast types.  short is often slow */
69402     typedef int8_t       int_fast8_t;
69403     typedef int          int_fast16_t;
69404     typedef int32_t      int_fast32_t;
69405     #ifdef _INT64_T
69406     typedef int64_t      int_fast64_t;
69407     #endif
69408
69409     typedef uint8_t      uint_fast8_t;
69410     typedef unsigned int uint_fast16_t;
69411     typedef uint32_t     uint_fast32_t;
69412     #ifdef _UINT64_T
69413     typedef uint64_t     uint_fast64_t;
69414     #endif
69415 EOF
69416 fi
69417
69418 if test "$ac_cv_type_uintmax_t" != yes; then
69419   sed 's/^ *//' >> tmp-stdint.h <<EOF
69420
69421     /* Define intmax based on what we found */
69422     #ifndef intmax_t
69423     #ifdef _INT64_T
69424     typedef int64_t       intmax_t;
69425     #else
69426     typedef long          intmax_t;
69427     #endif
69428     #endif
69429     #ifndef uintmax_t
69430     #ifdef _UINT64_T
69431     typedef uint64_t      uintmax_t;
69432     #else
69433     typedef unsigned long uintmax_t;
69434     #endif
69435     #endif
69436 EOF
69437 fi
69438
69439 sed 's/^ *//' >> tmp-stdint.h <<EOF
69440
69441   #endif /* GCC_GENERATED_STDINT_H */
69442 EOF
69443
69444 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
69445   rm -f tmp-stdint.h
69446 else
69447   mv -f tmp-stdint.h include/gstdint.h
69448 fi
69449
69450  ;;
69451     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
69452     "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
69453     "include/Makefile":F) cat > vpsed$$ << \_EOF
69454 s!`test -f '$<' || echo '$(srcdir)/'`!!
69455 _EOF
69456    sed -f vpsed$$ $ac_file > tmp$$
69457    mv tmp$$ $ac_file
69458    rm vpsed$$
69459    echo 'MULTISUBDIR =' >> $ac_file
69460    ml_norecursion=yes
69461    . ${multi_basedir}/config-ml.in
69462    { ml_norecursion=; unset ml_norecursion;}
69463  ;;
69464     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
69465 s!`test -f '$<' || echo '$(srcdir)/'`!!
69466 _EOF
69467    sed -f vpsed$$ $ac_file > tmp$$
69468    mv tmp$$ $ac_file
69469    rm vpsed$$
69470    echo 'MULTISUBDIR =' >> $ac_file
69471    ml_norecursion=yes
69472    . ${multi_basedir}/config-ml.in
69473    { ml_norecursion=; unset ml_norecursion;}
69474  ;;
69475     "python/Makefile":F) cat > vpsed$$ << \_EOF
69476 s!`test -f '$<' || echo '$(srcdir)/'`!!
69477 _EOF
69478    sed -f vpsed$$ $ac_file > tmp$$
69479    mv tmp$$ $ac_file
69480    rm vpsed$$
69481    echo 'MULTISUBDIR =' >> $ac_file
69482    ml_norecursion=yes
69483    . ${multi_basedir}/config-ml.in
69484    { ml_norecursion=; unset ml_norecursion;}
69485  ;;
69486     "src/Makefile":F) cat > vpsed$$ << \_EOF
69487 s!`test -f '$<' || echo '$(srcdir)/'`!!
69488 _EOF
69489    sed -f vpsed$$ $ac_file > tmp$$
69490    mv tmp$$ $ac_file
69491    rm vpsed$$
69492    echo 'MULTISUBDIR =' >> $ac_file
69493    ml_norecursion=yes
69494    . ${multi_basedir}/config-ml.in
69495    { ml_norecursion=; unset ml_norecursion;}
69496  ;;
69497     "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
69498 s!`test -f '$<' || echo '$(srcdir)/'`!!
69499 _EOF
69500    sed -f vpsed$$ $ac_file > tmp$$
69501    mv tmp$$ $ac_file
69502    rm vpsed$$
69503    echo 'MULTISUBDIR =' >> $ac_file
69504    ml_norecursion=yes
69505    . ${multi_basedir}/config-ml.in
69506    { ml_norecursion=; unset ml_norecursion;}
69507  ;;
69508     "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
69509 s!`test -f '$<' || echo '$(srcdir)/'`!!
69510 _EOF
69511    sed -f vpsed$$ $ac_file > tmp$$
69512    mv tmp$$ $ac_file
69513    rm vpsed$$
69514    echo 'MULTISUBDIR =' >> $ac_file
69515    ml_norecursion=yes
69516    . ${multi_basedir}/config-ml.in
69517    { ml_norecursion=; unset ml_norecursion;}
69518  ;;
69519     "doc/Makefile":F) cat > vpsed$$ << \_EOF
69520 s!`test -f '$<' || echo '$(srcdir)/'`!!
69521 _EOF
69522    sed -f vpsed$$ $ac_file > tmp$$
69523    mv tmp$$ $ac_file
69524    rm vpsed$$
69525    echo 'MULTISUBDIR =' >> $ac_file
69526    ml_norecursion=yes
69527    . ${multi_basedir}/config-ml.in
69528    { ml_norecursion=; unset ml_norecursion;}
69529  ;;
69530     "po/Makefile":F) cat > vpsed$$ << \_EOF
69531 s!`test -f '$<' || echo '$(srcdir)/'`!!
69532 _EOF
69533    sed -f vpsed$$ $ac_file > tmp$$
69534    mv tmp$$ $ac_file
69535    rm vpsed$$
69536    echo 'MULTISUBDIR =' >> $ac_file
69537    ml_norecursion=yes
69538    . ${multi_basedir}/config-ml.in
69539    { ml_norecursion=; unset ml_norecursion;}
69540  ;;
69541     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
69542 s!`test -f '$<' || echo '$(srcdir)/'`!!
69543 _EOF
69544    sed -f vpsed$$ $ac_file > tmp$$
69545    mv tmp$$ $ac_file
69546    rm vpsed$$
69547    echo 'MULTISUBDIR =' >> $ac_file
69548    ml_norecursion=yes
69549    . ${multi_basedir}/config-ml.in
69550    { ml_norecursion=; unset ml_norecursion;}
69551  ;;
69552     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
69553
69554   esac
69555 done # for ac_tag
69556
69557
69558 as_fn_exit 0
69559 _ACEOF
69560 ac_clean_files=$ac_clean_files_save
69561
69562 test $ac_write_fail = 0 ||
69563   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
69564
69565
69566 # configure is writing to config.log, and then calls config.status.
69567 # config.status does its own redirection, appending to config.log.
69568 # Unfortunately, on DOS this fails, as config.log is still kept open
69569 # by configure, so config.status won't be able to write to it; its
69570 # output is simply discarded.  So we exec the FD to /dev/null,
69571 # effectively closing config.log, so it can be properly (re)opened and
69572 # appended to by config.status.  When coming back to configure, we
69573 # need to make the FD available again.
69574 if test "$no_create" != yes; then
69575   ac_cs_success=:
69576   ac_config_status_args=
69577   test "$silent" = yes &&
69578     ac_config_status_args="$ac_config_status_args --quiet"
69579   exec 5>/dev/null
69580   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
69581   exec 5>>config.log
69582   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
69583   # would make configure fail if this is the last instruction.
69584   $ac_cs_success || as_fn_exit $?
69585 fi
69586 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
69587   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
69588 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
69589 fi
69590