re PR libstdc++/51368 (libstdc++ python pretty printers should use --with-python...
[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_PYTHONDIR_FALSE
668 ENABLE_PYTHONDIR_TRUE
669 python_mod_dir
670 ENABLE_EXTERN_TEMPLATE_FALSE
671 ENABLE_EXTERN_TEMPLATE_TRUE
672 EXTRA_CXX_FLAGS
673 ENABLE_PARALLEL_FALSE
674 ENABLE_PARALLEL_TRUE
675 GLIBCXX_BUILD_DEBUG_FALSE
676 GLIBCXX_BUILD_DEBUG_TRUE
677 DEBUG_FLAGS
678 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
679 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
680 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
681 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
682 GLIBCXX_C_HEADERS_C_STD_FALSE
683 GLIBCXX_C_HEADERS_C_STD_TRUE
684 GLIBCXX_C_HEADERS_C_FALSE
685 GLIBCXX_C_HEADERS_C_TRUE
686 C_INCLUDE_DIR
687 ALLOCATOR_NAME
688 ALLOCATOR_H
689 CLOCALE_INTERNAL_H
690 CLOCALE_CC
691 CTIME_CC
692 CTIME_H
693 CNUMERIC_CC
694 CMONEY_CC
695 CMESSAGES_CC
696 CCTYPE_CC
697 CCOLLATE_CC
698 CCODECVT_CC
699 CMESSAGES_H
700 CLOCALE_H
701 USE_NLS
702 glibcxx_localedir
703 glibcxx_POFILES
704 glibcxx_MOFILES
705 check_msgfmt
706 BASIC_FILE_CC
707 BASIC_FILE_H
708 CSTDIO_H
709 SECTION_FLAGS
710 WERROR
711 glibcxx_PCHFLAGS
712 GLIBCXX_BUILD_PCH_FALSE
713 GLIBCXX_BUILD_PCH_TRUE
714 GLIBCXX_HOSTED_FALSE
715 GLIBCXX_HOSTED_TRUE
716 enable_static
717 enable_shared
718 lt_host_flags
719 CXXCPP
720 OTOOL64
721 OTOOL
722 LIPO
723 NMEDIT
724 DSYMUTIL
725 OBJDUMP
726 NM
727 ac_ct_DUMPBIN
728 DUMPBIN
729 LD
730 FGREP
731 SED
732 LIBTOOL
733 EGREP
734 GREP
735 CPP
736 MAINT
737 MAINTAINER_MODE_FALSE
738 MAINTAINER_MODE_TRUE
739 RANLIB
740 AR
741 AS
742 LN_S
743 toplevel_srcdir
744 toplevel_builddir
745 glibcxx_srcdir
746 glibcxx_builddir
747 ac_ct_CXX
748 CXXFLAGS
749 CXX
750 OBJEXT
751 EXEEXT
752 ac_ct_CC
753 CPPFLAGS
754 LDFLAGS
755 CFLAGS
756 CC
757 am__untar
758 am__tar
759 AMTAR
760 am__leading_dot
761 SET_MAKE
762 AWK
763 mkdir_p
764 MKDIR_P
765 INSTALL_STRIP_PROGRAM
766 STRIP
767 install_sh
768 MAKEINFO
769 AUTOHEADER
770 AUTOMAKE
771 AUTOCONF
772 ACLOCAL
773 VERSION
774 PACKAGE
775 CYGPATH_W
776 am__isrc
777 INSTALL_DATA
778 INSTALL_SCRIPT
779 INSTALL_PROGRAM
780 target_os
781 target_vendor
782 target_cpu
783 target
784 host_os
785 host_vendor
786 host_cpu
787 host
788 build_os
789 build_vendor
790 build_cpu
791 build
792 multi_basedir
793 target_alias
794 host_alias
795 build_alias
796 LIBS
797 ECHO_T
798 ECHO_N
799 ECHO_C
800 DEFS
801 mandir
802 localedir
803 libdir
804 psdir
805 pdfdir
806 dvidir
807 htmldir
808 infodir
809 docdir
810 oldincludedir
811 includedir
812 localstatedir
813 sharedstatedir
814 sysconfdir
815 datadir
816 datarootdir
817 libexecdir
818 sbindir
819 bindir
820 program_transform_name
821 prefix
822 exec_prefix
823 PACKAGE_URL
824 PACKAGE_BUGREPORT
825 PACKAGE_STRING
826 PACKAGE_VERSION
827 PACKAGE_TARNAME
828 PACKAGE_NAME
829 PATH_SEPARATOR
830 SHELL'
831 ac_subst_files=''
832 ac_user_opts='
833 enable_option_checking
834 enable_multilib
835 with_target_subdir
836 with_cross_host
837 with_newlib
838 enable_maintainer_mode
839 enable_shared
840 enable_static
841 with_pic
842 enable_fast_install
843 with_gnu_ld
844 enable_libtool_lock
845 enable_hosted_libstdcxx
846 enable_sjlj_exceptions
847 enable_libstdcxx_pch
848 enable_cstdio
849 enable_clocale
850 enable_nls
851 enable_libstdcxx_allocator
852 enable_cheaders
853 enable_long_long
854 enable_wchar_t
855 enable_c99
856 enable_concept_checks
857 enable_libstdcxx_debug_flags
858 enable_libstdcxx_debug
859 enable_cxx_flags
860 enable_fully_dynamic_string
861 enable_extern_template
862 with_python_dir
863 enable_libstdcxx_time
864 enable_tls
865 enable_rpath
866 with_libiconv_prefix
867 with_system_libunwind
868 enable_linux_futex
869 enable_symvers
870 enable_libstdcxx_visibility
871 with_gxx_include_dir
872 enable_version_specific_runtime_libs
873 '
874       ac_precious_vars='build_alias
875 host_alias
876 target_alias
877 CC
878 CFLAGS
879 LDFLAGS
880 LIBS
881 CPPFLAGS
882 CXX
883 CXXFLAGS
884 CCC
885 CPP
886 CXXCPP
887 CXXFILT'
888
889
890 # Initialize some variables set by options.
891 ac_init_help=
892 ac_init_version=false
893 ac_unrecognized_opts=
894 ac_unrecognized_sep=
895 # The variables have the same names as the options, with
896 # dashes changed to underlines.
897 cache_file=/dev/null
898 exec_prefix=NONE
899 no_create=
900 no_recursion=
901 prefix=NONE
902 program_prefix=NONE
903 program_suffix=NONE
904 program_transform_name=s,x,x,
905 silent=
906 site=
907 srcdir=
908 verbose=
909 x_includes=NONE
910 x_libraries=NONE
911
912 # Installation directory options.
913 # These are left unexpanded so users can "make install exec_prefix=/foo"
914 # and all the variables that are supposed to be based on exec_prefix
915 # by default will actually change.
916 # Use braces instead of parens because sh, perl, etc. also accept them.
917 # (The list follows the same order as the GNU Coding Standards.)
918 bindir='${exec_prefix}/bin'
919 sbindir='${exec_prefix}/sbin'
920 libexecdir='${exec_prefix}/libexec'
921 datarootdir='${prefix}/share'
922 datadir='${datarootdir}'
923 sysconfdir='${prefix}/etc'
924 sharedstatedir='${prefix}/com'
925 localstatedir='${prefix}/var'
926 includedir='${prefix}/include'
927 oldincludedir='/usr/include'
928 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
929 infodir='${datarootdir}/info'
930 htmldir='${docdir}'
931 dvidir='${docdir}'
932 pdfdir='${docdir}'
933 psdir='${docdir}'
934 libdir='${exec_prefix}/lib'
935 localedir='${datarootdir}/locale'
936 mandir='${datarootdir}/man'
937
938 ac_prev=
939 ac_dashdash=
940 for ac_option
941 do
942   # If the previous option needs an argument, assign it.
943   if test -n "$ac_prev"; then
944     eval $ac_prev=\$ac_option
945     ac_prev=
946     continue
947   fi
948
949   case $ac_option in
950   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
951   *)    ac_optarg=yes ;;
952   esac
953
954   # Accept the important Cygnus configure options, so we can diagnose typos.
955
956   case $ac_dashdash$ac_option in
957   --)
958     ac_dashdash=yes ;;
959
960   -bindir | --bindir | --bindi | --bind | --bin | --bi)
961     ac_prev=bindir ;;
962   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
963     bindir=$ac_optarg ;;
964
965   -build | --build | --buil | --bui | --bu)
966     ac_prev=build_alias ;;
967   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
968     build_alias=$ac_optarg ;;
969
970   -cache-file | --cache-file | --cache-fil | --cache-fi \
971   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
972     ac_prev=cache_file ;;
973   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
974   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
975     cache_file=$ac_optarg ;;
976
977   --config-cache | -C)
978     cache_file=config.cache ;;
979
980   -datadir | --datadir | --datadi | --datad)
981     ac_prev=datadir ;;
982   -datadir=* | --datadir=* | --datadi=* | --datad=*)
983     datadir=$ac_optarg ;;
984
985   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
986   | --dataroo | --dataro | --datar)
987     ac_prev=datarootdir ;;
988   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
989   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
990     datarootdir=$ac_optarg ;;
991
992   -disable-* | --disable-*)
993     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
994     # Reject names that are not valid shell variable names.
995     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
996       as_fn_error "invalid feature name: $ac_useropt"
997     ac_useropt_orig=$ac_useropt
998     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999     case $ac_user_opts in
1000       *"
1001 "enable_$ac_useropt"
1002 "*) ;;
1003       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1004          ac_unrecognized_sep=', ';;
1005     esac
1006     eval enable_$ac_useropt=no ;;
1007
1008   -docdir | --docdir | --docdi | --doc | --do)
1009     ac_prev=docdir ;;
1010   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1011     docdir=$ac_optarg ;;
1012
1013   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1014     ac_prev=dvidir ;;
1015   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1016     dvidir=$ac_optarg ;;
1017
1018   -enable-* | --enable-*)
1019     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1020     # Reject names that are not valid shell variable names.
1021     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1022       as_fn_error "invalid feature name: $ac_useropt"
1023     ac_useropt_orig=$ac_useropt
1024     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025     case $ac_user_opts in
1026       *"
1027 "enable_$ac_useropt"
1028 "*) ;;
1029       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1030          ac_unrecognized_sep=', ';;
1031     esac
1032     eval enable_$ac_useropt=\$ac_optarg ;;
1033
1034   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1035   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1036   | --exec | --exe | --ex)
1037     ac_prev=exec_prefix ;;
1038   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1039   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1040   | --exec=* | --exe=* | --ex=*)
1041     exec_prefix=$ac_optarg ;;
1042
1043   -gas | --gas | --ga | --g)
1044     # Obsolete; use --with-gas.
1045     with_gas=yes ;;
1046
1047   -help | --help | --hel | --he | -h)
1048     ac_init_help=long ;;
1049   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1050     ac_init_help=recursive ;;
1051   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1052     ac_init_help=short ;;
1053
1054   -host | --host | --hos | --ho)
1055     ac_prev=host_alias ;;
1056   -host=* | --host=* | --hos=* | --ho=*)
1057     host_alias=$ac_optarg ;;
1058
1059   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1060     ac_prev=htmldir ;;
1061   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1062   | --ht=*)
1063     htmldir=$ac_optarg ;;
1064
1065   -includedir | --includedir | --includedi | --included | --include \
1066   | --includ | --inclu | --incl | --inc)
1067     ac_prev=includedir ;;
1068   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1069   | --includ=* | --inclu=* | --incl=* | --inc=*)
1070     includedir=$ac_optarg ;;
1071
1072   -infodir | --infodir | --infodi | --infod | --info | --inf)
1073     ac_prev=infodir ;;
1074   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1075     infodir=$ac_optarg ;;
1076
1077   -libdir | --libdir | --libdi | --libd)
1078     ac_prev=libdir ;;
1079   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1080     libdir=$ac_optarg ;;
1081
1082   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1083   | --libexe | --libex | --libe)
1084     ac_prev=libexecdir ;;
1085   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1086   | --libexe=* | --libex=* | --libe=*)
1087     libexecdir=$ac_optarg ;;
1088
1089   -localedir | --localedir | --localedi | --localed | --locale)
1090     ac_prev=localedir ;;
1091   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1092     localedir=$ac_optarg ;;
1093
1094   -localstatedir | --localstatedir | --localstatedi | --localstated \
1095   | --localstate | --localstat | --localsta | --localst | --locals)
1096     ac_prev=localstatedir ;;
1097   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1098   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1099     localstatedir=$ac_optarg ;;
1100
1101   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1102     ac_prev=mandir ;;
1103   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1104     mandir=$ac_optarg ;;
1105
1106   -nfp | --nfp | --nf)
1107     # Obsolete; use --without-fp.
1108     with_fp=no ;;
1109
1110   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1111   | --no-cr | --no-c | -n)
1112     no_create=yes ;;
1113
1114   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1115   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1116     no_recursion=yes ;;
1117
1118   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1119   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1120   | --oldin | --oldi | --old | --ol | --o)
1121     ac_prev=oldincludedir ;;
1122   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1123   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1124   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1125     oldincludedir=$ac_optarg ;;
1126
1127   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1128     ac_prev=prefix ;;
1129   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1130     prefix=$ac_optarg ;;
1131
1132   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1133   | --program-pre | --program-pr | --program-p)
1134     ac_prev=program_prefix ;;
1135   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1136   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1137     program_prefix=$ac_optarg ;;
1138
1139   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1140   | --program-suf | --program-su | --program-s)
1141     ac_prev=program_suffix ;;
1142   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1143   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1144     program_suffix=$ac_optarg ;;
1145
1146   -program-transform-name | --program-transform-name \
1147   | --program-transform-nam | --program-transform-na \
1148   | --program-transform-n | --program-transform- \
1149   | --program-transform | --program-transfor \
1150   | --program-transfo | --program-transf \
1151   | --program-trans | --program-tran \
1152   | --progr-tra | --program-tr | --program-t)
1153     ac_prev=program_transform_name ;;
1154   -program-transform-name=* | --program-transform-name=* \
1155   | --program-transform-nam=* | --program-transform-na=* \
1156   | --program-transform-n=* | --program-transform-=* \
1157   | --program-transform=* | --program-transfor=* \
1158   | --program-transfo=* | --program-transf=* \
1159   | --program-trans=* | --program-tran=* \
1160   | --progr-tra=* | --program-tr=* | --program-t=*)
1161     program_transform_name=$ac_optarg ;;
1162
1163   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1164     ac_prev=pdfdir ;;
1165   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1166     pdfdir=$ac_optarg ;;
1167
1168   -psdir | --psdir | --psdi | --psd | --ps)
1169     ac_prev=psdir ;;
1170   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1171     psdir=$ac_optarg ;;
1172
1173   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1174   | -silent | --silent | --silen | --sile | --sil)
1175     silent=yes ;;
1176
1177   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1178     ac_prev=sbindir ;;
1179   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1180   | --sbi=* | --sb=*)
1181     sbindir=$ac_optarg ;;
1182
1183   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1184   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1185   | --sharedst | --shareds | --shared | --share | --shar \
1186   | --sha | --sh)
1187     ac_prev=sharedstatedir ;;
1188   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1189   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1190   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1191   | --sha=* | --sh=*)
1192     sharedstatedir=$ac_optarg ;;
1193
1194   -site | --site | --sit)
1195     ac_prev=site ;;
1196   -site=* | --site=* | --sit=*)
1197     site=$ac_optarg ;;
1198
1199   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1200     ac_prev=srcdir ;;
1201   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1202     srcdir=$ac_optarg ;;
1203
1204   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1205   | --syscon | --sysco | --sysc | --sys | --sy)
1206     ac_prev=sysconfdir ;;
1207   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1208   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1209     sysconfdir=$ac_optarg ;;
1210
1211   -target | --target | --targe | --targ | --tar | --ta | --t)
1212     ac_prev=target_alias ;;
1213   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1214     target_alias=$ac_optarg ;;
1215
1216   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1217     verbose=yes ;;
1218
1219   -version | --version | --versio | --versi | --vers | -V)
1220     ac_init_version=: ;;
1221
1222   -with-* | --with-*)
1223     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1224     # Reject names that are not valid shell variable names.
1225     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1226       as_fn_error "invalid package name: $ac_useropt"
1227     ac_useropt_orig=$ac_useropt
1228     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1229     case $ac_user_opts in
1230       *"
1231 "with_$ac_useropt"
1232 "*) ;;
1233       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1234          ac_unrecognized_sep=', ';;
1235     esac
1236     eval with_$ac_useropt=\$ac_optarg ;;
1237
1238   -without-* | --without-*)
1239     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1240     # Reject names that are not valid shell variable names.
1241     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1242       as_fn_error "invalid package name: $ac_useropt"
1243     ac_useropt_orig=$ac_useropt
1244     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1245     case $ac_user_opts in
1246       *"
1247 "with_$ac_useropt"
1248 "*) ;;
1249       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1250          ac_unrecognized_sep=', ';;
1251     esac
1252     eval with_$ac_useropt=no ;;
1253
1254   --x)
1255     # Obsolete; use --with-x.
1256     with_x=yes ;;
1257
1258   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1259   | --x-incl | --x-inc | --x-in | --x-i)
1260     ac_prev=x_includes ;;
1261   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1262   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1263     x_includes=$ac_optarg ;;
1264
1265   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1266   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1267     ac_prev=x_libraries ;;
1268   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1269   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1270     x_libraries=$ac_optarg ;;
1271
1272   -*) as_fn_error "unrecognized option: \`$ac_option'
1273 Try \`$0 --help' for more information."
1274     ;;
1275
1276   *=*)
1277     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1278     # Reject names that are not valid shell variable names.
1279     case $ac_envvar in #(
1280       '' | [0-9]* | *[!_$as_cr_alnum]* )
1281       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1282     esac
1283     eval $ac_envvar=\$ac_optarg
1284     export $ac_envvar ;;
1285
1286   *)
1287     # FIXME: should be removed in autoconf 3.0.
1288     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1289     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1290       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1291     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1292     ;;
1293
1294   esac
1295 done
1296
1297 if test -n "$ac_prev"; then
1298   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1299   as_fn_error "missing argument to $ac_option"
1300 fi
1301
1302 if test -n "$ac_unrecognized_opts"; then
1303   case $enable_option_checking in
1304     no) ;;
1305     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1306     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1307   esac
1308 fi
1309
1310 # Check all directory arguments for consistency.
1311 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1312                 datadir sysconfdir sharedstatedir localstatedir includedir \
1313                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1314                 libdir localedir mandir
1315 do
1316   eval ac_val=\$$ac_var
1317   # Remove trailing slashes.
1318   case $ac_val in
1319     */ )
1320       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1321       eval $ac_var=\$ac_val;;
1322   esac
1323   # Be sure to have absolute directory names.
1324   case $ac_val in
1325     [\\/$]* | ?:[\\/]* )  continue;;
1326     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1327   esac
1328   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1329 done
1330
1331 # There might be people who depend on the old broken behavior: `$host'
1332 # used to hold the argument of --host etc.
1333 # FIXME: To remove some day.
1334 build=$build_alias
1335 host=$host_alias
1336 target=$target_alias
1337
1338 # FIXME: To remove some day.
1339 if test "x$host_alias" != x; then
1340   if test "x$build_alias" = x; then
1341     cross_compiling=maybe
1342     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1343     If a cross compiler is detected then cross compile mode will be used." >&2
1344   elif test "x$build_alias" != "x$host_alias"; then
1345     cross_compiling=yes
1346   fi
1347 fi
1348
1349 ac_tool_prefix=
1350 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1351
1352 test "$silent" = yes && exec 6>/dev/null
1353
1354
1355 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1356 ac_ls_di=`ls -di .` &&
1357 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1358   as_fn_error "working directory cannot be determined"
1359 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1360   as_fn_error "pwd does not report name of working directory"
1361
1362
1363 # Find the source files, if location was not specified.
1364 if test -z "$srcdir"; then
1365   ac_srcdir_defaulted=yes
1366   # Try the directory containing this script, then the parent directory.
1367   ac_confdir=`$as_dirname -- "$as_myself" ||
1368 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1369          X"$as_myself" : 'X\(//\)[^/]' \| \
1370          X"$as_myself" : 'X\(//\)$' \| \
1371          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1372 $as_echo X"$as_myself" |
1373     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1374             s//\1/
1375             q
1376           }
1377           /^X\(\/\/\)[^/].*/{
1378             s//\1/
1379             q
1380           }
1381           /^X\(\/\/\)$/{
1382             s//\1/
1383             q
1384           }
1385           /^X\(\/\).*/{
1386             s//\1/
1387             q
1388           }
1389           s/.*/./; q'`
1390   srcdir=$ac_confdir
1391   if test ! -r "$srcdir/$ac_unique_file"; then
1392     srcdir=..
1393   fi
1394 else
1395   ac_srcdir_defaulted=no
1396 fi
1397 if test ! -r "$srcdir/$ac_unique_file"; then
1398   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1399   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1400 fi
1401 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1402 ac_abs_confdir=`(
1403         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1404         pwd)`
1405 # When building in place, set srcdir=.
1406 if test "$ac_abs_confdir" = "$ac_pwd"; then
1407   srcdir=.
1408 fi
1409 # Remove unnecessary trailing slashes from srcdir.
1410 # Double slashes in file names in object file debugging info
1411 # mess up M-x gdb in Emacs.
1412 case $srcdir in
1413 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1414 esac
1415 for ac_var in $ac_precious_vars; do
1416   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1417   eval ac_env_${ac_var}_value=\$${ac_var}
1418   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1419   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1420 done
1421
1422 #
1423 # Report the --help message.
1424 #
1425 if test "$ac_init_help" = "long"; then
1426   # Omit some internal or obsolete options to make the list less imposing.
1427   # This message is too long to be a string in the A/UX 3.1 sh.
1428   cat <<_ACEOF
1429 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1430
1431 Usage: $0 [OPTION]... [VAR=VALUE]...
1432
1433 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1434 VAR=VALUE.  See below for descriptions of some of the useful variables.
1435
1436 Defaults for the options are specified in brackets.
1437
1438 Configuration:
1439   -h, --help              display this help and exit
1440       --help=short        display options specific to this package
1441       --help=recursive    display the short help of all the included packages
1442   -V, --version           display version information and exit
1443   -q, --quiet, --silent   do not print \`checking...' messages
1444       --cache-file=FILE   cache test results in FILE [disabled]
1445   -C, --config-cache      alias for \`--cache-file=config.cache'
1446   -n, --no-create         do not create output files
1447       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1448
1449 Installation directories:
1450   --prefix=PREFIX         install architecture-independent files in PREFIX
1451                           [$ac_default_prefix]
1452   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1453                           [PREFIX]
1454
1455 By default, \`make install' will install all the files in
1456 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1457 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1458 for instance \`--prefix=\$HOME'.
1459
1460 For better control, use the options below.
1461
1462 Fine tuning of the installation directories:
1463   --bindir=DIR            user executables [EPREFIX/bin]
1464   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1465   --libexecdir=DIR        program executables [EPREFIX/libexec]
1466   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1467   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1468   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1469   --libdir=DIR            object code libraries [EPREFIX/lib]
1470   --includedir=DIR        C header files [PREFIX/include]
1471   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1472   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1473   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1474   --infodir=DIR           info documentation [DATAROOTDIR/info]
1475   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1476   --mandir=DIR            man documentation [DATAROOTDIR/man]
1477   --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1478   --htmldir=DIR           html documentation [DOCDIR]
1479   --dvidir=DIR            dvi documentation [DOCDIR]
1480   --pdfdir=DIR            pdf documentation [DOCDIR]
1481   --psdir=DIR             ps documentation [DOCDIR]
1482 _ACEOF
1483
1484   cat <<\_ACEOF
1485
1486 Program names:
1487   --program-prefix=PREFIX            prepend PREFIX to installed program names
1488   --program-suffix=SUFFIX            append SUFFIX to installed program names
1489   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1490
1491 System types:
1492   --build=BUILD     configure for building on BUILD [guessed]
1493   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1494   --target=TARGET   configure for building compilers for TARGET [HOST]
1495 _ACEOF
1496 fi
1497
1498 if test -n "$ac_init_help"; then
1499   case $ac_init_help in
1500      short | recursive ) echo "Configuration of package-unused version-unused:";;
1501    esac
1502   cat <<\_ACEOF
1503
1504 Optional Features:
1505   --disable-option-checking  ignore unrecognized --enable/--with options
1506   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1507   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1508   --enable-multilib       build many library versions (default)
1509   --enable-maintainer-mode  enable make rules and dependencies not useful
1510                           (and sometimes confusing) to the casual installer
1511   --enable-shared[=PKGS]  build shared libraries [default=yes]
1512   --enable-static[=PKGS]  build static libraries [default=yes]
1513   --enable-fast-install[=PKGS]
1514                           optimize for fast installation [default=yes]
1515   --disable-libtool-lock  avoid locking (might break parallel builds)
1516   --disable-hosted-libstdcxx
1517                           only build freestanding C++ runtime support
1518   --enable-sjlj-exceptions
1519                           force use of builtin_setjmp for exceptions
1520                           [default=auto]
1521   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1522                           [default=$is_hosted]
1523   --enable-cstdio[=PACKAGE]
1524                           use target-specific I/O package [default=stdio]
1525   --enable-clocale[=MODEL]
1526                           use MODEL for target locale package [default=auto]
1527   --enable-nls            use Native Language Support (default)
1528   --enable-libstdcxx-allocator[=KIND]
1529                           use KIND for target std::allocator base
1530                           [default=auto]
1531   --enable-cheaders[=KIND]
1532                           construct "C" headers for g++ [default=$c_model]
1533   --enable-long-long      enable template specializations for 'long long'
1534                           [default=yes]
1535   --enable-wchar_t        enable template specializations for 'wchar_t'
1536                           [default=yes]
1537   --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1538   --enable-concept-checks use Boost-derived template checks [default=no]
1539   --enable-libstdcxx-debug-flags=FLAGS
1540                           pass compiler FLAGS when building debug library
1541                           [default="-gdwarf-4 -g3 -O0"]
1542   --enable-libstdcxx-debug
1543                           build extra debug library [default=no]
1544   --enable-cxx-flags=FLAGS
1545                           pass compiler FLAGS when building library [default=]
1546   --enable-fully-dynamic-string
1547                           do not put empty strings in per-process static
1548                           memory [default=no]
1549   --enable-extern-template
1550                           enable extern template [default=yes]
1551   --enable-libstdcxx-time[=KIND]
1552                           use KIND for check type [default=no]
1553   --enable-tls            Use thread-local storage [default=yes]
1554   --disable-rpath         do not hardcode runtime library paths
1555   --enable-linux-futex    use the Linux futex system call [default=default]
1556   --enable-symvers[=STYLE]
1557                           enables symbol versioning of the shared library
1558                           [default=yes]
1559   --enable-libstdcxx-visibility
1560                           enables visibility safe usage [default=yes]
1561   --enable-version-specific-runtime-libs
1562                           Specify that runtime libraries should be installed
1563                           in a compiler-specific directory
1564
1565 Optional Packages:
1566   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1567   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1568   --with-target-subdir=SUBDIR
1569                           configuring in a subdirectory
1570   --with-cross-host=HOST  configuring with a cross compiler
1571   --with-newlib           assume newlib as a system C library
1572   --with-pic              try to use only PIC/non-PIC objects [default=use
1573                           both]
1574   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1575   --with-python-dir       the location to install Python modules. This path is
1576                           relative starting from the prefix.
1577   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1578   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1579   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1580   --with-system-libunwind use installed libunwind
1581   --with-gxx-include-dir=DIR
1582                           installation directory for include files
1583
1584 Some influential environment variables:
1585   CC          C compiler command
1586   CFLAGS      C compiler flags
1587   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1588               nonstandard directory <lib dir>
1589   LIBS        libraries to pass to the linker, e.g. -l<library>
1590   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1591               you have headers in a nonstandard directory <include dir>
1592   CXX         C++ compiler command
1593   CXXFLAGS    C++ compiler flags
1594   CPP         C preprocessor
1595   CXXCPP      C++ preprocessor
1596   CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1597               `c++filt', `gc++filt' on PATH.
1598
1599 Use these variables to override the choices made by `configure' or to help
1600 it to find libraries and programs with nonstandard names/locations.
1601
1602 Report bugs to the package provider.
1603 _ACEOF
1604 ac_status=$?
1605 fi
1606
1607 if test "$ac_init_help" = "recursive"; then
1608   # If there are subdirs, report their specific --help.
1609   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1610     test -d "$ac_dir" ||
1611       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1612       continue
1613     ac_builddir=.
1614
1615 case "$ac_dir" in
1616 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1617 *)
1618   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1619   # A ".." for each directory in $ac_dir_suffix.
1620   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1621   case $ac_top_builddir_sub in
1622   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1623   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1624   esac ;;
1625 esac
1626 ac_abs_top_builddir=$ac_pwd
1627 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1628 # for backward compatibility:
1629 ac_top_builddir=$ac_top_build_prefix
1630
1631 case $srcdir in
1632   .)  # We are building in place.
1633     ac_srcdir=.
1634     ac_top_srcdir=$ac_top_builddir_sub
1635     ac_abs_top_srcdir=$ac_pwd ;;
1636   [\\/]* | ?:[\\/]* )  # Absolute name.
1637     ac_srcdir=$srcdir$ac_dir_suffix;
1638     ac_top_srcdir=$srcdir
1639     ac_abs_top_srcdir=$srcdir ;;
1640   *) # Relative name.
1641     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1642     ac_top_srcdir=$ac_top_build_prefix$srcdir
1643     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1644 esac
1645 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1646
1647     cd "$ac_dir" || { ac_status=$?; continue; }
1648     # Check for guested configure.
1649     if test -f "$ac_srcdir/configure.gnu"; then
1650       echo &&
1651       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1652     elif test -f "$ac_srcdir/configure"; then
1653       echo &&
1654       $SHELL "$ac_srcdir/configure" --help=recursive
1655     else
1656       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1657     fi || ac_status=$?
1658     cd "$ac_pwd" || { ac_status=$?; break; }
1659   done
1660 fi
1661
1662 test -n "$ac_init_help" && exit $ac_status
1663 if $ac_init_version; then
1664   cat <<\_ACEOF
1665 package-unused configure version-unused
1666 generated by GNU Autoconf 2.64
1667
1668 Copyright (C) 2009 Free Software Foundation, Inc.
1669 This configure script is free software; the Free Software Foundation
1670 gives unlimited permission to copy, distribute and modify it.
1671 _ACEOF
1672   exit
1673 fi
1674
1675 ## ------------------------ ##
1676 ## Autoconf initialization. ##
1677 ## ------------------------ ##
1678
1679 # ac_fn_c_try_compile LINENO
1680 # --------------------------
1681 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1682 ac_fn_c_try_compile ()
1683 {
1684   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685   rm -f conftest.$ac_objext
1686   if { { ac_try="$ac_compile"
1687 case "(($ac_try" in
1688   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1689   *) ac_try_echo=$ac_try;;
1690 esac
1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692 $as_echo "$ac_try_echo"; } >&5
1693   (eval "$ac_compile") 2>conftest.err
1694   ac_status=$?
1695   if test -s conftest.err; then
1696     grep -v '^ *+' conftest.err >conftest.er1
1697     cat conftest.er1 >&5
1698     mv -f conftest.er1 conftest.err
1699   fi
1700   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701   test $ac_status = 0; } && {
1702          test -z "$ac_c_werror_flag" ||
1703          test ! -s conftest.err
1704        } && test -s conftest.$ac_objext; then :
1705   ac_retval=0
1706 else
1707   $as_echo "$as_me: failed program was:" >&5
1708 sed 's/^/| /' conftest.$ac_ext >&5
1709
1710         ac_retval=1
1711 fi
1712   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1713   return $ac_retval
1714
1715 } # ac_fn_c_try_compile
1716
1717 # ac_fn_cxx_try_compile LINENO
1718 # ----------------------------
1719 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1720 ac_fn_cxx_try_compile ()
1721 {
1722   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723   rm -f conftest.$ac_objext
1724   if { { ac_try="$ac_compile"
1725 case "(($ac_try" in
1726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1727   *) ac_try_echo=$ac_try;;
1728 esac
1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731   (eval "$ac_compile") 2>conftest.err
1732   ac_status=$?
1733   if test -s conftest.err; then
1734     grep -v '^ *+' conftest.err >conftest.er1
1735     cat conftest.er1 >&5
1736     mv -f conftest.er1 conftest.err
1737   fi
1738   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739   test $ac_status = 0; } && {
1740          test -z "$ac_cxx_werror_flag" ||
1741          test ! -s conftest.err
1742        } && test -s conftest.$ac_objext; then :
1743   ac_retval=0
1744 else
1745   $as_echo "$as_me: failed program was:" >&5
1746 sed 's/^/| /' conftest.$ac_ext >&5
1747
1748         ac_retval=1
1749 fi
1750   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1751   return $ac_retval
1752
1753 } # ac_fn_cxx_try_compile
1754
1755 # ac_fn_c_try_cpp LINENO
1756 # ----------------------
1757 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1758 ac_fn_c_try_cpp ()
1759 {
1760   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761   if { { ac_try="$ac_cpp conftest.$ac_ext"
1762 case "(($ac_try" in
1763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1764   *) ac_try_echo=$ac_try;;
1765 esac
1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1769   ac_status=$?
1770   if test -s conftest.err; then
1771     grep -v '^ *+' conftest.err >conftest.er1
1772     cat conftest.er1 >&5
1773     mv -f conftest.er1 conftest.err
1774   fi
1775   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776   test $ac_status = 0; } >/dev/null && {
1777          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1778          test ! -s conftest.err
1779        }; then :
1780   ac_retval=0
1781 else
1782   $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.$ac_ext >&5
1784
1785     ac_retval=1
1786 fi
1787   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1788   return $ac_retval
1789
1790 } # ac_fn_c_try_cpp
1791
1792 # ac_fn_c_try_link LINENO
1793 # -----------------------
1794 # Try to link conftest.$ac_ext, and return whether this succeeded.
1795 ac_fn_c_try_link ()
1796 {
1797   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798   rm -f conftest.$ac_objext conftest$ac_exeext
1799   if { { ac_try="$ac_link"
1800 case "(($ac_try" in
1801   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1802   *) ac_try_echo=$ac_try;;
1803 esac
1804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1805 $as_echo "$ac_try_echo"; } >&5
1806   (eval "$ac_link") 2>conftest.err
1807   ac_status=$?
1808   if test -s conftest.err; then
1809     grep -v '^ *+' conftest.err >conftest.er1
1810     cat conftest.er1 >&5
1811     mv -f conftest.er1 conftest.err
1812   fi
1813   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1814   test $ac_status = 0; } && {
1815          test -z "$ac_c_werror_flag" ||
1816          test ! -s conftest.err
1817        } && test -s conftest$ac_exeext && {
1818          test "$cross_compiling" = yes ||
1819          $as_test_x conftest$ac_exeext
1820        }; then :
1821   ac_retval=0
1822 else
1823   $as_echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.$ac_ext >&5
1825
1826         ac_retval=1
1827 fi
1828   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1829   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1830   # interfere with the next link command; also delete a directory that is
1831   # left behind by Apple's compiler.  We do this before executing the actions.
1832   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1833   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1834   return $ac_retval
1835
1836 } # ac_fn_c_try_link
1837
1838 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1839 # -------------------------------------------------------
1840 # Tests whether HEADER exists and can be compiled using the include files in
1841 # INCLUDES, setting the cache variable VAR accordingly.
1842 ac_fn_c_check_header_compile ()
1843 {
1844   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1846 $as_echo_n "checking for $2... " >&6; }
1847 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1848   $as_echo_n "(cached) " >&6
1849 else
1850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1851 /* end confdefs.h.  */
1852 $4
1853 #include <$2>
1854 _ACEOF
1855 if ac_fn_c_try_compile "$LINENO"; then :
1856   eval "$3=yes"
1857 else
1858   eval "$3=no"
1859 fi
1860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1861 fi
1862 eval ac_res=\$$3
1863                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1864 $as_echo "$ac_res" >&6; }
1865   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1866
1867 } # ac_fn_c_check_header_compile
1868
1869 # ac_fn_c_try_run LINENO
1870 # ----------------------
1871 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1872 # that executables *can* be run.
1873 ac_fn_c_try_run ()
1874 {
1875   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1876   if { { ac_try="$ac_link"
1877 case "(($ac_try" in
1878   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1879   *) ac_try_echo=$ac_try;;
1880 esac
1881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1882 $as_echo "$ac_try_echo"; } >&5
1883   (eval "$ac_link") 2>&5
1884   ac_status=$?
1885   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1886   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1887   { { case "(($ac_try" in
1888   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1889   *) ac_try_echo=$ac_try;;
1890 esac
1891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 $as_echo "$ac_try_echo"; } >&5
1893   (eval "$ac_try") 2>&5
1894   ac_status=$?
1895   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1896   test $ac_status = 0; }; }; then :
1897   ac_retval=0
1898 else
1899   $as_echo "$as_me: program exited with status $ac_status" >&5
1900        $as_echo "$as_me: failed program was:" >&5
1901 sed 's/^/| /' conftest.$ac_ext >&5
1902
1903        ac_retval=$ac_status
1904 fi
1905   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1906   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1907   return $ac_retval
1908
1909 } # ac_fn_c_try_run
1910
1911 # ac_fn_c_check_func LINENO FUNC VAR
1912 # ----------------------------------
1913 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1914 ac_fn_c_check_func ()
1915 {
1916   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1918 $as_echo_n "checking for $2... " >&6; }
1919 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1920   $as_echo_n "(cached) " >&6
1921 else
1922   if test x$gcc_no_link = xyes; then
1923   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1924 fi
1925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926 /* end confdefs.h.  */
1927 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1928    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1929 #define $2 innocuous_$2
1930
1931 /* System header to define __stub macros and hopefully few prototypes,
1932     which can conflict with char $2 (); below.
1933     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1934     <limits.h> exists even on freestanding compilers.  */
1935
1936 #ifdef __STDC__
1937 # include <limits.h>
1938 #else
1939 # include <assert.h>
1940 #endif
1941
1942 #undef $2
1943
1944 /* Override any GCC internal prototype to avoid an error.
1945    Use char because int might match the return type of a GCC
1946    builtin and then its argument prototype would still apply.  */
1947 #ifdef __cplusplus
1948 extern "C"
1949 #endif
1950 char $2 ();
1951 /* The GNU C library defines this for functions which it implements
1952     to always fail with ENOSYS.  Some functions are actually named
1953     something starting with __ and the normal name is an alias.  */
1954 #if defined __stub_$2 || defined __stub___$2
1955 choke me
1956 #endif
1957
1958 int
1959 main ()
1960 {
1961 return $2 ();
1962   ;
1963   return 0;
1964 }
1965 _ACEOF
1966 if ac_fn_c_try_link "$LINENO"; then :
1967   eval "$3=yes"
1968 else
1969   eval "$3=no"
1970 fi
1971 rm -f core conftest.err conftest.$ac_objext \
1972     conftest$ac_exeext conftest.$ac_ext
1973 fi
1974 eval ac_res=\$$3
1975                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1976 $as_echo "$ac_res" >&6; }
1977   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1978
1979 } # ac_fn_c_check_func
1980
1981 # ac_fn_cxx_try_cpp LINENO
1982 # ------------------------
1983 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1984 ac_fn_cxx_try_cpp ()
1985 {
1986   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987   if { { ac_try="$ac_cpp conftest.$ac_ext"
1988 case "(($ac_try" in
1989   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1990   *) ac_try_echo=$ac_try;;
1991 esac
1992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1993 $as_echo "$ac_try_echo"; } >&5
1994   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1995   ac_status=$?
1996   if test -s conftest.err; then
1997     grep -v '^ *+' conftest.err >conftest.er1
1998     cat conftest.er1 >&5
1999     mv -f conftest.er1 conftest.err
2000   fi
2001   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2002   test $ac_status = 0; } >/dev/null && {
2003          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2004          test ! -s conftest.err
2005        }; then :
2006   ac_retval=0
2007 else
2008   $as_echo "$as_me: failed program was:" >&5
2009 sed 's/^/| /' conftest.$ac_ext >&5
2010
2011     ac_retval=1
2012 fi
2013   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2014   return $ac_retval
2015
2016 } # ac_fn_cxx_try_cpp
2017
2018 # ac_fn_cxx_try_link LINENO
2019 # -------------------------
2020 # Try to link conftest.$ac_ext, and return whether this succeeded.
2021 ac_fn_cxx_try_link ()
2022 {
2023   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2024   rm -f conftest.$ac_objext conftest$ac_exeext
2025   if { { ac_try="$ac_link"
2026 case "(($ac_try" in
2027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2028   *) ac_try_echo=$ac_try;;
2029 esac
2030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2031 $as_echo "$ac_try_echo"; } >&5
2032   (eval "$ac_link") 2>conftest.err
2033   ac_status=$?
2034   if test -s conftest.err; then
2035     grep -v '^ *+' conftest.err >conftest.er1
2036     cat conftest.er1 >&5
2037     mv -f conftest.er1 conftest.err
2038   fi
2039   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2040   test $ac_status = 0; } && {
2041          test -z "$ac_cxx_werror_flag" ||
2042          test ! -s conftest.err
2043        } && test -s conftest$ac_exeext && {
2044          test "$cross_compiling" = yes ||
2045          $as_test_x conftest$ac_exeext
2046        }; then :
2047   ac_retval=0
2048 else
2049   $as_echo "$as_me: failed program was:" >&5
2050 sed 's/^/| /' conftest.$ac_ext >&5
2051
2052         ac_retval=1
2053 fi
2054   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2055   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2056   # interfere with the next link command; also delete a directory that is
2057   # left behind by Apple's compiler.  We do this before executing the actions.
2058   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2059   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2060   return $ac_retval
2061
2062 } # ac_fn_cxx_try_link
2063
2064 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2065 # -------------------------------------------------------
2066 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2067 # the include files in INCLUDES and setting the cache variable VAR
2068 # accordingly.
2069 ac_fn_c_check_header_mongrel ()
2070 {
2071   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2072   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2074 $as_echo_n "checking for $2... " >&6; }
2075 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2076   $as_echo_n "(cached) " >&6
2077 fi
2078 eval ac_res=\$$3
2079                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2080 $as_echo "$ac_res" >&6; }
2081 else
2082   # Is the header compilable?
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2084 $as_echo_n "checking $2 usability... " >&6; }
2085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2086 /* end confdefs.h.  */
2087 $4
2088 #include <$2>
2089 _ACEOF
2090 if ac_fn_c_try_compile "$LINENO"; then :
2091   ac_header_compiler=yes
2092 else
2093   ac_header_compiler=no
2094 fi
2095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2097 $as_echo "$ac_header_compiler" >&6; }
2098
2099 # Is the header present?
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2101 $as_echo_n "checking $2 presence... " >&6; }
2102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2103 /* end confdefs.h.  */
2104 #include <$2>
2105 _ACEOF
2106 if ac_fn_c_try_cpp "$LINENO"; then :
2107   ac_header_preproc=yes
2108 else
2109   ac_header_preproc=no
2110 fi
2111 rm -f conftest.err conftest.$ac_ext
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2113 $as_echo "$ac_header_preproc" >&6; }
2114
2115 # So?  What about this header?
2116 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2117   yes:no: )
2118     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2119 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2120     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2121 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2122     ;;
2123   no:yes:* )
2124     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2125 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2126     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2127 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2128     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2129 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2130     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2131 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2132     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2133 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2134     ;;
2135 esac
2136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2137 $as_echo_n "checking for $2... " >&6; }
2138 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2139   $as_echo_n "(cached) " >&6
2140 else
2141   eval "$3=\$ac_header_compiler"
2142 fi
2143 eval ac_res=\$$3
2144                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2145 $as_echo "$ac_res" >&6; }
2146 fi
2147   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2148
2149 } # ac_fn_c_check_header_mongrel
2150
2151 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2152 # ---------------------------------------------------------
2153 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2154 # the include files in INCLUDES and setting the cache variable VAR
2155 # accordingly.
2156 ac_fn_cxx_check_header_mongrel ()
2157 {
2158   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2159   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2161 $as_echo_n "checking for $2... " >&6; }
2162 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2163   $as_echo_n "(cached) " >&6
2164 fi
2165 eval ac_res=\$$3
2166                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2167 $as_echo "$ac_res" >&6; }
2168 else
2169   # Is the header compilable?
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2171 $as_echo_n "checking $2 usability... " >&6; }
2172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2173 /* end confdefs.h.  */
2174 $4
2175 #include <$2>
2176 _ACEOF
2177 if ac_fn_cxx_try_compile "$LINENO"; then :
2178   ac_header_compiler=yes
2179 else
2180   ac_header_compiler=no
2181 fi
2182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2184 $as_echo "$ac_header_compiler" >&6; }
2185
2186 # Is the header present?
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2188 $as_echo_n "checking $2 presence... " >&6; }
2189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2190 /* end confdefs.h.  */
2191 #include <$2>
2192 _ACEOF
2193 if ac_fn_cxx_try_cpp "$LINENO"; then :
2194   ac_header_preproc=yes
2195 else
2196   ac_header_preproc=no
2197 fi
2198 rm -f conftest.err conftest.$ac_ext
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2200 $as_echo "$ac_header_preproc" >&6; }
2201
2202 # So?  What about this header?
2203 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2204   yes:no: )
2205     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2206 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2207     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2208 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2209     ;;
2210   no:yes:* )
2211     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2212 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2213     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2214 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2215     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2216 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2217     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2218 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2219     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2220 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2221     ;;
2222 esac
2223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2224 $as_echo_n "checking for $2... " >&6; }
2225 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2226   $as_echo_n "(cached) " >&6
2227 else
2228   eval "$3=\$ac_header_compiler"
2229 fi
2230 eval ac_res=\$$3
2231                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2232 $as_echo "$ac_res" >&6; }
2233 fi
2234   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2235
2236 } # ac_fn_cxx_check_header_mongrel
2237
2238 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2239 # --------------------------------------------
2240 # Tries to find the compile-time value of EXPR in a program that includes
2241 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2242 # computed
2243 ac_fn_c_compute_int ()
2244 {
2245   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2246   if test "$cross_compiling" = yes; then
2247     # Depending upon the size, compute the lo and hi bounds.
2248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2249 /* end confdefs.h.  */
2250 $4
2251 int
2252 main ()
2253 {
2254 static int test_array [1 - 2 * !(($2) >= 0)];
2255 test_array [0] = 0
2256
2257   ;
2258   return 0;
2259 }
2260 _ACEOF
2261 if ac_fn_c_try_compile "$LINENO"; then :
2262   ac_lo=0 ac_mid=0
2263   while :; do
2264     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2265 /* end confdefs.h.  */
2266 $4
2267 int
2268 main ()
2269 {
2270 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2271 test_array [0] = 0
2272
2273   ;
2274   return 0;
2275 }
2276 _ACEOF
2277 if ac_fn_c_try_compile "$LINENO"; then :
2278   ac_hi=$ac_mid; break
2279 else
2280   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2281                         if test $ac_lo -le $ac_mid; then
2282                           ac_lo= ac_hi=
2283                           break
2284                         fi
2285                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2286 fi
2287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2288   done
2289 else
2290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2291 /* end confdefs.h.  */
2292 $4
2293 int
2294 main ()
2295 {
2296 static int test_array [1 - 2 * !(($2) < 0)];
2297 test_array [0] = 0
2298
2299   ;
2300   return 0;
2301 }
2302 _ACEOF
2303 if ac_fn_c_try_compile "$LINENO"; then :
2304   ac_hi=-1 ac_mid=-1
2305   while :; do
2306     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2307 /* end confdefs.h.  */
2308 $4
2309 int
2310 main ()
2311 {
2312 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2313 test_array [0] = 0
2314
2315   ;
2316   return 0;
2317 }
2318 _ACEOF
2319 if ac_fn_c_try_compile "$LINENO"; then :
2320   ac_lo=$ac_mid; break
2321 else
2322   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2323                         if test $ac_mid -le $ac_hi; then
2324                           ac_lo= ac_hi=
2325                           break
2326                         fi
2327                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2328 fi
2329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2330   done
2331 else
2332   ac_lo= ac_hi=
2333 fi
2334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2335 fi
2336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2337 # Binary search between lo and hi bounds.
2338 while test "x$ac_lo" != "x$ac_hi"; do
2339   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2341 /* end confdefs.h.  */
2342 $4
2343 int
2344 main ()
2345 {
2346 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2347 test_array [0] = 0
2348
2349   ;
2350   return 0;
2351 }
2352 _ACEOF
2353 if ac_fn_c_try_compile "$LINENO"; then :
2354   ac_hi=$ac_mid
2355 else
2356   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2357 fi
2358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2359 done
2360 case $ac_lo in #((
2361 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2362 '') ac_retval=1 ;;
2363 esac
2364   else
2365     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2366 /* end confdefs.h.  */
2367 $4
2368 static long int longval () { return $2; }
2369 static unsigned long int ulongval () { return $2; }
2370 #include <stdio.h>
2371 #include <stdlib.h>
2372 int
2373 main ()
2374 {
2375
2376   FILE *f = fopen ("conftest.val", "w");
2377   if (! f)
2378     return 1;
2379   if (($2) < 0)
2380     {
2381       long int i = longval ();
2382       if (i != ($2))
2383         return 1;
2384       fprintf (f, "%ld", i);
2385     }
2386   else
2387     {
2388       unsigned long int i = ulongval ();
2389       if (i != ($2))
2390         return 1;
2391       fprintf (f, "%lu", i);
2392     }
2393   /* Do not output a trailing newline, as this causes \r\n confusion
2394      on some platforms.  */
2395   return ferror (f) || fclose (f) != 0;
2396
2397   ;
2398   return 0;
2399 }
2400 _ACEOF
2401 if ac_fn_c_try_run "$LINENO"; then :
2402   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2403 else
2404   ac_retval=1
2405 fi
2406 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2407   conftest.$ac_objext conftest.beam conftest.$ac_ext
2408 rm -f conftest.val
2409
2410   fi
2411   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2412   return $ac_retval
2413
2414 } # ac_fn_c_compute_int
2415
2416 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2417 # -------------------------------------------
2418 # Tests whether TYPE exists after having included INCLUDES, setting cache
2419 # variable VAR accordingly.
2420 ac_fn_c_check_type ()
2421 {
2422   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2424 $as_echo_n "checking for $2... " >&6; }
2425 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2426   $as_echo_n "(cached) " >&6
2427 else
2428   eval "$3=no"
2429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2430 /* end confdefs.h.  */
2431 $4
2432 int
2433 main ()
2434 {
2435 if (sizeof ($2))
2436          return 0;
2437   ;
2438   return 0;
2439 }
2440 _ACEOF
2441 if ac_fn_c_try_compile "$LINENO"; then :
2442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2443 /* end confdefs.h.  */
2444 $4
2445 int
2446 main ()
2447 {
2448 if (sizeof (($2)))
2449             return 0;
2450   ;
2451   return 0;
2452 }
2453 _ACEOF
2454 if ac_fn_c_try_compile "$LINENO"; then :
2455
2456 else
2457   eval "$3=yes"
2458 fi
2459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2460 fi
2461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2462 fi
2463 eval ac_res=\$$3
2464                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2465 $as_echo "$ac_res" >&6; }
2466   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2467
2468 } # ac_fn_c_check_type
2469 cat >config.log <<_ACEOF
2470 This file contains any messages produced by compilers while
2471 running configure, to aid debugging if configure makes a mistake.
2472
2473 It was created by package-unused $as_me version-unused, which was
2474 generated by GNU Autoconf 2.64.  Invocation command line was
2475
2476   $ $0 $@
2477
2478 _ACEOF
2479 exec 5>>config.log
2480 {
2481 cat <<_ASUNAME
2482 ## --------- ##
2483 ## Platform. ##
2484 ## --------- ##
2485
2486 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2487 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2488 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2489 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2490 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2491
2492 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2493 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2494
2495 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2496 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2497 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2498 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2499 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2500 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2501 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2502
2503 _ASUNAME
2504
2505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2506 for as_dir in $PATH
2507 do
2508   IFS=$as_save_IFS
2509   test -z "$as_dir" && as_dir=.
2510     $as_echo "PATH: $as_dir"
2511   done
2512 IFS=$as_save_IFS
2513
2514 } >&5
2515
2516 cat >&5 <<_ACEOF
2517
2518
2519 ## ----------- ##
2520 ## Core tests. ##
2521 ## ----------- ##
2522
2523 _ACEOF
2524
2525
2526 # Keep a trace of the command line.
2527 # Strip out --no-create and --no-recursion so they do not pile up.
2528 # Strip out --silent because we don't want to record it for future runs.
2529 # Also quote any args containing shell meta-characters.
2530 # Make two passes to allow for proper duplicate-argument suppression.
2531 ac_configure_args=
2532 ac_configure_args0=
2533 ac_configure_args1=
2534 ac_must_keep_next=false
2535 for ac_pass in 1 2
2536 do
2537   for ac_arg
2538   do
2539     case $ac_arg in
2540     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2541     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2542     | -silent | --silent | --silen | --sile | --sil)
2543       continue ;;
2544     *\'*)
2545       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2546     esac
2547     case $ac_pass in
2548     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2549     2)
2550       as_fn_append ac_configure_args1 " '$ac_arg'"
2551       if test $ac_must_keep_next = true; then
2552         ac_must_keep_next=false # Got value, back to normal.
2553       else
2554         case $ac_arg in
2555           *=* | --config-cache | -C | -disable-* | --disable-* \
2556           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2557           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2558           | -with-* | --with-* | -without-* | --without-* | --x)
2559             case "$ac_configure_args0 " in
2560               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2561             esac
2562             ;;
2563           -* ) ac_must_keep_next=true ;;
2564         esac
2565       fi
2566       as_fn_append ac_configure_args " '$ac_arg'"
2567       ;;
2568     esac
2569   done
2570 done
2571 { ac_configure_args0=; unset ac_configure_args0;}
2572 { ac_configure_args1=; unset ac_configure_args1;}
2573
2574 # When interrupted or exit'd, cleanup temporary files, and complete
2575 # config.log.  We remove comments because anyway the quotes in there
2576 # would cause problems or look ugly.
2577 # WARNING: Use '\'' to represent an apostrophe within the trap.
2578 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2579 trap 'exit_status=$?
2580   # Save into config.log some information that might help in debugging.
2581   {
2582     echo
2583
2584     cat <<\_ASBOX
2585 ## ---------------- ##
2586 ## Cache variables. ##
2587 ## ---------------- ##
2588 _ASBOX
2589     echo
2590     # The following way of writing the cache mishandles newlines in values,
2591 (
2592   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2593     eval ac_val=\$$ac_var
2594     case $ac_val in #(
2595     *${as_nl}*)
2596       case $ac_var in #(
2597       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2598 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2599       esac
2600       case $ac_var in #(
2601       _ | IFS | as_nl) ;; #(
2602       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2603       *) { eval $ac_var=; unset $ac_var;} ;;
2604       esac ;;
2605     esac
2606   done
2607   (set) 2>&1 |
2608     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2609     *${as_nl}ac_space=\ *)
2610       sed -n \
2611         "s/'\''/'\''\\\\'\'''\''/g;
2612           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2613       ;; #(
2614     *)
2615       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2616       ;;
2617     esac |
2618     sort
2619 )
2620     echo
2621
2622     cat <<\_ASBOX
2623 ## ----------------- ##
2624 ## Output variables. ##
2625 ## ----------------- ##
2626 _ASBOX
2627     echo
2628     for ac_var in $ac_subst_vars
2629     do
2630       eval ac_val=\$$ac_var
2631       case $ac_val in
2632       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2633       esac
2634       $as_echo "$ac_var='\''$ac_val'\''"
2635     done | sort
2636     echo
2637
2638     if test -n "$ac_subst_files"; then
2639       cat <<\_ASBOX
2640 ## ------------------- ##
2641 ## File substitutions. ##
2642 ## ------------------- ##
2643 _ASBOX
2644       echo
2645       for ac_var in $ac_subst_files
2646       do
2647         eval ac_val=\$$ac_var
2648         case $ac_val in
2649         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2650         esac
2651         $as_echo "$ac_var='\''$ac_val'\''"
2652       done | sort
2653       echo
2654     fi
2655
2656     if test -s confdefs.h; then
2657       cat <<\_ASBOX
2658 ## ----------- ##
2659 ## confdefs.h. ##
2660 ## ----------- ##
2661 _ASBOX
2662       echo
2663       cat confdefs.h
2664       echo
2665     fi
2666     test "$ac_signal" != 0 &&
2667       $as_echo "$as_me: caught signal $ac_signal"
2668     $as_echo "$as_me: exit $exit_status"
2669   } >&5
2670   rm -f core *.core core.conftest.* &&
2671     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2672     exit $exit_status
2673 ' 0
2674 for ac_signal in 1 2 13 15; do
2675   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2676 done
2677 ac_signal=0
2678
2679 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2680 rm -f -r conftest* confdefs.h
2681
2682 $as_echo "/* confdefs.h */" > confdefs.h
2683
2684 # Predefined preprocessor variables.
2685
2686 cat >>confdefs.h <<_ACEOF
2687 #define PACKAGE_NAME "$PACKAGE_NAME"
2688 _ACEOF
2689
2690 cat >>confdefs.h <<_ACEOF
2691 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2692 _ACEOF
2693
2694 cat >>confdefs.h <<_ACEOF
2695 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2696 _ACEOF
2697
2698 cat >>confdefs.h <<_ACEOF
2699 #define PACKAGE_STRING "$PACKAGE_STRING"
2700 _ACEOF
2701
2702 cat >>confdefs.h <<_ACEOF
2703 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2704 _ACEOF
2705
2706 cat >>confdefs.h <<_ACEOF
2707 #define PACKAGE_URL "$PACKAGE_URL"
2708 _ACEOF
2709
2710
2711 # Let the site file select an alternate cache file if it wants to.
2712 # Prefer an explicitly selected file to automatically selected ones.
2713 ac_site_file1=NONE
2714 ac_site_file2=NONE
2715 if test -n "$CONFIG_SITE"; then
2716   ac_site_file1=$CONFIG_SITE
2717 elif test "x$prefix" != xNONE; then
2718   ac_site_file1=$prefix/share/config.site
2719   ac_site_file2=$prefix/etc/config.site
2720 else
2721   ac_site_file1=$ac_default_prefix/share/config.site
2722   ac_site_file2=$ac_default_prefix/etc/config.site
2723 fi
2724 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2725 do
2726   test "x$ac_site_file" = xNONE && continue
2727   if test -r "$ac_site_file"; then
2728     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2729 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2730     sed 's/^/| /' "$ac_site_file" >&5
2731     . "$ac_site_file"
2732   fi
2733 done
2734
2735 if test -r "$cache_file"; then
2736   # Some versions of bash will fail to source /dev/null (special
2737   # files actually), so we avoid doing that.
2738   if test -f "$cache_file"; then
2739     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2740 $as_echo "$as_me: loading cache $cache_file" >&6;}
2741     case $cache_file in
2742       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2743       *)                      . "./$cache_file";;
2744     esac
2745   fi
2746 else
2747   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2748 $as_echo "$as_me: creating cache $cache_file" >&6;}
2749   >$cache_file
2750 fi
2751
2752 # Check that the precious variables saved in the cache have kept the same
2753 # value.
2754 ac_cache_corrupted=false
2755 for ac_var in $ac_precious_vars; do
2756   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2757   eval ac_new_set=\$ac_env_${ac_var}_set
2758   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2759   eval ac_new_val=\$ac_env_${ac_var}_value
2760   case $ac_old_set,$ac_new_set in
2761     set,)
2762       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2763 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2764       ac_cache_corrupted=: ;;
2765     ,set)
2766       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2767 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2768       ac_cache_corrupted=: ;;
2769     ,);;
2770     *)
2771       if test "x$ac_old_val" != "x$ac_new_val"; then
2772         # differences in whitespace do not lead to failure.
2773         ac_old_val_w=`echo x $ac_old_val`
2774         ac_new_val_w=`echo x $ac_new_val`
2775         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2776           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2777 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2778           ac_cache_corrupted=:
2779         else
2780           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2781 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2782           eval $ac_var=\$ac_old_val
2783         fi
2784         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2785 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2786         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2787 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2788       fi;;
2789   esac
2790   # Pass precious variables to config.status.
2791   if test "$ac_new_set" = set; then
2792     case $ac_new_val in
2793     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2794     *) ac_arg=$ac_var=$ac_new_val ;;
2795     esac
2796     case " $ac_configure_args " in
2797       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2798       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2799     esac
2800   fi
2801 done
2802 if $ac_cache_corrupted; then
2803   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2805   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2806 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2807   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2808 fi
2809 ## -------------------- ##
2810 ## Main body of script. ##
2811 ## -------------------- ##
2812
2813 ac_ext=c
2814 ac_cpp='$CPP $CPPFLAGS'
2815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2818
2819
2820
2821
2822
2823
2824 ac_config_headers="$ac_config_headers config.h"
2825
2826
2827 # This works around the fact that libtool configuration may change LD
2828 # for this particular configuration, but some shells, instead of
2829 # keeping the changes in LD private, export them just because LD is
2830 # exported.  Only used at the end of this file.
2831 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2832
2833 # Find the rest of the source tree framework.
2834 # Default to --enable-multilib
2835 # Check whether --enable-multilib was given.
2836 if test "${enable_multilib+set}" = set; then :
2837   enableval=$enable_multilib; case "$enableval" in
2838   yes) multilib=yes ;;
2839   no)  multilib=no ;;
2840   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2841  esac
2842 else
2843   multilib=yes
2844 fi
2845
2846
2847 # We may get other options which we leave undocumented:
2848 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2849 # See config-ml.in if you want the gory details.
2850
2851 if test "$srcdir" = "."; then
2852   if test "$with_target_subdir" != "."; then
2853     multi_basedir="$srcdir/$with_multisrctop../.."
2854   else
2855     multi_basedir="$srcdir/$with_multisrctop.."
2856   fi
2857 else
2858   multi_basedir="$srcdir/.."
2859 fi
2860
2861
2862 # Even if the default multilib is not a cross compilation,
2863 # it may be that some of the other multilibs are.
2864 if test $cross_compiling = no && test $multilib = yes \
2865    && test "x${with_multisubdir}" != x ; then
2866    cross_compiling=maybe
2867 fi
2868
2869 ac_config_commands="$ac_config_commands default-1"
2870
2871
2872 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2873 #
2874 # You will slowly go insane if you do not grok the following fact:  when
2875 # building v3 as part of the compiler, the top-level /target/ becomes the
2876 # library's /host/.  configure then causes --target to default to --host,
2877 # exactly like any other package using autoconf.  Therefore, 'target' and
2878 # 'host' will always be the same.  This makes sense both for native and
2879 # cross compilers, just think about it for a little while.  :-)
2880 #
2881 # Also, if v3 is being configured as part of a cross compiler, the top-level
2882 # configure script will pass the "real" host as $with_cross_host.
2883 #
2884 # Do not delete or change the following two lines.  For why, see
2885 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2886 ac_aux_dir=
2887 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2888   for ac_t in install-sh install.sh shtool; do
2889     if test -f "$ac_dir/$ac_t"; then
2890       ac_aux_dir=$ac_dir
2891       ac_install_sh="$ac_aux_dir/$ac_t -c"
2892       break 2
2893     fi
2894   done
2895 done
2896 if test -z "$ac_aux_dir"; then
2897   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2898 fi
2899
2900 # These three variables are undocumented and unsupported,
2901 # and are intended to be withdrawn in a future Autoconf release.
2902 # They can cause serious problems if a builder's source tree is in a directory
2903 # whose full name contains unusual characters.
2904 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2905 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2906 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2907
2908
2909 # Make sure we can run config.sub.
2910 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2911   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2912
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2914 $as_echo_n "checking build system type... " >&6; }
2915 if test "${ac_cv_build+set}" = set; then :
2916   $as_echo_n "(cached) " >&6
2917 else
2918   ac_build_alias=$build_alias
2919 test "x$ac_build_alias" = x &&
2920   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2921 test "x$ac_build_alias" = x &&
2922   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2923 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2924   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2925
2926 fi
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2928 $as_echo "$ac_cv_build" >&6; }
2929 case $ac_cv_build in
2930 *-*-*) ;;
2931 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2932 esac
2933 build=$ac_cv_build
2934 ac_save_IFS=$IFS; IFS='-'
2935 set x $ac_cv_build
2936 shift
2937 build_cpu=$1
2938 build_vendor=$2
2939 shift; shift
2940 # Remember, the first character of IFS is used to create $*,
2941 # except with old shells:
2942 build_os=$*
2943 IFS=$ac_save_IFS
2944 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2945
2946
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2948 $as_echo_n "checking host system type... " >&6; }
2949 if test "${ac_cv_host+set}" = set; then :
2950   $as_echo_n "(cached) " >&6
2951 else
2952   if test "x$host_alias" = x; then
2953   ac_cv_host=$ac_cv_build
2954 else
2955   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2956     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2957 fi
2958
2959 fi
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2961 $as_echo "$ac_cv_host" >&6; }
2962 case $ac_cv_host in
2963 *-*-*) ;;
2964 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2965 esac
2966 host=$ac_cv_host
2967 ac_save_IFS=$IFS; IFS='-'
2968 set x $ac_cv_host
2969 shift
2970 host_cpu=$1
2971 host_vendor=$2
2972 shift; shift
2973 # Remember, the first character of IFS is used to create $*,
2974 # except with old shells:
2975 host_os=$*
2976 IFS=$ac_save_IFS
2977 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2978
2979
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2981 $as_echo_n "checking target system type... " >&6; }
2982 if test "${ac_cv_target+set}" = set; then :
2983   $as_echo_n "(cached) " >&6
2984 else
2985   if test "x$target_alias" = x; then
2986   ac_cv_target=$ac_cv_host
2987 else
2988   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2989     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2990 fi
2991
2992 fi
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2994 $as_echo "$ac_cv_target" >&6; }
2995 case $ac_cv_target in
2996 *-*-*) ;;
2997 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2998 esac
2999 target=$ac_cv_target
3000 ac_save_IFS=$IFS; IFS='-'
3001 set x $ac_cv_target
3002 shift
3003 target_cpu=$1
3004 target_vendor=$2
3005 shift; shift
3006 # Remember, the first character of IFS is used to create $*,
3007 # except with old shells:
3008 target_os=$*
3009 IFS=$ac_save_IFS
3010 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3011
3012
3013 # The aliases save the names the user supplied, while $host etc.
3014 # will get canonicalized.
3015 test -n "$target_alias" &&
3016   test "$program_prefix$program_suffix$program_transform_name" = \
3017     NONENONEs,x,x, &&
3018   program_prefix=${target_alias}-
3019
3020 target_alias=${target_alias-$host_alias}
3021
3022 # Handy for debugging:
3023 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3024
3025 if test "$build" != "$host"; then
3026   # We are being configured with some form of cross compiler.
3027   GLIBCXX_IS_NATIVE=false
3028   case "$host","$target" in
3029     # Darwin crosses can use the host system's libraries and headers,
3030     # because of the fat library support.  Of course, it must be the
3031     # same version of Darwin on both sides.  Allow the user to
3032     # just say --target=foo-darwin without a version number to mean
3033     # "the version on this system".
3034       *-*-darwin*,*-*-darwin*)
3035         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3036         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3037         if test $hostos = $targetos -o $targetos = darwin ; then
3038           GLIBCXX_IS_NATIVE=true
3039         fi
3040         ;;
3041
3042       *)
3043
3044         ;;
3045   esac
3046 else
3047   GLIBCXX_IS_NATIVE=true
3048 fi
3049
3050 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3051 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3052 #  1.x:  minimum required version
3053 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3054 #              of other PACKAGE_* variables will, however, and there's nothing
3055 #              we can do about that; they come from AC_INIT).
3056 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3057 #            file in the top srcdir, etc, etc), so stop complaining.
3058 #  no-dependencies:  turns off auto dependency generation (just for now)
3059 #  no-dist:  we don't want 'dist' and related rules.
3060 #  -Wall:  turns on all automake warnings...
3061 #  -Wno-portability:  ...except this one, since GNU make is now required.
3062 am__api_version='1.11'
3063
3064 # Find a good install program.  We prefer a C program (faster),
3065 # so one script is as good as another.  But avoid the broken or
3066 # incompatible versions:
3067 # SysV /etc/install, /usr/sbin/install
3068 # SunOS /usr/etc/install
3069 # IRIX /sbin/install
3070 # AIX /bin/install
3071 # AmigaOS /C/install, which installs bootblocks on floppy discs
3072 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3073 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3074 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3075 # OS/2's system install, which has a completely different semantic
3076 # ./install, which can be erroneously created by make from ./install.sh.
3077 # Reject install programs that cannot install multiple files.
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3079 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3080 if test -z "$INSTALL"; then
3081 if test "${ac_cv_path_install+set}" = set; then :
3082   $as_echo_n "(cached) " >&6
3083 else
3084   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3085 for as_dir in $PATH
3086 do
3087   IFS=$as_save_IFS
3088   test -z "$as_dir" && as_dir=.
3089     # Account for people who put trailing slashes in PATH elements.
3090 case $as_dir/ in #((
3091   ./ | .// | /[cC]/* | \
3092   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3093   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3094   /usr/ucb/* ) ;;
3095   *)
3096     # OSF1 and SCO ODT 3.0 have their own names for install.
3097     # Don't use installbsd from OSF since it installs stuff as root
3098     # by default.
3099     for ac_prog in ginstall scoinst install; do
3100       for ac_exec_ext in '' $ac_executable_extensions; do
3101         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3102           if test $ac_prog = install &&
3103             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3104             # AIX install.  It has an incompatible calling convention.
3105             :
3106           elif test $ac_prog = install &&
3107             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3108             # program-specific install script used by HP pwplus--don't use.
3109             :
3110           else
3111             rm -rf conftest.one conftest.two conftest.dir
3112             echo one > conftest.one
3113             echo two > conftest.two
3114             mkdir conftest.dir
3115             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3116               test -s conftest.one && test -s conftest.two &&
3117               test -s conftest.dir/conftest.one &&
3118               test -s conftest.dir/conftest.two
3119             then
3120               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3121               break 3
3122             fi
3123           fi
3124         fi
3125       done
3126     done
3127     ;;
3128 esac
3129
3130   done
3131 IFS=$as_save_IFS
3132
3133 rm -rf conftest.one conftest.two conftest.dir
3134
3135 fi
3136   if test "${ac_cv_path_install+set}" = set; then
3137     INSTALL=$ac_cv_path_install
3138   else
3139     # As a last resort, use the slow shell script.  Don't cache a
3140     # value for INSTALL within a source directory, because that will
3141     # break other packages using the cache if that directory is
3142     # removed, or if the value is a relative name.
3143     INSTALL=$ac_install_sh
3144   fi
3145 fi
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3147 $as_echo "$INSTALL" >&6; }
3148
3149 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3150 # It thinks the first close brace ends the variable substitution.
3151 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3152
3153 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3154
3155 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3156
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3158 $as_echo_n "checking whether build environment is sane... " >&6; }
3159 # Just in case
3160 sleep 1
3161 echo timestamp > conftest.file
3162 # Reject unsafe characters in $srcdir or the absolute working directory
3163 # name.  Accept space and tab only in the latter.
3164 am_lf='
3165 '
3166 case `pwd` in
3167   *[\\\"\#\$\&\'\`$am_lf]*)
3168     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3169 esac
3170 case $srcdir in
3171   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3172     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3173 esac
3174
3175 # Do `set' in a subshell so we don't clobber the current shell's
3176 # arguments.  Must try -L first in case configure is actually a
3177 # symlink; some systems play weird games with the mod time of symlinks
3178 # (eg FreeBSD returns the mod time of the symlink's containing
3179 # directory).
3180 if (
3181    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3182    if test "$*" = "X"; then
3183       # -L didn't work.
3184       set X `ls -t "$srcdir/configure" conftest.file`
3185    fi
3186    rm -f conftest.file
3187    if test "$*" != "X $srcdir/configure conftest.file" \
3188       && test "$*" != "X conftest.file $srcdir/configure"; then
3189
3190       # If neither matched, then we have a broken ls.  This can happen
3191       # if, for instance, CONFIG_SHELL is bash and it inherits a
3192       # broken ls alias from the environment.  This has actually
3193       # happened.  Such a system could not be considered "sane".
3194       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3195 alias in your environment" "$LINENO" 5
3196    fi
3197
3198    test "$2" = conftest.file
3199    )
3200 then
3201    # Ok.
3202    :
3203 else
3204    as_fn_error "newly created file is older than distributed files!
3205 Check your system clock" "$LINENO" 5
3206 fi
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3208 $as_echo "yes" >&6; }
3209 test "$program_prefix" != NONE &&
3210   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3211 # Use a double $ so make ignores it.
3212 test "$program_suffix" != NONE &&
3213   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3214 # Double any \ or $.
3215 # By default was `s,x,x', remove it if useless.
3216 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3217 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3218
3219 # expand $ac_aux_dir to an absolute path
3220 am_aux_dir=`cd $ac_aux_dir && pwd`
3221
3222 if test x"${MISSING+set}" != xset; then
3223   case $am_aux_dir in
3224   *\ * | *\     *)
3225     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3226   *)
3227     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3228   esac
3229 fi
3230 # Use eval to expand $SHELL
3231 if eval "$MISSING --run true"; then
3232   am_missing_run="$MISSING --run "
3233 else
3234   am_missing_run=
3235   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3236 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3237 fi
3238
3239 if test x"${install_sh}" != xset; then
3240   case $am_aux_dir in
3241   *\ * | *\     *)
3242     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3243   *)
3244     install_sh="\${SHELL} $am_aux_dir/install-sh"
3245   esac
3246 fi
3247
3248 # Installed binaries are usually stripped using `strip' when the user
3249 # run `make install-strip'.  However `strip' might not be the right
3250 # tool to use in cross-compilation environments, therefore Automake
3251 # will honor the `STRIP' environment variable to overrule this program.
3252 if test "$cross_compiling" != no; then
3253   if test -n "$ac_tool_prefix"; then
3254   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3255 set dummy ${ac_tool_prefix}strip; ac_word=$2
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3257 $as_echo_n "checking for $ac_word... " >&6; }
3258 if test "${ac_cv_prog_STRIP+set}" = set; then :
3259   $as_echo_n "(cached) " >&6
3260 else
3261   if test -n "$STRIP"; then
3262   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3263 else
3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3265 for as_dir in $PATH
3266 do
3267   IFS=$as_save_IFS
3268   test -z "$as_dir" && as_dir=.
3269     for ac_exec_ext in '' $ac_executable_extensions; do
3270   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3271     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3272     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3273     break 2
3274   fi
3275 done
3276   done
3277 IFS=$as_save_IFS
3278
3279 fi
3280 fi
3281 STRIP=$ac_cv_prog_STRIP
3282 if test -n "$STRIP"; then
3283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3284 $as_echo "$STRIP" >&6; }
3285 else
3286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3287 $as_echo "no" >&6; }
3288 fi
3289
3290
3291 fi
3292 if test -z "$ac_cv_prog_STRIP"; then
3293   ac_ct_STRIP=$STRIP
3294   # Extract the first word of "strip", so it can be a program name with args.
3295 set dummy strip; ac_word=$2
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3297 $as_echo_n "checking for $ac_word... " >&6; }
3298 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3299   $as_echo_n "(cached) " >&6
3300 else
3301   if test -n "$ac_ct_STRIP"; then
3302   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3303 else
3304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3305 for as_dir in $PATH
3306 do
3307   IFS=$as_save_IFS
3308   test -z "$as_dir" && as_dir=.
3309     for ac_exec_ext in '' $ac_executable_extensions; do
3310   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3311     ac_cv_prog_ac_ct_STRIP="strip"
3312     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3313     break 2
3314   fi
3315 done
3316   done
3317 IFS=$as_save_IFS
3318
3319 fi
3320 fi
3321 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3322 if test -n "$ac_ct_STRIP"; then
3323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3324 $as_echo "$ac_ct_STRIP" >&6; }
3325 else
3326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3327 $as_echo "no" >&6; }
3328 fi
3329
3330   if test "x$ac_ct_STRIP" = x; then
3331     STRIP=":"
3332   else
3333     case $cross_compiling:$ac_tool_warned in
3334 yes:)
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3337 ac_tool_warned=yes ;;
3338 esac
3339     STRIP=$ac_ct_STRIP
3340   fi
3341 else
3342   STRIP="$ac_cv_prog_STRIP"
3343 fi
3344
3345 fi
3346 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3347
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3349 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3350 if test -z "$MKDIR_P"; then
3351   if test "${ac_cv_path_mkdir+set}" = set; then :
3352   $as_echo_n "(cached) " >&6
3353 else
3354   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3356 do
3357   IFS=$as_save_IFS
3358   test -z "$as_dir" && as_dir=.
3359     for ac_prog in mkdir gmkdir; do
3360          for ac_exec_ext in '' $ac_executable_extensions; do
3361            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3362            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3363              'mkdir (GNU coreutils) '* | \
3364              'mkdir (coreutils) '* | \
3365              'mkdir (fileutils) '4.1*)
3366                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3367                break 3;;
3368            esac
3369          done
3370        done
3371   done
3372 IFS=$as_save_IFS
3373
3374 fi
3375
3376   if test "${ac_cv_path_mkdir+set}" = set; then
3377     MKDIR_P="$ac_cv_path_mkdir -p"
3378   else
3379     # As a last resort, use the slow shell script.  Don't cache a
3380     # value for MKDIR_P within a source directory, because that will
3381     # break other packages using the cache if that directory is
3382     # removed, or if the value is a relative name.
3383     test -d ./--version && rmdir ./--version
3384     MKDIR_P="$ac_install_sh -d"
3385   fi
3386 fi
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3388 $as_echo "$MKDIR_P" >&6; }
3389
3390 mkdir_p="$MKDIR_P"
3391 case $mkdir_p in
3392   [\\/$]* | ?:[\\/]*) ;;
3393   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3394 esac
3395
3396 for ac_prog in gawk mawk nawk awk
3397 do
3398   # Extract the first word of "$ac_prog", so it can be a program name with args.
3399 set dummy $ac_prog; ac_word=$2
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3401 $as_echo_n "checking for $ac_word... " >&6; }
3402 if test "${ac_cv_prog_AWK+set}" = set; then :
3403   $as_echo_n "(cached) " >&6
3404 else
3405   if test -n "$AWK"; then
3406   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3407 else
3408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3409 for as_dir in $PATH
3410 do
3411   IFS=$as_save_IFS
3412   test -z "$as_dir" && as_dir=.
3413     for ac_exec_ext in '' $ac_executable_extensions; do
3414   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3415     ac_cv_prog_AWK="$ac_prog"
3416     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3417     break 2
3418   fi
3419 done
3420   done
3421 IFS=$as_save_IFS
3422
3423 fi
3424 fi
3425 AWK=$ac_cv_prog_AWK
3426 if test -n "$AWK"; then
3427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3428 $as_echo "$AWK" >&6; }
3429 else
3430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3431 $as_echo "no" >&6; }
3432 fi
3433
3434
3435   test -n "$AWK" && break
3436 done
3437
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3439 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3440 set x ${MAKE-make}
3441 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3442 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3443   $as_echo_n "(cached) " >&6
3444 else
3445   cat >conftest.make <<\_ACEOF
3446 SHELL = /bin/sh
3447 all:
3448         @echo '@@@%%%=$(MAKE)=@@@%%%'
3449 _ACEOF
3450 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3451 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3452   *@@@%%%=?*=@@@%%%*)
3453     eval ac_cv_prog_make_${ac_make}_set=yes;;
3454   *)
3455     eval ac_cv_prog_make_${ac_make}_set=no;;
3456 esac
3457 rm -f conftest.make
3458 fi
3459 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3461 $as_echo "yes" >&6; }
3462   SET_MAKE=
3463 else
3464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3465 $as_echo "no" >&6; }
3466   SET_MAKE="MAKE=${MAKE-make}"
3467 fi
3468
3469 rm -rf .tst 2>/dev/null
3470 mkdir .tst 2>/dev/null
3471 if test -d .tst; then
3472   am__leading_dot=.
3473 else
3474   am__leading_dot=_
3475 fi
3476 rmdir .tst 2>/dev/null
3477
3478 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3479   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3480   # is not polluted with repeated "-I."
3481   am__isrc=' -I$(srcdir)'
3482   # test to see if srcdir already configured
3483   if test -f $srcdir/config.status; then
3484     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3485   fi
3486 fi
3487
3488 # test whether we have cygpath
3489 if test -z "$CYGPATH_W"; then
3490   if (cygpath --version) >/dev/null 2>/dev/null; then
3491     CYGPATH_W='cygpath -w'
3492   else
3493     CYGPATH_W=echo
3494   fi
3495 fi
3496
3497
3498 # Define the identity of the package.
3499  PACKAGE='libstdc++'
3500  VERSION='version-unused'
3501
3502
3503 # Some tools Automake needs.
3504
3505 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3506
3507
3508 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3509
3510
3511 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3512
3513
3514 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3515
3516
3517 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3518
3519 # We need awk for the "check" target.  The system "awk" is bad on
3520 # some platforms.
3521 # Always define AMTAR for backward compatibility.
3522
3523 AMTAR=${AMTAR-"${am_missing_run}tar"}
3524
3525 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3526
3527
3528
3529
3530
3531
3532
3533
3534 # -fno-builtin must be present here so that a non-conflicting form of
3535 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3536
3537 save_CXXFLAGS="$CXXFLAGS"
3538 CXXFLAGS="$CXXFLAGS -fno-builtin"
3539 ac_ext=c
3540 ac_cpp='$CPP $CPPFLAGS'
3541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3544 if test -n "$ac_tool_prefix"; then
3545   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3546 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3548 $as_echo_n "checking for $ac_word... " >&6; }
3549 if test "${ac_cv_prog_CC+set}" = set; then :
3550   $as_echo_n "(cached) " >&6
3551 else
3552   if test -n "$CC"; then
3553   ac_cv_prog_CC="$CC" # Let the user override the test.
3554 else
3555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3556 for as_dir in $PATH
3557 do
3558   IFS=$as_save_IFS
3559   test -z "$as_dir" && as_dir=.
3560     for ac_exec_ext in '' $ac_executable_extensions; do
3561   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3562     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3563     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3564     break 2
3565   fi
3566 done
3567   done
3568 IFS=$as_save_IFS
3569
3570 fi
3571 fi
3572 CC=$ac_cv_prog_CC
3573 if test -n "$CC"; then
3574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3575 $as_echo "$CC" >&6; }
3576 else
3577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3578 $as_echo "no" >&6; }
3579 fi
3580
3581
3582 fi
3583 if test -z "$ac_cv_prog_CC"; then
3584   ac_ct_CC=$CC
3585   # Extract the first word of "gcc", so it can be a program name with args.
3586 set dummy gcc; ac_word=$2
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3588 $as_echo_n "checking for $ac_word... " >&6; }
3589 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3590   $as_echo_n "(cached) " >&6
3591 else
3592   if test -n "$ac_ct_CC"; then
3593   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3594 else
3595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3596 for as_dir in $PATH
3597 do
3598   IFS=$as_save_IFS
3599   test -z "$as_dir" && as_dir=.
3600     for ac_exec_ext in '' $ac_executable_extensions; do
3601   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3602     ac_cv_prog_ac_ct_CC="gcc"
3603     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3604     break 2
3605   fi
3606 done
3607   done
3608 IFS=$as_save_IFS
3609
3610 fi
3611 fi
3612 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3613 if test -n "$ac_ct_CC"; then
3614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3615 $as_echo "$ac_ct_CC" >&6; }
3616 else
3617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3618 $as_echo "no" >&6; }
3619 fi
3620
3621   if test "x$ac_ct_CC" = x; then
3622     CC=""
3623   else
3624     case $cross_compiling:$ac_tool_warned in
3625 yes:)
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3628 ac_tool_warned=yes ;;
3629 esac
3630     CC=$ac_ct_CC
3631   fi
3632 else
3633   CC="$ac_cv_prog_CC"
3634 fi
3635
3636 if test -z "$CC"; then
3637           if test -n "$ac_tool_prefix"; then
3638     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3639 set dummy ${ac_tool_prefix}cc; ac_word=$2
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3641 $as_echo_n "checking for $ac_word... " >&6; }
3642 if test "${ac_cv_prog_CC+set}" = set; then :
3643   $as_echo_n "(cached) " >&6
3644 else
3645   if test -n "$CC"; then
3646   ac_cv_prog_CC="$CC" # Let the user override the test.
3647 else
3648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3649 for as_dir in $PATH
3650 do
3651   IFS=$as_save_IFS
3652   test -z "$as_dir" && as_dir=.
3653     for ac_exec_ext in '' $ac_executable_extensions; do
3654   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3655     ac_cv_prog_CC="${ac_tool_prefix}cc"
3656     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3657     break 2
3658   fi
3659 done
3660   done
3661 IFS=$as_save_IFS
3662
3663 fi
3664 fi
3665 CC=$ac_cv_prog_CC
3666 if test -n "$CC"; then
3667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3668 $as_echo "$CC" >&6; }
3669 else
3670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3671 $as_echo "no" >&6; }
3672 fi
3673
3674
3675   fi
3676 fi
3677 if test -z "$CC"; then
3678   # Extract the first word of "cc", so it can be a program name with args.
3679 set dummy cc; ac_word=$2
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3681 $as_echo_n "checking for $ac_word... " >&6; }
3682 if test "${ac_cv_prog_CC+set}" = set; then :
3683   $as_echo_n "(cached) " >&6
3684 else
3685   if test -n "$CC"; then
3686   ac_cv_prog_CC="$CC" # Let the user override the test.
3687 else
3688   ac_prog_rejected=no
3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3690 for as_dir in $PATH
3691 do
3692   IFS=$as_save_IFS
3693   test -z "$as_dir" && as_dir=.
3694     for ac_exec_ext in '' $ac_executable_extensions; do
3695   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3696     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3697        ac_prog_rejected=yes
3698        continue
3699      fi
3700     ac_cv_prog_CC="cc"
3701     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3702     break 2
3703   fi
3704 done
3705   done
3706 IFS=$as_save_IFS
3707
3708 if test $ac_prog_rejected = yes; then
3709   # We found a bogon in the path, so make sure we never use it.
3710   set dummy $ac_cv_prog_CC
3711   shift
3712   if test $# != 0; then
3713     # We chose a different compiler from the bogus one.
3714     # However, it has the same basename, so the bogon will be chosen
3715     # first if we set CC to just the basename; use the full file name.
3716     shift
3717     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3718   fi
3719 fi
3720 fi
3721 fi
3722 CC=$ac_cv_prog_CC
3723 if test -n "$CC"; then
3724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3725 $as_echo "$CC" >&6; }
3726 else
3727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3728 $as_echo "no" >&6; }
3729 fi
3730
3731
3732 fi
3733 if test -z "$CC"; then
3734   if test -n "$ac_tool_prefix"; then
3735   for ac_prog in cl.exe
3736   do
3737     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3738 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3740 $as_echo_n "checking for $ac_word... " >&6; }
3741 if test "${ac_cv_prog_CC+set}" = set; then :
3742   $as_echo_n "(cached) " >&6
3743 else
3744   if test -n "$CC"; then
3745   ac_cv_prog_CC="$CC" # Let the user override the test.
3746 else
3747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3748 for as_dir in $PATH
3749 do
3750   IFS=$as_save_IFS
3751   test -z "$as_dir" && as_dir=.
3752     for ac_exec_ext in '' $ac_executable_extensions; do
3753   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3754     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3755     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3756     break 2
3757   fi
3758 done
3759   done
3760 IFS=$as_save_IFS
3761
3762 fi
3763 fi
3764 CC=$ac_cv_prog_CC
3765 if test -n "$CC"; then
3766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3767 $as_echo "$CC" >&6; }
3768 else
3769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3770 $as_echo "no" >&6; }
3771 fi
3772
3773
3774     test -n "$CC" && break
3775   done
3776 fi
3777 if test -z "$CC"; then
3778   ac_ct_CC=$CC
3779   for ac_prog in cl.exe
3780 do
3781   # Extract the first word of "$ac_prog", so it can be a program name with args.
3782 set dummy $ac_prog; ac_word=$2
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3784 $as_echo_n "checking for $ac_word... " >&6; }
3785 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3786   $as_echo_n "(cached) " >&6
3787 else
3788   if test -n "$ac_ct_CC"; then
3789   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3790 else
3791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3792 for as_dir in $PATH
3793 do
3794   IFS=$as_save_IFS
3795   test -z "$as_dir" && as_dir=.
3796     for ac_exec_ext in '' $ac_executable_extensions; do
3797   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3798     ac_cv_prog_ac_ct_CC="$ac_prog"
3799     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3800     break 2
3801   fi
3802 done
3803   done
3804 IFS=$as_save_IFS
3805
3806 fi
3807 fi
3808 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3809 if test -n "$ac_ct_CC"; then
3810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3811 $as_echo "$ac_ct_CC" >&6; }
3812 else
3813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3814 $as_echo "no" >&6; }
3815 fi
3816
3817
3818   test -n "$ac_ct_CC" && break
3819 done
3820
3821   if test "x$ac_ct_CC" = x; then
3822     CC=""
3823   else
3824     case $cross_compiling:$ac_tool_warned in
3825 yes:)
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3828 ac_tool_warned=yes ;;
3829 esac
3830     CC=$ac_ct_CC
3831   fi
3832 fi
3833
3834 fi
3835
3836
3837 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3838 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3839 as_fn_error "no acceptable C compiler found in \$PATH
3840 See \`config.log' for more details." "$LINENO" 5; }
3841
3842 # Provide some information about the compiler.
3843 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3844 set X $ac_compile
3845 ac_compiler=$2
3846 for ac_option in --version -v -V -qversion; do
3847   { { ac_try="$ac_compiler $ac_option >&5"
3848 case "(($ac_try" in
3849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3850   *) ac_try_echo=$ac_try;;
3851 esac
3852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3853 $as_echo "$ac_try_echo"; } >&5
3854   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3855   ac_status=$?
3856   if test -s conftest.err; then
3857     sed '10a\
3858 ... rest of stderr output deleted ...
3859          10q' conftest.err >conftest.er1
3860     cat conftest.er1 >&5
3861     rm -f conftest.er1 conftest.err
3862   fi
3863   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3864   test $ac_status = 0; }
3865 done
3866
3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h.  */
3869
3870 int
3871 main ()
3872 {
3873
3874   ;
3875   return 0;
3876 }
3877 _ACEOF
3878 # FIXME: Cleanup?
3879 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3880   (eval $ac_link) 2>&5
3881   ac_status=$?
3882   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3883   test $ac_status = 0; }; then :
3884   gcc_no_link=no
3885 else
3886   gcc_no_link=yes
3887 fi
3888 if test x$gcc_no_link = xyes; then
3889   # Setting cross_compile will disable run tests; it will
3890   # also disable AC_CHECK_FILE but that's generally
3891   # correct if we can't link.
3892   cross_compiling=yes
3893   EXEEXT=
3894 else
3895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3896 /* end confdefs.h.  */
3897
3898 int
3899 main ()
3900 {
3901
3902   ;
3903   return 0;
3904 }
3905 _ACEOF
3906 ac_clean_files_save=$ac_clean_files
3907 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3908 # Try to create an executable without -o first, disregard a.out.
3909 # It will help us diagnose broken compilers, and finding out an intuition
3910 # of exeext.
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3912 $as_echo_n "checking for C compiler default output file name... " >&6; }
3913 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3914
3915 # The possible output files:
3916 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3917
3918 ac_rmfiles=
3919 for ac_file in $ac_files
3920 do
3921   case $ac_file in
3922     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3923     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3924   esac
3925 done
3926 rm -f $ac_rmfiles
3927
3928 if { { ac_try="$ac_link_default"
3929 case "(($ac_try" in
3930   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3931   *) ac_try_echo=$ac_try;;
3932 esac
3933 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3934 $as_echo "$ac_try_echo"; } >&5
3935   (eval "$ac_link_default") 2>&5
3936   ac_status=$?
3937   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3938   test $ac_status = 0; }; then :
3939   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3940 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3941 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3942 # so that the user can short-circuit this test for compilers unknown to
3943 # Autoconf.
3944 for ac_file in $ac_files ''
3945 do
3946   test -f "$ac_file" || continue
3947   case $ac_file in
3948     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3949         ;;
3950     [ab].out )
3951         # We found the default executable, but exeext='' is most
3952         # certainly right.
3953         break;;
3954     *.* )
3955         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3956         then :; else
3957            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3958         fi
3959         # We set ac_cv_exeext here because the later test for it is not
3960         # safe: cross compilers may not add the suffix if given an `-o'
3961         # argument, so we may need to know it at that point already.
3962         # Even if this section looks crufty: it has the advantage of
3963         # actually working.
3964         break;;
3965     * )
3966         break;;
3967   esac
3968 done
3969 test "$ac_cv_exeext" = no && ac_cv_exeext=
3970
3971 else
3972   ac_file=''
3973 fi
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3975 $as_echo "$ac_file" >&6; }
3976 if test -z "$ac_file"; then :
3977   $as_echo "$as_me: failed program was:" >&5
3978 sed 's/^/| /' conftest.$ac_ext >&5
3979
3980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3982 { as_fn_set_status 77
3983 as_fn_error "C compiler cannot create executables
3984 See \`config.log' for more details." "$LINENO" 5; }; }
3985 fi
3986 ac_exeext=$ac_cv_exeext
3987
3988 # Check that the compiler produces executables we can run.  If not, either
3989 # the compiler is broken, or we cross compile.
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3991 $as_echo_n "checking whether the C compiler works... " >&6; }
3992 # If not cross compiling, check that we can run a simple program.
3993 if test "$cross_compiling" != yes; then
3994   if { ac_try='./$ac_file'
3995   { { case "(($ac_try" in
3996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3997   *) ac_try_echo=$ac_try;;
3998 esac
3999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4000 $as_echo "$ac_try_echo"; } >&5
4001   (eval "$ac_try") 2>&5
4002   ac_status=$?
4003   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4004   test $ac_status = 0; }; }; then
4005     cross_compiling=no
4006   else
4007     if test "$cross_compiling" = maybe; then
4008         cross_compiling=yes
4009     else
4010         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4012 as_fn_error "cannot run C compiled programs.
4013 If you meant to cross compile, use \`--host'.
4014 See \`config.log' for more details." "$LINENO" 5; }
4015     fi
4016   fi
4017 fi
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4019 $as_echo "yes" >&6; }
4020
4021 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4022 ac_clean_files=$ac_clean_files_save
4023 # Check that the compiler produces executables we can run.  If not, either
4024 # the compiler is broken, or we cross compile.
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4026 $as_echo_n "checking whether we are cross compiling... " >&6; }
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4028 $as_echo "$cross_compiling" >&6; }
4029
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4031 $as_echo_n "checking for suffix of executables... " >&6; }
4032 if { { ac_try="$ac_link"
4033 case "(($ac_try" in
4034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035   *) ac_try_echo=$ac_try;;
4036 esac
4037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4038 $as_echo "$ac_try_echo"; } >&5
4039   (eval "$ac_link") 2>&5
4040   ac_status=$?
4041   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4042   test $ac_status = 0; }; then :
4043   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4044 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4045 # work properly (i.e., refer to `conftest.exe'), while it won't with
4046 # `rm'.
4047 for ac_file in conftest.exe conftest conftest.*; do
4048   test -f "$ac_file" || continue
4049   case $ac_file in
4050     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4051     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4052           break;;
4053     * ) break;;
4054   esac
4055 done
4056 else
4057   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4059 as_fn_error "cannot compute suffix of executables: cannot compile and link
4060 See \`config.log' for more details." "$LINENO" 5; }
4061 fi
4062 rm -f conftest$ac_cv_exeext
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4064 $as_echo "$ac_cv_exeext" >&6; }
4065
4066 rm -f conftest.$ac_ext
4067 EXEEXT=$ac_cv_exeext
4068 ac_exeext=$EXEEXT
4069 fi
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4071 $as_echo_n "checking for suffix of object files... " >&6; }
4072 if test "${ac_cv_objext+set}" = set; then :
4073   $as_echo_n "(cached) " >&6
4074 else
4075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4076 /* end confdefs.h.  */
4077
4078 int
4079 main ()
4080 {
4081
4082   ;
4083   return 0;
4084 }
4085 _ACEOF
4086 rm -f conftest.o conftest.obj
4087 if { { ac_try="$ac_compile"
4088 case "(($ac_try" in
4089   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4090   *) ac_try_echo=$ac_try;;
4091 esac
4092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4093 $as_echo "$ac_try_echo"; } >&5
4094   (eval "$ac_compile") 2>&5
4095   ac_status=$?
4096   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4097   test $ac_status = 0; }; then :
4098   for ac_file in conftest.o conftest.obj conftest.*; do
4099   test -f "$ac_file" || continue;
4100   case $ac_file in
4101     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4102     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4103        break;;
4104   esac
4105 done
4106 else
4107   $as_echo "$as_me: failed program was:" >&5
4108 sed 's/^/| /' conftest.$ac_ext >&5
4109
4110 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4112 as_fn_error "cannot compute suffix of object files: cannot compile
4113 See \`config.log' for more details." "$LINENO" 5; }
4114 fi
4115 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4116 fi
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4118 $as_echo "$ac_cv_objext" >&6; }
4119 OBJEXT=$ac_cv_objext
4120 ac_objext=$OBJEXT
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4122 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4123 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4124   $as_echo_n "(cached) " >&6
4125 else
4126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4127 /* end confdefs.h.  */
4128
4129 int
4130 main ()
4131 {
4132 #ifndef __GNUC__
4133        choke me
4134 #endif
4135
4136   ;
4137   return 0;
4138 }
4139 _ACEOF
4140 if ac_fn_c_try_compile "$LINENO"; then :
4141   ac_compiler_gnu=yes
4142 else
4143   ac_compiler_gnu=no
4144 fi
4145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4146 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4147
4148 fi
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4150 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4151 if test $ac_compiler_gnu = yes; then
4152   GCC=yes
4153 else
4154   GCC=
4155 fi
4156 ac_test_CFLAGS=${CFLAGS+set}
4157 ac_save_CFLAGS=$CFLAGS
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4159 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4160 if test "${ac_cv_prog_cc_g+set}" = set; then :
4161   $as_echo_n "(cached) " >&6
4162 else
4163   ac_save_c_werror_flag=$ac_c_werror_flag
4164    ac_c_werror_flag=yes
4165    ac_cv_prog_cc_g=no
4166    CFLAGS="-g"
4167    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4168 /* end confdefs.h.  */
4169
4170 int
4171 main ()
4172 {
4173
4174   ;
4175   return 0;
4176 }
4177 _ACEOF
4178 if ac_fn_c_try_compile "$LINENO"; then :
4179   ac_cv_prog_cc_g=yes
4180 else
4181   CFLAGS=""
4182       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4183 /* end confdefs.h.  */
4184
4185 int
4186 main ()
4187 {
4188
4189   ;
4190   return 0;
4191 }
4192 _ACEOF
4193 if ac_fn_c_try_compile "$LINENO"; then :
4194
4195 else
4196   ac_c_werror_flag=$ac_save_c_werror_flag
4197          CFLAGS="-g"
4198          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h.  */
4200
4201 int
4202 main ()
4203 {
4204
4205   ;
4206   return 0;
4207 }
4208 _ACEOF
4209 if ac_fn_c_try_compile "$LINENO"; then :
4210   ac_cv_prog_cc_g=yes
4211 fi
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4213 fi
4214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4215 fi
4216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4217    ac_c_werror_flag=$ac_save_c_werror_flag
4218 fi
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4220 $as_echo "$ac_cv_prog_cc_g" >&6; }
4221 if test "$ac_test_CFLAGS" = set; then
4222   CFLAGS=$ac_save_CFLAGS
4223 elif test $ac_cv_prog_cc_g = yes; then
4224   if test "$GCC" = yes; then
4225     CFLAGS="-g -O2"
4226   else
4227     CFLAGS="-g"
4228   fi
4229 else
4230   if test "$GCC" = yes; then
4231     CFLAGS="-O2"
4232   else
4233     CFLAGS=
4234   fi
4235 fi
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4237 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4238 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4239   $as_echo_n "(cached) " >&6
4240 else
4241   ac_cv_prog_cc_c89=no
4242 ac_save_CC=$CC
4243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4244 /* end confdefs.h.  */
4245 #include <stdarg.h>
4246 #include <stdio.h>
4247 #include <sys/types.h>
4248 #include <sys/stat.h>
4249 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4250 struct buf { int x; };
4251 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4252 static char *e (p, i)
4253      char **p;
4254      int i;
4255 {
4256   return p[i];
4257 }
4258 static char *f (char * (*g) (char **, int), char **p, ...)
4259 {
4260   char *s;
4261   va_list v;
4262   va_start (v,p);
4263   s = g (p, va_arg (v,int));
4264   va_end (v);
4265   return s;
4266 }
4267
4268 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4269    function prototypes and stuff, but not '\xHH' hex character constants.
4270    These don't provoke an error unfortunately, instead are silently treated
4271    as 'x'.  The following induces an error, until -std is added to get
4272    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4273    array size at least.  It's necessary to write '\x00'==0 to get something
4274    that's true only with -std.  */
4275 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4276
4277 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4278    inside strings and character constants.  */
4279 #define FOO(x) 'x'
4280 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4281
4282 int test (int i, double x);
4283 struct s1 {int (*f) (int a);};
4284 struct s2 {int (*f) (double a);};
4285 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4286 int argc;
4287 char **argv;
4288 int
4289 main ()
4290 {
4291 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4292   ;
4293   return 0;
4294 }
4295 _ACEOF
4296 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4297         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4298 do
4299   CC="$ac_save_CC $ac_arg"
4300   if ac_fn_c_try_compile "$LINENO"; then :
4301   ac_cv_prog_cc_c89=$ac_arg
4302 fi
4303 rm -f core conftest.err conftest.$ac_objext
4304   test "x$ac_cv_prog_cc_c89" != "xno" && break
4305 done
4306 rm -f conftest.$ac_ext
4307 CC=$ac_save_CC
4308
4309 fi
4310 # AC_CACHE_VAL
4311 case "x$ac_cv_prog_cc_c89" in
4312   x)
4313     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4314 $as_echo "none needed" >&6; } ;;
4315   xno)
4316     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4317 $as_echo "unsupported" >&6; } ;;
4318   *)
4319     CC="$CC $ac_cv_prog_cc_c89"
4320     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4321 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4322 esac
4323 if test "x$ac_cv_prog_cc_c89" != xno; then :
4324
4325 fi
4326
4327 ac_ext=c
4328 ac_cpp='$CPP $CPPFLAGS'
4329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4332
4333 ac_ext=cpp
4334 ac_cpp='$CXXCPP $CPPFLAGS'
4335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4338 if test -z "$CXX"; then
4339   if test -n "$CCC"; then
4340     CXX=$CCC
4341   else
4342     if test -n "$ac_tool_prefix"; then
4343   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4344   do
4345     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4346 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4348 $as_echo_n "checking for $ac_word... " >&6; }
4349 if test "${ac_cv_prog_CXX+set}" = set; then :
4350   $as_echo_n "(cached) " >&6
4351 else
4352   if test -n "$CXX"; then
4353   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4354 else
4355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356 for as_dir in $PATH
4357 do
4358   IFS=$as_save_IFS
4359   test -z "$as_dir" && as_dir=.
4360     for ac_exec_ext in '' $ac_executable_extensions; do
4361   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4362     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4363     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4364     break 2
4365   fi
4366 done
4367   done
4368 IFS=$as_save_IFS
4369
4370 fi
4371 fi
4372 CXX=$ac_cv_prog_CXX
4373 if test -n "$CXX"; then
4374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4375 $as_echo "$CXX" >&6; }
4376 else
4377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4379 fi
4380
4381
4382     test -n "$CXX" && break
4383   done
4384 fi
4385 if test -z "$CXX"; then
4386   ac_ct_CXX=$CXX
4387   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4388 do
4389   # Extract the first word of "$ac_prog", so it can be a program name with args.
4390 set dummy $ac_prog; ac_word=$2
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4392 $as_echo_n "checking for $ac_word... " >&6; }
4393 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4394   $as_echo_n "(cached) " >&6
4395 else
4396   if test -n "$ac_ct_CXX"; then
4397   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4398 else
4399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4400 for as_dir in $PATH
4401 do
4402   IFS=$as_save_IFS
4403   test -z "$as_dir" && as_dir=.
4404     for ac_exec_ext in '' $ac_executable_extensions; do
4405   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4406     ac_cv_prog_ac_ct_CXX="$ac_prog"
4407     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4408     break 2
4409   fi
4410 done
4411   done
4412 IFS=$as_save_IFS
4413
4414 fi
4415 fi
4416 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4417 if test -n "$ac_ct_CXX"; then
4418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4419 $as_echo "$ac_ct_CXX" >&6; }
4420 else
4421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4422 $as_echo "no" >&6; }
4423 fi
4424
4425
4426   test -n "$ac_ct_CXX" && break
4427 done
4428
4429   if test "x$ac_ct_CXX" = x; then
4430     CXX="g++"
4431   else
4432     case $cross_compiling:$ac_tool_warned in
4433 yes:)
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4436 ac_tool_warned=yes ;;
4437 esac
4438     CXX=$ac_ct_CXX
4439   fi
4440 fi
4441
4442   fi
4443 fi
4444 # Provide some information about the compiler.
4445 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4446 set X $ac_compile
4447 ac_compiler=$2
4448 for ac_option in --version -v -V -qversion; do
4449   { { ac_try="$ac_compiler $ac_option >&5"
4450 case "(($ac_try" in
4451   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4452   *) ac_try_echo=$ac_try;;
4453 esac
4454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4455 $as_echo "$ac_try_echo"; } >&5
4456   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4457   ac_status=$?
4458   if test -s conftest.err; then
4459     sed '10a\
4460 ... rest of stderr output deleted ...
4461          10q' conftest.err >conftest.er1
4462     cat conftest.er1 >&5
4463     rm -f conftest.er1 conftest.err
4464   fi
4465   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4466   test $ac_status = 0; }
4467 done
4468
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4470 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4471 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4472   $as_echo_n "(cached) " >&6
4473 else
4474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475 /* end confdefs.h.  */
4476
4477 int
4478 main ()
4479 {
4480 #ifndef __GNUC__
4481        choke me
4482 #endif
4483
4484   ;
4485   return 0;
4486 }
4487 _ACEOF
4488 if ac_fn_cxx_try_compile "$LINENO"; then :
4489   ac_compiler_gnu=yes
4490 else
4491   ac_compiler_gnu=no
4492 fi
4493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4494 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4495
4496 fi
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4498 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4499 if test $ac_compiler_gnu = yes; then
4500   GXX=yes
4501 else
4502   GXX=
4503 fi
4504 ac_test_CXXFLAGS=${CXXFLAGS+set}
4505 ac_save_CXXFLAGS=$CXXFLAGS
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4507 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4508 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4509   $as_echo_n "(cached) " >&6
4510 else
4511   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4512    ac_cxx_werror_flag=yes
4513    ac_cv_prog_cxx_g=no
4514    CXXFLAGS="-g"
4515    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4516 /* end confdefs.h.  */
4517
4518 int
4519 main ()
4520 {
4521
4522   ;
4523   return 0;
4524 }
4525 _ACEOF
4526 if ac_fn_cxx_try_compile "$LINENO"; then :
4527   ac_cv_prog_cxx_g=yes
4528 else
4529   CXXFLAGS=""
4530       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4531 /* end confdefs.h.  */
4532
4533 int
4534 main ()
4535 {
4536
4537   ;
4538   return 0;
4539 }
4540 _ACEOF
4541 if ac_fn_cxx_try_compile "$LINENO"; then :
4542
4543 else
4544   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4545          CXXFLAGS="-g"
4546          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h.  */
4548
4549 int
4550 main ()
4551 {
4552
4553   ;
4554   return 0;
4555 }
4556 _ACEOF
4557 if ac_fn_cxx_try_compile "$LINENO"; then :
4558   ac_cv_prog_cxx_g=yes
4559 fi
4560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4561 fi
4562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4563 fi
4564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4565    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4566 fi
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4568 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4569 if test "$ac_test_CXXFLAGS" = set; then
4570   CXXFLAGS=$ac_save_CXXFLAGS
4571 elif test $ac_cv_prog_cxx_g = yes; then
4572   if test "$GXX" = yes; then
4573     CXXFLAGS="-g -O2"
4574   else
4575     CXXFLAGS="-g"
4576   fi
4577 else
4578   if test "$GXX" = yes; then
4579     CXXFLAGS="-O2"
4580   else
4581     CXXFLAGS=
4582   fi
4583 fi
4584 ac_ext=c
4585 ac_cpp='$CPP $CPPFLAGS'
4586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4589
4590 CXXFLAGS="$save_CXXFLAGS"
4591
4592 # Runs configure.host, and assorted other critical bits.  Sets
4593 # up critical shell variables.
4594
4595 ac_ext=c
4596 ac_cpp='$CPP $CPPFLAGS'
4597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4601 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4602 # On Suns, sometimes $CPP names a directory.
4603 if test -n "$CPP" && test -d "$CPP"; then
4604   CPP=
4605 fi
4606 if test -z "$CPP"; then
4607   if test "${ac_cv_prog_CPP+set}" = set; then :
4608   $as_echo_n "(cached) " >&6
4609 else
4610       # Double quotes because CPP needs to be expanded
4611     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4612     do
4613       ac_preproc_ok=false
4614 for ac_c_preproc_warn_flag in '' yes
4615 do
4616   # Use a header file that comes with gcc, so configuring glibc
4617   # with a fresh cross-compiler works.
4618   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4619   # <limits.h> exists even on freestanding compilers.
4620   # On the NeXT, cc -E runs the code through the compiler's parser,
4621   # not just through cpp. "Syntax error" is here to catch this case.
4622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4623 /* end confdefs.h.  */
4624 #ifdef __STDC__
4625 # include <limits.h>
4626 #else
4627 # include <assert.h>
4628 #endif
4629                      Syntax error
4630 _ACEOF
4631 if ac_fn_c_try_cpp "$LINENO"; then :
4632
4633 else
4634   # Broken: fails on valid input.
4635 continue
4636 fi
4637 rm -f conftest.err conftest.$ac_ext
4638
4639   # OK, works on sane cases.  Now check whether nonexistent headers
4640   # can be detected and how.
4641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h.  */
4643 #include <ac_nonexistent.h>
4644 _ACEOF
4645 if ac_fn_c_try_cpp "$LINENO"; then :
4646   # Broken: success on invalid input.
4647 continue
4648 else
4649   # Passes both tests.
4650 ac_preproc_ok=:
4651 break
4652 fi
4653 rm -f conftest.err conftest.$ac_ext
4654
4655 done
4656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4657 rm -f conftest.err conftest.$ac_ext
4658 if $ac_preproc_ok; then :
4659   break
4660 fi
4661
4662     done
4663     ac_cv_prog_CPP=$CPP
4664
4665 fi
4666   CPP=$ac_cv_prog_CPP
4667 else
4668   ac_cv_prog_CPP=$CPP
4669 fi
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4671 $as_echo "$CPP" >&6; }
4672 ac_preproc_ok=false
4673 for ac_c_preproc_warn_flag in '' yes
4674 do
4675   # Use a header file that comes with gcc, so configuring glibc
4676   # with a fresh cross-compiler works.
4677   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4678   # <limits.h> exists even on freestanding compilers.
4679   # On the NeXT, cc -E runs the code through the compiler's parser,
4680   # not just through cpp. "Syntax error" is here to catch this case.
4681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4682 /* end confdefs.h.  */
4683 #ifdef __STDC__
4684 # include <limits.h>
4685 #else
4686 # include <assert.h>
4687 #endif
4688                      Syntax error
4689 _ACEOF
4690 if ac_fn_c_try_cpp "$LINENO"; then :
4691
4692 else
4693   # Broken: fails on valid input.
4694 continue
4695 fi
4696 rm -f conftest.err conftest.$ac_ext
4697
4698   # OK, works on sane cases.  Now check whether nonexistent headers
4699   # can be detected and how.
4700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h.  */
4702 #include <ac_nonexistent.h>
4703 _ACEOF
4704 if ac_fn_c_try_cpp "$LINENO"; then :
4705   # Broken: success on invalid input.
4706 continue
4707 else
4708   # Passes both tests.
4709 ac_preproc_ok=:
4710 break
4711 fi
4712 rm -f conftest.err conftest.$ac_ext
4713
4714 done
4715 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4716 rm -f conftest.err conftest.$ac_ext
4717 if $ac_preproc_ok; then :
4718
4719 else
4720   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4722 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4723 See \`config.log' for more details." "$LINENO" 5; }
4724 fi
4725
4726 ac_ext=c
4727 ac_cpp='$CPP $CPPFLAGS'
4728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4731
4732
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4734 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4735 if test "${ac_cv_path_GREP+set}" = set; then :
4736   $as_echo_n "(cached) " >&6
4737 else
4738   if test -z "$GREP"; then
4739   ac_path_GREP_found=false
4740   # Loop through the user's path and test for each of PROGNAME-LIST
4741   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4742 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4743 do
4744   IFS=$as_save_IFS
4745   test -z "$as_dir" && as_dir=.
4746     for ac_prog in grep ggrep; do
4747     for ac_exec_ext in '' $ac_executable_extensions; do
4748       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4749       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4750 # Check for GNU ac_path_GREP and select it if it is found.
4751   # Check for GNU $ac_path_GREP
4752 case `"$ac_path_GREP" --version 2>&1` in
4753 *GNU*)
4754   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4755 *)
4756   ac_count=0
4757   $as_echo_n 0123456789 >"conftest.in"
4758   while :
4759   do
4760     cat "conftest.in" "conftest.in" >"conftest.tmp"
4761     mv "conftest.tmp" "conftest.in"
4762     cp "conftest.in" "conftest.nl"
4763     $as_echo 'GREP' >> "conftest.nl"
4764     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4765     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4766     as_fn_arith $ac_count + 1 && ac_count=$as_val
4767     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4768       # Best one so far, save it but keep looking for a better one
4769       ac_cv_path_GREP="$ac_path_GREP"
4770       ac_path_GREP_max=$ac_count
4771     fi
4772     # 10*(2^10) chars as input seems more than enough
4773     test $ac_count -gt 10 && break
4774   done
4775   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4776 esac
4777
4778       $ac_path_GREP_found && break 3
4779     done
4780   done
4781   done
4782 IFS=$as_save_IFS
4783   if test -z "$ac_cv_path_GREP"; then
4784     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4785   fi
4786 else
4787   ac_cv_path_GREP=$GREP
4788 fi
4789
4790 fi
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4792 $as_echo "$ac_cv_path_GREP" >&6; }
4793  GREP="$ac_cv_path_GREP"
4794
4795
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4797 $as_echo_n "checking for egrep... " >&6; }
4798 if test "${ac_cv_path_EGREP+set}" = set; then :
4799   $as_echo_n "(cached) " >&6
4800 else
4801   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4802    then ac_cv_path_EGREP="$GREP -E"
4803    else
4804      if test -z "$EGREP"; then
4805   ac_path_EGREP_found=false
4806   # Loop through the user's path and test for each of PROGNAME-LIST
4807   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4808 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4809 do
4810   IFS=$as_save_IFS
4811   test -z "$as_dir" && as_dir=.
4812     for ac_prog in egrep; do
4813     for ac_exec_ext in '' $ac_executable_extensions; do
4814       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4815       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4816 # Check for GNU ac_path_EGREP and select it if it is found.
4817   # Check for GNU $ac_path_EGREP
4818 case `"$ac_path_EGREP" --version 2>&1` in
4819 *GNU*)
4820   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4821 *)
4822   ac_count=0
4823   $as_echo_n 0123456789 >"conftest.in"
4824   while :
4825   do
4826     cat "conftest.in" "conftest.in" >"conftest.tmp"
4827     mv "conftest.tmp" "conftest.in"
4828     cp "conftest.in" "conftest.nl"
4829     $as_echo 'EGREP' >> "conftest.nl"
4830     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4831     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4832     as_fn_arith $ac_count + 1 && ac_count=$as_val
4833     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4834       # Best one so far, save it but keep looking for a better one
4835       ac_cv_path_EGREP="$ac_path_EGREP"
4836       ac_path_EGREP_max=$ac_count
4837     fi
4838     # 10*(2^10) chars as input seems more than enough
4839     test $ac_count -gt 10 && break
4840   done
4841   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4842 esac
4843
4844       $ac_path_EGREP_found && break 3
4845     done
4846   done
4847   done
4848 IFS=$as_save_IFS
4849   if test -z "$ac_cv_path_EGREP"; then
4850     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4851   fi
4852 else
4853   ac_cv_path_EGREP=$EGREP
4854 fi
4855
4856    fi
4857 fi
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4859 $as_echo "$ac_cv_path_EGREP" >&6; }
4860  EGREP="$ac_cv_path_EGREP"
4861
4862
4863
4864   # Keep these sync'd with the list in Makefile.am.  The first provides an
4865   # expandable list at autoconf time; the second provides an expandable list
4866   # (i.e., shell variable) at configure time.
4867
4868   SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4869
4870   # These need to be absolute paths, yet at the same time need to
4871   # canonicalize only relative paths, because then amd will not unmount
4872   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4873   glibcxx_builddir=`${PWDCMD-pwd}`
4874   case $srcdir in
4875     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4876     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4877   esac
4878   toplevel_builddir=${glibcxx_builddir}/..
4879   toplevel_srcdir=${glibcxx_srcdir}/..
4880
4881
4882
4883
4884
4885   # We use these options to decide which functions to include.  They are
4886   # set from the top level.
4887
4888 # Check whether --with-target-subdir was given.
4889 if test "${with_target_subdir+set}" = set; then :
4890   withval=$with_target_subdir;
4891 fi
4892
4893
4894
4895 # Check whether --with-cross-host was given.
4896 if test "${with_cross_host+set}" = set; then :
4897   withval=$with_cross_host;
4898 fi
4899
4900
4901
4902 # Check whether --with-newlib was given.
4903 if test "${with_newlib+set}" = set; then :
4904   withval=$with_newlib;
4905 fi
4906
4907
4908   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4909   # available).  Uncomment the next line to force a particular method.
4910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4911 $as_echo_n "checking whether ln -s works... " >&6; }
4912 LN_S=$as_ln_s
4913 if test "$LN_S" = "ln -s"; then
4914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4915 $as_echo "yes" >&6; }
4916 else
4917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4918 $as_echo "no, using $LN_S" >&6; }
4919 fi
4920
4921   #LN_S='cp -p'
4922
4923   if test -n "$ac_tool_prefix"; then
4924   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4925 set dummy ${ac_tool_prefix}as; ac_word=$2
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if test "${ac_cv_prog_AS+set}" = set; then :
4929   $as_echo_n "(cached) " >&6
4930 else
4931   if test -n "$AS"; then
4932   ac_cv_prog_AS="$AS" # Let the user override the test.
4933 else
4934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935 for as_dir in $PATH
4936 do
4937   IFS=$as_save_IFS
4938   test -z "$as_dir" && as_dir=.
4939     for ac_exec_ext in '' $ac_executable_extensions; do
4940   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4941     ac_cv_prog_AS="${ac_tool_prefix}as"
4942     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4943     break 2
4944   fi
4945 done
4946   done
4947 IFS=$as_save_IFS
4948
4949 fi
4950 fi
4951 AS=$ac_cv_prog_AS
4952 if test -n "$AS"; then
4953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4954 $as_echo "$AS" >&6; }
4955 else
4956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4958 fi
4959
4960
4961 fi
4962 if test -z "$ac_cv_prog_AS"; then
4963   ac_ct_AS=$AS
4964   # Extract the first word of "as", so it can be a program name with args.
4965 set dummy as; ac_word=$2
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4967 $as_echo_n "checking for $ac_word... " >&6; }
4968 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4969   $as_echo_n "(cached) " >&6
4970 else
4971   if test -n "$ac_ct_AS"; then
4972   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4973 else
4974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4975 for as_dir in $PATH
4976 do
4977   IFS=$as_save_IFS
4978   test -z "$as_dir" && as_dir=.
4979     for ac_exec_ext in '' $ac_executable_extensions; do
4980   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4981     ac_cv_prog_ac_ct_AS="as"
4982     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4983     break 2
4984   fi
4985 done
4986   done
4987 IFS=$as_save_IFS
4988
4989 fi
4990 fi
4991 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4992 if test -n "$ac_ct_AS"; then
4993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4994 $as_echo "$ac_ct_AS" >&6; }
4995 else
4996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4997 $as_echo "no" >&6; }
4998 fi
4999
5000   if test "x$ac_ct_AS" = x; then
5001     AS=""
5002   else
5003     case $cross_compiling:$ac_tool_warned in
5004 yes:)
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5007 ac_tool_warned=yes ;;
5008 esac
5009     AS=$ac_ct_AS
5010   fi
5011 else
5012   AS="$ac_cv_prog_AS"
5013 fi
5014
5015   if test -n "$ac_tool_prefix"; then
5016   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5017 set dummy ${ac_tool_prefix}ar; ac_word=$2
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 $as_echo_n "checking for $ac_word... " >&6; }
5020 if test "${ac_cv_prog_AR+set}" = set; then :
5021   $as_echo_n "(cached) " >&6
5022 else
5023   if test -n "$AR"; then
5024   ac_cv_prog_AR="$AR" # Let the user override the test.
5025 else
5026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5027 for as_dir in $PATH
5028 do
5029   IFS=$as_save_IFS
5030   test -z "$as_dir" && as_dir=.
5031     for ac_exec_ext in '' $ac_executable_extensions; do
5032   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5033     ac_cv_prog_AR="${ac_tool_prefix}ar"
5034     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5035     break 2
5036   fi
5037 done
5038   done
5039 IFS=$as_save_IFS
5040
5041 fi
5042 fi
5043 AR=$ac_cv_prog_AR
5044 if test -n "$AR"; then
5045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5046 $as_echo "$AR" >&6; }
5047 else
5048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 $as_echo "no" >&6; }
5050 fi
5051
5052
5053 fi
5054 if test -z "$ac_cv_prog_AR"; then
5055   ac_ct_AR=$AR
5056   # Extract the first word of "ar", so it can be a program name with args.
5057 set dummy ar; ac_word=$2
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5059 $as_echo_n "checking for $ac_word... " >&6; }
5060 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5061   $as_echo_n "(cached) " >&6
5062 else
5063   if test -n "$ac_ct_AR"; then
5064   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5065 else
5066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5067 for as_dir in $PATH
5068 do
5069   IFS=$as_save_IFS
5070   test -z "$as_dir" && as_dir=.
5071     for ac_exec_ext in '' $ac_executable_extensions; do
5072   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5073     ac_cv_prog_ac_ct_AR="ar"
5074     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5075     break 2
5076   fi
5077 done
5078   done
5079 IFS=$as_save_IFS
5080
5081 fi
5082 fi
5083 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5084 if test -n "$ac_ct_AR"; then
5085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5086 $as_echo "$ac_ct_AR" >&6; }
5087 else
5088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5089 $as_echo "no" >&6; }
5090 fi
5091
5092   if test "x$ac_ct_AR" = x; then
5093     AR=""
5094   else
5095     case $cross_compiling:$ac_tool_warned in
5096 yes:)
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5099 ac_tool_warned=yes ;;
5100 esac
5101     AR=$ac_ct_AR
5102   fi
5103 else
5104   AR="$ac_cv_prog_AR"
5105 fi
5106
5107   if test -n "$ac_tool_prefix"; then
5108   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5109 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5111 $as_echo_n "checking for $ac_word... " >&6; }
5112 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5113   $as_echo_n "(cached) " >&6
5114 else
5115   if test -n "$RANLIB"; then
5116   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5117 else
5118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 for as_dir in $PATH
5120 do
5121   IFS=$as_save_IFS
5122   test -z "$as_dir" && as_dir=.
5123     for ac_exec_ext in '' $ac_executable_extensions; do
5124   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5125     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5126     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5127     break 2
5128   fi
5129 done
5130   done
5131 IFS=$as_save_IFS
5132
5133 fi
5134 fi
5135 RANLIB=$ac_cv_prog_RANLIB
5136 if test -n "$RANLIB"; then
5137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5138 $as_echo "$RANLIB" >&6; }
5139 else
5140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5141 $as_echo "no" >&6; }
5142 fi
5143
5144
5145 fi
5146 if test -z "$ac_cv_prog_RANLIB"; then
5147   ac_ct_RANLIB=$RANLIB
5148   # Extract the first word of "ranlib", so it can be a program name with args.
5149 set dummy ranlib; ac_word=$2
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5151 $as_echo_n "checking for $ac_word... " >&6; }
5152 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5153   $as_echo_n "(cached) " >&6
5154 else
5155   if test -n "$ac_ct_RANLIB"; then
5156   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5157 else
5158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5159 for as_dir in $PATH
5160 do
5161   IFS=$as_save_IFS
5162   test -z "$as_dir" && as_dir=.
5163     for ac_exec_ext in '' $ac_executable_extensions; do
5164   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5165     ac_cv_prog_ac_ct_RANLIB="ranlib"
5166     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5167     break 2
5168   fi
5169 done
5170   done
5171 IFS=$as_save_IFS
5172
5173 fi
5174 fi
5175 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5176 if test -n "$ac_ct_RANLIB"; then
5177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5178 $as_echo "$ac_ct_RANLIB" >&6; }
5179 else
5180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5181 $as_echo "no" >&6; }
5182 fi
5183
5184   if test "x$ac_ct_RANLIB" = x; then
5185     RANLIB="ranlib-not-found-in-path-error"
5186   else
5187     case $cross_compiling:$ac_tool_warned in
5188 yes:)
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5191 ac_tool_warned=yes ;;
5192 esac
5193     RANLIB=$ac_ct_RANLIB
5194   fi
5195 else
5196   RANLIB="$ac_cv_prog_RANLIB"
5197 fi
5198
5199
5200
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5202 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5203     # Check whether --enable-maintainer-mode was given.
5204 if test "${enable_maintainer_mode+set}" = set; then :
5205   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5206 else
5207   USE_MAINTAINER_MODE=no
5208 fi
5209
5210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5211 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5212    if test $USE_MAINTAINER_MODE = yes; then
5213   MAINTAINER_MODE_TRUE=
5214   MAINTAINER_MODE_FALSE='#'
5215 else
5216   MAINTAINER_MODE_TRUE='#'
5217   MAINTAINER_MODE_FALSE=
5218 fi
5219
5220   MAINT=$MAINTAINER_MODE_TRUE
5221
5222
5223
5224   # Set up safe default values for all subsequent AM_CONDITIONAL tests
5225   # which are themselves conditionally expanded.
5226   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5227   ## other macros from doing the same.  This should be automated.)  -pme
5228
5229   # Check for C library flavor since GNU/Linux platforms use different
5230   # configuration directories depending on the C library in use.
5231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5232 /* end confdefs.h.  */
5233
5234   #include <stdio.h>
5235   #if __UCLIBC__
5236     _using_uclibc
5237   #endif
5238
5239 _ACEOF
5240 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5241   $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5242   uclibc=yes
5243 else
5244   uclibc=no
5245 fi
5246 rm -f conftest*
5247
5248
5249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5250 /* end confdefs.h.  */
5251
5252   #include <stdio.h>
5253   #if __BIONIC__
5254     _using_bionic
5255   #endif
5256
5257 _ACEOF
5258 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5259   $EGREP "_using_bionic" >/dev/null 2>&1; then :
5260   bionic=yes
5261 else
5262   bionic=no
5263 fi
5264 rm -f conftest*
5265
5266
5267   # Find platform-specific directories containing configuration info.
5268   # Also possibly modify flags used elsewhere, as needed by the platform.
5269
5270   . $glibcxx_srcdir/configure.host
5271   { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5272 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5273   { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5274 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5275
5276
5277
5278 if test "x${with_newlib}" != "xyes"; then
5279   enable_dlopen=yes
5280
5281
5282
5283 fi
5284 case `pwd` in
5285   *\ * | *\     *)
5286     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5287 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5288 esac
5289
5290
5291
5292 macro_version='2.2.7a'
5293 macro_revision='1.3134'
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307 ltmain="$ac_aux_dir/ltmain.sh"
5308
5309 # Backslashify metacharacters that are still active within
5310 # double-quoted strings.
5311 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5312
5313 # Same as above, but do not quote variable references.
5314 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5315
5316 # Sed substitution to delay expansion of an escaped shell variable in a
5317 # double_quote_subst'ed string.
5318 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5319
5320 # Sed substitution to delay expansion of an escaped single quote.
5321 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5322
5323 # Sed substitution to avoid accidental globbing in evaled expressions
5324 no_glob_subst='s/\*/\\\*/g'
5325
5326 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5327 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5328 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5329
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5331 $as_echo_n "checking how to print strings... " >&6; }
5332 # Test print first, because it will be a builtin if present.
5333 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5334    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5335   ECHO='print -r --'
5336 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5337   ECHO='printf %s\n'
5338 else
5339   # Use this function as a fallback that always works.
5340   func_fallback_echo ()
5341   {
5342     eval 'cat <<_LTECHO_EOF
5343 $1
5344 _LTECHO_EOF'
5345   }
5346   ECHO='func_fallback_echo'
5347 fi
5348
5349 # func_echo_all arg...
5350 # Invoke $ECHO with all args, space-separated.
5351 func_echo_all ()
5352 {
5353     $ECHO ""
5354 }
5355
5356 case "$ECHO" in
5357   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5358 $as_echo "printf" >&6; } ;;
5359   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5360 $as_echo "print -r" >&6; } ;;
5361   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5362 $as_echo "cat" >&6; } ;;
5363 esac
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5379 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5380 if test "${ac_cv_path_SED+set}" = set; then :
5381   $as_echo_n "(cached) " >&6
5382 else
5383             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5384      for ac_i in 1 2 3 4 5 6 7; do
5385        ac_script="$ac_script$as_nl$ac_script"
5386      done
5387      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5388      { ac_script=; unset ac_script;}
5389      if test -z "$SED"; then
5390   ac_path_SED_found=false
5391   # Loop through the user's path and test for each of PROGNAME-LIST
5392   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5393 for as_dir in $PATH
5394 do
5395   IFS=$as_save_IFS
5396   test -z "$as_dir" && as_dir=.
5397     for ac_prog in sed gsed; do
5398     for ac_exec_ext in '' $ac_executable_extensions; do
5399       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5400       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5401 # Check for GNU ac_path_SED and select it if it is found.
5402   # Check for GNU $ac_path_SED
5403 case `"$ac_path_SED" --version 2>&1` in
5404 *GNU*)
5405   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5406 *)
5407   ac_count=0
5408   $as_echo_n 0123456789 >"conftest.in"
5409   while :
5410   do
5411     cat "conftest.in" "conftest.in" >"conftest.tmp"
5412     mv "conftest.tmp" "conftest.in"
5413     cp "conftest.in" "conftest.nl"
5414     $as_echo '' >> "conftest.nl"
5415     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5416     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5417     as_fn_arith $ac_count + 1 && ac_count=$as_val
5418     if test $ac_count -gt ${ac_path_SED_max-0}; then
5419       # Best one so far, save it but keep looking for a better one
5420       ac_cv_path_SED="$ac_path_SED"
5421       ac_path_SED_max=$ac_count
5422     fi
5423     # 10*(2^10) chars as input seems more than enough
5424     test $ac_count -gt 10 && break
5425   done
5426   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5427 esac
5428
5429       $ac_path_SED_found && break 3
5430     done
5431   done
5432   done
5433 IFS=$as_save_IFS
5434   if test -z "$ac_cv_path_SED"; then
5435     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5436   fi
5437 else
5438   ac_cv_path_SED=$SED
5439 fi
5440
5441 fi
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5443 $as_echo "$ac_cv_path_SED" >&6; }
5444  SED="$ac_cv_path_SED"
5445   rm -f conftest.sed
5446
5447 test -z "$SED" && SED=sed
5448 Xsed="$SED -e 1s/^X//"
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5461 $as_echo_n "checking for fgrep... " >&6; }
5462 if test "${ac_cv_path_FGREP+set}" = set; then :
5463   $as_echo_n "(cached) " >&6
5464 else
5465   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5466    then ac_cv_path_FGREP="$GREP -F"
5467    else
5468      if test -z "$FGREP"; then
5469   ac_path_FGREP_found=false
5470   # Loop through the user's path and test for each of PROGNAME-LIST
5471   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5473 do
5474   IFS=$as_save_IFS
5475   test -z "$as_dir" && as_dir=.
5476     for ac_prog in fgrep; do
5477     for ac_exec_ext in '' $ac_executable_extensions; do
5478       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5479       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5480 # Check for GNU ac_path_FGREP and select it if it is found.
5481   # Check for GNU $ac_path_FGREP
5482 case `"$ac_path_FGREP" --version 2>&1` in
5483 *GNU*)
5484   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5485 *)
5486   ac_count=0
5487   $as_echo_n 0123456789 >"conftest.in"
5488   while :
5489   do
5490     cat "conftest.in" "conftest.in" >"conftest.tmp"
5491     mv "conftest.tmp" "conftest.in"
5492     cp "conftest.in" "conftest.nl"
5493     $as_echo 'FGREP' >> "conftest.nl"
5494     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5495     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5496     as_fn_arith $ac_count + 1 && ac_count=$as_val
5497     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5498       # Best one so far, save it but keep looking for a better one
5499       ac_cv_path_FGREP="$ac_path_FGREP"
5500       ac_path_FGREP_max=$ac_count
5501     fi
5502     # 10*(2^10) chars as input seems more than enough
5503     test $ac_count -gt 10 && break
5504   done
5505   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5506 esac
5507
5508       $ac_path_FGREP_found && break 3
5509     done
5510   done
5511   done
5512 IFS=$as_save_IFS
5513   if test -z "$ac_cv_path_FGREP"; then
5514     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5515   fi
5516 else
5517   ac_cv_path_FGREP=$FGREP
5518 fi
5519
5520    fi
5521 fi
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5523 $as_echo "$ac_cv_path_FGREP" >&6; }
5524  FGREP="$ac_cv_path_FGREP"
5525
5526
5527 test -z "$GREP" && GREP=grep
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547 # Check whether --with-gnu-ld was given.
5548 if test "${with_gnu_ld+set}" = set; then :
5549   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5550 else
5551   with_gnu_ld=no
5552 fi
5553
5554 ac_prog=ld
5555 if test "$GCC" = yes; then
5556   # Check if gcc -print-prog-name=ld gives a path.
5557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5558 $as_echo_n "checking for ld used by $CC... " >&6; }
5559   case $host in
5560   *-*-mingw*)
5561     # gcc leaves a trailing carriage return which upsets mingw
5562     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5563   *)
5564     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5565   esac
5566   case $ac_prog in
5567     # Accept absolute paths.
5568     [\\/]* | ?:[\\/]*)
5569       re_direlt='/[^/][^/]*/\.\./'
5570       # Canonicalize the pathname of ld
5571       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5572       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5573         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5574       done
5575       test -z "$LD" && LD="$ac_prog"
5576       ;;
5577   "")
5578     # If it fails, then pretend we aren't using GCC.
5579     ac_prog=ld
5580     ;;
5581   *)
5582     # If it is relative, then search for the first ld in PATH.
5583     with_gnu_ld=unknown
5584     ;;
5585   esac
5586 elif test "$with_gnu_ld" = yes; then
5587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5588 $as_echo_n "checking for GNU ld... " >&6; }
5589 else
5590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5591 $as_echo_n "checking for non-GNU ld... " >&6; }
5592 fi
5593 if test "${lt_cv_path_LD+set}" = set; then :
5594   $as_echo_n "(cached) " >&6
5595 else
5596   if test -z "$LD"; then
5597   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5598   for ac_dir in $PATH; do
5599     IFS="$lt_save_ifs"
5600     test -z "$ac_dir" && ac_dir=.
5601     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5602       lt_cv_path_LD="$ac_dir/$ac_prog"
5603       # Check to see if the program is GNU ld.  I'd rather use --version,
5604       # but apparently some variants of GNU ld only accept -v.
5605       # Break only if it was the GNU/non-GNU ld that we prefer.
5606       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5607       *GNU* | *'with BFD'*)
5608         test "$with_gnu_ld" != no && break
5609         ;;
5610       *)
5611         test "$with_gnu_ld" != yes && break
5612         ;;
5613       esac
5614     fi
5615   done
5616   IFS="$lt_save_ifs"
5617 else
5618   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5619 fi
5620 fi
5621
5622 LD="$lt_cv_path_LD"
5623 if test -n "$LD"; then
5624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5625 $as_echo "$LD" >&6; }
5626 else
5627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5628 $as_echo "no" >&6; }
5629 fi
5630 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5632 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5633 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5634   $as_echo_n "(cached) " >&6
5635 else
5636   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5637 case `$LD -v 2>&1 </dev/null` in
5638 *GNU* | *'with BFD'*)
5639   lt_cv_prog_gnu_ld=yes
5640   ;;
5641 *)
5642   lt_cv_prog_gnu_ld=no
5643   ;;
5644 esac
5645 fi
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5647 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5648 with_gnu_ld=$lt_cv_prog_gnu_ld
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5659 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5660 if test "${lt_cv_path_NM+set}" = set; then :
5661   $as_echo_n "(cached) " >&6
5662 else
5663   if test -n "$NM"; then
5664   # Let the user override the test.
5665   lt_cv_path_NM="$NM"
5666 else
5667   lt_nm_to_check="${ac_tool_prefix}nm"
5668   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5669     lt_nm_to_check="$lt_nm_to_check nm"
5670   fi
5671   for lt_tmp_nm in $lt_nm_to_check; do
5672     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5673     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5674       IFS="$lt_save_ifs"
5675       test -z "$ac_dir" && ac_dir=.
5676       tmp_nm="$ac_dir/$lt_tmp_nm"
5677       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5678         # Check to see if the nm accepts a BSD-compat flag.
5679         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5680         #   nm: unknown option "B" ignored
5681         # Tru64's nm complains that /dev/null is an invalid object file
5682         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5683         */dev/null* | *'Invalid file or object type'*)
5684           lt_cv_path_NM="$tmp_nm -B"
5685           break
5686           ;;
5687         *)
5688           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5689           */dev/null*)
5690             lt_cv_path_NM="$tmp_nm -p"
5691             break
5692             ;;
5693           *)
5694             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5695             continue # so that we can try to find one that supports BSD flags
5696             ;;
5697           esac
5698           ;;
5699         esac
5700       fi
5701     done
5702     IFS="$lt_save_ifs"
5703   done
5704   : ${lt_cv_path_NM=no}
5705 fi
5706 fi
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5708 $as_echo "$lt_cv_path_NM" >&6; }
5709 if test "$lt_cv_path_NM" != "no"; then
5710   NM="$lt_cv_path_NM"
5711 else
5712   # Didn't find any BSD compatible name lister, look for dumpbin.
5713   if test -n "$DUMPBIN"; then :
5714     # Let the user override the test.
5715   else
5716     if test -n "$ac_tool_prefix"; then
5717   for ac_prog in dumpbin "link -dump"
5718   do
5719     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5720 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5722 $as_echo_n "checking for $ac_word... " >&6; }
5723 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5724   $as_echo_n "(cached) " >&6
5725 else
5726   if test -n "$DUMPBIN"; then
5727   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5728 else
5729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5730 for as_dir in $PATH
5731 do
5732   IFS=$as_save_IFS
5733   test -z "$as_dir" && as_dir=.
5734     for ac_exec_ext in '' $ac_executable_extensions; do
5735   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5736     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5737     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5738     break 2
5739   fi
5740 done
5741   done
5742 IFS=$as_save_IFS
5743
5744 fi
5745 fi
5746 DUMPBIN=$ac_cv_prog_DUMPBIN
5747 if test -n "$DUMPBIN"; then
5748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5749 $as_echo "$DUMPBIN" >&6; }
5750 else
5751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5752 $as_echo "no" >&6; }
5753 fi
5754
5755
5756     test -n "$DUMPBIN" && break
5757   done
5758 fi
5759 if test -z "$DUMPBIN"; then
5760   ac_ct_DUMPBIN=$DUMPBIN
5761   for ac_prog in dumpbin "link -dump"
5762 do
5763   # Extract the first word of "$ac_prog", so it can be a program name with args.
5764 set dummy $ac_prog; ac_word=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5768   $as_echo_n "(cached) " >&6
5769 else
5770   if test -n "$ac_ct_DUMPBIN"; then
5771   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5772 else
5773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5774 for as_dir in $PATH
5775 do
5776   IFS=$as_save_IFS
5777   test -z "$as_dir" && as_dir=.
5778     for ac_exec_ext in '' $ac_executable_extensions; do
5779   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5780     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5781     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5782     break 2
5783   fi
5784 done
5785   done
5786 IFS=$as_save_IFS
5787
5788 fi
5789 fi
5790 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5791 if test -n "$ac_ct_DUMPBIN"; then
5792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5793 $as_echo "$ac_ct_DUMPBIN" >&6; }
5794 else
5795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5797 fi
5798
5799
5800   test -n "$ac_ct_DUMPBIN" && break
5801 done
5802
5803   if test "x$ac_ct_DUMPBIN" = x; then
5804     DUMPBIN=":"
5805   else
5806     case $cross_compiling:$ac_tool_warned in
5807 yes:)
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5810 ac_tool_warned=yes ;;
5811 esac
5812     DUMPBIN=$ac_ct_DUMPBIN
5813   fi
5814 fi
5815
5816     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5817     *COFF*)
5818       DUMPBIN="$DUMPBIN -symbols"
5819       ;;
5820     *)
5821       DUMPBIN=:
5822       ;;
5823     esac
5824   fi
5825
5826   if test "$DUMPBIN" != ":"; then
5827     NM="$DUMPBIN"
5828   fi
5829 fi
5830 test -z "$NM" && NM=nm
5831
5832
5833
5834
5835
5836
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5838 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5839 if test "${lt_cv_nm_interface+set}" = set; then :
5840   $as_echo_n "(cached) " >&6
5841 else
5842   lt_cv_nm_interface="BSD nm"
5843   echo "int some_variable = 0;" > conftest.$ac_ext
5844   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5845   (eval "$ac_compile" 2>conftest.err)
5846   cat conftest.err >&5
5847   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5848   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5849   cat conftest.err >&5
5850   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5851   cat conftest.out >&5
5852   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5853     lt_cv_nm_interface="MS dumpbin"
5854   fi
5855   rm -f conftest*
5856 fi
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5858 $as_echo "$lt_cv_nm_interface" >&6; }
5859
5860 # find the maximum length of command line arguments
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5862 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5863 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5864   $as_echo_n "(cached) " >&6
5865 else
5866     i=0
5867   teststring="ABCD"
5868
5869   case $build_os in
5870   msdosdjgpp*)
5871     # On DJGPP, this test can blow up pretty badly due to problems in libc
5872     # (any single argument exceeding 2000 bytes causes a buffer overrun
5873     # during glob expansion).  Even if it were fixed, the result of this
5874     # check would be larger than it should be.
5875     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5876     ;;
5877
5878   gnu*)
5879     # Under GNU Hurd, this test is not required because there is
5880     # no limit to the length of command line arguments.
5881     # Libtool will interpret -1 as no limit whatsoever
5882     lt_cv_sys_max_cmd_len=-1;
5883     ;;
5884
5885   cygwin* | mingw* | cegcc*)
5886     # On Win9x/ME, this test blows up -- it succeeds, but takes
5887     # about 5 minutes as the teststring grows exponentially.
5888     # Worse, since 9x/ME are not pre-emptively multitasking,
5889     # you end up with a "frozen" computer, even though with patience
5890     # the test eventually succeeds (with a max line length of 256k).
5891     # Instead, let's just punt: use the minimum linelength reported by
5892     # all of the supported platforms: 8192 (on NT/2K/XP).
5893     lt_cv_sys_max_cmd_len=8192;
5894     ;;
5895
5896   mint*)
5897     # On MiNT this can take a long time and run out of memory.
5898     lt_cv_sys_max_cmd_len=8192;
5899     ;;
5900
5901   amigaos*)
5902     # On AmigaOS with pdksh, this test takes hours, literally.
5903     # So we just punt and use a minimum line length of 8192.
5904     lt_cv_sys_max_cmd_len=8192;
5905     ;;
5906
5907   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5908     # This has been around since 386BSD, at least.  Likely further.
5909     if test -x /sbin/sysctl; then
5910       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5911     elif test -x /usr/sbin/sysctl; then
5912       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5913     else
5914       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5915     fi
5916     # And add a safety zone
5917     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5918     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5919     ;;
5920
5921   interix*)
5922     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5923     lt_cv_sys_max_cmd_len=196608
5924     ;;
5925
5926   osf*)
5927     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5928     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5929     # nice to cause kernel panics so lets avoid the loop below.
5930     # First set a reasonable default.
5931     lt_cv_sys_max_cmd_len=16384
5932     #
5933     if test -x /sbin/sysconfig; then
5934       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5935         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5936       esac
5937     fi
5938     ;;
5939   sco3.2v5*)
5940     lt_cv_sys_max_cmd_len=102400
5941     ;;
5942   sysv5* | sco5v6* | sysv4.2uw2*)
5943     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5944     if test -n "$kargmax"; then
5945       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5946     else
5947       lt_cv_sys_max_cmd_len=32768
5948     fi
5949     ;;
5950   *)
5951     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5952     if test -n "$lt_cv_sys_max_cmd_len"; then
5953       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5954       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5955     else
5956       # Make teststring a little bigger before we do anything with it.
5957       # a 1K string should be a reasonable start.
5958       for i in 1 2 3 4 5 6 7 8 ; do
5959         teststring=$teststring$teststring
5960       done
5961       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5962       # If test is not a shell built-in, we'll probably end up computing a
5963       # maximum length that is only half of the actual maximum length, but
5964       # we can't tell.
5965       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5966                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5967               test $i != 17 # 1/2 MB should be enough
5968       do
5969         i=`expr $i + 1`
5970         teststring=$teststring$teststring
5971       done
5972       # Only check the string length outside the loop.
5973       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5974       teststring=
5975       # Add a significant safety factor because C++ compilers can tack on
5976       # massive amounts of additional arguments before passing them to the
5977       # linker.  It appears as though 1/2 is a usable value.
5978       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5979     fi
5980     ;;
5981   esac
5982
5983 fi
5984
5985 if test -n $lt_cv_sys_max_cmd_len ; then
5986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5987 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5988 else
5989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5990 $as_echo "none" >&6; }
5991 fi
5992 max_cmd_len=$lt_cv_sys_max_cmd_len
5993
5994
5995
5996
5997
5998
5999 : ${CP="cp -f"}
6000 : ${MV="mv -f"}
6001 : ${RM="rm -f"}
6002
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6004 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6005 # Try some XSI features
6006 xsi_shell=no
6007 ( _lt_dummy="a/b/c"
6008   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6009       = c,a/b,, \
6010     && eval 'test $(( 1 + 1 )) -eq 2 \
6011     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6012   && xsi_shell=yes
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6014 $as_echo "$xsi_shell" >&6; }
6015
6016
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6018 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6019 lt_shell_append=no
6020 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6021     >/dev/null 2>&1 \
6022   && lt_shell_append=yes
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6024 $as_echo "$lt_shell_append" >&6; }
6025
6026
6027 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6028   lt_unset=unset
6029 else
6030   lt_unset=false
6031 fi
6032
6033
6034
6035
6036
6037 # test EBCDIC or ASCII
6038 case `echo X|tr X '\101'` in
6039  A) # ASCII based system
6040     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6041   lt_SP2NL='tr \040 \012'
6042   lt_NL2SP='tr \015\012 \040\040'
6043   ;;
6044  *) # EBCDIC based system
6045   lt_SP2NL='tr \100 \n'
6046   lt_NL2SP='tr \r\n \100\100'
6047   ;;
6048 esac
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6059 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6060 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6061   $as_echo_n "(cached) " >&6
6062 else
6063   lt_cv_ld_reload_flag='-r'
6064 fi
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6066 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6067 reload_flag=$lt_cv_ld_reload_flag
6068 case $reload_flag in
6069 "" | " "*) ;;
6070 *) reload_flag=" $reload_flag" ;;
6071 esac
6072 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6073 case $host_os in
6074   darwin*)
6075     if test "$GCC" = yes; then
6076       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6077     else
6078       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6079     fi
6080     ;;
6081 esac
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091 if test -n "$ac_tool_prefix"; then
6092   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6093 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6095 $as_echo_n "checking for $ac_word... " >&6; }
6096 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6097   $as_echo_n "(cached) " >&6
6098 else
6099   if test -n "$OBJDUMP"; then
6100   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6101 else
6102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6103 for as_dir in $PATH
6104 do
6105   IFS=$as_save_IFS
6106   test -z "$as_dir" && as_dir=.
6107     for ac_exec_ext in '' $ac_executable_extensions; do
6108   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6109     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6110     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6111     break 2
6112   fi
6113 done
6114   done
6115 IFS=$as_save_IFS
6116
6117 fi
6118 fi
6119 OBJDUMP=$ac_cv_prog_OBJDUMP
6120 if test -n "$OBJDUMP"; then
6121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6122 $as_echo "$OBJDUMP" >&6; }
6123 else
6124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6125 $as_echo "no" >&6; }
6126 fi
6127
6128
6129 fi
6130 if test -z "$ac_cv_prog_OBJDUMP"; then
6131   ac_ct_OBJDUMP=$OBJDUMP
6132   # Extract the first word of "objdump", so it can be a program name with args.
6133 set dummy objdump; ac_word=$2
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6135 $as_echo_n "checking for $ac_word... " >&6; }
6136 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6137   $as_echo_n "(cached) " >&6
6138 else
6139   if test -n "$ac_ct_OBJDUMP"; then
6140   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6141 else
6142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6143 for as_dir in $PATH
6144 do
6145   IFS=$as_save_IFS
6146   test -z "$as_dir" && as_dir=.
6147     for ac_exec_ext in '' $ac_executable_extensions; do
6148   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6149     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6150     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6151     break 2
6152   fi
6153 done
6154   done
6155 IFS=$as_save_IFS
6156
6157 fi
6158 fi
6159 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6160 if test -n "$ac_ct_OBJDUMP"; then
6161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6162 $as_echo "$ac_ct_OBJDUMP" >&6; }
6163 else
6164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6165 $as_echo "no" >&6; }
6166 fi
6167
6168   if test "x$ac_ct_OBJDUMP" = x; then
6169     OBJDUMP="false"
6170   else
6171     case $cross_compiling:$ac_tool_warned in
6172 yes:)
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6175 ac_tool_warned=yes ;;
6176 esac
6177     OBJDUMP=$ac_ct_OBJDUMP
6178   fi
6179 else
6180   OBJDUMP="$ac_cv_prog_OBJDUMP"
6181 fi
6182
6183 test -z "$OBJDUMP" && OBJDUMP=objdump
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6194 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6195 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6196   $as_echo_n "(cached) " >&6
6197 else
6198   lt_cv_file_magic_cmd='$MAGIC_CMD'
6199 lt_cv_file_magic_test_file=
6200 lt_cv_deplibs_check_method='unknown'
6201 # Need to set the preceding variable on all platforms that support
6202 # interlibrary dependencies.
6203 # 'none' -- dependencies not supported.
6204 # `unknown' -- same as none, but documents that we really don't know.
6205 # 'pass_all' -- all dependencies passed with no checks.
6206 # 'test_compile' -- check by making test program.
6207 # 'file_magic [[regex]]' -- check by looking for files in library path
6208 # which responds to the $file_magic_cmd with a given extended regex.
6209 # If you have `file' or equivalent on your system and you're not sure
6210 # whether `pass_all' will *always* work, you probably want this one.
6211
6212 case $host_os in
6213 aix[4-9]*)
6214   lt_cv_deplibs_check_method=pass_all
6215   ;;
6216
6217 beos*)
6218   lt_cv_deplibs_check_method=pass_all
6219   ;;
6220
6221 bsdi[45]*)
6222   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6223   lt_cv_file_magic_cmd='/usr/bin/file -L'
6224   lt_cv_file_magic_test_file=/shlib/libc.so
6225   ;;
6226
6227 cygwin*)
6228   # func_win32_libid is a shell function defined in ltmain.sh
6229   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6230   lt_cv_file_magic_cmd='func_win32_libid'
6231   ;;
6232
6233 mingw* | pw32*)
6234   # Base MSYS/MinGW do not provide the 'file' command needed by
6235   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6236   # unless we find 'file', for example because we are cross-compiling.
6237   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6238   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6239     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6240     lt_cv_file_magic_cmd='func_win32_libid'
6241   else
6242     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6243     lt_cv_file_magic_cmd='$OBJDUMP -f'
6244   fi
6245   ;;
6246
6247 cegcc*)
6248   # use the weaker test based on 'objdump'. See mingw*.
6249   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6250   lt_cv_file_magic_cmd='$OBJDUMP -f'
6251   ;;
6252
6253 darwin* | rhapsody*)
6254   lt_cv_deplibs_check_method=pass_all
6255   ;;
6256
6257 freebsd* | dragonfly*)
6258   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6259     case $host_cpu in
6260     i*86 )
6261       # Not sure whether the presence of OpenBSD here was a mistake.
6262       # Let's accept both of them until this is cleared up.
6263       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6264       lt_cv_file_magic_cmd=/usr/bin/file
6265       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6266       ;;
6267     esac
6268   else
6269     lt_cv_deplibs_check_method=pass_all
6270   fi
6271   ;;
6272
6273 gnu*)
6274   lt_cv_deplibs_check_method=pass_all
6275   ;;
6276
6277 haiku*)
6278   lt_cv_deplibs_check_method=pass_all
6279   ;;
6280
6281 hpux10.20* | hpux11*)
6282   lt_cv_file_magic_cmd=/usr/bin/file
6283   case $host_cpu in
6284   ia64*)
6285     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6286     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6287     ;;
6288   hppa*64*)
6289     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]'
6290     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6291     ;;
6292   *)
6293     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6294     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6295     ;;
6296   esac
6297   ;;
6298
6299 interix[3-9]*)
6300   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6301   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6302   ;;
6303
6304 irix5* | irix6* | nonstopux*)
6305   case $LD in
6306   *-32|*"-32 ") libmagic=32-bit;;
6307   *-n32|*"-n32 ") libmagic=N32;;
6308   *-64|*"-64 ") libmagic=64-bit;;
6309   *) libmagic=never-match;;
6310   esac
6311   lt_cv_deplibs_check_method=pass_all
6312   ;;
6313
6314 # This must be Linux ELF.
6315 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6316   lt_cv_deplibs_check_method=pass_all
6317   ;;
6318
6319 netbsd*)
6320   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6321     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6322   else
6323     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6324   fi
6325   ;;
6326
6327 newos6*)
6328   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6329   lt_cv_file_magic_cmd=/usr/bin/file
6330   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6331   ;;
6332
6333 *nto* | *qnx*)
6334   lt_cv_deplibs_check_method=pass_all
6335   ;;
6336
6337 openbsd*)
6338   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6339     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6340   else
6341     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6342   fi
6343   ;;
6344
6345 osf3* | osf4* | osf5*)
6346   lt_cv_deplibs_check_method=pass_all
6347   ;;
6348
6349 rdos*)
6350   lt_cv_deplibs_check_method=pass_all
6351   ;;
6352
6353 solaris*)
6354   lt_cv_deplibs_check_method=pass_all
6355   ;;
6356
6357 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6358   lt_cv_deplibs_check_method=pass_all
6359   ;;
6360
6361 sysv4 | sysv4.3*)
6362   case $host_vendor in
6363   motorola)
6364     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]'
6365     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6366     ;;
6367   ncr)
6368     lt_cv_deplibs_check_method=pass_all
6369     ;;
6370   sequent)
6371     lt_cv_file_magic_cmd='/bin/file'
6372     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6373     ;;
6374   sni)
6375     lt_cv_file_magic_cmd='/bin/file'
6376     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6377     lt_cv_file_magic_test_file=/lib/libc.so
6378     ;;
6379   siemens)
6380     lt_cv_deplibs_check_method=pass_all
6381     ;;
6382   pc)
6383     lt_cv_deplibs_check_method=pass_all
6384     ;;
6385   esac
6386   ;;
6387
6388 tpf*)
6389   lt_cv_deplibs_check_method=pass_all
6390   ;;
6391 esac
6392
6393 fi
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6395 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6396 file_magic_cmd=$lt_cv_file_magic_cmd
6397 deplibs_check_method=$lt_cv_deplibs_check_method
6398 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411 if test -n "$ac_tool_prefix"; then
6412   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6413 set dummy ${ac_tool_prefix}ar; ac_word=$2
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6415 $as_echo_n "checking for $ac_word... " >&6; }
6416 if test "${ac_cv_prog_AR+set}" = set; then :
6417   $as_echo_n "(cached) " >&6
6418 else
6419   if test -n "$AR"; then
6420   ac_cv_prog_AR="$AR" # Let the user override the test.
6421 else
6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6423 for as_dir in $PATH
6424 do
6425   IFS=$as_save_IFS
6426   test -z "$as_dir" && as_dir=.
6427     for ac_exec_ext in '' $ac_executable_extensions; do
6428   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6429     ac_cv_prog_AR="${ac_tool_prefix}ar"
6430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6431     break 2
6432   fi
6433 done
6434   done
6435 IFS=$as_save_IFS
6436
6437 fi
6438 fi
6439 AR=$ac_cv_prog_AR
6440 if test -n "$AR"; then
6441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6442 $as_echo "$AR" >&6; }
6443 else
6444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6445 $as_echo "no" >&6; }
6446 fi
6447
6448
6449 fi
6450 if test -z "$ac_cv_prog_AR"; then
6451   ac_ct_AR=$AR
6452   # Extract the first word of "ar", so it can be a program name with args.
6453 set dummy ar; ac_word=$2
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6455 $as_echo_n "checking for $ac_word... " >&6; }
6456 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6457   $as_echo_n "(cached) " >&6
6458 else
6459   if test -n "$ac_ct_AR"; then
6460   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6461 else
6462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6463 for as_dir in $PATH
6464 do
6465   IFS=$as_save_IFS
6466   test -z "$as_dir" && as_dir=.
6467     for ac_exec_ext in '' $ac_executable_extensions; do
6468   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6469     ac_cv_prog_ac_ct_AR="ar"
6470     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6471     break 2
6472   fi
6473 done
6474   done
6475 IFS=$as_save_IFS
6476
6477 fi
6478 fi
6479 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6480 if test -n "$ac_ct_AR"; then
6481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6482 $as_echo "$ac_ct_AR" >&6; }
6483 else
6484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6485 $as_echo "no" >&6; }
6486 fi
6487
6488   if test "x$ac_ct_AR" = x; then
6489     AR="false"
6490   else
6491     case $cross_compiling:$ac_tool_warned in
6492 yes:)
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6495 ac_tool_warned=yes ;;
6496 esac
6497     AR=$ac_ct_AR
6498   fi
6499 else
6500   AR="$ac_cv_prog_AR"
6501 fi
6502
6503 test -z "$AR" && AR=ar
6504 test -z "$AR_FLAGS" && AR_FLAGS=cru
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516 if test -n "$ac_tool_prefix"; then
6517   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6518 set dummy ${ac_tool_prefix}strip; ac_word=$2
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6520 $as_echo_n "checking for $ac_word... " >&6; }
6521 if test "${ac_cv_prog_STRIP+set}" = set; then :
6522   $as_echo_n "(cached) " >&6
6523 else
6524   if test -n "$STRIP"; then
6525   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6526 else
6527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6528 for as_dir in $PATH
6529 do
6530   IFS=$as_save_IFS
6531   test -z "$as_dir" && as_dir=.
6532     for ac_exec_ext in '' $ac_executable_extensions; do
6533   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6534     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6535     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6536     break 2
6537   fi
6538 done
6539   done
6540 IFS=$as_save_IFS
6541
6542 fi
6543 fi
6544 STRIP=$ac_cv_prog_STRIP
6545 if test -n "$STRIP"; then
6546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6547 $as_echo "$STRIP" >&6; }
6548 else
6549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6550 $as_echo "no" >&6; }
6551 fi
6552
6553
6554 fi
6555 if test -z "$ac_cv_prog_STRIP"; then
6556   ac_ct_STRIP=$STRIP
6557   # Extract the first word of "strip", so it can be a program name with args.
6558 set dummy strip; ac_word=$2
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6560 $as_echo_n "checking for $ac_word... " >&6; }
6561 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6562   $as_echo_n "(cached) " >&6
6563 else
6564   if test -n "$ac_ct_STRIP"; then
6565   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6566 else
6567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6568 for as_dir in $PATH
6569 do
6570   IFS=$as_save_IFS
6571   test -z "$as_dir" && as_dir=.
6572     for ac_exec_ext in '' $ac_executable_extensions; do
6573   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6574     ac_cv_prog_ac_ct_STRIP="strip"
6575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6576     break 2
6577   fi
6578 done
6579   done
6580 IFS=$as_save_IFS
6581
6582 fi
6583 fi
6584 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6585 if test -n "$ac_ct_STRIP"; then
6586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6587 $as_echo "$ac_ct_STRIP" >&6; }
6588 else
6589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6590 $as_echo "no" >&6; }
6591 fi
6592
6593   if test "x$ac_ct_STRIP" = x; then
6594     STRIP=":"
6595   else
6596     case $cross_compiling:$ac_tool_warned in
6597 yes:)
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6600 ac_tool_warned=yes ;;
6601 esac
6602     STRIP=$ac_ct_STRIP
6603   fi
6604 else
6605   STRIP="$ac_cv_prog_STRIP"
6606 fi
6607
6608 test -z "$STRIP" && STRIP=:
6609
6610
6611
6612
6613
6614
6615 if test -n "$ac_tool_prefix"; then
6616   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6617 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6619 $as_echo_n "checking for $ac_word... " >&6; }
6620 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6621   $as_echo_n "(cached) " >&6
6622 else
6623   if test -n "$RANLIB"; then
6624   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6625 else
6626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6627 for as_dir in $PATH
6628 do
6629   IFS=$as_save_IFS
6630   test -z "$as_dir" && as_dir=.
6631     for ac_exec_ext in '' $ac_executable_extensions; do
6632   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6633     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6634     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6635     break 2
6636   fi
6637 done
6638   done
6639 IFS=$as_save_IFS
6640
6641 fi
6642 fi
6643 RANLIB=$ac_cv_prog_RANLIB
6644 if test -n "$RANLIB"; then
6645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6646 $as_echo "$RANLIB" >&6; }
6647 else
6648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6649 $as_echo "no" >&6; }
6650 fi
6651
6652
6653 fi
6654 if test -z "$ac_cv_prog_RANLIB"; then
6655   ac_ct_RANLIB=$RANLIB
6656   # Extract the first word of "ranlib", so it can be a program name with args.
6657 set dummy ranlib; ac_word=$2
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6659 $as_echo_n "checking for $ac_word... " >&6; }
6660 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6661   $as_echo_n "(cached) " >&6
6662 else
6663   if test -n "$ac_ct_RANLIB"; then
6664   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6665 else
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6667 for as_dir in $PATH
6668 do
6669   IFS=$as_save_IFS
6670   test -z "$as_dir" && as_dir=.
6671     for ac_exec_ext in '' $ac_executable_extensions; do
6672   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6673     ac_cv_prog_ac_ct_RANLIB="ranlib"
6674     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6675     break 2
6676   fi
6677 done
6678   done
6679 IFS=$as_save_IFS
6680
6681 fi
6682 fi
6683 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6684 if test -n "$ac_ct_RANLIB"; then
6685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6686 $as_echo "$ac_ct_RANLIB" >&6; }
6687 else
6688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6689 $as_echo "no" >&6; }
6690 fi
6691
6692   if test "x$ac_ct_RANLIB" = x; then
6693     RANLIB=":"
6694   else
6695     case $cross_compiling:$ac_tool_warned in
6696 yes:)
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6699 ac_tool_warned=yes ;;
6700 esac
6701     RANLIB=$ac_ct_RANLIB
6702   fi
6703 else
6704   RANLIB="$ac_cv_prog_RANLIB"
6705 fi
6706
6707 test -z "$RANLIB" && RANLIB=:
6708
6709
6710
6711
6712
6713
6714 # Determine commands to create old-style static archives.
6715 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6716 old_postinstall_cmds='chmod 644 $oldlib'
6717 old_postuninstall_cmds=
6718
6719 if test -n "$RANLIB"; then
6720   case $host_os in
6721   openbsd*)
6722     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6723     ;;
6724   *)
6725     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6726     ;;
6727   esac
6728   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6729 fi
6730
6731 case $host_os in
6732   darwin*)
6733     lock_old_archive_extraction=yes ;;
6734   *)
6735     lock_old_archive_extraction=no ;;
6736 esac
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776 # If no C compiler was specified, use CC.
6777 LTCC=${LTCC-"$CC"}
6778
6779 # If no C compiler flags were specified, use CFLAGS.
6780 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6781
6782 # Allow CC to be a program name with arguments.
6783 compiler=$CC
6784
6785
6786 # Check for command to grab the raw symbol name followed by C symbol from nm.
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6788 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6789 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6790   $as_echo_n "(cached) " >&6
6791 else
6792
6793 # These are sane defaults that work on at least a few old systems.
6794 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6795
6796 # Character class describing NM global symbol codes.
6797 symcode='[BCDEGRST]'
6798
6799 # Regexp to match symbols that can be accessed directly from C.
6800 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6801
6802 # Define system-specific variables.
6803 case $host_os in
6804 aix*)
6805   symcode='[BCDT]'
6806   ;;
6807 cygwin* | mingw* | pw32* | cegcc*)
6808   symcode='[ABCDGISTW]'
6809   ;;
6810 hpux*)
6811   if test "$host_cpu" = ia64; then
6812     symcode='[ABCDEGRST]'
6813   fi
6814   ;;
6815 irix* | nonstopux*)
6816   symcode='[BCDEGRST]'
6817   ;;
6818 osf*)
6819   symcode='[BCDEGQRST]'
6820   ;;
6821 solaris*)
6822   symcode='[BDRT]'
6823   ;;
6824 sco3.2v5*)
6825   symcode='[DT]'
6826   ;;
6827 sysv4.2uw2*)
6828   symcode='[DT]'
6829   ;;
6830 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6831   symcode='[ABDT]'
6832   ;;
6833 sysv4)
6834   symcode='[DFNSTU]'
6835   ;;
6836 esac
6837
6838 # If we're using GNU nm, then use its standard symbol codes.
6839 case `$NM -V 2>&1` in
6840 *GNU* | *'with BFD'*)
6841   symcode='[ABCDGIRSTW]' ;;
6842 esac
6843
6844 # Transform an extracted symbol line into a proper C declaration.
6845 # Some systems (esp. on ia64) link data and code symbols differently,
6846 # so use this general approach.
6847 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6848
6849 # Transform an extracted symbol line into symbol name and symbol address
6850 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6851 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'"
6852
6853 # Handle CRLF in mingw tool chain
6854 opt_cr=
6855 case $build_os in
6856 mingw*)
6857   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6858   ;;
6859 esac
6860
6861 # Try without a prefix underscore, then with it.
6862 for ac_symprfx in "" "_"; do
6863
6864   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6865   symxfrm="\\1 $ac_symprfx\\2 \\2"
6866
6867   # Write the raw and C identifiers.
6868   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6869     # Fake it for dumpbin and say T for any non-static function
6870     # and D for any global variable.
6871     # Also find C++ and __fastcall symbols from MSVC++,
6872     # which start with @ or ?.
6873     lt_cv_sys_global_symbol_pipe="$AWK '"\
6874 "     {last_section=section; section=\$ 3};"\
6875 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6876 "     \$ 0!~/External *\|/{next};"\
6877 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6878 "     {if(hide[section]) next};"\
6879 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6880 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6881 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6882 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6883 "     ' prfx=^$ac_symprfx"
6884   else
6885     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6886   fi
6887
6888   # Check to see that the pipe works correctly.
6889   pipe_works=no
6890
6891   rm -f conftest*
6892   cat > conftest.$ac_ext <<_LT_EOF
6893 #ifdef __cplusplus
6894 extern "C" {
6895 #endif
6896 char nm_test_var;
6897 void nm_test_func(void);
6898 void nm_test_func(void){}
6899 #ifdef __cplusplus
6900 }
6901 #endif
6902 int main(){nm_test_var='a';nm_test_func();return(0);}
6903 _LT_EOF
6904
6905   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6906   (eval $ac_compile) 2>&5
6907   ac_status=$?
6908   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6909   test $ac_status = 0; }; then
6910     # Now try to grab the symbols.
6911     nlist=conftest.nm
6912     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6913   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6914   ac_status=$?
6915   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6916   test $ac_status = 0; } && test -s "$nlist"; then
6917       # Try sorting and uniquifying the output.
6918       if sort "$nlist" | uniq > "$nlist"T; then
6919         mv -f "$nlist"T "$nlist"
6920       else
6921         rm -f "$nlist"T
6922       fi
6923
6924       # Make sure that we snagged all the symbols we need.
6925       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6926         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6927           cat <<_LT_EOF > conftest.$ac_ext
6928 #ifdef __cplusplus
6929 extern "C" {
6930 #endif
6931
6932 _LT_EOF
6933           # Now generate the symbol file.
6934           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6935
6936           cat <<_LT_EOF >> conftest.$ac_ext
6937
6938 /* The mapping between symbol names and symbols.  */
6939 const struct {
6940   const char *name;
6941   void       *address;
6942 }
6943 lt__PROGRAM__LTX_preloaded_symbols[] =
6944 {
6945   { "@PROGRAM@", (void *) 0 },
6946 _LT_EOF
6947           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6948           cat <<\_LT_EOF >> conftest.$ac_ext
6949   {0, (void *) 0}
6950 };
6951
6952 /* This works around a problem in FreeBSD linker */
6953 #ifdef FREEBSD_WORKAROUND
6954 static const void *lt_preloaded_setup() {
6955   return lt__PROGRAM__LTX_preloaded_symbols;
6956 }
6957 #endif
6958
6959 #ifdef __cplusplus
6960 }
6961 #endif
6962 _LT_EOF
6963           # Now try linking the two files.
6964           mv conftest.$ac_objext conftstm.$ac_objext
6965           lt_save_LIBS="$LIBS"
6966           lt_save_CFLAGS="$CFLAGS"
6967           LIBS="conftstm.$ac_objext"
6968           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6969           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6970   (eval $ac_link) 2>&5
6971   ac_status=$?
6972   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6973   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6974             pipe_works=yes
6975           fi
6976           LIBS="$lt_save_LIBS"
6977           CFLAGS="$lt_save_CFLAGS"
6978         else
6979           echo "cannot find nm_test_func in $nlist" >&5
6980         fi
6981       else
6982         echo "cannot find nm_test_var in $nlist" >&5
6983       fi
6984     else
6985       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6986     fi
6987   else
6988     echo "$progname: failed program was:" >&5
6989     cat conftest.$ac_ext >&5
6990   fi
6991   rm -rf conftest* conftst*
6992
6993   # Do not use the global_symbol_pipe unless it works.
6994   if test "$pipe_works" = yes; then
6995     break
6996   else
6997     lt_cv_sys_global_symbol_pipe=
6998   fi
6999 done
7000
7001 fi
7002
7003 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7004   lt_cv_sys_global_symbol_to_cdecl=
7005 fi
7006 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7008 $as_echo "failed" >&6; }
7009 else
7010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7011 $as_echo "ok" >&6; }
7012 fi
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035 # Check whether --enable-libtool-lock was given.
7036 if test "${enable_libtool_lock+set}" = set; then :
7037   enableval=$enable_libtool_lock;
7038 fi
7039
7040 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7041
7042 # Some flags need to be propagated to the compiler or linker for good
7043 # libtool support.
7044 case $host in
7045 ia64-*-hpux*)
7046   # Find out which ABI we are using.
7047   echo 'int i;' > conftest.$ac_ext
7048   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7049   (eval $ac_compile) 2>&5
7050   ac_status=$?
7051   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7052   test $ac_status = 0; }; then
7053     case `/usr/bin/file conftest.$ac_objext` in
7054       *ELF-32*)
7055         HPUX_IA64_MODE="32"
7056         ;;
7057       *ELF-64*)
7058         HPUX_IA64_MODE="64"
7059         ;;
7060     esac
7061   fi
7062   rm -rf conftest*
7063   ;;
7064 *-*-irix6*)
7065   # Find out which ABI we are using.
7066   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7067   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7068   (eval $ac_compile) 2>&5
7069   ac_status=$?
7070   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7071   test $ac_status = 0; }; then
7072     if test "$lt_cv_prog_gnu_ld" = yes; then
7073       case `/usr/bin/file conftest.$ac_objext` in
7074         *32-bit*)
7075           LD="${LD-ld} -melf32bsmip"
7076           ;;
7077         *N32*)
7078           LD="${LD-ld} -melf32bmipn32"
7079           ;;
7080         *64-bit*)
7081           LD="${LD-ld} -melf64bmip"
7082         ;;
7083       esac
7084     else
7085       case `/usr/bin/file conftest.$ac_objext` in
7086         *32-bit*)
7087           LD="${LD-ld} -32"
7088           ;;
7089         *N32*)
7090           LD="${LD-ld} -n32"
7091           ;;
7092         *64-bit*)
7093           LD="${LD-ld} -64"
7094           ;;
7095       esac
7096     fi
7097   fi
7098   rm -rf conftest*
7099   ;;
7100
7101 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7102 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7103   # Find out which ABI we are using.
7104   echo 'int i;' > conftest.$ac_ext
7105   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7106   (eval $ac_compile) 2>&5
7107   ac_status=$?
7108   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7109   test $ac_status = 0; }; then
7110     case `/usr/bin/file conftest.o` in
7111       *32-bit*)
7112         case $host in
7113           x86_64-*kfreebsd*-gnu)
7114             LD="${LD-ld} -m elf_i386_fbsd"
7115             ;;
7116           x86_64-*linux*)
7117             LD="${LD-ld} -m elf_i386"
7118             ;;
7119           ppc64-*linux*|powerpc64-*linux*)
7120             LD="${LD-ld} -m elf32ppclinux"
7121             ;;
7122           s390x-*linux*)
7123             LD="${LD-ld} -m elf_s390"
7124             ;;
7125           sparc64-*linux*)
7126             LD="${LD-ld} -m elf32_sparc"
7127             ;;
7128         esac
7129         ;;
7130       *64-bit*)
7131         case $host in
7132           x86_64-*kfreebsd*-gnu)
7133             LD="${LD-ld} -m elf_x86_64_fbsd"
7134             ;;
7135           x86_64-*linux*)
7136             LD="${LD-ld} -m elf_x86_64"
7137             ;;
7138           ppc*-*linux*|powerpc*-*linux*)
7139             LD="${LD-ld} -m elf64ppc"
7140             ;;
7141           s390*-*linux*|s390*-*tpf*)
7142             LD="${LD-ld} -m elf64_s390"
7143             ;;
7144           sparc*-*linux*)
7145             LD="${LD-ld} -m elf64_sparc"
7146             ;;
7147         esac
7148         ;;
7149     esac
7150   fi
7151   rm -rf conftest*
7152   ;;
7153
7154 *-*-sco3.2v5*)
7155   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7156   SAVE_CFLAGS="$CFLAGS"
7157   CFLAGS="$CFLAGS -belf"
7158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7159 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7160 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7161   $as_echo_n "(cached) " >&6
7162 else
7163   ac_ext=c
7164 ac_cpp='$CPP $CPPFLAGS'
7165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7168
7169      if test x$gcc_no_link = xyes; then
7170   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7171 fi
7172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7173 /* end confdefs.h.  */
7174
7175 int
7176 main ()
7177 {
7178
7179   ;
7180   return 0;
7181 }
7182 _ACEOF
7183 if ac_fn_c_try_link "$LINENO"; then :
7184   lt_cv_cc_needs_belf=yes
7185 else
7186   lt_cv_cc_needs_belf=no
7187 fi
7188 rm -f core conftest.err conftest.$ac_objext \
7189     conftest$ac_exeext conftest.$ac_ext
7190      ac_ext=c
7191 ac_cpp='$CPP $CPPFLAGS'
7192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7195
7196 fi
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7198 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7199   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7200     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7201     CFLAGS="$SAVE_CFLAGS"
7202   fi
7203   ;;
7204 sparc*-*solaris*)
7205   # Find out which ABI we are using.
7206   echo 'int i;' > conftest.$ac_ext
7207   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7208   (eval $ac_compile) 2>&5
7209   ac_status=$?
7210   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7211   test $ac_status = 0; }; then
7212     case `/usr/bin/file conftest.o` in
7213     *64-bit*)
7214       case $lt_cv_prog_gnu_ld in
7215       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7216       *)
7217         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7218           LD="${LD-ld} -64"
7219         fi
7220         ;;
7221       esac
7222       ;;
7223     esac
7224   fi
7225   rm -rf conftest*
7226   ;;
7227 esac
7228
7229 need_locks="$enable_libtool_lock"
7230
7231
7232   case $host_os in
7233     rhapsody* | darwin*)
7234     if test -n "$ac_tool_prefix"; then
7235   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7236 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7238 $as_echo_n "checking for $ac_word... " >&6; }
7239 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7240   $as_echo_n "(cached) " >&6
7241 else
7242   if test -n "$DSYMUTIL"; then
7243   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7244 else
7245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7246 for as_dir in $PATH
7247 do
7248   IFS=$as_save_IFS
7249   test -z "$as_dir" && as_dir=.
7250     for ac_exec_ext in '' $ac_executable_extensions; do
7251   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7252     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7253     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7254     break 2
7255   fi
7256 done
7257   done
7258 IFS=$as_save_IFS
7259
7260 fi
7261 fi
7262 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7263 if test -n "$DSYMUTIL"; then
7264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7265 $as_echo "$DSYMUTIL" >&6; }
7266 else
7267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7268 $as_echo "no" >&6; }
7269 fi
7270
7271
7272 fi
7273 if test -z "$ac_cv_prog_DSYMUTIL"; then
7274   ac_ct_DSYMUTIL=$DSYMUTIL
7275   # Extract the first word of "dsymutil", so it can be a program name with args.
7276 set dummy dsymutil; ac_word=$2
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7278 $as_echo_n "checking for $ac_word... " >&6; }
7279 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7280   $as_echo_n "(cached) " >&6
7281 else
7282   if test -n "$ac_ct_DSYMUTIL"; then
7283   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7284 else
7285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7286 for as_dir in $PATH
7287 do
7288   IFS=$as_save_IFS
7289   test -z "$as_dir" && as_dir=.
7290     for ac_exec_ext in '' $ac_executable_extensions; do
7291   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7292     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7293     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7294     break 2
7295   fi
7296 done
7297   done
7298 IFS=$as_save_IFS
7299
7300 fi
7301 fi
7302 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7303 if test -n "$ac_ct_DSYMUTIL"; then
7304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7305 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7306 else
7307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7308 $as_echo "no" >&6; }
7309 fi
7310
7311   if test "x$ac_ct_DSYMUTIL" = x; then
7312     DSYMUTIL=":"
7313   else
7314     case $cross_compiling:$ac_tool_warned in
7315 yes:)
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7318 ac_tool_warned=yes ;;
7319 esac
7320     DSYMUTIL=$ac_ct_DSYMUTIL
7321   fi
7322 else
7323   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7324 fi
7325
7326     if test -n "$ac_tool_prefix"; then
7327   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7328 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7330 $as_echo_n "checking for $ac_word... " >&6; }
7331 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7332   $as_echo_n "(cached) " >&6
7333 else
7334   if test -n "$NMEDIT"; then
7335   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7336 else
7337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7338 for as_dir in $PATH
7339 do
7340   IFS=$as_save_IFS
7341   test -z "$as_dir" && as_dir=.
7342     for ac_exec_ext in '' $ac_executable_extensions; do
7343   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7344     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7345     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7346     break 2
7347   fi
7348 done
7349   done
7350 IFS=$as_save_IFS
7351
7352 fi
7353 fi
7354 NMEDIT=$ac_cv_prog_NMEDIT
7355 if test -n "$NMEDIT"; then
7356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7357 $as_echo "$NMEDIT" >&6; }
7358 else
7359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7360 $as_echo "no" >&6; }
7361 fi
7362
7363
7364 fi
7365 if test -z "$ac_cv_prog_NMEDIT"; then
7366   ac_ct_NMEDIT=$NMEDIT
7367   # Extract the first word of "nmedit", so it can be a program name with args.
7368 set dummy nmedit; ac_word=$2
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7370 $as_echo_n "checking for $ac_word... " >&6; }
7371 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7372   $as_echo_n "(cached) " >&6
7373 else
7374   if test -n "$ac_ct_NMEDIT"; then
7375   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7376 else
7377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7378 for as_dir in $PATH
7379 do
7380   IFS=$as_save_IFS
7381   test -z "$as_dir" && as_dir=.
7382     for ac_exec_ext in '' $ac_executable_extensions; do
7383   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7384     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7385     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7386     break 2
7387   fi
7388 done
7389   done
7390 IFS=$as_save_IFS
7391
7392 fi
7393 fi
7394 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7395 if test -n "$ac_ct_NMEDIT"; then
7396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7397 $as_echo "$ac_ct_NMEDIT" >&6; }
7398 else
7399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7400 $as_echo "no" >&6; }
7401 fi
7402
7403   if test "x$ac_ct_NMEDIT" = x; then
7404     NMEDIT=":"
7405   else
7406     case $cross_compiling:$ac_tool_warned in
7407 yes:)
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7410 ac_tool_warned=yes ;;
7411 esac
7412     NMEDIT=$ac_ct_NMEDIT
7413   fi
7414 else
7415   NMEDIT="$ac_cv_prog_NMEDIT"
7416 fi
7417
7418     if test -n "$ac_tool_prefix"; then
7419   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7420 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7422 $as_echo_n "checking for $ac_word... " >&6; }
7423 if test "${ac_cv_prog_LIPO+set}" = set; then :
7424   $as_echo_n "(cached) " >&6
7425 else
7426   if test -n "$LIPO"; then
7427   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7428 else
7429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7430 for as_dir in $PATH
7431 do
7432   IFS=$as_save_IFS
7433   test -z "$as_dir" && as_dir=.
7434     for ac_exec_ext in '' $ac_executable_extensions; do
7435   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7436     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7437     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7438     break 2
7439   fi
7440 done
7441   done
7442 IFS=$as_save_IFS
7443
7444 fi
7445 fi
7446 LIPO=$ac_cv_prog_LIPO
7447 if test -n "$LIPO"; then
7448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7449 $as_echo "$LIPO" >&6; }
7450 else
7451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7452 $as_echo "no" >&6; }
7453 fi
7454
7455
7456 fi
7457 if test -z "$ac_cv_prog_LIPO"; then
7458   ac_ct_LIPO=$LIPO
7459   # Extract the first word of "lipo", so it can be a program name with args.
7460 set dummy lipo; ac_word=$2
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7462 $as_echo_n "checking for $ac_word... " >&6; }
7463 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7464   $as_echo_n "(cached) " >&6
7465 else
7466   if test -n "$ac_ct_LIPO"; then
7467   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7468 else
7469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7470 for as_dir in $PATH
7471 do
7472   IFS=$as_save_IFS
7473   test -z "$as_dir" && as_dir=.
7474     for ac_exec_ext in '' $ac_executable_extensions; do
7475   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7476     ac_cv_prog_ac_ct_LIPO="lipo"
7477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7478     break 2
7479   fi
7480 done
7481   done
7482 IFS=$as_save_IFS
7483
7484 fi
7485 fi
7486 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7487 if test -n "$ac_ct_LIPO"; then
7488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7489 $as_echo "$ac_ct_LIPO" >&6; }
7490 else
7491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7492 $as_echo "no" >&6; }
7493 fi
7494
7495   if test "x$ac_ct_LIPO" = x; then
7496     LIPO=":"
7497   else
7498     case $cross_compiling:$ac_tool_warned in
7499 yes:)
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7502 ac_tool_warned=yes ;;
7503 esac
7504     LIPO=$ac_ct_LIPO
7505   fi
7506 else
7507   LIPO="$ac_cv_prog_LIPO"
7508 fi
7509
7510     if test -n "$ac_tool_prefix"; then
7511   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7512 set dummy ${ac_tool_prefix}otool; ac_word=$2
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7514 $as_echo_n "checking for $ac_word... " >&6; }
7515 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7516   $as_echo_n "(cached) " >&6
7517 else
7518   if test -n "$OTOOL"; then
7519   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7520 else
7521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7522 for as_dir in $PATH
7523 do
7524   IFS=$as_save_IFS
7525   test -z "$as_dir" && as_dir=.
7526     for ac_exec_ext in '' $ac_executable_extensions; do
7527   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7528     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7529     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7530     break 2
7531   fi
7532 done
7533   done
7534 IFS=$as_save_IFS
7535
7536 fi
7537 fi
7538 OTOOL=$ac_cv_prog_OTOOL
7539 if test -n "$OTOOL"; then
7540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7541 $as_echo "$OTOOL" >&6; }
7542 else
7543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7544 $as_echo "no" >&6; }
7545 fi
7546
7547
7548 fi
7549 if test -z "$ac_cv_prog_OTOOL"; then
7550   ac_ct_OTOOL=$OTOOL
7551   # Extract the first word of "otool", so it can be a program name with args.
7552 set dummy otool; ac_word=$2
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7554 $as_echo_n "checking for $ac_word... " >&6; }
7555 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7556   $as_echo_n "(cached) " >&6
7557 else
7558   if test -n "$ac_ct_OTOOL"; then
7559   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7560 else
7561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7562 for as_dir in $PATH
7563 do
7564   IFS=$as_save_IFS
7565   test -z "$as_dir" && as_dir=.
7566     for ac_exec_ext in '' $ac_executable_extensions; do
7567   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7568     ac_cv_prog_ac_ct_OTOOL="otool"
7569     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7570     break 2
7571   fi
7572 done
7573   done
7574 IFS=$as_save_IFS
7575
7576 fi
7577 fi
7578 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7579 if test -n "$ac_ct_OTOOL"; then
7580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7581 $as_echo "$ac_ct_OTOOL" >&6; }
7582 else
7583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7584 $as_echo "no" >&6; }
7585 fi
7586
7587   if test "x$ac_ct_OTOOL" = x; then
7588     OTOOL=":"
7589   else
7590     case $cross_compiling:$ac_tool_warned in
7591 yes:)
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7594 ac_tool_warned=yes ;;
7595 esac
7596     OTOOL=$ac_ct_OTOOL
7597   fi
7598 else
7599   OTOOL="$ac_cv_prog_OTOOL"
7600 fi
7601
7602     if test -n "$ac_tool_prefix"; then
7603   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7604 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7606 $as_echo_n "checking for $ac_word... " >&6; }
7607 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7608   $as_echo_n "(cached) " >&6
7609 else
7610   if test -n "$OTOOL64"; then
7611   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7612 else
7613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7614 for as_dir in $PATH
7615 do
7616   IFS=$as_save_IFS
7617   test -z "$as_dir" && as_dir=.
7618     for ac_exec_ext in '' $ac_executable_extensions; do
7619   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7620     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7622     break 2
7623   fi
7624 done
7625   done
7626 IFS=$as_save_IFS
7627
7628 fi
7629 fi
7630 OTOOL64=$ac_cv_prog_OTOOL64
7631 if test -n "$OTOOL64"; then
7632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7633 $as_echo "$OTOOL64" >&6; }
7634 else
7635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7636 $as_echo "no" >&6; }
7637 fi
7638
7639
7640 fi
7641 if test -z "$ac_cv_prog_OTOOL64"; then
7642   ac_ct_OTOOL64=$OTOOL64
7643   # Extract the first word of "otool64", so it can be a program name with args.
7644 set dummy otool64; ac_word=$2
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7646 $as_echo_n "checking for $ac_word... " >&6; }
7647 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7648   $as_echo_n "(cached) " >&6
7649 else
7650   if test -n "$ac_ct_OTOOL64"; then
7651   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7652 else
7653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7654 for as_dir in $PATH
7655 do
7656   IFS=$as_save_IFS
7657   test -z "$as_dir" && as_dir=.
7658     for ac_exec_ext in '' $ac_executable_extensions; do
7659   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7660     ac_cv_prog_ac_ct_OTOOL64="otool64"
7661     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7662     break 2
7663   fi
7664 done
7665   done
7666 IFS=$as_save_IFS
7667
7668 fi
7669 fi
7670 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7671 if test -n "$ac_ct_OTOOL64"; then
7672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7673 $as_echo "$ac_ct_OTOOL64" >&6; }
7674 else
7675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7676 $as_echo "no" >&6; }
7677 fi
7678
7679   if test "x$ac_ct_OTOOL64" = x; then
7680     OTOOL64=":"
7681   else
7682     case $cross_compiling:$ac_tool_warned in
7683 yes:)
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7686 ac_tool_warned=yes ;;
7687 esac
7688     OTOOL64=$ac_ct_OTOOL64
7689   fi
7690 else
7691   OTOOL64="$ac_cv_prog_OTOOL64"
7692 fi
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7721 $as_echo_n "checking for -single_module linker flag... " >&6; }
7722 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7723   $as_echo_n "(cached) " >&6
7724 else
7725   lt_cv_apple_cc_single_mod=no
7726       if test -z "${LT_MULTI_MODULE}"; then
7727         # By default we will add the -single_module flag. You can override
7728         # by either setting the environment variable LT_MULTI_MODULE
7729         # non-empty at configure time, or by adding -multi_module to the
7730         # link flags.
7731         rm -rf libconftest.dylib*
7732         echo "int foo(void){return 1;}" > conftest.c
7733         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7734 -dynamiclib -Wl,-single_module conftest.c" >&5
7735         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7736           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7737         _lt_result=$?
7738         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7739           lt_cv_apple_cc_single_mod=yes
7740         else
7741           cat conftest.err >&5
7742         fi
7743         rm -rf libconftest.dylib*
7744         rm -f conftest.*
7745       fi
7746 fi
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7748 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7749     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7750 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7751 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7752   $as_echo_n "(cached) " >&6
7753 else
7754   lt_cv_ld_exported_symbols_list=no
7755       save_LDFLAGS=$LDFLAGS
7756       echo "_main" > conftest.sym
7757       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7758       if test x$gcc_no_link = xyes; then
7759   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7760 fi
7761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7762 /* end confdefs.h.  */
7763
7764 int
7765 main ()
7766 {
7767
7768   ;
7769   return 0;
7770 }
7771 _ACEOF
7772 if ac_fn_c_try_link "$LINENO"; then :
7773   lt_cv_ld_exported_symbols_list=yes
7774 else
7775   lt_cv_ld_exported_symbols_list=no
7776 fi
7777 rm -f core conftest.err conftest.$ac_objext \
7778     conftest$ac_exeext conftest.$ac_ext
7779         LDFLAGS="$save_LDFLAGS"
7780
7781 fi
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7783 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7784     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7785 $as_echo_n "checking for -force_load linker flag... " >&6; }
7786 if test "${lt_cv_ld_force_load+set}" = set; then :
7787   $as_echo_n "(cached) " >&6
7788 else
7789   lt_cv_ld_force_load=no
7790       cat > conftest.c << _LT_EOF
7791 int forced_loaded() { return 2;}
7792 _LT_EOF
7793       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7794       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7795       echo "$AR cru libconftest.a conftest.o" >&5
7796       $AR cru libconftest.a conftest.o 2>&5
7797       cat > conftest.c << _LT_EOF
7798 int main() { return 0;}
7799 _LT_EOF
7800       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7801       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7802       _lt_result=$?
7803       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7804         lt_cv_ld_force_load=yes
7805       else
7806         cat conftest.err >&5
7807       fi
7808         rm -f conftest.err libconftest.a conftest conftest.c
7809         rm -rf conftest.dSYM
7810
7811 fi
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7813 $as_echo "$lt_cv_ld_force_load" >&6; }
7814     case $host_os in
7815     rhapsody* | darwin1.[012])
7816       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7817     darwin1.*)
7818       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7819     darwin*) # darwin 5.x on
7820       # if running on 10.5 or later, the deployment target defaults
7821       # to the OS version, if on x86, and 10.4, the deployment
7822       # target defaults to 10.4. Don't you love it?
7823       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7824         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7825           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7826         10.[012]*)
7827           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7828         10.*)
7829           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7830       esac
7831     ;;
7832   esac
7833     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7834       _lt_dar_single_mod='$single_module'
7835     fi
7836     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7837       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7838     else
7839       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7840     fi
7841     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7842       _lt_dsymutil='~$DSYMUTIL $lib || :'
7843     else
7844       _lt_dsymutil=
7845     fi
7846     ;;
7847   esac
7848
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7850 $as_echo_n "checking for ANSI C header files... " >&6; }
7851 if test "${ac_cv_header_stdc+set}" = set; then :
7852   $as_echo_n "(cached) " >&6
7853 else
7854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7855 /* end confdefs.h.  */
7856 #include <stdlib.h>
7857 #include <stdarg.h>
7858 #include <string.h>
7859 #include <float.h>
7860
7861 int
7862 main ()
7863 {
7864
7865   ;
7866   return 0;
7867 }
7868 _ACEOF
7869 if ac_fn_c_try_compile "$LINENO"; then :
7870   ac_cv_header_stdc=yes
7871 else
7872   ac_cv_header_stdc=no
7873 fi
7874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7875
7876 if test $ac_cv_header_stdc = yes; then
7877   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7879 /* end confdefs.h.  */
7880 #include <string.h>
7881
7882 _ACEOF
7883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7884   $EGREP "memchr" >/dev/null 2>&1; then :
7885
7886 else
7887   ac_cv_header_stdc=no
7888 fi
7889 rm -f conftest*
7890
7891 fi
7892
7893 if test $ac_cv_header_stdc = yes; then
7894   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7896 /* end confdefs.h.  */
7897 #include <stdlib.h>
7898
7899 _ACEOF
7900 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7901   $EGREP "free" >/dev/null 2>&1; then :
7902
7903 else
7904   ac_cv_header_stdc=no
7905 fi
7906 rm -f conftest*
7907
7908 fi
7909
7910 if test $ac_cv_header_stdc = yes; then
7911   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7912   if test "$cross_compiling" = yes; then :
7913   :
7914 else
7915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7916 /* end confdefs.h.  */
7917 #include <ctype.h>
7918 #include <stdlib.h>
7919 #if ((' ' & 0x0FF) == 0x020)
7920 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7921 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7922 #else
7923 # define ISLOWER(c) \
7924                    (('a' <= (c) && (c) <= 'i') \
7925                      || ('j' <= (c) && (c) <= 'r') \
7926                      || ('s' <= (c) && (c) <= 'z'))
7927 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7928 #endif
7929
7930 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7931 int
7932 main ()
7933 {
7934   int i;
7935   for (i = 0; i < 256; i++)
7936     if (XOR (islower (i), ISLOWER (i))
7937         || toupper (i) != TOUPPER (i))
7938       return 2;
7939   return 0;
7940 }
7941 _ACEOF
7942 if ac_fn_c_try_run "$LINENO"; then :
7943
7944 else
7945   ac_cv_header_stdc=no
7946 fi
7947 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7948   conftest.$ac_objext conftest.beam conftest.$ac_ext
7949 fi
7950
7951 fi
7952 fi
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7954 $as_echo "$ac_cv_header_stdc" >&6; }
7955 if test $ac_cv_header_stdc = yes; then
7956
7957 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7958
7959 fi
7960
7961 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7962 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7963                   inttypes.h stdint.h unistd.h
7964 do :
7965   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7966 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7967 "
7968 eval as_val=\$$as_ac_Header
7969    if test "x$as_val" = x""yes; then :
7970   cat >>confdefs.h <<_ACEOF
7971 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7972 _ACEOF
7973
7974 fi
7975
7976 done
7977
7978
7979 for ac_header in dlfcn.h
7980 do :
7981   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7982 "
7983 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7984   cat >>confdefs.h <<_ACEOF
7985 #define HAVE_DLFCN_H 1
7986 _ACEOF
7987
7988 fi
7989
7990 done
7991
7992
7993
7994
7995
7996
7997 # Set options
7998
7999
8000
8001
8002   enable_win32_dll=no
8003
8004
8005             # Check whether --enable-shared was given.
8006 if test "${enable_shared+set}" = set; then :
8007   enableval=$enable_shared; p=${PACKAGE-default}
8008     case $enableval in
8009     yes) enable_shared=yes ;;
8010     no) enable_shared=no ;;
8011     *)
8012       enable_shared=no
8013       # Look at the argument we got.  We use all the common list separators.
8014       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8015       for pkg in $enableval; do
8016         IFS="$lt_save_ifs"
8017         if test "X$pkg" = "X$p"; then
8018           enable_shared=yes
8019         fi
8020       done
8021       IFS="$lt_save_ifs"
8022       ;;
8023     esac
8024 else
8025   enable_shared=yes
8026 fi
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036   # Check whether --enable-static was given.
8037 if test "${enable_static+set}" = set; then :
8038   enableval=$enable_static; p=${PACKAGE-default}
8039     case $enableval in
8040     yes) enable_static=yes ;;
8041     no) enable_static=no ;;
8042     *)
8043      enable_static=no
8044       # Look at the argument we got.  We use all the common list separators.
8045       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8046       for pkg in $enableval; do
8047         IFS="$lt_save_ifs"
8048         if test "X$pkg" = "X$p"; then
8049           enable_static=yes
8050         fi
8051       done
8052       IFS="$lt_save_ifs"
8053       ;;
8054     esac
8055 else
8056   enable_static=yes
8057 fi
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068 # Check whether --with-pic was given.
8069 if test "${with_pic+set}" = set; then :
8070   withval=$with_pic; pic_mode="$withval"
8071 else
8072   pic_mode=default
8073 fi
8074
8075
8076 test -z "$pic_mode" && pic_mode=default
8077
8078
8079
8080
8081
8082
8083
8084   # Check whether --enable-fast-install was given.
8085 if test "${enable_fast_install+set}" = set; then :
8086   enableval=$enable_fast_install; p=${PACKAGE-default}
8087     case $enableval in
8088     yes) enable_fast_install=yes ;;
8089     no) enable_fast_install=no ;;
8090     *)
8091       enable_fast_install=no
8092       # Look at the argument we got.  We use all the common list separators.
8093       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8094       for pkg in $enableval; do
8095         IFS="$lt_save_ifs"
8096         if test "X$pkg" = "X$p"; then
8097           enable_fast_install=yes
8098         fi
8099       done
8100       IFS="$lt_save_ifs"
8101       ;;
8102     esac
8103 else
8104   enable_fast_install=yes
8105 fi
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117 # This can be used to rebuild libtool when needed
8118 LIBTOOL_DEPS="$ltmain"
8119
8120 # Always use our own libtool.
8121 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148 test -z "$LN_S" && LN_S="ln -s"
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163 if test -n "${ZSH_VERSION+set}" ; then
8164    setopt NO_GLOB_SUBST
8165 fi
8166
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8168 $as_echo_n "checking for objdir... " >&6; }
8169 if test "${lt_cv_objdir+set}" = set; then :
8170   $as_echo_n "(cached) " >&6
8171 else
8172   rm -f .libs 2>/dev/null
8173 mkdir .libs 2>/dev/null
8174 if test -d .libs; then
8175   lt_cv_objdir=.libs
8176 else
8177   # MS-DOS does not allow filenames that begin with a dot.
8178   lt_cv_objdir=_libs
8179 fi
8180 rmdir .libs 2>/dev/null
8181 fi
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8183 $as_echo "$lt_cv_objdir" >&6; }
8184 objdir=$lt_cv_objdir
8185
8186
8187
8188
8189
8190 cat >>confdefs.h <<_ACEOF
8191 #define LT_OBJDIR "$lt_cv_objdir/"
8192 _ACEOF
8193
8194
8195
8196
8197 case $host_os in
8198 aix3*)
8199   # AIX sometimes has problems with the GCC collect2 program.  For some
8200   # reason, if we set the COLLECT_NAMES environment variable, the problems
8201   # vanish in a puff of smoke.
8202   if test "X${COLLECT_NAMES+set}" != Xset; then
8203     COLLECT_NAMES=
8204     export COLLECT_NAMES
8205   fi
8206   ;;
8207 esac
8208
8209 # Global variables:
8210 ofile=libtool
8211 can_build_shared=yes
8212
8213 # All known linkers require a `.a' archive for static linking (except MSVC,
8214 # which needs '.lib').
8215 libext=a
8216
8217 with_gnu_ld="$lt_cv_prog_gnu_ld"
8218
8219 old_CC="$CC"
8220 old_CFLAGS="$CFLAGS"
8221
8222 # Set sane defaults for various variables
8223 test -z "$CC" && CC=cc
8224 test -z "$LTCC" && LTCC=$CC
8225 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8226 test -z "$LD" && LD=ld
8227 test -z "$ac_objext" && ac_objext=o
8228
8229 for cc_temp in $compiler""; do
8230   case $cc_temp in
8231     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8232     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8233     \-*) ;;
8234     *) break;;
8235   esac
8236 done
8237 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8238
8239
8240 # Only perform the check for file, if the check method requires it
8241 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8242 case $deplibs_check_method in
8243 file_magic*)
8244   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8245     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8246 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8247 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8248   $as_echo_n "(cached) " >&6
8249 else
8250   case $MAGIC_CMD in
8251 [\\/*] |  ?:[\\/]*)
8252   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8253   ;;
8254 *)
8255   lt_save_MAGIC_CMD="$MAGIC_CMD"
8256   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8257   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8258   for ac_dir in $ac_dummy; do
8259     IFS="$lt_save_ifs"
8260     test -z "$ac_dir" && ac_dir=.
8261     if test -f $ac_dir/${ac_tool_prefix}file; then
8262       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8263       if test -n "$file_magic_test_file"; then
8264         case $deplibs_check_method in
8265         "file_magic "*)
8266           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8267           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8268           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8269             $EGREP "$file_magic_regex" > /dev/null; then
8270             :
8271           else
8272             cat <<_LT_EOF 1>&2
8273
8274 *** Warning: the command libtool uses to detect shared libraries,
8275 *** $file_magic_cmd, produces output that libtool cannot recognize.
8276 *** The result is that libtool may fail to recognize shared libraries
8277 *** as such.  This will affect the creation of libtool libraries that
8278 *** depend on shared libraries, but programs linked with such libtool
8279 *** libraries will work regardless of this problem.  Nevertheless, you
8280 *** may want to report the problem to your system manager and/or to
8281 *** bug-libtool@gnu.org
8282
8283 _LT_EOF
8284           fi ;;
8285         esac
8286       fi
8287       break
8288     fi
8289   done
8290   IFS="$lt_save_ifs"
8291   MAGIC_CMD="$lt_save_MAGIC_CMD"
8292   ;;
8293 esac
8294 fi
8295
8296 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8297 if test -n "$MAGIC_CMD"; then
8298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8299 $as_echo "$MAGIC_CMD" >&6; }
8300 else
8301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8302 $as_echo "no" >&6; }
8303 fi
8304
8305
8306
8307
8308
8309 if test -z "$lt_cv_path_MAGIC_CMD"; then
8310   if test -n "$ac_tool_prefix"; then
8311     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8312 $as_echo_n "checking for file... " >&6; }
8313 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8314   $as_echo_n "(cached) " >&6
8315 else
8316   case $MAGIC_CMD in
8317 [\\/*] |  ?:[\\/]*)
8318   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8319   ;;
8320 *)
8321   lt_save_MAGIC_CMD="$MAGIC_CMD"
8322   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8323   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8324   for ac_dir in $ac_dummy; do
8325     IFS="$lt_save_ifs"
8326     test -z "$ac_dir" && ac_dir=.
8327     if test -f $ac_dir/file; then
8328       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8329       if test -n "$file_magic_test_file"; then
8330         case $deplibs_check_method in
8331         "file_magic "*)
8332           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8333           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8334           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8335             $EGREP "$file_magic_regex" > /dev/null; then
8336             :
8337           else
8338             cat <<_LT_EOF 1>&2
8339
8340 *** Warning: the command libtool uses to detect shared libraries,
8341 *** $file_magic_cmd, produces output that libtool cannot recognize.
8342 *** The result is that libtool may fail to recognize shared libraries
8343 *** as such.  This will affect the creation of libtool libraries that
8344 *** depend on shared libraries, but programs linked with such libtool
8345 *** libraries will work regardless of this problem.  Nevertheless, you
8346 *** may want to report the problem to your system manager and/or to
8347 *** bug-libtool@gnu.org
8348
8349 _LT_EOF
8350           fi ;;
8351         esac
8352       fi
8353       break
8354     fi
8355   done
8356   IFS="$lt_save_ifs"
8357   MAGIC_CMD="$lt_save_MAGIC_CMD"
8358   ;;
8359 esac
8360 fi
8361
8362 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8363 if test -n "$MAGIC_CMD"; then
8364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8365 $as_echo "$MAGIC_CMD" >&6; }
8366 else
8367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8368 $as_echo "no" >&6; }
8369 fi
8370
8371
8372   else
8373     MAGIC_CMD=:
8374   fi
8375 fi
8376
8377   fi
8378   ;;
8379 esac
8380
8381 # Use C for the default configuration in the libtool script
8382
8383 lt_save_CC="$CC"
8384 ac_ext=c
8385 ac_cpp='$CPP $CPPFLAGS'
8386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8389
8390
8391 # Source file extension for C test sources.
8392 ac_ext=c
8393
8394 # Object file extension for compiled C test sources.
8395 objext=o
8396 objext=$objext
8397
8398 # Code to be used in simple compile tests
8399 lt_simple_compile_test_code="int some_variable = 0;"
8400
8401 # Code to be used in simple link tests
8402 lt_simple_link_test_code='int main(){return(0);}'
8403
8404
8405
8406
8407
8408
8409
8410 # If no C compiler was specified, use CC.
8411 LTCC=${LTCC-"$CC"}
8412
8413 # If no C compiler flags were specified, use CFLAGS.
8414 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8415
8416 # Allow CC to be a program name with arguments.
8417 compiler=$CC
8418
8419 # Save the default compiler, since it gets overwritten when the other
8420 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8421 compiler_DEFAULT=$CC
8422
8423 # save warnings/boilerplate of simple test code
8424 ac_outfile=conftest.$ac_objext
8425 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8426 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8427 _lt_compiler_boilerplate=`cat conftest.err`
8428 $RM conftest*
8429
8430 ac_outfile=conftest.$ac_objext
8431 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8432 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8433 _lt_linker_boilerplate=`cat conftest.err`
8434 $RM -r conftest*
8435
8436
8437 ## CAVEAT EMPTOR:
8438 ## There is no encapsulation within the following macros, do not change
8439 ## the running order or otherwise move them around unless you know exactly
8440 ## what you are doing...
8441 if test -n "$compiler"; then
8442
8443 lt_prog_compiler_no_builtin_flag=
8444
8445 if test "$GCC" = yes; then
8446   case $cc_basename in
8447   nvcc*)
8448     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8449   *)
8450     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8451   esac
8452
8453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8454 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8455 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8456   $as_echo_n "(cached) " >&6
8457 else
8458   lt_cv_prog_compiler_rtti_exceptions=no
8459    ac_outfile=conftest.$ac_objext
8460    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8461    lt_compiler_flag="-fno-rtti -fno-exceptions"
8462    # Insert the option either (1) after the last *FLAGS variable, or
8463    # (2) before a word containing "conftest.", or (3) at the end.
8464    # Note that $ac_compile itself does not contain backslashes and begins
8465    # with a dollar sign (not a hyphen), so the echo should work correctly.
8466    # The option is referenced via a variable to avoid confusing sed.
8467    lt_compile=`echo "$ac_compile" | $SED \
8468    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8469    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8470    -e 's:$: $lt_compiler_flag:'`
8471    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8472    (eval "$lt_compile" 2>conftest.err)
8473    ac_status=$?
8474    cat conftest.err >&5
8475    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8476    if (exit $ac_status) && test -s "$ac_outfile"; then
8477      # The compiler can only warn and ignore the option if not recognized
8478      # So say no if there are warnings other than the usual output.
8479      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8480      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8481      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8482        lt_cv_prog_compiler_rtti_exceptions=yes
8483      fi
8484    fi
8485    $RM conftest*
8486
8487 fi
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8489 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8490
8491 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8492     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8493 else
8494     :
8495 fi
8496
8497 fi
8498
8499
8500
8501
8502
8503
8504   lt_prog_compiler_wl=
8505 lt_prog_compiler_pic=
8506 lt_prog_compiler_static=
8507
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8509 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8510
8511   if test "$GCC" = yes; then
8512     lt_prog_compiler_wl='-Wl,'
8513     lt_prog_compiler_static='-static'
8514
8515     case $host_os in
8516       aix*)
8517       # All AIX code is PIC.
8518       if test "$host_cpu" = ia64; then
8519         # AIX 5 now supports IA64 processor
8520         lt_prog_compiler_static='-Bstatic'
8521       fi
8522       ;;
8523
8524     amigaos*)
8525       case $host_cpu in
8526       powerpc)
8527             # see comment about AmigaOS4 .so support
8528             lt_prog_compiler_pic='-fPIC'
8529         ;;
8530       m68k)
8531             # FIXME: we need at least 68020 code to build shared libraries, but
8532             # adding the `-m68020' flag to GCC prevents building anything better,
8533             # like `-m68040'.
8534             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8535         ;;
8536       esac
8537       ;;
8538
8539     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8540       # PIC is the default for these OSes.
8541       ;;
8542
8543     mingw* | cygwin* | pw32* | os2* | cegcc*)
8544       # This hack is so that the source file can tell whether it is being
8545       # built for inclusion in a dll (and should export symbols for example).
8546       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8547       # (--disable-auto-import) libraries
8548       lt_prog_compiler_pic='-DDLL_EXPORT'
8549       ;;
8550
8551     darwin* | rhapsody*)
8552       # PIC is the default on this platform
8553       # Common symbols not allowed in MH_DYLIB files
8554       lt_prog_compiler_pic='-fno-common'
8555       ;;
8556
8557     haiku*)
8558       # PIC is the default for Haiku.
8559       # The "-static" flag exists, but is broken.
8560       lt_prog_compiler_static=
8561       ;;
8562
8563     hpux*)
8564       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8565       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8566       # sets the default TLS model and affects inlining.
8567       case $host_cpu in
8568       hppa*64*)
8569         # +Z the default
8570         ;;
8571       *)
8572         lt_prog_compiler_pic='-fPIC'
8573         ;;
8574       esac
8575       ;;
8576
8577     interix[3-9]*)
8578       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8579       # Instead, we relocate shared libraries at runtime.
8580       ;;
8581
8582     msdosdjgpp*)
8583       # Just because we use GCC doesn't mean we suddenly get shared libraries
8584       # on systems that don't support them.
8585       lt_prog_compiler_can_build_shared=no
8586       enable_shared=no
8587       ;;
8588
8589     *nto* | *qnx*)
8590       # QNX uses GNU C++, but need to define -shared option too, otherwise
8591       # it will coredump.
8592       lt_prog_compiler_pic='-fPIC -shared'
8593       ;;
8594
8595     sysv4*MP*)
8596       if test -d /usr/nec; then
8597         lt_prog_compiler_pic=-Kconform_pic
8598       fi
8599       ;;
8600
8601     *)
8602       lt_prog_compiler_pic='-fPIC'
8603       ;;
8604     esac
8605
8606     case $cc_basename in
8607     nvcc*) # Cuda Compiler Driver 2.2
8608       lt_prog_compiler_wl='-Xlinker '
8609       lt_prog_compiler_pic='-Xcompiler -fPIC'
8610       ;;
8611     esac
8612   else
8613     # PORTME Check for flag to pass linker flags through the system compiler.
8614     case $host_os in
8615     aix*)
8616       lt_prog_compiler_wl='-Wl,'
8617       if test "$host_cpu" = ia64; then
8618         # AIX 5 now supports IA64 processor
8619         lt_prog_compiler_static='-Bstatic'
8620       else
8621         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8622       fi
8623       ;;
8624
8625     mingw* | cygwin* | pw32* | os2* | cegcc*)
8626       # This hack is so that the source file can tell whether it is being
8627       # built for inclusion in a dll (and should export symbols for example).
8628       lt_prog_compiler_pic='-DDLL_EXPORT'
8629       ;;
8630
8631     hpux9* | hpux10* | hpux11*)
8632       lt_prog_compiler_wl='-Wl,'
8633       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8634       # not for PA HP-UX.
8635       case $host_cpu in
8636       hppa*64*|ia64*)
8637         # +Z the default
8638         ;;
8639       *)
8640         lt_prog_compiler_pic='+Z'
8641         ;;
8642       esac
8643       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8644       lt_prog_compiler_static='${wl}-a ${wl}archive'
8645       ;;
8646
8647     irix5* | irix6* | nonstopux*)
8648       lt_prog_compiler_wl='-Wl,'
8649       # PIC (with -KPIC) is the default.
8650       lt_prog_compiler_static='-non_shared'
8651       ;;
8652
8653     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8654       case $cc_basename in
8655       # old Intel for x86_64 which still supported -KPIC.
8656       ecc*)
8657         lt_prog_compiler_wl='-Wl,'
8658         lt_prog_compiler_pic='-KPIC'
8659         lt_prog_compiler_static='-static'
8660         ;;
8661       # icc used to be incompatible with GCC.
8662       # ICC 10 doesn't accept -KPIC any more.
8663       icc* | ifort*)
8664         lt_prog_compiler_wl='-Wl,'
8665         lt_prog_compiler_pic='-fPIC'
8666         lt_prog_compiler_static='-static'
8667         ;;
8668       # Lahey Fortran 8.1.
8669       lf95*)
8670         lt_prog_compiler_wl='-Wl,'
8671         lt_prog_compiler_pic='--shared'
8672         lt_prog_compiler_static='--static'
8673         ;;
8674       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8675         # Portland Group compilers (*not* the Pentium gcc compiler,
8676         # which looks to be a dead project)
8677         lt_prog_compiler_wl='-Wl,'
8678         lt_prog_compiler_pic='-fpic'
8679         lt_prog_compiler_static='-Bstatic'
8680         ;;
8681       ccc*)
8682         lt_prog_compiler_wl='-Wl,'
8683         # All Alpha code is PIC.
8684         lt_prog_compiler_static='-non_shared'
8685         ;;
8686       xl* | bgxl* | bgf* | mpixl*)
8687         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8688         lt_prog_compiler_wl='-Wl,'
8689         lt_prog_compiler_pic='-qpic'
8690         lt_prog_compiler_static='-qstaticlink'
8691         ;;
8692       *)
8693         case `$CC -V 2>&1 | sed 5q` in
8694         *Sun\ F* | *Sun*Fortran*)
8695           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8696           lt_prog_compiler_pic='-KPIC'
8697           lt_prog_compiler_static='-Bstatic'
8698           lt_prog_compiler_wl=''
8699           ;;
8700         *Sun\ C*)
8701           # Sun C 5.9
8702           lt_prog_compiler_pic='-KPIC'
8703           lt_prog_compiler_static='-Bstatic'
8704           lt_prog_compiler_wl='-Wl,'
8705           ;;
8706         esac
8707         ;;
8708       esac
8709       ;;
8710
8711     newsos6)
8712       lt_prog_compiler_pic='-KPIC'
8713       lt_prog_compiler_static='-Bstatic'
8714       ;;
8715
8716     *nto* | *qnx*)
8717       # QNX uses GNU C++, but need to define -shared option too, otherwise
8718       # it will coredump.
8719       lt_prog_compiler_pic='-fPIC -shared'
8720       ;;
8721
8722     osf3* | osf4* | osf5*)
8723       lt_prog_compiler_wl='-Wl,'
8724       # All OSF/1 code is PIC.
8725       lt_prog_compiler_static='-non_shared'
8726       ;;
8727
8728     rdos*)
8729       lt_prog_compiler_static='-non_shared'
8730       ;;
8731
8732     solaris*)
8733       lt_prog_compiler_pic='-KPIC'
8734       lt_prog_compiler_static='-Bstatic'
8735       case $cc_basename in
8736       f77* | f90* | f95*)
8737         lt_prog_compiler_wl='-Qoption ld ';;
8738       *)
8739         lt_prog_compiler_wl='-Wl,';;
8740       esac
8741       ;;
8742
8743     sunos4*)
8744       lt_prog_compiler_wl='-Qoption ld '
8745       lt_prog_compiler_pic='-PIC'
8746       lt_prog_compiler_static='-Bstatic'
8747       ;;
8748
8749     sysv4 | sysv4.2uw2* | sysv4.3*)
8750       lt_prog_compiler_wl='-Wl,'
8751       lt_prog_compiler_pic='-KPIC'
8752       lt_prog_compiler_static='-Bstatic'
8753       ;;
8754
8755     sysv4*MP*)
8756       if test -d /usr/nec ;then
8757         lt_prog_compiler_pic='-Kconform_pic'
8758         lt_prog_compiler_static='-Bstatic'
8759       fi
8760       ;;
8761
8762     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8763       lt_prog_compiler_wl='-Wl,'
8764       lt_prog_compiler_pic='-KPIC'
8765       lt_prog_compiler_static='-Bstatic'
8766       ;;
8767
8768     unicos*)
8769       lt_prog_compiler_wl='-Wl,'
8770       lt_prog_compiler_can_build_shared=no
8771       ;;
8772
8773     uts4*)
8774       lt_prog_compiler_pic='-pic'
8775       lt_prog_compiler_static='-Bstatic'
8776       ;;
8777
8778     *)
8779       lt_prog_compiler_can_build_shared=no
8780       ;;
8781     esac
8782   fi
8783
8784 case $host_os in
8785   # For platforms which do not support PIC, -DPIC is meaningless:
8786   *djgpp*)
8787     lt_prog_compiler_pic=
8788     ;;
8789   *)
8790     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8791     ;;
8792 esac
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8794 $as_echo "$lt_prog_compiler_pic" >&6; }
8795
8796
8797
8798
8799
8800
8801 #
8802 # Check to make sure the PIC flag actually works.
8803 #
8804 if test -n "$lt_prog_compiler_pic"; then
8805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8806 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8807 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8808   $as_echo_n "(cached) " >&6
8809 else
8810   lt_cv_prog_compiler_pic_works=no
8811    ac_outfile=conftest.$ac_objext
8812    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8813    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8814    # Insert the option either (1) after the last *FLAGS variable, or
8815    # (2) before a word containing "conftest.", or (3) at the end.
8816    # Note that $ac_compile itself does not contain backslashes and begins
8817    # with a dollar sign (not a hyphen), so the echo should work correctly.
8818    # The option is referenced via a variable to avoid confusing sed.
8819    lt_compile=`echo "$ac_compile" | $SED \
8820    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8821    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8822    -e 's:$: $lt_compiler_flag:'`
8823    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8824    (eval "$lt_compile" 2>conftest.err)
8825    ac_status=$?
8826    cat conftest.err >&5
8827    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8828    if (exit $ac_status) && test -s "$ac_outfile"; then
8829      # The compiler can only warn and ignore the option if not recognized
8830      # So say no if there are warnings other than the usual output.
8831      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8832      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8833      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8834        lt_cv_prog_compiler_pic_works=yes
8835      fi
8836    fi
8837    $RM conftest*
8838
8839 fi
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8841 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8842
8843 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8844     case $lt_prog_compiler_pic in
8845      "" | " "*) ;;
8846      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8847      esac
8848 else
8849     lt_prog_compiler_pic=
8850      lt_prog_compiler_can_build_shared=no
8851 fi
8852
8853 fi
8854
8855
8856
8857
8858
8859
8860 #
8861 # Check to make sure the static flag actually works.
8862 #
8863 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8865 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8866 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8867   $as_echo_n "(cached) " >&6
8868 else
8869   lt_cv_prog_compiler_static_works=no
8870    save_LDFLAGS="$LDFLAGS"
8871    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8872    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8873    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8874      # The linker can only warn and ignore the option if not recognized
8875      # So say no if there are warnings
8876      if test -s conftest.err; then
8877        # Append any errors to the config.log.
8878        cat conftest.err 1>&5
8879        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8880        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8881        if diff conftest.exp conftest.er2 >/dev/null; then
8882          lt_cv_prog_compiler_static_works=yes
8883        fi
8884      else
8885        lt_cv_prog_compiler_static_works=yes
8886      fi
8887    fi
8888    $RM -r conftest*
8889    LDFLAGS="$save_LDFLAGS"
8890
8891 fi
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8893 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8894
8895 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8896     :
8897 else
8898     lt_prog_compiler_static=
8899 fi
8900
8901
8902
8903
8904
8905
8906
8907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8908 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8909 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8910   $as_echo_n "(cached) " >&6
8911 else
8912   lt_cv_prog_compiler_c_o=no
8913    $RM -r conftest 2>/dev/null
8914    mkdir conftest
8915    cd conftest
8916    mkdir out
8917    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8918
8919    lt_compiler_flag="-o out/conftest2.$ac_objext"
8920    # Insert the option either (1) after the last *FLAGS variable, or
8921    # (2) before a word containing "conftest.", or (3) at the end.
8922    # Note that $ac_compile itself does not contain backslashes and begins
8923    # with a dollar sign (not a hyphen), so the echo should work correctly.
8924    lt_compile=`echo "$ac_compile" | $SED \
8925    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8926    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8927    -e 's:$: $lt_compiler_flag:'`
8928    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8929    (eval "$lt_compile" 2>out/conftest.err)
8930    ac_status=$?
8931    cat out/conftest.err >&5
8932    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8934    then
8935      # The compiler can only warn and ignore the option if not recognized
8936      # So say no if there are warnings
8937      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8938      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8939      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8940        lt_cv_prog_compiler_c_o=yes
8941      fi
8942    fi
8943    chmod u+w . 2>&5
8944    $RM conftest*
8945    # SGI C++ compiler will create directory out/ii_files/ for
8946    # template instantiation
8947    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8948    $RM out/* && rmdir out
8949    cd ..
8950    $RM -r conftest
8951    $RM conftest*
8952
8953 fi
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8955 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8956
8957
8958
8959
8960
8961
8962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8963 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8964 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8965   $as_echo_n "(cached) " >&6
8966 else
8967   lt_cv_prog_compiler_c_o=no
8968    $RM -r conftest 2>/dev/null
8969    mkdir conftest
8970    cd conftest
8971    mkdir out
8972    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8973
8974    lt_compiler_flag="-o out/conftest2.$ac_objext"
8975    # Insert the option either (1) after the last *FLAGS variable, or
8976    # (2) before a word containing "conftest.", or (3) at the end.
8977    # Note that $ac_compile itself does not contain backslashes and begins
8978    # with a dollar sign (not a hyphen), so the echo should work correctly.
8979    lt_compile=`echo "$ac_compile" | $SED \
8980    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8981    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8982    -e 's:$: $lt_compiler_flag:'`
8983    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8984    (eval "$lt_compile" 2>out/conftest.err)
8985    ac_status=$?
8986    cat out/conftest.err >&5
8987    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8988    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8989    then
8990      # The compiler can only warn and ignore the option if not recognized
8991      # So say no if there are warnings
8992      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8993      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8994      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8995        lt_cv_prog_compiler_c_o=yes
8996      fi
8997    fi
8998    chmod u+w . 2>&5
8999    $RM conftest*
9000    # SGI C++ compiler will create directory out/ii_files/ for
9001    # template instantiation
9002    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9003    $RM out/* && rmdir out
9004    cd ..
9005    $RM -r conftest
9006    $RM conftest*
9007
9008 fi
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9010 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9011
9012
9013
9014
9015 hard_links="nottested"
9016 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9017   # do not overwrite the value of need_locks provided by the user
9018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9019 $as_echo_n "checking if we can lock with hard links... " >&6; }
9020   hard_links=yes
9021   $RM conftest*
9022   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9023   touch conftest.a
9024   ln conftest.a conftest.b 2>&5 || hard_links=no
9025   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9027 $as_echo "$hard_links" >&6; }
9028   if test "$hard_links" = no; then
9029     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9030 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9031     need_locks=warn
9032   fi
9033 else
9034   need_locks=no
9035 fi
9036
9037
9038
9039
9040
9041
9042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9043 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9044
9045   runpath_var=
9046   allow_undefined_flag=
9047   always_export_symbols=no
9048   archive_cmds=
9049   archive_expsym_cmds=
9050   compiler_needs_object=no
9051   enable_shared_with_static_runtimes=no
9052   export_dynamic_flag_spec=
9053   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9054   hardcode_automatic=no
9055   hardcode_direct=no
9056   hardcode_direct_absolute=no
9057   hardcode_libdir_flag_spec=
9058   hardcode_libdir_flag_spec_ld=
9059   hardcode_libdir_separator=
9060   hardcode_minus_L=no
9061   hardcode_shlibpath_var=unsupported
9062   inherit_rpath=no
9063   link_all_deplibs=unknown
9064   module_cmds=
9065   module_expsym_cmds=
9066   old_archive_from_new_cmds=
9067   old_archive_from_expsyms_cmds=
9068   thread_safe_flag_spec=
9069   whole_archive_flag_spec=
9070   # include_expsyms should be a list of space-separated symbols to be *always*
9071   # included in the symbol list
9072   include_expsyms=
9073   # exclude_expsyms can be an extended regexp of symbols to exclude
9074   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9075   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9076   # as well as any symbol that contains `d'.
9077   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9078   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9079   # platforms (ab)use it in PIC code, but their linkers get confused if
9080   # the symbol is explicitly referenced.  Since portable code cannot
9081   # rely on this symbol name, it's probably fine to never include it in
9082   # preloaded symbol tables.
9083   # Exclude shared library initialization/finalization symbols.
9084   extract_expsyms_cmds=
9085
9086   case $host_os in
9087   cygwin* | mingw* | pw32* | cegcc*)
9088     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9089     # When not using gcc, we currently assume that we are using
9090     # Microsoft Visual C++.
9091     if test "$GCC" != yes; then
9092       with_gnu_ld=no
9093     fi
9094     ;;
9095   interix*)
9096     # we just hope/assume this is gcc and not c89 (= MSVC++)
9097     with_gnu_ld=yes
9098     ;;
9099   openbsd*)
9100     with_gnu_ld=no
9101     ;;
9102   esac
9103
9104   ld_shlibs=yes
9105
9106   # On some targets, GNU ld is compatible enough with the native linker
9107   # that we're better off using the native interface for both.
9108   lt_use_gnu_ld_interface=no
9109   if test "$with_gnu_ld" = yes; then
9110     case $host_os in
9111       aix*)
9112         # The AIX port of GNU ld has always aspired to compatibility
9113         # with the native linker.  However, as the warning in the GNU ld
9114         # block says, versions before 2.19.5* couldn't really create working
9115         # shared libraries, regardless of the interface used.
9116         case `$LD -v 2>&1` in
9117           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9118           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9119           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9120           *)
9121             lt_use_gnu_ld_interface=yes
9122             ;;
9123         esac
9124         ;;
9125       *)
9126         lt_use_gnu_ld_interface=yes
9127         ;;
9128     esac
9129   fi
9130
9131   if test "$lt_use_gnu_ld_interface" = yes; then
9132     # If archive_cmds runs LD, not CC, wlarc should be empty
9133     wlarc='${wl}'
9134
9135     # Set some defaults for GNU ld with shared library support. These
9136     # are reset later if shared libraries are not supported. Putting them
9137     # here allows them to be overridden if necessary.
9138     runpath_var=LD_RUN_PATH
9139     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9140     export_dynamic_flag_spec='${wl}--export-dynamic'
9141     # ancient GNU ld didn't support --whole-archive et. al.
9142     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9143       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9144     else
9145       whole_archive_flag_spec=
9146     fi
9147     supports_anon_versioning=no
9148     case `$LD -v 2>&1` in
9149       *GNU\ gold*) supports_anon_versioning=yes ;;
9150       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9151       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9152       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9153       *\ 2.11.*) ;; # other 2.11 versions
9154       *) supports_anon_versioning=yes ;;
9155     esac
9156
9157     # See if GNU ld supports shared libraries.
9158     case $host_os in
9159     aix[3-9]*)
9160       # On AIX/PPC, the GNU linker is very broken
9161       if test "$host_cpu" != ia64; then
9162         ld_shlibs=no
9163         cat <<_LT_EOF 1>&2
9164
9165 *** Warning: the GNU linker, at least up to release 2.19, is reported
9166 *** to be unable to reliably create shared libraries on AIX.
9167 *** Therefore, libtool is disabling shared libraries support.  If you
9168 *** really care for shared libraries, you may want to install binutils
9169 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9170 *** You will then need to restart the configuration process.
9171
9172 _LT_EOF
9173       fi
9174       ;;
9175
9176     amigaos*)
9177       case $host_cpu in
9178       powerpc)
9179             # see comment about AmigaOS4 .so support
9180             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9181             archive_expsym_cmds=''
9182         ;;
9183       m68k)
9184             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)'
9185             hardcode_libdir_flag_spec='-L$libdir'
9186             hardcode_minus_L=yes
9187         ;;
9188       esac
9189       ;;
9190
9191     beos*)
9192       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9193         allow_undefined_flag=unsupported
9194         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9195         # support --undefined.  This deserves some investigation.  FIXME
9196         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9197       else
9198         ld_shlibs=no
9199       fi
9200       ;;
9201
9202     cygwin* | mingw* | pw32* | cegcc*)
9203       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9204       # as there is no search path for DLLs.
9205       hardcode_libdir_flag_spec='-L$libdir'
9206       export_dynamic_flag_spec='${wl}--export-all-symbols'
9207       allow_undefined_flag=unsupported
9208       always_export_symbols=no
9209       enable_shared_with_static_runtimes=yes
9210       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9211
9212       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9213         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9214         # If the export-symbols file already is a .def file (1st line
9215         # is EXPORTS), use it as is; otherwise, prepend...
9216         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9217           cp $export_symbols $output_objdir/$soname.def;
9218         else
9219           echo EXPORTS > $output_objdir/$soname.def;
9220           cat $export_symbols >> $output_objdir/$soname.def;
9221         fi~
9222         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9223       else
9224         ld_shlibs=no
9225       fi
9226       ;;
9227
9228     haiku*)
9229       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9230       link_all_deplibs=yes
9231       ;;
9232
9233     interix[3-9]*)
9234       hardcode_direct=no
9235       hardcode_shlibpath_var=no
9236       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9237       export_dynamic_flag_spec='${wl}-E'
9238       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9239       # Instead, shared libraries are loaded at an image base (0x10000000 by
9240       # default) and relocated if they conflict, which is a slow very memory
9241       # consuming and fragmenting process.  To avoid this, we pick a random,
9242       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9243       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9244       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9245       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'
9246       ;;
9247
9248     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9249       tmp_diet=no
9250       if test "$host_os" = linux-dietlibc; then
9251         case $cc_basename in
9252           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9253         esac
9254       fi
9255       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9256          && test "$tmp_diet" = no
9257       then
9258         tmp_addflag=
9259         tmp_sharedflag='-shared'
9260         case $cc_basename,$host_cpu in
9261         pgcc*)                          # Portland Group C compiler
9262           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9263           tmp_addflag=' $pic_flag'
9264           ;;
9265         pgf77* | pgf90* | pgf95* | pgfortran*)
9266                                         # Portland Group f77 and f90 compilers
9267           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'
9268           tmp_addflag=' $pic_flag -Mnomain' ;;
9269         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9270           tmp_addflag=' -i_dynamic' ;;
9271         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9272           tmp_addflag=' -i_dynamic -nofor_main' ;;
9273         ifc* | ifort*)                  # Intel Fortran compiler
9274           tmp_addflag=' -nofor_main' ;;
9275         lf95*)                          # Lahey Fortran 8.1
9276           whole_archive_flag_spec=
9277           tmp_sharedflag='--shared' ;;
9278         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9279           tmp_sharedflag='-qmkshrobj'
9280           tmp_addflag= ;;
9281         nvcc*)  # Cuda Compiler Driver 2.2
9282           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'
9283           compiler_needs_object=yes
9284           ;;
9285         esac
9286         case `$CC -V 2>&1 | sed 5q` in
9287         *Sun\ C*)                       # Sun C 5.9
9288           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'
9289           compiler_needs_object=yes
9290           tmp_sharedflag='-G' ;;
9291         *Sun\ F*)                       # Sun Fortran 8.3
9292           tmp_sharedflag='-G' ;;
9293         esac
9294         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9295
9296         if test "x$supports_anon_versioning" = xyes; then
9297           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9298             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9299             echo "local: *; };" >> $output_objdir/$libname.ver~
9300             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9301         fi
9302
9303         case $cc_basename in
9304         xlf* | bgf* | bgxlf* | mpixlf*)
9305           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9306           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9307           hardcode_libdir_flag_spec=
9308           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9309           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9310           if test "x$supports_anon_versioning" = xyes; then
9311             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9312               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9313               echo "local: *; };" >> $output_objdir/$libname.ver~
9314               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9315           fi
9316           ;;
9317         esac
9318       else
9319         ld_shlibs=no
9320       fi
9321       ;;
9322
9323     netbsd*)
9324       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9325         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9326         wlarc=
9327       else
9328         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9329         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9330       fi
9331       ;;
9332
9333     solaris*)
9334       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9335         ld_shlibs=no
9336         cat <<_LT_EOF 1>&2
9337
9338 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9339 *** create shared libraries on Solaris systems.  Therefore, libtool
9340 *** is disabling shared libraries support.  We urge you to upgrade GNU
9341 *** binutils to release 2.9.1 or newer.  Another option is to modify
9342 *** your PATH or compiler configuration so that the native linker is
9343 *** used, and then restart.
9344
9345 _LT_EOF
9346       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9347         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9348         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9349       else
9350         ld_shlibs=no
9351       fi
9352       ;;
9353
9354     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9355       case `$LD -v 2>&1` in
9356         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9357         ld_shlibs=no
9358         cat <<_LT_EOF 1>&2
9359
9360 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9361 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9362 *** is disabling shared libraries support.  We urge you to upgrade GNU
9363 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9364 *** your PATH or compiler configuration so that the native linker is
9365 *** used, and then restart.
9366
9367 _LT_EOF
9368         ;;
9369         *)
9370           # For security reasons, it is highly recommended that you always
9371           # use absolute paths for naming shared libraries, and exclude the
9372           # DT_RUNPATH tag from executables and libraries.  But doing so
9373           # requires that you compile everything twice, which is a pain.
9374           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9375             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9376             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9377             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9378           else
9379             ld_shlibs=no
9380           fi
9381         ;;
9382       esac
9383       ;;
9384
9385     sunos4*)
9386       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9387       wlarc=
9388       hardcode_direct=yes
9389       hardcode_shlibpath_var=no
9390       ;;
9391
9392     *)
9393       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9394         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9395         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9396       else
9397         ld_shlibs=no
9398       fi
9399       ;;
9400     esac
9401
9402     if test "$ld_shlibs" = no; then
9403       runpath_var=
9404       hardcode_libdir_flag_spec=
9405       export_dynamic_flag_spec=
9406       whole_archive_flag_spec=
9407     fi
9408   else
9409     # PORTME fill in a description of your system's linker (not GNU ld)
9410     case $host_os in
9411     aix3*)
9412       allow_undefined_flag=unsupported
9413       always_export_symbols=yes
9414       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'
9415       # Note: this linker hardcodes the directories in LIBPATH if there
9416       # are no directories specified by -L.
9417       hardcode_minus_L=yes
9418       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9419         # Neither direct hardcoding nor static linking is supported with a
9420         # broken collect2.
9421         hardcode_direct=unsupported
9422       fi
9423       ;;
9424
9425     aix[4-9]*)
9426       if test "$host_cpu" = ia64; then
9427         # On IA64, the linker does run time linking by default, so we don't
9428         # have to do anything special.
9429         aix_use_runtimelinking=no
9430         exp_sym_flag='-Bexport'
9431         no_entry_flag=""
9432       else
9433         # If we're using GNU nm, then we don't want the "-C" option.
9434         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9435         # Also, AIX nm treats weak defined symbols like other global
9436         # defined symbols, whereas GNU nm marks them as "W".
9437         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9438           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'
9439         else
9440           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'
9441         fi
9442         aix_use_runtimelinking=no
9443
9444         # Test if we are trying to use run time linking or normal
9445         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9446         # need to do runtime linking.
9447         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9448           for ld_flag in $LDFLAGS; do
9449           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9450             aix_use_runtimelinking=yes
9451             break
9452           fi
9453           done
9454           ;;
9455         esac
9456
9457         exp_sym_flag='-bexport'
9458         no_entry_flag='-bnoentry'
9459       fi
9460
9461       # When large executables or shared objects are built, AIX ld can
9462       # have problems creating the table of contents.  If linking a library
9463       # or program results in "error TOC overflow" add -mminimal-toc to
9464       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9465       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9466
9467       archive_cmds=''
9468       hardcode_direct=yes
9469       hardcode_direct_absolute=yes
9470       hardcode_libdir_separator=':'
9471       link_all_deplibs=yes
9472       file_list_spec='${wl}-f,'
9473
9474       if test "$GCC" = yes; then
9475         case $host_os in aix4.[012]|aix4.[012].*)
9476         # We only want to do this on AIX 4.2 and lower, the check
9477         # below for broken collect2 doesn't work under 4.3+
9478           collect2name=`${CC} -print-prog-name=collect2`
9479           if test -f "$collect2name" &&
9480            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9481           then
9482           # We have reworked collect2
9483           :
9484           else
9485           # We have old collect2
9486           hardcode_direct=unsupported
9487           # It fails to find uninstalled libraries when the uninstalled
9488           # path is not listed in the libpath.  Setting hardcode_minus_L
9489           # to unsupported forces relinking
9490           hardcode_minus_L=yes
9491           hardcode_libdir_flag_spec='-L$libdir'
9492           hardcode_libdir_separator=
9493           fi
9494           ;;
9495         esac
9496         shared_flag='-shared'
9497         if test "$aix_use_runtimelinking" = yes; then
9498           shared_flag="$shared_flag "'${wl}-G'
9499         fi
9500       else
9501         # not using gcc
9502         if test "$host_cpu" = ia64; then
9503         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9504         # chokes on -Wl,-G. The following line is correct:
9505           shared_flag='-G'
9506         else
9507           if test "$aix_use_runtimelinking" = yes; then
9508             shared_flag='${wl}-G'
9509           else
9510             shared_flag='${wl}-bM:SRE'
9511           fi
9512         fi
9513       fi
9514
9515       export_dynamic_flag_spec='${wl}-bexpall'
9516       # It seems that -bexpall does not export symbols beginning with
9517       # underscore (_), so it is better to generate a list of symbols to export.
9518       always_export_symbols=yes
9519       if test "$aix_use_runtimelinking" = yes; then
9520         # Warning - without using the other runtime loading flags (-brtl),
9521         # -berok will link without error, but may produce a broken library.
9522         allow_undefined_flag='-berok'
9523         # Determine the default libpath from the value encoded in an
9524         # empty executable.
9525         if test x$gcc_no_link = xyes; then
9526   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9527 fi
9528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9529 /* end confdefs.h.  */
9530
9531 int
9532 main ()
9533 {
9534
9535   ;
9536   return 0;
9537 }
9538 _ACEOF
9539 if ac_fn_c_try_link "$LINENO"; then :
9540
9541 lt_aix_libpath_sed='
9542     /Import File Strings/,/^$/ {
9543         /^0/ {
9544             s/^0  *\(.*\)$/\1/
9545             p
9546         }
9547     }'
9548 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9549 # Check for a 64-bit object if we didn't find anything.
9550 if test -z "$aix_libpath"; then
9551   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9552 fi
9553 fi
9554 rm -f core conftest.err conftest.$ac_objext \
9555     conftest$ac_exeext conftest.$ac_ext
9556 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9557
9558         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9559         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"
9560       else
9561         if test "$host_cpu" = ia64; then
9562           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9563           allow_undefined_flag="-z nodefs"
9564           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"
9565         else
9566          # Determine the default libpath from the value encoded in an
9567          # empty executable.
9568          if test x$gcc_no_link = xyes; then
9569   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9570 fi
9571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9572 /* end confdefs.h.  */
9573
9574 int
9575 main ()
9576 {
9577
9578   ;
9579   return 0;
9580 }
9581 _ACEOF
9582 if ac_fn_c_try_link "$LINENO"; then :
9583
9584 lt_aix_libpath_sed='
9585     /Import File Strings/,/^$/ {
9586         /^0/ {
9587             s/^0  *\(.*\)$/\1/
9588             p
9589         }
9590     }'
9591 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9592 # Check for a 64-bit object if we didn't find anything.
9593 if test -z "$aix_libpath"; then
9594   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9595 fi
9596 fi
9597 rm -f core conftest.err conftest.$ac_objext \
9598     conftest$ac_exeext conftest.$ac_ext
9599 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9600
9601          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9602           # Warning - without using the other run time loading flags,
9603           # -berok will link without error, but may produce a broken library.
9604           no_undefined_flag=' ${wl}-bernotok'
9605           allow_undefined_flag=' ${wl}-berok'
9606           if test "$with_gnu_ld" = yes; then
9607             # We only use this code for GNU lds that support --whole-archive.
9608             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9609           else
9610             # Exported symbols can be pulled into shared objects from archives
9611             whole_archive_flag_spec='$convenience'
9612           fi
9613           archive_cmds_need_lc=yes
9614           # This is similar to how AIX traditionally builds its shared libraries.
9615           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'
9616         fi
9617       fi
9618       ;;
9619
9620     amigaos*)
9621       case $host_cpu in
9622       powerpc)
9623             # see comment about AmigaOS4 .so support
9624             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9625             archive_expsym_cmds=''
9626         ;;
9627       m68k)
9628             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)'
9629             hardcode_libdir_flag_spec='-L$libdir'
9630             hardcode_minus_L=yes
9631         ;;
9632       esac
9633       ;;
9634
9635     bsdi[45]*)
9636       export_dynamic_flag_spec=-rdynamic
9637       ;;
9638
9639     cygwin* | mingw* | pw32* | cegcc*)
9640       # When not using gcc, we currently assume that we are using
9641       # Microsoft Visual C++.
9642       # hardcode_libdir_flag_spec is actually meaningless, as there is
9643       # no search path for DLLs.
9644       hardcode_libdir_flag_spec=' '
9645       allow_undefined_flag=unsupported
9646       # Tell ltmain to make .lib files, not .a files.
9647       libext=lib
9648       # Tell ltmain to make .dll files, not .so files.
9649       shrext_cmds=".dll"
9650       # FIXME: Setting linknames here is a bad hack.
9651       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9652       # The linker will automatically build a .lib file if we build a DLL.
9653       old_archive_from_new_cmds='true'
9654       # FIXME: Should let the user specify the lib program.
9655       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9656       fix_srcfile_path='`cygpath -w "$srcfile"`'
9657       enable_shared_with_static_runtimes=yes
9658       ;;
9659
9660     darwin* | rhapsody*)
9661
9662
9663   archive_cmds_need_lc=no
9664   hardcode_direct=no
9665   hardcode_automatic=yes
9666   hardcode_shlibpath_var=unsupported
9667   if test "$lt_cv_ld_force_load" = "yes"; then
9668     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\"`'
9669   else
9670     whole_archive_flag_spec=''
9671   fi
9672   link_all_deplibs=yes
9673   allow_undefined_flag="$_lt_dar_allow_undefined"
9674   case $cc_basename in
9675      ifort*) _lt_dar_can_shared=yes ;;
9676      *) _lt_dar_can_shared=$GCC ;;
9677   esac
9678   if test "$_lt_dar_can_shared" = "yes"; then
9679     output_verbose_link_cmd=func_echo_all
9680     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9681     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9682     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}"
9683     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}"
9684
9685   else
9686   ld_shlibs=no
9687   fi
9688
9689       ;;
9690
9691     dgux*)
9692       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9693       hardcode_libdir_flag_spec='-L$libdir'
9694       hardcode_shlibpath_var=no
9695       ;;
9696
9697     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9698     # support.  Future versions do this automatically, but an explicit c++rt0.o
9699     # does not break anything, and helps significantly (at the cost of a little
9700     # extra space).
9701     freebsd2.2*)
9702       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9703       hardcode_libdir_flag_spec='-R$libdir'
9704       hardcode_direct=yes
9705       hardcode_shlibpath_var=no
9706       ;;
9707
9708     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9709     freebsd2.*)
9710       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9711       hardcode_direct=yes
9712       hardcode_minus_L=yes
9713       hardcode_shlibpath_var=no
9714       ;;
9715
9716     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9717     freebsd* | dragonfly*)
9718       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9719       hardcode_libdir_flag_spec='-R$libdir'
9720       hardcode_direct=yes
9721       hardcode_shlibpath_var=no
9722       ;;
9723
9724     hpux9*)
9725       if test "$GCC" = yes; then
9726         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'
9727       else
9728         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'
9729       fi
9730       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9731       hardcode_libdir_separator=:
9732       hardcode_direct=yes
9733
9734       # hardcode_minus_L: Not really in the search PATH,
9735       # but as the default location of the library.
9736       hardcode_minus_L=yes
9737       export_dynamic_flag_spec='${wl}-E'
9738       ;;
9739
9740     hpux10*)
9741       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9742         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9743       else
9744         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9745       fi
9746       if test "$with_gnu_ld" = no; then
9747         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9748         hardcode_libdir_flag_spec_ld='+b $libdir'
9749         hardcode_libdir_separator=:
9750         hardcode_direct=yes
9751         hardcode_direct_absolute=yes
9752         export_dynamic_flag_spec='${wl}-E'
9753         # hardcode_minus_L: Not really in the search PATH,
9754         # but as the default location of the library.
9755         hardcode_minus_L=yes
9756       fi
9757       ;;
9758
9759     hpux11*)
9760       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9761         case $host_cpu in
9762         hppa*64*)
9763           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9764           ;;
9765         ia64*)
9766           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9767           ;;
9768         *)
9769           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9770           ;;
9771         esac
9772       else
9773         case $host_cpu in
9774         hppa*64*)
9775           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9776           ;;
9777         ia64*)
9778           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9779           ;;
9780         *)
9781
9782           # Older versions of the 11.00 compiler do not understand -b yet
9783           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9784           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9785 $as_echo_n "checking if $CC understands -b... " >&6; }
9786 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9787   $as_echo_n "(cached) " >&6
9788 else
9789   lt_cv_prog_compiler__b=no
9790    save_LDFLAGS="$LDFLAGS"
9791    LDFLAGS="$LDFLAGS -b"
9792    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9793    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9794      # The linker can only warn and ignore the option if not recognized
9795      # So say no if there are warnings
9796      if test -s conftest.err; then
9797        # Append any errors to the config.log.
9798        cat conftest.err 1>&5
9799        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9800        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9801        if diff conftest.exp conftest.er2 >/dev/null; then
9802          lt_cv_prog_compiler__b=yes
9803        fi
9804      else
9805        lt_cv_prog_compiler__b=yes
9806      fi
9807    fi
9808    $RM -r conftest*
9809    LDFLAGS="$save_LDFLAGS"
9810
9811 fi
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9813 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9814
9815 if test x"$lt_cv_prog_compiler__b" = xyes; then
9816     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9817 else
9818     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9819 fi
9820
9821           ;;
9822         esac
9823       fi
9824       if test "$with_gnu_ld" = no; then
9825         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9826         hardcode_libdir_separator=:
9827
9828         case $host_cpu in
9829         hppa*64*|ia64*)
9830           hardcode_direct=no
9831           hardcode_shlibpath_var=no
9832           ;;
9833         *)
9834           hardcode_direct=yes
9835           hardcode_direct_absolute=yes
9836           export_dynamic_flag_spec='${wl}-E'
9837
9838           # hardcode_minus_L: Not really in the search PATH,
9839           # but as the default location of the library.
9840           hardcode_minus_L=yes
9841           ;;
9842         esac
9843       fi
9844       ;;
9845
9846     irix5* | irix6* | nonstopux*)
9847       if test "$GCC" = yes; then
9848         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'
9849         # Try to use the -exported_symbol ld option, if it does not
9850         # work, assume that -exports_file does not work either and
9851         # implicitly export all symbols.
9852         save_LDFLAGS="$LDFLAGS"
9853         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9854         if test x$gcc_no_link = xyes; then
9855   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9856 fi
9857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9858 /* end confdefs.h.  */
9859 int foo(void) {}
9860 _ACEOF
9861 if ac_fn_c_try_link "$LINENO"; then :
9862   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'
9863
9864 fi
9865 rm -f core conftest.err conftest.$ac_objext \
9866     conftest$ac_exeext conftest.$ac_ext
9867         LDFLAGS="$save_LDFLAGS"
9868       else
9869         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'
9870         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'
9871       fi
9872       archive_cmds_need_lc='no'
9873       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9874       hardcode_libdir_separator=:
9875       inherit_rpath=yes
9876       link_all_deplibs=yes
9877       ;;
9878
9879     netbsd*)
9880       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9881         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9882       else
9883         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9884       fi
9885       hardcode_libdir_flag_spec='-R$libdir'
9886       hardcode_direct=yes
9887       hardcode_shlibpath_var=no
9888       ;;
9889
9890     newsos6)
9891       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9892       hardcode_direct=yes
9893       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9894       hardcode_libdir_separator=:
9895       hardcode_shlibpath_var=no
9896       ;;
9897
9898     *nto* | *qnx*)
9899       ;;
9900
9901     openbsd*)
9902       if test -f /usr/libexec/ld.so; then
9903         hardcode_direct=yes
9904         hardcode_shlibpath_var=no
9905         hardcode_direct_absolute=yes
9906         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9907           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9908           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9909           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9910           export_dynamic_flag_spec='${wl}-E'
9911         else
9912           case $host_os in
9913            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9914              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9915              hardcode_libdir_flag_spec='-R$libdir'
9916              ;;
9917            *)
9918              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9919              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9920              ;;
9921           esac
9922         fi
9923       else
9924         ld_shlibs=no
9925       fi
9926       ;;
9927
9928     os2*)
9929       hardcode_libdir_flag_spec='-L$libdir'
9930       hardcode_minus_L=yes
9931       allow_undefined_flag=unsupported
9932       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'
9933       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9934       ;;
9935
9936     osf3*)
9937       if test "$GCC" = yes; then
9938         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9939         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'
9940       else
9941         allow_undefined_flag=' -expect_unresolved \*'
9942         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'
9943       fi
9944       archive_cmds_need_lc='no'
9945       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9946       hardcode_libdir_separator=:
9947       ;;
9948
9949     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9950       if test "$GCC" = yes; then
9951         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9952         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'
9953         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9954       else
9955         allow_undefined_flag=' -expect_unresolved \*'
9956         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'
9957         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~
9958         $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'
9959
9960         # Both c and cxx compiler support -rpath directly
9961         hardcode_libdir_flag_spec='-rpath $libdir'
9962       fi
9963       archive_cmds_need_lc='no'
9964       hardcode_libdir_separator=:
9965       ;;
9966
9967     solaris*)
9968       no_undefined_flag=' -z defs'
9969       if test "$GCC" = yes; then
9970         wlarc='${wl}'
9971         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9972         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9973           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9974       else
9975         case `$CC -V 2>&1` in
9976         *"Compilers 5.0"*)
9977           wlarc=''
9978           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9979           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9980           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9981           ;;
9982         *)
9983           wlarc='${wl}'
9984           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9985           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9986           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9987           ;;
9988         esac
9989       fi
9990       hardcode_libdir_flag_spec='-R$libdir'
9991       hardcode_shlibpath_var=no
9992       case $host_os in
9993       solaris2.[0-5] | solaris2.[0-5].*) ;;
9994       *)
9995         # The compiler driver will combine and reorder linker options,
9996         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9997         # but is careful enough not to reorder.
9998         # Supported since Solaris 2.6 (maybe 2.5.1?)
9999         if test "$GCC" = yes; then
10000           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10001         else
10002           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10003         fi
10004         ;;
10005       esac
10006       link_all_deplibs=yes
10007       ;;
10008
10009     sunos4*)
10010       if test "x$host_vendor" = xsequent; then
10011         # Use $CC to link under sequent, because it throws in some extra .o
10012         # files that make .init and .fini sections work.
10013         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10014       else
10015         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10016       fi
10017       hardcode_libdir_flag_spec='-L$libdir'
10018       hardcode_direct=yes
10019       hardcode_minus_L=yes
10020       hardcode_shlibpath_var=no
10021       ;;
10022
10023     sysv4)
10024       case $host_vendor in
10025         sni)
10026           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10027           hardcode_direct=yes # is this really true???
10028         ;;
10029         siemens)
10030           ## LD is ld it makes a PLAMLIB
10031           ## CC just makes a GrossModule.
10032           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10033           reload_cmds='$CC -r -o $output$reload_objs'
10034           hardcode_direct=no
10035         ;;
10036         motorola)
10037           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10038           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10039         ;;
10040       esac
10041       runpath_var='LD_RUN_PATH'
10042       hardcode_shlibpath_var=no
10043       ;;
10044
10045     sysv4.3*)
10046       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10047       hardcode_shlibpath_var=no
10048       export_dynamic_flag_spec='-Bexport'
10049       ;;
10050
10051     sysv4*MP*)
10052       if test -d /usr/nec; then
10053         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10054         hardcode_shlibpath_var=no
10055         runpath_var=LD_RUN_PATH
10056         hardcode_runpath_var=yes
10057         ld_shlibs=yes
10058       fi
10059       ;;
10060
10061     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10062       no_undefined_flag='${wl}-z,text'
10063       archive_cmds_need_lc=no
10064       hardcode_shlibpath_var=no
10065       runpath_var='LD_RUN_PATH'
10066
10067       if test "$GCC" = yes; then
10068         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10069         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10070       else
10071         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10072         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10073       fi
10074       ;;
10075
10076     sysv5* | sco3.2v5* | sco5v6*)
10077       # Note: We can NOT use -z defs as we might desire, because we do not
10078       # link with -lc, and that would cause any symbols used from libc to
10079       # always be unresolved, which means just about no library would
10080       # ever link correctly.  If we're not using GNU ld we use -z text
10081       # though, which does catch some bad symbols but isn't as heavy-handed
10082       # as -z defs.
10083       no_undefined_flag='${wl}-z,text'
10084       allow_undefined_flag='${wl}-z,nodefs'
10085       archive_cmds_need_lc=no
10086       hardcode_shlibpath_var=no
10087       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10088       hardcode_libdir_separator=':'
10089       link_all_deplibs=yes
10090       export_dynamic_flag_spec='${wl}-Bexport'
10091       runpath_var='LD_RUN_PATH'
10092
10093       if test "$GCC" = yes; then
10094         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10095         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10096       else
10097         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10098         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10099       fi
10100       ;;
10101
10102     uts4*)
10103       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10104       hardcode_libdir_flag_spec='-L$libdir'
10105       hardcode_shlibpath_var=no
10106       ;;
10107
10108     *)
10109       ld_shlibs=no
10110       ;;
10111     esac
10112
10113     if test x$host_vendor = xsni; then
10114       case $host in
10115       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10116         export_dynamic_flag_spec='${wl}-Blargedynsym'
10117         ;;
10118       esac
10119     fi
10120   fi
10121
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10123 $as_echo "$ld_shlibs" >&6; }
10124 test "$ld_shlibs" = no && can_build_shared=no
10125
10126 with_gnu_ld=$with_gnu_ld
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142 #
10143 # Do we need to explicitly link libc?
10144 #
10145 case "x$archive_cmds_need_lc" in
10146 x|xyes)
10147   # Assume -lc should be added
10148   archive_cmds_need_lc=yes
10149
10150   if test "$enable_shared" = yes && test "$GCC" = yes; then
10151     case $archive_cmds in
10152     *'~'*)
10153       # FIXME: we may have to deal with multi-command sequences.
10154       ;;
10155     '$CC '*)
10156       # Test whether the compiler implicitly links with -lc since on some
10157       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10158       # to ld, don't add -lc before -lgcc.
10159       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10160 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10161 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10162   $as_echo_n "(cached) " >&6
10163 else
10164   $RM conftest*
10165         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10166
10167         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10168   (eval $ac_compile) 2>&5
10169   ac_status=$?
10170   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10171   test $ac_status = 0; } 2>conftest.err; then
10172           soname=conftest
10173           lib=conftest
10174           libobjs=conftest.$ac_objext
10175           deplibs=
10176           wl=$lt_prog_compiler_wl
10177           pic_flag=$lt_prog_compiler_pic
10178           compiler_flags=-v
10179           linker_flags=-v
10180           verstring=
10181           output_objdir=.
10182           libname=conftest
10183           lt_save_allow_undefined_flag=$allow_undefined_flag
10184           allow_undefined_flag=
10185           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10186   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10187   ac_status=$?
10188   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10189   test $ac_status = 0; }
10190           then
10191             lt_cv_archive_cmds_need_lc=no
10192           else
10193             lt_cv_archive_cmds_need_lc=yes
10194           fi
10195           allow_undefined_flag=$lt_save_allow_undefined_flag
10196         else
10197           cat conftest.err 1>&5
10198         fi
10199         $RM conftest*
10200
10201 fi
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10203 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10204       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10205       ;;
10206     esac
10207   fi
10208   ;;
10209 esac
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10368 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10369
10370 if test "$GCC" = yes; then
10371   case $host_os in
10372     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10373     *) lt_awk_arg="/^libraries:/" ;;
10374   esac
10375   case $host_os in
10376     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10377     *) lt_sed_strip_eq="s,=/,/,g" ;;
10378   esac
10379   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10380   case $lt_search_path_spec in
10381   *\;*)
10382     # if the path contains ";" then we assume it to be the separator
10383     # otherwise default to the standard path separator (i.e. ":") - it is
10384     # assumed that no part of a normal pathname contains ";" but that should
10385     # okay in the real world where ";" in dirpaths is itself problematic.
10386     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10387     ;;
10388   *)
10389     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10390     ;;
10391   esac
10392   # Ok, now we have the path, separated by spaces, we can step through it
10393   # and add multilib dir if necessary.
10394   lt_tmp_lt_search_path_spec=
10395   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10396   for lt_sys_path in $lt_search_path_spec; do
10397     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10398       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10399     else
10400       test -d "$lt_sys_path" && \
10401         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10402     fi
10403   done
10404   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10405 BEGIN {RS=" "; FS="/|\n";} {
10406   lt_foo="";
10407   lt_count=0;
10408   for (lt_i = NF; lt_i > 0; lt_i--) {
10409     if ($lt_i != "" && $lt_i != ".") {
10410       if ($lt_i == "..") {
10411         lt_count++;
10412       } else {
10413         if (lt_count == 0) {
10414           lt_foo="/" $lt_i lt_foo;
10415         } else {
10416           lt_count--;
10417         }
10418       }
10419     }
10420   }
10421   if (lt_foo != "") { lt_freq[lt_foo]++; }
10422   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10423 }'`
10424   # AWK program above erroneously prepends '/' to C:/dos/paths
10425   # for these hosts.
10426   case $host_os in
10427     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10428       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10429   esac
10430   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10431 else
10432   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10433 fi
10434 library_names_spec=
10435 libname_spec='lib$name'
10436 soname_spec=
10437 shrext_cmds=".so"
10438 postinstall_cmds=
10439 postuninstall_cmds=
10440 finish_cmds=
10441 finish_eval=
10442 shlibpath_var=
10443 shlibpath_overrides_runpath=unknown
10444 version_type=none
10445 dynamic_linker="$host_os ld.so"
10446 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10447 need_lib_prefix=unknown
10448 hardcode_into_libs=no
10449
10450 # when you set need_version to no, make sure it does not cause -set_version
10451 # flags to be left without arguments
10452 need_version=unknown
10453
10454 case $host_os in
10455 aix3*)
10456   version_type=linux
10457   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10458   shlibpath_var=LIBPATH
10459
10460   # AIX 3 has no versioning support, so we append a major version to the name.
10461   soname_spec='${libname}${release}${shared_ext}$major'
10462   ;;
10463
10464 aix[4-9]*)
10465   version_type=linux
10466   need_lib_prefix=no
10467   need_version=no
10468   hardcode_into_libs=yes
10469   if test "$host_cpu" = ia64; then
10470     # AIX 5 supports IA64
10471     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10472     shlibpath_var=LD_LIBRARY_PATH
10473   else
10474     # With GCC up to 2.95.x, collect2 would create an import file
10475     # for dependence libraries.  The import file would start with
10476     # the line `#! .'.  This would cause the generated library to
10477     # depend on `.', always an invalid library.  This was fixed in
10478     # development snapshots of GCC prior to 3.0.
10479     case $host_os in
10480       aix4 | aix4.[01] | aix4.[01].*)
10481       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10482            echo ' yes '
10483            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10484         :
10485       else
10486         can_build_shared=no
10487       fi
10488       ;;
10489     esac
10490     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10491     # soname into executable. Probably we can add versioning support to
10492     # collect2, so additional links can be useful in future.
10493     if test "$aix_use_runtimelinking" = yes; then
10494       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10495       # instead of lib<name>.a to let people know that these are not
10496       # typical AIX shared libraries.
10497       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10498     else
10499       # We preserve .a as extension for shared libraries through AIX4.2
10500       # and later when we are not doing run time linking.
10501       library_names_spec='${libname}${release}.a $libname.a'
10502       soname_spec='${libname}${release}${shared_ext}$major'
10503     fi
10504     shlibpath_var=LIBPATH
10505   fi
10506   ;;
10507
10508 amigaos*)
10509   case $host_cpu in
10510   powerpc)
10511     # Since July 2007 AmigaOS4 officially supports .so libraries.
10512     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10513     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10514     ;;
10515   m68k)
10516     library_names_spec='$libname.ixlibrary $libname.a'
10517     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10518     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'
10519     ;;
10520   esac
10521   ;;
10522
10523 beos*)
10524   library_names_spec='${libname}${shared_ext}'
10525   dynamic_linker="$host_os ld.so"
10526   shlibpath_var=LIBRARY_PATH
10527   ;;
10528
10529 bsdi[45]*)
10530   version_type=linux
10531   need_version=no
10532   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10533   soname_spec='${libname}${release}${shared_ext}$major'
10534   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10535   shlibpath_var=LD_LIBRARY_PATH
10536   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10537   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10538   # the default ld.so.conf also contains /usr/contrib/lib and
10539   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10540   # libtool to hard-code these into programs
10541   ;;
10542
10543 cygwin* | mingw* | pw32* | cegcc*)
10544   version_type=windows
10545   shrext_cmds=".dll"
10546   need_version=no
10547   need_lib_prefix=no
10548
10549   case $GCC,$host_os in
10550   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10551     library_names_spec='$libname.dll.a'
10552     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10553     postinstall_cmds='base_file=`basename \${file}`~
10554       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10555       dldir=$destdir/`dirname \$dlpath`~
10556       test -d \$dldir || mkdir -p \$dldir~
10557       $install_prog $dir/$dlname \$dldir/$dlname~
10558       chmod a+x \$dldir/$dlname~
10559       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10560         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10561       fi'
10562     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10563       dlpath=$dir/\$dldll~
10564        $RM \$dlpath'
10565     shlibpath_overrides_runpath=yes
10566
10567     case $host_os in
10568     cygwin*)
10569       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10570       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10571
10572       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10573       ;;
10574     mingw* | cegcc*)
10575       # MinGW DLLs use traditional 'lib' prefix
10576       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10577       ;;
10578     pw32*)
10579       # pw32 DLLs use 'pw' prefix rather than 'lib'
10580       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10581       ;;
10582     esac
10583     ;;
10584
10585   *)
10586     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10587     ;;
10588   esac
10589   dynamic_linker='Win32 ld.exe'
10590   # FIXME: first we should search . and the directory the executable is in
10591   shlibpath_var=PATH
10592   ;;
10593
10594 darwin* | rhapsody*)
10595   dynamic_linker="$host_os dyld"
10596   version_type=darwin
10597   need_lib_prefix=no
10598   need_version=no
10599   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10600   soname_spec='${libname}${release}${major}$shared_ext'
10601   shlibpath_overrides_runpath=yes
10602   shlibpath_var=DYLD_LIBRARY_PATH
10603   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10604
10605   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10606   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10607   ;;
10608
10609 dgux*)
10610   version_type=linux
10611   need_lib_prefix=no
10612   need_version=no
10613   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10614   soname_spec='${libname}${release}${shared_ext}$major'
10615   shlibpath_var=LD_LIBRARY_PATH
10616   ;;
10617
10618 freebsd* | dragonfly*)
10619   # DragonFly does not have aout.  When/if they implement a new
10620   # versioning mechanism, adjust this.
10621   if test -x /usr/bin/objformat; then
10622     objformat=`/usr/bin/objformat`
10623   else
10624     case $host_os in
10625     freebsd[23].*) objformat=aout ;;
10626     *) objformat=elf ;;
10627     esac
10628   fi
10629   version_type=freebsd-$objformat
10630   case $version_type in
10631     freebsd-elf*)
10632       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10633       need_version=no
10634       need_lib_prefix=no
10635       ;;
10636     freebsd-*)
10637       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10638       need_version=yes
10639       ;;
10640   esac
10641   shlibpath_var=LD_LIBRARY_PATH
10642   case $host_os in
10643   freebsd2.*)
10644     shlibpath_overrides_runpath=yes
10645     ;;
10646   freebsd3.[01]* | freebsdelf3.[01]*)
10647     shlibpath_overrides_runpath=yes
10648     hardcode_into_libs=yes
10649     ;;
10650   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10651   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10652     shlibpath_overrides_runpath=no
10653     hardcode_into_libs=yes
10654     ;;
10655   *) # from 4.6 on, and DragonFly
10656     shlibpath_overrides_runpath=yes
10657     hardcode_into_libs=yes
10658     ;;
10659   esac
10660   ;;
10661
10662 gnu*)
10663   version_type=linux
10664   need_lib_prefix=no
10665   need_version=no
10666   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10667   soname_spec='${libname}${release}${shared_ext}$major'
10668   shlibpath_var=LD_LIBRARY_PATH
10669   hardcode_into_libs=yes
10670   ;;
10671
10672 haiku*)
10673   version_type=linux
10674   need_lib_prefix=no
10675   need_version=no
10676   dynamic_linker="$host_os runtime_loader"
10677   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10678   soname_spec='${libname}${release}${shared_ext}$major'
10679   shlibpath_var=LIBRARY_PATH
10680   shlibpath_overrides_runpath=yes
10681   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10682   hardcode_into_libs=yes
10683   ;;
10684
10685 hpux9* | hpux10* | hpux11*)
10686   # Give a soname corresponding to the major version so that dld.sl refuses to
10687   # link against other versions.
10688   version_type=sunos
10689   need_lib_prefix=no
10690   need_version=no
10691   case $host_cpu in
10692   ia64*)
10693     shrext_cmds='.so'
10694     hardcode_into_libs=yes
10695     dynamic_linker="$host_os dld.so"
10696     shlibpath_var=LD_LIBRARY_PATH
10697     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10698     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10699     soname_spec='${libname}${release}${shared_ext}$major'
10700     if test "X$HPUX_IA64_MODE" = X32; then
10701       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10702     else
10703       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10704     fi
10705     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10706     ;;
10707   hppa*64*)
10708     shrext_cmds='.sl'
10709     hardcode_into_libs=yes
10710     dynamic_linker="$host_os dld.sl"
10711     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10712     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10713     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10714     soname_spec='${libname}${release}${shared_ext}$major'
10715     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10716     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10717     ;;
10718   *)
10719     shrext_cmds='.sl'
10720     dynamic_linker="$host_os dld.sl"
10721     shlibpath_var=SHLIB_PATH
10722     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10723     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10724     soname_spec='${libname}${release}${shared_ext}$major'
10725     ;;
10726   esac
10727   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10728   postinstall_cmds='chmod 555 $lib'
10729   # or fails outright, so override atomically:
10730   install_override_mode=555
10731   ;;
10732
10733 interix[3-9]*)
10734   version_type=linux
10735   need_lib_prefix=no
10736   need_version=no
10737   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10738   soname_spec='${libname}${release}${shared_ext}$major'
10739   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10740   shlibpath_var=LD_LIBRARY_PATH
10741   shlibpath_overrides_runpath=no
10742   hardcode_into_libs=yes
10743   ;;
10744
10745 irix5* | irix6* | nonstopux*)
10746   case $host_os in
10747     nonstopux*) version_type=nonstopux ;;
10748     *)
10749         if test "$lt_cv_prog_gnu_ld" = yes; then
10750                 version_type=linux
10751         else
10752                 version_type=irix
10753         fi ;;
10754   esac
10755   need_lib_prefix=no
10756   need_version=no
10757   soname_spec='${libname}${release}${shared_ext}$major'
10758   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10759   case $host_os in
10760   irix5* | nonstopux*)
10761     libsuff= shlibsuff=
10762     ;;
10763   *)
10764     case $LD in # libtool.m4 will add one of these switches to LD
10765     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10766       libsuff= shlibsuff= libmagic=32-bit;;
10767     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10768       libsuff=32 shlibsuff=N32 libmagic=N32;;
10769     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10770       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10771     *) libsuff= shlibsuff= libmagic=never-match;;
10772     esac
10773     ;;
10774   esac
10775   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10776   shlibpath_overrides_runpath=no
10777   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10778   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10779   hardcode_into_libs=yes
10780   ;;
10781
10782 # No shared lib support for Linux oldld, aout, or coff.
10783 linux*oldld* | linux*aout* | linux*coff*)
10784   dynamic_linker=no
10785   ;;
10786
10787 # This must be Linux ELF.
10788 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10789   version_type=linux
10790   need_lib_prefix=no
10791   need_version=no
10792   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10793   soname_spec='${libname}${release}${shared_ext}$major'
10794   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10795   shlibpath_var=LD_LIBRARY_PATH
10796   shlibpath_overrides_runpath=no
10797
10798   # Some binutils ld are patched to set DT_RUNPATH
10799   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10800   $as_echo_n "(cached) " >&6
10801 else
10802   lt_cv_shlibpath_overrides_runpath=no
10803     save_LDFLAGS=$LDFLAGS
10804     save_libdir=$libdir
10805     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10806          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10807     if test x$gcc_no_link = xyes; then
10808   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10809 fi
10810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10811 /* end confdefs.h.  */
10812
10813 int
10814 main ()
10815 {
10816
10817   ;
10818   return 0;
10819 }
10820 _ACEOF
10821 if ac_fn_c_try_link "$LINENO"; then :
10822   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10823   lt_cv_shlibpath_overrides_runpath=yes
10824 fi
10825 fi
10826 rm -f core conftest.err conftest.$ac_objext \
10827     conftest$ac_exeext conftest.$ac_ext
10828     LDFLAGS=$save_LDFLAGS
10829     libdir=$save_libdir
10830
10831 fi
10832
10833   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10834
10835   # This implies no fast_install, which is unacceptable.
10836   # Some rework will be needed to allow for fast_install
10837   # before this can be enabled.
10838   hardcode_into_libs=yes
10839
10840   # Append ld.so.conf contents to the search path
10841   if test -f /etc/ld.so.conf; then
10842     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' ' '`
10843     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10844   fi
10845
10846   # We used to test for /lib/ld.so.1 and disable shared libraries on
10847   # powerpc, because MkLinux only supported shared libraries with the
10848   # GNU dynamic linker.  Since this was broken with cross compilers,
10849   # most powerpc-linux boxes support dynamic linking these days and
10850   # people can always --disable-shared, the test was removed, and we
10851   # assume the GNU/Linux dynamic linker is in use.
10852   dynamic_linker='GNU/Linux ld.so'
10853   ;;
10854
10855 netbsd*)
10856   version_type=sunos
10857   need_lib_prefix=no
10858   need_version=no
10859   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10860     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10861     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10862     dynamic_linker='NetBSD (a.out) ld.so'
10863   else
10864     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10865     soname_spec='${libname}${release}${shared_ext}$major'
10866     dynamic_linker='NetBSD ld.elf_so'
10867   fi
10868   shlibpath_var=LD_LIBRARY_PATH
10869   shlibpath_overrides_runpath=yes
10870   hardcode_into_libs=yes
10871   ;;
10872
10873 newsos6)
10874   version_type=linux
10875   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10876   shlibpath_var=LD_LIBRARY_PATH
10877   shlibpath_overrides_runpath=yes
10878   ;;
10879
10880 *nto* | *qnx*)
10881   version_type=qnx
10882   need_lib_prefix=no
10883   need_version=no
10884   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10885   soname_spec='${libname}${release}${shared_ext}$major'
10886   shlibpath_var=LD_LIBRARY_PATH
10887   shlibpath_overrides_runpath=no
10888   hardcode_into_libs=yes
10889   dynamic_linker='ldqnx.so'
10890   ;;
10891
10892 openbsd*)
10893   version_type=sunos
10894   sys_lib_dlsearch_path_spec="/usr/lib"
10895   need_lib_prefix=no
10896   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10897   case $host_os in
10898     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10899     *)                          need_version=no  ;;
10900   esac
10901   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10902   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10903   shlibpath_var=LD_LIBRARY_PATH
10904   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10905     case $host_os in
10906       openbsd2.[89] | openbsd2.[89].*)
10907         shlibpath_overrides_runpath=no
10908         ;;
10909       *)
10910         shlibpath_overrides_runpath=yes
10911         ;;
10912       esac
10913   else
10914     shlibpath_overrides_runpath=yes
10915   fi
10916   ;;
10917
10918 os2*)
10919   libname_spec='$name'
10920   shrext_cmds=".dll"
10921   need_lib_prefix=no
10922   library_names_spec='$libname${shared_ext} $libname.a'
10923   dynamic_linker='OS/2 ld.exe'
10924   shlibpath_var=LIBPATH
10925   ;;
10926
10927 osf3* | osf4* | osf5*)
10928   version_type=osf
10929   need_lib_prefix=no
10930   need_version=no
10931   soname_spec='${libname}${release}${shared_ext}$major'
10932   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10933   shlibpath_var=LD_LIBRARY_PATH
10934   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10935   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10936   ;;
10937
10938 rdos*)
10939   dynamic_linker=no
10940   ;;
10941
10942 solaris*)
10943   version_type=linux
10944   need_lib_prefix=no
10945   need_version=no
10946   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10947   soname_spec='${libname}${release}${shared_ext}$major'
10948   shlibpath_var=LD_LIBRARY_PATH
10949   shlibpath_overrides_runpath=yes
10950   hardcode_into_libs=yes
10951   # ldd complains unless libraries are executable
10952   postinstall_cmds='chmod +x $lib'
10953   ;;
10954
10955 sunos4*)
10956   version_type=sunos
10957   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10958   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10959   shlibpath_var=LD_LIBRARY_PATH
10960   shlibpath_overrides_runpath=yes
10961   if test "$with_gnu_ld" = yes; then
10962     need_lib_prefix=no
10963   fi
10964   need_version=yes
10965   ;;
10966
10967 sysv4 | sysv4.3*)
10968   version_type=linux
10969   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10970   soname_spec='${libname}${release}${shared_ext}$major'
10971   shlibpath_var=LD_LIBRARY_PATH
10972   case $host_vendor in
10973     sni)
10974       shlibpath_overrides_runpath=no
10975       need_lib_prefix=no
10976       runpath_var=LD_RUN_PATH
10977       ;;
10978     siemens)
10979       need_lib_prefix=no
10980       ;;
10981     motorola)
10982       need_lib_prefix=no
10983       need_version=no
10984       shlibpath_overrides_runpath=no
10985       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10986       ;;
10987   esac
10988   ;;
10989
10990 sysv4*MP*)
10991   if test -d /usr/nec ;then
10992     version_type=linux
10993     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10994     soname_spec='$libname${shared_ext}.$major'
10995     shlibpath_var=LD_LIBRARY_PATH
10996   fi
10997   ;;
10998
10999 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11000   version_type=freebsd-elf
11001   need_lib_prefix=no
11002   need_version=no
11003   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11004   soname_spec='${libname}${release}${shared_ext}$major'
11005   shlibpath_var=LD_LIBRARY_PATH
11006   shlibpath_overrides_runpath=yes
11007   hardcode_into_libs=yes
11008   if test "$with_gnu_ld" = yes; then
11009     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11010   else
11011     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11012     case $host_os in
11013       sco3.2v5*)
11014         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11015         ;;
11016     esac
11017   fi
11018   sys_lib_dlsearch_path_spec='/usr/lib'
11019   ;;
11020
11021 tpf*)
11022   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11023   version_type=linux
11024   need_lib_prefix=no
11025   need_version=no
11026   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11027   shlibpath_var=LD_LIBRARY_PATH
11028   shlibpath_overrides_runpath=no
11029   hardcode_into_libs=yes
11030   ;;
11031
11032 uts4*)
11033   version_type=linux
11034   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11035   soname_spec='${libname}${release}${shared_ext}$major'
11036   shlibpath_var=LD_LIBRARY_PATH
11037   ;;
11038
11039 *)
11040   dynamic_linker=no
11041   ;;
11042 esac
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11044 $as_echo "$dynamic_linker" >&6; }
11045 test "$dynamic_linker" = no && can_build_shared=no
11046
11047 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11048 if test "$GCC" = yes; then
11049   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11050 fi
11051
11052 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11053   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11054 fi
11055 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11056   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11057 fi
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11151 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11152 hardcode_action=
11153 if test -n "$hardcode_libdir_flag_spec" ||
11154    test -n "$runpath_var" ||
11155    test "X$hardcode_automatic" = "Xyes" ; then
11156
11157   # We can hardcode non-existent directories.
11158   if test "$hardcode_direct" != no &&
11159      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11160      # have to relink, otherwise we might link with an installed library
11161      # when we should be linking with a yet-to-be-installed one
11162      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11163      test "$hardcode_minus_L" != no; then
11164     # Linking always hardcodes the temporary library directory.
11165     hardcode_action=relink
11166   else
11167     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11168     hardcode_action=immediate
11169   fi
11170 else
11171   # We cannot hardcode anything, or else we can only hardcode existing
11172   # directories.
11173   hardcode_action=unsupported
11174 fi
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11176 $as_echo "$hardcode_action" >&6; }
11177
11178 if test "$hardcode_action" = relink ||
11179    test "$inherit_rpath" = yes; then
11180   # Fast installation is not supported
11181   enable_fast_install=no
11182 elif test "$shlibpath_overrides_runpath" = yes ||
11183      test "$enable_shared" = no; then
11184   # Fast installation is not necessary
11185   enable_fast_install=needless
11186 fi
11187
11188
11189
11190
11191
11192
11193   if test "x$enable_dlopen" != xyes; then
11194   enable_dlopen=unknown
11195   enable_dlopen_self=unknown
11196   enable_dlopen_self_static=unknown
11197 else
11198   lt_cv_dlopen=no
11199   lt_cv_dlopen_libs=
11200
11201   case $host_os in
11202   beos*)
11203     lt_cv_dlopen="load_add_on"
11204     lt_cv_dlopen_libs=
11205     lt_cv_dlopen_self=yes
11206     ;;
11207
11208   mingw* | pw32* | cegcc*)
11209     lt_cv_dlopen="LoadLibrary"
11210     lt_cv_dlopen_libs=
11211     ;;
11212
11213   cygwin*)
11214     lt_cv_dlopen="dlopen"
11215     lt_cv_dlopen_libs=
11216     ;;
11217
11218   darwin*)
11219   # if libdl is installed we need to link against it
11220     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11221 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11222 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11223   $as_echo_n "(cached) " >&6
11224 else
11225   ac_check_lib_save_LIBS=$LIBS
11226 LIBS="-ldl  $LIBS"
11227 if test x$gcc_no_link = xyes; then
11228   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11229 fi
11230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11231 /* end confdefs.h.  */
11232
11233 /* Override any GCC internal prototype to avoid an error.
11234    Use char because int might match the return type of a GCC
11235    builtin and then its argument prototype would still apply.  */
11236 #ifdef __cplusplus
11237 extern "C"
11238 #endif
11239 char dlopen ();
11240 int
11241 main ()
11242 {
11243 return dlopen ();
11244   ;
11245   return 0;
11246 }
11247 _ACEOF
11248 if ac_fn_c_try_link "$LINENO"; then :
11249   ac_cv_lib_dl_dlopen=yes
11250 else
11251   ac_cv_lib_dl_dlopen=no
11252 fi
11253 rm -f core conftest.err conftest.$ac_objext \
11254     conftest$ac_exeext conftest.$ac_ext
11255 LIBS=$ac_check_lib_save_LIBS
11256 fi
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11258 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11259 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11260   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11261 else
11262
11263     lt_cv_dlopen="dyld"
11264     lt_cv_dlopen_libs=
11265     lt_cv_dlopen_self=yes
11266
11267 fi
11268
11269     ;;
11270
11271   *)
11272     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11273 if test "x$ac_cv_func_shl_load" = x""yes; then :
11274   lt_cv_dlopen="shl_load"
11275 else
11276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11277 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11278 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11279   $as_echo_n "(cached) " >&6
11280 else
11281   ac_check_lib_save_LIBS=$LIBS
11282 LIBS="-ldld  $LIBS"
11283 if test x$gcc_no_link = xyes; then
11284   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11285 fi
11286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11287 /* end confdefs.h.  */
11288
11289 /* Override any GCC internal prototype to avoid an error.
11290    Use char because int might match the return type of a GCC
11291    builtin and then its argument prototype would still apply.  */
11292 #ifdef __cplusplus
11293 extern "C"
11294 #endif
11295 char shl_load ();
11296 int
11297 main ()
11298 {
11299 return shl_load ();
11300   ;
11301   return 0;
11302 }
11303 _ACEOF
11304 if ac_fn_c_try_link "$LINENO"; then :
11305   ac_cv_lib_dld_shl_load=yes
11306 else
11307   ac_cv_lib_dld_shl_load=no
11308 fi
11309 rm -f core conftest.err conftest.$ac_objext \
11310     conftest$ac_exeext conftest.$ac_ext
11311 LIBS=$ac_check_lib_save_LIBS
11312 fi
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11314 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11315 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11316   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11317 else
11318   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11319 if test "x$ac_cv_func_dlopen" = x""yes; then :
11320   lt_cv_dlopen="dlopen"
11321 else
11322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11323 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11324 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11325   $as_echo_n "(cached) " >&6
11326 else
11327   ac_check_lib_save_LIBS=$LIBS
11328 LIBS="-ldl  $LIBS"
11329 if test x$gcc_no_link = xyes; then
11330   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11331 fi
11332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h.  */
11334
11335 /* Override any GCC internal prototype to avoid an error.
11336    Use char because int might match the return type of a GCC
11337    builtin and then its argument prototype would still apply.  */
11338 #ifdef __cplusplus
11339 extern "C"
11340 #endif
11341 char dlopen ();
11342 int
11343 main ()
11344 {
11345 return dlopen ();
11346   ;
11347   return 0;
11348 }
11349 _ACEOF
11350 if ac_fn_c_try_link "$LINENO"; then :
11351   ac_cv_lib_dl_dlopen=yes
11352 else
11353   ac_cv_lib_dl_dlopen=no
11354 fi
11355 rm -f core conftest.err conftest.$ac_objext \
11356     conftest$ac_exeext conftest.$ac_ext
11357 LIBS=$ac_check_lib_save_LIBS
11358 fi
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11360 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11361 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11362   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11363 else
11364   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11365 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11366 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11367   $as_echo_n "(cached) " >&6
11368 else
11369   ac_check_lib_save_LIBS=$LIBS
11370 LIBS="-lsvld  $LIBS"
11371 if test x$gcc_no_link = xyes; then
11372   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11373 fi
11374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11375 /* end confdefs.h.  */
11376
11377 /* Override any GCC internal prototype to avoid an error.
11378    Use char because int might match the return type of a GCC
11379    builtin and then its argument prototype would still apply.  */
11380 #ifdef __cplusplus
11381 extern "C"
11382 #endif
11383 char dlopen ();
11384 int
11385 main ()
11386 {
11387 return dlopen ();
11388   ;
11389   return 0;
11390 }
11391 _ACEOF
11392 if ac_fn_c_try_link "$LINENO"; then :
11393   ac_cv_lib_svld_dlopen=yes
11394 else
11395   ac_cv_lib_svld_dlopen=no
11396 fi
11397 rm -f core conftest.err conftest.$ac_objext \
11398     conftest$ac_exeext conftest.$ac_ext
11399 LIBS=$ac_check_lib_save_LIBS
11400 fi
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11402 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11403 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11404   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11405 else
11406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11407 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11408 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11409   $as_echo_n "(cached) " >&6
11410 else
11411   ac_check_lib_save_LIBS=$LIBS
11412 LIBS="-ldld  $LIBS"
11413 if test x$gcc_no_link = xyes; then
11414   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11415 fi
11416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11417 /* end confdefs.h.  */
11418
11419 /* Override any GCC internal prototype to avoid an error.
11420    Use char because int might match the return type of a GCC
11421    builtin and then its argument prototype would still apply.  */
11422 #ifdef __cplusplus
11423 extern "C"
11424 #endif
11425 char dld_link ();
11426 int
11427 main ()
11428 {
11429 return dld_link ();
11430   ;
11431   return 0;
11432 }
11433 _ACEOF
11434 if ac_fn_c_try_link "$LINENO"; then :
11435   ac_cv_lib_dld_dld_link=yes
11436 else
11437   ac_cv_lib_dld_dld_link=no
11438 fi
11439 rm -f core conftest.err conftest.$ac_objext \
11440     conftest$ac_exeext conftest.$ac_ext
11441 LIBS=$ac_check_lib_save_LIBS
11442 fi
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11444 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11445 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11446   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11447 fi
11448
11449
11450 fi
11451
11452
11453 fi
11454
11455
11456 fi
11457
11458
11459 fi
11460
11461
11462 fi
11463
11464     ;;
11465   esac
11466
11467   if test "x$lt_cv_dlopen" != xno; then
11468     enable_dlopen=yes
11469   else
11470     enable_dlopen=no
11471   fi
11472
11473   case $lt_cv_dlopen in
11474   dlopen)
11475     save_CPPFLAGS="$CPPFLAGS"
11476     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11477
11478     save_LDFLAGS="$LDFLAGS"
11479     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11480
11481     save_LIBS="$LIBS"
11482     LIBS="$lt_cv_dlopen_libs $LIBS"
11483
11484     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11485 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11486 if test "${lt_cv_dlopen_self+set}" = set; then :
11487   $as_echo_n "(cached) " >&6
11488 else
11489           if test "$cross_compiling" = yes; then :
11490   lt_cv_dlopen_self=cross
11491 else
11492   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11493   lt_status=$lt_dlunknown
11494   cat > conftest.$ac_ext <<_LT_EOF
11495 #line 11495 "configure"
11496 #include "confdefs.h"
11497
11498 #if HAVE_DLFCN_H
11499 #include <dlfcn.h>
11500 #endif
11501
11502 #include <stdio.h>
11503
11504 #ifdef RTLD_GLOBAL
11505 #  define LT_DLGLOBAL           RTLD_GLOBAL
11506 #else
11507 #  ifdef DL_GLOBAL
11508 #    define LT_DLGLOBAL         DL_GLOBAL
11509 #  else
11510 #    define LT_DLGLOBAL         0
11511 #  endif
11512 #endif
11513
11514 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11515    find out it does not work in some platform. */
11516 #ifndef LT_DLLAZY_OR_NOW
11517 #  ifdef RTLD_LAZY
11518 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11519 #  else
11520 #    ifdef DL_LAZY
11521 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11522 #    else
11523 #      ifdef RTLD_NOW
11524 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11525 #      else
11526 #        ifdef DL_NOW
11527 #          define LT_DLLAZY_OR_NOW      DL_NOW
11528 #        else
11529 #          define LT_DLLAZY_OR_NOW      0
11530 #        endif
11531 #      endif
11532 #    endif
11533 #  endif
11534 #endif
11535
11536 /* When -fvisbility=hidden is used, assume the code has been annotated
11537    correspondingly for the symbols needed.  */
11538 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11539 void fnord () __attribute__((visibility("default")));
11540 #endif
11541
11542 void fnord () { int i=42; }
11543 int main ()
11544 {
11545   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11546   int status = $lt_dlunknown;
11547
11548   if (self)
11549     {
11550       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11551       else
11552         {
11553           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11554           else puts (dlerror ());
11555         }
11556       /* dlclose (self); */
11557     }
11558   else
11559     puts (dlerror ());
11560
11561   return status;
11562 }
11563 _LT_EOF
11564   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11565   (eval $ac_link) 2>&5
11566   ac_status=$?
11567   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11568   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11569     (./conftest; exit; ) >&5 2>/dev/null
11570     lt_status=$?
11571     case x$lt_status in
11572       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11573       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11574       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11575     esac
11576   else :
11577     # compilation failed
11578     lt_cv_dlopen_self=no
11579   fi
11580 fi
11581 rm -fr conftest*
11582
11583
11584 fi
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11586 $as_echo "$lt_cv_dlopen_self" >&6; }
11587
11588     if test "x$lt_cv_dlopen_self" = xyes; then
11589       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11590       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11591 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11592 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11593   $as_echo_n "(cached) " >&6
11594 else
11595           if test "$cross_compiling" = yes; then :
11596   lt_cv_dlopen_self_static=cross
11597 else
11598   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11599   lt_status=$lt_dlunknown
11600   cat > conftest.$ac_ext <<_LT_EOF
11601 #line 11601 "configure"
11602 #include "confdefs.h"
11603
11604 #if HAVE_DLFCN_H
11605 #include <dlfcn.h>
11606 #endif
11607
11608 #include <stdio.h>
11609
11610 #ifdef RTLD_GLOBAL
11611 #  define LT_DLGLOBAL           RTLD_GLOBAL
11612 #else
11613 #  ifdef DL_GLOBAL
11614 #    define LT_DLGLOBAL         DL_GLOBAL
11615 #  else
11616 #    define LT_DLGLOBAL         0
11617 #  endif
11618 #endif
11619
11620 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11621    find out it does not work in some platform. */
11622 #ifndef LT_DLLAZY_OR_NOW
11623 #  ifdef RTLD_LAZY
11624 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11625 #  else
11626 #    ifdef DL_LAZY
11627 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11628 #    else
11629 #      ifdef RTLD_NOW
11630 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11631 #      else
11632 #        ifdef DL_NOW
11633 #          define LT_DLLAZY_OR_NOW      DL_NOW
11634 #        else
11635 #          define LT_DLLAZY_OR_NOW      0
11636 #        endif
11637 #      endif
11638 #    endif
11639 #  endif
11640 #endif
11641
11642 /* When -fvisbility=hidden is used, assume the code has been annotated
11643    correspondingly for the symbols needed.  */
11644 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11645 void fnord () __attribute__((visibility("default")));
11646 #endif
11647
11648 void fnord () { int i=42; }
11649 int main ()
11650 {
11651   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11652   int status = $lt_dlunknown;
11653
11654   if (self)
11655     {
11656       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11657       else
11658         {
11659           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11660           else puts (dlerror ());
11661         }
11662       /* dlclose (self); */
11663     }
11664   else
11665     puts (dlerror ());
11666
11667   return status;
11668 }
11669 _LT_EOF
11670   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11671   (eval $ac_link) 2>&5
11672   ac_status=$?
11673   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11674   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11675     (./conftest; exit; ) >&5 2>/dev/null
11676     lt_status=$?
11677     case x$lt_status in
11678       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11679       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11680       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11681     esac
11682   else :
11683     # compilation failed
11684     lt_cv_dlopen_self_static=no
11685   fi
11686 fi
11687 rm -fr conftest*
11688
11689
11690 fi
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11692 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11693     fi
11694
11695     CPPFLAGS="$save_CPPFLAGS"
11696     LDFLAGS="$save_LDFLAGS"
11697     LIBS="$save_LIBS"
11698     ;;
11699   esac
11700
11701   case $lt_cv_dlopen_self in
11702   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11703   *) enable_dlopen_self=unknown ;;
11704   esac
11705
11706   case $lt_cv_dlopen_self_static in
11707   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11708   *) enable_dlopen_self_static=unknown ;;
11709   esac
11710 fi
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728 striplib=
11729 old_striplib=
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11731 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11732 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11733   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11734   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11736 $as_echo "yes" >&6; }
11737 else
11738 # FIXME - insert some real tests, host_os isn't really good enough
11739   case $host_os in
11740   darwin*)
11741     if test -n "$STRIP" ; then
11742       striplib="$STRIP -x"
11743       old_striplib="$STRIP -S"
11744       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11745 $as_echo "yes" >&6; }
11746     else
11747       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11748 $as_echo "no" >&6; }
11749     fi
11750     ;;
11751   *)
11752     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11753 $as_echo "no" >&6; }
11754     ;;
11755   esac
11756 fi
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769   # Report which library types will actually be built
11770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11771 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11773 $as_echo "$can_build_shared" >&6; }
11774
11775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11776 $as_echo_n "checking whether to build shared libraries... " >&6; }
11777   test "$can_build_shared" = "no" && enable_shared=no
11778
11779   # On AIX, shared libraries and static libraries use the same namespace, and
11780   # are all built from PIC.
11781   case $host_os in
11782   aix3*)
11783     test "$enable_shared" = yes && enable_static=no
11784     if test -n "$RANLIB"; then
11785       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11786       postinstall_cmds='$RANLIB $lib'
11787     fi
11788     ;;
11789
11790   aix[4-9]*)
11791     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11792       test "$enable_shared" = yes && enable_static=no
11793     fi
11794     ;;
11795   esac
11796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11797 $as_echo "$enable_shared" >&6; }
11798
11799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11800 $as_echo_n "checking whether to build static libraries... " >&6; }
11801   # Make sure either enable_shared or enable_static is yes.
11802   test "$enable_shared" = yes || enable_static=yes
11803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11804 $as_echo "$enable_static" >&6; }
11805
11806
11807
11808
11809 fi
11810 ac_ext=c
11811 ac_cpp='$CPP $CPPFLAGS'
11812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11815
11816 CC="$lt_save_CC"
11817
11818       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11819     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11820     (test "X$CXX" != "Xg++"))) ; then
11821   ac_ext=cpp
11822 ac_cpp='$CXXCPP $CPPFLAGS'
11823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11827 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11828 if test -z "$CXXCPP"; then
11829   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11830   $as_echo_n "(cached) " >&6
11831 else
11832       # Double quotes because CXXCPP needs to be expanded
11833     for CXXCPP in "$CXX -E" "/lib/cpp"
11834     do
11835       ac_preproc_ok=false
11836 for ac_cxx_preproc_warn_flag in '' yes
11837 do
11838   # Use a header file that comes with gcc, so configuring glibc
11839   # with a fresh cross-compiler works.
11840   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11841   # <limits.h> exists even on freestanding compilers.
11842   # On the NeXT, cc -E runs the code through the compiler's parser,
11843   # not just through cpp. "Syntax error" is here to catch this case.
11844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11845 /* end confdefs.h.  */
11846 #ifdef __STDC__
11847 # include <limits.h>
11848 #else
11849 # include <assert.h>
11850 #endif
11851                      Syntax error
11852 _ACEOF
11853 if ac_fn_cxx_try_cpp "$LINENO"; then :
11854
11855 else
11856   # Broken: fails on valid input.
11857 continue
11858 fi
11859 rm -f conftest.err conftest.$ac_ext
11860
11861   # OK, works on sane cases.  Now check whether nonexistent headers
11862   # can be detected and how.
11863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11864 /* end confdefs.h.  */
11865 #include <ac_nonexistent.h>
11866 _ACEOF
11867 if ac_fn_cxx_try_cpp "$LINENO"; then :
11868   # Broken: success on invalid input.
11869 continue
11870 else
11871   # Passes both tests.
11872 ac_preproc_ok=:
11873 break
11874 fi
11875 rm -f conftest.err conftest.$ac_ext
11876
11877 done
11878 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11879 rm -f conftest.err conftest.$ac_ext
11880 if $ac_preproc_ok; then :
11881   break
11882 fi
11883
11884     done
11885     ac_cv_prog_CXXCPP=$CXXCPP
11886
11887 fi
11888   CXXCPP=$ac_cv_prog_CXXCPP
11889 else
11890   ac_cv_prog_CXXCPP=$CXXCPP
11891 fi
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11893 $as_echo "$CXXCPP" >&6; }
11894 ac_preproc_ok=false
11895 for ac_cxx_preproc_warn_flag in '' yes
11896 do
11897   # Use a header file that comes with gcc, so configuring glibc
11898   # with a fresh cross-compiler works.
11899   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11900   # <limits.h> exists even on freestanding compilers.
11901   # On the NeXT, cc -E runs the code through the compiler's parser,
11902   # not just through cpp. "Syntax error" is here to catch this case.
11903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11904 /* end confdefs.h.  */
11905 #ifdef __STDC__
11906 # include <limits.h>
11907 #else
11908 # include <assert.h>
11909 #endif
11910                      Syntax error
11911 _ACEOF
11912 if ac_fn_cxx_try_cpp "$LINENO"; then :
11913
11914 else
11915   # Broken: fails on valid input.
11916 continue
11917 fi
11918 rm -f conftest.err conftest.$ac_ext
11919
11920   # OK, works on sane cases.  Now check whether nonexistent headers
11921   # can be detected and how.
11922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11923 /* end confdefs.h.  */
11924 #include <ac_nonexistent.h>
11925 _ACEOF
11926 if ac_fn_cxx_try_cpp "$LINENO"; then :
11927   # Broken: success on invalid input.
11928 continue
11929 else
11930   # Passes both tests.
11931 ac_preproc_ok=:
11932 break
11933 fi
11934 rm -f conftest.err conftest.$ac_ext
11935
11936 done
11937 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11938 rm -f conftest.err conftest.$ac_ext
11939 if $ac_preproc_ok; then :
11940
11941 else
11942   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11944 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11945 See \`config.log' for more details." "$LINENO" 5; }
11946 fi
11947
11948 ac_ext=c
11949 ac_cpp='$CPP $CPPFLAGS'
11950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11953
11954 else
11955   _lt_caught_CXX_error=yes
11956 fi
11957
11958 ac_ext=cpp
11959 ac_cpp='$CXXCPP $CPPFLAGS'
11960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11963
11964 archive_cmds_need_lc_CXX=no
11965 allow_undefined_flag_CXX=
11966 always_export_symbols_CXX=no
11967 archive_expsym_cmds_CXX=
11968 compiler_needs_object_CXX=no
11969 export_dynamic_flag_spec_CXX=
11970 hardcode_direct_CXX=no
11971 hardcode_direct_absolute_CXX=no
11972 hardcode_libdir_flag_spec_CXX=
11973 hardcode_libdir_flag_spec_ld_CXX=
11974 hardcode_libdir_separator_CXX=
11975 hardcode_minus_L_CXX=no
11976 hardcode_shlibpath_var_CXX=unsupported
11977 hardcode_automatic_CXX=no
11978 inherit_rpath_CXX=no
11979 module_cmds_CXX=
11980 module_expsym_cmds_CXX=
11981 link_all_deplibs_CXX=unknown
11982 old_archive_cmds_CXX=$old_archive_cmds
11983 reload_flag_CXX=$reload_flag
11984 reload_cmds_CXX=$reload_cmds
11985 no_undefined_flag_CXX=
11986 whole_archive_flag_spec_CXX=
11987 enable_shared_with_static_runtimes_CXX=no
11988
11989 # Source file extension for C++ test sources.
11990 ac_ext=cpp
11991
11992 # Object file extension for compiled C++ test sources.
11993 objext=o
11994 objext_CXX=$objext
11995
11996 # No sense in running all these tests if we already determined that
11997 # the CXX compiler isn't working.  Some variables (like enable_shared)
11998 # are currently assumed to apply to all compilers on this platform,
11999 # and will be corrupted by setting them based on a non-working compiler.
12000 if test "$_lt_caught_CXX_error" != yes; then
12001   # Code to be used in simple compile tests
12002   lt_simple_compile_test_code="int some_variable = 0;"
12003
12004   # Code to be used in simple link tests
12005   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12006
12007   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12008
12009
12010
12011
12012
12013
12014 # If no C compiler was specified, use CC.
12015 LTCC=${LTCC-"$CC"}
12016
12017 # If no C compiler flags were specified, use CFLAGS.
12018 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12019
12020 # Allow CC to be a program name with arguments.
12021 compiler=$CC
12022
12023
12024   # save warnings/boilerplate of simple test code
12025   ac_outfile=conftest.$ac_objext
12026 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12027 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12028 _lt_compiler_boilerplate=`cat conftest.err`
12029 $RM conftest*
12030
12031   ac_outfile=conftest.$ac_objext
12032 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12033 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12034 _lt_linker_boilerplate=`cat conftest.err`
12035 $RM -r conftest*
12036
12037
12038   # Allow CC to be a program name with arguments.
12039   lt_save_CC=$CC
12040   lt_save_LD=$LD
12041   lt_save_GCC=$GCC
12042   GCC=$GXX
12043   lt_save_with_gnu_ld=$with_gnu_ld
12044   lt_save_path_LD=$lt_cv_path_LD
12045   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12046     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12047   else
12048     $as_unset lt_cv_prog_gnu_ld
12049   fi
12050   if test -n "${lt_cv_path_LDCXX+set}"; then
12051     lt_cv_path_LD=$lt_cv_path_LDCXX
12052   else
12053     $as_unset lt_cv_path_LD
12054   fi
12055   test -z "${LDCXX+set}" || LD=$LDCXX
12056   CC=${CXX-"c++"}
12057   compiler=$CC
12058   compiler_CXX=$CC
12059   for cc_temp in $compiler""; do
12060   case $cc_temp in
12061     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12062     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12063     \-*) ;;
12064     *) break;;
12065   esac
12066 done
12067 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12068
12069
12070   if test -n "$compiler"; then
12071     # We don't want -fno-exception when compiling C++ code, so set the
12072     # no_builtin_flag separately
12073     if test "$GXX" = yes; then
12074       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12075     else
12076       lt_prog_compiler_no_builtin_flag_CXX=
12077     fi
12078
12079     if test "$GXX" = yes; then
12080       # Set up default GNU C++ configuration
12081
12082
12083
12084 # Check whether --with-gnu-ld was given.
12085 if test "${with_gnu_ld+set}" = set; then :
12086   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12087 else
12088   with_gnu_ld=no
12089 fi
12090
12091 ac_prog=ld
12092 if test "$GCC" = yes; then
12093   # Check if gcc -print-prog-name=ld gives a path.
12094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12095 $as_echo_n "checking for ld used by $CC... " >&6; }
12096   case $host in
12097   *-*-mingw*)
12098     # gcc leaves a trailing carriage return which upsets mingw
12099     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12100   *)
12101     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12102   esac
12103   case $ac_prog in
12104     # Accept absolute paths.
12105     [\\/]* | ?:[\\/]*)
12106       re_direlt='/[^/][^/]*/\.\./'
12107       # Canonicalize the pathname of ld
12108       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12109       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12110         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12111       done
12112       test -z "$LD" && LD="$ac_prog"
12113       ;;
12114   "")
12115     # If it fails, then pretend we aren't using GCC.
12116     ac_prog=ld
12117     ;;
12118   *)
12119     # If it is relative, then search for the first ld in PATH.
12120     with_gnu_ld=unknown
12121     ;;
12122   esac
12123 elif test "$with_gnu_ld" = yes; then
12124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12125 $as_echo_n "checking for GNU ld... " >&6; }
12126 else
12127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12128 $as_echo_n "checking for non-GNU ld... " >&6; }
12129 fi
12130 if test "${lt_cv_path_LD+set}" = set; then :
12131   $as_echo_n "(cached) " >&6
12132 else
12133   if test -z "$LD"; then
12134   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12135   for ac_dir in $PATH; do
12136     IFS="$lt_save_ifs"
12137     test -z "$ac_dir" && ac_dir=.
12138     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12139       lt_cv_path_LD="$ac_dir/$ac_prog"
12140       # Check to see if the program is GNU ld.  I'd rather use --version,
12141       # but apparently some variants of GNU ld only accept -v.
12142       # Break only if it was the GNU/non-GNU ld that we prefer.
12143       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12144       *GNU* | *'with BFD'*)
12145         test "$with_gnu_ld" != no && break
12146         ;;
12147       *)
12148         test "$with_gnu_ld" != yes && break
12149         ;;
12150       esac
12151     fi
12152   done
12153   IFS="$lt_save_ifs"
12154 else
12155   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12156 fi
12157 fi
12158
12159 LD="$lt_cv_path_LD"
12160 if test -n "$LD"; then
12161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12162 $as_echo "$LD" >&6; }
12163 else
12164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12165 $as_echo "no" >&6; }
12166 fi
12167 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12169 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12170 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12171   $as_echo_n "(cached) " >&6
12172 else
12173   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12174 case `$LD -v 2>&1 </dev/null` in
12175 *GNU* | *'with BFD'*)
12176   lt_cv_prog_gnu_ld=yes
12177   ;;
12178 *)
12179   lt_cv_prog_gnu_ld=no
12180   ;;
12181 esac
12182 fi
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12184 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12185 with_gnu_ld=$lt_cv_prog_gnu_ld
12186
12187
12188
12189
12190
12191
12192
12193       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12194       # archiving commands below assume that GNU ld is being used.
12195       if test "$with_gnu_ld" = yes; then
12196         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12197         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'
12198
12199         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12200         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12201
12202         # If archive_cmds runs LD, not CC, wlarc should be empty
12203         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12204         #     investigate it a little bit more. (MM)
12205         wlarc='${wl}'
12206
12207         # ancient GNU ld didn't support --whole-archive et. al.
12208         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12209           $GREP 'no-whole-archive' > /dev/null; then
12210           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12211         else
12212           whole_archive_flag_spec_CXX=
12213         fi
12214       else
12215         with_gnu_ld=no
12216         wlarc=
12217
12218         # A generic and very simple default shared library creation
12219         # command for GNU C++ for the case where it uses the native
12220         # linker, instead of GNU ld.  If possible, this setting should
12221         # overridden to take advantage of the native linker features on
12222         # the platform it is being used on.
12223         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12224       fi
12225
12226       # Commands to make compiler produce verbose output that lists
12227       # what "hidden" libraries, object files and flags are used when
12228       # linking a shared library.
12229       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12230
12231     else
12232       GXX=no
12233       with_gnu_ld=no
12234       wlarc=
12235     fi
12236
12237     # PORTME: fill in a description of your system's C++ link characteristics
12238     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12239 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12240     ld_shlibs_CXX=yes
12241     case $host_os in
12242       aix3*)
12243         # FIXME: insert proper C++ library support
12244         ld_shlibs_CXX=no
12245         ;;
12246       aix[4-9]*)
12247         if test "$host_cpu" = ia64; then
12248           # On IA64, the linker does run time linking by default, so we don't
12249           # have to do anything special.
12250           aix_use_runtimelinking=no
12251           exp_sym_flag='-Bexport'
12252           no_entry_flag=""
12253         else
12254           aix_use_runtimelinking=no
12255
12256           # Test if we are trying to use run time linking or normal
12257           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12258           # need to do runtime linking.
12259           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12260             for ld_flag in $LDFLAGS; do
12261               case $ld_flag in
12262               *-brtl*)
12263                 aix_use_runtimelinking=yes
12264                 break
12265                 ;;
12266               esac
12267             done
12268             ;;
12269           esac
12270
12271           exp_sym_flag='-bexport'
12272           no_entry_flag='-bnoentry'
12273         fi
12274
12275         # When large executables or shared objects are built, AIX ld can
12276         # have problems creating the table of contents.  If linking a library
12277         # or program results in "error TOC overflow" add -mminimal-toc to
12278         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12279         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12280
12281         archive_cmds_CXX=''
12282         hardcode_direct_CXX=yes
12283         hardcode_direct_absolute_CXX=yes
12284         hardcode_libdir_separator_CXX=':'
12285         link_all_deplibs_CXX=yes
12286         file_list_spec_CXX='${wl}-f,'
12287
12288         if test "$GXX" = yes; then
12289           case $host_os in aix4.[012]|aix4.[012].*)
12290           # We only want to do this on AIX 4.2 and lower, the check
12291           # below for broken collect2 doesn't work under 4.3+
12292           collect2name=`${CC} -print-prog-name=collect2`
12293           if test -f "$collect2name" &&
12294              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12295           then
12296             # We have reworked collect2
12297             :
12298           else
12299             # We have old collect2
12300             hardcode_direct_CXX=unsupported
12301             # It fails to find uninstalled libraries when the uninstalled
12302             # path is not listed in the libpath.  Setting hardcode_minus_L
12303             # to unsupported forces relinking
12304             hardcode_minus_L_CXX=yes
12305             hardcode_libdir_flag_spec_CXX='-L$libdir'
12306             hardcode_libdir_separator_CXX=
12307           fi
12308           esac
12309           shared_flag='-shared'
12310           if test "$aix_use_runtimelinking" = yes; then
12311             shared_flag="$shared_flag "'${wl}-G'
12312           fi
12313         else
12314           # not using gcc
12315           if test "$host_cpu" = ia64; then
12316           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12317           # chokes on -Wl,-G. The following line is correct:
12318           shared_flag='-G'
12319           else
12320             if test "$aix_use_runtimelinking" = yes; then
12321               shared_flag='${wl}-G'
12322             else
12323               shared_flag='${wl}-bM:SRE'
12324             fi
12325           fi
12326         fi
12327
12328         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12329         # It seems that -bexpall does not export symbols beginning with
12330         # underscore (_), so it is better to generate a list of symbols to
12331         # export.
12332         always_export_symbols_CXX=yes
12333         if test "$aix_use_runtimelinking" = yes; then
12334           # Warning - without using the other runtime loading flags (-brtl),
12335           # -berok will link without error, but may produce a broken library.
12336           allow_undefined_flag_CXX='-berok'
12337           # Determine the default libpath from the value encoded in an empty
12338           # executable.
12339           if test x$gcc_no_link = xyes; then
12340   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12341 fi
12342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12343 /* end confdefs.h.  */
12344
12345 int
12346 main ()
12347 {
12348
12349   ;
12350   return 0;
12351 }
12352 _ACEOF
12353 if ac_fn_cxx_try_link "$LINENO"; then :
12354
12355 lt_aix_libpath_sed='
12356     /Import File Strings/,/^$/ {
12357         /^0/ {
12358             s/^0  *\(.*\)$/\1/
12359             p
12360         }
12361     }'
12362 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12363 # Check for a 64-bit object if we didn't find anything.
12364 if test -z "$aix_libpath"; then
12365   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12366 fi
12367 fi
12368 rm -f core conftest.err conftest.$ac_objext \
12369     conftest$ac_exeext conftest.$ac_ext
12370 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12371
12372           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12373
12374           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"
12375         else
12376           if test "$host_cpu" = ia64; then
12377             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12378             allow_undefined_flag_CXX="-z nodefs"
12379             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"
12380           else
12381             # Determine the default libpath from the value encoded in an
12382             # empty executable.
12383             if test x$gcc_no_link = xyes; then
12384   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12385 fi
12386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12387 /* end confdefs.h.  */
12388
12389 int
12390 main ()
12391 {
12392
12393   ;
12394   return 0;
12395 }
12396 _ACEOF
12397 if ac_fn_cxx_try_link "$LINENO"; then :
12398
12399 lt_aix_libpath_sed='
12400     /Import File Strings/,/^$/ {
12401         /^0/ {
12402             s/^0  *\(.*\)$/\1/
12403             p
12404         }
12405     }'
12406 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12407 # Check for a 64-bit object if we didn't find anything.
12408 if test -z "$aix_libpath"; then
12409   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12410 fi
12411 fi
12412 rm -f core conftest.err conftest.$ac_objext \
12413     conftest$ac_exeext conftest.$ac_ext
12414 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12415
12416             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12417             # Warning - without using the other run time loading flags,
12418             # -berok will link without error, but may produce a broken library.
12419             no_undefined_flag_CXX=' ${wl}-bernotok'
12420             allow_undefined_flag_CXX=' ${wl}-berok'
12421             if test "$with_gnu_ld" = yes; then
12422               # We only use this code for GNU lds that support --whole-archive.
12423               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12424             else
12425               # Exported symbols can be pulled into shared objects from archives
12426               whole_archive_flag_spec_CXX='$convenience'
12427             fi
12428             archive_cmds_need_lc_CXX=yes
12429             # This is similar to how AIX traditionally builds its shared
12430             # libraries.
12431             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'
12432           fi
12433         fi
12434         ;;
12435
12436       beos*)
12437         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12438           allow_undefined_flag_CXX=unsupported
12439           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12440           # support --undefined.  This deserves some investigation.  FIXME
12441           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12442         else
12443           ld_shlibs_CXX=no
12444         fi
12445         ;;
12446
12447       chorus*)
12448         case $cc_basename in
12449           *)
12450           # FIXME: insert proper C++ library support
12451           ld_shlibs_CXX=no
12452           ;;
12453         esac
12454         ;;
12455
12456       cygwin* | mingw* | pw32* | cegcc*)
12457         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12458         # as there is no search path for DLLs.
12459         hardcode_libdir_flag_spec_CXX='-L$libdir'
12460         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12461         allow_undefined_flag_CXX=unsupported
12462         always_export_symbols_CXX=no
12463         enable_shared_with_static_runtimes_CXX=yes
12464
12465         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12466           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'
12467           # If the export-symbols file already is a .def file (1st line
12468           # is EXPORTS), use it as is; otherwise, prepend...
12469           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12470             cp $export_symbols $output_objdir/$soname.def;
12471           else
12472             echo EXPORTS > $output_objdir/$soname.def;
12473             cat $export_symbols >> $output_objdir/$soname.def;
12474           fi~
12475           $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'
12476         else
12477           ld_shlibs_CXX=no
12478         fi
12479         ;;
12480       darwin* | rhapsody*)
12481
12482
12483   archive_cmds_need_lc_CXX=no
12484   hardcode_direct_CXX=no
12485   hardcode_automatic_CXX=yes
12486   hardcode_shlibpath_var_CXX=unsupported
12487   if test "$lt_cv_ld_force_load" = "yes"; then
12488     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\"`'
12489   else
12490     whole_archive_flag_spec_CXX=''
12491   fi
12492   link_all_deplibs_CXX=yes
12493   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12494   case $cc_basename in
12495      ifort*) _lt_dar_can_shared=yes ;;
12496      *) _lt_dar_can_shared=$GCC ;;
12497   esac
12498   if test "$_lt_dar_can_shared" = "yes"; then
12499     output_verbose_link_cmd=func_echo_all
12500     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}"
12501     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12502     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}"
12503     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}"
12504        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12505       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}"
12506       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}"
12507     fi
12508
12509   else
12510   ld_shlibs_CXX=no
12511   fi
12512
12513         ;;
12514
12515       dgux*)
12516         case $cc_basename in
12517           ec++*)
12518             # FIXME: insert proper C++ library support
12519             ld_shlibs_CXX=no
12520             ;;
12521           ghcx*)
12522             # Green Hills C++ Compiler
12523             # FIXME: insert proper C++ library support
12524             ld_shlibs_CXX=no
12525             ;;
12526           *)
12527             # FIXME: insert proper C++ library support
12528             ld_shlibs_CXX=no
12529             ;;
12530         esac
12531         ;;
12532
12533       freebsd2.*)
12534         # C++ shared libraries reported to be fairly broken before
12535         # switch to ELF
12536         ld_shlibs_CXX=no
12537         ;;
12538
12539       freebsd-elf*)
12540         archive_cmds_need_lc_CXX=no
12541         ;;
12542
12543       freebsd* | dragonfly*)
12544         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12545         # conventions
12546         ld_shlibs_CXX=yes
12547         ;;
12548
12549       gnu*)
12550         ;;
12551
12552       haiku*)
12553         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12554         link_all_deplibs_CXX=yes
12555         ;;
12556
12557       hpux9*)
12558         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12559         hardcode_libdir_separator_CXX=:
12560         export_dynamic_flag_spec_CXX='${wl}-E'
12561         hardcode_direct_CXX=yes
12562         hardcode_minus_L_CXX=yes # Not in the search PATH,
12563                                              # but as the default
12564                                              # location of the library.
12565
12566         case $cc_basename in
12567           CC*)
12568             # FIXME: insert proper C++ library support
12569             ld_shlibs_CXX=no
12570             ;;
12571           aCC*)
12572             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'
12573             # Commands to make compiler produce verbose output that lists
12574             # what "hidden" libraries, object files and flags are used when
12575             # linking a shared library.
12576             #
12577             # There doesn't appear to be a way to prevent this compiler from
12578             # explicitly linking system object files so we need to strip them
12579             # from the output so that they don't get included in the library
12580             # dependencies.
12581             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"'
12582             ;;
12583           *)
12584             if test "$GXX" = yes; then
12585               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'
12586             else
12587               # FIXME: insert proper C++ library support
12588               ld_shlibs_CXX=no
12589             fi
12590             ;;
12591         esac
12592         ;;
12593
12594       hpux10*|hpux11*)
12595         if test $with_gnu_ld = no; then
12596           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12597           hardcode_libdir_separator_CXX=:
12598
12599           case $host_cpu in
12600             hppa*64*|ia64*)
12601               ;;
12602             *)
12603               export_dynamic_flag_spec_CXX='${wl}-E'
12604               ;;
12605           esac
12606         fi
12607         case $host_cpu in
12608           hppa*64*|ia64*)
12609             hardcode_direct_CXX=no
12610             hardcode_shlibpath_var_CXX=no
12611             ;;
12612           *)
12613             hardcode_direct_CXX=yes
12614             hardcode_direct_absolute_CXX=yes
12615             hardcode_minus_L_CXX=yes # Not in the search PATH,
12616                                                  # but as the default
12617                                                  # location of the library.
12618             ;;
12619         esac
12620
12621         case $cc_basename in
12622           CC*)
12623             # FIXME: insert proper C++ library support
12624             ld_shlibs_CXX=no
12625             ;;
12626           aCC*)
12627             case $host_cpu in
12628               hppa*64*)
12629                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12630                 ;;
12631               ia64*)
12632                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12633                 ;;
12634               *)
12635                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12636                 ;;
12637             esac
12638             # Commands to make compiler produce verbose output that lists
12639             # what "hidden" libraries, object files and flags are used when
12640             # linking a shared library.
12641             #
12642             # There doesn't appear to be a way to prevent this compiler from
12643             # explicitly linking system object files so we need to strip them
12644             # from the output so that they don't get included in the library
12645             # dependencies.
12646             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"'
12647             ;;
12648           *)
12649             if test "$GXX" = yes; then
12650               if test $with_gnu_ld = no; then
12651                 case $host_cpu in
12652                   hppa*64*)
12653                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12654                     ;;
12655                   ia64*)
12656                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12657                     ;;
12658                   *)
12659                     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'
12660                     ;;
12661                 esac
12662               fi
12663             else
12664               # FIXME: insert proper C++ library support
12665               ld_shlibs_CXX=no
12666             fi
12667             ;;
12668         esac
12669         ;;
12670
12671       interix[3-9]*)
12672         hardcode_direct_CXX=no
12673         hardcode_shlibpath_var_CXX=no
12674         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12675         export_dynamic_flag_spec_CXX='${wl}-E'
12676         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12677         # Instead, shared libraries are loaded at an image base (0x10000000 by
12678         # default) and relocated if they conflict, which is a slow very memory
12679         # consuming and fragmenting process.  To avoid this, we pick a random,
12680         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12681         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12682         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'
12683         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'
12684         ;;
12685       irix5* | irix6*)
12686         case $cc_basename in
12687           CC*)
12688             # SGI C++
12689             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'
12690
12691             # Archives containing C++ object files must be created using
12692             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12693             # necessary to make sure instantiated templates are included
12694             # in the archive.
12695             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12696             ;;
12697           *)
12698             if test "$GXX" = yes; then
12699               if test "$with_gnu_ld" = no; then
12700                 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'
12701               else
12702                 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'
12703               fi
12704             fi
12705             link_all_deplibs_CXX=yes
12706             ;;
12707         esac
12708         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12709         hardcode_libdir_separator_CXX=:
12710         inherit_rpath_CXX=yes
12711         ;;
12712
12713       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12714         case $cc_basename in
12715           KCC*)
12716             # Kuck and Associates, Inc. (KAI) C++ Compiler
12717
12718             # KCC will only create a shared library if the output file
12719             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12720             # to its proper name (with version) after linking.
12721             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'
12722             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'
12723             # Commands to make compiler produce verbose output that lists
12724             # what "hidden" libraries, object files and flags are used when
12725             # linking a shared library.
12726             #
12727             # There doesn't appear to be a way to prevent this compiler from
12728             # explicitly linking system object files so we need to strip them
12729             # from the output so that they don't get included in the library
12730             # dependencies.
12731             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"'
12732
12733             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12734             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12735
12736             # Archives containing C++ object files must be created using
12737             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12738             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12739             ;;
12740           icpc* | ecpc* )
12741             # Intel C++
12742             with_gnu_ld=yes
12743             # version 8.0 and above of icpc choke on multiply defined symbols
12744             # if we add $predep_objects and $postdep_objects, however 7.1 and
12745             # earlier do not add the objects themselves.
12746             case `$CC -V 2>&1` in
12747               *"Version 7."*)
12748                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12749                 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12750                 ;;
12751               *)  # Version 8.0 or newer
12752                 tmp_idyn=
12753                 case $host_cpu in
12754                   ia64*) tmp_idyn=' -i_dynamic';;
12755                 esac
12756                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12757                 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'
12758                 ;;
12759             esac
12760             archive_cmds_need_lc_CXX=no
12761             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12762             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12763             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12764             ;;
12765           pgCC* | pgcpp*)
12766             # Portland Group C++ compiler
12767             case `$CC -V` in
12768             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12769               prelink_cmds_CXX='tpldir=Template.dir~
12770                 rm -rf $tpldir~
12771                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12772                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12773               old_archive_cmds_CXX='tpldir=Template.dir~
12774                 rm -rf $tpldir~
12775                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12776                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12777                 $RANLIB $oldlib'
12778               archive_cmds_CXX='tpldir=Template.dir~
12779                 rm -rf $tpldir~
12780                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12781                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12782               archive_expsym_cmds_CXX='tpldir=Template.dir~
12783                 rm -rf $tpldir~
12784                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12785                 $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'
12786               ;;
12787             *) # Version 6 and above use weak symbols
12788               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12789               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'
12790               ;;
12791             esac
12792
12793             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12794             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12795             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'
12796             ;;
12797           cxx*)
12798             # Compaq C++
12799             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12800             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'
12801
12802             runpath_var=LD_RUN_PATH
12803             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12804             hardcode_libdir_separator_CXX=:
12805
12806             # Commands to make compiler produce verbose output that lists
12807             # what "hidden" libraries, object files and flags are used when
12808             # linking a shared library.
12809             #
12810             # There doesn't appear to be a way to prevent this compiler from
12811             # explicitly linking system object files so we need to strip them
12812             # from the output so that they don't get included in the library
12813             # dependencies.
12814             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'
12815             ;;
12816           xl* | mpixl* | bgxl*)
12817             # IBM XL 8.0 on PPC, with GNU ld
12818             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12819             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12820             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12821             if test "x$supports_anon_versioning" = xyes; then
12822               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12823                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12824                 echo "local: *; };" >> $output_objdir/$libname.ver~
12825                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12826             fi
12827             ;;
12828           *)
12829             case `$CC -V 2>&1 | sed 5q` in
12830             *Sun\ C*)
12831               # Sun C++ 5.9
12832               no_undefined_flag_CXX=' -zdefs'
12833               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12834               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'
12835               hardcode_libdir_flag_spec_CXX='-R$libdir'
12836               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'
12837               compiler_needs_object_CXX=yes
12838
12839               # Not sure whether something based on
12840               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12841               # would be better.
12842               output_verbose_link_cmd='func_echo_all'
12843
12844               # Archives containing C++ object files must be created using
12845               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12846               # necessary to make sure instantiated templates are included
12847               # in the archive.
12848               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12849               ;;
12850             esac
12851             ;;
12852         esac
12853         ;;
12854
12855       lynxos*)
12856         # FIXME: insert proper C++ library support
12857         ld_shlibs_CXX=no
12858         ;;
12859
12860       m88k*)
12861         # FIXME: insert proper C++ library support
12862         ld_shlibs_CXX=no
12863         ;;
12864
12865       mvs*)
12866         case $cc_basename in
12867           cxx*)
12868             # FIXME: insert proper C++ library support
12869             ld_shlibs_CXX=no
12870             ;;
12871           *)
12872             # FIXME: insert proper C++ library support
12873             ld_shlibs_CXX=no
12874             ;;
12875         esac
12876         ;;
12877
12878       netbsd*)
12879         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12880           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12881           wlarc=
12882           hardcode_libdir_flag_spec_CXX='-R$libdir'
12883           hardcode_direct_CXX=yes
12884           hardcode_shlibpath_var_CXX=no
12885         fi
12886         # Workaround some broken pre-1.5 toolchains
12887         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12888         ;;
12889
12890       *nto* | *qnx*)
12891         ld_shlibs_CXX=yes
12892         ;;
12893
12894       openbsd2*)
12895         # C++ shared libraries are fairly broken
12896         ld_shlibs_CXX=no
12897         ;;
12898
12899       openbsd*)
12900         if test -f /usr/libexec/ld.so; then
12901           hardcode_direct_CXX=yes
12902           hardcode_shlibpath_var_CXX=no
12903           hardcode_direct_absolute_CXX=yes
12904           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12905           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12906           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12907             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12908             export_dynamic_flag_spec_CXX='${wl}-E'
12909             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12910           fi
12911           output_verbose_link_cmd=func_echo_all
12912         else
12913           ld_shlibs_CXX=no
12914         fi
12915         ;;
12916
12917       osf3* | osf4* | osf5*)
12918         case $cc_basename in
12919           KCC*)
12920             # Kuck and Associates, Inc. (KAI) C++ Compiler
12921
12922             # KCC will only create a shared library if the output file
12923             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12924             # to its proper name (with version) after linking.
12925             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'
12926
12927             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12928             hardcode_libdir_separator_CXX=:
12929
12930             # Archives containing C++ object files must be created using
12931             # the KAI C++ compiler.
12932             case $host in
12933               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12934               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12935             esac
12936             ;;
12937           RCC*)
12938             # Rational C++ 2.4.1
12939             # FIXME: insert proper C++ library support
12940             ld_shlibs_CXX=no
12941             ;;
12942           cxx*)
12943             case $host in
12944               osf3*)
12945                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12946                 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'
12947                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12948                 ;;
12949               *)
12950                 allow_undefined_flag_CXX=' -expect_unresolved \*'
12951                 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'
12952                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12953                   echo "-hidden">> $lib.exp~
12954                   $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~
12955                   $RM $lib.exp'
12956                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12957                 ;;
12958             esac
12959
12960             hardcode_libdir_separator_CXX=:
12961
12962             # Commands to make compiler produce verbose output that lists
12963             # what "hidden" libraries, object files and flags are used when
12964             # linking a shared library.
12965             #
12966             # There doesn't appear to be a way to prevent this compiler from
12967             # explicitly linking system object files so we need to strip them
12968             # from the output so that they don't get included in the library
12969             # dependencies.
12970             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"'
12971             ;;
12972           *)
12973             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12974               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12975               case $host in
12976                 osf3*)
12977                   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'
12978                   ;;
12979                 *)
12980                   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'
12981                   ;;
12982               esac
12983
12984               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12985               hardcode_libdir_separator_CXX=:
12986
12987               # Commands to make compiler produce verbose output that lists
12988               # what "hidden" libraries, object files and flags are used when
12989               # linking a shared library.
12990               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12991
12992             else
12993               # FIXME: insert proper C++ library support
12994               ld_shlibs_CXX=no
12995             fi
12996             ;;
12997         esac
12998         ;;
12999
13000       psos*)
13001         # FIXME: insert proper C++ library support
13002         ld_shlibs_CXX=no
13003         ;;
13004
13005       sunos4*)
13006         case $cc_basename in
13007           CC*)
13008             # Sun C++ 4.x
13009             # FIXME: insert proper C++ library support
13010             ld_shlibs_CXX=no
13011             ;;
13012           lcc*)
13013             # Lucid
13014             # FIXME: insert proper C++ library support
13015             ld_shlibs_CXX=no
13016             ;;
13017           *)
13018             # FIXME: insert proper C++ library support
13019             ld_shlibs_CXX=no
13020             ;;
13021         esac
13022         ;;
13023
13024       solaris*)
13025         case $cc_basename in
13026           CC*)
13027             # Sun C++ 4.2, 5.x and Centerline C++
13028             archive_cmds_need_lc_CXX=yes
13029             no_undefined_flag_CXX=' -zdefs'
13030             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13031             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13032               $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'
13033
13034             hardcode_libdir_flag_spec_CXX='-R$libdir'
13035             hardcode_shlibpath_var_CXX=no
13036             case $host_os in
13037               solaris2.[0-5] | solaris2.[0-5].*) ;;
13038               *)
13039                 # The compiler driver will combine and reorder linker options,
13040                 # but understands `-z linker_flag'.
13041                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13042                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13043                 ;;
13044             esac
13045             link_all_deplibs_CXX=yes
13046
13047             output_verbose_link_cmd='func_echo_all'
13048
13049             # Archives containing C++ object files must be created using
13050             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13051             # necessary to make sure instantiated templates are included
13052             # in the archive.
13053             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13054             ;;
13055           gcx*)
13056             # Green Hills C++ Compiler
13057             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13058
13059             # The C++ compiler must be used to create the archive.
13060             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13061             ;;
13062           *)
13063             # GNU C++ compiler with Solaris linker
13064             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13065               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13066               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13067                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13068                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13069                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13070
13071                 # Commands to make compiler produce verbose output that lists
13072                 # what "hidden" libraries, object files and flags are used when
13073                 # linking a shared library.
13074                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13075               else
13076                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13077                 # platform.
13078                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13079                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13080                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13081
13082                 # Commands to make compiler produce verbose output that lists
13083                 # what "hidden" libraries, object files and flags are used when
13084                 # linking a shared library.
13085                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13086               fi
13087
13088               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13089               case $host_os in
13090                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13091                 *)
13092                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13093                   ;;
13094               esac
13095             fi
13096             ;;
13097         esac
13098         ;;
13099
13100     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13101       no_undefined_flag_CXX='${wl}-z,text'
13102       archive_cmds_need_lc_CXX=no
13103       hardcode_shlibpath_var_CXX=no
13104       runpath_var='LD_RUN_PATH'
13105
13106       case $cc_basename in
13107         CC*)
13108           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13109           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13110           ;;
13111         *)
13112           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13113           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13114           ;;
13115       esac
13116       ;;
13117
13118       sysv5* | sco3.2v5* | sco5v6*)
13119         # Note: We can NOT use -z defs as we might desire, because we do not
13120         # link with -lc, and that would cause any symbols used from libc to
13121         # always be unresolved, which means just about no library would
13122         # ever link correctly.  If we're not using GNU ld we use -z text
13123         # though, which does catch some bad symbols but isn't as heavy-handed
13124         # as -z defs.
13125         no_undefined_flag_CXX='${wl}-z,text'
13126         allow_undefined_flag_CXX='${wl}-z,nodefs'
13127         archive_cmds_need_lc_CXX=no
13128         hardcode_shlibpath_var_CXX=no
13129         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13130         hardcode_libdir_separator_CXX=':'
13131         link_all_deplibs_CXX=yes
13132         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13133         runpath_var='LD_RUN_PATH'
13134
13135         case $cc_basename in
13136           CC*)
13137             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13138             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13139             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13140               '"$old_archive_cmds_CXX"
13141             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13142               '"$reload_cmds_CXX"
13143             ;;
13144           *)
13145             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13146             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13147             ;;
13148         esac
13149       ;;
13150
13151       tandem*)
13152         case $cc_basename in
13153           NCC*)
13154             # NonStop-UX NCC 3.20
13155             # FIXME: insert proper C++ library support
13156             ld_shlibs_CXX=no
13157             ;;
13158           *)
13159             # FIXME: insert proper C++ library support
13160             ld_shlibs_CXX=no
13161             ;;
13162         esac
13163         ;;
13164
13165       vxworks*)
13166         # FIXME: insert proper C++ library support
13167         ld_shlibs_CXX=no
13168         ;;
13169
13170       *)
13171         # FIXME: insert proper C++ library support
13172         ld_shlibs_CXX=no
13173         ;;
13174     esac
13175
13176     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13177 $as_echo "$ld_shlibs_CXX" >&6; }
13178     test "$ld_shlibs_CXX" = no && can_build_shared=no
13179
13180     GCC_CXX="$GXX"
13181     LD_CXX="$LD"
13182
13183     ## CAVEAT EMPTOR:
13184     ## There is no encapsulation within the following macros, do not change
13185     ## the running order or otherwise move them around unless you know exactly
13186     ## what you are doing...
13187     # Dependencies to place before and after the object being linked:
13188 predep_objects_CXX=
13189 postdep_objects_CXX=
13190 predeps_CXX=
13191 postdeps_CXX=
13192 compiler_lib_search_path_CXX=
13193
13194 cat > conftest.$ac_ext <<_LT_EOF
13195 class Foo
13196 {
13197 public:
13198   Foo (void) { a = 0; }
13199 private:
13200   int a;
13201 };
13202 _LT_EOF
13203
13204 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13205   (eval $ac_compile) 2>&5
13206   ac_status=$?
13207   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13208   test $ac_status = 0; }; then
13209   # Parse the compiler output and extract the necessary
13210   # objects, libraries and library flags.
13211
13212   # Sentinel used to keep track of whether or not we are before
13213   # the conftest object file.
13214   pre_test_object_deps_done=no
13215
13216   for p in `eval "$output_verbose_link_cmd"`; do
13217     case $p in
13218
13219     -L* | -R* | -l*)
13220        # Some compilers place space between "-{L,R}" and the path.
13221        # Remove the space.
13222        if test $p = "-L" ||
13223           test $p = "-R"; then
13224          prev=$p
13225          continue
13226        else
13227          prev=
13228        fi
13229
13230        if test "$pre_test_object_deps_done" = no; then
13231          case $p in
13232          -L* | -R*)
13233            # Internal compiler library paths should come after those
13234            # provided the user.  The postdeps already come after the
13235            # user supplied libs so there is no need to process them.
13236            if test -z "$compiler_lib_search_path_CXX"; then
13237              compiler_lib_search_path_CXX="${prev}${p}"
13238            else
13239              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13240            fi
13241            ;;
13242          # The "-l" case would never come before the object being
13243          # linked, so don't bother handling this case.
13244          esac
13245        else
13246          if test -z "$postdeps_CXX"; then
13247            postdeps_CXX="${prev}${p}"
13248          else
13249            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13250          fi
13251        fi
13252        ;;
13253
13254     *.$objext)
13255        # This assumes that the test object file only shows up
13256        # once in the compiler output.
13257        if test "$p" = "conftest.$objext"; then
13258          pre_test_object_deps_done=yes
13259          continue
13260        fi
13261
13262        if test "$pre_test_object_deps_done" = no; then
13263          if test -z "$predep_objects_CXX"; then
13264            predep_objects_CXX="$p"
13265          else
13266            predep_objects_CXX="$predep_objects_CXX $p"
13267          fi
13268        else
13269          if test -z "$postdep_objects_CXX"; then
13270            postdep_objects_CXX="$p"
13271          else
13272            postdep_objects_CXX="$postdep_objects_CXX $p"
13273          fi
13274        fi
13275        ;;
13276
13277     *) ;; # Ignore the rest.
13278
13279     esac
13280   done
13281
13282   # Clean up.
13283   rm -f a.out a.exe
13284 else
13285   echo "libtool.m4: error: problem compiling CXX test program"
13286 fi
13287
13288 $RM -f confest.$objext
13289
13290 # PORTME: override above test on systems where it is broken
13291 case $host_os in
13292 interix[3-9]*)
13293   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13294   # hack all around it, let's just trust "g++" to DTRT.
13295   predep_objects_CXX=
13296   postdep_objects_CXX=
13297   postdeps_CXX=
13298   ;;
13299
13300 linux*)
13301   case `$CC -V 2>&1 | sed 5q` in
13302   *Sun\ C*)
13303     # Sun C++ 5.9
13304
13305     # The more standards-conforming stlport4 library is
13306     # incompatible with the Cstd library. Avoid specifying
13307     # it if it's in CXXFLAGS. Ignore libCrun as
13308     # -library=stlport4 depends on it.
13309     case " $CXX $CXXFLAGS " in
13310     *" -library=stlport4 "*)
13311       solaris_use_stlport4=yes
13312       ;;
13313     esac
13314
13315     if test "$solaris_use_stlport4" != yes; then
13316       postdeps_CXX='-library=Cstd -library=Crun'
13317     fi
13318     ;;
13319   esac
13320   ;;
13321
13322 solaris*)
13323   case $cc_basename in
13324   CC*)
13325     # The more standards-conforming stlport4 library is
13326     # incompatible with the Cstd library. Avoid specifying
13327     # it if it's in CXXFLAGS. Ignore libCrun as
13328     # -library=stlport4 depends on it.
13329     case " $CXX $CXXFLAGS " in
13330     *" -library=stlport4 "*)
13331       solaris_use_stlport4=yes
13332       ;;
13333     esac
13334
13335     # Adding this requires a known-good setup of shared libraries for
13336     # Sun compiler versions before 5.6, else PIC objects from an old
13337     # archive will be linked into the output, leading to subtle bugs.
13338     if test "$solaris_use_stlport4" != yes; then
13339       postdeps_CXX='-library=Cstd -library=Crun'
13340     fi
13341     ;;
13342   esac
13343   ;;
13344 esac
13345
13346
13347 case " $postdeps_CXX " in
13348 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13349 esac
13350  compiler_lib_search_dirs_CXX=
13351 if test -n "${compiler_lib_search_path_CXX}"; then
13352  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13353 fi
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385     lt_prog_compiler_wl_CXX=
13386 lt_prog_compiler_pic_CXX=
13387 lt_prog_compiler_static_CXX=
13388
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13390 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13391
13392   # C++ specific cases for pic, static, wl, etc.
13393   if test "$GXX" = yes; then
13394     lt_prog_compiler_wl_CXX='-Wl,'
13395     lt_prog_compiler_static_CXX='-static'
13396
13397     case $host_os in
13398     aix*)
13399       # All AIX code is PIC.
13400       if test "$host_cpu" = ia64; then
13401         # AIX 5 now supports IA64 processor
13402         lt_prog_compiler_static_CXX='-Bstatic'
13403       fi
13404       ;;
13405
13406     amigaos*)
13407       case $host_cpu in
13408       powerpc)
13409             # see comment about AmigaOS4 .so support
13410             lt_prog_compiler_pic_CXX='-fPIC'
13411         ;;
13412       m68k)
13413             # FIXME: we need at least 68020 code to build shared libraries, but
13414             # adding the `-m68020' flag to GCC prevents building anything better,
13415             # like `-m68040'.
13416             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13417         ;;
13418       esac
13419       ;;
13420
13421     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13422       # PIC is the default for these OSes.
13423       ;;
13424     mingw* | cygwin* | os2* | pw32* | cegcc*)
13425       # This hack is so that the source file can tell whether it is being
13426       # built for inclusion in a dll (and should export symbols for example).
13427       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13428       # (--disable-auto-import) libraries
13429       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13430       ;;
13431     darwin* | rhapsody*)
13432       # PIC is the default on this platform
13433       # Common symbols not allowed in MH_DYLIB files
13434       lt_prog_compiler_pic_CXX='-fno-common'
13435       ;;
13436     *djgpp*)
13437       # DJGPP does not support shared libraries at all
13438       lt_prog_compiler_pic_CXX=
13439       ;;
13440     haiku*)
13441       # PIC is the default for Haiku.
13442       # The "-static" flag exists, but is broken.
13443       lt_prog_compiler_static_CXX=
13444       ;;
13445     interix[3-9]*)
13446       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13447       # Instead, we relocate shared libraries at runtime.
13448       ;;
13449     sysv4*MP*)
13450       if test -d /usr/nec; then
13451         lt_prog_compiler_pic_CXX=-Kconform_pic
13452       fi
13453       ;;
13454     hpux*)
13455       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13456       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13457       # sets the default TLS model and affects inlining.
13458       case $host_cpu in
13459       hppa*64*)
13460         ;;
13461       *)
13462         lt_prog_compiler_pic_CXX='-fPIC'
13463         ;;
13464       esac
13465       ;;
13466     *qnx* | *nto*)
13467       # QNX uses GNU C++, but need to define -shared option too, otherwise
13468       # it will coredump.
13469       lt_prog_compiler_pic_CXX='-fPIC -shared'
13470       ;;
13471     *)
13472       lt_prog_compiler_pic_CXX='-fPIC'
13473       ;;
13474     esac
13475   else
13476     case $host_os in
13477       aix[4-9]*)
13478         # All AIX code is PIC.
13479         if test "$host_cpu" = ia64; then
13480           # AIX 5 now supports IA64 processor
13481           lt_prog_compiler_static_CXX='-Bstatic'
13482         else
13483           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13484         fi
13485         ;;
13486       chorus*)
13487         case $cc_basename in
13488         cxch68*)
13489           # Green Hills C++ Compiler
13490           # _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"
13491           ;;
13492         esac
13493         ;;
13494       dgux*)
13495         case $cc_basename in
13496           ec++*)
13497             lt_prog_compiler_pic_CXX='-KPIC'
13498             ;;
13499           ghcx*)
13500             # Green Hills C++ Compiler
13501             lt_prog_compiler_pic_CXX='-pic'
13502             ;;
13503           *)
13504             ;;
13505         esac
13506         ;;
13507       freebsd* | dragonfly*)
13508         # FreeBSD uses GNU C++
13509         ;;
13510       hpux9* | hpux10* | hpux11*)
13511         case $cc_basename in
13512           CC*)
13513             lt_prog_compiler_wl_CXX='-Wl,'
13514             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13515             if test "$host_cpu" != ia64; then
13516               lt_prog_compiler_pic_CXX='+Z'
13517             fi
13518             ;;
13519           aCC*)
13520             lt_prog_compiler_wl_CXX='-Wl,'
13521             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13522             case $host_cpu in
13523             hppa*64*|ia64*)
13524               # +Z the default
13525               ;;
13526             *)
13527               lt_prog_compiler_pic_CXX='+Z'
13528               ;;
13529             esac
13530             ;;
13531           *)
13532             ;;
13533         esac
13534         ;;
13535       interix*)
13536         # This is c89, which is MS Visual C++ (no shared libs)
13537         # Anyone wants to do a port?
13538         ;;
13539       irix5* | irix6* | nonstopux*)
13540         case $cc_basename in
13541           CC*)
13542             lt_prog_compiler_wl_CXX='-Wl,'
13543             lt_prog_compiler_static_CXX='-non_shared'
13544             # CC pic flag -KPIC is the default.
13545             ;;
13546           *)
13547             ;;
13548         esac
13549         ;;
13550       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13551         case $cc_basename in
13552           KCC*)
13553             # KAI C++ Compiler
13554             lt_prog_compiler_wl_CXX='--backend -Wl,'
13555             lt_prog_compiler_pic_CXX='-fPIC'
13556             ;;
13557           ecpc* )
13558             # old Intel C++ for x86_64 which still supported -KPIC.
13559             lt_prog_compiler_wl_CXX='-Wl,'
13560             lt_prog_compiler_pic_CXX='-KPIC'
13561             lt_prog_compiler_static_CXX='-static'
13562             ;;
13563           icpc* )
13564             # Intel C++, used to be incompatible with GCC.
13565             # ICC 10 doesn't accept -KPIC any more.
13566             lt_prog_compiler_wl_CXX='-Wl,'
13567             lt_prog_compiler_pic_CXX='-fPIC'
13568             lt_prog_compiler_static_CXX='-static'
13569             ;;
13570           pgCC* | pgcpp*)
13571             # Portland Group C++ compiler
13572             lt_prog_compiler_wl_CXX='-Wl,'
13573             lt_prog_compiler_pic_CXX='-fpic'
13574             lt_prog_compiler_static_CXX='-Bstatic'
13575             ;;
13576           cxx*)
13577             # Compaq C++
13578             # Make sure the PIC flag is empty.  It appears that all Alpha
13579             # Linux and Compaq Tru64 Unix objects are PIC.
13580             lt_prog_compiler_pic_CXX=
13581             lt_prog_compiler_static_CXX='-non_shared'
13582             ;;
13583           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13584             # IBM XL 8.0, 9.0 on PPC and BlueGene
13585             lt_prog_compiler_wl_CXX='-Wl,'
13586             lt_prog_compiler_pic_CXX='-qpic'
13587             lt_prog_compiler_static_CXX='-qstaticlink'
13588             ;;
13589           *)
13590             case `$CC -V 2>&1 | sed 5q` in
13591             *Sun\ C*)
13592               # Sun C++ 5.9
13593               lt_prog_compiler_pic_CXX='-KPIC'
13594               lt_prog_compiler_static_CXX='-Bstatic'
13595               lt_prog_compiler_wl_CXX='-Qoption ld '
13596               ;;
13597             esac
13598             ;;
13599         esac
13600         ;;
13601       lynxos*)
13602         ;;
13603       m88k*)
13604         ;;
13605       mvs*)
13606         case $cc_basename in
13607           cxx*)
13608             lt_prog_compiler_pic_CXX='-W c,exportall'
13609             ;;
13610           *)
13611             ;;
13612         esac
13613         ;;
13614       netbsd*)
13615         ;;
13616       *qnx* | *nto*)
13617         # QNX uses GNU C++, but need to define -shared option too, otherwise
13618         # it will coredump.
13619         lt_prog_compiler_pic_CXX='-fPIC -shared'
13620         ;;
13621       osf3* | osf4* | osf5*)
13622         case $cc_basename in
13623           KCC*)
13624             lt_prog_compiler_wl_CXX='--backend -Wl,'
13625             ;;
13626           RCC*)
13627             # Rational C++ 2.4.1
13628             lt_prog_compiler_pic_CXX='-pic'
13629             ;;
13630           cxx*)
13631             # Digital/Compaq C++
13632             lt_prog_compiler_wl_CXX='-Wl,'
13633             # Make sure the PIC flag is empty.  It appears that all Alpha
13634             # Linux and Compaq Tru64 Unix objects are PIC.
13635             lt_prog_compiler_pic_CXX=
13636             lt_prog_compiler_static_CXX='-non_shared'
13637             ;;
13638           *)
13639             ;;
13640         esac
13641         ;;
13642       psos*)
13643         ;;
13644       solaris*)
13645         case $cc_basename in
13646           CC*)
13647             # Sun C++ 4.2, 5.x and Centerline C++
13648             lt_prog_compiler_pic_CXX='-KPIC'
13649             lt_prog_compiler_static_CXX='-Bstatic'
13650             lt_prog_compiler_wl_CXX='-Qoption ld '
13651             ;;
13652           gcx*)
13653             # Green Hills C++ Compiler
13654             lt_prog_compiler_pic_CXX='-PIC'
13655             ;;
13656           *)
13657             ;;
13658         esac
13659         ;;
13660       sunos4*)
13661         case $cc_basename in
13662           CC*)
13663             # Sun C++ 4.x
13664             lt_prog_compiler_pic_CXX='-pic'
13665             lt_prog_compiler_static_CXX='-Bstatic'
13666             ;;
13667           lcc*)
13668             # Lucid
13669             lt_prog_compiler_pic_CXX='-pic'
13670             ;;
13671           *)
13672             ;;
13673         esac
13674         ;;
13675       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13676         case $cc_basename in
13677           CC*)
13678             lt_prog_compiler_wl_CXX='-Wl,'
13679             lt_prog_compiler_pic_CXX='-KPIC'
13680             lt_prog_compiler_static_CXX='-Bstatic'
13681             ;;
13682         esac
13683         ;;
13684       tandem*)
13685         case $cc_basename in
13686           NCC*)
13687             # NonStop-UX NCC 3.20
13688             lt_prog_compiler_pic_CXX='-KPIC'
13689             ;;
13690           *)
13691             ;;
13692         esac
13693         ;;
13694       vxworks*)
13695         ;;
13696       *)
13697         lt_prog_compiler_can_build_shared_CXX=no
13698         ;;
13699     esac
13700   fi
13701
13702 case $host_os in
13703   # For platforms which do not support PIC, -DPIC is meaningless:
13704   *djgpp*)
13705     lt_prog_compiler_pic_CXX=
13706     ;;
13707   *)
13708     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13709     ;;
13710 esac
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13712 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13713
13714
13715
13716 #
13717 # Check to make sure the PIC flag actually works.
13718 #
13719 if test -n "$lt_prog_compiler_pic_CXX"; then
13720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13721 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13722 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13723   $as_echo_n "(cached) " >&6
13724 else
13725   lt_cv_prog_compiler_pic_works_CXX=no
13726    ac_outfile=conftest.$ac_objext
13727    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13728    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13729    # Insert the option either (1) after the last *FLAGS variable, or
13730    # (2) before a word containing "conftest.", or (3) at the end.
13731    # Note that $ac_compile itself does not contain backslashes and begins
13732    # with a dollar sign (not a hyphen), so the echo should work correctly.
13733    # The option is referenced via a variable to avoid confusing sed.
13734    lt_compile=`echo "$ac_compile" | $SED \
13735    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13736    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13737    -e 's:$: $lt_compiler_flag:'`
13738    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13739    (eval "$lt_compile" 2>conftest.err)
13740    ac_status=$?
13741    cat conftest.err >&5
13742    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743    if (exit $ac_status) && test -s "$ac_outfile"; then
13744      # The compiler can only warn and ignore the option if not recognized
13745      # So say no if there are warnings other than the usual output.
13746      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13747      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13748      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13749        lt_cv_prog_compiler_pic_works_CXX=yes
13750      fi
13751    fi
13752    $RM conftest*
13753
13754 fi
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13756 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13757
13758 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13759     case $lt_prog_compiler_pic_CXX in
13760      "" | " "*) ;;
13761      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13762      esac
13763 else
13764     lt_prog_compiler_pic_CXX=
13765      lt_prog_compiler_can_build_shared_CXX=no
13766 fi
13767
13768 fi
13769
13770
13771
13772 #
13773 # Check to make sure the static flag actually works.
13774 #
13775 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13777 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13778 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13779   $as_echo_n "(cached) " >&6
13780 else
13781   lt_cv_prog_compiler_static_works_CXX=no
13782    save_LDFLAGS="$LDFLAGS"
13783    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13784    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13785    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13786      # The linker can only warn and ignore the option if not recognized
13787      # So say no if there are warnings
13788      if test -s conftest.err; then
13789        # Append any errors to the config.log.
13790        cat conftest.err 1>&5
13791        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13792        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13793        if diff conftest.exp conftest.er2 >/dev/null; then
13794          lt_cv_prog_compiler_static_works_CXX=yes
13795        fi
13796      else
13797        lt_cv_prog_compiler_static_works_CXX=yes
13798      fi
13799    fi
13800    $RM -r conftest*
13801    LDFLAGS="$save_LDFLAGS"
13802
13803 fi
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13805 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13806
13807 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13808     :
13809 else
13810     lt_prog_compiler_static_CXX=
13811 fi
13812
13813
13814
13815
13816     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13817 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13818 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13819   $as_echo_n "(cached) " >&6
13820 else
13821   lt_cv_prog_compiler_c_o_CXX=no
13822    $RM -r conftest 2>/dev/null
13823    mkdir conftest
13824    cd conftest
13825    mkdir out
13826    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13827
13828    lt_compiler_flag="-o out/conftest2.$ac_objext"
13829    # Insert the option either (1) after the last *FLAGS variable, or
13830    # (2) before a word containing "conftest.", or (3) at the end.
13831    # Note that $ac_compile itself does not contain backslashes and begins
13832    # with a dollar sign (not a hyphen), so the echo should work correctly.
13833    lt_compile=`echo "$ac_compile" | $SED \
13834    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13835    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13836    -e 's:$: $lt_compiler_flag:'`
13837    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13838    (eval "$lt_compile" 2>out/conftest.err)
13839    ac_status=$?
13840    cat out/conftest.err >&5
13841    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13843    then
13844      # The compiler can only warn and ignore the option if not recognized
13845      # So say no if there are warnings
13846      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13847      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13848      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13849        lt_cv_prog_compiler_c_o_CXX=yes
13850      fi
13851    fi
13852    chmod u+w . 2>&5
13853    $RM conftest*
13854    # SGI C++ compiler will create directory out/ii_files/ for
13855    # template instantiation
13856    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13857    $RM out/* && rmdir out
13858    cd ..
13859    $RM -r conftest
13860    $RM conftest*
13861
13862 fi
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13864 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13865
13866
13867
13868     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13869 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13870 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13871   $as_echo_n "(cached) " >&6
13872 else
13873   lt_cv_prog_compiler_c_o_CXX=no
13874    $RM -r conftest 2>/dev/null
13875    mkdir conftest
13876    cd conftest
13877    mkdir out
13878    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13879
13880    lt_compiler_flag="-o out/conftest2.$ac_objext"
13881    # Insert the option either (1) after the last *FLAGS variable, or
13882    # (2) before a word containing "conftest.", or (3) at the end.
13883    # Note that $ac_compile itself does not contain backslashes and begins
13884    # with a dollar sign (not a hyphen), so the echo should work correctly.
13885    lt_compile=`echo "$ac_compile" | $SED \
13886    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13887    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13888    -e 's:$: $lt_compiler_flag:'`
13889    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13890    (eval "$lt_compile" 2>out/conftest.err)
13891    ac_status=$?
13892    cat out/conftest.err >&5
13893    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13894    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13895    then
13896      # The compiler can only warn and ignore the option if not recognized
13897      # So say no if there are warnings
13898      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13899      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13900      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13901        lt_cv_prog_compiler_c_o_CXX=yes
13902      fi
13903    fi
13904    chmod u+w . 2>&5
13905    $RM conftest*
13906    # SGI C++ compiler will create directory out/ii_files/ for
13907    # template instantiation
13908    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13909    $RM out/* && rmdir out
13910    cd ..
13911    $RM -r conftest
13912    $RM conftest*
13913
13914 fi
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13916 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13917
13918
13919
13920
13921 hard_links="nottested"
13922 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13923   # do not overwrite the value of need_locks provided by the user
13924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13925 $as_echo_n "checking if we can lock with hard links... " >&6; }
13926   hard_links=yes
13927   $RM conftest*
13928   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13929   touch conftest.a
13930   ln conftest.a conftest.b 2>&5 || hard_links=no
13931   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13933 $as_echo "$hard_links" >&6; }
13934   if test "$hard_links" = no; then
13935     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13936 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13937     need_locks=warn
13938   fi
13939 else
13940   need_locks=no
13941 fi
13942
13943
13944
13945     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13946 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13947
13948   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13949   case $host_os in
13950   aix[4-9]*)
13951     # If we're using GNU nm, then we don't want the "-C" option.
13952     # -C means demangle to AIX nm, but means don't demangle with GNU nm
13953     # Also, AIX nm treats weak defined symbols like other global defined
13954     # symbols, whereas GNU nm marks them as "W".
13955     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13956       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'
13957     else
13958       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'
13959     fi
13960     ;;
13961   pw32*)
13962     export_symbols_cmds_CXX="$ltdll_cmds"
13963   ;;
13964   cygwin* | mingw* | cegcc*)
13965     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'
13966   ;;
13967   *)
13968     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13969   ;;
13970   esac
13971   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13972
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13974 $as_echo "$ld_shlibs_CXX" >&6; }
13975 test "$ld_shlibs_CXX" = no && can_build_shared=no
13976
13977 with_gnu_ld_CXX=$with_gnu_ld
13978
13979
13980
13981
13982
13983
13984 #
13985 # Do we need to explicitly link libc?
13986 #
13987 case "x$archive_cmds_need_lc_CXX" in
13988 x|xyes)
13989   # Assume -lc should be added
13990   archive_cmds_need_lc_CXX=yes
13991
13992   if test "$enable_shared" = yes && test "$GCC" = yes; then
13993     case $archive_cmds_CXX in
13994     *'~'*)
13995       # FIXME: we may have to deal with multi-command sequences.
13996       ;;
13997     '$CC '*)
13998       # Test whether the compiler implicitly links with -lc since on some
13999       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14000       # to ld, don't add -lc before -lgcc.
14001       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14002 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14003 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14004   $as_echo_n "(cached) " >&6
14005 else
14006   $RM conftest*
14007         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14008
14009         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14010   (eval $ac_compile) 2>&5
14011   ac_status=$?
14012   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14013   test $ac_status = 0; } 2>conftest.err; then
14014           soname=conftest
14015           lib=conftest
14016           libobjs=conftest.$ac_objext
14017           deplibs=
14018           wl=$lt_prog_compiler_wl_CXX
14019           pic_flag=$lt_prog_compiler_pic_CXX
14020           compiler_flags=-v
14021           linker_flags=-v
14022           verstring=
14023           output_objdir=.
14024           libname=conftest
14025           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14026           allow_undefined_flag_CXX=
14027           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14028   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14029   ac_status=$?
14030   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14031   test $ac_status = 0; }
14032           then
14033             lt_cv_archive_cmds_need_lc_CXX=no
14034           else
14035             lt_cv_archive_cmds_need_lc_CXX=yes
14036           fi
14037           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14038         else
14039           cat conftest.err 1>&5
14040         fi
14041         $RM conftest*
14042
14043 fi
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14045 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14046       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14047       ;;
14048     esac
14049   fi
14050   ;;
14051 esac
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14117 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14118
14119 library_names_spec=
14120 libname_spec='lib$name'
14121 soname_spec=
14122 shrext_cmds=".so"
14123 postinstall_cmds=
14124 postuninstall_cmds=
14125 finish_cmds=
14126 finish_eval=
14127 shlibpath_var=
14128 shlibpath_overrides_runpath=unknown
14129 version_type=none
14130 dynamic_linker="$host_os ld.so"
14131 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14132 need_lib_prefix=unknown
14133 hardcode_into_libs=no
14134
14135 # when you set need_version to no, make sure it does not cause -set_version
14136 # flags to be left without arguments
14137 need_version=unknown
14138
14139 case $host_os in
14140 aix3*)
14141   version_type=linux
14142   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14143   shlibpath_var=LIBPATH
14144
14145   # AIX 3 has no versioning support, so we append a major version to the name.
14146   soname_spec='${libname}${release}${shared_ext}$major'
14147   ;;
14148
14149 aix[4-9]*)
14150   version_type=linux
14151   need_lib_prefix=no
14152   need_version=no
14153   hardcode_into_libs=yes
14154   if test "$host_cpu" = ia64; then
14155     # AIX 5 supports IA64
14156     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14157     shlibpath_var=LD_LIBRARY_PATH
14158   else
14159     # With GCC up to 2.95.x, collect2 would create an import file
14160     # for dependence libraries.  The import file would start with
14161     # the line `#! .'.  This would cause the generated library to
14162     # depend on `.', always an invalid library.  This was fixed in
14163     # development snapshots of GCC prior to 3.0.
14164     case $host_os in
14165       aix4 | aix4.[01] | aix4.[01].*)
14166       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14167            echo ' yes '
14168            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14169         :
14170       else
14171         can_build_shared=no
14172       fi
14173       ;;
14174     esac
14175     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14176     # soname into executable. Probably we can add versioning support to
14177     # collect2, so additional links can be useful in future.
14178     if test "$aix_use_runtimelinking" = yes; then
14179       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14180       # instead of lib<name>.a to let people know that these are not
14181       # typical AIX shared libraries.
14182       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14183     else
14184       # We preserve .a as extension for shared libraries through AIX4.2
14185       # and later when we are not doing run time linking.
14186       library_names_spec='${libname}${release}.a $libname.a'
14187       soname_spec='${libname}${release}${shared_ext}$major'
14188     fi
14189     shlibpath_var=LIBPATH
14190   fi
14191   ;;
14192
14193 amigaos*)
14194   case $host_cpu in
14195   powerpc)
14196     # Since July 2007 AmigaOS4 officially supports .so libraries.
14197     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14198     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14199     ;;
14200   m68k)
14201     library_names_spec='$libname.ixlibrary $libname.a'
14202     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14203     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'
14204     ;;
14205   esac
14206   ;;
14207
14208 beos*)
14209   library_names_spec='${libname}${shared_ext}'
14210   dynamic_linker="$host_os ld.so"
14211   shlibpath_var=LIBRARY_PATH
14212   ;;
14213
14214 bsdi[45]*)
14215   version_type=linux
14216   need_version=no
14217   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14218   soname_spec='${libname}${release}${shared_ext}$major'
14219   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14220   shlibpath_var=LD_LIBRARY_PATH
14221   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14222   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14223   # the default ld.so.conf also contains /usr/contrib/lib and
14224   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14225   # libtool to hard-code these into programs
14226   ;;
14227
14228 cygwin* | mingw* | pw32* | cegcc*)
14229   version_type=windows
14230   shrext_cmds=".dll"
14231   need_version=no
14232   need_lib_prefix=no
14233
14234   case $GCC,$host_os in
14235   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14236     library_names_spec='$libname.dll.a'
14237     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14238     postinstall_cmds='base_file=`basename \${file}`~
14239       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14240       dldir=$destdir/`dirname \$dlpath`~
14241       test -d \$dldir || mkdir -p \$dldir~
14242       $install_prog $dir/$dlname \$dldir/$dlname~
14243       chmod a+x \$dldir/$dlname~
14244       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14245         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14246       fi'
14247     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14248       dlpath=$dir/\$dldll~
14249        $RM \$dlpath'
14250     shlibpath_overrides_runpath=yes
14251
14252     case $host_os in
14253     cygwin*)
14254       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14255       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14256
14257       ;;
14258     mingw* | cegcc*)
14259       # MinGW DLLs use traditional 'lib' prefix
14260       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14261       ;;
14262     pw32*)
14263       # pw32 DLLs use 'pw' prefix rather than 'lib'
14264       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14265       ;;
14266     esac
14267     ;;
14268
14269   *)
14270     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14271     ;;
14272   esac
14273   dynamic_linker='Win32 ld.exe'
14274   # FIXME: first we should search . and the directory the executable is in
14275   shlibpath_var=PATH
14276   ;;
14277
14278 darwin* | rhapsody*)
14279   dynamic_linker="$host_os dyld"
14280   version_type=darwin
14281   need_lib_prefix=no
14282   need_version=no
14283   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14284   soname_spec='${libname}${release}${major}$shared_ext'
14285   shlibpath_overrides_runpath=yes
14286   shlibpath_var=DYLD_LIBRARY_PATH
14287   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14288
14289   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14290   ;;
14291
14292 dgux*)
14293   version_type=linux
14294   need_lib_prefix=no
14295   need_version=no
14296   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14297   soname_spec='${libname}${release}${shared_ext}$major'
14298   shlibpath_var=LD_LIBRARY_PATH
14299   ;;
14300
14301 freebsd* | dragonfly*)
14302   # DragonFly does not have aout.  When/if they implement a new
14303   # versioning mechanism, adjust this.
14304   if test -x /usr/bin/objformat; then
14305     objformat=`/usr/bin/objformat`
14306   else
14307     case $host_os in
14308     freebsd[23].*) objformat=aout ;;
14309     *) objformat=elf ;;
14310     esac
14311   fi
14312   version_type=freebsd-$objformat
14313   case $version_type in
14314     freebsd-elf*)
14315       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14316       need_version=no
14317       need_lib_prefix=no
14318       ;;
14319     freebsd-*)
14320       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14321       need_version=yes
14322       ;;
14323   esac
14324   shlibpath_var=LD_LIBRARY_PATH
14325   case $host_os in
14326   freebsd2.*)
14327     shlibpath_overrides_runpath=yes
14328     ;;
14329   freebsd3.[01]* | freebsdelf3.[01]*)
14330     shlibpath_overrides_runpath=yes
14331     hardcode_into_libs=yes
14332     ;;
14333   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14334   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14335     shlibpath_overrides_runpath=no
14336     hardcode_into_libs=yes
14337     ;;
14338   *) # from 4.6 on, and DragonFly
14339     shlibpath_overrides_runpath=yes
14340     hardcode_into_libs=yes
14341     ;;
14342   esac
14343   ;;
14344
14345 gnu*)
14346   version_type=linux
14347   need_lib_prefix=no
14348   need_version=no
14349   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14350   soname_spec='${libname}${release}${shared_ext}$major'
14351   shlibpath_var=LD_LIBRARY_PATH
14352   hardcode_into_libs=yes
14353   ;;
14354
14355 haiku*)
14356   version_type=linux
14357   need_lib_prefix=no
14358   need_version=no
14359   dynamic_linker="$host_os runtime_loader"
14360   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14361   soname_spec='${libname}${release}${shared_ext}$major'
14362   shlibpath_var=LIBRARY_PATH
14363   shlibpath_overrides_runpath=yes
14364   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14365   hardcode_into_libs=yes
14366   ;;
14367
14368 hpux9* | hpux10* | hpux11*)
14369   # Give a soname corresponding to the major version so that dld.sl refuses to
14370   # link against other versions.
14371   version_type=sunos
14372   need_lib_prefix=no
14373   need_version=no
14374   case $host_cpu in
14375   ia64*)
14376     shrext_cmds='.so'
14377     hardcode_into_libs=yes
14378     dynamic_linker="$host_os dld.so"
14379     shlibpath_var=LD_LIBRARY_PATH
14380     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14381     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14382     soname_spec='${libname}${release}${shared_ext}$major'
14383     if test "X$HPUX_IA64_MODE" = X32; then
14384       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14385     else
14386       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14387     fi
14388     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14389     ;;
14390   hppa*64*)
14391     shrext_cmds='.sl'
14392     hardcode_into_libs=yes
14393     dynamic_linker="$host_os dld.sl"
14394     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14395     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14396     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14397     soname_spec='${libname}${release}${shared_ext}$major'
14398     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14399     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14400     ;;
14401   *)
14402     shrext_cmds='.sl'
14403     dynamic_linker="$host_os dld.sl"
14404     shlibpath_var=SHLIB_PATH
14405     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14406     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14407     soname_spec='${libname}${release}${shared_ext}$major'
14408     ;;
14409   esac
14410   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14411   postinstall_cmds='chmod 555 $lib'
14412   # or fails outright, so override atomically:
14413   install_override_mode=555
14414   ;;
14415
14416 interix[3-9]*)
14417   version_type=linux
14418   need_lib_prefix=no
14419   need_version=no
14420   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14421   soname_spec='${libname}${release}${shared_ext}$major'
14422   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14423   shlibpath_var=LD_LIBRARY_PATH
14424   shlibpath_overrides_runpath=no
14425   hardcode_into_libs=yes
14426   ;;
14427
14428 irix5* | irix6* | nonstopux*)
14429   case $host_os in
14430     nonstopux*) version_type=nonstopux ;;
14431     *)
14432         if test "$lt_cv_prog_gnu_ld" = yes; then
14433                 version_type=linux
14434         else
14435                 version_type=irix
14436         fi ;;
14437   esac
14438   need_lib_prefix=no
14439   need_version=no
14440   soname_spec='${libname}${release}${shared_ext}$major'
14441   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14442   case $host_os in
14443   irix5* | nonstopux*)
14444     libsuff= shlibsuff=
14445     ;;
14446   *)
14447     case $LD in # libtool.m4 will add one of these switches to LD
14448     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14449       libsuff= shlibsuff= libmagic=32-bit;;
14450     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14451       libsuff=32 shlibsuff=N32 libmagic=N32;;
14452     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14453       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14454     *) libsuff= shlibsuff= libmagic=never-match;;
14455     esac
14456     ;;
14457   esac
14458   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14459   shlibpath_overrides_runpath=no
14460   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14461   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14462   hardcode_into_libs=yes
14463   ;;
14464
14465 # No shared lib support for Linux oldld, aout, or coff.
14466 linux*oldld* | linux*aout* | linux*coff*)
14467   dynamic_linker=no
14468   ;;
14469
14470 # This must be Linux ELF.
14471 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14472   version_type=linux
14473   need_lib_prefix=no
14474   need_version=no
14475   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14476   soname_spec='${libname}${release}${shared_ext}$major'
14477   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14478   shlibpath_var=LD_LIBRARY_PATH
14479   shlibpath_overrides_runpath=no
14480
14481   # Some binutils ld are patched to set DT_RUNPATH
14482   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14483   $as_echo_n "(cached) " >&6
14484 else
14485   lt_cv_shlibpath_overrides_runpath=no
14486     save_LDFLAGS=$LDFLAGS
14487     save_libdir=$libdir
14488     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14489          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14490     if test x$gcc_no_link = xyes; then
14491   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14492 fi
14493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14494 /* end confdefs.h.  */
14495
14496 int
14497 main ()
14498 {
14499
14500   ;
14501   return 0;
14502 }
14503 _ACEOF
14504 if ac_fn_cxx_try_link "$LINENO"; then :
14505   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14506   lt_cv_shlibpath_overrides_runpath=yes
14507 fi
14508 fi
14509 rm -f core conftest.err conftest.$ac_objext \
14510     conftest$ac_exeext conftest.$ac_ext
14511     LDFLAGS=$save_LDFLAGS
14512     libdir=$save_libdir
14513
14514 fi
14515
14516   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14517
14518   # This implies no fast_install, which is unacceptable.
14519   # Some rework will be needed to allow for fast_install
14520   # before this can be enabled.
14521   hardcode_into_libs=yes
14522
14523   # Append ld.so.conf contents to the search path
14524   if test -f /etc/ld.so.conf; then
14525     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' ' '`
14526     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14527   fi
14528
14529   # We used to test for /lib/ld.so.1 and disable shared libraries on
14530   # powerpc, because MkLinux only supported shared libraries with the
14531   # GNU dynamic linker.  Since this was broken with cross compilers,
14532   # most powerpc-linux boxes support dynamic linking these days and
14533   # people can always --disable-shared, the test was removed, and we
14534   # assume the GNU/Linux dynamic linker is in use.
14535   dynamic_linker='GNU/Linux ld.so'
14536   ;;
14537
14538 netbsd*)
14539   version_type=sunos
14540   need_lib_prefix=no
14541   need_version=no
14542   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14543     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14544     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14545     dynamic_linker='NetBSD (a.out) ld.so'
14546   else
14547     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14548     soname_spec='${libname}${release}${shared_ext}$major'
14549     dynamic_linker='NetBSD ld.elf_so'
14550   fi
14551   shlibpath_var=LD_LIBRARY_PATH
14552   shlibpath_overrides_runpath=yes
14553   hardcode_into_libs=yes
14554   ;;
14555
14556 newsos6)
14557   version_type=linux
14558   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14559   shlibpath_var=LD_LIBRARY_PATH
14560   shlibpath_overrides_runpath=yes
14561   ;;
14562
14563 *nto* | *qnx*)
14564   version_type=qnx
14565   need_lib_prefix=no
14566   need_version=no
14567   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14568   soname_spec='${libname}${release}${shared_ext}$major'
14569   shlibpath_var=LD_LIBRARY_PATH
14570   shlibpath_overrides_runpath=no
14571   hardcode_into_libs=yes
14572   dynamic_linker='ldqnx.so'
14573   ;;
14574
14575 openbsd*)
14576   version_type=sunos
14577   sys_lib_dlsearch_path_spec="/usr/lib"
14578   need_lib_prefix=no
14579   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14580   case $host_os in
14581     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14582     *)                          need_version=no  ;;
14583   esac
14584   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14585   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14586   shlibpath_var=LD_LIBRARY_PATH
14587   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14588     case $host_os in
14589       openbsd2.[89] | openbsd2.[89].*)
14590         shlibpath_overrides_runpath=no
14591         ;;
14592       *)
14593         shlibpath_overrides_runpath=yes
14594         ;;
14595       esac
14596   else
14597     shlibpath_overrides_runpath=yes
14598   fi
14599   ;;
14600
14601 os2*)
14602   libname_spec='$name'
14603   shrext_cmds=".dll"
14604   need_lib_prefix=no
14605   library_names_spec='$libname${shared_ext} $libname.a'
14606   dynamic_linker='OS/2 ld.exe'
14607   shlibpath_var=LIBPATH
14608   ;;
14609
14610 osf3* | osf4* | osf5*)
14611   version_type=osf
14612   need_lib_prefix=no
14613   need_version=no
14614   soname_spec='${libname}${release}${shared_ext}$major'
14615   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14616   shlibpath_var=LD_LIBRARY_PATH
14617   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14618   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14619   ;;
14620
14621 rdos*)
14622   dynamic_linker=no
14623   ;;
14624
14625 solaris*)
14626   version_type=linux
14627   need_lib_prefix=no
14628   need_version=no
14629   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14630   soname_spec='${libname}${release}${shared_ext}$major'
14631   shlibpath_var=LD_LIBRARY_PATH
14632   shlibpath_overrides_runpath=yes
14633   hardcode_into_libs=yes
14634   # ldd complains unless libraries are executable
14635   postinstall_cmds='chmod +x $lib'
14636   ;;
14637
14638 sunos4*)
14639   version_type=sunos
14640   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14641   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14642   shlibpath_var=LD_LIBRARY_PATH
14643   shlibpath_overrides_runpath=yes
14644   if test "$with_gnu_ld" = yes; then
14645     need_lib_prefix=no
14646   fi
14647   need_version=yes
14648   ;;
14649
14650 sysv4 | sysv4.3*)
14651   version_type=linux
14652   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14653   soname_spec='${libname}${release}${shared_ext}$major'
14654   shlibpath_var=LD_LIBRARY_PATH
14655   case $host_vendor in
14656     sni)
14657       shlibpath_overrides_runpath=no
14658       need_lib_prefix=no
14659       runpath_var=LD_RUN_PATH
14660       ;;
14661     siemens)
14662       need_lib_prefix=no
14663       ;;
14664     motorola)
14665       need_lib_prefix=no
14666       need_version=no
14667       shlibpath_overrides_runpath=no
14668       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14669       ;;
14670   esac
14671   ;;
14672
14673 sysv4*MP*)
14674   if test -d /usr/nec ;then
14675     version_type=linux
14676     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14677     soname_spec='$libname${shared_ext}.$major'
14678     shlibpath_var=LD_LIBRARY_PATH
14679   fi
14680   ;;
14681
14682 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14683   version_type=freebsd-elf
14684   need_lib_prefix=no
14685   need_version=no
14686   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14687   soname_spec='${libname}${release}${shared_ext}$major'
14688   shlibpath_var=LD_LIBRARY_PATH
14689   shlibpath_overrides_runpath=yes
14690   hardcode_into_libs=yes
14691   if test "$with_gnu_ld" = yes; then
14692     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14693   else
14694     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14695     case $host_os in
14696       sco3.2v5*)
14697         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14698         ;;
14699     esac
14700   fi
14701   sys_lib_dlsearch_path_spec='/usr/lib'
14702   ;;
14703
14704 tpf*)
14705   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14706   version_type=linux
14707   need_lib_prefix=no
14708   need_version=no
14709   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14710   shlibpath_var=LD_LIBRARY_PATH
14711   shlibpath_overrides_runpath=no
14712   hardcode_into_libs=yes
14713   ;;
14714
14715 uts4*)
14716   version_type=linux
14717   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14718   soname_spec='${libname}${release}${shared_ext}$major'
14719   shlibpath_var=LD_LIBRARY_PATH
14720   ;;
14721
14722 *)
14723   dynamic_linker=no
14724   ;;
14725 esac
14726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14727 $as_echo "$dynamic_linker" >&6; }
14728 test "$dynamic_linker" = no && can_build_shared=no
14729
14730 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14731 if test "$GCC" = yes; then
14732   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14733 fi
14734
14735 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14736   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14737 fi
14738 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14739   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14740 fi
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14780 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14781 hardcode_action_CXX=
14782 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14783    test -n "$runpath_var_CXX" ||
14784    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14785
14786   # We can hardcode non-existent directories.
14787   if test "$hardcode_direct_CXX" != no &&
14788      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14789      # have to relink, otherwise we might link with an installed library
14790      # when we should be linking with a yet-to-be-installed one
14791      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14792      test "$hardcode_minus_L_CXX" != no; then
14793     # Linking always hardcodes the temporary library directory.
14794     hardcode_action_CXX=relink
14795   else
14796     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14797     hardcode_action_CXX=immediate
14798   fi
14799 else
14800   # We cannot hardcode anything, or else we can only hardcode existing
14801   # directories.
14802   hardcode_action_CXX=unsupported
14803 fi
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14805 $as_echo "$hardcode_action_CXX" >&6; }
14806
14807 if test "$hardcode_action_CXX" = relink ||
14808    test "$inherit_rpath_CXX" = yes; then
14809   # Fast installation is not supported
14810   enable_fast_install=no
14811 elif test "$shlibpath_overrides_runpath" = yes ||
14812      test "$enable_shared" = no; then
14813   # Fast installation is not necessary
14814   enable_fast_install=needless
14815 fi
14816
14817
14818
14819
14820
14821
14822
14823   fi # test -n "$compiler"
14824
14825   CC=$lt_save_CC
14826   LDCXX=$LD
14827   LD=$lt_save_LD
14828   GCC=$lt_save_GCC
14829   with_gnu_ld=$lt_save_with_gnu_ld
14830   lt_cv_path_LDCXX=$lt_cv_path_LD
14831   lt_cv_path_LD=$lt_save_path_LD
14832   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14833   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14834 fi # test "$_lt_caught_CXX_error" != yes
14835
14836 ac_ext=c
14837 ac_cpp='$CPP $CPPFLAGS'
14838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854         ac_config_commands="$ac_config_commands libtool"
14855
14856
14857
14858
14859 # Only expand once:
14860
14861
14862
14863
14864
14865 case $host in
14866   *-cygwin* | *-mingw*)
14867     # 'host' will be top-level target in the case of a target lib,
14868     # we must compare to with_cross_host to decide if this is a native
14869     # or cross-compiler and select where to install dlls appropriately.
14870     if test -n "$with_cross_host" &&
14871         test x"$with_cross_host" != x"no"; then
14872       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14873     else
14874       lt_host_flags='-no-undefined -bindir "$(bindir)"';
14875     fi
14876     ;;
14877   *)
14878     lt_host_flags=
14879     ;;
14880 esac
14881
14882
14883
14884
14885
14886
14887 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14888 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14889
14890 # Possibly disable most of the library.
14891 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14892 ## than just ignoring the results.  Faster /and/ more correct, win win.
14893
14894   # Check whether --enable-hosted-libstdcxx was given.
14895 if test "${enable_hosted_libstdcxx+set}" = set; then :
14896   enableval=$enable_hosted_libstdcxx;
14897 else
14898   case "$host" in
14899         arm*-*-symbianelf*)
14900             enable_hosted_libstdcxx=no
14901             ;;
14902         *)
14903             enable_hosted_libstdcxx=yes
14904             ;;
14905      esac
14906 fi
14907
14908   if test "$enable_hosted_libstdcxx" = no; then
14909     { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14910 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14911     is_hosted=no
14912     hosted_define=0
14913     enable_abi_check=no
14914     enable_libstdcxx_pch=no
14915   else
14916     is_hosted=yes
14917     hosted_define=1
14918   fi
14919
14920
14921 cat >>confdefs.h <<_ACEOF
14922 #define _GLIBCXX_HOSTED $hosted_define
14923 _ACEOF
14924
14925
14926
14927 # Enable compiler support that doesn't require linking.
14928
14929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14930 $as_echo_n "checking for exception model to use... " >&6; }
14931
14932   ac_ext=cpp
14933 ac_cpp='$CXXCPP $CPPFLAGS'
14934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14937
14938    # Check whether --enable-sjlj-exceptions was given.
14939 if test "${enable_sjlj_exceptions+set}" = set; then :
14940   enableval=$enable_sjlj_exceptions;
14941       case "$enableval" in
14942        yes|no|auto) ;;
14943        *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14944                         esac
14945
14946 else
14947   enable_sjlj_exceptions=auto
14948 fi
14949
14950
14951
14952   if test $enable_sjlj_exceptions = auto; then
14953     # Botheration.  Now we've got to detect the exception model.  Link tests
14954     # against libgcc.a are problematic since we've not been given proper -L
14955     # bits for single-tree newlib and libgloss.
14956     #
14957     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
14958     cat > conftest.$ac_ext << EOF
14959 #line 14959 "configure"
14960 struct S { ~S(); };
14961 void bar();
14962 void foo()
14963 {
14964   S s;
14965   bar();
14966 }
14967 EOF
14968     old_CXXFLAGS="$CXXFLAGS"
14969     CXXFLAGS=-S
14970     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14971   (eval $ac_compile) 2>&5
14972   ac_status=$?
14973   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14974   test $ac_status = 0; }; then
14975       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14976         enable_sjlj_exceptions=yes
14977       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14978         enable_sjlj_exceptions=no
14979       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14980         enable_sjlj_exceptions=no
14981       fi
14982     fi
14983     CXXFLAGS="$old_CXXFLAGS"
14984     rm -f conftest*
14985   fi
14986
14987   # This is a tad weird, for hysterical raisins.  We have to map
14988   # enable/disable to two different models.
14989   case $enable_sjlj_exceptions in
14990     yes)
14991
14992 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14993
14994       ac_exception_model_name=sjlj
14995       ;;
14996     no)
14997       ac_exception_model_name="call frame"
14998       ;;
14999     *)
15000       as_fn_error "unable to detect exception model" "$LINENO" 5
15001       ;;
15002   esac
15003  ac_ext=c
15004 ac_cpp='$CPP $CPPFLAGS'
15005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15008
15009  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15010 $as_echo "$ac_exception_model_name" >&6; }
15011
15012
15013    # Check whether --enable-libstdcxx-pch was given.
15014 if test "${enable_libstdcxx_pch+set}" = set; then :
15015   enableval=$enable_libstdcxx_pch;
15016       case "$enableval" in
15017        yes|no) ;;
15018        *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15019       esac
15020
15021 else
15022   enable_libstdcxx_pch=$is_hosted
15023 fi
15024
15025
15026   if test $enable_libstdcxx_pch = yes; then
15027     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15028 $as_echo_n "checking for compiler with PCH support... " >&6; }
15029 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15030   $as_echo_n "(cached) " >&6
15031 else
15032   ac_save_CXXFLAGS="$CXXFLAGS"
15033        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15034
15035        ac_ext=cpp
15036 ac_cpp='$CXXCPP $CPPFLAGS'
15037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15040
15041        echo '#include <math.h>' > conftest.h
15042        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15043                           -o conftest.h.gch 1>&5 2>&1 &&
15044                 echo '#error "pch failed"' > conftest.h &&
15045           echo '#include "conftest.h"' > conftest.cc &&
15046                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15047        then
15048          glibcxx_cv_prog_CXX_pch=yes
15049        else
15050          glibcxx_cv_prog_CXX_pch=no
15051        fi
15052        rm -f conftest*
15053        CXXFLAGS=$ac_save_CXXFLAGS
15054        ac_ext=c
15055 ac_cpp='$CPP $CPPFLAGS'
15056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15059
15060
15061 fi
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15063 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15064     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15065   fi
15066
15067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15068 $as_echo_n "checking for enabled PCH... " >&6; }
15069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15070 $as_echo "$enable_libstdcxx_pch" >&6; }
15071
15072
15073   if test $enable_libstdcxx_pch = yes; then
15074     glibcxx_PCHFLAGS="-include bits/stdc++.h"
15075   else
15076     glibcxx_PCHFLAGS=""
15077   fi
15078
15079
15080
15081   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15082 $as_echo_n "checking for thread model used by GCC... " >&6; }
15083   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15085 $as_echo "$target_thread_file" >&6; }
15086
15087
15088
15089   ac_ext=cpp
15090 ac_cpp='$CXXCPP $CPPFLAGS'
15091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15094
15095   old_CXXFLAGS="$CXXFLAGS"
15096
15097   # Do link tests if possible, instead asm tests, limited to some platforms
15098   # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15099   # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15100   atomic_builtins_link_tests=no
15101   if test x$gcc_no_link != xyes; then
15102     # Can do link tests. Limit to some tested platforms
15103     case "$host" in
15104       *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15105         atomic_builtins_link_tests=yes
15106         ;;
15107     esac
15108   fi
15109
15110   if test x$atomic_builtins_link_tests = xyes; then
15111
15112   # Do link tests.
15113
15114   CXXFLAGS="$CXXFLAGS -fno-exceptions"
15115
15116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15117 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15118   if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15119   $as_echo_n "(cached) " >&6
15120 else
15121
15122     if test x$gcc_no_link = xyes; then
15123   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15124 fi
15125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15126 /* end confdefs.h.  */
15127
15128 int
15129 main ()
15130 {
15131 typedef bool atomic_type;
15132        atomic_type c1;
15133        atomic_type c2;
15134        atomic_type c3(0);
15135        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15136        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15137                                    __ATOMIC_RELAXED);
15138        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15139        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15140
15141   ;
15142   return 0;
15143 }
15144 _ACEOF
15145 if ac_fn_cxx_try_link "$LINENO"; then :
15146   glibcxx_cv_atomic_bool=yes
15147 else
15148   glibcxx_cv_atomic_bool=no
15149 fi
15150 rm -f core conftest.err conftest.$ac_objext \
15151     conftest$ac_exeext conftest.$ac_ext
15152
15153 fi
15154
15155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15156 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15157
15158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15159 $as_echo_n "checking for atomic builtins for short... " >&6; }
15160   if test "${glibcxx_cv_atomic_short+set}" = set; then :
15161   $as_echo_n "(cached) " >&6
15162 else
15163
15164     if test x$gcc_no_link = xyes; then
15165   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15166 fi
15167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15168 /* end confdefs.h.  */
15169
15170 int
15171 main ()
15172 {
15173 typedef short atomic_type;
15174        atomic_type c1;
15175        atomic_type c2;
15176        atomic_type c3(0);
15177        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15178        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15179                                    __ATOMIC_RELAXED);
15180        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15181        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15182
15183   ;
15184   return 0;
15185 }
15186 _ACEOF
15187 if ac_fn_cxx_try_link "$LINENO"; then :
15188   glibcxx_cv_atomic_short=yes
15189 else
15190   glibcxx_cv_atomic_short=no
15191 fi
15192 rm -f core conftest.err conftest.$ac_objext \
15193     conftest$ac_exeext conftest.$ac_ext
15194
15195 fi
15196
15197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15198 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15199
15200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15201 $as_echo_n "checking for atomic builtins for int... " >&6; }
15202   if test "${glibcxx_cv_atomic_int+set}" = set; then :
15203   $as_echo_n "(cached) " >&6
15204 else
15205
15206     if test x$gcc_no_link = xyes; then
15207   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15208 fi
15209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15210 /* end confdefs.h.  */
15211
15212 int
15213 main ()
15214 {
15215 typedef int atomic_type;
15216        atomic_type c1;
15217        atomic_type c2;
15218        atomic_type c3(0);
15219        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15220        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15221                                    __ATOMIC_RELAXED);
15222        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15223        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15224
15225   ;
15226   return 0;
15227 }
15228 _ACEOF
15229 if ac_fn_cxx_try_link "$LINENO"; then :
15230   glibcxx_cv_atomic_int=yes
15231 else
15232   glibcxx_cv_atomic_int=no
15233 fi
15234 rm -f core conftest.err conftest.$ac_objext \
15235     conftest$ac_exeext conftest.$ac_ext
15236
15237 fi
15238
15239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15240 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15241
15242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15243 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15244   if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15245   $as_echo_n "(cached) " >&6
15246 else
15247
15248     if test x$gcc_no_link = xyes; then
15249   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15250 fi
15251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15252 /* end confdefs.h.  */
15253
15254 int
15255 main ()
15256 {
15257 typedef long long atomic_type;
15258        atomic_type c1;
15259        atomic_type c2;
15260        atomic_type c3(0);
15261        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15262        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15263                                    __ATOMIC_RELAXED);
15264        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15265        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15266
15267   ;
15268   return 0;
15269 }
15270 _ACEOF
15271 if ac_fn_cxx_try_link "$LINENO"; then :
15272   glibcxx_cv_atomic_long_long=yes
15273 else
15274   glibcxx_cv_atomic_long_long=no
15275 fi
15276 rm -f core conftest.err conftest.$ac_objext \
15277     conftest$ac_exeext conftest.$ac_ext
15278
15279 fi
15280
15281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15282 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15283
15284   else
15285
15286   # Do asm tests.
15287
15288   # Compile unoptimized.
15289   CXXFLAGS='-O0 -S'
15290
15291   # Fake what AC_TRY_COMPILE does.
15292
15293     cat > conftest.$ac_ext << EOF
15294 #line 15294 "configure"
15295 int main()
15296 {
15297   typedef bool atomic_type;
15298   atomic_type c1;
15299   atomic_type c2;
15300   atomic_type c3(0);
15301   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15302   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15303                               __ATOMIC_RELAXED);
15304   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15305   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15306
15307   return 0;
15308 }
15309 EOF
15310
15311     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15312 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15313     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15314   (eval $ac_compile) 2>&5
15315   ac_status=$?
15316   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15317   test $ac_status = 0; }; then
15318       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15319         glibcxx_cv_atomic_bool=no
15320       else
15321         glibcxx_cv_atomic_bool=yes
15322       fi
15323     fi
15324     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15325 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15326     rm -f conftest*
15327
15328     cat > conftest.$ac_ext << EOF
15329 #line 15329 "configure"
15330 int main()
15331 {
15332   typedef short atomic_type;
15333   atomic_type c1;
15334   atomic_type c2;
15335   atomic_type c3(0);
15336   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15337   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15338                               __ATOMIC_RELAXED);
15339   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15340   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15341
15342   return 0;
15343 }
15344 EOF
15345
15346     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15347 $as_echo_n "checking for atomic builtins for short... " >&6; }
15348     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15349   (eval $ac_compile) 2>&5
15350   ac_status=$?
15351   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15352   test $ac_status = 0; }; then
15353       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15354         glibcxx_cv_atomic_short=no
15355       else
15356         glibcxx_cv_atomic_short=yes
15357       fi
15358     fi
15359     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15360 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15361     rm -f conftest*
15362
15363     cat > conftest.$ac_ext << EOF
15364 #line 15364 "configure"
15365 int main()
15366 {
15367   // NB: _Atomic_word not necessarily int.
15368   typedef int atomic_type;
15369   atomic_type c1;
15370   atomic_type c2;
15371   atomic_type c3(0);
15372   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15373   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15374                               __ATOMIC_RELAXED);
15375   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15376   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15377
15378   return 0;
15379 }
15380 EOF
15381
15382     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15383 $as_echo_n "checking for atomic builtins for int... " >&6; }
15384     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15385   (eval $ac_compile) 2>&5
15386   ac_status=$?
15387   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15388   test $ac_status = 0; }; then
15389       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15390         glibcxx_cv_atomic_int=no
15391       else
15392         glibcxx_cv_atomic_int=yes
15393       fi
15394     fi
15395     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15396 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15397     rm -f conftest*
15398
15399     cat > conftest.$ac_ext << EOF
15400 #line 15400 "configure"
15401 int main()
15402 {
15403   typedef long long atomic_type;
15404   atomic_type c1;
15405   atomic_type c2;
15406   atomic_type c3(0);
15407   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15408   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15409                               __ATOMIC_RELAXED);
15410   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15411   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15412
15413   return 0;
15414 }
15415 EOF
15416
15417     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15418 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15419     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15420   (eval $ac_compile) 2>&5
15421   ac_status=$?
15422   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15423   test $ac_status = 0; }; then
15424       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15425         glibcxx_cv_atomic_long_long=no
15426       else
15427         glibcxx_cv_atomic_long_long=yes
15428       fi
15429     fi
15430     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15431 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15432     rm -f conftest*
15433
15434   fi
15435
15436   CXXFLAGS="$old_CXXFLAGS"
15437   ac_ext=c
15438 ac_cpp='$CPP $CPPFLAGS'
15439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15442
15443
15444   # Set atomicity_dir to builtins if all of above tests pass.
15445   if test $glibcxx_cv_atomic_bool = yes \
15446      && test $glibcxx_cv_atomic_short = yes \
15447      && test $glibcxx_cv_atomic_int = yes \
15448      && test $glibcxx_cv_atomic_long_long = yes ; then
15449
15450 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15451
15452     atomicity_dir=cpu/generic/atomicity_builtins
15453   fi
15454
15455   # If still generic, set to mutex.
15456   if test $atomicity_dir = "cpu/generic" ; then
15457     atomicity_dir=cpu/generic/atomicity_mutex
15458     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15459 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15460       if test "x$target_thread_file" = xsingle; then
15461         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15462 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15463         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15464 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15465       else
15466         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15467 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15468         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15469 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15470       fi
15471   fi
15472
15473
15474
15475
15476   # Fake what AC_TRY_COMPILE does, without linking as this is
15477   # unnecessary for this test.
15478
15479     cat > conftest.$ac_ext << EOF
15480 #line 15480 "configure"
15481 int main()
15482 {
15483   _Decimal32 d1;
15484   _Decimal64 d2;
15485   _Decimal128 d3;
15486   return 0;
15487 }
15488 EOF
15489
15490     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15491 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15492     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15493   (eval $ac_compile) 2>&5
15494   ac_status=$?
15495   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15496   test $ac_status = 0; }; then
15497
15498 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15499
15500       enable_dfp=yes
15501     else
15502       enable_dfp=no
15503     fi
15504     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15505 $as_echo "$enable_dfp" >&6; }
15506     rm -f conftest*
15507
15508
15509
15510
15511   ac_ext=cpp
15512 ac_cpp='$CXXCPP $CPPFLAGS'
15513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15516
15517
15518   # Fake what AC_TRY_COMPILE does, without linking as this is
15519   # unnecessary for this test.
15520
15521     cat > conftest.$ac_ext << EOF
15522 #line 15522 "configure"
15523 template<typename T1, typename T2>
15524   struct same
15525   { typedef T2 type; };
15526
15527 template<typename T>
15528   struct same<T, T>;
15529
15530 int main()
15531 {
15532   typename same<long, __int128>::type                i1;
15533   typename same<long long, __int128>::type           i2;
15534 }
15535 EOF
15536
15537     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15538 $as_echo_n "checking for __int128... " >&6; }
15539     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15540   (eval $ac_compile) 2>&5
15541   ac_status=$?
15542   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15543   test $ac_status = 0; }; then
15544
15545 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15546
15547       enable_int128=yes
15548     else
15549       enable_int128=no
15550     fi
15551     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15552 $as_echo "$enable_int128" >&6; }
15553     rm -f conftest*
15554
15555     cat > conftest.$ac_ext << EOF
15556 #line 15556 "configure"
15557 template<typename T1, typename T2>
15558   struct same
15559   { typedef T2 type; };
15560
15561 template<typename T>
15562   struct same<T, T>;
15563
15564 int main()
15565 {
15566   typename same<double, __float128>::type      f1;
15567   typename same<long double, __float128>::type f2;
15568 }
15569 EOF
15570
15571     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15572 $as_echo_n "checking for __float128... " >&6; }
15573     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15574   (eval $ac_compile) 2>&5
15575   ac_status=$?
15576   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15577   test $ac_status = 0; }; then
15578
15579 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15580
15581       enable_float128=yes
15582     else
15583       enable_float128=no
15584     fi
15585     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15586 $as_echo "$enable_float128" >&6; }
15587     rm -f conftest*
15588
15589   ac_ext=c
15590 ac_cpp='$CPP $CPPFLAGS'
15591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15594
15595
15596
15597 # Checks for compiler support that doesn't require linking.
15598
15599   # All these tests are for C++; save the language and the compiler flags.
15600   # The CXXFLAGS thing is suspicious, but based on similar bits previously
15601   # found in GLIBCXX_CONFIGURE.
15602
15603   ac_ext=cpp
15604 ac_cpp='$CXXCPP $CPPFLAGS'
15605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15608
15609   ac_test_CXXFLAGS="${CXXFLAGS+set}"
15610   ac_save_CXXFLAGS="$CXXFLAGS"
15611
15612   # Check for maintainer-mode bits.
15613   if test x"$USE_MAINTAINER_MODE" = xno; then
15614     WERROR=''
15615   else
15616     WERROR='-Werror'
15617   fi
15618
15619   # Check for -ffunction-sections -fdata-sections
15620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15621 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15622   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15624 /* end confdefs.h.  */
15625 int foo; void bar() { };
15626 int
15627 main ()
15628 {
15629
15630   ;
15631   return 0;
15632 }
15633 _ACEOF
15634 if ac_fn_cxx_try_compile "$LINENO"; then :
15635   ac_fdsections=yes
15636 else
15637   ac_fdsections=no
15638 fi
15639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15640   if test "$ac_test_CXXFLAGS" = set; then
15641     CXXFLAGS="$ac_save_CXXFLAGS"
15642   else
15643     # this is the suspicious part
15644     CXXFLAGS=''
15645   fi
15646   if test x"$ac_fdsections" = x"yes"; then
15647     SECTION_FLAGS='-ffunction-sections -fdata-sections'
15648   fi
15649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15650 $as_echo "$ac_fdsections" >&6; }
15651
15652   ac_ext=c
15653 ac_cpp='$CPP $CPPFLAGS'
15654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15657
15658
15659
15660
15661
15662 # Enable all the variable C++ runtime options that don't require linking.
15663
15664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15665 $as_echo_n "checking for underlying I/O to use... " >&6; }
15666    # Check whether --enable-cstdio was given.
15667 if test "${enable_cstdio+set}" = set; then :
15668   enableval=$enable_cstdio;
15669       case "$enableval" in
15670        stdio) ;;
15671        *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15672                         esac
15673
15674 else
15675   enable_cstdio=stdio
15676 fi
15677
15678
15679
15680   # Now that libio has been removed, you can have any color you want as long
15681   # as it's black.  This is one big no-op until other packages are added, but
15682   # showing the framework never hurts.
15683   case ${enable_cstdio} in
15684     stdio)
15685       CSTDIO_H=config/io/c_io_stdio.h
15686       BASIC_FILE_H=config/io/basic_file_stdio.h
15687       BASIC_FILE_CC=config/io/basic_file_stdio.cc
15688       { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15689 $as_echo "stdio" >&6; }
15690       ;;
15691   esac
15692
15693
15694
15695
15696
15697
15698    # Check whether --enable-clocale was given.
15699 if test "${enable_clocale+set}" = set; then :
15700   enableval=$enable_clocale;
15701       case "$enableval" in
15702        generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15703        *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15704                         esac
15705
15706 else
15707   enable_clocale=auto
15708 fi
15709
15710
15711
15712   # Deal with gettext issues.  Default to not using it (=no) until we detect
15713   # support for it later.  Let the user turn it off via --e/d, but let that
15714   # default to on for easier handling.
15715   USE_NLS=no
15716   # Check whether --enable-nls was given.
15717 if test "${enable_nls+set}" = set; then :
15718   enableval=$enable_nls;
15719 else
15720   enable_nls=yes
15721 fi
15722
15723
15724   # Either a known package, or "auto"
15725   if test $enable_clocale = no || test $enable_clocale = yes; then
15726      enable_clocale=auto
15727   fi
15728   enable_clocale_flag=$enable_clocale
15729
15730   # Probe for locale model to use if none specified.
15731   # Default to "generic".
15732   if test $enable_clocale_flag = auto; then
15733     case ${target_os} in
15734       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15735         enable_clocale_flag=gnu
15736         ;;
15737       darwin* | freebsd*)
15738         enable_clocale_flag=darwin
15739         ;;
15740       *)
15741         if test x"$with_newlib" = x"yes"; then
15742           enable_clocale_flag=newlib
15743         else
15744           enable_clocale_flag=generic
15745         fi
15746         ;;
15747     esac
15748   fi
15749
15750   # Sanity check model, and test for special functionality.
15751   if test $enable_clocale_flag = gnu; then
15752     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15753 /* end confdefs.h.  */
15754
15755     #include <features.h>
15756     #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15757       _GLIBCXX_ok
15758     #endif
15759
15760 _ACEOF
15761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15762   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15763   enable_clocale_flag=gnu
15764 else
15765   enable_clocale_flag=generic
15766 fi
15767 rm -f conftest*
15768
15769
15770     # Set it to scream when it hurts.
15771     ac_save_CFLAGS="$CFLAGS"
15772     CFLAGS="-Wimplicit-function-declaration -Werror"
15773
15774     # Use strxfrm_l if available.
15775     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15776 /* end confdefs.h.  */
15777 #define _GNU_SOURCE 1
15778                     #include <string.h>
15779                     #include <locale.h>
15780 int
15781 main ()
15782 {
15783 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15784   ;
15785   return 0;
15786 }
15787 _ACEOF
15788 if ac_fn_c_try_compile "$LINENO"; then :
15789
15790 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15791
15792 fi
15793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15794
15795     # Use strerror_l if available.
15796     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15797 /* end confdefs.h.  */
15798 #define _GNU_SOURCE 1
15799                     #include <string.h>
15800                     #include <locale.h>
15801 int
15802 main ()
15803 {
15804 __locale_t loc; strerror_l(5, loc);
15805   ;
15806   return 0;
15807 }
15808 _ACEOF
15809 if ac_fn_c_try_compile "$LINENO"; then :
15810
15811 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15812
15813 fi
15814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15815
15816     CFLAGS="$ac_save_CFLAGS"
15817   fi
15818
15819   # Perhaps use strerror_r if available, and strerror_l isn't.
15820   ac_save_CFLAGS="$CFLAGS"
15821   CFLAGS="-Wimplicit-function-declaration -Werror"
15822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15823 /* end confdefs.h.  */
15824 #define _GNU_SOURCE 1
15825                   #include <string.h>
15826                   #include <locale.h>
15827 int
15828 main ()
15829 {
15830 char s[128]; strerror_r(5, s, 128);
15831   ;
15832   return 0;
15833 }
15834 _ACEOF
15835 if ac_fn_c_try_compile "$LINENO"; then :
15836
15837 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15838
15839 fi
15840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15841   CFLAGS="$ac_save_CFLAGS"
15842
15843   # Set configure bits for specified locale package
15844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15845 $as_echo_n "checking for C locale to use... " >&6; }
15846   case ${enable_clocale_flag} in
15847     generic)
15848       { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15849 $as_echo "generic" >&6; }
15850
15851       CLOCALE_H=config/locale/generic/c_locale.h
15852       CLOCALE_CC=config/locale/generic/c_locale.cc
15853       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15854       CCOLLATE_CC=config/locale/generic/collate_members.cc
15855       CCTYPE_CC=config/locale/generic/ctype_members.cc
15856       CMESSAGES_H=config/locale/generic/messages_members.h
15857       CMESSAGES_CC=config/locale/generic/messages_members.cc
15858       CMONEY_CC=config/locale/generic/monetary_members.cc
15859       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15860       CTIME_H=config/locale/generic/time_members.h
15861       CTIME_CC=config/locale/generic/time_members.cc
15862       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15863       ;;
15864     darwin)
15865       { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15866 $as_echo "darwin or freebsd" >&6; }
15867
15868       CLOCALE_H=config/locale/generic/c_locale.h
15869       CLOCALE_CC=config/locale/generic/c_locale.cc
15870       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15871       CCOLLATE_CC=config/locale/generic/collate_members.cc
15872       CCTYPE_CC=config/locale/darwin/ctype_members.cc
15873       CMESSAGES_H=config/locale/generic/messages_members.h
15874       CMESSAGES_CC=config/locale/generic/messages_members.cc
15875       CMONEY_CC=config/locale/generic/monetary_members.cc
15876       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15877       CTIME_H=config/locale/generic/time_members.h
15878       CTIME_CC=config/locale/generic/time_members.cc
15879       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15880       ;;
15881
15882     gnu)
15883       { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15884 $as_echo "gnu" >&6; }
15885
15886       # Declare intention to use gettext, and add support for specific
15887       # languages.
15888       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15889       ALL_LINGUAS="de fr"
15890
15891       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15892       # Extract the first word of "msgfmt", so it can be a program name with args.
15893 set dummy msgfmt; ac_word=$2
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15895 $as_echo_n "checking for $ac_word... " >&6; }
15896 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15897   $as_echo_n "(cached) " >&6
15898 else
15899   if test -n "$check_msgfmt"; then
15900   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15901 else
15902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15903 for as_dir in $PATH
15904 do
15905   IFS=$as_save_IFS
15906   test -z "$as_dir" && as_dir=.
15907     for ac_exec_ext in '' $ac_executable_extensions; do
15908   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15909     ac_cv_prog_check_msgfmt="yes"
15910     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15911     break 2
15912   fi
15913 done
15914   done
15915 IFS=$as_save_IFS
15916
15917   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15918 fi
15919 fi
15920 check_msgfmt=$ac_cv_prog_check_msgfmt
15921 if test -n "$check_msgfmt"; then
15922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15923 $as_echo "$check_msgfmt" >&6; }
15924 else
15925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15926 $as_echo "no" >&6; }
15927 fi
15928
15929
15930       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15931         USE_NLS=yes
15932       fi
15933       # Export the build objects.
15934       for ling in $ALL_LINGUAS; do \
15935         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15936         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15937       done
15938
15939
15940
15941       CLOCALE_H=config/locale/gnu/c_locale.h
15942       CLOCALE_CC=config/locale/gnu/c_locale.cc
15943       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15944       CCOLLATE_CC=config/locale/gnu/collate_members.cc
15945       CCTYPE_CC=config/locale/gnu/ctype_members.cc
15946       CMESSAGES_H=config/locale/gnu/messages_members.h
15947       CMESSAGES_CC=config/locale/gnu/messages_members.cc
15948       CMONEY_CC=config/locale/gnu/monetary_members.cc
15949       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15950       CTIME_H=config/locale/gnu/time_members.h
15951       CTIME_CC=config/locale/gnu/time_members.cc
15952       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15953       ;;
15954     ieee_1003.1-2001)
15955       { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15956 $as_echo "IEEE 1003.1" >&6; }
15957
15958       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15959       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15960       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15961       CCOLLATE_CC=config/locale/generic/collate_members.cc
15962       CCTYPE_CC=config/locale/generic/ctype_members.cc
15963       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15964       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15965       CMONEY_CC=config/locale/generic/monetary_members.cc
15966       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15967       CTIME_H=config/locale/generic/time_members.h
15968       CTIME_CC=config/locale/generic/time_members.cc
15969       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15970       ;;
15971     newlib)
15972       { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
15973 $as_echo "newlib" >&6; }
15974
15975       CLOCALE_H=config/locale/generic/c_locale.h
15976       CLOCALE_CC=config/locale/generic/c_locale.cc
15977       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15978       CCOLLATE_CC=config/locale/generic/collate_members.cc
15979       CCTYPE_CC=config/locale/newlib/ctype_members.cc
15980       CMESSAGES_H=config/locale/generic/messages_members.h
15981       CMESSAGES_CC=config/locale/generic/messages_members.cc
15982       CMONEY_CC=config/locale/generic/monetary_members.cc
15983       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15984       CTIME_H=config/locale/generic/time_members.h
15985       CTIME_CC=config/locale/generic/time_members.cc
15986       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15987       ;;
15988   esac
15989
15990   # This is where the testsuite looks for locale catalogs, using the
15991   # -DLOCALEDIR define during testsuite compilation.
15992   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15993
15994
15995   # A standalone libintl (e.g., GNU libintl) may be in use.
15996   if test $USE_NLS = yes; then
15997     for ac_header in libintl.h
15998 do :
15999   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16000 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16001   cat >>confdefs.h <<_ACEOF
16002 #define HAVE_LIBINTL_H 1
16003 _ACEOF
16004
16005 else
16006   USE_NLS=no
16007 fi
16008
16009 done
16010
16011     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16012 $as_echo_n "checking for library containing gettext... " >&6; }
16013 if test "${ac_cv_search_gettext+set}" = set; then :
16014   $as_echo_n "(cached) " >&6
16015 else
16016   ac_func_search_save_LIBS=$LIBS
16017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16018 /* end confdefs.h.  */
16019
16020 /* Override any GCC internal prototype to avoid an error.
16021    Use char because int might match the return type of a GCC
16022    builtin and then its argument prototype would still apply.  */
16023 #ifdef __cplusplus
16024 extern "C"
16025 #endif
16026 char gettext ();
16027 int
16028 main ()
16029 {
16030 return gettext ();
16031   ;
16032   return 0;
16033 }
16034 _ACEOF
16035 for ac_lib in '' intl; do
16036   if test -z "$ac_lib"; then
16037     ac_res="none required"
16038   else
16039     ac_res=-l$ac_lib
16040     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16041   fi
16042   if test x$gcc_no_link = xyes; then
16043   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16044 fi
16045 if ac_fn_c_try_link "$LINENO"; then :
16046   ac_cv_search_gettext=$ac_res
16047 fi
16048 rm -f core conftest.err conftest.$ac_objext \
16049     conftest$ac_exeext
16050   if test "${ac_cv_search_gettext+set}" = set; then :
16051   break
16052 fi
16053 done
16054 if test "${ac_cv_search_gettext+set}" = set; then :
16055
16056 else
16057   ac_cv_search_gettext=no
16058 fi
16059 rm conftest.$ac_ext
16060 LIBS=$ac_func_search_save_LIBS
16061 fi
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16063 $as_echo "$ac_cv_search_gettext" >&6; }
16064 ac_res=$ac_cv_search_gettext
16065 if test "$ac_res" != no; then :
16066   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16067
16068 else
16069   USE_NLS=no
16070 fi
16071
16072   fi
16073   if test $USE_NLS = yes; then
16074
16075 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16076
16077   fi
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16095 $as_echo_n "checking for std::allocator base class... " >&6; }
16096    # Check whether --enable-libstdcxx-allocator was given.
16097 if test "${enable_libstdcxx_allocator+set}" = set; then :
16098   enableval=$enable_libstdcxx_allocator;
16099       case "$enableval" in
16100        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16101        *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16102                         esac
16103
16104 else
16105   enable_libstdcxx_allocator=auto
16106 fi
16107
16108
16109
16110   # If they didn't use this option switch, or if they specified --enable
16111   # with no specific model, we'll have to look for one.  If they
16112   # specified --disable (???), do likewise.
16113   if test $enable_libstdcxx_allocator = no ||
16114      test $enable_libstdcxx_allocator = yes;
16115   then
16116      enable_libstdcxx_allocator=auto
16117   fi
16118
16119   # Either a known package, or "auto". Auto implies the default choice
16120   # for a particular platform.
16121   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16122
16123   # Probe for host-specific support if no specific model is specified.
16124   # Default to "new".
16125   if test $enable_libstdcxx_allocator_flag = auto; then
16126     case ${target_os} in
16127       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16128         enable_libstdcxx_allocator_flag=new
16129         ;;
16130       *)
16131         enable_libstdcxx_allocator_flag=new
16132         ;;
16133     esac
16134   fi
16135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16136 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16137
16138
16139   # Set configure bits for specified locale package
16140   case ${enable_libstdcxx_allocator_flag} in
16141     bitmap)
16142       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16143       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16144       ;;
16145     malloc)
16146       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16147       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16148       ;;
16149     mt)
16150       ALLOCATOR_H=config/allocator/mt_allocator_base.h
16151       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16152       ;;
16153     new)
16154       ALLOCATOR_H=config/allocator/new_allocator_base.h
16155       ALLOCATOR_NAME=__gnu_cxx::new_allocator
16156       ;;
16157     pool)
16158       ALLOCATOR_H=config/allocator/pool_allocator_base.h
16159       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16160       ;;
16161   esac
16162
16163
16164
16165
16166
16167    # Check whether --enable-cheaders was given.
16168 if test "${enable_cheaders+set}" = set; then :
16169   enableval=$enable_cheaders;
16170       case "$enableval" in
16171        c|c_std|c_global) ;;
16172        *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16173                         esac
16174
16175 else
16176   enable_cheaders=$c_model
16177 fi
16178
16179
16180   { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16181 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16182
16183   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16184
16185   # Allow overrides to configure.host here.
16186   if test $enable_cheaders = c_global; then
16187      c_compatibility=yes
16188   fi
16189
16190
16191
16192
16193
16194
16195
16196    # Check whether --enable-long-long was given.
16197 if test "${enable_long_long+set}" = set; then :
16198   enableval=$enable_long_long;
16199       case "$enableval" in
16200        yes|no) ;;
16201        *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16202       esac
16203
16204 else
16205   enable_long_long=yes
16206 fi
16207
16208
16209   if test $enable_long_long = yes; then
16210
16211 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16212
16213   fi
16214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16215 $as_echo_n "checking for enabled long long specializations... " >&6; }
16216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16217 $as_echo "$enable_long_long" >&6; }
16218
16219
16220    # Check whether --enable-wchar_t was given.
16221 if test "${enable_wchar_t+set}" = set; then :
16222   enableval=$enable_wchar_t;
16223       case "$enableval" in
16224        yes|no) ;;
16225        *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16226       esac
16227
16228 else
16229   enable_wchar_t=yes
16230 fi
16231
16232
16233
16234   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16235   for ac_header in wchar.h
16236 do :
16237   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16238 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16239   cat >>confdefs.h <<_ACEOF
16240 #define HAVE_WCHAR_H 1
16241 _ACEOF
16242  ac_has_wchar_h=yes
16243 else
16244   ac_has_wchar_h=no
16245 fi
16246
16247 done
16248
16249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16250 $as_echo_n "checking for mbstate_t... " >&6; }
16251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16252 /* end confdefs.h.  */
16253 #include <wchar.h>
16254 int
16255 main ()
16256 {
16257 mbstate_t teststate;
16258   ;
16259   return 0;
16260 }
16261 _ACEOF
16262 if ac_fn_c_try_compile "$LINENO"; then :
16263   have_mbstate_t=yes
16264 else
16265   have_mbstate_t=no
16266 fi
16267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16269 $as_echo "$have_mbstate_t" >&6; }
16270   if test x"$have_mbstate_t" = xyes; then
16271
16272 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16273
16274   fi
16275
16276   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16277   # ac_has_wchar_h.
16278   for ac_header in wctype.h
16279 do :
16280   ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16281 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16282   cat >>confdefs.h <<_ACEOF
16283 #define HAVE_WCTYPE_H 1
16284 _ACEOF
16285  ac_has_wctype_h=yes
16286 else
16287   ac_has_wctype_h=no
16288 fi
16289
16290 done
16291
16292
16293   if test x"$enable_wchar_t" = x"yes"; then
16294
16295
16296     ac_ext=cpp
16297 ac_cpp='$CXXCPP $CPPFLAGS'
16298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16301
16302
16303     if test x"$ac_has_wchar_h" = xyes &&
16304        test x"$ac_has_wctype_h" = xyes; then
16305       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16306 /* end confdefs.h.  */
16307 #include <wchar.h>
16308                       #include <stddef.h>
16309                       wint_t i;
16310                       long l = WEOF;
16311                       long j = WCHAR_MIN;
16312                       long k = WCHAR_MAX;
16313                       namespace test
16314                       {
16315                         using ::btowc;
16316                         using ::fgetwc;
16317                         using ::fgetws;
16318                         using ::fputwc;
16319                         using ::fputws;
16320                         using ::fwide;
16321                         using ::fwprintf;
16322                         using ::fwscanf;
16323                         using ::getwc;
16324                         using ::getwchar;
16325                         using ::mbrlen;
16326                         using ::mbrtowc;
16327                         using ::mbsinit;
16328                         using ::mbsrtowcs;
16329                         using ::putwc;
16330                         using ::putwchar;
16331                         using ::swprintf;
16332                         using ::swscanf;
16333                         using ::ungetwc;
16334                         using ::vfwprintf;
16335                         using ::vswprintf;
16336                         using ::vwprintf;
16337                         using ::wcrtomb;
16338                         using ::wcscat;
16339                         using ::wcschr;
16340                         using ::wcscmp;
16341                         using ::wcscoll;
16342                         using ::wcscpy;
16343                         using ::wcscspn;
16344                         using ::wcsftime;
16345                         using ::wcslen;
16346                         using ::wcsncat;
16347                         using ::wcsncmp;
16348                         using ::wcsncpy;
16349                         using ::wcspbrk;
16350                         using ::wcsrchr;
16351                         using ::wcsrtombs;
16352                         using ::wcsspn;
16353                         using ::wcsstr;
16354                         using ::wcstod;
16355                         using ::wcstok;
16356                         using ::wcstol;
16357                         using ::wcstoul;
16358                         using ::wcsxfrm;
16359                         using ::wctob;
16360                         using ::wmemchr;
16361                         using ::wmemcmp;
16362                         using ::wmemcpy;
16363                         using ::wmemmove;
16364                         using ::wmemset;
16365                         using ::wprintf;
16366                         using ::wscanf;
16367                       }
16368
16369 int
16370 main ()
16371 {
16372
16373   ;
16374   return 0;
16375 }
16376 _ACEOF
16377 if ac_fn_cxx_try_compile "$LINENO"; then :
16378
16379 else
16380   enable_wchar_t=no
16381 fi
16382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16383     else
16384       enable_wchar_t=no
16385     fi
16386
16387     ac_ext=c
16388 ac_cpp='$CPP $CPPFLAGS'
16389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16392
16393   fi
16394
16395   if test x"$enable_wchar_t" = x"yes"; then
16396
16397 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16398
16399   fi
16400
16401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16402 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16404 $as_echo "$enable_wchar_t" >&6; }
16405
16406
16407
16408    # Check whether --enable-c99 was given.
16409 if test "${enable_c99+set}" = set; then :
16410   enableval=$enable_c99;
16411       case "$enableval" in
16412        yes|no) ;;
16413        *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16414       esac
16415
16416 else
16417   enable_c99=yes
16418 fi
16419
16420
16421
16422   if test x"$enable_c99" = x"yes"; then
16423
16424
16425   ac_ext=cpp
16426 ac_cpp='$CXXCPP $CPPFLAGS'
16427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16430
16431
16432   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16433   # undefined and fake C99 facilities - like pre-standard snprintf - may be
16434   # spuriously enabled.
16435   # Long term, -std=c++0x could be even better, could manage to explicitely
16436   # request C99 facilities to the underlying C headers.
16437   ac_save_CXXFLAGS="$CXXFLAGS"
16438   CXXFLAGS="$CXXFLAGS -std=c++98"
16439   ac_save_LIBS="$LIBS"
16440   ac_save_gcc_no_link="$gcc_no_link"
16441
16442   if test x$gcc_no_link != xyes; then
16443     # Use -fno-exceptions to that the C driver can link these tests without
16444     # hitting undefined references to personality routines.
16445     CXXFLAGS="$CXXFLAGS -fno-exceptions"
16446     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16447 $as_echo_n "checking for sin in -lm... " >&6; }
16448 if test "${ac_cv_lib_m_sin+set}" = set; then :
16449   $as_echo_n "(cached) " >&6
16450 else
16451   ac_check_lib_save_LIBS=$LIBS
16452 LIBS="-lm  $LIBS"
16453 if test x$gcc_no_link = xyes; then
16454   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16455 fi
16456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16457 /* end confdefs.h.  */
16458
16459 /* Override any GCC internal prototype to avoid an error.
16460    Use char because int might match the return type of a GCC
16461    builtin and then its argument prototype would still apply.  */
16462 #ifdef __cplusplus
16463 extern "C"
16464 #endif
16465 char sin ();
16466 int
16467 main ()
16468 {
16469 return sin ();
16470   ;
16471   return 0;
16472 }
16473 _ACEOF
16474 if ac_fn_cxx_try_link "$LINENO"; then :
16475   ac_cv_lib_m_sin=yes
16476 else
16477   ac_cv_lib_m_sin=no
16478 fi
16479 rm -f core conftest.err conftest.$ac_objext \
16480     conftest$ac_exeext conftest.$ac_ext
16481 LIBS=$ac_check_lib_save_LIBS
16482 fi
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16484 $as_echo "$ac_cv_lib_m_sin" >&6; }
16485 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16486
16487       LIBS="$LIBS -lm"
16488
16489 else
16490
16491       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16492       gcc_no_link=yes
16493
16494 fi
16495
16496   fi
16497
16498   # Check for the existence of <math.h> functions used if C99 is enabled.
16499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16500 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16501   if test "${glibcxx_cv_c99_math+set}" = set; then :
16502   $as_echo_n "(cached) " >&6
16503 else
16504
16505   if test x$gcc_no_link = xyes; then
16506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16507 /* end confdefs.h.  */
16508 #include <math.h>
16509       volatile double d1, d2;
16510       volatile int i;
16511 int
16512 main ()
16513 {
16514 i = fpclassify(d1);
16515       i = isfinite(d1);
16516       i = isinf(d1);
16517       i = isnan(d1);
16518       i = isnormal(d1);
16519       i = signbit(d1);
16520       i = isgreater(d1, d2);
16521       i = isgreaterequal(d1, d2);
16522       i = isless(d1, d2);
16523       i = islessequal(d1, d2);
16524       i = islessgreater(d1, d2);
16525       i = islessgreater(d1, d2);
16526       i = isunordered(d1, d2);
16527
16528   ;
16529   return 0;
16530 }
16531 _ACEOF
16532 if ac_fn_cxx_try_compile "$LINENO"; then :
16533   glibcxx_cv_c99_math=yes
16534 else
16535   glibcxx_cv_c99_math=no
16536 fi
16537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16538 else
16539   if test x$gcc_no_link = xyes; then
16540   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16541 fi
16542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16543 /* end confdefs.h.  */
16544 #include <math.h>
16545       volatile double d1, d2;
16546       volatile int i;
16547 int
16548 main ()
16549 {
16550 i = fpclassify(d1);
16551       i = isfinite(d1);
16552       i = isinf(d1);
16553       i = isnan(d1);
16554       i = isnormal(d1);
16555       i = signbit(d1);
16556       i = isgreater(d1, d2);
16557       i = isgreaterequal(d1, d2);
16558       i = isless(d1, d2);
16559       i = islessequal(d1, d2);
16560       i = islessgreater(d1, d2);
16561       i = islessgreater(d1, d2);
16562       i = isunordered(d1, d2);
16563
16564   ;
16565   return 0;
16566 }
16567 _ACEOF
16568 if ac_fn_cxx_try_link "$LINENO"; then :
16569   glibcxx_cv_c99_math=yes
16570 else
16571   glibcxx_cv_c99_math=no
16572 fi
16573 rm -f core conftest.err conftest.$ac_objext \
16574     conftest$ac_exeext conftest.$ac_ext
16575 fi
16576
16577 fi
16578
16579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16580 $as_echo "$glibcxx_cv_c99_math" >&6; }
16581   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16582
16583 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16584
16585   fi
16586
16587   # Check for the existence of <complex.h> complex math functions.
16588   # This is necessary even though libstdc++ uses the builtin versions
16589   # of these functions, because if the builtin cannot be used, a reference
16590   # to the library function is emitted.
16591   for ac_header in tgmath.h
16592 do :
16593   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16594 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16595   cat >>confdefs.h <<_ACEOF
16596 #define HAVE_TGMATH_H 1
16597 _ACEOF
16598  ac_has_tgmath_h=yes
16599 else
16600   ac_has_tgmath_h=no
16601 fi
16602
16603 done
16604
16605   for ac_header in complex.h
16606 do :
16607   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16608 if test "x$ac_cv_header_complex_h" = x""yes; then :
16609   cat >>confdefs.h <<_ACEOF
16610 #define HAVE_COMPLEX_H 1
16611 _ACEOF
16612  ac_has_complex_h=yes
16613 else
16614   ac_has_complex_h=no
16615 fi
16616
16617 done
16618
16619   glibcxx_cv_c99_complex=no;
16620   if test x"$ac_has_complex_h" = x"yes"; then
16621     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16622 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16623     if test x$gcc_no_link = xyes; then
16624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16625 /* end confdefs.h.  */
16626 #include <complex.h>
16627         typedef __complex__ float float_type;
16628         typedef __complex__ double double_type;
16629         typedef __complex__ long double ld_type;
16630         volatile float_type tmpf;
16631         volatile double_type tmpd;
16632         volatile ld_type tmpld;
16633         volatile float f;
16634         volatile double d;
16635         volatile long double ld;
16636 int
16637 main ()
16638 {
16639 f = cabsf(tmpf);
16640         f = cargf(tmpf);
16641         tmpf = ccosf(tmpf);
16642         tmpf = ccoshf(tmpf);
16643         tmpf = cexpf(tmpf);
16644         tmpf = clogf(tmpf);
16645         tmpf = csinf(tmpf);
16646         tmpf = csinhf(tmpf);
16647         tmpf = csqrtf(tmpf);
16648         tmpf = ctanf(tmpf);
16649         tmpf = ctanhf(tmpf);
16650         tmpf = cpowf(tmpf, tmpf);
16651         tmpf = cprojf(tmpf);
16652         d = cabs(tmpd);
16653         d = carg(tmpd);
16654         tmpd = ccos(tmpd);
16655         tmpd = ccosh(tmpd);
16656         tmpd = cexp(tmpd);
16657         tmpd = clog(tmpd);
16658         tmpd = csin(tmpd);
16659         tmpd = csinh(tmpd);
16660         tmpd = csqrt(tmpd);
16661         tmpd = ctan(tmpd);
16662         tmpd = ctanh(tmpd);
16663         tmpd = cpow(tmpd, tmpd);
16664         tmpd = cproj(tmpd);
16665         ld = cabsl(tmpld);
16666         ld = cargl(tmpld);
16667         tmpld = ccosl(tmpld);
16668         tmpld = ccoshl(tmpld);
16669         tmpld = cexpl(tmpld);
16670         tmpld = clogl(tmpld);
16671         tmpld = csinl(tmpld);
16672         tmpld = csinhl(tmpld);
16673         tmpld = csqrtl(tmpld);
16674         tmpld = ctanl(tmpld);
16675         tmpld = ctanhl(tmpld);
16676         tmpld = cpowl(tmpld, tmpld);
16677         tmpld = cprojl(tmpld);
16678
16679   ;
16680   return 0;
16681 }
16682 _ACEOF
16683 if ac_fn_cxx_try_compile "$LINENO"; then :
16684   glibcxx_cv_c99_complex=yes
16685 else
16686   glibcxx_cv_c99_complex=no
16687 fi
16688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16689 else
16690   if test x$gcc_no_link = xyes; then
16691   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16692 fi
16693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16694 /* end confdefs.h.  */
16695 #include <complex.h>
16696         typedef __complex__ float float_type;
16697         typedef __complex__ double double_type;
16698         typedef __complex__ long double ld_type;
16699         volatile float_type tmpf;
16700         volatile double_type tmpd;
16701         volatile ld_type tmpld;
16702         volatile float f;
16703         volatile double d;
16704         volatile long double ld;
16705 int
16706 main ()
16707 {
16708 f = cabsf(tmpf);
16709         f = cargf(tmpf);
16710         tmpf = ccosf(tmpf);
16711         tmpf = ccoshf(tmpf);
16712         tmpf = cexpf(tmpf);
16713         tmpf = clogf(tmpf);
16714         tmpf = csinf(tmpf);
16715         tmpf = csinhf(tmpf);
16716         tmpf = csqrtf(tmpf);
16717         tmpf = ctanf(tmpf);
16718         tmpf = ctanhf(tmpf);
16719         tmpf = cpowf(tmpf, tmpf);
16720         tmpf = cprojf(tmpf);
16721         d = cabs(tmpd);
16722         d = carg(tmpd);
16723         tmpd = ccos(tmpd);
16724         tmpd = ccosh(tmpd);
16725         tmpd = cexp(tmpd);
16726         tmpd = clog(tmpd);
16727         tmpd = csin(tmpd);
16728         tmpd = csinh(tmpd);
16729         tmpd = csqrt(tmpd);
16730         tmpd = ctan(tmpd);
16731         tmpd = ctanh(tmpd);
16732         tmpd = cpow(tmpd, tmpd);
16733         tmpd = cproj(tmpd);
16734         ld = cabsl(tmpld);
16735         ld = cargl(tmpld);
16736         tmpld = ccosl(tmpld);
16737         tmpld = ccoshl(tmpld);
16738         tmpld = cexpl(tmpld);
16739         tmpld = clogl(tmpld);
16740         tmpld = csinl(tmpld);
16741         tmpld = csinhl(tmpld);
16742         tmpld = csqrtl(tmpld);
16743         tmpld = ctanl(tmpld);
16744         tmpld = ctanhl(tmpld);
16745         tmpld = cpowl(tmpld, tmpld);
16746         tmpld = cprojl(tmpld);
16747
16748   ;
16749   return 0;
16750 }
16751 _ACEOF
16752 if ac_fn_cxx_try_link "$LINENO"; then :
16753   glibcxx_cv_c99_complex=yes
16754 else
16755   glibcxx_cv_c99_complex=no
16756 fi
16757 rm -f core conftest.err conftest.$ac_objext \
16758     conftest$ac_exeext conftest.$ac_ext
16759 fi
16760   fi
16761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16762 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16763   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16764
16765 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16766
16767   fi
16768
16769   # Check for the existence in <stdio.h> of vscanf, et. al.
16770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16771 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16772   if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16773   $as_echo_n "(cached) " >&6
16774 else
16775
16776   if test x$gcc_no_link = xyes; then
16777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16778 /* end confdefs.h.  */
16779 #include <stdio.h>
16780       #include <stdarg.h>
16781       void foo(char* fmt, ...)
16782       {
16783         va_list args; va_start(args, fmt);
16784         vfscanf(stderr, "%i", args);
16785         vscanf("%i", args);
16786         vsnprintf(fmt, 0, "%i", args);
16787         vsscanf(fmt, "%i", args);
16788       }
16789 int
16790 main ()
16791 {
16792 snprintf("12", 0, "%i");
16793   ;
16794   return 0;
16795 }
16796 _ACEOF
16797 if ac_fn_cxx_try_compile "$LINENO"; then :
16798   glibcxx_cv_c99_stdio=yes
16799 else
16800   glibcxx_cv_c99_stdio=no
16801 fi
16802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16803 else
16804   if test x$gcc_no_link = xyes; then
16805   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16806 fi
16807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16808 /* end confdefs.h.  */
16809 #include <stdio.h>
16810       #include <stdarg.h>
16811       void foo(char* fmt, ...)
16812       {
16813         va_list args; va_start(args, fmt);
16814         vfscanf(stderr, "%i", args);
16815         vscanf("%i", args);
16816         vsnprintf(fmt, 0, "%i", args);
16817         vsscanf(fmt, "%i", args);
16818       }
16819 int
16820 main ()
16821 {
16822 snprintf("12", 0, "%i");
16823   ;
16824   return 0;
16825 }
16826 _ACEOF
16827 if ac_fn_cxx_try_link "$LINENO"; then :
16828   glibcxx_cv_c99_stdio=yes
16829 else
16830   glibcxx_cv_c99_stdio=no
16831 fi
16832 rm -f core conftest.err conftest.$ac_objext \
16833     conftest$ac_exeext conftest.$ac_ext
16834 fi
16835
16836 fi
16837
16838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16839 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16840
16841   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16843 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16844   if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16845   $as_echo_n "(cached) " >&6
16846 else
16847
16848   if test x$gcc_no_link = xyes; then
16849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16850 /* end confdefs.h.  */
16851 #include <stdlib.h>
16852       volatile float f;
16853       volatile long double ld;
16854       volatile unsigned long long ll;
16855       lldiv_t mydivt;
16856 int
16857 main ()
16858 {
16859 char* tmp;
16860       f = strtof("gnu", &tmp);
16861       ld = strtold("gnu", &tmp);
16862       ll = strtoll("gnu", &tmp, 10);
16863       ll = strtoull("gnu", &tmp, 10);
16864       ll = llabs(10);
16865       mydivt = lldiv(10,1);
16866       ll = mydivt.quot;
16867       ll = mydivt.rem;
16868       ll = atoll("10");
16869       _Exit(0);
16870
16871   ;
16872   return 0;
16873 }
16874 _ACEOF
16875 if ac_fn_cxx_try_compile "$LINENO"; then :
16876   glibcxx_cv_c99_stdlib=yes
16877 else
16878   glibcxx_cv_c99_stdlib=no
16879 fi
16880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16881 else
16882   if test x$gcc_no_link = xyes; then
16883   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16884 fi
16885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16886 /* end confdefs.h.  */
16887 #include <stdlib.h>
16888       volatile float f;
16889       volatile long double ld;
16890       volatile unsigned long long ll;
16891       lldiv_t mydivt;
16892 int
16893 main ()
16894 {
16895 char* tmp;
16896       f = strtof("gnu", &tmp);
16897       ld = strtold("gnu", &tmp);
16898       ll = strtoll("gnu", &tmp, 10);
16899       ll = strtoull("gnu", &tmp, 10);
16900       ll = llabs(10);
16901       mydivt = lldiv(10,1);
16902       ll = mydivt.quot;
16903       ll = mydivt.rem;
16904       ll = atoll("10");
16905       _Exit(0);
16906
16907   ;
16908   return 0;
16909 }
16910 _ACEOF
16911 if ac_fn_cxx_try_link "$LINENO"; then :
16912   glibcxx_cv_c99_stdlib=yes
16913 else
16914   glibcxx_cv_c99_stdlib=no
16915 fi
16916 rm -f core conftest.err conftest.$ac_objext \
16917     conftest$ac_exeext conftest.$ac_ext
16918 fi
16919
16920 fi
16921
16922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16923 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16924
16925   # Check for the existence in <wchar.h> of wcstold, etc.
16926   glibcxx_cv_c99_wchar=no;
16927   if test x"$ac_has_wchar_h" = xyes &&
16928      test x"$ac_has_wctype_h" = xyes; then
16929     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16930 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16931     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16932 /* end confdefs.h.  */
16933 #include <wchar.h>
16934                     namespace test
16935                     {
16936                       using ::wcstold;
16937                       using ::wcstoll;
16938                       using ::wcstoull;
16939                     }
16940
16941 int
16942 main ()
16943 {
16944
16945   ;
16946   return 0;
16947 }
16948 _ACEOF
16949 if ac_fn_cxx_try_compile "$LINENO"; then :
16950   glibcxx_cv_c99_wchar=yes
16951 else
16952   glibcxx_cv_c99_wchar=no
16953 fi
16954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16955
16956     # Checks for wide character functions that may not be present.
16957     # Injection of these is wrapped with guard macros.
16958     # NB: only put functions here, instead of immediately above, if
16959     # absolutely necessary.
16960     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16961 /* end confdefs.h.  */
16962 #include <wchar.h>
16963                     namespace test { using ::vfwscanf; }
16964 int
16965 main ()
16966 {
16967
16968   ;
16969   return 0;
16970 }
16971 _ACEOF
16972 if ac_fn_cxx_try_compile "$LINENO"; then :
16973
16974 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16975
16976 fi
16977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16978
16979     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16980 /* end confdefs.h.  */
16981 #include <wchar.h>
16982                     namespace test { using ::vswscanf; }
16983 int
16984 main ()
16985 {
16986
16987   ;
16988   return 0;
16989 }
16990 _ACEOF
16991 if ac_fn_cxx_try_compile "$LINENO"; then :
16992
16993 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16994
16995 fi
16996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16997
16998     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16999 /* end confdefs.h.  */
17000 #include <wchar.h>
17001                     namespace test { using ::vwscanf; }
17002 int
17003 main ()
17004 {
17005
17006   ;
17007   return 0;
17008 }
17009 _ACEOF
17010 if ac_fn_cxx_try_compile "$LINENO"; then :
17011
17012 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17013
17014 fi
17015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17016
17017     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17018 /* end confdefs.h.  */
17019 #include <wchar.h>
17020                     namespace test { using ::wcstof; }
17021 int
17022 main ()
17023 {
17024
17025   ;
17026   return 0;
17027 }
17028 _ACEOF
17029 if ac_fn_cxx_try_compile "$LINENO"; then :
17030
17031 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17032
17033 fi
17034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17035
17036     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17037 /* end confdefs.h.  */
17038 #include <wctype.h>
17039 int
17040 main ()
17041 {
17042  wint_t t; int i = iswblank(t);
17043   ;
17044   return 0;
17045 }
17046 _ACEOF
17047 if ac_fn_cxx_try_compile "$LINENO"; then :
17048
17049 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17050
17051 fi
17052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17053
17054     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17055 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17056   fi
17057
17058   # Option parsed, now set things appropriately.
17059   if test x"$glibcxx_cv_c99_math" = x"no" ||
17060      test x"$glibcxx_cv_c99_complex" = x"no" ||
17061      test x"$glibcxx_cv_c99_stdio" = x"no" ||
17062      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17063      test x"$glibcxx_cv_c99_wchar" = x"no"; then
17064     enable_c99=no;
17065   else
17066
17067 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17068
17069   fi
17070
17071   gcc_no_link="$ac_save_gcc_no_link"
17072   LIBS="$ac_save_LIBS"
17073   CXXFLAGS="$ac_save_CXXFLAGS"
17074   ac_ext=c
17075 ac_cpp='$CPP $CPPFLAGS'
17076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17079
17080   fi
17081
17082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17083 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17085 $as_echo "$enable_c99" >&6; }
17086
17087
17088    # Check whether --enable-concept-checks was given.
17089 if test "${enable_concept_checks+set}" = set; then :
17090   enableval=$enable_concept_checks;
17091       case "$enableval" in
17092        yes|no) ;;
17093        *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17094       esac
17095
17096 else
17097   enable_concept_checks=no
17098 fi
17099
17100
17101   if test $enable_concept_checks = yes; then
17102
17103 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17104
17105   fi
17106
17107
17108    # Check whether --enable-libstdcxx-debug-flags was given.
17109 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17110   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17111       xno | x)    enable_libstdcxx_debug_flags= ;;
17112       x-*)        ;;
17113       *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17114      esac
17115 else
17116   enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17117 fi
17118
17119
17120
17121   # Option parsed, now set things appropriately
17122   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17123
17124
17125   { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17126 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17127
17128
17129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17130 $as_echo_n "checking for additional debug build... " >&6; }
17131    # Check whether --enable-libstdcxx-debug was given.
17132 if test "${enable_libstdcxx_debug+set}" = set; then :
17133   enableval=$enable_libstdcxx_debug;
17134       case "$enableval" in
17135        yes|no) ;;
17136        *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17137       esac
17138
17139 else
17140   enable_libstdcxx_debug=no
17141 fi
17142
17143
17144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17145 $as_echo "$enable_libstdcxx_debug" >&6; }
17146
17147
17148
17149
17150   enable_parallel=no;
17151
17152   # See if configured libgomp/omp.h exists. (libgomp may be in
17153   # noconfigdirs but not explicitly disabled.)
17154   if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17155     enable_parallel=yes;
17156   else
17157     { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17158 $as_echo "$as_me: target-libgomp not built" >&6;}
17159   fi
17160
17161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17162 $as_echo_n "checking for parallel mode support... " >&6; }
17163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17164 $as_echo "$enable_parallel" >&6; }
17165
17166
17167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17168 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17169    # Check whether --enable-cxx-flags was given.
17170 if test "${enable_cxx_flags+set}" = set; then :
17171   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17172       xno | x)   enable_cxx_flags= ;;
17173       x-*)       ;;
17174       *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17175      esac
17176 else
17177   enable_cxx_flags=
17178 fi
17179
17180
17181
17182   # Run through flags (either default or command-line) and set anything
17183   # extra (e.g., #defines) that must accompany particular g++ options.
17184   if test -n "$enable_cxx_flags"; then
17185     for f in $enable_cxx_flags; do
17186       case "$f" in
17187         -fhonor-std)  ;;
17188         -*)  ;;
17189         *)   # and we're trying to pass /what/ exactly?
17190              as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17191       esac
17192     done
17193   fi
17194
17195   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17197 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17198
17199
17200
17201    # Check whether --enable-fully-dynamic-string was given.
17202 if test "${enable_fully_dynamic_string+set}" = set; then :
17203   enableval=$enable_fully_dynamic_string;
17204       case "$enableval" in
17205        yes|no) ;;
17206        *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17207       esac
17208
17209 else
17210   enable_fully_dynamic_string=no
17211 fi
17212
17213
17214   if test $enable_fully_dynamic_string = yes; then
17215     enable_fully_dynamic_string_def=1
17216   else
17217     enable_fully_dynamic_string_def=0
17218   fi
17219
17220 cat >>confdefs.h <<_ACEOF
17221 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17222 _ACEOF
17223
17224
17225
17226
17227    # Check whether --enable-extern-template was given.
17228 if test "${enable_extern_template+set}" = set; then :
17229   enableval=$enable_extern_template;
17230       case "$enableval" in
17231        yes|no) ;;
17232        *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17233       esac
17234
17235 else
17236   enable_extern_template=yes
17237 fi
17238
17239
17240
17241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17242 $as_echo_n "checking for extern template support... " >&6; }
17243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17244 $as_echo "$enable_extern_template" >&6; }
17245
17246
17247
17248
17249
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17251 $as_echo_n "checking for custom python install directory... " >&6; }
17252
17253 # Check whether --with-python-dir was given.
17254 if test "${with_python_dir+set}" = set; then :
17255   withval=$with_python_dir; with_python_dir=$withval
17256 else
17257   with_python_dir="no"
17258 fi
17259
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17261 $as_echo "${with_python_dir}" >&6; }
17262
17263 # Needed for installing Python modules during make install.
17264 python_mod_dir="${with_python_dir}"
17265
17266
17267
17268
17269 # Checks for operating systems support that doesn't require linking.
17270
17271
17272
17273   ac_ext=cpp
17274 ac_cpp='$CXXCPP $CPPFLAGS'
17275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17278
17279
17280   case "$host" in
17281     *-*-solaris2.*)
17282       # Solaris 8 FCS only had an overload for double std::abs(double) in
17283       # <iso/math_iso.h>.  Patches 111721-04 (SPARC) and 112757-01 (x86)
17284       # introduced the full set also found from Solaris 9 onwards.
17285       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float std::abs(float) overload" >&5
17286 $as_echo_n "checking for float std::abs(float) overload... " >&6; }
17287       if test "${glibcxx_cv_abs_float+set}" = set; then :
17288   $as_echo_n "(cached) " >&6
17289 else
17290
17291         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17292 /* end confdefs.h.  */
17293 #include <math.h>
17294            namespace std {
17295              inline float abs(float __x)
17296              {  return __builtin_fabsf(__x); }
17297            }
17298
17299 _ACEOF
17300 if ac_fn_cxx_try_compile "$LINENO"; then :
17301   glibcxx_cv_abs_float=no
17302 else
17303   glibcxx_cv_abs_float=yes
17304
17305 fi
17306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17307 fi
17308
17309
17310       # autoheader cannot handle indented templates.
17311
17312
17313
17314       if test $glibcxx_cv_abs_float = yes; then
17315         $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO1 1" >>confdefs.h
17316
17317       else
17318         $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO2 1" >>confdefs.h
17319
17320       fi
17321       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_float" >&5
17322 $as_echo "$glibcxx_cv_abs_float" >&6; }
17323       ;;
17324   esac
17325
17326   ac_ext=c
17327 ac_cpp='$CPP $CPPFLAGS'
17328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17331
17332
17333
17334
17335
17336   ac_ext=cpp
17337 ac_cpp='$CXXCPP $CPPFLAGS'
17338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17341
17342
17343   case "$host" in
17344     *-*-solaris2.*)
17345       # Solaris 8 FCS lacked the overloads for long std::abs(long) and
17346       # ldiv_t std::div(long, long) in <iso/stdlib_iso.h>.  Patches 109607-02
17347       # (SPARC) and 109608-02 (x86) introduced them.
17348       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long std::abs(long) overload" >&5
17349 $as_echo_n "checking for long std::abs(long) overload... " >&6; }
17350       if test "${glibcxx_cv_abs_long+set}" = set; then :
17351   $as_echo_n "(cached) " >&6
17352 else
17353
17354         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17355 /* end confdefs.h.  */
17356 #include <stdlib.h>
17357            namespace std {
17358              inline long
17359              abs(long __i) { return labs(__i); }
17360            }
17361
17362 _ACEOF
17363 if ac_fn_cxx_try_compile "$LINENO"; then :
17364   glibcxx_cv_abs_long=no
17365 else
17366   glibcxx_cv_abs_long=yes
17367
17368 fi
17369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17370 fi
17371
17372
17373       # autoheader cannot handle indented templates.
17374
17375       if test $glibcxx_cv_abs_long = yes; then
17376         $as_echo "#define __CORRECT_ISO_CPP_STDLIB_H_PROTO 1" >>confdefs.h
17377
17378       fi
17379       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_long" >&5
17380 $as_echo "$glibcxx_cv_abs_long" >&6; }
17381       ;;
17382   esac
17383
17384   ac_ext=c
17385 ac_cpp='$CPP $CPPFLAGS'
17386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17389
17390
17391
17392
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17394 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17395 if test "${glibcxx_cv_system_error1+set}" = set; then :
17396   $as_echo_n "(cached) " >&6
17397 else
17398
17399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h.  */
17401 #include <errno.h>
17402 int
17403 main ()
17404 {
17405 int i = EOWNERDEAD;
17406   ;
17407   return 0;
17408 }
17409 _ACEOF
17410 if ac_fn_c_try_compile "$LINENO"; then :
17411   glibcxx_cv_system_error1=yes
17412 else
17413   glibcxx_cv_system_error1=no
17414 fi
17415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17416
17417 fi
17418
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17420 $as_echo "$glibcxx_cv_system_error1" >&6; }
17421 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17422
17423 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17424
17425 fi
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17427 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17428 if test "${glibcxx_cv_system_error2+set}" = set; then :
17429   $as_echo_n "(cached) " >&6
17430 else
17431
17432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17433 /* end confdefs.h.  */
17434 #include <errno.h>
17435 int
17436 main ()
17437 {
17438 int i = ENOTRECOVERABLE;
17439   ;
17440   return 0;
17441 }
17442 _ACEOF
17443 if ac_fn_c_try_compile "$LINENO"; then :
17444   glibcxx_cv_system_error2=yes
17445 else
17446   glibcxx_cv_system_error2=no
17447 fi
17448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17449
17450 fi
17451
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17453 $as_echo "$glibcxx_cv_system_error2" >&6; }
17454 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17455
17456 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17457
17458 fi
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17460 $as_echo_n "checking for ENOLINK... " >&6; }
17461 if test "${glibcxx_cv_system_error3+set}" = set; then :
17462   $as_echo_n "(cached) " >&6
17463 else
17464
17465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17466 /* end confdefs.h.  */
17467 #include <errno.h>
17468 int
17469 main ()
17470 {
17471 int i = ENOLINK;
17472   ;
17473   return 0;
17474 }
17475 _ACEOF
17476 if ac_fn_c_try_compile "$LINENO"; then :
17477   glibcxx_cv_system_error3=yes
17478 else
17479   glibcxx_cv_system_error3=no
17480 fi
17481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17482
17483 fi
17484
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17486 $as_echo "$glibcxx_cv_system_error3" >&6; }
17487 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17488
17489 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17490
17491 fi
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17493 $as_echo_n "checking for EPROTO... " >&6; }
17494 if test "${glibcxx_cv_system_error4+set}" = set; then :
17495   $as_echo_n "(cached) " >&6
17496 else
17497
17498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h.  */
17500 #include <errno.h>
17501 int
17502 main ()
17503 {
17504 int i = EPROTO;
17505   ;
17506   return 0;
17507 }
17508 _ACEOF
17509 if ac_fn_c_try_compile "$LINENO"; then :
17510   glibcxx_cv_system_error4=yes
17511 else
17512   glibcxx_cv_system_error4=no
17513 fi
17514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17515
17516 fi
17517
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17519 $as_echo "$glibcxx_cv_system_error4" >&6; }
17520 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17521
17522 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17523
17524 fi
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17526 $as_echo_n "checking for ENODATA... " >&6; }
17527 if test "${glibcxx_cv_system_error5+set}" = set; then :
17528   $as_echo_n "(cached) " >&6
17529 else
17530
17531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17532 /* end confdefs.h.  */
17533 #include <errno.h>
17534 int
17535 main ()
17536 {
17537 int i = ENODATA;
17538   ;
17539   return 0;
17540 }
17541 _ACEOF
17542 if ac_fn_c_try_compile "$LINENO"; then :
17543   glibcxx_cv_system_error5=yes
17544 else
17545   glibcxx_cv_system_error5=no
17546 fi
17547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17548
17549 fi
17550
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17552 $as_echo "$glibcxx_cv_system_error5" >&6; }
17553 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17554
17555 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17556
17557 fi
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17559 $as_echo_n "checking for ENOSR... " >&6; }
17560 if test "${glibcxx_cv_system_error6+set}" = set; then :
17561   $as_echo_n "(cached) " >&6
17562 else
17563
17564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17565 /* end confdefs.h.  */
17566 #include <errno.h>
17567 int
17568 main ()
17569 {
17570 int i = ENOSR;
17571   ;
17572   return 0;
17573 }
17574 _ACEOF
17575 if ac_fn_c_try_compile "$LINENO"; then :
17576   glibcxx_cv_system_error6=yes
17577 else
17578   glibcxx_cv_system_error6=no
17579 fi
17580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17581
17582 fi
17583
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17585 $as_echo "$glibcxx_cv_system_error6" >&6; }
17586 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17587
17588 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17589
17590 fi
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17592 $as_echo_n "checking for ENOSTR... " >&6; }
17593 if test "${glibcxx_cv_system_error7+set}" = set; then :
17594   $as_echo_n "(cached) " >&6
17595 else
17596
17597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17598 /* end confdefs.h.  */
17599 #include <errno.h>
17600 int
17601 main ()
17602 {
17603 int i = ENOSTR;
17604   ;
17605   return 0;
17606 }
17607 _ACEOF
17608 if ac_fn_c_try_compile "$LINENO"; then :
17609   glibcxx_cv_system_error7=yes
17610 else
17611   glibcxx_cv_system_error7=no
17612 fi
17613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17614
17615 fi
17616
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17618 $as_echo "$glibcxx_cv_system_error7" >&6; }
17619 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17620
17621 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17622
17623 fi
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17625 $as_echo_n "checking for ETIME... " >&6; }
17626 if test "${glibcxx_cv_system_error8+set}" = set; then :
17627   $as_echo_n "(cached) " >&6
17628 else
17629
17630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17631 /* end confdefs.h.  */
17632 #include <errno.h>
17633 int
17634 main ()
17635 {
17636 int i = ETIME;
17637   ;
17638   return 0;
17639 }
17640 _ACEOF
17641 if ac_fn_c_try_compile "$LINENO"; then :
17642   glibcxx_cv_system_error8=yes
17643 else
17644   glibcxx_cv_system_error8=no
17645 fi
17646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17647
17648 fi
17649
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17651 $as_echo "$glibcxx_cv_system_error8" >&6; }
17652 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17653
17654 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17655
17656 fi
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17658 $as_echo_n "checking for EBADMSG... " >&6; }
17659 if test "${glibcxx_cv_system_error9+set}" = set; then :
17660   $as_echo_n "(cached) " >&6
17661 else
17662
17663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17664 /* end confdefs.h.  */
17665 #include <errno.h>
17666 int
17667 main ()
17668 {
17669 int i = EBADMSG;
17670   ;
17671   return 0;
17672 }
17673 _ACEOF
17674 if ac_fn_c_try_compile "$LINENO"; then :
17675   glibcxx_cv_system_error9=yes
17676 else
17677   glibcxx_cv_system_error9=no
17678 fi
17679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17680
17681 fi
17682
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17684 $as_echo "$glibcxx_cv_system_error9" >&6; }
17685 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17686
17687 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17688
17689 fi
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17691 $as_echo_n "checking for ECANCELED... " >&6; }
17692 if test "${glibcxx_cv_system_error10+set}" = set; then :
17693   $as_echo_n "(cached) " >&6
17694 else
17695
17696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17697 /* end confdefs.h.  */
17698 #include <errno.h>
17699 int
17700 main ()
17701 {
17702 int i = ECANCELED;
17703   ;
17704   return 0;
17705 }
17706 _ACEOF
17707 if ac_fn_c_try_compile "$LINENO"; then :
17708   glibcxx_cv_system_error10=yes
17709 else
17710   glibcxx_cv_system_error10=no
17711 fi
17712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17713
17714 fi
17715
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17717 $as_echo "$glibcxx_cv_system_error10" >&6; }
17718 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17719
17720 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17721
17722 fi
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17724 $as_echo_n "checking for EOVERFLOW... " >&6; }
17725 if test "${glibcxx_cv_system_error11+set}" = set; then :
17726   $as_echo_n "(cached) " >&6
17727 else
17728
17729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17730 /* end confdefs.h.  */
17731 #include <errno.h>
17732 int
17733 main ()
17734 {
17735 int i = EOVERFLOW;
17736   ;
17737   return 0;
17738 }
17739 _ACEOF
17740 if ac_fn_c_try_compile "$LINENO"; then :
17741   glibcxx_cv_system_error11=yes
17742 else
17743   glibcxx_cv_system_error11=no
17744 fi
17745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17746
17747 fi
17748
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17750 $as_echo "$glibcxx_cv_system_error11" >&6; }
17751 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17752
17753 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17754
17755 fi
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17757 $as_echo_n "checking for ENOTSUP... " >&6; }
17758 if test "${glibcxx_cv_system_error12+set}" = set; then :
17759   $as_echo_n "(cached) " >&6
17760 else
17761
17762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17763 /* end confdefs.h.  */
17764 #include <errno.h>
17765 int
17766 main ()
17767 {
17768 int i = ENOTSUP;
17769   ;
17770   return 0;
17771 }
17772 _ACEOF
17773 if ac_fn_c_try_compile "$LINENO"; then :
17774   glibcxx_cv_system_error12=yes
17775 else
17776   glibcxx_cv_system_error12=no
17777 fi
17778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17779
17780 fi
17781
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17783 $as_echo "$glibcxx_cv_system_error12" >&6; }
17784 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17785
17786 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17787
17788 fi
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17790 $as_echo_n "checking for EIDRM... " >&6; }
17791 if test "${glibcxx_cv_system_error13+set}" = set; then :
17792   $as_echo_n "(cached) " >&6
17793 else
17794
17795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17796 /* end confdefs.h.  */
17797 #include <errno.h>
17798 int
17799 main ()
17800 {
17801 int i = EIDRM;
17802   ;
17803   return 0;
17804 }
17805 _ACEOF
17806 if ac_fn_c_try_compile "$LINENO"; then :
17807   glibcxx_cv_system_error13=yes
17808 else
17809   glibcxx_cv_system_error13=no
17810 fi
17811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17812
17813 fi
17814
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17816 $as_echo "$glibcxx_cv_system_error13" >&6; }
17817 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17818
17819 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17820
17821 fi
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17823 $as_echo_n "checking for ETXTBSY... " >&6; }
17824 if test "${glibcxx_cv_system_error14+set}" = set; then :
17825   $as_echo_n "(cached) " >&6
17826 else
17827
17828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17829 /* end confdefs.h.  */
17830 #include <errno.h>
17831 int
17832 main ()
17833 {
17834 int i = ETXTBSY;
17835   ;
17836   return 0;
17837 }
17838 _ACEOF
17839 if ac_fn_c_try_compile "$LINENO"; then :
17840   glibcxx_cv_system_error14=yes
17841 else
17842   glibcxx_cv_system_error14=no
17843 fi
17844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17845
17846 fi
17847
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17849 $as_echo "$glibcxx_cv_system_error14" >&6; }
17850 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17851
17852 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17853
17854 fi
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17856 $as_echo_n "checking for ECHILD... " >&6; }
17857 if test "${glibcxx_cv_system_error15+set}" = set; then :
17858   $as_echo_n "(cached) " >&6
17859 else
17860
17861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17862 /* end confdefs.h.  */
17863 #include <errno.h>
17864 int
17865 main ()
17866 {
17867 int i = ECHILD;
17868   ;
17869   return 0;
17870 }
17871 _ACEOF
17872 if ac_fn_c_try_compile "$LINENO"; then :
17873   glibcxx_cv_system_error15=yes
17874 else
17875   glibcxx_cv_system_error15=no
17876 fi
17877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17878
17879 fi
17880
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17882 $as_echo "$glibcxx_cv_system_error15" >&6; }
17883 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17884
17885 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17886
17887 fi
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17889 $as_echo_n "checking for ENOSPC... " >&6; }
17890 if test "${glibcxx_cv_system_error16+set}" = set; then :
17891   $as_echo_n "(cached) " >&6
17892 else
17893
17894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17895 /* end confdefs.h.  */
17896 #include <errno.h>
17897 int
17898 main ()
17899 {
17900 int i = ENOSPC;
17901   ;
17902   return 0;
17903 }
17904 _ACEOF
17905 if ac_fn_c_try_compile "$LINENO"; then :
17906   glibcxx_cv_system_error16=yes
17907 else
17908   glibcxx_cv_system_error16=no
17909 fi
17910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17911
17912 fi
17913
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17915 $as_echo "$glibcxx_cv_system_error16" >&6; }
17916 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17917
17918 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17919
17920 fi
17921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17922 $as_echo_n "checking for EPERM... " >&6; }
17923 if test "${glibcxx_cv_system_error17+set}" = set; then :
17924   $as_echo_n "(cached) " >&6
17925 else
17926
17927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17928 /* end confdefs.h.  */
17929 #include <errno.h>
17930 int
17931 main ()
17932 {
17933 int i = EPERM;
17934   ;
17935   return 0;
17936 }
17937 _ACEOF
17938 if ac_fn_c_try_compile "$LINENO"; then :
17939   glibcxx_cv_system_error17=yes
17940 else
17941   glibcxx_cv_system_error17=no
17942 fi
17943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17944
17945 fi
17946
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17948 $as_echo "$glibcxx_cv_system_error17" >&6; }
17949 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17950
17951 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17952
17953 fi
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17955 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17956 if test "${glibcxx_cv_system_error18+set}" = set; then :
17957   $as_echo_n "(cached) " >&6
17958 else
17959
17960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17961 /* end confdefs.h.  */
17962 #include <errno.h>
17963 int
17964 main ()
17965 {
17966 int i = ETIMEDOUT;
17967   ;
17968   return 0;
17969 }
17970 _ACEOF
17971 if ac_fn_c_try_compile "$LINENO"; then :
17972   glibcxx_cv_system_error18=yes
17973 else
17974   glibcxx_cv_system_error18=no
17975 fi
17976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17977
17978 fi
17979
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
17981 $as_echo "$glibcxx_cv_system_error18" >&6; }
17982 if test x"$glibcxx_cv_system_error18" = x"yes"; then
17983
17984 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
17985
17986 fi
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
17988 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
17989 if test "${glibcxx_cv_system_error19+set}" = set; then :
17990   $as_echo_n "(cached) " >&6
17991 else
17992
17993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17994 /* end confdefs.h.  */
17995 #include <errno.h>
17996 int
17997 main ()
17998 {
17999 int i = EWOULDBLOCK;
18000   ;
18001   return 0;
18002 }
18003 _ACEOF
18004 if ac_fn_c_try_compile "$LINENO"; then :
18005   glibcxx_cv_system_error19=yes
18006 else
18007   glibcxx_cv_system_error19=no
18008 fi
18009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18010
18011 fi
18012
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18014 $as_echo "$glibcxx_cv_system_error19" >&6; }
18015 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18016
18017 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18018
18019 fi
18020
18021
18022
18023 # For the streamoff typedef.
18024
18025
18026
18027   ac_ext=cpp
18028 ac_cpp='$CXXCPP $CPPFLAGS'
18029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18032
18033
18034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18035 $as_echo_n "checking for int64_t... " >&6; }
18036   if test "${glibcxx_cv_INT64_T+set}" = set; then :
18037   $as_echo_n "(cached) " >&6
18038 else
18039
18040     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18041 /* end confdefs.h.  */
18042 #include <stdint.h>
18043 int
18044 main ()
18045 {
18046 int64_t var;
18047   ;
18048   return 0;
18049 }
18050 _ACEOF
18051 if ac_fn_cxx_try_compile "$LINENO"; then :
18052   glibcxx_cv_INT64_T=yes
18053 else
18054   glibcxx_cv_INT64_T=no
18055 fi
18056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18057
18058 fi
18059
18060
18061   if test $glibcxx_cv_INT64_T = yes; then
18062
18063 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18064
18065     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18066 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18067
18068     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18069 $as_echo_n "checking for int64_t as long... " >&6; }
18070     if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18071   $as_echo_n "(cached) " >&6
18072 else
18073
18074       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18075 /* end confdefs.h.  */
18076 #include <stdint.h>
18077         template<typename, typename> struct same { enum { value = -1 }; };
18078         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18079         int array[same<int64_t, long>::value];
18080 int
18081 main ()
18082 {
18083
18084   ;
18085   return 0;
18086 }
18087 _ACEOF
18088 if ac_fn_cxx_try_compile "$LINENO"; then :
18089   glibcxx_cv_int64_t_long=yes
18090 else
18091   glibcxx_cv_int64_t_long=no
18092 fi
18093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18094
18095 fi
18096
18097
18098     if test $glibcxx_cv_int64_t_long = yes; then
18099
18100 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18101
18102       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18103 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18104     fi
18105
18106     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18107 $as_echo_n "checking for int64_t as long long... " >&6; }
18108     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18109   $as_echo_n "(cached) " >&6
18110 else
18111
18112       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18113 /* end confdefs.h.  */
18114 #include <stdint.h>
18115         template<typename, typename> struct same { enum { value = -1 }; };
18116         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18117         int array[same<int64_t, long long>::value];
18118 int
18119 main ()
18120 {
18121
18122   ;
18123   return 0;
18124 }
18125 _ACEOF
18126 if ac_fn_cxx_try_compile "$LINENO"; then :
18127   glibcxx_cv_int64_t_long_long=yes
18128 else
18129   glibcxx_cv_int64_t_long_long=no
18130 fi
18131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18132
18133 fi
18134
18135
18136     if test $glibcxx_cv_int64_t_long_long = yes; then
18137
18138 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18139
18140       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18141 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18142     fi
18143   fi
18144
18145   ac_ext=c
18146 ac_cpp='$CPP $CPPFLAGS'
18147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18150
18151
18152
18153 # For LFS support.
18154
18155
18156   ac_ext=cpp
18157 ac_cpp='$CXXCPP $CPPFLAGS'
18158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18161
18162   ac_save_CXXFLAGS="$CXXFLAGS"
18163   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18165 $as_echo_n "checking for LFS support... " >&6; }
18166   if test "${glibcxx_cv_LFS+set}" = set; then :
18167   $as_echo_n "(cached) " >&6
18168 else
18169
18170     if test x$gcc_no_link = xyes; then
18171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18172 /* end confdefs.h.  */
18173 #include <unistd.h>
18174        #include <stdio.h>
18175        #include <sys/stat.h>
18176
18177 int
18178 main ()
18179 {
18180 FILE* fp;
18181        fopen64("t", "w");
18182        fseeko64(fp, 0, SEEK_CUR);
18183        ftello64(fp);
18184        lseek64(1, 0, SEEK_CUR);
18185        struct stat64 buf;
18186        fstat64(1, &buf);
18187   ;
18188   return 0;
18189 }
18190 _ACEOF
18191 if ac_fn_cxx_try_compile "$LINENO"; then :
18192   glibcxx_cv_LFS=yes
18193 else
18194   glibcxx_cv_LFS=no
18195 fi
18196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18197 else
18198   if test x$gcc_no_link = xyes; then
18199   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18200 fi
18201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18202 /* end confdefs.h.  */
18203 #include <unistd.h>
18204        #include <stdio.h>
18205        #include <sys/stat.h>
18206
18207 int
18208 main ()
18209 {
18210 FILE* fp;
18211        fopen64("t", "w");
18212        fseeko64(fp, 0, SEEK_CUR);
18213        ftello64(fp);
18214        lseek64(1, 0, SEEK_CUR);
18215        struct stat64 buf;
18216        fstat64(1, &buf);
18217   ;
18218   return 0;
18219 }
18220 _ACEOF
18221 if ac_fn_cxx_try_link "$LINENO"; then :
18222   glibcxx_cv_LFS=yes
18223 else
18224   glibcxx_cv_LFS=no
18225 fi
18226 rm -f core conftest.err conftest.$ac_objext \
18227     conftest$ac_exeext conftest.$ac_ext
18228 fi
18229
18230 fi
18231
18232   if test $glibcxx_cv_LFS = yes; then
18233
18234 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18235
18236   fi
18237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18238 $as_echo "$glibcxx_cv_LFS" >&6; }
18239   CXXFLAGS="$ac_save_CXXFLAGS"
18240   ac_ext=c
18241 ac_cpp='$CPP $CPPFLAGS'
18242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18245
18246
18247
18248 # For showmanyc_helper().
18249 for ac_header in sys/ioctl.h sys/filio.h
18250 do :
18251   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18252 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18253 eval as_val=\$$as_ac_Header
18254    if test "x$as_val" = x""yes; then :
18255   cat >>confdefs.h <<_ACEOF
18256 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18257 _ACEOF
18258
18259 fi
18260
18261 done
18262
18263
18264
18265
18266   ac_ext=cpp
18267 ac_cpp='$CXXCPP $CPPFLAGS'
18268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18271
18272   ac_save_CXXFLAGS="$CXXFLAGS"
18273   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18274
18275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18276 $as_echo_n "checking for poll... " >&6; }
18277   if test "${glibcxx_cv_POLL+set}" = set; then :
18278   $as_echo_n "(cached) " >&6
18279 else
18280
18281     if test x$gcc_no_link = xyes; then
18282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18283 /* end confdefs.h.  */
18284 #include <poll.h>
18285 int
18286 main ()
18287 {
18288 struct pollfd pfd[1];
18289        pfd[0].events = POLLIN;
18290        poll(pfd, 1, 0);
18291   ;
18292   return 0;
18293 }
18294 _ACEOF
18295 if ac_fn_cxx_try_compile "$LINENO"; then :
18296   glibcxx_cv_POLL=yes
18297 else
18298   glibcxx_cv_POLL=no
18299 fi
18300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18301 else
18302   if test x$gcc_no_link = xyes; then
18303   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18304 fi
18305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18306 /* end confdefs.h.  */
18307 #include <poll.h>
18308 int
18309 main ()
18310 {
18311 struct pollfd pfd[1];
18312        pfd[0].events = POLLIN;
18313        poll(pfd, 1, 0);
18314   ;
18315   return 0;
18316 }
18317 _ACEOF
18318 if ac_fn_cxx_try_link "$LINENO"; then :
18319   glibcxx_cv_POLL=yes
18320 else
18321   glibcxx_cv_POLL=no
18322 fi
18323 rm -f core conftest.err conftest.$ac_objext \
18324     conftest$ac_exeext conftest.$ac_ext
18325 fi
18326
18327 fi
18328
18329   if test $glibcxx_cv_POLL = yes; then
18330
18331 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18332
18333   fi
18334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18335 $as_echo "$glibcxx_cv_POLL" >&6; }
18336
18337   CXXFLAGS="$ac_save_CXXFLAGS"
18338   ac_ext=c
18339 ac_cpp='$CPP $CPPFLAGS'
18340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18343
18344
18345
18346
18347
18348   ac_ext=cpp
18349 ac_cpp='$CXXCPP $CPPFLAGS'
18350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18353
18354   ac_save_CXXFLAGS="$CXXFLAGS"
18355   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18356
18357   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18358 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18359   if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18360   $as_echo_n "(cached) " >&6
18361 else
18362
18363     if test x$gcc_no_link = xyes; then
18364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18365 /* end confdefs.h.  */
18366 #include <sys/stat.h>
18367 int
18368 main ()
18369 {
18370 struct stat buffer;
18371        fstat(0, &buffer);
18372        S_ISREG(buffer.st_mode);
18373   ;
18374   return 0;
18375 }
18376 _ACEOF
18377 if ac_fn_cxx_try_compile "$LINENO"; then :
18378   glibcxx_cv_S_ISREG=yes
18379 else
18380   glibcxx_cv_S_ISREG=no
18381 fi
18382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18383 else
18384   if test x$gcc_no_link = xyes; then
18385   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18386 fi
18387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18388 /* end confdefs.h.  */
18389 #include <sys/stat.h>
18390 int
18391 main ()
18392 {
18393 struct stat buffer;
18394        fstat(0, &buffer);
18395        S_ISREG(buffer.st_mode);
18396   ;
18397   return 0;
18398 }
18399 _ACEOF
18400 if ac_fn_cxx_try_link "$LINENO"; then :
18401   glibcxx_cv_S_ISREG=yes
18402 else
18403   glibcxx_cv_S_ISREG=no
18404 fi
18405 rm -f core conftest.err conftest.$ac_objext \
18406     conftest$ac_exeext conftest.$ac_ext
18407 fi
18408
18409 fi
18410
18411   if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18412   $as_echo_n "(cached) " >&6
18413 else
18414
18415     if test x$gcc_no_link = xyes; then
18416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18417 /* end confdefs.h.  */
18418 #include <sys/stat.h>
18419 int
18420 main ()
18421 {
18422 struct stat buffer;
18423        fstat(0, &buffer);
18424        S_IFREG & buffer.st_mode;
18425   ;
18426   return 0;
18427 }
18428 _ACEOF
18429 if ac_fn_cxx_try_compile "$LINENO"; then :
18430   glibcxx_cv_S_IFREG=yes
18431 else
18432   glibcxx_cv_S_IFREG=no
18433 fi
18434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18435 else
18436   if test x$gcc_no_link = xyes; then
18437   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18438 fi
18439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18440 /* end confdefs.h.  */
18441 #include <sys/stat.h>
18442 int
18443 main ()
18444 {
18445 struct stat buffer;
18446        fstat(0, &buffer);
18447        S_IFREG & buffer.st_mode;
18448   ;
18449   return 0;
18450 }
18451 _ACEOF
18452 if ac_fn_cxx_try_link "$LINENO"; then :
18453   glibcxx_cv_S_IFREG=yes
18454 else
18455   glibcxx_cv_S_IFREG=no
18456 fi
18457 rm -f core conftest.err conftest.$ac_objext \
18458     conftest$ac_exeext conftest.$ac_ext
18459 fi
18460
18461 fi
18462
18463   res=no
18464   if test $glibcxx_cv_S_ISREG = yes; then
18465
18466 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18467
18468     res=S_ISREG
18469   elif test $glibcxx_cv_S_IFREG = yes; then
18470
18471 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18472
18473     res=S_IFREG
18474   fi
18475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18476 $as_echo "$res" >&6; }
18477
18478   CXXFLAGS="$ac_save_CXXFLAGS"
18479   ac_ext=c
18480 ac_cpp='$CPP $CPPFLAGS'
18481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18484
18485
18486
18487 # For xsputn_2().
18488 for ac_header in sys/uio.h
18489 do :
18490   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18491 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18492   cat >>confdefs.h <<_ACEOF
18493 #define HAVE_SYS_UIO_H 1
18494 _ACEOF
18495
18496 fi
18497
18498 done
18499
18500
18501
18502
18503   ac_ext=cpp
18504 ac_cpp='$CXXCPP $CPPFLAGS'
18505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18508
18509   ac_save_CXXFLAGS="$CXXFLAGS"
18510   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18511
18512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18513 $as_echo_n "checking for writev... " >&6; }
18514   if test "${glibcxx_cv_WRITEV+set}" = set; then :
18515   $as_echo_n "(cached) " >&6
18516 else
18517
18518     if test x$gcc_no_link = xyes; then
18519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18520 /* end confdefs.h.  */
18521 #include <sys/uio.h>
18522 int
18523 main ()
18524 {
18525 struct iovec iov[2];
18526        writev(0, iov, 0);
18527   ;
18528   return 0;
18529 }
18530 _ACEOF
18531 if ac_fn_cxx_try_compile "$LINENO"; then :
18532   glibcxx_cv_WRITEV=yes
18533 else
18534   glibcxx_cv_WRITEV=no
18535 fi
18536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18537 else
18538   if test x$gcc_no_link = xyes; then
18539   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18540 fi
18541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18542 /* end confdefs.h.  */
18543 #include <sys/uio.h>
18544 int
18545 main ()
18546 {
18547 struct iovec iov[2];
18548        writev(0, iov, 0);
18549   ;
18550   return 0;
18551 }
18552 _ACEOF
18553 if ac_fn_cxx_try_link "$LINENO"; then :
18554   glibcxx_cv_WRITEV=yes
18555 else
18556   glibcxx_cv_WRITEV=no
18557 fi
18558 rm -f core conftest.err conftest.$ac_objext \
18559     conftest$ac_exeext conftest.$ac_ext
18560 fi
18561
18562 fi
18563
18564   if test $glibcxx_cv_WRITEV = yes; then
18565
18566 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18567
18568   fi
18569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18570 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18571
18572   CXXFLAGS="$ac_save_CXXFLAGS"
18573   ac_ext=c
18574 ac_cpp='$CPP $CPPFLAGS'
18575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18578
18579
18580
18581 # For C99 support to TR1.
18582
18583
18584
18585   ac_ext=cpp
18586 ac_cpp='$CXXCPP $CPPFLAGS'
18587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18590
18591
18592   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18593   # undefined and fake C99 facilities may be spuriously enabled.
18594   ac_save_CXXFLAGS="$CXXFLAGS"
18595   CXXFLAGS="$CXXFLAGS -std=c++98"
18596
18597   # Check for the existence of <complex.h> complex math functions used
18598   # by tr1/complex.
18599   for ac_header in complex.h
18600 do :
18601   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18602 if test "x$ac_cv_header_complex_h" = x""yes; then :
18603   cat >>confdefs.h <<_ACEOF
18604 #define HAVE_COMPLEX_H 1
18605 _ACEOF
18606  ac_has_complex_h=yes
18607 else
18608   ac_has_complex_h=no
18609 fi
18610
18611 done
18612
18613   ac_c99_complex_tr1=no;
18614   if test x"$ac_has_complex_h" = x"yes"; then
18615     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18616 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18617     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18618 /* end confdefs.h.  */
18619 #include <complex.h>
18620 int
18621 main ()
18622 {
18623 typedef __complex__ float float_type; float_type tmpf;
18624                     cacosf(tmpf);
18625                     casinf(tmpf);
18626                     catanf(tmpf);
18627                     cacoshf(tmpf);
18628                     casinhf(tmpf);
18629                     catanhf(tmpf);
18630                     typedef __complex__ double double_type; double_type tmpd;
18631                     cacos(tmpd);
18632                     casin(tmpd);
18633                     catan(tmpd);
18634                     cacosh(tmpd);
18635                     casinh(tmpd);
18636                     catanh(tmpd);
18637                     typedef __complex__ long double ld_type; ld_type tmpld;
18638                     cacosl(tmpld);
18639                     casinl(tmpld);
18640                     catanl(tmpld);
18641                     cacoshl(tmpld);
18642                     casinhl(tmpld);
18643                     catanhl(tmpld);
18644
18645   ;
18646   return 0;
18647 }
18648 _ACEOF
18649 if ac_fn_cxx_try_compile "$LINENO"; then :
18650   ac_c99_complex_tr1=yes
18651 else
18652   ac_c99_complex_tr1=no
18653 fi
18654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18655   fi
18656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18657 $as_echo "$ac_c99_complex_tr1" >&6; }
18658   if test x"$ac_c99_complex_tr1" = x"yes"; then
18659
18660 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18661
18662   fi
18663
18664   # Check for the existence of <ctype.h> functions.
18665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18666 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18667   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18668   $as_echo_n "(cached) " >&6
18669 else
18670
18671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18672 /* end confdefs.h.  */
18673 #include <ctype.h>
18674 int
18675 main ()
18676 {
18677 int ch;
18678                   int ret;
18679                   ret = isblank(ch);
18680
18681   ;
18682   return 0;
18683 }
18684 _ACEOF
18685 if ac_fn_cxx_try_compile "$LINENO"; then :
18686   glibcxx_cv_c99_ctype_tr1=yes
18687 else
18688   glibcxx_cv_c99_ctype_tr1=no
18689 fi
18690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18691
18692 fi
18693
18694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18695 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18696   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18697
18698 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18699
18700   fi
18701
18702   # Check for the existence of <fenv.h> functions.
18703   for ac_header in fenv.h
18704 do :
18705   ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18706 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18707   cat >>confdefs.h <<_ACEOF
18708 #define HAVE_FENV_H 1
18709 _ACEOF
18710  ac_has_fenv_h=yes
18711 else
18712   ac_has_fenv_h=no
18713 fi
18714
18715 done
18716
18717   ac_c99_fenv_tr1=no;
18718   if test x"$ac_has_fenv_h" = x"yes"; then
18719     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18720 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18721     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18722 /* end confdefs.h.  */
18723 #include <fenv.h>
18724 int
18725 main ()
18726 {
18727 int except, mode;
18728                     fexcept_t* pflag;
18729                     fenv_t* penv;
18730                     int ret;
18731                     ret = feclearexcept(except);
18732                     ret = fegetexceptflag(pflag, except);
18733                     ret = feraiseexcept(except);
18734                     ret = fesetexceptflag(pflag, except);
18735                     ret = fetestexcept(except);
18736                     ret = fegetround();
18737                     ret = fesetround(mode);
18738                     ret = fegetenv(penv);
18739                     ret = feholdexcept(penv);
18740                     ret = fesetenv(penv);
18741                     ret = feupdateenv(penv);
18742
18743   ;
18744   return 0;
18745 }
18746 _ACEOF
18747 if ac_fn_cxx_try_compile "$LINENO"; then :
18748   ac_c99_fenv_tr1=yes
18749 else
18750   ac_c99_fenv_tr1=no
18751 fi
18752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18753   fi
18754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18755 $as_echo "$ac_c99_fenv_tr1" >&6; }
18756   if test x"$ac_c99_fenv_tr1" = x"yes"; then
18757
18758 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18759
18760   fi
18761
18762   # Check for the existence of <stdint.h> types.
18763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18764 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18765   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18766   $as_echo_n "(cached) " >&6
18767 else
18768
18769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18770 /* end confdefs.h.  */
18771 #define __STDC_LIMIT_MACROS
18772                   #define __STDC_CONSTANT_MACROS
18773                   #include <stdint.h>
18774 int
18775 main ()
18776 {
18777 typedef int8_t          my_int8_t;
18778                   my_int8_t               i8 = INT8_MIN;
18779                   i8 = INT8_MAX;
18780                   typedef int16_t         my_int16_t;
18781                   my_int16_t              i16 = INT16_MIN;
18782                   i16 = INT16_MAX;
18783                   typedef int32_t         my_int32_t;
18784                   my_int32_t              i32 = INT32_MIN;
18785                   i32 = INT32_MAX;
18786                   typedef int64_t         my_int64_t;
18787                   my_int64_t              i64 = INT64_MIN;
18788                   i64 = INT64_MAX;
18789                   typedef int_fast8_t     my_int_fast8_t;
18790                   my_int_fast8_t          if8 = INT_FAST8_MIN;
18791                   if8 = INT_FAST8_MAX;
18792                   typedef int_fast16_t    my_int_fast16_t;
18793                   my_int_fast16_t         if16 = INT_FAST16_MIN;
18794                   if16 = INT_FAST16_MAX;
18795                   typedef int_fast32_t    my_int_fast32_t;
18796                   my_int_fast32_t         if32 = INT_FAST32_MIN;
18797                   if32 = INT_FAST32_MAX;
18798                   typedef int_fast64_t    my_int_fast64_t;
18799                   my_int_fast64_t         if64 = INT_FAST64_MIN;
18800                   if64 = INT_FAST64_MAX;
18801                   typedef int_least8_t    my_int_least8_t;
18802                   my_int_least8_t         il8 = INT_LEAST8_MIN;
18803                   il8 = INT_LEAST8_MAX;
18804                   typedef int_least16_t   my_int_least16_t;
18805                   my_int_least16_t        il16 = INT_LEAST16_MIN;
18806                   il16 = INT_LEAST16_MAX;
18807                   typedef int_least32_t   my_int_least32_t;
18808                   my_int_least32_t        il32 = INT_LEAST32_MIN;
18809                   il32 = INT_LEAST32_MAX;
18810                   typedef int_least64_t   my_int_least64_t;
18811                   my_int_least64_t        il64 = INT_LEAST64_MIN;
18812                   il64 = INT_LEAST64_MAX;
18813                   typedef intmax_t        my_intmax_t;
18814                   my_intmax_t             im = INTMAX_MAX;
18815                   im = INTMAX_MIN;
18816                   typedef intptr_t        my_intptr_t;
18817                   my_intptr_t             ip = INTPTR_MAX;
18818                   ip = INTPTR_MIN;
18819                   typedef uint8_t         my_uint8_t;
18820                   my_uint8_t              ui8 = UINT8_MAX;
18821                   ui8 = UINT8_MAX;
18822                   typedef uint16_t        my_uint16_t;
18823                   my_uint16_t             ui16 = UINT16_MAX;
18824                   ui16 = UINT16_MAX;
18825                   typedef uint32_t        my_uint32_t;
18826                   my_uint32_t             ui32 = UINT32_MAX;
18827                   ui32 = UINT32_MAX;
18828                   typedef uint64_t        my_uint64_t;
18829                   my_uint64_t             ui64 = UINT64_MAX;
18830                   ui64 = UINT64_MAX;
18831                   typedef uint_fast8_t    my_uint_fast8_t;
18832                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
18833                   uif8 = UINT_FAST8_MAX;
18834                   typedef uint_fast16_t   my_uint_fast16_t;
18835                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
18836                   uif16 = UINT_FAST16_MAX;
18837                   typedef uint_fast32_t   my_uint_fast32_t;
18838                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
18839                   uif32 = UINT_FAST32_MAX;
18840                   typedef uint_fast64_t   my_uint_fast64_t;
18841                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
18842                   uif64 = UINT_FAST64_MAX;
18843                   typedef uint_least8_t   my_uint_least8_t;
18844                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
18845                   uil8 = UINT_LEAST8_MAX;
18846                   typedef uint_least16_t  my_uint_least16_t;
18847                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
18848                   uil16 = UINT_LEAST16_MAX;
18849                   typedef uint_least32_t  my_uint_least32_t;
18850                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
18851                   uil32 = UINT_LEAST32_MAX;
18852                   typedef uint_least64_t  my_uint_least64_t;
18853                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
18854                   uil64 = UINT_LEAST64_MAX;
18855                   typedef uintmax_t       my_uintmax_t;
18856                   my_uintmax_t            uim = UINTMAX_MAX;
18857                   uim = UINTMAX_MAX;
18858                   typedef uintptr_t       my_uintptr_t;
18859                   my_uintptr_t            uip = UINTPTR_MAX;
18860                   uip = UINTPTR_MAX;
18861
18862   ;
18863   return 0;
18864 }
18865 _ACEOF
18866 if ac_fn_cxx_try_compile "$LINENO"; then :
18867   glibcxx_cv_c99_stdint_tr1=yes
18868 else
18869   glibcxx_cv_c99_stdint_tr1=no
18870 fi
18871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18872
18873 fi
18874
18875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18876 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18877   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18878
18879 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18880
18881   fi
18882
18883   # Check for the existence of <math.h> functions.
18884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18885 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18886   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18887   $as_echo_n "(cached) " >&6
18888 else
18889
18890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18891 /* end confdefs.h.  */
18892 #include <math.h>
18893 int
18894 main ()
18895 {
18896 typedef double_t  my_double_t;
18897                   typedef float_t   my_float_t;
18898                   acosh(0.0);
18899                   acoshf(0.0f);
18900                   acoshl(0.0l);
18901                   asinh(0.0);
18902                   asinhf(0.0f);
18903                   asinhl(0.0l);
18904                   atanh(0.0);
18905                   atanhf(0.0f);
18906                   atanhl(0.0l);
18907                   cbrt(0.0);
18908                   cbrtf(0.0f);
18909                   cbrtl(0.0l);
18910                   copysign(0.0, 0.0);
18911                   copysignf(0.0f, 0.0f);
18912                   copysignl(0.0l, 0.0l);
18913                   erf(0.0);
18914                   erff(0.0f);
18915                   erfl(0.0l);
18916                   erfc(0.0);
18917                   erfcf(0.0f);
18918                   erfcl(0.0l);
18919                   exp2(0.0);
18920                   exp2f(0.0f);
18921                   exp2l(0.0l);
18922                   expm1(0.0);
18923                   expm1f(0.0f);
18924                   expm1l(0.0l);
18925                   fdim(0.0, 0.0);
18926                   fdimf(0.0f, 0.0f);
18927                   fdiml(0.0l, 0.0l);
18928                   fma(0.0, 0.0, 0.0);
18929                   fmaf(0.0f, 0.0f, 0.0f);
18930                   fmal(0.0l, 0.0l, 0.0l);
18931                   fmax(0.0, 0.0);
18932                   fmaxf(0.0f, 0.0f);
18933                   fmaxl(0.0l, 0.0l);
18934                   fmin(0.0, 0.0);
18935                   fminf(0.0f, 0.0f);
18936                   fminl(0.0l, 0.0l);
18937                   hypot(0.0, 0.0);
18938                   hypotf(0.0f, 0.0f);
18939                   hypotl(0.0l, 0.0l);
18940                   ilogb(0.0);
18941                   ilogbf(0.0f);
18942                   ilogbl(0.0l);
18943                   lgamma(0.0);
18944                   lgammaf(0.0f);
18945                   lgammal(0.0l);
18946                   llrint(0.0);
18947                   llrintf(0.0f);
18948                   llrintl(0.0l);
18949                   llround(0.0);
18950                   llroundf(0.0f);
18951                   llroundl(0.0l);
18952                   log1p(0.0);
18953                   log1pf(0.0f);
18954                   log1pl(0.0l);
18955                   log2(0.0);
18956                   log2f(0.0f);
18957                   log2l(0.0l);
18958                   logb(0.0);
18959                   logbf(0.0f);
18960                   logbl(0.0l);
18961                   lrint(0.0);
18962                   lrintf(0.0f);
18963                   lrintl(0.0l);
18964                   lround(0.0);
18965                   lroundf(0.0f);
18966                   lroundl(0.0l);
18967                   nan(0);
18968                   nanf(0);
18969                   nanl(0);
18970                   nearbyint(0.0);
18971                   nearbyintf(0.0f);
18972                   nearbyintl(0.0l);
18973                   nextafter(0.0, 0.0);
18974                   nextafterf(0.0f, 0.0f);
18975                   nextafterl(0.0l, 0.0l);
18976                   nexttoward(0.0, 0.0);
18977                   nexttowardf(0.0f, 0.0f);
18978                   nexttowardl(0.0l, 0.0l);
18979                   remainder(0.0, 0.0);
18980                   remainderf(0.0f, 0.0f);
18981                   remainderl(0.0l, 0.0l);
18982                   remquo(0.0, 0.0, 0);
18983                   remquof(0.0f, 0.0f, 0);
18984                   remquol(0.0l, 0.0l, 0);
18985                   rint(0.0);
18986                   rintf(0.0f);
18987                   rintl(0.0l);
18988                   round(0.0);
18989                   roundf(0.0f);
18990                   roundl(0.0l);
18991                   scalbln(0.0, 0l);
18992                   scalblnf(0.0f, 0l);
18993                   scalblnl(0.0l, 0l);
18994                   scalbn(0.0, 0);
18995                   scalbnf(0.0f, 0);
18996                   scalbnl(0.0l, 0);
18997                   tgamma(0.0);
18998                   tgammaf(0.0f);
18999                   tgammal(0.0l);
19000                   trunc(0.0);
19001                   truncf(0.0f);
19002                   truncl(0.0l);
19003
19004   ;
19005   return 0;
19006 }
19007 _ACEOF
19008 if ac_fn_cxx_try_compile "$LINENO"; then :
19009   glibcxx_cv_c99_math_tr1=yes
19010 else
19011   glibcxx_cv_c99_math_tr1=no
19012 fi
19013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19014
19015 fi
19016
19017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19018 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19019   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19020
19021 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19022
19023   fi
19024
19025   # Check for the existence of <inttypes.h> functions (NB: doesn't make
19026   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19027   ac_c99_inttypes_tr1=no;
19028   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19029     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19030 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19031     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19032 /* end confdefs.h.  */
19033 #include <inttypes.h>
19034 int
19035 main ()
19036 {
19037 intmax_t i, numer, denom, base;
19038                     const char* s;
19039                     char** endptr;
19040                     intmax_t ret = imaxabs(i);
19041                     imaxdiv_t dret = imaxdiv(numer, denom);
19042                     ret = strtoimax(s, endptr, base);
19043                     uintmax_t uret = strtoumax(s, endptr, base);
19044
19045   ;
19046   return 0;
19047 }
19048 _ACEOF
19049 if ac_fn_cxx_try_compile "$LINENO"; then :
19050   ac_c99_inttypes_tr1=yes
19051 else
19052   ac_c99_inttypes_tr1=no
19053 fi
19054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19055   fi
19056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19057 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19058   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19059
19060 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19061
19062   fi
19063
19064   # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19065   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19066   ac_c99_inttypes_wchar_t_tr1=no;
19067   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19068     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19069 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19070     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19071 /* end confdefs.h.  */
19072 #include <inttypes.h>
19073 int
19074 main ()
19075 {
19076 intmax_t base;
19077                     const wchar_t* s;
19078                     wchar_t** endptr;
19079                     intmax_t ret = wcstoimax(s, endptr, base);
19080                     uintmax_t uret = wcstoumax(s, endptr, base);
19081
19082   ;
19083   return 0;
19084 }
19085 _ACEOF
19086 if ac_fn_cxx_try_compile "$LINENO"; then :
19087   ac_c99_inttypes_wchar_t_tr1=yes
19088 else
19089   ac_c99_inttypes_wchar_t_tr1=no
19090 fi
19091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19092   fi
19093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19094 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19095   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19096
19097 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19098
19099   fi
19100
19101   # Check for the existence of the <stdbool.h> header.
19102   for ac_header in stdbool.h
19103 do :
19104   ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19105 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19106   cat >>confdefs.h <<_ACEOF
19107 #define HAVE_STDBOOL_H 1
19108 _ACEOF
19109
19110 fi
19111
19112 done
19113
19114
19115   # Check for the existence of the <stdalign.h> header.
19116   for ac_header in stdalign.h
19117 do :
19118   ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19119 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19120   cat >>confdefs.h <<_ACEOF
19121 #define HAVE_STDALIGN_H 1
19122 _ACEOF
19123
19124 fi
19125
19126 done
19127
19128
19129   CXXFLAGS="$ac_save_CXXFLAGS"
19130   ac_ext=c
19131 ac_cpp='$CPP $CPPFLAGS'
19132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19135
19136
19137
19138 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19139
19140
19141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19142 $as_echo_n "checking for the value of EOF... " >&6; }
19143 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19144   $as_echo_n "(cached) " >&6
19145 else
19146
19147   if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
19148
19149 else
19150   as_fn_error "computing EOF failed" "$LINENO" 5
19151 fi
19152
19153
19154 fi
19155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19156 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19157
19158 cat >>confdefs.h <<_ACEOF
19159 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19160 _ACEOF
19161
19162
19163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19164 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19165 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19166   $as_echo_n "(cached) " >&6
19167 else
19168
19169   if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
19170
19171 else
19172   as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19173 fi
19174
19175
19176 fi
19177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19178 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19179
19180 cat >>confdefs.h <<_ACEOF
19181 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19182 _ACEOF
19183
19184
19185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19186 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19187 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19188   $as_echo_n "(cached) " >&6
19189 else
19190
19191   if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
19192
19193 else
19194   as_fn_error "computing SEEK_END failed" "$LINENO" 5
19195 fi
19196
19197
19198 fi
19199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19200 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19201
19202 cat >>confdefs.h <<_ACEOF
19203 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19204 _ACEOF
19205
19206
19207
19208 # For gettimeofday support.
19209
19210
19211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19212 $as_echo_n "checking for gettimeofday... " >&6; }
19213
19214
19215   ac_ext=cpp
19216 ac_cpp='$CXXCPP $CPPFLAGS'
19217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19220
19221   ac_save_CXXFLAGS="$CXXFLAGS"
19222   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19223
19224   ac_has_gettimeofday=no;
19225   for ac_header in sys/time.h
19226 do :
19227   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19228 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19229   cat >>confdefs.h <<_ACEOF
19230 #define HAVE_SYS_TIME_H 1
19231 _ACEOF
19232  ac_has_sys_time_h=yes
19233 else
19234   ac_has_sys_time_h=no
19235 fi
19236
19237 done
19238
19239   if test x"$ac_has_sys_time_h" = x"yes"; then
19240     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19241 $as_echo_n "checking for gettimeofday... " >&6; }
19242     if test x$gcc_no_link = xyes; then
19243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19244 /* end confdefs.h.  */
19245 #include <sys/time.h>
19246 int
19247 main ()
19248 {
19249 timeval tv; gettimeofday(&tv, 0);
19250   ;
19251   return 0;
19252 }
19253 _ACEOF
19254 if ac_fn_cxx_try_compile "$LINENO"; then :
19255   ac_has_gettimeofday=yes
19256 else
19257   ac_has_gettimeofday=no
19258 fi
19259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19260 else
19261   if test x$gcc_no_link = xyes; then
19262   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19263 fi
19264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19265 /* end confdefs.h.  */
19266 #include <sys/time.h>
19267 int
19268 main ()
19269 {
19270 timeval tv; gettimeofday(&tv, 0);
19271   ;
19272   return 0;
19273 }
19274 _ACEOF
19275 if ac_fn_cxx_try_link "$LINENO"; then :
19276   ac_has_gettimeofday=yes
19277 else
19278   ac_has_gettimeofday=no
19279 fi
19280 rm -f core conftest.err conftest.$ac_objext \
19281     conftest$ac_exeext conftest.$ac_ext
19282 fi
19283
19284     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19285 $as_echo "$ac_has_gettimeofday" >&6; }
19286   fi
19287
19288   if test x"$ac_has_gettimeofday" = x"yes"; then
19289
19290 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19291
19292   fi
19293
19294   CXXFLAGS="$ac_save_CXXFLAGS"
19295   ac_ext=c
19296 ac_cpp='$CPP $CPPFLAGS'
19297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19300
19301
19302
19303 # For clock_gettime, nanosleep and sched_yield support.
19304 # NB: The default is [no], because otherwise it requires linking.
19305
19306
19307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19308 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19309    # Check whether --enable-libstdcxx-time was given.
19310 if test "${enable_libstdcxx_time+set}" = set; then :
19311   enableval=$enable_libstdcxx_time;
19312       case "$enableval" in
19313        yes|no|rt) ;;
19314        *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19315                         esac
19316
19317 else
19318   enable_libstdcxx_time=no
19319 fi
19320
19321
19322
19323
19324   ac_ext=cpp
19325 ac_cpp='$CXXCPP $CPPFLAGS'
19326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19329
19330   ac_save_CXXFLAGS="$CXXFLAGS"
19331   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19332   ac_save_LIBS="$LIBS"
19333
19334   ac_has_clock_monotonic=no
19335   ac_has_clock_realtime=no
19336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19337 $as_echo "$enable_libstdcxx_time" >&6; }
19338
19339   if test x"$enable_libstdcxx_time" != x"no"; then
19340
19341     if test x"$enable_libstdcxx_time" = x"rt"; then
19342       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19343 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19344 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19345   $as_echo_n "(cached) " >&6
19346 else
19347   ac_func_search_save_LIBS=$LIBS
19348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19349 /* end confdefs.h.  */
19350
19351 /* Override any GCC internal prototype to avoid an error.
19352    Use char because int might match the return type of a GCC
19353    builtin and then its argument prototype would still apply.  */
19354 #ifdef __cplusplus
19355 extern "C"
19356 #endif
19357 char clock_gettime ();
19358 int
19359 main ()
19360 {
19361 return clock_gettime ();
19362   ;
19363   return 0;
19364 }
19365 _ACEOF
19366 for ac_lib in '' rt posix4; do
19367   if test -z "$ac_lib"; then
19368     ac_res="none required"
19369   else
19370     ac_res=-l$ac_lib
19371     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19372   fi
19373   if test x$gcc_no_link = xyes; then
19374   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19375 fi
19376 if ac_fn_cxx_try_link "$LINENO"; then :
19377   ac_cv_search_clock_gettime=$ac_res
19378 fi
19379 rm -f core conftest.err conftest.$ac_objext \
19380     conftest$ac_exeext
19381   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19382   break
19383 fi
19384 done
19385 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19386
19387 else
19388   ac_cv_search_clock_gettime=no
19389 fi
19390 rm conftest.$ac_ext
19391 LIBS=$ac_func_search_save_LIBS
19392 fi
19393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19394 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19395 ac_res=$ac_cv_search_clock_gettime
19396 if test "$ac_res" != no; then :
19397   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19398
19399 fi
19400
19401       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19402 $as_echo_n "checking for library containing nanosleep... " >&6; }
19403 if test "${ac_cv_search_nanosleep+set}" = set; then :
19404   $as_echo_n "(cached) " >&6
19405 else
19406   ac_func_search_save_LIBS=$LIBS
19407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19408 /* end confdefs.h.  */
19409
19410 /* Override any GCC internal prototype to avoid an error.
19411    Use char because int might match the return type of a GCC
19412    builtin and then its argument prototype would still apply.  */
19413 #ifdef __cplusplus
19414 extern "C"
19415 #endif
19416 char nanosleep ();
19417 int
19418 main ()
19419 {
19420 return nanosleep ();
19421   ;
19422   return 0;
19423 }
19424 _ACEOF
19425 for ac_lib in '' rt posix4; do
19426   if test -z "$ac_lib"; then
19427     ac_res="none required"
19428   else
19429     ac_res=-l$ac_lib
19430     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19431   fi
19432   if test x$gcc_no_link = xyes; then
19433   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19434 fi
19435 if ac_fn_cxx_try_link "$LINENO"; then :
19436   ac_cv_search_nanosleep=$ac_res
19437 fi
19438 rm -f core conftest.err conftest.$ac_objext \
19439     conftest$ac_exeext
19440   if test "${ac_cv_search_nanosleep+set}" = set; then :
19441   break
19442 fi
19443 done
19444 if test "${ac_cv_search_nanosleep+set}" = set; then :
19445
19446 else
19447   ac_cv_search_nanosleep=no
19448 fi
19449 rm conftest.$ac_ext
19450 LIBS=$ac_func_search_save_LIBS
19451 fi
19452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19453 $as_echo "$ac_cv_search_nanosleep" >&6; }
19454 ac_res=$ac_cv_search_nanosleep
19455 if test "$ac_res" != no; then :
19456   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19457
19458 fi
19459
19460     else
19461       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19462 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19463 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19464   $as_echo_n "(cached) " >&6
19465 else
19466   ac_func_search_save_LIBS=$LIBS
19467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19468 /* end confdefs.h.  */
19469
19470 /* Override any GCC internal prototype to avoid an error.
19471    Use char because int might match the return type of a GCC
19472    builtin and then its argument prototype would still apply.  */
19473 #ifdef __cplusplus
19474 extern "C"
19475 #endif
19476 char clock_gettime ();
19477 int
19478 main ()
19479 {
19480 return clock_gettime ();
19481   ;
19482   return 0;
19483 }
19484 _ACEOF
19485 for ac_lib in '' posix4; do
19486   if test -z "$ac_lib"; then
19487     ac_res="none required"
19488   else
19489     ac_res=-l$ac_lib
19490     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19491   fi
19492   if test x$gcc_no_link = xyes; then
19493   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19494 fi
19495 if ac_fn_cxx_try_link "$LINENO"; then :
19496   ac_cv_search_clock_gettime=$ac_res
19497 fi
19498 rm -f core conftest.err conftest.$ac_objext \
19499     conftest$ac_exeext
19500   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19501   break
19502 fi
19503 done
19504 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19505
19506 else
19507   ac_cv_search_clock_gettime=no
19508 fi
19509 rm conftest.$ac_ext
19510 LIBS=$ac_func_search_save_LIBS
19511 fi
19512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19513 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19514 ac_res=$ac_cv_search_clock_gettime
19515 if test "$ac_res" != no; then :
19516   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19517
19518 fi
19519
19520       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19521 $as_echo_n "checking for library containing nanosleep... " >&6; }
19522 if test "${ac_cv_search_nanosleep+set}" = set; then :
19523   $as_echo_n "(cached) " >&6
19524 else
19525   ac_func_search_save_LIBS=$LIBS
19526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19527 /* end confdefs.h.  */
19528
19529 /* Override any GCC internal prototype to avoid an error.
19530    Use char because int might match the return type of a GCC
19531    builtin and then its argument prototype would still apply.  */
19532 #ifdef __cplusplus
19533 extern "C"
19534 #endif
19535 char nanosleep ();
19536 int
19537 main ()
19538 {
19539 return nanosleep ();
19540   ;
19541   return 0;
19542 }
19543 _ACEOF
19544 for ac_lib in '' posix4; do
19545   if test -z "$ac_lib"; then
19546     ac_res="none required"
19547   else
19548     ac_res=-l$ac_lib
19549     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19550   fi
19551   if test x$gcc_no_link = xyes; then
19552   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19553 fi
19554 if ac_fn_cxx_try_link "$LINENO"; then :
19555   ac_cv_search_nanosleep=$ac_res
19556 fi
19557 rm -f core conftest.err conftest.$ac_objext \
19558     conftest$ac_exeext
19559   if test "${ac_cv_search_nanosleep+set}" = set; then :
19560   break
19561 fi
19562 done
19563 if test "${ac_cv_search_nanosleep+set}" = set; then :
19564
19565 else
19566   ac_cv_search_nanosleep=no
19567 fi
19568 rm conftest.$ac_ext
19569 LIBS=$ac_func_search_save_LIBS
19570 fi
19571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19572 $as_echo "$ac_cv_search_nanosleep" >&6; }
19573 ac_res=$ac_cv_search_nanosleep
19574 if test "$ac_res" != no; then :
19575   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19576
19577 fi
19578
19579     fi
19580
19581     case "$ac_cv_search_clock_gettime" in
19582       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19583       ;;
19584     esac
19585     case "$ac_cv_search_nanosleep" in
19586       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19587       ;;
19588     esac
19589
19590     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19591 $as_echo_n "checking for library containing sched_yield... " >&6; }
19592 if test "${ac_cv_search_sched_yield+set}" = set; then :
19593   $as_echo_n "(cached) " >&6
19594 else
19595   ac_func_search_save_LIBS=$LIBS
19596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19597 /* end confdefs.h.  */
19598
19599 /* Override any GCC internal prototype to avoid an error.
19600    Use char because int might match the return type of a GCC
19601    builtin and then its argument prototype would still apply.  */
19602 #ifdef __cplusplus
19603 extern "C"
19604 #endif
19605 char sched_yield ();
19606 int
19607 main ()
19608 {
19609 return sched_yield ();
19610   ;
19611   return 0;
19612 }
19613 _ACEOF
19614 for ac_lib in '' rt posix4; do
19615   if test -z "$ac_lib"; then
19616     ac_res="none required"
19617   else
19618     ac_res=-l$ac_lib
19619     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19620   fi
19621   if test x$gcc_no_link = xyes; then
19622   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19623 fi
19624 if ac_fn_cxx_try_link "$LINENO"; then :
19625   ac_cv_search_sched_yield=$ac_res
19626 fi
19627 rm -f core conftest.err conftest.$ac_objext \
19628     conftest$ac_exeext
19629   if test "${ac_cv_search_sched_yield+set}" = set; then :
19630   break
19631 fi
19632 done
19633 if test "${ac_cv_search_sched_yield+set}" = set; then :
19634
19635 else
19636   ac_cv_search_sched_yield=no
19637 fi
19638 rm conftest.$ac_ext
19639 LIBS=$ac_func_search_save_LIBS
19640 fi
19641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19642 $as_echo "$ac_cv_search_sched_yield" >&6; }
19643 ac_res=$ac_cv_search_sched_yield
19644 if test "$ac_res" != no; then :
19645   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19646
19647 fi
19648
19649
19650     case "$ac_cv_search_sched_yield" in
19651       -lposix4*)
19652       GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19653
19654 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19655
19656       ;;
19657       -lrt*)
19658       if test x"$enable_libstdcxx_time" = x"rt"; then
19659         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19660
19661 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19662
19663       fi
19664       ;;
19665       *)
19666
19667 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19668
19669       ;;
19670     esac
19671
19672     for ac_header in unistd.h
19673 do :
19674   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19675 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19676   cat >>confdefs.h <<_ACEOF
19677 #define HAVE_UNISTD_H 1
19678 _ACEOF
19679  ac_has_unistd_h=yes
19680 else
19681   ac_has_unistd_h=no
19682 fi
19683
19684 done
19685
19686
19687     if test x"$ac_has_unistd_h" = x"yes"; then
19688       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19689 $as_echo_n "checking for monotonic clock... " >&6; }
19690       if test x$gcc_no_link = xyes; then
19691   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19692 fi
19693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19694 /* end confdefs.h.  */
19695 #include <unistd.h>
19696          #include <time.h>
19697
19698 int
19699 main ()
19700 {
19701 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19702           timespec tp;
19703          #endif
19704           clock_gettime(CLOCK_MONOTONIC, &tp);
19705
19706   ;
19707   return 0;
19708 }
19709 _ACEOF
19710 if ac_fn_cxx_try_link "$LINENO"; then :
19711   ac_has_clock_monotonic=yes
19712 else
19713   ac_has_clock_monotonic=no
19714 fi
19715 rm -f core conftest.err conftest.$ac_objext \
19716     conftest$ac_exeext conftest.$ac_ext
19717
19718       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19719 $as_echo "$ac_has_clock_monotonic" >&6; }
19720
19721       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19722 $as_echo_n "checking for realtime clock... " >&6; }
19723       if test x$gcc_no_link = xyes; then
19724   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19725 fi
19726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19727 /* end confdefs.h.  */
19728 #include <unistd.h>
19729          #include <time.h>
19730
19731 int
19732 main ()
19733 {
19734 #if _POSIX_TIMERS > 0
19735           timespec tp;
19736          #endif
19737           clock_gettime(CLOCK_REALTIME, &tp);
19738
19739   ;
19740   return 0;
19741 }
19742 _ACEOF
19743 if ac_fn_cxx_try_link "$LINENO"; then :
19744   ac_has_clock_realtime=yes
19745 else
19746   ac_has_clock_realtime=no
19747 fi
19748 rm -f core conftest.err conftest.$ac_objext \
19749     conftest$ac_exeext conftest.$ac_ext
19750
19751       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19752 $as_echo "$ac_has_clock_realtime" >&6; }
19753
19754       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19755 $as_echo_n "checking for nanosleep... " >&6; }
19756       if test x$gcc_no_link = xyes; then
19757   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19758 fi
19759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19760 /* end confdefs.h.  */
19761 #include <unistd.h>
19762          #include <time.h>
19763
19764 int
19765 main ()
19766 {
19767 #if _POSIX_TIMERS > 0
19768           timespec tp;
19769          #endif
19770           nanosleep(&tp, 0);
19771
19772   ;
19773   return 0;
19774 }
19775 _ACEOF
19776 if ac_fn_cxx_try_link "$LINENO"; then :
19777   ac_has_nanosleep=yes
19778 else
19779   ac_has_nanosleep=no
19780 fi
19781 rm -f core conftest.err conftest.$ac_objext \
19782     conftest$ac_exeext conftest.$ac_ext
19783
19784       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19785 $as_echo "$ac_has_nanosleep" >&6; }
19786     fi
19787   fi
19788
19789   if test x"$ac_has_clock_monotonic" = x"yes"; then
19790
19791 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19792
19793   fi
19794
19795   if test x"$ac_has_clock_realtime" = x"yes"; then
19796
19797 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19798
19799   fi
19800
19801   if test x"$ac_has_nanosleep" = x"yes"; then
19802
19803 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19804
19805   fi
19806
19807
19808
19809   CXXFLAGS="$ac_save_CXXFLAGS"
19810   LIBS="$ac_save_LIBS"
19811   ac_ext=c
19812 ac_cpp='$CPP $CPPFLAGS'
19813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19816
19817
19818
19819 # For gthread support
19820
19821
19822   ac_ext=cpp
19823 ac_cpp='$CXXCPP $CPPFLAGS'
19824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19827
19828
19829   ac_save_CXXFLAGS="$CXXFLAGS"
19830   CXXFLAGS="$CXXFLAGS -fno-exceptions \
19831         -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
19832
19833   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19834   case $target_thread_file in
19835     posix)
19836       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19837   esac
19838
19839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
19840 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
19841
19842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19843 /* end confdefs.h.  */
19844 #include <unistd.h>
19845 int
19846 main ()
19847 {
19848
19849       // In case of POSIX threads check _POSIX_TIMEOUTS.
19850       #if (defined(_PTHREADS) \
19851           && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19852       #error
19853       #endif
19854
19855   ;
19856   return 0;
19857 }
19858 _ACEOF
19859 if ac_fn_cxx_try_compile "$LINENO"; then :
19860   ac_gthread_use_mutex_timedlock=1
19861 else
19862   ac_gthread_use_mutex_timedlock=0
19863 fi
19864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19865
19866
19867 cat >>confdefs.h <<_ACEOF
19868 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
19869 _ACEOF
19870
19871
19872   if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
19873   else res_mutex_timedlock=no ; fi
19874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
19875 $as_echo "$res_mutex_timedlock" >&6; }
19876
19877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19878 $as_echo_n "checking for gthreads library... " >&6; }
19879
19880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19881 /* end confdefs.h.  */
19882 #include "gthr.h"
19883 int
19884 main ()
19885 {
19886
19887       #ifndef __GTHREADS_CXX0X
19888       #error
19889       #endif
19890
19891   ;
19892   return 0;
19893 }
19894 _ACEOF
19895 if ac_fn_cxx_try_compile "$LINENO"; then :
19896   ac_has_gthreads=yes
19897 else
19898   ac_has_gthreads=no
19899 fi
19900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19901
19902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19903 $as_echo "$ac_has_gthreads" >&6; }
19904
19905   if test x"$ac_has_gthreads" = x"yes"; then
19906
19907 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19908
19909   fi
19910
19911   CXXFLAGS="$ac_save_CXXFLAGS"
19912   ac_ext=c
19913 ac_cpp='$CPP $CPPFLAGS'
19914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19917
19918
19919
19920
19921   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19922 if test "x$ac_cv_header_locale_h" = x""yes; then :
19923
19924     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19925 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19926 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19927   $as_echo_n "(cached) " >&6
19928 else
19929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19930 /* end confdefs.h.  */
19931 #include <locale.h>
19932 int
19933 main ()
19934 {
19935 return LC_MESSAGES
19936   ;
19937   return 0;
19938 }
19939 _ACEOF
19940 if ac_fn_c_try_compile "$LINENO"; then :
19941   ac_cv_val_LC_MESSAGES=yes
19942 else
19943   ac_cv_val_LC_MESSAGES=no
19944 fi
19945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19946 fi
19947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19948 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19949     if test $ac_cv_val_LC_MESSAGES = yes; then
19950
19951 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19952
19953     fi
19954
19955 fi
19956
19957
19958
19959
19960 # For hardware_concurrency
19961 for ac_header in sys/sysinfo.h
19962 do :
19963   ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19964 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19965   cat >>confdefs.h <<_ACEOF
19966 #define HAVE_SYS_SYSINFO_H 1
19967 _ACEOF
19968
19969 fi
19970
19971 done
19972
19973
19974
19975
19976   ac_ext=cpp
19977 ac_cpp='$CXXCPP $CPPFLAGS'
19978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19981
19982   ac_save_CXXFLAGS="$CXXFLAGS"
19983   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19984
19985   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19986 $as_echo_n "checking for get_nprocs... " >&6; }
19987   if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19988   $as_echo_n "(cached) " >&6
19989 else
19990
19991     if test x$gcc_no_link = xyes; then
19992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19993 /* end confdefs.h.  */
19994 #include <sys/sysinfo.h>
19995 int
19996 main ()
19997 {
19998 int n = get_nprocs();
19999   ;
20000   return 0;
20001 }
20002 _ACEOF
20003 if ac_fn_cxx_try_compile "$LINENO"; then :
20004   glibcxx_cv_GET_NPROCS=yes
20005 else
20006   glibcxx_cv_GET_NPROCS=no
20007 fi
20008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20009 else
20010   if test x$gcc_no_link = xyes; then
20011   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20012 fi
20013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20014 /* end confdefs.h.  */
20015 #include <sys/sysinfo.h>
20016 int
20017 main ()
20018 {
20019 int n = get_nprocs();
20020   ;
20021   return 0;
20022 }
20023 _ACEOF
20024 if ac_fn_cxx_try_link "$LINENO"; then :
20025   glibcxx_cv_GET_NPROCS=yes
20026 else
20027   glibcxx_cv_GET_NPROCS=no
20028 fi
20029 rm -f core conftest.err conftest.$ac_objext \
20030     conftest$ac_exeext conftest.$ac_ext
20031 fi
20032
20033 fi
20034
20035   if test $glibcxx_cv_GET_NPROCS = yes; then
20036
20037 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20038
20039   fi
20040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20041 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20042
20043   CXXFLAGS="$ac_save_CXXFLAGS"
20044   ac_ext=c
20045 ac_cpp='$CPP $CPPFLAGS'
20046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20049
20050
20051 for ac_header in unistd.h
20052 do :
20053   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20054 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20055   cat >>confdefs.h <<_ACEOF
20056 #define HAVE_UNISTD_H 1
20057 _ACEOF
20058
20059 fi
20060
20061 done
20062
20063
20064
20065
20066   ac_ext=cpp
20067 ac_cpp='$CXXCPP $CPPFLAGS'
20068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20071
20072   ac_save_CXXFLAGS="$CXXFLAGS"
20073   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20074
20075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20076 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20077   if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20078   $as_echo_n "(cached) " >&6
20079 else
20080
20081     if test x$gcc_no_link = xyes; then
20082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20083 /* end confdefs.h.  */
20084 #include <unistd.h>
20085 int
20086 main ()
20087 {
20088 int n = sysconf(_SC_NPROCESSORS_ONLN);
20089   ;
20090   return 0;
20091 }
20092 _ACEOF
20093 if ac_fn_cxx_try_compile "$LINENO"; then :
20094   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20095 else
20096   glibcxx_cv_SC_NPROCESSORS_ONLN=no
20097 fi
20098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20099 else
20100   if test x$gcc_no_link = xyes; then
20101   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20102 fi
20103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20104 /* end confdefs.h.  */
20105 #include <unistd.h>
20106 int
20107 main ()
20108 {
20109 int n = sysconf(_SC_NPROCESSORS_ONLN);
20110   ;
20111   return 0;
20112 }
20113 _ACEOF
20114 if ac_fn_cxx_try_link "$LINENO"; then :
20115   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20116 else
20117   glibcxx_cv_SC_NPROCESSORS_ONLN=no
20118 fi
20119 rm -f core conftest.err conftest.$ac_objext \
20120     conftest$ac_exeext conftest.$ac_ext
20121 fi
20122
20123 fi
20124
20125   if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20126
20127 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20128
20129   fi
20130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20131 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20132
20133   CXXFLAGS="$ac_save_CXXFLAGS"
20134   ac_ext=c
20135 ac_cpp='$CPP $CPPFLAGS'
20136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20139
20140
20141
20142
20143
20144   ac_ext=cpp
20145 ac_cpp='$CXXCPP $CPPFLAGS'
20146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20149
20150   ac_save_CXXFLAGS="$CXXFLAGS"
20151   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20152
20153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20154 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20155   if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20156   $as_echo_n "(cached) " >&6
20157 else
20158
20159     if test x$gcc_no_link = xyes; then
20160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20161 /* end confdefs.h.  */
20162 #include <unistd.h>
20163 int
20164 main ()
20165 {
20166 int n = sysconf(_SC_NPROC_ONLN);
20167   ;
20168   return 0;
20169 }
20170 _ACEOF
20171 if ac_fn_cxx_try_compile "$LINENO"; then :
20172   glibcxx_cv_SC_NPROC_ONLN=yes
20173 else
20174   glibcxx_cv_SC_NPROC_ONLN=no
20175 fi
20176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20177 else
20178   if test x$gcc_no_link = xyes; then
20179   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20180 fi
20181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20182 /* end confdefs.h.  */
20183 #include <unistd.h>
20184 int
20185 main ()
20186 {
20187 int n = sysconf(_SC_NPROC_ONLN);
20188   ;
20189   return 0;
20190 }
20191 _ACEOF
20192 if ac_fn_cxx_try_link "$LINENO"; then :
20193   glibcxx_cv_SC_NPROC_ONLN=yes
20194 else
20195   glibcxx_cv_SC_NPROC_ONLN=no
20196 fi
20197 rm -f core conftest.err conftest.$ac_objext \
20198     conftest$ac_exeext conftest.$ac_ext
20199 fi
20200
20201 fi
20202
20203   if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20204
20205 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20206
20207   fi
20208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20209 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20210
20211   CXXFLAGS="$ac_save_CXXFLAGS"
20212   ac_ext=c
20213 ac_cpp='$CPP $CPPFLAGS'
20214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20217
20218
20219
20220
20221
20222   ac_ext=cpp
20223 ac_cpp='$CXXCPP $CPPFLAGS'
20224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20227
20228   ac_save_CXXFLAGS="$CXXFLAGS"
20229   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20230
20231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20232 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20233   if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20234   $as_echo_n "(cached) " >&6
20235 else
20236
20237     if test x$gcc_no_link = xyes; then
20238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20239 /* end confdefs.h.  */
20240 #include <pthread.h>
20241 int
20242 main ()
20243 {
20244 int n = pthread_num_processors_np();
20245   ;
20246   return 0;
20247 }
20248 _ACEOF
20249 if ac_fn_cxx_try_compile "$LINENO"; then :
20250   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20251 else
20252   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20253 fi
20254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20255 else
20256   if test x$gcc_no_link = xyes; then
20257   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20258 fi
20259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20260 /* end confdefs.h.  */
20261 #include <pthread.h>
20262 int
20263 main ()
20264 {
20265 int n = pthread_num_processors_np();
20266   ;
20267   return 0;
20268 }
20269 _ACEOF
20270 if ac_fn_cxx_try_link "$LINENO"; then :
20271   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20272 else
20273   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20274 fi
20275 rm -f core conftest.err conftest.$ac_objext \
20276     conftest$ac_exeext conftest.$ac_ext
20277 fi
20278
20279 fi
20280
20281   if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20282
20283 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20284
20285   fi
20286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20287 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20288
20289   CXXFLAGS="$ac_save_CXXFLAGS"
20290   ac_ext=c
20291 ac_cpp='$CPP $CPPFLAGS'
20292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20295
20296
20297
20298
20299
20300   ac_ext=cpp
20301 ac_cpp='$CXXCPP $CPPFLAGS'
20302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20305
20306   ac_save_CXXFLAGS="$CXXFLAGS"
20307   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20308
20309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20310 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20311   if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20312   $as_echo_n "(cached) " >&6
20313 else
20314
20315     if test x$gcc_no_link = xyes; then
20316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20317 /* end confdefs.h.  */
20318
20319        #include <stddef.h>
20320        #include <sys/sysctl.h>
20321
20322 int
20323 main ()
20324 {
20325
20326        int count;
20327        size_t size = sizeof(count);
20328        int mib[] = { CTL_HW, HW_NCPU };
20329        sysctl(mib, 2, &count, &size, NULL, 0);
20330
20331   ;
20332   return 0;
20333 }
20334 _ACEOF
20335 if ac_fn_cxx_try_compile "$LINENO"; then :
20336   glibcxx_cv_SYSCTL_HW_NCPU=yes
20337 else
20338   glibcxx_cv_SYSCTL_HW_NCPU=no
20339 fi
20340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20341 else
20342   if test x$gcc_no_link = xyes; then
20343   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20344 fi
20345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20346 /* end confdefs.h.  */
20347
20348        #include <stddef.h>
20349        #include <sys/sysctl.h>
20350
20351 int
20352 main ()
20353 {
20354
20355        int count;
20356        size_t size = sizeof(count);
20357        int mib[] = { CTL_HW, HW_NCPU };
20358        sysctl(mib, 2, &count, &size, NULL, 0);
20359
20360   ;
20361   return 0;
20362 }
20363 _ACEOF
20364 if ac_fn_cxx_try_link "$LINENO"; then :
20365   glibcxx_cv_SYSCTL_HW_NCPU=yes
20366 else
20367   glibcxx_cv_SYSCTL_HW_NCPU=no
20368 fi
20369 rm -f core conftest.err conftest.$ac_objext \
20370     conftest$ac_exeext conftest.$ac_ext
20371 fi
20372
20373 fi
20374
20375   if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20376
20377 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20378
20379   fi
20380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20381 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20382
20383   CXXFLAGS="$ac_save_CXXFLAGS"
20384   ac_ext=c
20385 ac_cpp='$CPP $CPPFLAGS'
20386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20389
20390
20391
20392 # Check for available headers.
20393 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20394 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20395 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20396 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20397 wchar.h wctype.h
20398 do :
20399   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20400 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20401 eval as_val=\$$as_ac_Header
20402    if test "x$as_val" = x""yes; then :
20403   cat >>confdefs.h <<_ACEOF
20404 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20405 _ACEOF
20406
20407 fi
20408
20409 done
20410
20411
20412 # Only do link tests if native. Else, hardcode.
20413 if $GLIBCXX_IS_NATIVE; then
20414
20415   # We can do more elaborate tests that assume a working linker.
20416   CANADIAN=no
20417
20418
20419
20420 # Check whether --with-gnu-ld was given.
20421 if test "${with_gnu_ld+set}" = set; then :
20422   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20423 else
20424   with_gnu_ld=no
20425 fi
20426
20427 ac_prog=ld
20428 if test "$GCC" = yes; then
20429   # Check if gcc -print-prog-name=ld gives a path.
20430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20431 $as_echo_n "checking for ld used by $CC... " >&6; }
20432   case $host in
20433   *-*-mingw*)
20434     # gcc leaves a trailing carriage return which upsets mingw
20435     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20436   *)
20437     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20438   esac
20439   case $ac_prog in
20440     # Accept absolute paths.
20441     [\\/]* | ?:[\\/]*)
20442       re_direlt='/[^/][^/]*/\.\./'
20443       # Canonicalize the pathname of ld
20444       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20445       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20446         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20447       done
20448       test -z "$LD" && LD="$ac_prog"
20449       ;;
20450   "")
20451     # If it fails, then pretend we aren't using GCC.
20452     ac_prog=ld
20453     ;;
20454   *)
20455     # If it is relative, then search for the first ld in PATH.
20456     with_gnu_ld=unknown
20457     ;;
20458   esac
20459 elif test "$with_gnu_ld" = yes; then
20460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20461 $as_echo_n "checking for GNU ld... " >&6; }
20462 else
20463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20464 $as_echo_n "checking for non-GNU ld... " >&6; }
20465 fi
20466 if test "${lt_cv_path_LD+set}" = set; then :
20467   $as_echo_n "(cached) " >&6
20468 else
20469   if test -z "$LD"; then
20470   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20471   for ac_dir in $PATH; do
20472     IFS="$lt_save_ifs"
20473     test -z "$ac_dir" && ac_dir=.
20474     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20475       lt_cv_path_LD="$ac_dir/$ac_prog"
20476       # Check to see if the program is GNU ld.  I'd rather use --version,
20477       # but apparently some variants of GNU ld only accept -v.
20478       # Break only if it was the GNU/non-GNU ld that we prefer.
20479       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20480       *GNU* | *'with BFD'*)
20481         test "$with_gnu_ld" != no && break
20482         ;;
20483       *)
20484         test "$with_gnu_ld" != yes && break
20485         ;;
20486       esac
20487     fi
20488   done
20489   IFS="$lt_save_ifs"
20490 else
20491   lt_cv_path_LD="$LD" # Let the user override the test with a path.
20492 fi
20493 fi
20494
20495 LD="$lt_cv_path_LD"
20496 if test -n "$LD"; then
20497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20498 $as_echo "$LD" >&6; }
20499 else
20500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20501 $as_echo "no" >&6; }
20502 fi
20503 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20505 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20506 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20507   $as_echo_n "(cached) " >&6
20508 else
20509   # I'd rather use --version here, but apparently some GNU lds only accept -v.
20510 case `$LD -v 2>&1 </dev/null` in
20511 *GNU* | *'with BFD'*)
20512   lt_cv_prog_gnu_ld=yes
20513   ;;
20514 *)
20515   lt_cv_prog_gnu_ld=no
20516   ;;
20517 esac
20518 fi
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20520 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20521 with_gnu_ld=$lt_cv_prog_gnu_ld
20522
20523
20524
20525
20526
20527
20528
20529   # If we're not using GNU ld, then there's no point in even trying these
20530   # tests.  Check for that first.  We should have already tested for gld
20531   # by now (in libtool), but require it now just to be safe...
20532   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20533   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20534
20535
20536
20537   # The name set by libtool depends on the version of libtool.  Shame on us
20538   # for depending on an impl detail, but c'est la vie.  Older versions used
20539   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20540   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20541   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
20542   # set (hence we're using an older libtool), then set it.
20543   if test x${with_gnu_ld+set} != xset; then
20544     if test x${ac_cv_prog_gnu_ld+set} != xset; then
20545       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
20546       with_gnu_ld=no
20547     else
20548       with_gnu_ld=$ac_cv_prog_gnu_ld
20549     fi
20550   fi
20551
20552   # Start by getting the version number.  I think the libtool test already
20553   # does some of this, but throws away the result.
20554   glibcxx_ld_is_gold=no
20555   if test x"$with_gnu_ld" = x"yes"; then
20556     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20557 $as_echo_n "checking for ld version... " >&6; }
20558
20559     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20560       glibcxx_ld_is_gold=yes
20561     fi
20562     ldver=`$LD --version 2>/dev/null |
20563            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'`
20564
20565     glibcxx_gnu_ld_version=`echo $ldver | \
20566            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20567     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20568 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20569   fi
20570
20571   # Set --gc-sections.
20572   glibcxx_have_gc_sections=no
20573   if test "$glibcxx_ld_is_gold" = "yes"; then
20574     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20575       glibcxx_have_gc_sections=yes
20576     fi
20577   else
20578     glibcxx_gcsections_min_ld=21602
20579     if test x"$with_gnu_ld" = x"yes" &&
20580         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20581       glibcxx_have_gc_sections=yes
20582     fi
20583   fi
20584   if test "$glibcxx_have_gc_sections" = "yes"; then
20585     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
20586     # NB: This flag only works reliably after 2.16.1. Configure tests
20587     # for this are difficult, so hard wire a value that should work.
20588
20589     ac_test_CFLAGS="${CFLAGS+set}"
20590     ac_save_CFLAGS="$CFLAGS"
20591     CFLAGS='-Wl,--gc-sections'
20592
20593     # Check for -Wl,--gc-sections
20594     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20595 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20596     if test x$gcc_no_link = xyes; then
20597   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20598 fi
20599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20600 /* end confdefs.h.  */
20601  int one(void) { return 1; }
20602      int two(void) { return 2; }
20603
20604 int
20605 main ()
20606 {
20607  two();
20608   ;
20609   return 0;
20610 }
20611 _ACEOF
20612 if ac_fn_c_try_link "$LINENO"; then :
20613   ac_gcsections=yes
20614 else
20615   ac_gcsections=no
20616 fi
20617 rm -f core conftest.err conftest.$ac_objext \
20618     conftest$ac_exeext conftest.$ac_ext
20619     if test "$ac_gcsections" = "yes"; then
20620       rm -f conftest.c
20621       touch conftest.c
20622       if $CC -c conftest.c; then
20623         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20624            grep "Warning: gc-sections option ignored" > /dev/null; then
20625           ac_gcsections=no
20626         fi
20627       fi
20628       rm -f conftest.c conftest.o conftest
20629     fi
20630     if test "$ac_gcsections" = "yes"; then
20631       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20632     fi
20633     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20634 $as_echo "$ac_gcsections" >&6; }
20635
20636     if test "$ac_test_CFLAGS" = set; then
20637       CFLAGS="$ac_save_CFLAGS"
20638     else
20639       # this is the suspicious part
20640       CFLAGS=''
20641     fi
20642   fi
20643
20644   # Set -z,relro.
20645   # Note this is only for shared objects.
20646   ac_ld_relro=no
20647   if test x"$with_gnu_ld" = x"yes"; then
20648     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20649 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20650     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20651     if test -n "$cxx_z_relo"; then
20652       OPT_LDFLAGS="-Wl,-z,relro"
20653       ac_ld_relro=yes
20654     fi
20655     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20656 $as_echo "$ac_ld_relro" >&6; }
20657   fi
20658
20659   # Set linker optimization flags.
20660   if test x"$with_gnu_ld" = x"yes"; then
20661     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20662   fi
20663
20664
20665
20666
20667
20668   ac_test_CXXFLAGS="${CXXFLAGS+set}"
20669   ac_save_CXXFLAGS="$CXXFLAGS"
20670   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20671
20672     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20673 $as_echo_n "checking for sin in -lm... " >&6; }
20674 if test "${ac_cv_lib_m_sin+set}" = set; then :
20675   $as_echo_n "(cached) " >&6
20676 else
20677   ac_check_lib_save_LIBS=$LIBS
20678 LIBS="-lm  $LIBS"
20679 if test x$gcc_no_link = xyes; then
20680   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20681 fi
20682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20683 /* end confdefs.h.  */
20684
20685 /* Override any GCC internal prototype to avoid an error.
20686    Use char because int might match the return type of a GCC
20687    builtin and then its argument prototype would still apply.  */
20688 #ifdef __cplusplus
20689 extern "C"
20690 #endif
20691 char sin ();
20692 int
20693 main ()
20694 {
20695 return sin ();
20696   ;
20697   return 0;
20698 }
20699 _ACEOF
20700 if ac_fn_c_try_link "$LINENO"; then :
20701   ac_cv_lib_m_sin=yes
20702 else
20703   ac_cv_lib_m_sin=no
20704 fi
20705 rm -f core conftest.err conftest.$ac_objext \
20706     conftest$ac_exeext conftest.$ac_ext
20707 LIBS=$ac_check_lib_save_LIBS
20708 fi
20709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20710 $as_echo "$ac_cv_lib_m_sin" >&6; }
20711 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20712   libm="-lm"
20713 fi
20714
20715   ac_save_LIBS="$LIBS"
20716   LIBS="$LIBS $libm"
20717
20718
20719
20720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20721 $as_echo_n "checking for isinf declaration... " >&6; }
20722   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20723     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20724   $as_echo_n "(cached) " >&6
20725 else
20726
20727
20728       ac_ext=cpp
20729 ac_cpp='$CXXCPP $CPPFLAGS'
20730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20733
20734       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20735 /* end confdefs.h.  */
20736 #include <math.h>
20737                       #ifdef HAVE_IEEEFP_H
20738                       #include <ieeefp.h>
20739                       #endif
20740
20741 int
20742 main ()
20743 {
20744  isinf(0);
20745   ;
20746   return 0;
20747 }
20748 _ACEOF
20749 if ac_fn_cxx_try_compile "$LINENO"; then :
20750   glibcxx_cv_func_isinf_use=yes
20751 else
20752   glibcxx_cv_func_isinf_use=no
20753 fi
20754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20755       ac_ext=c
20756 ac_cpp='$CPP $CPPFLAGS'
20757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20760
20761
20762 fi
20763
20764   fi
20765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20766 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20767
20768   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20769     for ac_func in isinf
20770 do :
20771   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20772 if test "x$ac_cv_func_isinf" = x""yes; then :
20773   cat >>confdefs.h <<_ACEOF
20774 #define HAVE_ISINF 1
20775 _ACEOF
20776
20777 fi
20778 done
20779
20780   else
20781
20782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20783 $as_echo_n "checking for _isinf declaration... " >&6; }
20784   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20785     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20786   $as_echo_n "(cached) " >&6
20787 else
20788
20789
20790       ac_ext=cpp
20791 ac_cpp='$CXXCPP $CPPFLAGS'
20792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20795
20796       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20797 /* end confdefs.h.  */
20798 #include <math.h>
20799                       #ifdef HAVE_IEEEFP_H
20800                       #include <ieeefp.h>
20801                       #endif
20802
20803 int
20804 main ()
20805 {
20806  _isinf(0);
20807   ;
20808   return 0;
20809 }
20810 _ACEOF
20811 if ac_fn_cxx_try_compile "$LINENO"; then :
20812   glibcxx_cv_func__isinf_use=yes
20813 else
20814   glibcxx_cv_func__isinf_use=no
20815 fi
20816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20817       ac_ext=c
20818 ac_cpp='$CPP $CPPFLAGS'
20819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20822
20823
20824 fi
20825
20826   fi
20827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20828 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20829
20830     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20831       for ac_func in _isinf
20832 do :
20833   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20834 if test "x$ac_cv_func__isinf" = x""yes; then :
20835   cat >>confdefs.h <<_ACEOF
20836 #define HAVE__ISINF 1
20837 _ACEOF
20838
20839 fi
20840 done
20841
20842     fi
20843   fi
20844
20845
20846
20847
20848
20849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20850 $as_echo_n "checking for isnan declaration... " >&6; }
20851   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20852     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20853   $as_echo_n "(cached) " >&6
20854 else
20855
20856
20857       ac_ext=cpp
20858 ac_cpp='$CXXCPP $CPPFLAGS'
20859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20862
20863       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20864 /* end confdefs.h.  */
20865 #include <math.h>
20866                       #ifdef HAVE_IEEEFP_H
20867                       #include <ieeefp.h>
20868                       #endif
20869
20870 int
20871 main ()
20872 {
20873  isnan(0);
20874   ;
20875   return 0;
20876 }
20877 _ACEOF
20878 if ac_fn_cxx_try_compile "$LINENO"; then :
20879   glibcxx_cv_func_isnan_use=yes
20880 else
20881   glibcxx_cv_func_isnan_use=no
20882 fi
20883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20884       ac_ext=c
20885 ac_cpp='$CPP $CPPFLAGS'
20886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20889
20890
20891 fi
20892
20893   fi
20894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20895 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20896
20897   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20898     for ac_func in isnan
20899 do :
20900   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20901 if test "x$ac_cv_func_isnan" = x""yes; then :
20902   cat >>confdefs.h <<_ACEOF
20903 #define HAVE_ISNAN 1
20904 _ACEOF
20905
20906 fi
20907 done
20908
20909   else
20910
20911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20912 $as_echo_n "checking for _isnan declaration... " >&6; }
20913   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20914     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20915   $as_echo_n "(cached) " >&6
20916 else
20917
20918
20919       ac_ext=cpp
20920 ac_cpp='$CXXCPP $CPPFLAGS'
20921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20924
20925       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20926 /* end confdefs.h.  */
20927 #include <math.h>
20928                       #ifdef HAVE_IEEEFP_H
20929                       #include <ieeefp.h>
20930                       #endif
20931
20932 int
20933 main ()
20934 {
20935  _isnan(0);
20936   ;
20937   return 0;
20938 }
20939 _ACEOF
20940 if ac_fn_cxx_try_compile "$LINENO"; then :
20941   glibcxx_cv_func__isnan_use=yes
20942 else
20943   glibcxx_cv_func__isnan_use=no
20944 fi
20945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20946       ac_ext=c
20947 ac_cpp='$CPP $CPPFLAGS'
20948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20951
20952
20953 fi
20954
20955   fi
20956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20957 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20958
20959     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20960       for ac_func in _isnan
20961 do :
20962   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20963 if test "x$ac_cv_func__isnan" = x""yes; then :
20964   cat >>confdefs.h <<_ACEOF
20965 #define HAVE__ISNAN 1
20966 _ACEOF
20967
20968 fi
20969 done
20970
20971     fi
20972   fi
20973
20974
20975
20976
20977
20978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20979 $as_echo_n "checking for finite declaration... " >&6; }
20980   if test x${glibcxx_cv_func_finite_use+set} != xset; then
20981     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20982   $as_echo_n "(cached) " >&6
20983 else
20984
20985
20986       ac_ext=cpp
20987 ac_cpp='$CXXCPP $CPPFLAGS'
20988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20991
20992       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20993 /* end confdefs.h.  */
20994 #include <math.h>
20995                       #ifdef HAVE_IEEEFP_H
20996                       #include <ieeefp.h>
20997                       #endif
20998
20999 int
21000 main ()
21001 {
21002  finite(0);
21003   ;
21004   return 0;
21005 }
21006 _ACEOF
21007 if ac_fn_cxx_try_compile "$LINENO"; then :
21008   glibcxx_cv_func_finite_use=yes
21009 else
21010   glibcxx_cv_func_finite_use=no
21011 fi
21012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21013       ac_ext=c
21014 ac_cpp='$CPP $CPPFLAGS'
21015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21018
21019
21020 fi
21021
21022   fi
21023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21024 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21025
21026   if test x$glibcxx_cv_func_finite_use = x"yes"; then
21027     for ac_func in finite
21028 do :
21029   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21030 if test "x$ac_cv_func_finite" = x""yes; then :
21031   cat >>confdefs.h <<_ACEOF
21032 #define HAVE_FINITE 1
21033 _ACEOF
21034
21035 fi
21036 done
21037
21038   else
21039
21040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21041 $as_echo_n "checking for _finite declaration... " >&6; }
21042   if test x${glibcxx_cv_func__finite_use+set} != xset; then
21043     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21044   $as_echo_n "(cached) " >&6
21045 else
21046
21047
21048       ac_ext=cpp
21049 ac_cpp='$CXXCPP $CPPFLAGS'
21050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21053
21054       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21055 /* end confdefs.h.  */
21056 #include <math.h>
21057                       #ifdef HAVE_IEEEFP_H
21058                       #include <ieeefp.h>
21059                       #endif
21060
21061 int
21062 main ()
21063 {
21064  _finite(0);
21065   ;
21066   return 0;
21067 }
21068 _ACEOF
21069 if ac_fn_cxx_try_compile "$LINENO"; then :
21070   glibcxx_cv_func__finite_use=yes
21071 else
21072   glibcxx_cv_func__finite_use=no
21073 fi
21074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21075       ac_ext=c
21076 ac_cpp='$CPP $CPPFLAGS'
21077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21080
21081
21082 fi
21083
21084   fi
21085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21086 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21087
21088     if test x$glibcxx_cv_func__finite_use = x"yes"; then
21089       for ac_func in _finite
21090 do :
21091   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21092 if test "x$ac_cv_func__finite" = x""yes; then :
21093   cat >>confdefs.h <<_ACEOF
21094 #define HAVE__FINITE 1
21095 _ACEOF
21096
21097 fi
21098 done
21099
21100     fi
21101   fi
21102
21103
21104
21105
21106
21107   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21108 $as_echo_n "checking for sincos declaration... " >&6; }
21109   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21110     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21111   $as_echo_n "(cached) " >&6
21112 else
21113
21114
21115       ac_ext=cpp
21116 ac_cpp='$CXXCPP $CPPFLAGS'
21117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21120
21121       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21122 /* end confdefs.h.  */
21123 #include <math.h>
21124 int
21125 main ()
21126 {
21127  sincos(0, 0, 0);
21128   ;
21129   return 0;
21130 }
21131 _ACEOF
21132 if ac_fn_cxx_try_compile "$LINENO"; then :
21133   glibcxx_cv_func_sincos_use=yes
21134 else
21135   glibcxx_cv_func_sincos_use=no
21136 fi
21137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21138       ac_ext=c
21139 ac_cpp='$CPP $CPPFLAGS'
21140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21143
21144
21145 fi
21146
21147   fi
21148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21149 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21150
21151   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21152     for ac_func in sincos
21153 do :
21154   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21155 if test "x$ac_cv_func_sincos" = x""yes; then :
21156   cat >>confdefs.h <<_ACEOF
21157 #define HAVE_SINCOS 1
21158 _ACEOF
21159
21160 fi
21161 done
21162
21163   else
21164
21165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21166 $as_echo_n "checking for _sincos declaration... " >&6; }
21167   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21168     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21169   $as_echo_n "(cached) " >&6
21170 else
21171
21172
21173       ac_ext=cpp
21174 ac_cpp='$CXXCPP $CPPFLAGS'
21175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21178
21179       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21180 /* end confdefs.h.  */
21181 #include <math.h>
21182 int
21183 main ()
21184 {
21185  _sincos(0, 0, 0);
21186   ;
21187   return 0;
21188 }
21189 _ACEOF
21190 if ac_fn_cxx_try_compile "$LINENO"; then :
21191   glibcxx_cv_func__sincos_use=yes
21192 else
21193   glibcxx_cv_func__sincos_use=no
21194 fi
21195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21196       ac_ext=c
21197 ac_cpp='$CPP $CPPFLAGS'
21198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21201
21202
21203 fi
21204
21205   fi
21206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21207 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21208
21209     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21210       for ac_func in _sincos
21211 do :
21212   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21213 if test "x$ac_cv_func__sincos" = x""yes; then :
21214   cat >>confdefs.h <<_ACEOF
21215 #define HAVE__SINCOS 1
21216 _ACEOF
21217
21218 fi
21219 done
21220
21221     fi
21222   fi
21223
21224
21225
21226
21227
21228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21229 $as_echo_n "checking for fpclass declaration... " >&6; }
21230   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21231     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21232   $as_echo_n "(cached) " >&6
21233 else
21234
21235
21236       ac_ext=cpp
21237 ac_cpp='$CXXCPP $CPPFLAGS'
21238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21241
21242       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21243 /* end confdefs.h.  */
21244 #include <math.h>
21245                       #ifdef HAVE_IEEEFP_H
21246                       #include <ieeefp.h>
21247                       #endif
21248
21249 int
21250 main ()
21251 {
21252  fpclass(0);
21253   ;
21254   return 0;
21255 }
21256 _ACEOF
21257 if ac_fn_cxx_try_compile "$LINENO"; then :
21258   glibcxx_cv_func_fpclass_use=yes
21259 else
21260   glibcxx_cv_func_fpclass_use=no
21261 fi
21262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21263       ac_ext=c
21264 ac_cpp='$CPP $CPPFLAGS'
21265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21268
21269
21270 fi
21271
21272   fi
21273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21274 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21275
21276   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21277     for ac_func in fpclass
21278 do :
21279   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21280 if test "x$ac_cv_func_fpclass" = x""yes; then :
21281   cat >>confdefs.h <<_ACEOF
21282 #define HAVE_FPCLASS 1
21283 _ACEOF
21284
21285 fi
21286 done
21287
21288   else
21289
21290   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21291 $as_echo_n "checking for _fpclass declaration... " >&6; }
21292   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21293     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21294   $as_echo_n "(cached) " >&6
21295 else
21296
21297
21298       ac_ext=cpp
21299 ac_cpp='$CXXCPP $CPPFLAGS'
21300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21303
21304       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21305 /* end confdefs.h.  */
21306 #include <math.h>
21307                       #ifdef HAVE_IEEEFP_H
21308                       #include <ieeefp.h>
21309                       #endif
21310
21311 int
21312 main ()
21313 {
21314  _fpclass(0);
21315   ;
21316   return 0;
21317 }
21318 _ACEOF
21319 if ac_fn_cxx_try_compile "$LINENO"; then :
21320   glibcxx_cv_func__fpclass_use=yes
21321 else
21322   glibcxx_cv_func__fpclass_use=no
21323 fi
21324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21325       ac_ext=c
21326 ac_cpp='$CPP $CPPFLAGS'
21327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21330
21331
21332 fi
21333
21334   fi
21335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21336 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21337
21338     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21339       for ac_func in _fpclass
21340 do :
21341   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21342 if test "x$ac_cv_func__fpclass" = x""yes; then :
21343   cat >>confdefs.h <<_ACEOF
21344 #define HAVE__FPCLASS 1
21345 _ACEOF
21346
21347 fi
21348 done
21349
21350     fi
21351   fi
21352
21353
21354
21355
21356
21357   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21358 $as_echo_n "checking for qfpclass declaration... " >&6; }
21359   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21360     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21361   $as_echo_n "(cached) " >&6
21362 else
21363
21364
21365       ac_ext=cpp
21366 ac_cpp='$CXXCPP $CPPFLAGS'
21367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21370
21371       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21372 /* end confdefs.h.  */
21373 #include <math.h>
21374                       #ifdef HAVE_IEEEFP_H
21375                       #include <ieeefp.h>
21376                       #endif
21377
21378 int
21379 main ()
21380 {
21381  qfpclass(0);
21382   ;
21383   return 0;
21384 }
21385 _ACEOF
21386 if ac_fn_cxx_try_compile "$LINENO"; then :
21387   glibcxx_cv_func_qfpclass_use=yes
21388 else
21389   glibcxx_cv_func_qfpclass_use=no
21390 fi
21391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21392       ac_ext=c
21393 ac_cpp='$CPP $CPPFLAGS'
21394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21397
21398
21399 fi
21400
21401   fi
21402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21403 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21404
21405   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21406     for ac_func in qfpclass
21407 do :
21408   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21409 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21410   cat >>confdefs.h <<_ACEOF
21411 #define HAVE_QFPCLASS 1
21412 _ACEOF
21413
21414 fi
21415 done
21416
21417   else
21418
21419   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21420 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21421   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21422     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21423   $as_echo_n "(cached) " >&6
21424 else
21425
21426
21427       ac_ext=cpp
21428 ac_cpp='$CXXCPP $CPPFLAGS'
21429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21432
21433       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21434 /* end confdefs.h.  */
21435 #include <math.h>
21436                       #ifdef HAVE_IEEEFP_H
21437                       #include <ieeefp.h>
21438                       #endif
21439
21440 int
21441 main ()
21442 {
21443  _qfpclass(0);
21444   ;
21445   return 0;
21446 }
21447 _ACEOF
21448 if ac_fn_cxx_try_compile "$LINENO"; then :
21449   glibcxx_cv_func__qfpclass_use=yes
21450 else
21451   glibcxx_cv_func__qfpclass_use=no
21452 fi
21453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21454       ac_ext=c
21455 ac_cpp='$CPP $CPPFLAGS'
21456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21459
21460
21461 fi
21462
21463   fi
21464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21465 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21466
21467     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21468       for ac_func in _qfpclass
21469 do :
21470   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21471 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21472   cat >>confdefs.h <<_ACEOF
21473 #define HAVE__QFPCLASS 1
21474 _ACEOF
21475
21476 fi
21477 done
21478
21479     fi
21480   fi
21481
21482
21483
21484
21485
21486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21487 $as_echo_n "checking for hypot declaration... " >&6; }
21488   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21489     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21490   $as_echo_n "(cached) " >&6
21491 else
21492
21493
21494       ac_ext=cpp
21495 ac_cpp='$CXXCPP $CPPFLAGS'
21496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21499
21500       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21501 /* end confdefs.h.  */
21502 #include <math.h>
21503 int
21504 main ()
21505 {
21506  hypot(0, 0);
21507   ;
21508   return 0;
21509 }
21510 _ACEOF
21511 if ac_fn_cxx_try_compile "$LINENO"; then :
21512   glibcxx_cv_func_hypot_use=yes
21513 else
21514   glibcxx_cv_func_hypot_use=no
21515 fi
21516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21517       ac_ext=c
21518 ac_cpp='$CPP $CPPFLAGS'
21519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21522
21523
21524 fi
21525
21526   fi
21527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21528 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21529
21530   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21531     for ac_func in hypot
21532 do :
21533   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21534 if test "x$ac_cv_func_hypot" = x""yes; then :
21535   cat >>confdefs.h <<_ACEOF
21536 #define HAVE_HYPOT 1
21537 _ACEOF
21538
21539 fi
21540 done
21541
21542   else
21543
21544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21545 $as_echo_n "checking for _hypot declaration... " >&6; }
21546   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21547     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21548   $as_echo_n "(cached) " >&6
21549 else
21550
21551
21552       ac_ext=cpp
21553 ac_cpp='$CXXCPP $CPPFLAGS'
21554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21557
21558       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21559 /* end confdefs.h.  */
21560 #include <math.h>
21561 int
21562 main ()
21563 {
21564  _hypot(0, 0);
21565   ;
21566   return 0;
21567 }
21568 _ACEOF
21569 if ac_fn_cxx_try_compile "$LINENO"; then :
21570   glibcxx_cv_func__hypot_use=yes
21571 else
21572   glibcxx_cv_func__hypot_use=no
21573 fi
21574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21575       ac_ext=c
21576 ac_cpp='$CPP $CPPFLAGS'
21577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21580
21581
21582 fi
21583
21584   fi
21585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21586 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21587
21588     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21589       for ac_func in _hypot
21590 do :
21591   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21592 if test "x$ac_cv_func__hypot" = x""yes; then :
21593   cat >>confdefs.h <<_ACEOF
21594 #define HAVE__HYPOT 1
21595 _ACEOF
21596
21597 fi
21598 done
21599
21600     fi
21601   fi
21602
21603
21604
21605
21606
21607     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21608 $as_echo_n "checking for float trig functions... " >&6; }
21609   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21610   $as_echo_n "(cached) " >&6
21611 else
21612
21613
21614     ac_ext=cpp
21615 ac_cpp='$CXXCPP $CPPFLAGS'
21616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21619
21620     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21621 /* end confdefs.h.  */
21622 #include <math.h>
21623 int
21624 main ()
21625 {
21626 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21627   ;
21628   return 0;
21629 }
21630 _ACEOF
21631 if ac_fn_cxx_try_compile "$LINENO"; then :
21632   glibcxx_cv_func_float_trig_use=yes
21633 else
21634   glibcxx_cv_func_float_trig_use=no
21635 fi
21636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21637     ac_ext=c
21638 ac_cpp='$CPP $CPPFLAGS'
21639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21642
21643 fi
21644
21645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21646 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21647   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21648     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21649 do :
21650   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21651 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21652 eval as_val=\$$as_ac_var
21653    if test "x$as_val" = x""yes; then :
21654   cat >>confdefs.h <<_ACEOF
21655 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21656 _ACEOF
21657
21658 fi
21659 done
21660
21661   else
21662     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21663 $as_echo_n "checking for _float trig functions... " >&6; }
21664     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21665   $as_echo_n "(cached) " >&6
21666 else
21667
21668
21669       ac_ext=cpp
21670 ac_cpp='$CXXCPP $CPPFLAGS'
21671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21674
21675       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21676 /* end confdefs.h.  */
21677 #include <math.h>
21678 int
21679 main ()
21680 {
21681 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21682   ;
21683   return 0;
21684 }
21685 _ACEOF
21686 if ac_fn_cxx_try_compile "$LINENO"; then :
21687   glibcxx_cv_func__float_trig_use=yes
21688 else
21689   glibcxx_cv_func__float_trig_use=no
21690 fi
21691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21692       ac_ext=c
21693 ac_cpp='$CPP $CPPFLAGS'
21694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21697
21698 fi
21699
21700     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21701 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21702     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21703       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21704 do :
21705   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21706 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21707 eval as_val=\$$as_ac_var
21708    if test "x$as_val" = x""yes; then :
21709   cat >>confdefs.h <<_ACEOF
21710 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21711 _ACEOF
21712
21713 fi
21714 done
21715
21716     fi
21717   fi
21718
21719
21720
21721
21722
21723     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21724 $as_echo_n "checking for float round functions... " >&6; }
21725   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21726   $as_echo_n "(cached) " >&6
21727 else
21728
21729
21730     ac_ext=cpp
21731 ac_cpp='$CXXCPP $CPPFLAGS'
21732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21735
21736     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21737 /* end confdefs.h.  */
21738 #include <math.h>
21739 int
21740 main ()
21741 {
21742 ceilf (0); floorf (0);
21743   ;
21744   return 0;
21745 }
21746 _ACEOF
21747 if ac_fn_cxx_try_compile "$LINENO"; then :
21748   glibcxx_cv_func_float_round_use=yes
21749 else
21750   glibcxx_cv_func_float_round_use=no
21751 fi
21752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21753     ac_ext=c
21754 ac_cpp='$CPP $CPPFLAGS'
21755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21758
21759 fi
21760
21761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21762 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21763   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21764     for ac_func in ceilf floorf
21765 do :
21766   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21767 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21768 eval as_val=\$$as_ac_var
21769    if test "x$as_val" = x""yes; then :
21770   cat >>confdefs.h <<_ACEOF
21771 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21772 _ACEOF
21773
21774 fi
21775 done
21776
21777   else
21778     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21779 $as_echo_n "checking for _float round functions... " >&6; }
21780     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21781   $as_echo_n "(cached) " >&6
21782 else
21783
21784
21785       ac_ext=cpp
21786 ac_cpp='$CXXCPP $CPPFLAGS'
21787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21790
21791       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21792 /* end confdefs.h.  */
21793 #include <math.h>
21794 int
21795 main ()
21796 {
21797 _ceilf (0); _floorf (0);
21798   ;
21799   return 0;
21800 }
21801 _ACEOF
21802 if ac_fn_cxx_try_compile "$LINENO"; then :
21803   glibcxx_cv_func__float_round_use=yes
21804 else
21805   glibcxx_cv_func__float_round_use=no
21806 fi
21807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21808       ac_ext=c
21809 ac_cpp='$CPP $CPPFLAGS'
21810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21813
21814 fi
21815
21816     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21817 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21818     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21819       for ac_func in _ceilf _floorf
21820 do :
21821   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21822 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21823 eval as_val=\$$as_ac_var
21824    if test "x$as_val" = x""yes; then :
21825   cat >>confdefs.h <<_ACEOF
21826 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21827 _ACEOF
21828
21829 fi
21830 done
21831
21832     fi
21833   fi
21834
21835
21836
21837
21838
21839
21840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21841 $as_echo_n "checking for expf declaration... " >&6; }
21842   if test x${glibcxx_cv_func_expf_use+set} != xset; then
21843     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21844   $as_echo_n "(cached) " >&6
21845 else
21846
21847
21848       ac_ext=cpp
21849 ac_cpp='$CXXCPP $CPPFLAGS'
21850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21853
21854       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21855 /* end confdefs.h.  */
21856 #include <math.h>
21857                       #ifdef HAVE_IEEEFP_H
21858                       #include <ieeefp.h>
21859                       #endif
21860
21861 int
21862 main ()
21863 {
21864  expf(0);
21865   ;
21866   return 0;
21867 }
21868 _ACEOF
21869 if ac_fn_cxx_try_compile "$LINENO"; then :
21870   glibcxx_cv_func_expf_use=yes
21871 else
21872   glibcxx_cv_func_expf_use=no
21873 fi
21874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21875       ac_ext=c
21876 ac_cpp='$CPP $CPPFLAGS'
21877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21880
21881
21882 fi
21883
21884   fi
21885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21886 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21887
21888   if test x$glibcxx_cv_func_expf_use = x"yes"; then
21889     for ac_func in expf
21890 do :
21891   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21892 if test "x$ac_cv_func_expf" = x""yes; then :
21893   cat >>confdefs.h <<_ACEOF
21894 #define HAVE_EXPF 1
21895 _ACEOF
21896
21897 fi
21898 done
21899
21900   else
21901
21902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21903 $as_echo_n "checking for _expf declaration... " >&6; }
21904   if test x${glibcxx_cv_func__expf_use+set} != xset; then
21905     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21906   $as_echo_n "(cached) " >&6
21907 else
21908
21909
21910       ac_ext=cpp
21911 ac_cpp='$CXXCPP $CPPFLAGS'
21912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21915
21916       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21917 /* end confdefs.h.  */
21918 #include <math.h>
21919                       #ifdef HAVE_IEEEFP_H
21920                       #include <ieeefp.h>
21921                       #endif
21922
21923 int
21924 main ()
21925 {
21926  _expf(0);
21927   ;
21928   return 0;
21929 }
21930 _ACEOF
21931 if ac_fn_cxx_try_compile "$LINENO"; then :
21932   glibcxx_cv_func__expf_use=yes
21933 else
21934   glibcxx_cv_func__expf_use=no
21935 fi
21936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21937       ac_ext=c
21938 ac_cpp='$CPP $CPPFLAGS'
21939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21942
21943
21944 fi
21945
21946   fi
21947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21948 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21949
21950     if test x$glibcxx_cv_func__expf_use = x"yes"; then
21951       for ac_func in _expf
21952 do :
21953   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21954 if test "x$ac_cv_func__expf" = x""yes; then :
21955   cat >>confdefs.h <<_ACEOF
21956 #define HAVE__EXPF 1
21957 _ACEOF
21958
21959 fi
21960 done
21961
21962     fi
21963   fi
21964
21965
21966
21967
21968
21969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21970 $as_echo_n "checking for isnanf declaration... " >&6; }
21971   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21972     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21973   $as_echo_n "(cached) " >&6
21974 else
21975
21976
21977       ac_ext=cpp
21978 ac_cpp='$CXXCPP $CPPFLAGS'
21979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21982
21983       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21984 /* end confdefs.h.  */
21985 #include <math.h>
21986                       #ifdef HAVE_IEEEFP_H
21987                       #include <ieeefp.h>
21988                       #endif
21989
21990 int
21991 main ()
21992 {
21993  isnanf(0);
21994   ;
21995   return 0;
21996 }
21997 _ACEOF
21998 if ac_fn_cxx_try_compile "$LINENO"; then :
21999   glibcxx_cv_func_isnanf_use=yes
22000 else
22001   glibcxx_cv_func_isnanf_use=no
22002 fi
22003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22004       ac_ext=c
22005 ac_cpp='$CPP $CPPFLAGS'
22006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22009
22010
22011 fi
22012
22013   fi
22014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22015 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22016
22017   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22018     for ac_func in isnanf
22019 do :
22020   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22021 if test "x$ac_cv_func_isnanf" = x""yes; then :
22022   cat >>confdefs.h <<_ACEOF
22023 #define HAVE_ISNANF 1
22024 _ACEOF
22025
22026 fi
22027 done
22028
22029   else
22030
22031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22032 $as_echo_n "checking for _isnanf declaration... " >&6; }
22033   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22034     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22035   $as_echo_n "(cached) " >&6
22036 else
22037
22038
22039       ac_ext=cpp
22040 ac_cpp='$CXXCPP $CPPFLAGS'
22041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22044
22045       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22046 /* end confdefs.h.  */
22047 #include <math.h>
22048                       #ifdef HAVE_IEEEFP_H
22049                       #include <ieeefp.h>
22050                       #endif
22051
22052 int
22053 main ()
22054 {
22055  _isnanf(0);
22056   ;
22057   return 0;
22058 }
22059 _ACEOF
22060 if ac_fn_cxx_try_compile "$LINENO"; then :
22061   glibcxx_cv_func__isnanf_use=yes
22062 else
22063   glibcxx_cv_func__isnanf_use=no
22064 fi
22065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22066       ac_ext=c
22067 ac_cpp='$CPP $CPPFLAGS'
22068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22071
22072
22073 fi
22074
22075   fi
22076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22077 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22078
22079     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22080       for ac_func in _isnanf
22081 do :
22082   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22083 if test "x$ac_cv_func__isnanf" = x""yes; then :
22084   cat >>confdefs.h <<_ACEOF
22085 #define HAVE__ISNANF 1
22086 _ACEOF
22087
22088 fi
22089 done
22090
22091     fi
22092   fi
22093
22094
22095
22096
22097
22098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22099 $as_echo_n "checking for isinff declaration... " >&6; }
22100   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22101     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22102   $as_echo_n "(cached) " >&6
22103 else
22104
22105
22106       ac_ext=cpp
22107 ac_cpp='$CXXCPP $CPPFLAGS'
22108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22111
22112       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22113 /* end confdefs.h.  */
22114 #include <math.h>
22115                       #ifdef HAVE_IEEEFP_H
22116                       #include <ieeefp.h>
22117                       #endif
22118
22119 int
22120 main ()
22121 {
22122  isinff(0);
22123   ;
22124   return 0;
22125 }
22126 _ACEOF
22127 if ac_fn_cxx_try_compile "$LINENO"; then :
22128   glibcxx_cv_func_isinff_use=yes
22129 else
22130   glibcxx_cv_func_isinff_use=no
22131 fi
22132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22133       ac_ext=c
22134 ac_cpp='$CPP $CPPFLAGS'
22135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22138
22139
22140 fi
22141
22142   fi
22143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22144 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22145
22146   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22147     for ac_func in isinff
22148 do :
22149   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22150 if test "x$ac_cv_func_isinff" = x""yes; then :
22151   cat >>confdefs.h <<_ACEOF
22152 #define HAVE_ISINFF 1
22153 _ACEOF
22154
22155 fi
22156 done
22157
22158   else
22159
22160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22161 $as_echo_n "checking for _isinff declaration... " >&6; }
22162   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22163     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22164   $as_echo_n "(cached) " >&6
22165 else
22166
22167
22168       ac_ext=cpp
22169 ac_cpp='$CXXCPP $CPPFLAGS'
22170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22173
22174       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22175 /* end confdefs.h.  */
22176 #include <math.h>
22177                       #ifdef HAVE_IEEEFP_H
22178                       #include <ieeefp.h>
22179                       #endif
22180
22181 int
22182 main ()
22183 {
22184  _isinff(0);
22185   ;
22186   return 0;
22187 }
22188 _ACEOF
22189 if ac_fn_cxx_try_compile "$LINENO"; then :
22190   glibcxx_cv_func__isinff_use=yes
22191 else
22192   glibcxx_cv_func__isinff_use=no
22193 fi
22194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22195       ac_ext=c
22196 ac_cpp='$CPP $CPPFLAGS'
22197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22200
22201
22202 fi
22203
22204   fi
22205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22206 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22207
22208     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22209       for ac_func in _isinff
22210 do :
22211   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22212 if test "x$ac_cv_func__isinff" = x""yes; then :
22213   cat >>confdefs.h <<_ACEOF
22214 #define HAVE__ISINFF 1
22215 _ACEOF
22216
22217 fi
22218 done
22219
22220     fi
22221   fi
22222
22223
22224
22225
22226
22227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22228 $as_echo_n "checking for atan2f declaration... " >&6; }
22229   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22230     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22231   $as_echo_n "(cached) " >&6
22232 else
22233
22234
22235       ac_ext=cpp
22236 ac_cpp='$CXXCPP $CPPFLAGS'
22237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22240
22241       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22242 /* end confdefs.h.  */
22243 #include <math.h>
22244 int
22245 main ()
22246 {
22247  atan2f(0, 0);
22248   ;
22249   return 0;
22250 }
22251 _ACEOF
22252 if ac_fn_cxx_try_compile "$LINENO"; then :
22253   glibcxx_cv_func_atan2f_use=yes
22254 else
22255   glibcxx_cv_func_atan2f_use=no
22256 fi
22257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22258       ac_ext=c
22259 ac_cpp='$CPP $CPPFLAGS'
22260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22263
22264
22265 fi
22266
22267   fi
22268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22269 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22270
22271   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22272     for ac_func in atan2f
22273 do :
22274   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22275 if test "x$ac_cv_func_atan2f" = x""yes; then :
22276   cat >>confdefs.h <<_ACEOF
22277 #define HAVE_ATAN2F 1
22278 _ACEOF
22279
22280 fi
22281 done
22282
22283   else
22284
22285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22286 $as_echo_n "checking for _atan2f declaration... " >&6; }
22287   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22288     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22289   $as_echo_n "(cached) " >&6
22290 else
22291
22292
22293       ac_ext=cpp
22294 ac_cpp='$CXXCPP $CPPFLAGS'
22295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22298
22299       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22300 /* end confdefs.h.  */
22301 #include <math.h>
22302 int
22303 main ()
22304 {
22305  _atan2f(0, 0);
22306   ;
22307   return 0;
22308 }
22309 _ACEOF
22310 if ac_fn_cxx_try_compile "$LINENO"; then :
22311   glibcxx_cv_func__atan2f_use=yes
22312 else
22313   glibcxx_cv_func__atan2f_use=no
22314 fi
22315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22316       ac_ext=c
22317 ac_cpp='$CPP $CPPFLAGS'
22318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22321
22322
22323 fi
22324
22325   fi
22326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22327 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22328
22329     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22330       for ac_func in _atan2f
22331 do :
22332   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22333 if test "x$ac_cv_func__atan2f" = x""yes; then :
22334   cat >>confdefs.h <<_ACEOF
22335 #define HAVE__ATAN2F 1
22336 _ACEOF
22337
22338 fi
22339 done
22340
22341     fi
22342   fi
22343
22344
22345
22346
22347
22348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22349 $as_echo_n "checking for fabsf declaration... " >&6; }
22350   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22351     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22352   $as_echo_n "(cached) " >&6
22353 else
22354
22355
22356       ac_ext=cpp
22357 ac_cpp='$CXXCPP $CPPFLAGS'
22358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22361
22362       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22363 /* end confdefs.h.  */
22364 #include <math.h>
22365                       #ifdef HAVE_IEEEFP_H
22366                       #include <ieeefp.h>
22367                       #endif
22368
22369 int
22370 main ()
22371 {
22372  fabsf(0);
22373   ;
22374   return 0;
22375 }
22376 _ACEOF
22377 if ac_fn_cxx_try_compile "$LINENO"; then :
22378   glibcxx_cv_func_fabsf_use=yes
22379 else
22380   glibcxx_cv_func_fabsf_use=no
22381 fi
22382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22383       ac_ext=c
22384 ac_cpp='$CPP $CPPFLAGS'
22385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22388
22389
22390 fi
22391
22392   fi
22393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22394 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22395
22396   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22397     for ac_func in fabsf
22398 do :
22399   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22400 if test "x$ac_cv_func_fabsf" = x""yes; then :
22401   cat >>confdefs.h <<_ACEOF
22402 #define HAVE_FABSF 1
22403 _ACEOF
22404
22405 fi
22406 done
22407
22408   else
22409
22410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22411 $as_echo_n "checking for _fabsf declaration... " >&6; }
22412   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22413     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22414   $as_echo_n "(cached) " >&6
22415 else
22416
22417
22418       ac_ext=cpp
22419 ac_cpp='$CXXCPP $CPPFLAGS'
22420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22423
22424       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22425 /* end confdefs.h.  */
22426 #include <math.h>
22427                       #ifdef HAVE_IEEEFP_H
22428                       #include <ieeefp.h>
22429                       #endif
22430
22431 int
22432 main ()
22433 {
22434  _fabsf(0);
22435   ;
22436   return 0;
22437 }
22438 _ACEOF
22439 if ac_fn_cxx_try_compile "$LINENO"; then :
22440   glibcxx_cv_func__fabsf_use=yes
22441 else
22442   glibcxx_cv_func__fabsf_use=no
22443 fi
22444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22445       ac_ext=c
22446 ac_cpp='$CPP $CPPFLAGS'
22447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22450
22451
22452 fi
22453
22454   fi
22455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22456 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22457
22458     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22459       for ac_func in _fabsf
22460 do :
22461   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22462 if test "x$ac_cv_func__fabsf" = x""yes; then :
22463   cat >>confdefs.h <<_ACEOF
22464 #define HAVE__FABSF 1
22465 _ACEOF
22466
22467 fi
22468 done
22469
22470     fi
22471   fi
22472
22473
22474
22475
22476
22477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22478 $as_echo_n "checking for fmodf declaration... " >&6; }
22479   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22480     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22481   $as_echo_n "(cached) " >&6
22482 else
22483
22484
22485       ac_ext=cpp
22486 ac_cpp='$CXXCPP $CPPFLAGS'
22487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22490
22491       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22492 /* end confdefs.h.  */
22493 #include <math.h>
22494 int
22495 main ()
22496 {
22497  fmodf(0, 0);
22498   ;
22499   return 0;
22500 }
22501 _ACEOF
22502 if ac_fn_cxx_try_compile "$LINENO"; then :
22503   glibcxx_cv_func_fmodf_use=yes
22504 else
22505   glibcxx_cv_func_fmodf_use=no
22506 fi
22507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22508       ac_ext=c
22509 ac_cpp='$CPP $CPPFLAGS'
22510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22513
22514
22515 fi
22516
22517   fi
22518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22519 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22520
22521   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22522     for ac_func in fmodf
22523 do :
22524   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22525 if test "x$ac_cv_func_fmodf" = x""yes; then :
22526   cat >>confdefs.h <<_ACEOF
22527 #define HAVE_FMODF 1
22528 _ACEOF
22529
22530 fi
22531 done
22532
22533   else
22534
22535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22536 $as_echo_n "checking for _fmodf declaration... " >&6; }
22537   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22538     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22539   $as_echo_n "(cached) " >&6
22540 else
22541
22542
22543       ac_ext=cpp
22544 ac_cpp='$CXXCPP $CPPFLAGS'
22545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22548
22549       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22550 /* end confdefs.h.  */
22551 #include <math.h>
22552 int
22553 main ()
22554 {
22555  _fmodf(0, 0);
22556   ;
22557   return 0;
22558 }
22559 _ACEOF
22560 if ac_fn_cxx_try_compile "$LINENO"; then :
22561   glibcxx_cv_func__fmodf_use=yes
22562 else
22563   glibcxx_cv_func__fmodf_use=no
22564 fi
22565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22566       ac_ext=c
22567 ac_cpp='$CPP $CPPFLAGS'
22568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22571
22572
22573 fi
22574
22575   fi
22576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22577 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22578
22579     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22580       for ac_func in _fmodf
22581 do :
22582   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22583 if test "x$ac_cv_func__fmodf" = x""yes; then :
22584   cat >>confdefs.h <<_ACEOF
22585 #define HAVE__FMODF 1
22586 _ACEOF
22587
22588 fi
22589 done
22590
22591     fi
22592   fi
22593
22594
22595
22596
22597
22598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22599 $as_echo_n "checking for frexpf declaration... " >&6; }
22600   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22601     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22602   $as_echo_n "(cached) " >&6
22603 else
22604
22605
22606       ac_ext=cpp
22607 ac_cpp='$CXXCPP $CPPFLAGS'
22608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22611
22612       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22613 /* end confdefs.h.  */
22614 #include <math.h>
22615 int
22616 main ()
22617 {
22618  frexpf(0, 0);
22619   ;
22620   return 0;
22621 }
22622 _ACEOF
22623 if ac_fn_cxx_try_compile "$LINENO"; then :
22624   glibcxx_cv_func_frexpf_use=yes
22625 else
22626   glibcxx_cv_func_frexpf_use=no
22627 fi
22628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22629       ac_ext=c
22630 ac_cpp='$CPP $CPPFLAGS'
22631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22634
22635
22636 fi
22637
22638   fi
22639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22640 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22641
22642   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22643     for ac_func in frexpf
22644 do :
22645   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22646 if test "x$ac_cv_func_frexpf" = x""yes; then :
22647   cat >>confdefs.h <<_ACEOF
22648 #define HAVE_FREXPF 1
22649 _ACEOF
22650
22651 fi
22652 done
22653
22654   else
22655
22656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22657 $as_echo_n "checking for _frexpf declaration... " >&6; }
22658   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22659     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22660   $as_echo_n "(cached) " >&6
22661 else
22662
22663
22664       ac_ext=cpp
22665 ac_cpp='$CXXCPP $CPPFLAGS'
22666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22669
22670       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22671 /* end confdefs.h.  */
22672 #include <math.h>
22673 int
22674 main ()
22675 {
22676  _frexpf(0, 0);
22677   ;
22678   return 0;
22679 }
22680 _ACEOF
22681 if ac_fn_cxx_try_compile "$LINENO"; then :
22682   glibcxx_cv_func__frexpf_use=yes
22683 else
22684   glibcxx_cv_func__frexpf_use=no
22685 fi
22686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22687       ac_ext=c
22688 ac_cpp='$CPP $CPPFLAGS'
22689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22692
22693
22694 fi
22695
22696   fi
22697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22698 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22699
22700     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22701       for ac_func in _frexpf
22702 do :
22703   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22704 if test "x$ac_cv_func__frexpf" = x""yes; then :
22705   cat >>confdefs.h <<_ACEOF
22706 #define HAVE__FREXPF 1
22707 _ACEOF
22708
22709 fi
22710 done
22711
22712     fi
22713   fi
22714
22715
22716
22717
22718
22719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22720 $as_echo_n "checking for hypotf declaration... " >&6; }
22721   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22722     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22723   $as_echo_n "(cached) " >&6
22724 else
22725
22726
22727       ac_ext=cpp
22728 ac_cpp='$CXXCPP $CPPFLAGS'
22729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22732
22733       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22734 /* end confdefs.h.  */
22735 #include <math.h>
22736 int
22737 main ()
22738 {
22739  hypotf(0, 0);
22740   ;
22741   return 0;
22742 }
22743 _ACEOF
22744 if ac_fn_cxx_try_compile "$LINENO"; then :
22745   glibcxx_cv_func_hypotf_use=yes
22746 else
22747   glibcxx_cv_func_hypotf_use=no
22748 fi
22749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22750       ac_ext=c
22751 ac_cpp='$CPP $CPPFLAGS'
22752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22755
22756
22757 fi
22758
22759   fi
22760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22761 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22762
22763   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22764     for ac_func in hypotf
22765 do :
22766   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22767 if test "x$ac_cv_func_hypotf" = x""yes; then :
22768   cat >>confdefs.h <<_ACEOF
22769 #define HAVE_HYPOTF 1
22770 _ACEOF
22771
22772 fi
22773 done
22774
22775   else
22776
22777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22778 $as_echo_n "checking for _hypotf declaration... " >&6; }
22779   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22780     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22781   $as_echo_n "(cached) " >&6
22782 else
22783
22784
22785       ac_ext=cpp
22786 ac_cpp='$CXXCPP $CPPFLAGS'
22787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22790
22791       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22792 /* end confdefs.h.  */
22793 #include <math.h>
22794 int
22795 main ()
22796 {
22797  _hypotf(0, 0);
22798   ;
22799   return 0;
22800 }
22801 _ACEOF
22802 if ac_fn_cxx_try_compile "$LINENO"; then :
22803   glibcxx_cv_func__hypotf_use=yes
22804 else
22805   glibcxx_cv_func__hypotf_use=no
22806 fi
22807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22808       ac_ext=c
22809 ac_cpp='$CPP $CPPFLAGS'
22810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22813
22814
22815 fi
22816
22817   fi
22818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22819 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22820
22821     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22822       for ac_func in _hypotf
22823 do :
22824   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22825 if test "x$ac_cv_func__hypotf" = x""yes; then :
22826   cat >>confdefs.h <<_ACEOF
22827 #define HAVE__HYPOTF 1
22828 _ACEOF
22829
22830 fi
22831 done
22832
22833     fi
22834   fi
22835
22836
22837
22838
22839
22840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22841 $as_echo_n "checking for ldexpf declaration... " >&6; }
22842   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22843     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22844   $as_echo_n "(cached) " >&6
22845 else
22846
22847
22848       ac_ext=cpp
22849 ac_cpp='$CXXCPP $CPPFLAGS'
22850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22853
22854       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22855 /* end confdefs.h.  */
22856 #include <math.h>
22857 int
22858 main ()
22859 {
22860  ldexpf(0, 0);
22861   ;
22862   return 0;
22863 }
22864 _ACEOF
22865 if ac_fn_cxx_try_compile "$LINENO"; then :
22866   glibcxx_cv_func_ldexpf_use=yes
22867 else
22868   glibcxx_cv_func_ldexpf_use=no
22869 fi
22870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22871       ac_ext=c
22872 ac_cpp='$CPP $CPPFLAGS'
22873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22876
22877
22878 fi
22879
22880   fi
22881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22882 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22883
22884   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22885     for ac_func in ldexpf
22886 do :
22887   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22888 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22889   cat >>confdefs.h <<_ACEOF
22890 #define HAVE_LDEXPF 1
22891 _ACEOF
22892
22893 fi
22894 done
22895
22896   else
22897
22898   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22899 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22900   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22901     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22902   $as_echo_n "(cached) " >&6
22903 else
22904
22905
22906       ac_ext=cpp
22907 ac_cpp='$CXXCPP $CPPFLAGS'
22908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22911
22912       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22913 /* end confdefs.h.  */
22914 #include <math.h>
22915 int
22916 main ()
22917 {
22918  _ldexpf(0, 0);
22919   ;
22920   return 0;
22921 }
22922 _ACEOF
22923 if ac_fn_cxx_try_compile "$LINENO"; then :
22924   glibcxx_cv_func__ldexpf_use=yes
22925 else
22926   glibcxx_cv_func__ldexpf_use=no
22927 fi
22928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22929       ac_ext=c
22930 ac_cpp='$CPP $CPPFLAGS'
22931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22934
22935
22936 fi
22937
22938   fi
22939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22940 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22941
22942     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22943       for ac_func in _ldexpf
22944 do :
22945   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22946 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22947   cat >>confdefs.h <<_ACEOF
22948 #define HAVE__LDEXPF 1
22949 _ACEOF
22950
22951 fi
22952 done
22953
22954     fi
22955   fi
22956
22957
22958
22959
22960
22961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22962 $as_echo_n "checking for logf declaration... " >&6; }
22963   if test x${glibcxx_cv_func_logf_use+set} != xset; then
22964     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22965   $as_echo_n "(cached) " >&6
22966 else
22967
22968
22969       ac_ext=cpp
22970 ac_cpp='$CXXCPP $CPPFLAGS'
22971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22974
22975       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22976 /* end confdefs.h.  */
22977 #include <math.h>
22978                       #ifdef HAVE_IEEEFP_H
22979                       #include <ieeefp.h>
22980                       #endif
22981
22982 int
22983 main ()
22984 {
22985  logf(0);
22986   ;
22987   return 0;
22988 }
22989 _ACEOF
22990 if ac_fn_cxx_try_compile "$LINENO"; then :
22991   glibcxx_cv_func_logf_use=yes
22992 else
22993   glibcxx_cv_func_logf_use=no
22994 fi
22995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22996       ac_ext=c
22997 ac_cpp='$CPP $CPPFLAGS'
22998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23001
23002
23003 fi
23004
23005   fi
23006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23007 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23008
23009   if test x$glibcxx_cv_func_logf_use = x"yes"; then
23010     for ac_func in logf
23011 do :
23012   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23013 if test "x$ac_cv_func_logf" = x""yes; then :
23014   cat >>confdefs.h <<_ACEOF
23015 #define HAVE_LOGF 1
23016 _ACEOF
23017
23018 fi
23019 done
23020
23021   else
23022
23023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23024 $as_echo_n "checking for _logf declaration... " >&6; }
23025   if test x${glibcxx_cv_func__logf_use+set} != xset; then
23026     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23027   $as_echo_n "(cached) " >&6
23028 else
23029
23030
23031       ac_ext=cpp
23032 ac_cpp='$CXXCPP $CPPFLAGS'
23033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23036
23037       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23038 /* end confdefs.h.  */
23039 #include <math.h>
23040                       #ifdef HAVE_IEEEFP_H
23041                       #include <ieeefp.h>
23042                       #endif
23043
23044 int
23045 main ()
23046 {
23047  _logf(0);
23048   ;
23049   return 0;
23050 }
23051 _ACEOF
23052 if ac_fn_cxx_try_compile "$LINENO"; then :
23053   glibcxx_cv_func__logf_use=yes
23054 else
23055   glibcxx_cv_func__logf_use=no
23056 fi
23057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23058       ac_ext=c
23059 ac_cpp='$CPP $CPPFLAGS'
23060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23063
23064
23065 fi
23066
23067   fi
23068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23069 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23070
23071     if test x$glibcxx_cv_func__logf_use = x"yes"; then
23072       for ac_func in _logf
23073 do :
23074   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23075 if test "x$ac_cv_func__logf" = x""yes; then :
23076   cat >>confdefs.h <<_ACEOF
23077 #define HAVE__LOGF 1
23078 _ACEOF
23079
23080 fi
23081 done
23082
23083     fi
23084   fi
23085
23086
23087
23088
23089
23090   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23091 $as_echo_n "checking for log10f declaration... " >&6; }
23092   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23093     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23094   $as_echo_n "(cached) " >&6
23095 else
23096
23097
23098       ac_ext=cpp
23099 ac_cpp='$CXXCPP $CPPFLAGS'
23100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23103
23104       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23105 /* end confdefs.h.  */
23106 #include <math.h>
23107                       #ifdef HAVE_IEEEFP_H
23108                       #include <ieeefp.h>
23109                       #endif
23110
23111 int
23112 main ()
23113 {
23114  log10f(0);
23115   ;
23116   return 0;
23117 }
23118 _ACEOF
23119 if ac_fn_cxx_try_compile "$LINENO"; then :
23120   glibcxx_cv_func_log10f_use=yes
23121 else
23122   glibcxx_cv_func_log10f_use=no
23123 fi
23124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23125       ac_ext=c
23126 ac_cpp='$CPP $CPPFLAGS'
23127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23130
23131
23132 fi
23133
23134   fi
23135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23136 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23137
23138   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23139     for ac_func in log10f
23140 do :
23141   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23142 if test "x$ac_cv_func_log10f" = x""yes; then :
23143   cat >>confdefs.h <<_ACEOF
23144 #define HAVE_LOG10F 1
23145 _ACEOF
23146
23147 fi
23148 done
23149
23150   else
23151
23152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23153 $as_echo_n "checking for _log10f declaration... " >&6; }
23154   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23155     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23156   $as_echo_n "(cached) " >&6
23157 else
23158
23159
23160       ac_ext=cpp
23161 ac_cpp='$CXXCPP $CPPFLAGS'
23162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23165
23166       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23167 /* end confdefs.h.  */
23168 #include <math.h>
23169                       #ifdef HAVE_IEEEFP_H
23170                       #include <ieeefp.h>
23171                       #endif
23172
23173 int
23174 main ()
23175 {
23176  _log10f(0);
23177   ;
23178   return 0;
23179 }
23180 _ACEOF
23181 if ac_fn_cxx_try_compile "$LINENO"; then :
23182   glibcxx_cv_func__log10f_use=yes
23183 else
23184   glibcxx_cv_func__log10f_use=no
23185 fi
23186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23187       ac_ext=c
23188 ac_cpp='$CPP $CPPFLAGS'
23189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23192
23193
23194 fi
23195
23196   fi
23197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23198 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23199
23200     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23201       for ac_func in _log10f
23202 do :
23203   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23204 if test "x$ac_cv_func__log10f" = x""yes; then :
23205   cat >>confdefs.h <<_ACEOF
23206 #define HAVE__LOG10F 1
23207 _ACEOF
23208
23209 fi
23210 done
23211
23212     fi
23213   fi
23214
23215
23216
23217
23218
23219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23220 $as_echo_n "checking for modff declaration... " >&6; }
23221   if test x${glibcxx_cv_func_modff_use+set} != xset; then
23222     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23223   $as_echo_n "(cached) " >&6
23224 else
23225
23226
23227       ac_ext=cpp
23228 ac_cpp='$CXXCPP $CPPFLAGS'
23229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23232
23233       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23234 /* end confdefs.h.  */
23235 #include <math.h>
23236 int
23237 main ()
23238 {
23239  modff(0, 0);
23240   ;
23241   return 0;
23242 }
23243 _ACEOF
23244 if ac_fn_cxx_try_compile "$LINENO"; then :
23245   glibcxx_cv_func_modff_use=yes
23246 else
23247   glibcxx_cv_func_modff_use=no
23248 fi
23249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23250       ac_ext=c
23251 ac_cpp='$CPP $CPPFLAGS'
23252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23255
23256
23257 fi
23258
23259   fi
23260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23261 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23262
23263   if test x$glibcxx_cv_func_modff_use = x"yes"; then
23264     for ac_func in modff
23265 do :
23266   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23267 if test "x$ac_cv_func_modff" = x""yes; then :
23268   cat >>confdefs.h <<_ACEOF
23269 #define HAVE_MODFF 1
23270 _ACEOF
23271
23272 fi
23273 done
23274
23275   else
23276
23277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23278 $as_echo_n "checking for _modff declaration... " >&6; }
23279   if test x${glibcxx_cv_func__modff_use+set} != xset; then
23280     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23281   $as_echo_n "(cached) " >&6
23282 else
23283
23284
23285       ac_ext=cpp
23286 ac_cpp='$CXXCPP $CPPFLAGS'
23287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23290
23291       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23292 /* end confdefs.h.  */
23293 #include <math.h>
23294 int
23295 main ()
23296 {
23297  _modff(0, 0);
23298   ;
23299   return 0;
23300 }
23301 _ACEOF
23302 if ac_fn_cxx_try_compile "$LINENO"; then :
23303   glibcxx_cv_func__modff_use=yes
23304 else
23305   glibcxx_cv_func__modff_use=no
23306 fi
23307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23308       ac_ext=c
23309 ac_cpp='$CPP $CPPFLAGS'
23310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23313
23314
23315 fi
23316
23317   fi
23318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23319 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23320
23321     if test x$glibcxx_cv_func__modff_use = x"yes"; then
23322       for ac_func in _modff
23323 do :
23324   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23325 if test "x$ac_cv_func__modff" = x""yes; then :
23326   cat >>confdefs.h <<_ACEOF
23327 #define HAVE__MODFF 1
23328 _ACEOF
23329
23330 fi
23331 done
23332
23333     fi
23334   fi
23335
23336
23337
23338
23339
23340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23341 $as_echo_n "checking for modf declaration... " >&6; }
23342   if test x${glibcxx_cv_func_modf_use+set} != xset; then
23343     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23344   $as_echo_n "(cached) " >&6
23345 else
23346
23347
23348       ac_ext=cpp
23349 ac_cpp='$CXXCPP $CPPFLAGS'
23350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23353
23354       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23355 /* end confdefs.h.  */
23356 #include <math.h>
23357 int
23358 main ()
23359 {
23360  modf(0, 0);
23361   ;
23362   return 0;
23363 }
23364 _ACEOF
23365 if ac_fn_cxx_try_compile "$LINENO"; then :
23366   glibcxx_cv_func_modf_use=yes
23367 else
23368   glibcxx_cv_func_modf_use=no
23369 fi
23370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23371       ac_ext=c
23372 ac_cpp='$CPP $CPPFLAGS'
23373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23376
23377
23378 fi
23379
23380   fi
23381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23382 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23383
23384   if test x$glibcxx_cv_func_modf_use = x"yes"; then
23385     for ac_func in modf
23386 do :
23387   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23388 if test "x$ac_cv_func_modf" = x""yes; then :
23389   cat >>confdefs.h <<_ACEOF
23390 #define HAVE_MODF 1
23391 _ACEOF
23392
23393 fi
23394 done
23395
23396   else
23397
23398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23399 $as_echo_n "checking for _modf declaration... " >&6; }
23400   if test x${glibcxx_cv_func__modf_use+set} != xset; then
23401     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23402   $as_echo_n "(cached) " >&6
23403 else
23404
23405
23406       ac_ext=cpp
23407 ac_cpp='$CXXCPP $CPPFLAGS'
23408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23411
23412       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23413 /* end confdefs.h.  */
23414 #include <math.h>
23415 int
23416 main ()
23417 {
23418  _modf(0, 0);
23419   ;
23420   return 0;
23421 }
23422 _ACEOF
23423 if ac_fn_cxx_try_compile "$LINENO"; then :
23424   glibcxx_cv_func__modf_use=yes
23425 else
23426   glibcxx_cv_func__modf_use=no
23427 fi
23428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23429       ac_ext=c
23430 ac_cpp='$CPP $CPPFLAGS'
23431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23434
23435
23436 fi
23437
23438   fi
23439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23440 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23441
23442     if test x$glibcxx_cv_func__modf_use = x"yes"; then
23443       for ac_func in _modf
23444 do :
23445   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23446 if test "x$ac_cv_func__modf" = x""yes; then :
23447   cat >>confdefs.h <<_ACEOF
23448 #define HAVE__MODF 1
23449 _ACEOF
23450
23451 fi
23452 done
23453
23454     fi
23455   fi
23456
23457
23458
23459
23460
23461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23462 $as_echo_n "checking for powf declaration... " >&6; }
23463   if test x${glibcxx_cv_func_powf_use+set} != xset; then
23464     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23465   $as_echo_n "(cached) " >&6
23466 else
23467
23468
23469       ac_ext=cpp
23470 ac_cpp='$CXXCPP $CPPFLAGS'
23471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23474
23475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23476 /* end confdefs.h.  */
23477 #include <math.h>
23478 int
23479 main ()
23480 {
23481  powf(0, 0);
23482   ;
23483   return 0;
23484 }
23485 _ACEOF
23486 if ac_fn_cxx_try_compile "$LINENO"; then :
23487   glibcxx_cv_func_powf_use=yes
23488 else
23489   glibcxx_cv_func_powf_use=no
23490 fi
23491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23492       ac_ext=c
23493 ac_cpp='$CPP $CPPFLAGS'
23494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23497
23498
23499 fi
23500
23501   fi
23502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23503 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23504
23505   if test x$glibcxx_cv_func_powf_use = x"yes"; then
23506     for ac_func in powf
23507 do :
23508   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23509 if test "x$ac_cv_func_powf" = x""yes; then :
23510   cat >>confdefs.h <<_ACEOF
23511 #define HAVE_POWF 1
23512 _ACEOF
23513
23514 fi
23515 done
23516
23517   else
23518
23519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23520 $as_echo_n "checking for _powf declaration... " >&6; }
23521   if test x${glibcxx_cv_func__powf_use+set} != xset; then
23522     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23523   $as_echo_n "(cached) " >&6
23524 else
23525
23526
23527       ac_ext=cpp
23528 ac_cpp='$CXXCPP $CPPFLAGS'
23529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23532
23533       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23534 /* end confdefs.h.  */
23535 #include <math.h>
23536 int
23537 main ()
23538 {
23539  _powf(0, 0);
23540   ;
23541   return 0;
23542 }
23543 _ACEOF
23544 if ac_fn_cxx_try_compile "$LINENO"; then :
23545   glibcxx_cv_func__powf_use=yes
23546 else
23547   glibcxx_cv_func__powf_use=no
23548 fi
23549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23550       ac_ext=c
23551 ac_cpp='$CPP $CPPFLAGS'
23552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23555
23556
23557 fi
23558
23559   fi
23560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23561 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23562
23563     if test x$glibcxx_cv_func__powf_use = x"yes"; then
23564       for ac_func in _powf
23565 do :
23566   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23567 if test "x$ac_cv_func__powf" = x""yes; then :
23568   cat >>confdefs.h <<_ACEOF
23569 #define HAVE__POWF 1
23570 _ACEOF
23571
23572 fi
23573 done
23574
23575     fi
23576   fi
23577
23578
23579
23580
23581
23582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23583 $as_echo_n "checking for sqrtf declaration... " >&6; }
23584   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23585     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23586   $as_echo_n "(cached) " >&6
23587 else
23588
23589
23590       ac_ext=cpp
23591 ac_cpp='$CXXCPP $CPPFLAGS'
23592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23595
23596       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23597 /* end confdefs.h.  */
23598 #include <math.h>
23599                       #ifdef HAVE_IEEEFP_H
23600                       #include <ieeefp.h>
23601                       #endif
23602
23603 int
23604 main ()
23605 {
23606  sqrtf(0);
23607   ;
23608   return 0;
23609 }
23610 _ACEOF
23611 if ac_fn_cxx_try_compile "$LINENO"; then :
23612   glibcxx_cv_func_sqrtf_use=yes
23613 else
23614   glibcxx_cv_func_sqrtf_use=no
23615 fi
23616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23617       ac_ext=c
23618 ac_cpp='$CPP $CPPFLAGS'
23619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23622
23623
23624 fi
23625
23626   fi
23627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23628 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23629
23630   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23631     for ac_func in sqrtf
23632 do :
23633   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23634 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23635   cat >>confdefs.h <<_ACEOF
23636 #define HAVE_SQRTF 1
23637 _ACEOF
23638
23639 fi
23640 done
23641
23642   else
23643
23644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23645 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23646   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23647     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23648   $as_echo_n "(cached) " >&6
23649 else
23650
23651
23652       ac_ext=cpp
23653 ac_cpp='$CXXCPP $CPPFLAGS'
23654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23657
23658       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23659 /* end confdefs.h.  */
23660 #include <math.h>
23661                       #ifdef HAVE_IEEEFP_H
23662                       #include <ieeefp.h>
23663                       #endif
23664
23665 int
23666 main ()
23667 {
23668  _sqrtf(0);
23669   ;
23670   return 0;
23671 }
23672 _ACEOF
23673 if ac_fn_cxx_try_compile "$LINENO"; then :
23674   glibcxx_cv_func__sqrtf_use=yes
23675 else
23676   glibcxx_cv_func__sqrtf_use=no
23677 fi
23678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23679       ac_ext=c
23680 ac_cpp='$CPP $CPPFLAGS'
23681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23684
23685
23686 fi
23687
23688   fi
23689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23690 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23691
23692     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23693       for ac_func in _sqrtf
23694 do :
23695   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23696 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23697   cat >>confdefs.h <<_ACEOF
23698 #define HAVE__SQRTF 1
23699 _ACEOF
23700
23701 fi
23702 done
23703
23704     fi
23705   fi
23706
23707
23708
23709
23710
23711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23712 $as_echo_n "checking for sincosf declaration... " >&6; }
23713   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23714     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23715   $as_echo_n "(cached) " >&6
23716 else
23717
23718
23719       ac_ext=cpp
23720 ac_cpp='$CXXCPP $CPPFLAGS'
23721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23724
23725       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23726 /* end confdefs.h.  */
23727 #include <math.h>
23728 int
23729 main ()
23730 {
23731  sincosf(0, 0, 0);
23732   ;
23733   return 0;
23734 }
23735 _ACEOF
23736 if ac_fn_cxx_try_compile "$LINENO"; then :
23737   glibcxx_cv_func_sincosf_use=yes
23738 else
23739   glibcxx_cv_func_sincosf_use=no
23740 fi
23741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23742       ac_ext=c
23743 ac_cpp='$CPP $CPPFLAGS'
23744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23747
23748
23749 fi
23750
23751   fi
23752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23753 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23754
23755   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23756     for ac_func in sincosf
23757 do :
23758   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23759 if test "x$ac_cv_func_sincosf" = x""yes; then :
23760   cat >>confdefs.h <<_ACEOF
23761 #define HAVE_SINCOSF 1
23762 _ACEOF
23763
23764 fi
23765 done
23766
23767   else
23768
23769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23770 $as_echo_n "checking for _sincosf declaration... " >&6; }
23771   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23772     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23773   $as_echo_n "(cached) " >&6
23774 else
23775
23776
23777       ac_ext=cpp
23778 ac_cpp='$CXXCPP $CPPFLAGS'
23779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23782
23783       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23784 /* end confdefs.h.  */
23785 #include <math.h>
23786 int
23787 main ()
23788 {
23789  _sincosf(0, 0, 0);
23790   ;
23791   return 0;
23792 }
23793 _ACEOF
23794 if ac_fn_cxx_try_compile "$LINENO"; then :
23795   glibcxx_cv_func__sincosf_use=yes
23796 else
23797   glibcxx_cv_func__sincosf_use=no
23798 fi
23799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23800       ac_ext=c
23801 ac_cpp='$CPP $CPPFLAGS'
23802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23805
23806
23807 fi
23808
23809   fi
23810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23811 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23812
23813     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23814       for ac_func in _sincosf
23815 do :
23816   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23817 if test "x$ac_cv_func__sincosf" = x""yes; then :
23818   cat >>confdefs.h <<_ACEOF
23819 #define HAVE__SINCOSF 1
23820 _ACEOF
23821
23822 fi
23823 done
23824
23825     fi
23826   fi
23827
23828
23829
23830
23831
23832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23833 $as_echo_n "checking for finitef declaration... " >&6; }
23834   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23835     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23836   $as_echo_n "(cached) " >&6
23837 else
23838
23839
23840       ac_ext=cpp
23841 ac_cpp='$CXXCPP $CPPFLAGS'
23842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23845
23846       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23847 /* end confdefs.h.  */
23848 #include <math.h>
23849                       #ifdef HAVE_IEEEFP_H
23850                       #include <ieeefp.h>
23851                       #endif
23852
23853 int
23854 main ()
23855 {
23856  finitef(0);
23857   ;
23858   return 0;
23859 }
23860 _ACEOF
23861 if ac_fn_cxx_try_compile "$LINENO"; then :
23862   glibcxx_cv_func_finitef_use=yes
23863 else
23864   glibcxx_cv_func_finitef_use=no
23865 fi
23866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23867       ac_ext=c
23868 ac_cpp='$CPP $CPPFLAGS'
23869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23872
23873
23874 fi
23875
23876   fi
23877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23878 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23879
23880   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23881     for ac_func in finitef
23882 do :
23883   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23884 if test "x$ac_cv_func_finitef" = x""yes; then :
23885   cat >>confdefs.h <<_ACEOF
23886 #define HAVE_FINITEF 1
23887 _ACEOF
23888
23889 fi
23890 done
23891
23892   else
23893
23894   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23895 $as_echo_n "checking for _finitef declaration... " >&6; }
23896   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23897     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23898   $as_echo_n "(cached) " >&6
23899 else
23900
23901
23902       ac_ext=cpp
23903 ac_cpp='$CXXCPP $CPPFLAGS'
23904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23907
23908       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23909 /* end confdefs.h.  */
23910 #include <math.h>
23911                       #ifdef HAVE_IEEEFP_H
23912                       #include <ieeefp.h>
23913                       #endif
23914
23915 int
23916 main ()
23917 {
23918  _finitef(0);
23919   ;
23920   return 0;
23921 }
23922 _ACEOF
23923 if ac_fn_cxx_try_compile "$LINENO"; then :
23924   glibcxx_cv_func__finitef_use=yes
23925 else
23926   glibcxx_cv_func__finitef_use=no
23927 fi
23928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23929       ac_ext=c
23930 ac_cpp='$CPP $CPPFLAGS'
23931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23934
23935
23936 fi
23937
23938   fi
23939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23940 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23941
23942     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23943       for ac_func in _finitef
23944 do :
23945   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23946 if test "x$ac_cv_func__finitef" = x""yes; then :
23947   cat >>confdefs.h <<_ACEOF
23948 #define HAVE__FINITEF 1
23949 _ACEOF
23950
23951 fi
23952 done
23953
23954     fi
23955   fi
23956
23957
23958
23959
23960
23961     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23962 $as_echo_n "checking for long double trig functions... " >&6; }
23963   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23964   $as_echo_n "(cached) " >&6
23965 else
23966
23967
23968     ac_ext=cpp
23969 ac_cpp='$CXXCPP $CPPFLAGS'
23970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23973
23974     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23975 /* end confdefs.h.  */
23976 #include <math.h>
23977 int
23978 main ()
23979 {
23980 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23981   ;
23982   return 0;
23983 }
23984 _ACEOF
23985 if ac_fn_cxx_try_compile "$LINENO"; then :
23986   glibcxx_cv_func_long_double_trig_use=yes
23987 else
23988   glibcxx_cv_func_long_double_trig_use=no
23989 fi
23990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23991     ac_ext=c
23992 ac_cpp='$CPP $CPPFLAGS'
23993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23996
23997 fi
23998
23999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24000 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24001   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24002     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24003 do :
24004   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24005 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24006 eval as_val=\$$as_ac_var
24007    if test "x$as_val" = x""yes; then :
24008   cat >>confdefs.h <<_ACEOF
24009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24010 _ACEOF
24011
24012 fi
24013 done
24014
24015   else
24016     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24017 $as_echo_n "checking for _long double trig functions... " >&6; }
24018     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24019   $as_echo_n "(cached) " >&6
24020 else
24021
24022
24023       ac_ext=cpp
24024 ac_cpp='$CXXCPP $CPPFLAGS'
24025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24028
24029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24030 /* end confdefs.h.  */
24031 #include <math.h>
24032 int
24033 main ()
24034 {
24035 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24036   ;
24037   return 0;
24038 }
24039 _ACEOF
24040 if ac_fn_cxx_try_compile "$LINENO"; then :
24041   glibcxx_cv_func__long_double_trig_use=yes
24042 else
24043   glibcxx_cv_func__long_double_trig_use=no
24044 fi
24045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24046       ac_ext=c
24047 ac_cpp='$CPP $CPPFLAGS'
24048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24051
24052 fi
24053
24054     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24055 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24056     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24057       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24058 do :
24059   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24061 eval as_val=\$$as_ac_var
24062    if test "x$as_val" = x""yes; then :
24063   cat >>confdefs.h <<_ACEOF
24064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24065 _ACEOF
24066
24067 fi
24068 done
24069
24070     fi
24071   fi
24072
24073
24074
24075
24076
24077     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24078 $as_echo_n "checking for long double round functions... " >&6; }
24079   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24080   $as_echo_n "(cached) " >&6
24081 else
24082
24083
24084     ac_ext=cpp
24085 ac_cpp='$CXXCPP $CPPFLAGS'
24086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24089
24090     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24091 /* end confdefs.h.  */
24092 #include <math.h>
24093 int
24094 main ()
24095 {
24096 ceill (0); floorl (0);
24097   ;
24098   return 0;
24099 }
24100 _ACEOF
24101 if ac_fn_cxx_try_compile "$LINENO"; then :
24102   glibcxx_cv_func_long_double_round_use=yes
24103 else
24104   glibcxx_cv_func_long_double_round_use=no
24105 fi
24106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24107     ac_ext=c
24108 ac_cpp='$CPP $CPPFLAGS'
24109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24112
24113 fi
24114
24115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24116 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24117   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24118     for ac_func in ceill floorl
24119 do :
24120   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24121 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24122 eval as_val=\$$as_ac_var
24123    if test "x$as_val" = x""yes; then :
24124   cat >>confdefs.h <<_ACEOF
24125 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24126 _ACEOF
24127
24128 fi
24129 done
24130
24131   else
24132     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24133 $as_echo_n "checking for _long double round functions... " >&6; }
24134     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24135   $as_echo_n "(cached) " >&6
24136 else
24137
24138
24139       ac_ext=cpp
24140 ac_cpp='$CXXCPP $CPPFLAGS'
24141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24144
24145       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24146 /* end confdefs.h.  */
24147 #include <math.h>
24148 int
24149 main ()
24150 {
24151 _ceill (0); _floorl (0);
24152   ;
24153   return 0;
24154 }
24155 _ACEOF
24156 if ac_fn_cxx_try_compile "$LINENO"; then :
24157   glibcxx_cv_func__long_double_round_use=yes
24158 else
24159   glibcxx_cv_func__long_double_round_use=no
24160 fi
24161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24162       ac_ext=c
24163 ac_cpp='$CPP $CPPFLAGS'
24164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24167
24168 fi
24169
24170     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24171 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24172     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24173       for ac_func in _ceill _floorl
24174 do :
24175   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24176 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24177 eval as_val=\$$as_ac_var
24178    if test "x$as_val" = x""yes; then :
24179   cat >>confdefs.h <<_ACEOF
24180 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24181 _ACEOF
24182
24183 fi
24184 done
24185
24186     fi
24187   fi
24188
24189
24190
24191
24192
24193
24194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24195 $as_echo_n "checking for isnanl declaration... " >&6; }
24196   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24197     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24198   $as_echo_n "(cached) " >&6
24199 else
24200
24201
24202       ac_ext=cpp
24203 ac_cpp='$CXXCPP $CPPFLAGS'
24204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24207
24208       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24209 /* end confdefs.h.  */
24210 #include <math.h>
24211                       #ifdef HAVE_IEEEFP_H
24212                       #include <ieeefp.h>
24213                       #endif
24214
24215 int
24216 main ()
24217 {
24218  isnanl(0);
24219   ;
24220   return 0;
24221 }
24222 _ACEOF
24223 if ac_fn_cxx_try_compile "$LINENO"; then :
24224   glibcxx_cv_func_isnanl_use=yes
24225 else
24226   glibcxx_cv_func_isnanl_use=no
24227 fi
24228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24229       ac_ext=c
24230 ac_cpp='$CPP $CPPFLAGS'
24231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24234
24235
24236 fi
24237
24238   fi
24239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24240 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24241
24242   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24243     for ac_func in isnanl
24244 do :
24245   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24246 if test "x$ac_cv_func_isnanl" = x""yes; then :
24247   cat >>confdefs.h <<_ACEOF
24248 #define HAVE_ISNANL 1
24249 _ACEOF
24250
24251 fi
24252 done
24253
24254   else
24255
24256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24257 $as_echo_n "checking for _isnanl declaration... " >&6; }
24258   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24259     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24260   $as_echo_n "(cached) " >&6
24261 else
24262
24263
24264       ac_ext=cpp
24265 ac_cpp='$CXXCPP $CPPFLAGS'
24266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24269
24270       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24271 /* end confdefs.h.  */
24272 #include <math.h>
24273                       #ifdef HAVE_IEEEFP_H
24274                       #include <ieeefp.h>
24275                       #endif
24276
24277 int
24278 main ()
24279 {
24280  _isnanl(0);
24281   ;
24282   return 0;
24283 }
24284 _ACEOF
24285 if ac_fn_cxx_try_compile "$LINENO"; then :
24286   glibcxx_cv_func__isnanl_use=yes
24287 else
24288   glibcxx_cv_func__isnanl_use=no
24289 fi
24290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24291       ac_ext=c
24292 ac_cpp='$CPP $CPPFLAGS'
24293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24296
24297
24298 fi
24299
24300   fi
24301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24302 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24303
24304     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24305       for ac_func in _isnanl
24306 do :
24307   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24308 if test "x$ac_cv_func__isnanl" = x""yes; then :
24309   cat >>confdefs.h <<_ACEOF
24310 #define HAVE__ISNANL 1
24311 _ACEOF
24312
24313 fi
24314 done
24315
24316     fi
24317   fi
24318
24319
24320
24321
24322
24323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24324 $as_echo_n "checking for isinfl declaration... " >&6; }
24325   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24326     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24327   $as_echo_n "(cached) " >&6
24328 else
24329
24330
24331       ac_ext=cpp
24332 ac_cpp='$CXXCPP $CPPFLAGS'
24333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24336
24337       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24338 /* end confdefs.h.  */
24339 #include <math.h>
24340                       #ifdef HAVE_IEEEFP_H
24341                       #include <ieeefp.h>
24342                       #endif
24343
24344 int
24345 main ()
24346 {
24347  isinfl(0);
24348   ;
24349   return 0;
24350 }
24351 _ACEOF
24352 if ac_fn_cxx_try_compile "$LINENO"; then :
24353   glibcxx_cv_func_isinfl_use=yes
24354 else
24355   glibcxx_cv_func_isinfl_use=no
24356 fi
24357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24358       ac_ext=c
24359 ac_cpp='$CPP $CPPFLAGS'
24360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24363
24364
24365 fi
24366
24367   fi
24368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24369 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24370
24371   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24372     for ac_func in isinfl
24373 do :
24374   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24375 if test "x$ac_cv_func_isinfl" = x""yes; then :
24376   cat >>confdefs.h <<_ACEOF
24377 #define HAVE_ISINFL 1
24378 _ACEOF
24379
24380 fi
24381 done
24382
24383   else
24384
24385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24386 $as_echo_n "checking for _isinfl declaration... " >&6; }
24387   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24388     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24389   $as_echo_n "(cached) " >&6
24390 else
24391
24392
24393       ac_ext=cpp
24394 ac_cpp='$CXXCPP $CPPFLAGS'
24395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24398
24399       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24400 /* end confdefs.h.  */
24401 #include <math.h>
24402                       #ifdef HAVE_IEEEFP_H
24403                       #include <ieeefp.h>
24404                       #endif
24405
24406 int
24407 main ()
24408 {
24409  _isinfl(0);
24410   ;
24411   return 0;
24412 }
24413 _ACEOF
24414 if ac_fn_cxx_try_compile "$LINENO"; then :
24415   glibcxx_cv_func__isinfl_use=yes
24416 else
24417   glibcxx_cv_func__isinfl_use=no
24418 fi
24419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24420       ac_ext=c
24421 ac_cpp='$CPP $CPPFLAGS'
24422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24425
24426
24427 fi
24428
24429   fi
24430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24431 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24432
24433     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24434       for ac_func in _isinfl
24435 do :
24436   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24437 if test "x$ac_cv_func__isinfl" = x""yes; then :
24438   cat >>confdefs.h <<_ACEOF
24439 #define HAVE__ISINFL 1
24440 _ACEOF
24441
24442 fi
24443 done
24444
24445     fi
24446   fi
24447
24448
24449
24450
24451
24452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24453 $as_echo_n "checking for atan2l declaration... " >&6; }
24454   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24455     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24456   $as_echo_n "(cached) " >&6
24457 else
24458
24459
24460       ac_ext=cpp
24461 ac_cpp='$CXXCPP $CPPFLAGS'
24462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24465
24466       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24467 /* end confdefs.h.  */
24468 #include <math.h>
24469 int
24470 main ()
24471 {
24472  atan2l(0, 0);
24473   ;
24474   return 0;
24475 }
24476 _ACEOF
24477 if ac_fn_cxx_try_compile "$LINENO"; then :
24478   glibcxx_cv_func_atan2l_use=yes
24479 else
24480   glibcxx_cv_func_atan2l_use=no
24481 fi
24482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24483       ac_ext=c
24484 ac_cpp='$CPP $CPPFLAGS'
24485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24488
24489
24490 fi
24491
24492   fi
24493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24494 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24495
24496   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24497     for ac_func in atan2l
24498 do :
24499   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24500 if test "x$ac_cv_func_atan2l" = x""yes; then :
24501   cat >>confdefs.h <<_ACEOF
24502 #define HAVE_ATAN2L 1
24503 _ACEOF
24504
24505 fi
24506 done
24507
24508   else
24509
24510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24511 $as_echo_n "checking for _atan2l declaration... " >&6; }
24512   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24513     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24514   $as_echo_n "(cached) " >&6
24515 else
24516
24517
24518       ac_ext=cpp
24519 ac_cpp='$CXXCPP $CPPFLAGS'
24520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24523
24524       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24525 /* end confdefs.h.  */
24526 #include <math.h>
24527 int
24528 main ()
24529 {
24530  _atan2l(0, 0);
24531   ;
24532   return 0;
24533 }
24534 _ACEOF
24535 if ac_fn_cxx_try_compile "$LINENO"; then :
24536   glibcxx_cv_func__atan2l_use=yes
24537 else
24538   glibcxx_cv_func__atan2l_use=no
24539 fi
24540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24541       ac_ext=c
24542 ac_cpp='$CPP $CPPFLAGS'
24543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24546
24547
24548 fi
24549
24550   fi
24551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24552 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24553
24554     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24555       for ac_func in _atan2l
24556 do :
24557   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24558 if test "x$ac_cv_func__atan2l" = x""yes; then :
24559   cat >>confdefs.h <<_ACEOF
24560 #define HAVE__ATAN2L 1
24561 _ACEOF
24562
24563 fi
24564 done
24565
24566     fi
24567   fi
24568
24569
24570
24571
24572
24573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24574 $as_echo_n "checking for expl declaration... " >&6; }
24575   if test x${glibcxx_cv_func_expl_use+set} != xset; then
24576     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24577   $as_echo_n "(cached) " >&6
24578 else
24579
24580
24581       ac_ext=cpp
24582 ac_cpp='$CXXCPP $CPPFLAGS'
24583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24586
24587       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24588 /* end confdefs.h.  */
24589 #include <math.h>
24590                       #ifdef HAVE_IEEEFP_H
24591                       #include <ieeefp.h>
24592                       #endif
24593
24594 int
24595 main ()
24596 {
24597  expl(0);
24598   ;
24599   return 0;
24600 }
24601 _ACEOF
24602 if ac_fn_cxx_try_compile "$LINENO"; then :
24603   glibcxx_cv_func_expl_use=yes
24604 else
24605   glibcxx_cv_func_expl_use=no
24606 fi
24607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24608       ac_ext=c
24609 ac_cpp='$CPP $CPPFLAGS'
24610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24613
24614
24615 fi
24616
24617   fi
24618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24619 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24620
24621   if test x$glibcxx_cv_func_expl_use = x"yes"; then
24622     for ac_func in expl
24623 do :
24624   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24625 if test "x$ac_cv_func_expl" = x""yes; then :
24626   cat >>confdefs.h <<_ACEOF
24627 #define HAVE_EXPL 1
24628 _ACEOF
24629
24630 fi
24631 done
24632
24633   else
24634
24635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24636 $as_echo_n "checking for _expl declaration... " >&6; }
24637   if test x${glibcxx_cv_func__expl_use+set} != xset; then
24638     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24639   $as_echo_n "(cached) " >&6
24640 else
24641
24642
24643       ac_ext=cpp
24644 ac_cpp='$CXXCPP $CPPFLAGS'
24645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24648
24649       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24650 /* end confdefs.h.  */
24651 #include <math.h>
24652                       #ifdef HAVE_IEEEFP_H
24653                       #include <ieeefp.h>
24654                       #endif
24655
24656 int
24657 main ()
24658 {
24659  _expl(0);
24660   ;
24661   return 0;
24662 }
24663 _ACEOF
24664 if ac_fn_cxx_try_compile "$LINENO"; then :
24665   glibcxx_cv_func__expl_use=yes
24666 else
24667   glibcxx_cv_func__expl_use=no
24668 fi
24669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24670       ac_ext=c
24671 ac_cpp='$CPP $CPPFLAGS'
24672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24675
24676
24677 fi
24678
24679   fi
24680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24681 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24682
24683     if test x$glibcxx_cv_func__expl_use = x"yes"; then
24684       for ac_func in _expl
24685 do :
24686   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24687 if test "x$ac_cv_func__expl" = x""yes; then :
24688   cat >>confdefs.h <<_ACEOF
24689 #define HAVE__EXPL 1
24690 _ACEOF
24691
24692 fi
24693 done
24694
24695     fi
24696   fi
24697
24698
24699
24700
24701
24702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24703 $as_echo_n "checking for fabsl declaration... " >&6; }
24704   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24705     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24706   $as_echo_n "(cached) " >&6
24707 else
24708
24709
24710       ac_ext=cpp
24711 ac_cpp='$CXXCPP $CPPFLAGS'
24712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24715
24716       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24717 /* end confdefs.h.  */
24718 #include <math.h>
24719                       #ifdef HAVE_IEEEFP_H
24720                       #include <ieeefp.h>
24721                       #endif
24722
24723 int
24724 main ()
24725 {
24726  fabsl(0);
24727   ;
24728   return 0;
24729 }
24730 _ACEOF
24731 if ac_fn_cxx_try_compile "$LINENO"; then :
24732   glibcxx_cv_func_fabsl_use=yes
24733 else
24734   glibcxx_cv_func_fabsl_use=no
24735 fi
24736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24737       ac_ext=c
24738 ac_cpp='$CPP $CPPFLAGS'
24739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24742
24743
24744 fi
24745
24746   fi
24747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24748 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24749
24750   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24751     for ac_func in fabsl
24752 do :
24753   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24754 if test "x$ac_cv_func_fabsl" = x""yes; then :
24755   cat >>confdefs.h <<_ACEOF
24756 #define HAVE_FABSL 1
24757 _ACEOF
24758
24759 fi
24760 done
24761
24762   else
24763
24764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24765 $as_echo_n "checking for _fabsl declaration... " >&6; }
24766   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24767     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24768   $as_echo_n "(cached) " >&6
24769 else
24770
24771
24772       ac_ext=cpp
24773 ac_cpp='$CXXCPP $CPPFLAGS'
24774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24777
24778       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24779 /* end confdefs.h.  */
24780 #include <math.h>
24781                       #ifdef HAVE_IEEEFP_H
24782                       #include <ieeefp.h>
24783                       #endif
24784
24785 int
24786 main ()
24787 {
24788  _fabsl(0);
24789   ;
24790   return 0;
24791 }
24792 _ACEOF
24793 if ac_fn_cxx_try_compile "$LINENO"; then :
24794   glibcxx_cv_func__fabsl_use=yes
24795 else
24796   glibcxx_cv_func__fabsl_use=no
24797 fi
24798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24799       ac_ext=c
24800 ac_cpp='$CPP $CPPFLAGS'
24801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24804
24805
24806 fi
24807
24808   fi
24809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24810 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24811
24812     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24813       for ac_func in _fabsl
24814 do :
24815   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24816 if test "x$ac_cv_func__fabsl" = x""yes; then :
24817   cat >>confdefs.h <<_ACEOF
24818 #define HAVE__FABSL 1
24819 _ACEOF
24820
24821 fi
24822 done
24823
24824     fi
24825   fi
24826
24827
24828
24829
24830
24831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24832 $as_echo_n "checking for fmodl declaration... " >&6; }
24833   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24834     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24835   $as_echo_n "(cached) " >&6
24836 else
24837
24838
24839       ac_ext=cpp
24840 ac_cpp='$CXXCPP $CPPFLAGS'
24841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24844
24845       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24846 /* end confdefs.h.  */
24847 #include <math.h>
24848 int
24849 main ()
24850 {
24851  fmodl(0, 0);
24852   ;
24853   return 0;
24854 }
24855 _ACEOF
24856 if ac_fn_cxx_try_compile "$LINENO"; then :
24857   glibcxx_cv_func_fmodl_use=yes
24858 else
24859   glibcxx_cv_func_fmodl_use=no
24860 fi
24861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24862       ac_ext=c
24863 ac_cpp='$CPP $CPPFLAGS'
24864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24867
24868
24869 fi
24870
24871   fi
24872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24873 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24874
24875   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24876     for ac_func in fmodl
24877 do :
24878   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24879 if test "x$ac_cv_func_fmodl" = x""yes; then :
24880   cat >>confdefs.h <<_ACEOF
24881 #define HAVE_FMODL 1
24882 _ACEOF
24883
24884 fi
24885 done
24886
24887   else
24888
24889   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24890 $as_echo_n "checking for _fmodl declaration... " >&6; }
24891   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24892     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24893   $as_echo_n "(cached) " >&6
24894 else
24895
24896
24897       ac_ext=cpp
24898 ac_cpp='$CXXCPP $CPPFLAGS'
24899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24902
24903       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24904 /* end confdefs.h.  */
24905 #include <math.h>
24906 int
24907 main ()
24908 {
24909  _fmodl(0, 0);
24910   ;
24911   return 0;
24912 }
24913 _ACEOF
24914 if ac_fn_cxx_try_compile "$LINENO"; then :
24915   glibcxx_cv_func__fmodl_use=yes
24916 else
24917   glibcxx_cv_func__fmodl_use=no
24918 fi
24919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24920       ac_ext=c
24921 ac_cpp='$CPP $CPPFLAGS'
24922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24925
24926
24927 fi
24928
24929   fi
24930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24931 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24932
24933     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24934       for ac_func in _fmodl
24935 do :
24936   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24937 if test "x$ac_cv_func__fmodl" = x""yes; then :
24938   cat >>confdefs.h <<_ACEOF
24939 #define HAVE__FMODL 1
24940 _ACEOF
24941
24942 fi
24943 done
24944
24945     fi
24946   fi
24947
24948
24949
24950
24951
24952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24953 $as_echo_n "checking for frexpl declaration... " >&6; }
24954   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24955     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24956   $as_echo_n "(cached) " >&6
24957 else
24958
24959
24960       ac_ext=cpp
24961 ac_cpp='$CXXCPP $CPPFLAGS'
24962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24965
24966       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24967 /* end confdefs.h.  */
24968 #include <math.h>
24969 int
24970 main ()
24971 {
24972  frexpl(0, 0);
24973   ;
24974   return 0;
24975 }
24976 _ACEOF
24977 if ac_fn_cxx_try_compile "$LINENO"; then :
24978   glibcxx_cv_func_frexpl_use=yes
24979 else
24980   glibcxx_cv_func_frexpl_use=no
24981 fi
24982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24983       ac_ext=c
24984 ac_cpp='$CPP $CPPFLAGS'
24985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24988
24989
24990 fi
24991
24992   fi
24993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24994 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24995
24996   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24997     for ac_func in frexpl
24998 do :
24999   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25000 if test "x$ac_cv_func_frexpl" = x""yes; then :
25001   cat >>confdefs.h <<_ACEOF
25002 #define HAVE_FREXPL 1
25003 _ACEOF
25004
25005 fi
25006 done
25007
25008   else
25009
25010   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25011 $as_echo_n "checking for _frexpl declaration... " >&6; }
25012   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25013     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25014   $as_echo_n "(cached) " >&6
25015 else
25016
25017
25018       ac_ext=cpp
25019 ac_cpp='$CXXCPP $CPPFLAGS'
25020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25023
25024       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25025 /* end confdefs.h.  */
25026 #include <math.h>
25027 int
25028 main ()
25029 {
25030  _frexpl(0, 0);
25031   ;
25032   return 0;
25033 }
25034 _ACEOF
25035 if ac_fn_cxx_try_compile "$LINENO"; then :
25036   glibcxx_cv_func__frexpl_use=yes
25037 else
25038   glibcxx_cv_func__frexpl_use=no
25039 fi
25040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25041       ac_ext=c
25042 ac_cpp='$CPP $CPPFLAGS'
25043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25046
25047
25048 fi
25049
25050   fi
25051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25052 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25053
25054     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25055       for ac_func in _frexpl
25056 do :
25057   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25058 if test "x$ac_cv_func__frexpl" = x""yes; then :
25059   cat >>confdefs.h <<_ACEOF
25060 #define HAVE__FREXPL 1
25061 _ACEOF
25062
25063 fi
25064 done
25065
25066     fi
25067   fi
25068
25069
25070
25071
25072
25073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25074 $as_echo_n "checking for hypotl declaration... " >&6; }
25075   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25076     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25077   $as_echo_n "(cached) " >&6
25078 else
25079
25080
25081       ac_ext=cpp
25082 ac_cpp='$CXXCPP $CPPFLAGS'
25083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25086
25087       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25088 /* end confdefs.h.  */
25089 #include <math.h>
25090 int
25091 main ()
25092 {
25093  hypotl(0, 0);
25094   ;
25095   return 0;
25096 }
25097 _ACEOF
25098 if ac_fn_cxx_try_compile "$LINENO"; then :
25099   glibcxx_cv_func_hypotl_use=yes
25100 else
25101   glibcxx_cv_func_hypotl_use=no
25102 fi
25103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25104       ac_ext=c
25105 ac_cpp='$CPP $CPPFLAGS'
25106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25109
25110
25111 fi
25112
25113   fi
25114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25115 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25116
25117   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25118     for ac_func in hypotl
25119 do :
25120   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25121 if test "x$ac_cv_func_hypotl" = x""yes; then :
25122   cat >>confdefs.h <<_ACEOF
25123 #define HAVE_HYPOTL 1
25124 _ACEOF
25125
25126 fi
25127 done
25128
25129   else
25130
25131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25132 $as_echo_n "checking for _hypotl declaration... " >&6; }
25133   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25134     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25135   $as_echo_n "(cached) " >&6
25136 else
25137
25138
25139       ac_ext=cpp
25140 ac_cpp='$CXXCPP $CPPFLAGS'
25141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25144
25145       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25146 /* end confdefs.h.  */
25147 #include <math.h>
25148 int
25149 main ()
25150 {
25151  _hypotl(0, 0);
25152   ;
25153   return 0;
25154 }
25155 _ACEOF
25156 if ac_fn_cxx_try_compile "$LINENO"; then :
25157   glibcxx_cv_func__hypotl_use=yes
25158 else
25159   glibcxx_cv_func__hypotl_use=no
25160 fi
25161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25162       ac_ext=c
25163 ac_cpp='$CPP $CPPFLAGS'
25164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25167
25168
25169 fi
25170
25171   fi
25172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25173 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25174
25175     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25176       for ac_func in _hypotl
25177 do :
25178   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25179 if test "x$ac_cv_func__hypotl" = x""yes; then :
25180   cat >>confdefs.h <<_ACEOF
25181 #define HAVE__HYPOTL 1
25182 _ACEOF
25183
25184 fi
25185 done
25186
25187     fi
25188   fi
25189
25190
25191
25192
25193
25194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25195 $as_echo_n "checking for ldexpl declaration... " >&6; }
25196   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25197     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25198   $as_echo_n "(cached) " >&6
25199 else
25200
25201
25202       ac_ext=cpp
25203 ac_cpp='$CXXCPP $CPPFLAGS'
25204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25207
25208       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25209 /* end confdefs.h.  */
25210 #include <math.h>
25211 int
25212 main ()
25213 {
25214  ldexpl(0, 0);
25215   ;
25216   return 0;
25217 }
25218 _ACEOF
25219 if ac_fn_cxx_try_compile "$LINENO"; then :
25220   glibcxx_cv_func_ldexpl_use=yes
25221 else
25222   glibcxx_cv_func_ldexpl_use=no
25223 fi
25224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25225       ac_ext=c
25226 ac_cpp='$CPP $CPPFLAGS'
25227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25230
25231
25232 fi
25233
25234   fi
25235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25236 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25237
25238   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25239     for ac_func in ldexpl
25240 do :
25241   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25242 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25243   cat >>confdefs.h <<_ACEOF
25244 #define HAVE_LDEXPL 1
25245 _ACEOF
25246
25247 fi
25248 done
25249
25250   else
25251
25252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25253 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25254   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25255     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25256   $as_echo_n "(cached) " >&6
25257 else
25258
25259
25260       ac_ext=cpp
25261 ac_cpp='$CXXCPP $CPPFLAGS'
25262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25265
25266       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25267 /* end confdefs.h.  */
25268 #include <math.h>
25269 int
25270 main ()
25271 {
25272  _ldexpl(0, 0);
25273   ;
25274   return 0;
25275 }
25276 _ACEOF
25277 if ac_fn_cxx_try_compile "$LINENO"; then :
25278   glibcxx_cv_func__ldexpl_use=yes
25279 else
25280   glibcxx_cv_func__ldexpl_use=no
25281 fi
25282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25283       ac_ext=c
25284 ac_cpp='$CPP $CPPFLAGS'
25285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25288
25289
25290 fi
25291
25292   fi
25293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25294 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25295
25296     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25297       for ac_func in _ldexpl
25298 do :
25299   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25300 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25301   cat >>confdefs.h <<_ACEOF
25302 #define HAVE__LDEXPL 1
25303 _ACEOF
25304
25305 fi
25306 done
25307
25308     fi
25309   fi
25310
25311
25312
25313
25314
25315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25316 $as_echo_n "checking for logl declaration... " >&6; }
25317   if test x${glibcxx_cv_func_logl_use+set} != xset; then
25318     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25319   $as_echo_n "(cached) " >&6
25320 else
25321
25322
25323       ac_ext=cpp
25324 ac_cpp='$CXXCPP $CPPFLAGS'
25325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25328
25329       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25330 /* end confdefs.h.  */
25331 #include <math.h>
25332                       #ifdef HAVE_IEEEFP_H
25333                       #include <ieeefp.h>
25334                       #endif
25335
25336 int
25337 main ()
25338 {
25339  logl(0);
25340   ;
25341   return 0;
25342 }
25343 _ACEOF
25344 if ac_fn_cxx_try_compile "$LINENO"; then :
25345   glibcxx_cv_func_logl_use=yes
25346 else
25347   glibcxx_cv_func_logl_use=no
25348 fi
25349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25350       ac_ext=c
25351 ac_cpp='$CPP $CPPFLAGS'
25352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25355
25356
25357 fi
25358
25359   fi
25360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25361 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25362
25363   if test x$glibcxx_cv_func_logl_use = x"yes"; then
25364     for ac_func in logl
25365 do :
25366   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25367 if test "x$ac_cv_func_logl" = x""yes; then :
25368   cat >>confdefs.h <<_ACEOF
25369 #define HAVE_LOGL 1
25370 _ACEOF
25371
25372 fi
25373 done
25374
25375   else
25376
25377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25378 $as_echo_n "checking for _logl declaration... " >&6; }
25379   if test x${glibcxx_cv_func__logl_use+set} != xset; then
25380     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25381   $as_echo_n "(cached) " >&6
25382 else
25383
25384
25385       ac_ext=cpp
25386 ac_cpp='$CXXCPP $CPPFLAGS'
25387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25390
25391       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25392 /* end confdefs.h.  */
25393 #include <math.h>
25394                       #ifdef HAVE_IEEEFP_H
25395                       #include <ieeefp.h>
25396                       #endif
25397
25398 int
25399 main ()
25400 {
25401  _logl(0);
25402   ;
25403   return 0;
25404 }
25405 _ACEOF
25406 if ac_fn_cxx_try_compile "$LINENO"; then :
25407   glibcxx_cv_func__logl_use=yes
25408 else
25409   glibcxx_cv_func__logl_use=no
25410 fi
25411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25412       ac_ext=c
25413 ac_cpp='$CPP $CPPFLAGS'
25414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25417
25418
25419 fi
25420
25421   fi
25422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25423 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25424
25425     if test x$glibcxx_cv_func__logl_use = x"yes"; then
25426       for ac_func in _logl
25427 do :
25428   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25429 if test "x$ac_cv_func__logl" = x""yes; then :
25430   cat >>confdefs.h <<_ACEOF
25431 #define HAVE__LOGL 1
25432 _ACEOF
25433
25434 fi
25435 done
25436
25437     fi
25438   fi
25439
25440
25441
25442
25443
25444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25445 $as_echo_n "checking for log10l declaration... " >&6; }
25446   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25447     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25448   $as_echo_n "(cached) " >&6
25449 else
25450
25451
25452       ac_ext=cpp
25453 ac_cpp='$CXXCPP $CPPFLAGS'
25454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25457
25458       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25459 /* end confdefs.h.  */
25460 #include <math.h>
25461                       #ifdef HAVE_IEEEFP_H
25462                       #include <ieeefp.h>
25463                       #endif
25464
25465 int
25466 main ()
25467 {
25468  log10l(0);
25469   ;
25470   return 0;
25471 }
25472 _ACEOF
25473 if ac_fn_cxx_try_compile "$LINENO"; then :
25474   glibcxx_cv_func_log10l_use=yes
25475 else
25476   glibcxx_cv_func_log10l_use=no
25477 fi
25478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25479       ac_ext=c
25480 ac_cpp='$CPP $CPPFLAGS'
25481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25484
25485
25486 fi
25487
25488   fi
25489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25490 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25491
25492   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25493     for ac_func in log10l
25494 do :
25495   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25496 if test "x$ac_cv_func_log10l" = x""yes; then :
25497   cat >>confdefs.h <<_ACEOF
25498 #define HAVE_LOG10L 1
25499 _ACEOF
25500
25501 fi
25502 done
25503
25504   else
25505
25506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25507 $as_echo_n "checking for _log10l declaration... " >&6; }
25508   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25509     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25510   $as_echo_n "(cached) " >&6
25511 else
25512
25513
25514       ac_ext=cpp
25515 ac_cpp='$CXXCPP $CPPFLAGS'
25516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25519
25520       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25521 /* end confdefs.h.  */
25522 #include <math.h>
25523                       #ifdef HAVE_IEEEFP_H
25524                       #include <ieeefp.h>
25525                       #endif
25526
25527 int
25528 main ()
25529 {
25530  _log10l(0);
25531   ;
25532   return 0;
25533 }
25534 _ACEOF
25535 if ac_fn_cxx_try_compile "$LINENO"; then :
25536   glibcxx_cv_func__log10l_use=yes
25537 else
25538   glibcxx_cv_func__log10l_use=no
25539 fi
25540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25541       ac_ext=c
25542 ac_cpp='$CPP $CPPFLAGS'
25543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25546
25547
25548 fi
25549
25550   fi
25551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25552 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25553
25554     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25555       for ac_func in _log10l
25556 do :
25557   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25558 if test "x$ac_cv_func__log10l" = x""yes; then :
25559   cat >>confdefs.h <<_ACEOF
25560 #define HAVE__LOG10L 1
25561 _ACEOF
25562
25563 fi
25564 done
25565
25566     fi
25567   fi
25568
25569
25570
25571
25572
25573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25574 $as_echo_n "checking for modfl declaration... " >&6; }
25575   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25576     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25577   $as_echo_n "(cached) " >&6
25578 else
25579
25580
25581       ac_ext=cpp
25582 ac_cpp='$CXXCPP $CPPFLAGS'
25583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25586
25587       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25588 /* end confdefs.h.  */
25589 #include <math.h>
25590 int
25591 main ()
25592 {
25593  modfl(0, 0);
25594   ;
25595   return 0;
25596 }
25597 _ACEOF
25598 if ac_fn_cxx_try_compile "$LINENO"; then :
25599   glibcxx_cv_func_modfl_use=yes
25600 else
25601   glibcxx_cv_func_modfl_use=no
25602 fi
25603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25604       ac_ext=c
25605 ac_cpp='$CPP $CPPFLAGS'
25606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25609
25610
25611 fi
25612
25613   fi
25614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25615 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25616
25617   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25618     for ac_func in modfl
25619 do :
25620   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25621 if test "x$ac_cv_func_modfl" = x""yes; then :
25622   cat >>confdefs.h <<_ACEOF
25623 #define HAVE_MODFL 1
25624 _ACEOF
25625
25626 fi
25627 done
25628
25629   else
25630
25631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25632 $as_echo_n "checking for _modfl declaration... " >&6; }
25633   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25634     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25635   $as_echo_n "(cached) " >&6
25636 else
25637
25638
25639       ac_ext=cpp
25640 ac_cpp='$CXXCPP $CPPFLAGS'
25641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25644
25645       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25646 /* end confdefs.h.  */
25647 #include <math.h>
25648 int
25649 main ()
25650 {
25651  _modfl(0, 0);
25652   ;
25653   return 0;
25654 }
25655 _ACEOF
25656 if ac_fn_cxx_try_compile "$LINENO"; then :
25657   glibcxx_cv_func__modfl_use=yes
25658 else
25659   glibcxx_cv_func__modfl_use=no
25660 fi
25661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25662       ac_ext=c
25663 ac_cpp='$CPP $CPPFLAGS'
25664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25667
25668
25669 fi
25670
25671   fi
25672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25673 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25674
25675     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25676       for ac_func in _modfl
25677 do :
25678   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25679 if test "x$ac_cv_func__modfl" = x""yes; then :
25680   cat >>confdefs.h <<_ACEOF
25681 #define HAVE__MODFL 1
25682 _ACEOF
25683
25684 fi
25685 done
25686
25687     fi
25688   fi
25689
25690
25691
25692
25693
25694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25695 $as_echo_n "checking for powl declaration... " >&6; }
25696   if test x${glibcxx_cv_func_powl_use+set} != xset; then
25697     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25698   $as_echo_n "(cached) " >&6
25699 else
25700
25701
25702       ac_ext=cpp
25703 ac_cpp='$CXXCPP $CPPFLAGS'
25704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25707
25708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25709 /* end confdefs.h.  */
25710 #include <math.h>
25711 int
25712 main ()
25713 {
25714  powl(0, 0);
25715   ;
25716   return 0;
25717 }
25718 _ACEOF
25719 if ac_fn_cxx_try_compile "$LINENO"; then :
25720   glibcxx_cv_func_powl_use=yes
25721 else
25722   glibcxx_cv_func_powl_use=no
25723 fi
25724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25725       ac_ext=c
25726 ac_cpp='$CPP $CPPFLAGS'
25727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25730
25731
25732 fi
25733
25734   fi
25735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25736 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25737
25738   if test x$glibcxx_cv_func_powl_use = x"yes"; then
25739     for ac_func in powl
25740 do :
25741   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25742 if test "x$ac_cv_func_powl" = x""yes; then :
25743   cat >>confdefs.h <<_ACEOF
25744 #define HAVE_POWL 1
25745 _ACEOF
25746
25747 fi
25748 done
25749
25750   else
25751
25752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25753 $as_echo_n "checking for _powl declaration... " >&6; }
25754   if test x${glibcxx_cv_func__powl_use+set} != xset; then
25755     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25756   $as_echo_n "(cached) " >&6
25757 else
25758
25759
25760       ac_ext=cpp
25761 ac_cpp='$CXXCPP $CPPFLAGS'
25762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25765
25766       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25767 /* end confdefs.h.  */
25768 #include <math.h>
25769 int
25770 main ()
25771 {
25772  _powl(0, 0);
25773   ;
25774   return 0;
25775 }
25776 _ACEOF
25777 if ac_fn_cxx_try_compile "$LINENO"; then :
25778   glibcxx_cv_func__powl_use=yes
25779 else
25780   glibcxx_cv_func__powl_use=no
25781 fi
25782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25783       ac_ext=c
25784 ac_cpp='$CPP $CPPFLAGS'
25785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25788
25789
25790 fi
25791
25792   fi
25793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25794 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25795
25796     if test x$glibcxx_cv_func__powl_use = x"yes"; then
25797       for ac_func in _powl
25798 do :
25799   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25800 if test "x$ac_cv_func__powl" = x""yes; then :
25801   cat >>confdefs.h <<_ACEOF
25802 #define HAVE__POWL 1
25803 _ACEOF
25804
25805 fi
25806 done
25807
25808     fi
25809   fi
25810
25811
25812
25813
25814
25815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25816 $as_echo_n "checking for sqrtl declaration... " >&6; }
25817   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25818     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25819   $as_echo_n "(cached) " >&6
25820 else
25821
25822
25823       ac_ext=cpp
25824 ac_cpp='$CXXCPP $CPPFLAGS'
25825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25828
25829       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25830 /* end confdefs.h.  */
25831 #include <math.h>
25832                       #ifdef HAVE_IEEEFP_H
25833                       #include <ieeefp.h>
25834                       #endif
25835
25836 int
25837 main ()
25838 {
25839  sqrtl(0);
25840   ;
25841   return 0;
25842 }
25843 _ACEOF
25844 if ac_fn_cxx_try_compile "$LINENO"; then :
25845   glibcxx_cv_func_sqrtl_use=yes
25846 else
25847   glibcxx_cv_func_sqrtl_use=no
25848 fi
25849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25850       ac_ext=c
25851 ac_cpp='$CPP $CPPFLAGS'
25852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25855
25856
25857 fi
25858
25859   fi
25860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25861 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25862
25863   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25864     for ac_func in sqrtl
25865 do :
25866   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25867 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25868   cat >>confdefs.h <<_ACEOF
25869 #define HAVE_SQRTL 1
25870 _ACEOF
25871
25872 fi
25873 done
25874
25875   else
25876
25877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25878 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25879   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25880     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25881   $as_echo_n "(cached) " >&6
25882 else
25883
25884
25885       ac_ext=cpp
25886 ac_cpp='$CXXCPP $CPPFLAGS'
25887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25890
25891       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25892 /* end confdefs.h.  */
25893 #include <math.h>
25894                       #ifdef HAVE_IEEEFP_H
25895                       #include <ieeefp.h>
25896                       #endif
25897
25898 int
25899 main ()
25900 {
25901  _sqrtl(0);
25902   ;
25903   return 0;
25904 }
25905 _ACEOF
25906 if ac_fn_cxx_try_compile "$LINENO"; then :
25907   glibcxx_cv_func__sqrtl_use=yes
25908 else
25909   glibcxx_cv_func__sqrtl_use=no
25910 fi
25911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25912       ac_ext=c
25913 ac_cpp='$CPP $CPPFLAGS'
25914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25917
25918
25919 fi
25920
25921   fi
25922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25923 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25924
25925     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25926       for ac_func in _sqrtl
25927 do :
25928   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25929 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25930   cat >>confdefs.h <<_ACEOF
25931 #define HAVE__SQRTL 1
25932 _ACEOF
25933
25934 fi
25935 done
25936
25937     fi
25938   fi
25939
25940
25941
25942
25943
25944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25945 $as_echo_n "checking for sincosl declaration... " >&6; }
25946   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25947     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25948   $as_echo_n "(cached) " >&6
25949 else
25950
25951
25952       ac_ext=cpp
25953 ac_cpp='$CXXCPP $CPPFLAGS'
25954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25957
25958       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25959 /* end confdefs.h.  */
25960 #include <math.h>
25961 int
25962 main ()
25963 {
25964  sincosl(0, 0, 0);
25965   ;
25966   return 0;
25967 }
25968 _ACEOF
25969 if ac_fn_cxx_try_compile "$LINENO"; then :
25970   glibcxx_cv_func_sincosl_use=yes
25971 else
25972   glibcxx_cv_func_sincosl_use=no
25973 fi
25974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25975       ac_ext=c
25976 ac_cpp='$CPP $CPPFLAGS'
25977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25980
25981
25982 fi
25983
25984   fi
25985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25986 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25987
25988   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25989     for ac_func in sincosl
25990 do :
25991   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25992 if test "x$ac_cv_func_sincosl" = x""yes; then :
25993   cat >>confdefs.h <<_ACEOF
25994 #define HAVE_SINCOSL 1
25995 _ACEOF
25996
25997 fi
25998 done
25999
26000   else
26001
26002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26003 $as_echo_n "checking for _sincosl declaration... " >&6; }
26004   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26005     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26006   $as_echo_n "(cached) " >&6
26007 else
26008
26009
26010       ac_ext=cpp
26011 ac_cpp='$CXXCPP $CPPFLAGS'
26012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26015
26016       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26017 /* end confdefs.h.  */
26018 #include <math.h>
26019 int
26020 main ()
26021 {
26022  _sincosl(0, 0, 0);
26023   ;
26024   return 0;
26025 }
26026 _ACEOF
26027 if ac_fn_cxx_try_compile "$LINENO"; then :
26028   glibcxx_cv_func__sincosl_use=yes
26029 else
26030   glibcxx_cv_func__sincosl_use=no
26031 fi
26032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26033       ac_ext=c
26034 ac_cpp='$CPP $CPPFLAGS'
26035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26038
26039
26040 fi
26041
26042   fi
26043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26044 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26045
26046     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26047       for ac_func in _sincosl
26048 do :
26049   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26050 if test "x$ac_cv_func__sincosl" = x""yes; then :
26051   cat >>confdefs.h <<_ACEOF
26052 #define HAVE__SINCOSL 1
26053 _ACEOF
26054
26055 fi
26056 done
26057
26058     fi
26059   fi
26060
26061
26062
26063
26064
26065   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26066 $as_echo_n "checking for finitel declaration... " >&6; }
26067   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26068     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26069   $as_echo_n "(cached) " >&6
26070 else
26071
26072
26073       ac_ext=cpp
26074 ac_cpp='$CXXCPP $CPPFLAGS'
26075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26078
26079       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26080 /* end confdefs.h.  */
26081 #include <math.h>
26082                       #ifdef HAVE_IEEEFP_H
26083                       #include <ieeefp.h>
26084                       #endif
26085
26086 int
26087 main ()
26088 {
26089  finitel(0);
26090   ;
26091   return 0;
26092 }
26093 _ACEOF
26094 if ac_fn_cxx_try_compile "$LINENO"; then :
26095   glibcxx_cv_func_finitel_use=yes
26096 else
26097   glibcxx_cv_func_finitel_use=no
26098 fi
26099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26100       ac_ext=c
26101 ac_cpp='$CPP $CPPFLAGS'
26102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26105
26106
26107 fi
26108
26109   fi
26110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26111 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26112
26113   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26114     for ac_func in finitel
26115 do :
26116   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26117 if test "x$ac_cv_func_finitel" = x""yes; then :
26118   cat >>confdefs.h <<_ACEOF
26119 #define HAVE_FINITEL 1
26120 _ACEOF
26121
26122 fi
26123 done
26124
26125   else
26126
26127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26128 $as_echo_n "checking for _finitel declaration... " >&6; }
26129   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26130     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26131   $as_echo_n "(cached) " >&6
26132 else
26133
26134
26135       ac_ext=cpp
26136 ac_cpp='$CXXCPP $CPPFLAGS'
26137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26140
26141       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26142 /* end confdefs.h.  */
26143 #include <math.h>
26144                       #ifdef HAVE_IEEEFP_H
26145                       #include <ieeefp.h>
26146                       #endif
26147
26148 int
26149 main ()
26150 {
26151  _finitel(0);
26152   ;
26153   return 0;
26154 }
26155 _ACEOF
26156 if ac_fn_cxx_try_compile "$LINENO"; then :
26157   glibcxx_cv_func__finitel_use=yes
26158 else
26159   glibcxx_cv_func__finitel_use=no
26160 fi
26161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26162       ac_ext=c
26163 ac_cpp='$CPP $CPPFLAGS'
26164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26167
26168
26169 fi
26170
26171   fi
26172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26173 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26174
26175     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26176       for ac_func in _finitel
26177 do :
26178   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26179 if test "x$ac_cv_func__finitel" = x""yes; then :
26180   cat >>confdefs.h <<_ACEOF
26181 #define HAVE__FINITEL 1
26182 _ACEOF
26183
26184 fi
26185 done
26186
26187     fi
26188   fi
26189
26190
26191
26192
26193   LIBS="$ac_save_LIBS"
26194   CXXFLAGS="$ac_save_CXXFLAGS"
26195
26196
26197   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26198   ac_save_CXXFLAGS="$CXXFLAGS"
26199   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26200
26201
26202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26203 $as_echo_n "checking for strtold declaration... " >&6; }
26204   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26205     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26206   $as_echo_n "(cached) " >&6
26207 else
26208
26209
26210       ac_ext=cpp
26211 ac_cpp='$CXXCPP $CPPFLAGS'
26212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26215
26216       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26217 /* end confdefs.h.  */
26218 #include <stdlib.h>
26219 int
26220 main ()
26221 {
26222  strtold(0, 0);
26223   ;
26224   return 0;
26225 }
26226 _ACEOF
26227 if ac_fn_cxx_try_compile "$LINENO"; then :
26228   glibcxx_cv_func_strtold_use=yes
26229 else
26230   glibcxx_cv_func_strtold_use=no
26231 fi
26232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26233       ac_ext=c
26234 ac_cpp='$CPP $CPPFLAGS'
26235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26238
26239
26240 fi
26241
26242   fi
26243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26244 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26245   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26246     for ac_func in strtold
26247 do :
26248   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26249 if test "x$ac_cv_func_strtold" = x""yes; then :
26250   cat >>confdefs.h <<_ACEOF
26251 #define HAVE_STRTOLD 1
26252 _ACEOF
26253
26254 fi
26255 done
26256
26257   fi
26258
26259
26260
26261
26262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26263 $as_echo_n "checking for strtof declaration... " >&6; }
26264   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26265     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26266   $as_echo_n "(cached) " >&6
26267 else
26268
26269
26270       ac_ext=cpp
26271 ac_cpp='$CXXCPP $CPPFLAGS'
26272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26275
26276       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26277 /* end confdefs.h.  */
26278 #include <stdlib.h>
26279 int
26280 main ()
26281 {
26282  strtof(0, 0);
26283   ;
26284   return 0;
26285 }
26286 _ACEOF
26287 if ac_fn_cxx_try_compile "$LINENO"; then :
26288   glibcxx_cv_func_strtof_use=yes
26289 else
26290   glibcxx_cv_func_strtof_use=no
26291 fi
26292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26293       ac_ext=c
26294 ac_cpp='$CPP $CPPFLAGS'
26295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26298
26299
26300 fi
26301
26302   fi
26303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26304 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26305   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26306     for ac_func in strtof
26307 do :
26308   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26309 if test "x$ac_cv_func_strtof" = x""yes; then :
26310   cat >>confdefs.h <<_ACEOF
26311 #define HAVE_STRTOF 1
26312 _ACEOF
26313
26314 fi
26315 done
26316
26317   fi
26318
26319
26320
26321
26322   CXXFLAGS="$ac_save_CXXFLAGS"
26323
26324
26325   # For /dev/random and /dev/urandom for TR1.
26326
26327
26328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26329 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26330   if test "${glibcxx_cv_random_tr1+set}" = set; then :
26331   $as_echo_n "(cached) " >&6
26332 else
26333
26334     if test -r /dev/random && test -r /dev/urandom; then
26335       glibcxx_cv_random_tr1=yes;
26336     else
26337       glibcxx_cv_random_tr1=no;
26338     fi
26339
26340 fi
26341
26342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26343 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26344
26345   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26346
26347 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26348
26349   fi
26350
26351
26352
26353   # For TLS support.
26354
26355
26356    # Check whether --enable-tls was given.
26357 if test "${enable_tls+set}" = set; then :
26358   enableval=$enable_tls;
26359       case "$enableval" in
26360        yes|no) ;;
26361        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26362       esac
26363
26364 else
26365   enable_tls=yes
26366 fi
26367
26368
26369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26370 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26371 if test "${gcc_cv_have_tls+set}" = set; then :
26372   $as_echo_n "(cached) " >&6
26373 else
26374
26375     if test "$cross_compiling" = yes; then :
26376                 if test x$gcc_no_link = xyes; then
26377   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26378 fi
26379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26380 /* end confdefs.h.  */
26381 __thread int a; int b; int main() { return a = b; }
26382 _ACEOF
26383 if ac_fn_c_try_link "$LINENO"; then :
26384   chktls_save_LDFLAGS="$LDFLAGS"
26385                           case $host in
26386             *-*-linux*)
26387               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26388               ;;
26389           esac
26390           chktls_save_CFLAGS="$CFLAGS"
26391           CFLAGS="-fPIC $CFLAGS"
26392                   if test x$gcc_no_link = xyes; then
26393   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26394 fi
26395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26396 /* end confdefs.h.  */
26397 int f() { return 0; }
26398 _ACEOF
26399 if ac_fn_c_try_link "$LINENO"; then :
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 __thread int a; int b; int f() { return a = b; }
26406 _ACEOF
26407 if ac_fn_c_try_link "$LINENO"; then :
26408   gcc_cv_have_tls=yes
26409 else
26410   gcc_cv_have_tls=no
26411 fi
26412 rm -f core conftest.err conftest.$ac_objext \
26413     conftest$ac_exeext conftest.$ac_ext
26414 else
26415   gcc_cv_have_tls=yes
26416 fi
26417 rm -f core conftest.err conftest.$ac_objext \
26418     conftest$ac_exeext conftest.$ac_ext
26419           CFLAGS="$chktls_save_CFLAGS"
26420           LDFLAGS="$chktls_save_LDFLAGS"
26421 else
26422   gcc_cv_have_tls=no
26423 fi
26424 rm -f core conftest.err conftest.$ac_objext \
26425     conftest$ac_exeext conftest.$ac_ext
26426
26427
26428 else
26429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26430 /* end confdefs.h.  */
26431 __thread int a; int b; int main() { return a = b; }
26432 _ACEOF
26433 if ac_fn_c_try_run "$LINENO"; then :
26434                       chktls_save_LDFLAGS="$LDFLAGS"
26435       LDFLAGS="-static $LDFLAGS"
26436       if test x$gcc_no_link = xyes; then
26437   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26438 fi
26439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26440 /* end confdefs.h.  */
26441 int main() { return 0; }
26442 _ACEOF
26443 if ac_fn_c_try_link "$LINENO"; then :
26444   if test "$cross_compiling" = yes; then :
26445   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26447 as_fn_error "cannot run test program while cross compiling
26448 See \`config.log' for more details." "$LINENO" 5; }
26449 else
26450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26451 /* end confdefs.h.  */
26452 __thread int a; int b; int main() { return a = b; }
26453 _ACEOF
26454 if ac_fn_c_try_run "$LINENO"; then :
26455   gcc_cv_have_tls=yes
26456 else
26457   gcc_cv_have_tls=no
26458 fi
26459 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26460   conftest.$ac_objext conftest.beam conftest.$ac_ext
26461 fi
26462
26463 else
26464   gcc_cv_have_tls=yes
26465 fi
26466 rm -f core conftest.err conftest.$ac_objext \
26467     conftest$ac_exeext conftest.$ac_ext
26468       LDFLAGS="$chktls_save_LDFLAGS"
26469       if test $gcc_cv_have_tls = yes; then
26470                                                 chktls_save_CFLAGS="$CFLAGS"
26471         thread_CFLAGS=failed
26472         for flag in '' '-pthread' '-lpthread'; do
26473           CFLAGS="$flag $chktls_save_CFLAGS"
26474           if test x$gcc_no_link = xyes; then
26475   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26476 fi
26477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26478 /* end confdefs.h.  */
26479 #include <pthread.h>
26480                 void *g(void *d) { return NULL; }
26481 int
26482 main ()
26483 {
26484 pthread_t t; pthread_create(&t,NULL,g,NULL);
26485   ;
26486   return 0;
26487 }
26488 _ACEOF
26489 if ac_fn_c_try_link "$LINENO"; then :
26490   thread_CFLAGS="$flag"
26491 fi
26492 rm -f core conftest.err conftest.$ac_objext \
26493     conftest$ac_exeext conftest.$ac_ext
26494           if test "X$thread_CFLAGS" != Xfailed; then
26495             break
26496           fi
26497         done
26498         CFLAGS="$chktls_save_CFLAGS"
26499         if test "X$thread_CFLAGS" != Xfailed; then
26500           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26501                                                   if test "$cross_compiling" = yes; then :
26502   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26504 as_fn_error "cannot run test program while cross compiling
26505 See \`config.log' for more details." "$LINENO" 5; }
26506 else
26507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26508 /* end confdefs.h.  */
26509 #include <pthread.h>
26510                 __thread int a;
26511                 static int *volatile a_in_other_thread;
26512                 static void *
26513                 thread_func (void *arg)
26514                 {
26515                   a_in_other_thread = &a;
26516                   return (void *)0;
26517                 }
26518 int
26519 main ()
26520 {
26521 pthread_t thread;
26522                 void *thread_retval;
26523                 int *volatile a_in_main_thread;
26524                 a_in_main_thread = &a;
26525                 if (pthread_create (&thread, (pthread_attr_t *)0,
26526                                     thread_func, (void *)0))
26527                   return 0;
26528                 if (pthread_join (thread, &thread_retval))
26529                   return 0;
26530                 return (a_in_other_thread == a_in_main_thread);
26531   ;
26532   return 0;
26533 }
26534 _ACEOF
26535 if ac_fn_c_try_run "$LINENO"; then :
26536   gcc_cv_have_tls=yes
26537 else
26538   gcc_cv_have_tls=no
26539 fi
26540 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26541   conftest.$ac_objext conftest.beam conftest.$ac_ext
26542 fi
26543
26544           CFLAGS="$chktls_save_CFLAGS"
26545         fi
26546       fi
26547 else
26548   gcc_cv_have_tls=no
26549 fi
26550 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26551   conftest.$ac_objext conftest.beam conftest.$ac_ext
26552 fi
26553
26554 fi
26555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26556 $as_echo "$gcc_cv_have_tls" >&6; }
26557   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26558
26559 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26560
26561   fi
26562
26563   # For iconv support.
26564
26565       if test "X$prefix" = "XNONE"; then
26566     acl_final_prefix="$ac_default_prefix"
26567   else
26568     acl_final_prefix="$prefix"
26569   fi
26570   if test "X$exec_prefix" = "XNONE"; then
26571     acl_final_exec_prefix='${prefix}'
26572   else
26573     acl_final_exec_prefix="$exec_prefix"
26574   fi
26575   acl_save_prefix="$prefix"
26576   prefix="$acl_final_prefix"
26577   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26578   prefix="$acl_save_prefix"
26579
26580
26581 # Check whether --with-gnu-ld was given.
26582 if test "${with_gnu_ld+set}" = set; then :
26583   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26584 else
26585   with_gnu_ld=no
26586 fi
26587
26588 # Prepare PATH_SEPARATOR.
26589 # The user is always right.
26590 if test "${PATH_SEPARATOR+set}" != set; then
26591   echo "#! /bin/sh" >conf$$.sh
26592   echo  "exit 0"   >>conf$$.sh
26593   chmod +x conf$$.sh
26594   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26595     PATH_SEPARATOR=';'
26596   else
26597     PATH_SEPARATOR=:
26598   fi
26599   rm -f conf$$.sh
26600 fi
26601 ac_prog=ld
26602 if test "$GCC" = yes; then
26603   # Check if gcc -print-prog-name=ld gives a path.
26604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26605 $as_echo_n "checking for ld used by GCC... " >&6; }
26606   case $host in
26607   *-*-mingw*)
26608     # gcc leaves a trailing carriage return which upsets mingw
26609     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26610   *)
26611     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26612   esac
26613   case $ac_prog in
26614     # Accept absolute paths.
26615     [\\/]* | [A-Za-z]:[\\/]*)
26616       re_direlt='/[^/][^/]*/\.\./'
26617       # Canonicalize the path of ld
26618       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26619       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26620         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26621       done
26622       test -z "$LD" && LD="$ac_prog"
26623       ;;
26624   "")
26625     # If it fails, then pretend we aren't using GCC.
26626     ac_prog=ld
26627     ;;
26628   *)
26629     # If it is relative, then search for the first ld in PATH.
26630     with_gnu_ld=unknown
26631     ;;
26632   esac
26633 elif test "$with_gnu_ld" = yes; then
26634   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26635 $as_echo_n "checking for GNU ld... " >&6; }
26636 else
26637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26638 $as_echo_n "checking for non-GNU ld... " >&6; }
26639 fi
26640 if test "${acl_cv_path_LD+set}" = set; then :
26641   $as_echo_n "(cached) " >&6
26642 else
26643   if test -z "$LD"; then
26644   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26645   for ac_dir in $PATH; do
26646     test -z "$ac_dir" && ac_dir=.
26647     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26648       acl_cv_path_LD="$ac_dir/$ac_prog"
26649       # Check to see if the program is GNU ld.  I'd rather use --version,
26650       # but apparently some GNU ld's only accept -v.
26651       # Break only if it was the GNU/non-GNU ld that we prefer.
26652       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26653         test "$with_gnu_ld" != no && break
26654       else
26655         test "$with_gnu_ld" != yes && break
26656       fi
26657     fi
26658   done
26659   IFS="$ac_save_ifs"
26660 else
26661   acl_cv_path_LD="$LD" # Let the user override the test with a path.
26662 fi
26663 fi
26664
26665 LD="$acl_cv_path_LD"
26666 if test -n "$LD"; then
26667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26668 $as_echo "$LD" >&6; }
26669 else
26670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26671 $as_echo "no" >&6; }
26672 fi
26673 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26675 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26676 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26677   $as_echo_n "(cached) " >&6
26678 else
26679   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26680 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26681   acl_cv_prog_gnu_ld=yes
26682 else
26683   acl_cv_prog_gnu_ld=no
26684 fi
26685 fi
26686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26687 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26688 with_gnu_ld=$acl_cv_prog_gnu_ld
26689
26690
26691
26692                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26693 $as_echo_n "checking for shared library run path origin... " >&6; }
26694 if test "${acl_cv_rpath+set}" = set; then :
26695   $as_echo_n "(cached) " >&6
26696 else
26697
26698     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26699     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26700     . ./conftest.sh
26701     rm -f ./conftest.sh
26702     acl_cv_rpath=done
26703
26704 fi
26705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26706 $as_echo "$acl_cv_rpath" >&6; }
26707   wl="$acl_cv_wl"
26708   libext="$acl_cv_libext"
26709   shlibext="$acl_cv_shlibext"
26710   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26711   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26712   hardcode_direct="$acl_cv_hardcode_direct"
26713   hardcode_minus_L="$acl_cv_hardcode_minus_L"
26714     # Check whether --enable-rpath was given.
26715 if test "${enable_rpath+set}" = set; then :
26716   enableval=$enable_rpath; :
26717 else
26718   enable_rpath=yes
26719 fi
26720
26721
26722
26723
26724
26725
26726
26727
26728     use_additional=yes
26729
26730   acl_save_prefix="$prefix"
26731   prefix="$acl_final_prefix"
26732   acl_save_exec_prefix="$exec_prefix"
26733   exec_prefix="$acl_final_exec_prefix"
26734
26735     eval additional_includedir=\"$includedir\"
26736     eval additional_libdir=\"$libdir\"
26737
26738   exec_prefix="$acl_save_exec_prefix"
26739   prefix="$acl_save_prefix"
26740
26741
26742 # Check whether --with-libiconv-prefix was given.
26743 if test "${with_libiconv_prefix+set}" = set; then :
26744   withval=$with_libiconv_prefix;
26745     if test "X$withval" = "Xno"; then
26746       use_additional=no
26747     else
26748       if test "X$withval" = "X"; then
26749
26750   acl_save_prefix="$prefix"
26751   prefix="$acl_final_prefix"
26752   acl_save_exec_prefix="$exec_prefix"
26753   exec_prefix="$acl_final_exec_prefix"
26754
26755           eval additional_includedir=\"$includedir\"
26756           eval additional_libdir=\"$libdir\"
26757
26758   exec_prefix="$acl_save_exec_prefix"
26759   prefix="$acl_save_prefix"
26760
26761       else
26762         additional_includedir="$withval/include"
26763         additional_libdir="$withval/lib"
26764       fi
26765     fi
26766
26767 fi
26768
26769       LIBICONV=
26770   LTLIBICONV=
26771   INCICONV=
26772   rpathdirs=
26773   ltrpathdirs=
26774   names_already_handled=
26775   names_next_round='iconv '
26776   while test -n "$names_next_round"; do
26777     names_this_round="$names_next_round"
26778     names_next_round=
26779     for name in $names_this_round; do
26780       already_handled=
26781       for n in $names_already_handled; do
26782         if test "$n" = "$name"; then
26783           already_handled=yes
26784           break
26785         fi
26786       done
26787       if test -z "$already_handled"; then
26788         names_already_handled="$names_already_handled $name"
26789                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26790         eval value=\"\$HAVE_LIB$uppername\"
26791         if test -n "$value"; then
26792           if test "$value" = yes; then
26793             eval value=\"\$LIB$uppername\"
26794             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26795             eval value=\"\$LTLIB$uppername\"
26796             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26797           else
26798                                     :
26799           fi
26800         else
26801                               found_dir=
26802           found_la=
26803           found_so=
26804           found_a=
26805           if test $use_additional = yes; then
26806             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26807               found_dir="$additional_libdir"
26808               found_so="$additional_libdir/lib$name.$shlibext"
26809               if test -f "$additional_libdir/lib$name.la"; then
26810                 found_la="$additional_libdir/lib$name.la"
26811               fi
26812             else
26813               if test -f "$additional_libdir/lib$name.$libext"; then
26814                 found_dir="$additional_libdir"
26815                 found_a="$additional_libdir/lib$name.$libext"
26816                 if test -f "$additional_libdir/lib$name.la"; then
26817                   found_la="$additional_libdir/lib$name.la"
26818                 fi
26819               fi
26820             fi
26821           fi
26822           if test "X$found_dir" = "X"; then
26823             for x in $LDFLAGS $LTLIBICONV; do
26824
26825   acl_save_prefix="$prefix"
26826   prefix="$acl_final_prefix"
26827   acl_save_exec_prefix="$exec_prefix"
26828   exec_prefix="$acl_final_exec_prefix"
26829   eval x=\"$x\"
26830   exec_prefix="$acl_save_exec_prefix"
26831   prefix="$acl_save_prefix"
26832
26833               case "$x" in
26834                 -L*)
26835                   dir=`echo "X$x" | sed -e 's/^X-L//'`
26836                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26837                     found_dir="$dir"
26838                     found_so="$dir/lib$name.$shlibext"
26839                     if test -f "$dir/lib$name.la"; then
26840                       found_la="$dir/lib$name.la"
26841                     fi
26842                   else
26843                     if test -f "$dir/lib$name.$libext"; then
26844                       found_dir="$dir"
26845                       found_a="$dir/lib$name.$libext"
26846                       if test -f "$dir/lib$name.la"; then
26847                         found_la="$dir/lib$name.la"
26848                       fi
26849                     fi
26850                   fi
26851                   ;;
26852               esac
26853               if test "X$found_dir" != "X"; then
26854                 break
26855               fi
26856             done
26857           fi
26858           if test "X$found_dir" != "X"; then
26859                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26860             if test "X$found_so" != "X"; then
26861                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26862                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26863               else
26864                                                                                 haveit=
26865                 for x in $ltrpathdirs; do
26866                   if test "X$x" = "X$found_dir"; then
26867                     haveit=yes
26868                     break
26869                   fi
26870                 done
26871                 if test -z "$haveit"; then
26872                   ltrpathdirs="$ltrpathdirs $found_dir"
26873                 fi
26874                                 if test "$hardcode_direct" = yes; then
26875                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26876                 else
26877                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26878                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26879                                                             haveit=
26880                     for x in $rpathdirs; do
26881                       if test "X$x" = "X$found_dir"; then
26882                         haveit=yes
26883                         break
26884                       fi
26885                     done
26886                     if test -z "$haveit"; then
26887                       rpathdirs="$rpathdirs $found_dir"
26888                     fi
26889                   else
26890                                                                                 haveit=
26891                     for x in $LDFLAGS $LIBICONV; do
26892
26893   acl_save_prefix="$prefix"
26894   prefix="$acl_final_prefix"
26895   acl_save_exec_prefix="$exec_prefix"
26896   exec_prefix="$acl_final_exec_prefix"
26897   eval x=\"$x\"
26898   exec_prefix="$acl_save_exec_prefix"
26899   prefix="$acl_save_prefix"
26900
26901                       if test "X$x" = "X-L$found_dir"; then
26902                         haveit=yes
26903                         break
26904                       fi
26905                     done
26906                     if test -z "$haveit"; then
26907                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26908                     fi
26909                     if test "$hardcode_minus_L" != no; then
26910                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26911                     else
26912                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26913                     fi
26914                   fi
26915                 fi
26916               fi
26917             else
26918               if test "X$found_a" != "X"; then
26919                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26920               else
26921                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26922               fi
26923             fi
26924                         additional_includedir=
26925             case "$found_dir" in
26926               */lib | */lib/)
26927                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26928                 additional_includedir="$basedir/include"
26929                 ;;
26930             esac
26931             if test "X$additional_includedir" != "X"; then
26932                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
26933                 haveit=
26934                 if test "X$additional_includedir" = "X/usr/local/include"; then
26935                   if test -n "$GCC"; then
26936                     case $host_os in
26937                       linux*) haveit=yes;;
26938                     esac
26939                   fi
26940                 fi
26941                 if test -z "$haveit"; then
26942                   for x in $CPPFLAGS $INCICONV; do
26943
26944   acl_save_prefix="$prefix"
26945   prefix="$acl_final_prefix"
26946   acl_save_exec_prefix="$exec_prefix"
26947   exec_prefix="$acl_final_exec_prefix"
26948   eval x=\"$x\"
26949   exec_prefix="$acl_save_exec_prefix"
26950   prefix="$acl_save_prefix"
26951
26952                     if test "X$x" = "X-I$additional_includedir"; then
26953                       haveit=yes
26954                       break
26955                     fi
26956                   done
26957                   if test -z "$haveit"; then
26958                     if test -d "$additional_includedir"; then
26959                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26960                     fi
26961                   fi
26962                 fi
26963               fi
26964             fi
26965                         if test -n "$found_la"; then
26966                                                         save_libdir="$libdir"
26967               case "$found_la" in
26968                 */* | *\\*) . "$found_la" ;;
26969                 *) . "./$found_la" ;;
26970               esac
26971               libdir="$save_libdir"
26972                             for dep in $dependency_libs; do
26973                 case "$dep" in
26974                   -L*)
26975                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26976                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
26977                       haveit=
26978                       if test "X$additional_libdir" = "X/usr/local/lib"; then
26979                         if test -n "$GCC"; then
26980                           case $host_os in
26981                             linux*) haveit=yes;;
26982                           esac
26983                         fi
26984                       fi
26985                       if test -z "$haveit"; then
26986                         haveit=
26987                         for x in $LDFLAGS $LIBICONV; do
26988
26989   acl_save_prefix="$prefix"
26990   prefix="$acl_final_prefix"
26991   acl_save_exec_prefix="$exec_prefix"
26992   exec_prefix="$acl_final_exec_prefix"
26993   eval x=\"$x\"
26994   exec_prefix="$acl_save_exec_prefix"
26995   prefix="$acl_save_prefix"
26996
26997                           if test "X$x" = "X-L$additional_libdir"; then
26998                             haveit=yes
26999                             break
27000                           fi
27001                         done
27002                         if test -z "$haveit"; then
27003                           if test -d "$additional_libdir"; then
27004                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27005                           fi
27006                         fi
27007                         haveit=
27008                         for x in $LDFLAGS $LTLIBICONV; do
27009
27010   acl_save_prefix="$prefix"
27011   prefix="$acl_final_prefix"
27012   acl_save_exec_prefix="$exec_prefix"
27013   exec_prefix="$acl_final_exec_prefix"
27014   eval x=\"$x\"
27015   exec_prefix="$acl_save_exec_prefix"
27016   prefix="$acl_save_prefix"
27017
27018                           if test "X$x" = "X-L$additional_libdir"; then
27019                             haveit=yes
27020                             break
27021                           fi
27022                         done
27023                         if test -z "$haveit"; then
27024                           if test -d "$additional_libdir"; then
27025                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27026                           fi
27027                         fi
27028                       fi
27029                     fi
27030                     ;;
27031                   -R*)
27032                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
27033                     if test "$enable_rpath" != no; then
27034                                                                   haveit=
27035                       for x in $rpathdirs; do
27036                         if test "X$x" = "X$dir"; then
27037                           haveit=yes
27038                           break
27039                         fi
27040                       done
27041                       if test -z "$haveit"; then
27042                         rpathdirs="$rpathdirs $dir"
27043                       fi
27044                                                                   haveit=
27045                       for x in $ltrpathdirs; do
27046                         if test "X$x" = "X$dir"; then
27047                           haveit=yes
27048                           break
27049                         fi
27050                       done
27051                       if test -z "$haveit"; then
27052                         ltrpathdirs="$ltrpathdirs $dir"
27053                       fi
27054                     fi
27055                     ;;
27056                   -l*)
27057                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27058                     ;;
27059                   *.la)
27060                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27061                     ;;
27062                   *)
27063                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27064                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27065                     ;;
27066                 esac
27067               done
27068             fi
27069           else
27070                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27071             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27072           fi
27073         fi
27074       fi
27075     done
27076   done
27077   if test "X$rpathdirs" != "X"; then
27078     if test -n "$hardcode_libdir_separator"; then
27079                         alldirs=
27080       for found_dir in $rpathdirs; do
27081         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27082       done
27083             acl_save_libdir="$libdir"
27084       libdir="$alldirs"
27085       eval flag=\"$hardcode_libdir_flag_spec\"
27086       libdir="$acl_save_libdir"
27087       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27088     else
27089             for found_dir in $rpathdirs; do
27090         acl_save_libdir="$libdir"
27091         libdir="$found_dir"
27092         eval flag=\"$hardcode_libdir_flag_spec\"
27093         libdir="$acl_save_libdir"
27094         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27095       done
27096     fi
27097   fi
27098   if test "X$ltrpathdirs" != "X"; then
27099             for found_dir in $ltrpathdirs; do
27100       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27101     done
27102   fi
27103
27104
27105
27106
27107
27108
27109
27110           am_save_CPPFLAGS="$CPPFLAGS"
27111
27112   for element in $INCICONV; do
27113     haveit=
27114     for x in $CPPFLAGS; do
27115
27116   acl_save_prefix="$prefix"
27117   prefix="$acl_final_prefix"
27118   acl_save_exec_prefix="$exec_prefix"
27119   exec_prefix="$acl_final_exec_prefix"
27120   eval x=\"$x\"
27121   exec_prefix="$acl_save_exec_prefix"
27122   prefix="$acl_save_prefix"
27123
27124       if test "X$x" = "X$element"; then
27125         haveit=yes
27126         break
27127       fi
27128     done
27129     if test -z "$haveit"; then
27130       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27131     fi
27132   done
27133
27134
27135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27136 $as_echo_n "checking for iconv... " >&6; }
27137 if test "${am_cv_func_iconv+set}" = set; then :
27138   $as_echo_n "(cached) " >&6
27139 else
27140
27141     am_cv_func_iconv="no, consider installing GNU libiconv"
27142     am_cv_lib_iconv=no
27143     if test x$gcc_no_link = xyes; then
27144   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27145 fi
27146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27147 /* end confdefs.h.  */
27148 #include <stdlib.h>
27149 #include <iconv.h>
27150 int
27151 main ()
27152 {
27153 iconv_t cd = iconv_open("","");
27154        iconv(cd,NULL,NULL,NULL,NULL);
27155        iconv_close(cd);
27156   ;
27157   return 0;
27158 }
27159 _ACEOF
27160 if ac_fn_c_try_link "$LINENO"; then :
27161   am_cv_func_iconv=yes
27162 fi
27163 rm -f core conftest.err conftest.$ac_objext \
27164     conftest$ac_exeext conftest.$ac_ext
27165     if test "$am_cv_func_iconv" != yes; then
27166       am_save_LIBS="$LIBS"
27167       LIBS="$LIBS $LIBICONV"
27168       if test x$gcc_no_link = xyes; then
27169   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27170 fi
27171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27172 /* end confdefs.h.  */
27173 #include <stdlib.h>
27174 #include <iconv.h>
27175 int
27176 main ()
27177 {
27178 iconv_t cd = iconv_open("","");
27179          iconv(cd,NULL,NULL,NULL,NULL);
27180          iconv_close(cd);
27181   ;
27182   return 0;
27183 }
27184 _ACEOF
27185 if ac_fn_c_try_link "$LINENO"; then :
27186   am_cv_lib_iconv=yes
27187         am_cv_func_iconv=yes
27188 fi
27189 rm -f core conftest.err conftest.$ac_objext \
27190     conftest$ac_exeext conftest.$ac_ext
27191       LIBS="$am_save_LIBS"
27192     fi
27193
27194 fi
27195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27196 $as_echo "$am_cv_func_iconv" >&6; }
27197   if test "$am_cv_func_iconv" = yes; then
27198
27199 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27200
27201   fi
27202   if test "$am_cv_lib_iconv" = yes; then
27203     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27204 $as_echo_n "checking how to link with libiconv... " >&6; }
27205     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27206 $as_echo "$LIBICONV" >&6; }
27207   else
27208             CPPFLAGS="$am_save_CPPFLAGS"
27209     LIBICONV=
27210     LTLIBICONV=
27211   fi
27212
27213
27214
27215   if test "$am_cv_func_iconv" = yes; then
27216     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27217 $as_echo_n "checking for iconv declaration... " >&6; }
27218     if test "${am_cv_proto_iconv+set}" = set; then :
27219   $as_echo_n "(cached) " >&6
27220 else
27221
27222       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27223 /* end confdefs.h.  */
27224
27225 #include <stdlib.h>
27226 #include <iconv.h>
27227 extern
27228 #ifdef __cplusplus
27229 "C"
27230 #endif
27231 #if defined(__STDC__) || defined(__cplusplus)
27232 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27233 #else
27234 size_t iconv();
27235 #endif
27236
27237 int
27238 main ()
27239 {
27240
27241   ;
27242   return 0;
27243 }
27244 _ACEOF
27245 if ac_fn_c_try_compile "$LINENO"; then :
27246   am_cv_proto_iconv_arg1=""
27247 else
27248   am_cv_proto_iconv_arg1="const"
27249 fi
27250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27251       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);"
27252 fi
27253
27254     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27255     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27256          }$am_cv_proto_iconv" >&5
27257 $as_echo "${ac_t:-
27258          }$am_cv_proto_iconv" >&6; }
27259
27260 cat >>confdefs.h <<_ACEOF
27261 #define ICONV_CONST $am_cv_proto_iconv_arg1
27262 _ACEOF
27263
27264   fi
27265
27266
27267 else
27268
27269   # This lets us hard-code the functionality we know we'll have in the cross
27270   # target environment.  "Let" is a sugar-coated word placed on an especially
27271   # dull and tedious hack, actually.
27272   #
27273   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27274   # that involve linking, can't be used:
27275   #    "cannot open sim-crt0.o"
27276   #    "cannot open crt0.o"
27277   # etc.  All this is because there currently exists no unified, consistent
27278   # way for top level CC information to be passed down to target directories:
27279   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27280   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27281   # crosses can be removed.
27282
27283   # If Canadian cross, then don't pick up tools from the build directory.
27284   # Used only in GLIBCXX_EXPORT_INCLUDES.
27285   if test -n "$with_cross_host" &&
27286      test x"$build_alias" != x"$with_cross_host" &&
27287      test x"$build" != x"$target";
27288   then
27289     CANADIAN=yes
27290   else
27291     CANADIAN=no
27292   fi
27293
27294   # Construct crosses by hand, eliminating bits that need ld...
27295   # GLIBCXX_CHECK_MATH_SUPPORT
27296
27297   # First, test for "known" system libraries.  We may be using newlib even
27298   # on a hosted environment.
27299   if test "x${with_newlib}" = "xyes"; then
27300     os_include_dir="os/newlib"
27301     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27302
27303
27304     # GLIBCXX_CHECK_STDLIB_SUPPORT
27305     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27306
27307
27308     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27309
27310     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27311
27312     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27313
27314     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27315
27316     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27317
27318     $as_echo "#define HAVE_COSF 1" >>confdefs.h
27319
27320     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27321
27322     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27323
27324     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27325
27326     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27327
27328     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27329
27330     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27331
27332     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27333
27334     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27335
27336     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27337
27338     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27339
27340     $as_echo "#define HAVE_POWF 1" >>confdefs.h
27341
27342     $as_echo "#define HAVE_SINF 1" >>confdefs.h
27343
27344     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27345
27346     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27347
27348     $as_echo "#define HAVE_TANF 1" >>confdefs.h
27349
27350     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27351
27352
27353     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27354
27355   else
27356
27357 # Base decisions on target environment.
27358 case "${host}" in
27359   arm*-*-symbianelf*)
27360     # This is a freestanding configuration; there is nothing to do here.
27361     ;;
27362
27363   mips*-sde-elf*)
27364     # These definitions are for the SDE C library rather than newlib.
27365     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27366
27367
27368   # All these tests are for C++; save the language and the compiler flags.
27369   # The CXXFLAGS thing is suspicious, but based on similar bits previously
27370   # found in GLIBCXX_CONFIGURE.
27371
27372   ac_ext=cpp
27373 ac_cpp='$CXXCPP $CPPFLAGS'
27374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27377
27378   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27379   ac_save_CXXFLAGS="$CXXFLAGS"
27380
27381   # Check for maintainer-mode bits.
27382   if test x"$USE_MAINTAINER_MODE" = xno; then
27383     WERROR=''
27384   else
27385     WERROR='-Werror'
27386   fi
27387
27388   # Check for -ffunction-sections -fdata-sections
27389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27390 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27391   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27393 /* end confdefs.h.  */
27394 int foo; void bar() { };
27395 int
27396 main ()
27397 {
27398
27399   ;
27400   return 0;
27401 }
27402 _ACEOF
27403 if ac_fn_cxx_try_compile "$LINENO"; then :
27404   ac_fdsections=yes
27405 else
27406   ac_fdsections=no
27407 fi
27408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27409   if test "$ac_test_CXXFLAGS" = set; then
27410     CXXFLAGS="$ac_save_CXXFLAGS"
27411   else
27412     # this is the suspicious part
27413     CXXFLAGS=''
27414   fi
27415   if test x"$ac_fdsections" = x"yes"; then
27416     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27417   fi
27418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27419 $as_echo "$ac_fdsections" >&6; }
27420
27421   ac_ext=c
27422 ac_cpp='$CPP $CPPFLAGS'
27423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27426
27427
27428
27429
27430
27431   # If we're not using GNU ld, then there's no point in even trying these
27432   # tests.  Check for that first.  We should have already tested for gld
27433   # by now (in libtool), but require it now just to be safe...
27434   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27435   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27436
27437
27438
27439   # The name set by libtool depends on the version of libtool.  Shame on us
27440   # for depending on an impl detail, but c'est la vie.  Older versions used
27441   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27442   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27443   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
27444   # set (hence we're using an older libtool), then set it.
27445   if test x${with_gnu_ld+set} != xset; then
27446     if test x${ac_cv_prog_gnu_ld+set} != xset; then
27447       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
27448       with_gnu_ld=no
27449     else
27450       with_gnu_ld=$ac_cv_prog_gnu_ld
27451     fi
27452   fi
27453
27454   # Start by getting the version number.  I think the libtool test already
27455   # does some of this, but throws away the result.
27456   glibcxx_ld_is_gold=no
27457   if test x"$with_gnu_ld" = x"yes"; then
27458     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27459 $as_echo_n "checking for ld version... " >&6; }
27460
27461     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27462       glibcxx_ld_is_gold=yes
27463     fi
27464     ldver=`$LD --version 2>/dev/null |
27465            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'`
27466
27467     glibcxx_gnu_ld_version=`echo $ldver | \
27468            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27469     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27470 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27471   fi
27472
27473   # Set --gc-sections.
27474   glibcxx_have_gc_sections=no
27475   if test "$glibcxx_ld_is_gold" = "yes"; then
27476     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27477       glibcxx_have_gc_sections=yes
27478     fi
27479   else
27480     glibcxx_gcsections_min_ld=21602
27481     if test x"$with_gnu_ld" = x"yes" &&
27482         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27483       glibcxx_have_gc_sections=yes
27484     fi
27485   fi
27486   if test "$glibcxx_have_gc_sections" = "yes"; then
27487     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
27488     # NB: This flag only works reliably after 2.16.1. Configure tests
27489     # for this are difficult, so hard wire a value that should work.
27490
27491     ac_test_CFLAGS="${CFLAGS+set}"
27492     ac_save_CFLAGS="$CFLAGS"
27493     CFLAGS='-Wl,--gc-sections'
27494
27495     # Check for -Wl,--gc-sections
27496     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27497 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27498     if test x$gcc_no_link = xyes; then
27499   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27500 fi
27501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27502 /* end confdefs.h.  */
27503  int one(void) { return 1; }
27504      int two(void) { return 2; }
27505
27506 int
27507 main ()
27508 {
27509  two();
27510   ;
27511   return 0;
27512 }
27513 _ACEOF
27514 if ac_fn_c_try_link "$LINENO"; then :
27515   ac_gcsections=yes
27516 else
27517   ac_gcsections=no
27518 fi
27519 rm -f core conftest.err conftest.$ac_objext \
27520     conftest$ac_exeext conftest.$ac_ext
27521     if test "$ac_gcsections" = "yes"; then
27522       rm -f conftest.c
27523       touch conftest.c
27524       if $CC -c conftest.c; then
27525         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27526            grep "Warning: gc-sections option ignored" > /dev/null; then
27527           ac_gcsections=no
27528         fi
27529       fi
27530       rm -f conftest.c conftest.o conftest
27531     fi
27532     if test "$ac_gcsections" = "yes"; then
27533       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27534     fi
27535     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27536 $as_echo "$ac_gcsections" >&6; }
27537
27538     if test "$ac_test_CFLAGS" = set; then
27539       CFLAGS="$ac_save_CFLAGS"
27540     else
27541       # this is the suspicious part
27542       CFLAGS=''
27543     fi
27544   fi
27545
27546   # Set -z,relro.
27547   # Note this is only for shared objects.
27548   ac_ld_relro=no
27549   if test x"$with_gnu_ld" = x"yes"; then
27550     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27551 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27552     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27553     if test -n "$cxx_z_relo"; then
27554       OPT_LDFLAGS="-Wl,-z,relro"
27555       ac_ld_relro=yes
27556     fi
27557     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27558 $as_echo "$ac_ld_relro" >&6; }
27559   fi
27560
27561   # Set linker optimization flags.
27562   if test x"$with_gnu_ld" = x"yes"; then
27563     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27564   fi
27565
27566
27567
27568
27569
27570   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27571   ac_save_CXXFLAGS="$CXXFLAGS"
27572   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27573
27574     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27575 $as_echo_n "checking for sin in -lm... " >&6; }
27576 if test "${ac_cv_lib_m_sin+set}" = set; then :
27577   $as_echo_n "(cached) " >&6
27578 else
27579   ac_check_lib_save_LIBS=$LIBS
27580 LIBS="-lm  $LIBS"
27581 if test x$gcc_no_link = xyes; then
27582   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27583 fi
27584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27585 /* end confdefs.h.  */
27586
27587 /* Override any GCC internal prototype to avoid an error.
27588    Use char because int might match the return type of a GCC
27589    builtin and then its argument prototype would still apply.  */
27590 #ifdef __cplusplus
27591 extern "C"
27592 #endif
27593 char sin ();
27594 int
27595 main ()
27596 {
27597 return sin ();
27598   ;
27599   return 0;
27600 }
27601 _ACEOF
27602 if ac_fn_c_try_link "$LINENO"; then :
27603   ac_cv_lib_m_sin=yes
27604 else
27605   ac_cv_lib_m_sin=no
27606 fi
27607 rm -f core conftest.err conftest.$ac_objext \
27608     conftest$ac_exeext conftest.$ac_ext
27609 LIBS=$ac_check_lib_save_LIBS
27610 fi
27611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27612 $as_echo "$ac_cv_lib_m_sin" >&6; }
27613 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27614   libm="-lm"
27615 fi
27616
27617   ac_save_LIBS="$LIBS"
27618   LIBS="$LIBS $libm"
27619
27620
27621
27622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27623 $as_echo_n "checking for isinf declaration... " >&6; }
27624   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27625     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27626   $as_echo_n "(cached) " >&6
27627 else
27628
27629
27630       ac_ext=cpp
27631 ac_cpp='$CXXCPP $CPPFLAGS'
27632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27635
27636       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27637 /* end confdefs.h.  */
27638 #include <math.h>
27639                       #ifdef HAVE_IEEEFP_H
27640                       #include <ieeefp.h>
27641                       #endif
27642
27643 int
27644 main ()
27645 {
27646  isinf(0);
27647   ;
27648   return 0;
27649 }
27650 _ACEOF
27651 if ac_fn_cxx_try_compile "$LINENO"; then :
27652   glibcxx_cv_func_isinf_use=yes
27653 else
27654   glibcxx_cv_func_isinf_use=no
27655 fi
27656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27657       ac_ext=c
27658 ac_cpp='$CPP $CPPFLAGS'
27659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27662
27663
27664 fi
27665
27666   fi
27667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27668 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27669
27670   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27671     for ac_func in isinf
27672 do :
27673   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27674 if test "x$ac_cv_func_isinf" = x""yes; then :
27675   cat >>confdefs.h <<_ACEOF
27676 #define HAVE_ISINF 1
27677 _ACEOF
27678
27679 fi
27680 done
27681
27682   else
27683
27684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27685 $as_echo_n "checking for _isinf declaration... " >&6; }
27686   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27687     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27688   $as_echo_n "(cached) " >&6
27689 else
27690
27691
27692       ac_ext=cpp
27693 ac_cpp='$CXXCPP $CPPFLAGS'
27694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27697
27698       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27699 /* end confdefs.h.  */
27700 #include <math.h>
27701                       #ifdef HAVE_IEEEFP_H
27702                       #include <ieeefp.h>
27703                       #endif
27704
27705 int
27706 main ()
27707 {
27708  _isinf(0);
27709   ;
27710   return 0;
27711 }
27712 _ACEOF
27713 if ac_fn_cxx_try_compile "$LINENO"; then :
27714   glibcxx_cv_func__isinf_use=yes
27715 else
27716   glibcxx_cv_func__isinf_use=no
27717 fi
27718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27719       ac_ext=c
27720 ac_cpp='$CPP $CPPFLAGS'
27721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27724
27725
27726 fi
27727
27728   fi
27729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27730 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27731
27732     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27733       for ac_func in _isinf
27734 do :
27735   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27736 if test "x$ac_cv_func__isinf" = x""yes; then :
27737   cat >>confdefs.h <<_ACEOF
27738 #define HAVE__ISINF 1
27739 _ACEOF
27740
27741 fi
27742 done
27743
27744     fi
27745   fi
27746
27747
27748
27749
27750
27751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27752 $as_echo_n "checking for isnan declaration... " >&6; }
27753   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27754     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27755   $as_echo_n "(cached) " >&6
27756 else
27757
27758
27759       ac_ext=cpp
27760 ac_cpp='$CXXCPP $CPPFLAGS'
27761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27764
27765       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27766 /* end confdefs.h.  */
27767 #include <math.h>
27768                       #ifdef HAVE_IEEEFP_H
27769                       #include <ieeefp.h>
27770                       #endif
27771
27772 int
27773 main ()
27774 {
27775  isnan(0);
27776   ;
27777   return 0;
27778 }
27779 _ACEOF
27780 if ac_fn_cxx_try_compile "$LINENO"; then :
27781   glibcxx_cv_func_isnan_use=yes
27782 else
27783   glibcxx_cv_func_isnan_use=no
27784 fi
27785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27786       ac_ext=c
27787 ac_cpp='$CPP $CPPFLAGS'
27788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27791
27792
27793 fi
27794
27795   fi
27796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27797 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27798
27799   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27800     for ac_func in isnan
27801 do :
27802   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27803 if test "x$ac_cv_func_isnan" = x""yes; then :
27804   cat >>confdefs.h <<_ACEOF
27805 #define HAVE_ISNAN 1
27806 _ACEOF
27807
27808 fi
27809 done
27810
27811   else
27812
27813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27814 $as_echo_n "checking for _isnan declaration... " >&6; }
27815   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27816     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27817   $as_echo_n "(cached) " >&6
27818 else
27819
27820
27821       ac_ext=cpp
27822 ac_cpp='$CXXCPP $CPPFLAGS'
27823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27826
27827       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27828 /* end confdefs.h.  */
27829 #include <math.h>
27830                       #ifdef HAVE_IEEEFP_H
27831                       #include <ieeefp.h>
27832                       #endif
27833
27834 int
27835 main ()
27836 {
27837  _isnan(0);
27838   ;
27839   return 0;
27840 }
27841 _ACEOF
27842 if ac_fn_cxx_try_compile "$LINENO"; then :
27843   glibcxx_cv_func__isnan_use=yes
27844 else
27845   glibcxx_cv_func__isnan_use=no
27846 fi
27847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27848       ac_ext=c
27849 ac_cpp='$CPP $CPPFLAGS'
27850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27853
27854
27855 fi
27856
27857   fi
27858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27859 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27860
27861     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27862       for ac_func in _isnan
27863 do :
27864   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27865 if test "x$ac_cv_func__isnan" = x""yes; then :
27866   cat >>confdefs.h <<_ACEOF
27867 #define HAVE__ISNAN 1
27868 _ACEOF
27869
27870 fi
27871 done
27872
27873     fi
27874   fi
27875
27876
27877
27878
27879
27880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27881 $as_echo_n "checking for finite declaration... " >&6; }
27882   if test x${glibcxx_cv_func_finite_use+set} != xset; then
27883     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27884   $as_echo_n "(cached) " >&6
27885 else
27886
27887
27888       ac_ext=cpp
27889 ac_cpp='$CXXCPP $CPPFLAGS'
27890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27893
27894       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27895 /* end confdefs.h.  */
27896 #include <math.h>
27897                       #ifdef HAVE_IEEEFP_H
27898                       #include <ieeefp.h>
27899                       #endif
27900
27901 int
27902 main ()
27903 {
27904  finite(0);
27905   ;
27906   return 0;
27907 }
27908 _ACEOF
27909 if ac_fn_cxx_try_compile "$LINENO"; then :
27910   glibcxx_cv_func_finite_use=yes
27911 else
27912   glibcxx_cv_func_finite_use=no
27913 fi
27914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27915       ac_ext=c
27916 ac_cpp='$CPP $CPPFLAGS'
27917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27920
27921
27922 fi
27923
27924   fi
27925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27926 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27927
27928   if test x$glibcxx_cv_func_finite_use = x"yes"; then
27929     for ac_func in finite
27930 do :
27931   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27932 if test "x$ac_cv_func_finite" = x""yes; then :
27933   cat >>confdefs.h <<_ACEOF
27934 #define HAVE_FINITE 1
27935 _ACEOF
27936
27937 fi
27938 done
27939
27940   else
27941
27942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27943 $as_echo_n "checking for _finite declaration... " >&6; }
27944   if test x${glibcxx_cv_func__finite_use+set} != xset; then
27945     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27946   $as_echo_n "(cached) " >&6
27947 else
27948
27949
27950       ac_ext=cpp
27951 ac_cpp='$CXXCPP $CPPFLAGS'
27952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27955
27956       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27957 /* end confdefs.h.  */
27958 #include <math.h>
27959                       #ifdef HAVE_IEEEFP_H
27960                       #include <ieeefp.h>
27961                       #endif
27962
27963 int
27964 main ()
27965 {
27966  _finite(0);
27967   ;
27968   return 0;
27969 }
27970 _ACEOF
27971 if ac_fn_cxx_try_compile "$LINENO"; then :
27972   glibcxx_cv_func__finite_use=yes
27973 else
27974   glibcxx_cv_func__finite_use=no
27975 fi
27976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27977       ac_ext=c
27978 ac_cpp='$CPP $CPPFLAGS'
27979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27982
27983
27984 fi
27985
27986   fi
27987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27988 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27989
27990     if test x$glibcxx_cv_func__finite_use = x"yes"; then
27991       for ac_func in _finite
27992 do :
27993   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27994 if test "x$ac_cv_func__finite" = x""yes; then :
27995   cat >>confdefs.h <<_ACEOF
27996 #define HAVE__FINITE 1
27997 _ACEOF
27998
27999 fi
28000 done
28001
28002     fi
28003   fi
28004
28005
28006
28007
28008
28009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28010 $as_echo_n "checking for sincos declaration... " >&6; }
28011   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28012     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28013   $as_echo_n "(cached) " >&6
28014 else
28015
28016
28017       ac_ext=cpp
28018 ac_cpp='$CXXCPP $CPPFLAGS'
28019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28022
28023       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28024 /* end confdefs.h.  */
28025 #include <math.h>
28026 int
28027 main ()
28028 {
28029  sincos(0, 0, 0);
28030   ;
28031   return 0;
28032 }
28033 _ACEOF
28034 if ac_fn_cxx_try_compile "$LINENO"; then :
28035   glibcxx_cv_func_sincos_use=yes
28036 else
28037   glibcxx_cv_func_sincos_use=no
28038 fi
28039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28040       ac_ext=c
28041 ac_cpp='$CPP $CPPFLAGS'
28042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28045
28046
28047 fi
28048
28049   fi
28050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28051 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28052
28053   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28054     for ac_func in sincos
28055 do :
28056   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28057 if test "x$ac_cv_func_sincos" = x""yes; then :
28058   cat >>confdefs.h <<_ACEOF
28059 #define HAVE_SINCOS 1
28060 _ACEOF
28061
28062 fi
28063 done
28064
28065   else
28066
28067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28068 $as_echo_n "checking for _sincos declaration... " >&6; }
28069   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28070     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28071   $as_echo_n "(cached) " >&6
28072 else
28073
28074
28075       ac_ext=cpp
28076 ac_cpp='$CXXCPP $CPPFLAGS'
28077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28080
28081       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28082 /* end confdefs.h.  */
28083 #include <math.h>
28084 int
28085 main ()
28086 {
28087  _sincos(0, 0, 0);
28088   ;
28089   return 0;
28090 }
28091 _ACEOF
28092 if ac_fn_cxx_try_compile "$LINENO"; then :
28093   glibcxx_cv_func__sincos_use=yes
28094 else
28095   glibcxx_cv_func__sincos_use=no
28096 fi
28097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28098       ac_ext=c
28099 ac_cpp='$CPP $CPPFLAGS'
28100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28103
28104
28105 fi
28106
28107   fi
28108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28109 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28110
28111     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28112       for ac_func in _sincos
28113 do :
28114   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28115 if test "x$ac_cv_func__sincos" = x""yes; then :
28116   cat >>confdefs.h <<_ACEOF
28117 #define HAVE__SINCOS 1
28118 _ACEOF
28119
28120 fi
28121 done
28122
28123     fi
28124   fi
28125
28126
28127
28128
28129
28130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28131 $as_echo_n "checking for fpclass declaration... " >&6; }
28132   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28133     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28134   $as_echo_n "(cached) " >&6
28135 else
28136
28137
28138       ac_ext=cpp
28139 ac_cpp='$CXXCPP $CPPFLAGS'
28140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28143
28144       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28145 /* end confdefs.h.  */
28146 #include <math.h>
28147                       #ifdef HAVE_IEEEFP_H
28148                       #include <ieeefp.h>
28149                       #endif
28150
28151 int
28152 main ()
28153 {
28154  fpclass(0);
28155   ;
28156   return 0;
28157 }
28158 _ACEOF
28159 if ac_fn_cxx_try_compile "$LINENO"; then :
28160   glibcxx_cv_func_fpclass_use=yes
28161 else
28162   glibcxx_cv_func_fpclass_use=no
28163 fi
28164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28165       ac_ext=c
28166 ac_cpp='$CPP $CPPFLAGS'
28167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28170
28171
28172 fi
28173
28174   fi
28175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28176 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28177
28178   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28179     for ac_func in fpclass
28180 do :
28181   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28182 if test "x$ac_cv_func_fpclass" = x""yes; then :
28183   cat >>confdefs.h <<_ACEOF
28184 #define HAVE_FPCLASS 1
28185 _ACEOF
28186
28187 fi
28188 done
28189
28190   else
28191
28192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28193 $as_echo_n "checking for _fpclass declaration... " >&6; }
28194   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28195     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28196   $as_echo_n "(cached) " >&6
28197 else
28198
28199
28200       ac_ext=cpp
28201 ac_cpp='$CXXCPP $CPPFLAGS'
28202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28205
28206       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28207 /* end confdefs.h.  */
28208 #include <math.h>
28209                       #ifdef HAVE_IEEEFP_H
28210                       #include <ieeefp.h>
28211                       #endif
28212
28213 int
28214 main ()
28215 {
28216  _fpclass(0);
28217   ;
28218   return 0;
28219 }
28220 _ACEOF
28221 if ac_fn_cxx_try_compile "$LINENO"; then :
28222   glibcxx_cv_func__fpclass_use=yes
28223 else
28224   glibcxx_cv_func__fpclass_use=no
28225 fi
28226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28227       ac_ext=c
28228 ac_cpp='$CPP $CPPFLAGS'
28229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28232
28233
28234 fi
28235
28236   fi
28237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28238 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28239
28240     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28241       for ac_func in _fpclass
28242 do :
28243   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28244 if test "x$ac_cv_func__fpclass" = x""yes; then :
28245   cat >>confdefs.h <<_ACEOF
28246 #define HAVE__FPCLASS 1
28247 _ACEOF
28248
28249 fi
28250 done
28251
28252     fi
28253   fi
28254
28255
28256
28257
28258
28259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28260 $as_echo_n "checking for qfpclass declaration... " >&6; }
28261   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28262     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28263   $as_echo_n "(cached) " >&6
28264 else
28265
28266
28267       ac_ext=cpp
28268 ac_cpp='$CXXCPP $CPPFLAGS'
28269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28272
28273       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28274 /* end confdefs.h.  */
28275 #include <math.h>
28276                       #ifdef HAVE_IEEEFP_H
28277                       #include <ieeefp.h>
28278                       #endif
28279
28280 int
28281 main ()
28282 {
28283  qfpclass(0);
28284   ;
28285   return 0;
28286 }
28287 _ACEOF
28288 if ac_fn_cxx_try_compile "$LINENO"; then :
28289   glibcxx_cv_func_qfpclass_use=yes
28290 else
28291   glibcxx_cv_func_qfpclass_use=no
28292 fi
28293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28294       ac_ext=c
28295 ac_cpp='$CPP $CPPFLAGS'
28296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28299
28300
28301 fi
28302
28303   fi
28304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28305 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28306
28307   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28308     for ac_func in qfpclass
28309 do :
28310   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28311 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28312   cat >>confdefs.h <<_ACEOF
28313 #define HAVE_QFPCLASS 1
28314 _ACEOF
28315
28316 fi
28317 done
28318
28319   else
28320
28321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28322 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28323   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28324     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28325   $as_echo_n "(cached) " >&6
28326 else
28327
28328
28329       ac_ext=cpp
28330 ac_cpp='$CXXCPP $CPPFLAGS'
28331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28334
28335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28336 /* end confdefs.h.  */
28337 #include <math.h>
28338                       #ifdef HAVE_IEEEFP_H
28339                       #include <ieeefp.h>
28340                       #endif
28341
28342 int
28343 main ()
28344 {
28345  _qfpclass(0);
28346   ;
28347   return 0;
28348 }
28349 _ACEOF
28350 if ac_fn_cxx_try_compile "$LINENO"; then :
28351   glibcxx_cv_func__qfpclass_use=yes
28352 else
28353   glibcxx_cv_func__qfpclass_use=no
28354 fi
28355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28356       ac_ext=c
28357 ac_cpp='$CPP $CPPFLAGS'
28358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28361
28362
28363 fi
28364
28365   fi
28366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28367 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28368
28369     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28370       for ac_func in _qfpclass
28371 do :
28372   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28373 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28374   cat >>confdefs.h <<_ACEOF
28375 #define HAVE__QFPCLASS 1
28376 _ACEOF
28377
28378 fi
28379 done
28380
28381     fi
28382   fi
28383
28384
28385
28386
28387
28388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28389 $as_echo_n "checking for hypot declaration... " >&6; }
28390   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28391     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28392   $as_echo_n "(cached) " >&6
28393 else
28394
28395
28396       ac_ext=cpp
28397 ac_cpp='$CXXCPP $CPPFLAGS'
28398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28401
28402       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28403 /* end confdefs.h.  */
28404 #include <math.h>
28405 int
28406 main ()
28407 {
28408  hypot(0, 0);
28409   ;
28410   return 0;
28411 }
28412 _ACEOF
28413 if ac_fn_cxx_try_compile "$LINENO"; then :
28414   glibcxx_cv_func_hypot_use=yes
28415 else
28416   glibcxx_cv_func_hypot_use=no
28417 fi
28418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28419       ac_ext=c
28420 ac_cpp='$CPP $CPPFLAGS'
28421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28424
28425
28426 fi
28427
28428   fi
28429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28430 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28431
28432   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28433     for ac_func in hypot
28434 do :
28435   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28436 if test "x$ac_cv_func_hypot" = x""yes; then :
28437   cat >>confdefs.h <<_ACEOF
28438 #define HAVE_HYPOT 1
28439 _ACEOF
28440
28441 fi
28442 done
28443
28444   else
28445
28446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28447 $as_echo_n "checking for _hypot declaration... " >&6; }
28448   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28449     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28450   $as_echo_n "(cached) " >&6
28451 else
28452
28453
28454       ac_ext=cpp
28455 ac_cpp='$CXXCPP $CPPFLAGS'
28456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28459
28460       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28461 /* end confdefs.h.  */
28462 #include <math.h>
28463 int
28464 main ()
28465 {
28466  _hypot(0, 0);
28467   ;
28468   return 0;
28469 }
28470 _ACEOF
28471 if ac_fn_cxx_try_compile "$LINENO"; then :
28472   glibcxx_cv_func__hypot_use=yes
28473 else
28474   glibcxx_cv_func__hypot_use=no
28475 fi
28476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28477       ac_ext=c
28478 ac_cpp='$CPP $CPPFLAGS'
28479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28482
28483
28484 fi
28485
28486   fi
28487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28488 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28489
28490     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28491       for ac_func in _hypot
28492 do :
28493   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28494 if test "x$ac_cv_func__hypot" = x""yes; then :
28495   cat >>confdefs.h <<_ACEOF
28496 #define HAVE__HYPOT 1
28497 _ACEOF
28498
28499 fi
28500 done
28501
28502     fi
28503   fi
28504
28505
28506
28507
28508
28509     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28510 $as_echo_n "checking for float trig functions... " >&6; }
28511   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28512   $as_echo_n "(cached) " >&6
28513 else
28514
28515
28516     ac_ext=cpp
28517 ac_cpp='$CXXCPP $CPPFLAGS'
28518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28521
28522     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28523 /* end confdefs.h.  */
28524 #include <math.h>
28525 int
28526 main ()
28527 {
28528 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28529   ;
28530   return 0;
28531 }
28532 _ACEOF
28533 if ac_fn_cxx_try_compile "$LINENO"; then :
28534   glibcxx_cv_func_float_trig_use=yes
28535 else
28536   glibcxx_cv_func_float_trig_use=no
28537 fi
28538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28539     ac_ext=c
28540 ac_cpp='$CPP $CPPFLAGS'
28541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28544
28545 fi
28546
28547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28548 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28549   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28550     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28551 do :
28552   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28553 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28554 eval as_val=\$$as_ac_var
28555    if test "x$as_val" = x""yes; then :
28556   cat >>confdefs.h <<_ACEOF
28557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28558 _ACEOF
28559
28560 fi
28561 done
28562
28563   else
28564     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28565 $as_echo_n "checking for _float trig functions... " >&6; }
28566     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28567   $as_echo_n "(cached) " >&6
28568 else
28569
28570
28571       ac_ext=cpp
28572 ac_cpp='$CXXCPP $CPPFLAGS'
28573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28576
28577       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28578 /* end confdefs.h.  */
28579 #include <math.h>
28580 int
28581 main ()
28582 {
28583 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28584   ;
28585   return 0;
28586 }
28587 _ACEOF
28588 if ac_fn_cxx_try_compile "$LINENO"; then :
28589   glibcxx_cv_func__float_trig_use=yes
28590 else
28591   glibcxx_cv_func__float_trig_use=no
28592 fi
28593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28594       ac_ext=c
28595 ac_cpp='$CPP $CPPFLAGS'
28596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28599
28600 fi
28601
28602     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28603 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28604     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28605       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28606 do :
28607   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28608 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28609 eval as_val=\$$as_ac_var
28610    if test "x$as_val" = x""yes; then :
28611   cat >>confdefs.h <<_ACEOF
28612 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28613 _ACEOF
28614
28615 fi
28616 done
28617
28618     fi
28619   fi
28620
28621
28622
28623
28624
28625     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28626 $as_echo_n "checking for float round functions... " >&6; }
28627   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28628   $as_echo_n "(cached) " >&6
28629 else
28630
28631
28632     ac_ext=cpp
28633 ac_cpp='$CXXCPP $CPPFLAGS'
28634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28637
28638     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28639 /* end confdefs.h.  */
28640 #include <math.h>
28641 int
28642 main ()
28643 {
28644 ceilf (0); floorf (0);
28645   ;
28646   return 0;
28647 }
28648 _ACEOF
28649 if ac_fn_cxx_try_compile "$LINENO"; then :
28650   glibcxx_cv_func_float_round_use=yes
28651 else
28652   glibcxx_cv_func_float_round_use=no
28653 fi
28654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28655     ac_ext=c
28656 ac_cpp='$CPP $CPPFLAGS'
28657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28660
28661 fi
28662
28663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28664 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28665   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28666     for ac_func in ceilf floorf
28667 do :
28668   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28670 eval as_val=\$$as_ac_var
28671    if test "x$as_val" = x""yes; then :
28672   cat >>confdefs.h <<_ACEOF
28673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28674 _ACEOF
28675
28676 fi
28677 done
28678
28679   else
28680     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28681 $as_echo_n "checking for _float round functions... " >&6; }
28682     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28683   $as_echo_n "(cached) " >&6
28684 else
28685
28686
28687       ac_ext=cpp
28688 ac_cpp='$CXXCPP $CPPFLAGS'
28689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28692
28693       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28694 /* end confdefs.h.  */
28695 #include <math.h>
28696 int
28697 main ()
28698 {
28699 _ceilf (0); _floorf (0);
28700   ;
28701   return 0;
28702 }
28703 _ACEOF
28704 if ac_fn_cxx_try_compile "$LINENO"; then :
28705   glibcxx_cv_func__float_round_use=yes
28706 else
28707   glibcxx_cv_func__float_round_use=no
28708 fi
28709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28710       ac_ext=c
28711 ac_cpp='$CPP $CPPFLAGS'
28712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28715
28716 fi
28717
28718     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28719 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28720     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28721       for ac_func in _ceilf _floorf
28722 do :
28723   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28724 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28725 eval as_val=\$$as_ac_var
28726    if test "x$as_val" = x""yes; then :
28727   cat >>confdefs.h <<_ACEOF
28728 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28729 _ACEOF
28730
28731 fi
28732 done
28733
28734     fi
28735   fi
28736
28737
28738
28739
28740
28741
28742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28743 $as_echo_n "checking for expf declaration... " >&6; }
28744   if test x${glibcxx_cv_func_expf_use+set} != xset; then
28745     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28746   $as_echo_n "(cached) " >&6
28747 else
28748
28749
28750       ac_ext=cpp
28751 ac_cpp='$CXXCPP $CPPFLAGS'
28752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28755
28756       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28757 /* end confdefs.h.  */
28758 #include <math.h>
28759                       #ifdef HAVE_IEEEFP_H
28760                       #include <ieeefp.h>
28761                       #endif
28762
28763 int
28764 main ()
28765 {
28766  expf(0);
28767   ;
28768   return 0;
28769 }
28770 _ACEOF
28771 if ac_fn_cxx_try_compile "$LINENO"; then :
28772   glibcxx_cv_func_expf_use=yes
28773 else
28774   glibcxx_cv_func_expf_use=no
28775 fi
28776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28777       ac_ext=c
28778 ac_cpp='$CPP $CPPFLAGS'
28779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28782
28783
28784 fi
28785
28786   fi
28787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28788 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28789
28790   if test x$glibcxx_cv_func_expf_use = x"yes"; then
28791     for ac_func in expf
28792 do :
28793   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28794 if test "x$ac_cv_func_expf" = x""yes; then :
28795   cat >>confdefs.h <<_ACEOF
28796 #define HAVE_EXPF 1
28797 _ACEOF
28798
28799 fi
28800 done
28801
28802   else
28803
28804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28805 $as_echo_n "checking for _expf declaration... " >&6; }
28806   if test x${glibcxx_cv_func__expf_use+set} != xset; then
28807     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28808   $as_echo_n "(cached) " >&6
28809 else
28810
28811
28812       ac_ext=cpp
28813 ac_cpp='$CXXCPP $CPPFLAGS'
28814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28817
28818       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28819 /* end confdefs.h.  */
28820 #include <math.h>
28821                       #ifdef HAVE_IEEEFP_H
28822                       #include <ieeefp.h>
28823                       #endif
28824
28825 int
28826 main ()
28827 {
28828  _expf(0);
28829   ;
28830   return 0;
28831 }
28832 _ACEOF
28833 if ac_fn_cxx_try_compile "$LINENO"; then :
28834   glibcxx_cv_func__expf_use=yes
28835 else
28836   glibcxx_cv_func__expf_use=no
28837 fi
28838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28839       ac_ext=c
28840 ac_cpp='$CPP $CPPFLAGS'
28841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28844
28845
28846 fi
28847
28848   fi
28849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28850 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28851
28852     if test x$glibcxx_cv_func__expf_use = x"yes"; then
28853       for ac_func in _expf
28854 do :
28855   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28856 if test "x$ac_cv_func__expf" = x""yes; then :
28857   cat >>confdefs.h <<_ACEOF
28858 #define HAVE__EXPF 1
28859 _ACEOF
28860
28861 fi
28862 done
28863
28864     fi
28865   fi
28866
28867
28868
28869
28870
28871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28872 $as_echo_n "checking for isnanf declaration... " >&6; }
28873   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28874     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28875   $as_echo_n "(cached) " >&6
28876 else
28877
28878
28879       ac_ext=cpp
28880 ac_cpp='$CXXCPP $CPPFLAGS'
28881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28884
28885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28886 /* end confdefs.h.  */
28887 #include <math.h>
28888                       #ifdef HAVE_IEEEFP_H
28889                       #include <ieeefp.h>
28890                       #endif
28891
28892 int
28893 main ()
28894 {
28895  isnanf(0);
28896   ;
28897   return 0;
28898 }
28899 _ACEOF
28900 if ac_fn_cxx_try_compile "$LINENO"; then :
28901   glibcxx_cv_func_isnanf_use=yes
28902 else
28903   glibcxx_cv_func_isnanf_use=no
28904 fi
28905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28906       ac_ext=c
28907 ac_cpp='$CPP $CPPFLAGS'
28908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28911
28912
28913 fi
28914
28915   fi
28916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28917 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28918
28919   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28920     for ac_func in isnanf
28921 do :
28922   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28923 if test "x$ac_cv_func_isnanf" = x""yes; then :
28924   cat >>confdefs.h <<_ACEOF
28925 #define HAVE_ISNANF 1
28926 _ACEOF
28927
28928 fi
28929 done
28930
28931   else
28932
28933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28934 $as_echo_n "checking for _isnanf declaration... " >&6; }
28935   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28936     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28937   $as_echo_n "(cached) " >&6
28938 else
28939
28940
28941       ac_ext=cpp
28942 ac_cpp='$CXXCPP $CPPFLAGS'
28943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28946
28947       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28948 /* end confdefs.h.  */
28949 #include <math.h>
28950                       #ifdef HAVE_IEEEFP_H
28951                       #include <ieeefp.h>
28952                       #endif
28953
28954 int
28955 main ()
28956 {
28957  _isnanf(0);
28958   ;
28959   return 0;
28960 }
28961 _ACEOF
28962 if ac_fn_cxx_try_compile "$LINENO"; then :
28963   glibcxx_cv_func__isnanf_use=yes
28964 else
28965   glibcxx_cv_func__isnanf_use=no
28966 fi
28967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28968       ac_ext=c
28969 ac_cpp='$CPP $CPPFLAGS'
28970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28973
28974
28975 fi
28976
28977   fi
28978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28979 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28980
28981     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28982       for ac_func in _isnanf
28983 do :
28984   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28985 if test "x$ac_cv_func__isnanf" = x""yes; then :
28986   cat >>confdefs.h <<_ACEOF
28987 #define HAVE__ISNANF 1
28988 _ACEOF
28989
28990 fi
28991 done
28992
28993     fi
28994   fi
28995
28996
28997
28998
28999
29000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29001 $as_echo_n "checking for isinff declaration... " >&6; }
29002   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29003     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29004   $as_echo_n "(cached) " >&6
29005 else
29006
29007
29008       ac_ext=cpp
29009 ac_cpp='$CXXCPP $CPPFLAGS'
29010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29013
29014       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29015 /* end confdefs.h.  */
29016 #include <math.h>
29017                       #ifdef HAVE_IEEEFP_H
29018                       #include <ieeefp.h>
29019                       #endif
29020
29021 int
29022 main ()
29023 {
29024  isinff(0);
29025   ;
29026   return 0;
29027 }
29028 _ACEOF
29029 if ac_fn_cxx_try_compile "$LINENO"; then :
29030   glibcxx_cv_func_isinff_use=yes
29031 else
29032   glibcxx_cv_func_isinff_use=no
29033 fi
29034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29035       ac_ext=c
29036 ac_cpp='$CPP $CPPFLAGS'
29037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29040
29041
29042 fi
29043
29044   fi
29045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29046 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29047
29048   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29049     for ac_func in isinff
29050 do :
29051   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29052 if test "x$ac_cv_func_isinff" = x""yes; then :
29053   cat >>confdefs.h <<_ACEOF
29054 #define HAVE_ISINFF 1
29055 _ACEOF
29056
29057 fi
29058 done
29059
29060   else
29061
29062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29063 $as_echo_n "checking for _isinff declaration... " >&6; }
29064   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29065     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29066   $as_echo_n "(cached) " >&6
29067 else
29068
29069
29070       ac_ext=cpp
29071 ac_cpp='$CXXCPP $CPPFLAGS'
29072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29075
29076       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29077 /* end confdefs.h.  */
29078 #include <math.h>
29079                       #ifdef HAVE_IEEEFP_H
29080                       #include <ieeefp.h>
29081                       #endif
29082
29083 int
29084 main ()
29085 {
29086  _isinff(0);
29087   ;
29088   return 0;
29089 }
29090 _ACEOF
29091 if ac_fn_cxx_try_compile "$LINENO"; then :
29092   glibcxx_cv_func__isinff_use=yes
29093 else
29094   glibcxx_cv_func__isinff_use=no
29095 fi
29096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29097       ac_ext=c
29098 ac_cpp='$CPP $CPPFLAGS'
29099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29102
29103
29104 fi
29105
29106   fi
29107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29108 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29109
29110     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29111       for ac_func in _isinff
29112 do :
29113   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29114 if test "x$ac_cv_func__isinff" = x""yes; then :
29115   cat >>confdefs.h <<_ACEOF
29116 #define HAVE__ISINFF 1
29117 _ACEOF
29118
29119 fi
29120 done
29121
29122     fi
29123   fi
29124
29125
29126
29127
29128
29129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29130 $as_echo_n "checking for atan2f declaration... " >&6; }
29131   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29132     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29133   $as_echo_n "(cached) " >&6
29134 else
29135
29136
29137       ac_ext=cpp
29138 ac_cpp='$CXXCPP $CPPFLAGS'
29139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29142
29143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29144 /* end confdefs.h.  */
29145 #include <math.h>
29146 int
29147 main ()
29148 {
29149  atan2f(0, 0);
29150   ;
29151   return 0;
29152 }
29153 _ACEOF
29154 if ac_fn_cxx_try_compile "$LINENO"; then :
29155   glibcxx_cv_func_atan2f_use=yes
29156 else
29157   glibcxx_cv_func_atan2f_use=no
29158 fi
29159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29160       ac_ext=c
29161 ac_cpp='$CPP $CPPFLAGS'
29162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29165
29166
29167 fi
29168
29169   fi
29170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29171 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29172
29173   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29174     for ac_func in atan2f
29175 do :
29176   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29177 if test "x$ac_cv_func_atan2f" = x""yes; then :
29178   cat >>confdefs.h <<_ACEOF
29179 #define HAVE_ATAN2F 1
29180 _ACEOF
29181
29182 fi
29183 done
29184
29185   else
29186
29187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29188 $as_echo_n "checking for _atan2f declaration... " >&6; }
29189   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29190     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29191   $as_echo_n "(cached) " >&6
29192 else
29193
29194
29195       ac_ext=cpp
29196 ac_cpp='$CXXCPP $CPPFLAGS'
29197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29200
29201       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29202 /* end confdefs.h.  */
29203 #include <math.h>
29204 int
29205 main ()
29206 {
29207  _atan2f(0, 0);
29208   ;
29209   return 0;
29210 }
29211 _ACEOF
29212 if ac_fn_cxx_try_compile "$LINENO"; then :
29213   glibcxx_cv_func__atan2f_use=yes
29214 else
29215   glibcxx_cv_func__atan2f_use=no
29216 fi
29217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29218       ac_ext=c
29219 ac_cpp='$CPP $CPPFLAGS'
29220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29223
29224
29225 fi
29226
29227   fi
29228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29229 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29230
29231     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29232       for ac_func in _atan2f
29233 do :
29234   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29235 if test "x$ac_cv_func__atan2f" = x""yes; then :
29236   cat >>confdefs.h <<_ACEOF
29237 #define HAVE__ATAN2F 1
29238 _ACEOF
29239
29240 fi
29241 done
29242
29243     fi
29244   fi
29245
29246
29247
29248
29249
29250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29251 $as_echo_n "checking for fabsf declaration... " >&6; }
29252   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29253     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29254   $as_echo_n "(cached) " >&6
29255 else
29256
29257
29258       ac_ext=cpp
29259 ac_cpp='$CXXCPP $CPPFLAGS'
29260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29263
29264       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29265 /* end confdefs.h.  */
29266 #include <math.h>
29267                       #ifdef HAVE_IEEEFP_H
29268                       #include <ieeefp.h>
29269                       #endif
29270
29271 int
29272 main ()
29273 {
29274  fabsf(0);
29275   ;
29276   return 0;
29277 }
29278 _ACEOF
29279 if ac_fn_cxx_try_compile "$LINENO"; then :
29280   glibcxx_cv_func_fabsf_use=yes
29281 else
29282   glibcxx_cv_func_fabsf_use=no
29283 fi
29284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29285       ac_ext=c
29286 ac_cpp='$CPP $CPPFLAGS'
29287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29290
29291
29292 fi
29293
29294   fi
29295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29296 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29297
29298   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29299     for ac_func in fabsf
29300 do :
29301   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29302 if test "x$ac_cv_func_fabsf" = x""yes; then :
29303   cat >>confdefs.h <<_ACEOF
29304 #define HAVE_FABSF 1
29305 _ACEOF
29306
29307 fi
29308 done
29309
29310   else
29311
29312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29313 $as_echo_n "checking for _fabsf declaration... " >&6; }
29314   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29315     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29316   $as_echo_n "(cached) " >&6
29317 else
29318
29319
29320       ac_ext=cpp
29321 ac_cpp='$CXXCPP $CPPFLAGS'
29322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29325
29326       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29327 /* end confdefs.h.  */
29328 #include <math.h>
29329                       #ifdef HAVE_IEEEFP_H
29330                       #include <ieeefp.h>
29331                       #endif
29332
29333 int
29334 main ()
29335 {
29336  _fabsf(0);
29337   ;
29338   return 0;
29339 }
29340 _ACEOF
29341 if ac_fn_cxx_try_compile "$LINENO"; then :
29342   glibcxx_cv_func__fabsf_use=yes
29343 else
29344   glibcxx_cv_func__fabsf_use=no
29345 fi
29346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29347       ac_ext=c
29348 ac_cpp='$CPP $CPPFLAGS'
29349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29352
29353
29354 fi
29355
29356   fi
29357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29358 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29359
29360     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29361       for ac_func in _fabsf
29362 do :
29363   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29364 if test "x$ac_cv_func__fabsf" = x""yes; then :
29365   cat >>confdefs.h <<_ACEOF
29366 #define HAVE__FABSF 1
29367 _ACEOF
29368
29369 fi
29370 done
29371
29372     fi
29373   fi
29374
29375
29376
29377
29378
29379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29380 $as_echo_n "checking for fmodf declaration... " >&6; }
29381   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29382     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29383   $as_echo_n "(cached) " >&6
29384 else
29385
29386
29387       ac_ext=cpp
29388 ac_cpp='$CXXCPP $CPPFLAGS'
29389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29392
29393       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29394 /* end confdefs.h.  */
29395 #include <math.h>
29396 int
29397 main ()
29398 {
29399  fmodf(0, 0);
29400   ;
29401   return 0;
29402 }
29403 _ACEOF
29404 if ac_fn_cxx_try_compile "$LINENO"; then :
29405   glibcxx_cv_func_fmodf_use=yes
29406 else
29407   glibcxx_cv_func_fmodf_use=no
29408 fi
29409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29410       ac_ext=c
29411 ac_cpp='$CPP $CPPFLAGS'
29412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29415
29416
29417 fi
29418
29419   fi
29420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29421 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29422
29423   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29424     for ac_func in fmodf
29425 do :
29426   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29427 if test "x$ac_cv_func_fmodf" = x""yes; then :
29428   cat >>confdefs.h <<_ACEOF
29429 #define HAVE_FMODF 1
29430 _ACEOF
29431
29432 fi
29433 done
29434
29435   else
29436
29437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29438 $as_echo_n "checking for _fmodf declaration... " >&6; }
29439   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29440     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29441   $as_echo_n "(cached) " >&6
29442 else
29443
29444
29445       ac_ext=cpp
29446 ac_cpp='$CXXCPP $CPPFLAGS'
29447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29450
29451       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29452 /* end confdefs.h.  */
29453 #include <math.h>
29454 int
29455 main ()
29456 {
29457  _fmodf(0, 0);
29458   ;
29459   return 0;
29460 }
29461 _ACEOF
29462 if ac_fn_cxx_try_compile "$LINENO"; then :
29463   glibcxx_cv_func__fmodf_use=yes
29464 else
29465   glibcxx_cv_func__fmodf_use=no
29466 fi
29467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29468       ac_ext=c
29469 ac_cpp='$CPP $CPPFLAGS'
29470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29473
29474
29475 fi
29476
29477   fi
29478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29479 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29480
29481     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29482       for ac_func in _fmodf
29483 do :
29484   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29485 if test "x$ac_cv_func__fmodf" = x""yes; then :
29486   cat >>confdefs.h <<_ACEOF
29487 #define HAVE__FMODF 1
29488 _ACEOF
29489
29490 fi
29491 done
29492
29493     fi
29494   fi
29495
29496
29497
29498
29499
29500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29501 $as_echo_n "checking for frexpf declaration... " >&6; }
29502   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29503     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29504   $as_echo_n "(cached) " >&6
29505 else
29506
29507
29508       ac_ext=cpp
29509 ac_cpp='$CXXCPP $CPPFLAGS'
29510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29513
29514       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29515 /* end confdefs.h.  */
29516 #include <math.h>
29517 int
29518 main ()
29519 {
29520  frexpf(0, 0);
29521   ;
29522   return 0;
29523 }
29524 _ACEOF
29525 if ac_fn_cxx_try_compile "$LINENO"; then :
29526   glibcxx_cv_func_frexpf_use=yes
29527 else
29528   glibcxx_cv_func_frexpf_use=no
29529 fi
29530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29531       ac_ext=c
29532 ac_cpp='$CPP $CPPFLAGS'
29533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29536
29537
29538 fi
29539
29540   fi
29541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29542 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29543
29544   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29545     for ac_func in frexpf
29546 do :
29547   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29548 if test "x$ac_cv_func_frexpf" = x""yes; then :
29549   cat >>confdefs.h <<_ACEOF
29550 #define HAVE_FREXPF 1
29551 _ACEOF
29552
29553 fi
29554 done
29555
29556   else
29557
29558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29559 $as_echo_n "checking for _frexpf declaration... " >&6; }
29560   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29561     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29562   $as_echo_n "(cached) " >&6
29563 else
29564
29565
29566       ac_ext=cpp
29567 ac_cpp='$CXXCPP $CPPFLAGS'
29568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29571
29572       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29573 /* end confdefs.h.  */
29574 #include <math.h>
29575 int
29576 main ()
29577 {
29578  _frexpf(0, 0);
29579   ;
29580   return 0;
29581 }
29582 _ACEOF
29583 if ac_fn_cxx_try_compile "$LINENO"; then :
29584   glibcxx_cv_func__frexpf_use=yes
29585 else
29586   glibcxx_cv_func__frexpf_use=no
29587 fi
29588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29589       ac_ext=c
29590 ac_cpp='$CPP $CPPFLAGS'
29591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29594
29595
29596 fi
29597
29598   fi
29599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29600 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29601
29602     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29603       for ac_func in _frexpf
29604 do :
29605   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29606 if test "x$ac_cv_func__frexpf" = x""yes; then :
29607   cat >>confdefs.h <<_ACEOF
29608 #define HAVE__FREXPF 1
29609 _ACEOF
29610
29611 fi
29612 done
29613
29614     fi
29615   fi
29616
29617
29618
29619
29620
29621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29622 $as_echo_n "checking for hypotf declaration... " >&6; }
29623   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29624     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29625   $as_echo_n "(cached) " >&6
29626 else
29627
29628
29629       ac_ext=cpp
29630 ac_cpp='$CXXCPP $CPPFLAGS'
29631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29634
29635       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29636 /* end confdefs.h.  */
29637 #include <math.h>
29638 int
29639 main ()
29640 {
29641  hypotf(0, 0);
29642   ;
29643   return 0;
29644 }
29645 _ACEOF
29646 if ac_fn_cxx_try_compile "$LINENO"; then :
29647   glibcxx_cv_func_hypotf_use=yes
29648 else
29649   glibcxx_cv_func_hypotf_use=no
29650 fi
29651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29652       ac_ext=c
29653 ac_cpp='$CPP $CPPFLAGS'
29654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29657
29658
29659 fi
29660
29661   fi
29662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29663 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29664
29665   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29666     for ac_func in hypotf
29667 do :
29668   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29669 if test "x$ac_cv_func_hypotf" = x""yes; then :
29670   cat >>confdefs.h <<_ACEOF
29671 #define HAVE_HYPOTF 1
29672 _ACEOF
29673
29674 fi
29675 done
29676
29677   else
29678
29679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29680 $as_echo_n "checking for _hypotf declaration... " >&6; }
29681   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29682     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29683   $as_echo_n "(cached) " >&6
29684 else
29685
29686
29687       ac_ext=cpp
29688 ac_cpp='$CXXCPP $CPPFLAGS'
29689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29692
29693       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29694 /* end confdefs.h.  */
29695 #include <math.h>
29696 int
29697 main ()
29698 {
29699  _hypotf(0, 0);
29700   ;
29701   return 0;
29702 }
29703 _ACEOF
29704 if ac_fn_cxx_try_compile "$LINENO"; then :
29705   glibcxx_cv_func__hypotf_use=yes
29706 else
29707   glibcxx_cv_func__hypotf_use=no
29708 fi
29709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29710       ac_ext=c
29711 ac_cpp='$CPP $CPPFLAGS'
29712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29715
29716
29717 fi
29718
29719   fi
29720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29721 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29722
29723     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29724       for ac_func in _hypotf
29725 do :
29726   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29727 if test "x$ac_cv_func__hypotf" = x""yes; then :
29728   cat >>confdefs.h <<_ACEOF
29729 #define HAVE__HYPOTF 1
29730 _ACEOF
29731
29732 fi
29733 done
29734
29735     fi
29736   fi
29737
29738
29739
29740
29741
29742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29743 $as_echo_n "checking for ldexpf declaration... " >&6; }
29744   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29745     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29746   $as_echo_n "(cached) " >&6
29747 else
29748
29749
29750       ac_ext=cpp
29751 ac_cpp='$CXXCPP $CPPFLAGS'
29752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29755
29756       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29757 /* end confdefs.h.  */
29758 #include <math.h>
29759 int
29760 main ()
29761 {
29762  ldexpf(0, 0);
29763   ;
29764   return 0;
29765 }
29766 _ACEOF
29767 if ac_fn_cxx_try_compile "$LINENO"; then :
29768   glibcxx_cv_func_ldexpf_use=yes
29769 else
29770   glibcxx_cv_func_ldexpf_use=no
29771 fi
29772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29773       ac_ext=c
29774 ac_cpp='$CPP $CPPFLAGS'
29775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29778
29779
29780 fi
29781
29782   fi
29783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29784 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29785
29786   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29787     for ac_func in ldexpf
29788 do :
29789   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29790 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29791   cat >>confdefs.h <<_ACEOF
29792 #define HAVE_LDEXPF 1
29793 _ACEOF
29794
29795 fi
29796 done
29797
29798   else
29799
29800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29801 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29802   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29803     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29804   $as_echo_n "(cached) " >&6
29805 else
29806
29807
29808       ac_ext=cpp
29809 ac_cpp='$CXXCPP $CPPFLAGS'
29810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29813
29814       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29815 /* end confdefs.h.  */
29816 #include <math.h>
29817 int
29818 main ()
29819 {
29820  _ldexpf(0, 0);
29821   ;
29822   return 0;
29823 }
29824 _ACEOF
29825 if ac_fn_cxx_try_compile "$LINENO"; then :
29826   glibcxx_cv_func__ldexpf_use=yes
29827 else
29828   glibcxx_cv_func__ldexpf_use=no
29829 fi
29830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29831       ac_ext=c
29832 ac_cpp='$CPP $CPPFLAGS'
29833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29836
29837
29838 fi
29839
29840   fi
29841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29842 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29843
29844     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29845       for ac_func in _ldexpf
29846 do :
29847   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29848 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29849   cat >>confdefs.h <<_ACEOF
29850 #define HAVE__LDEXPF 1
29851 _ACEOF
29852
29853 fi
29854 done
29855
29856     fi
29857   fi
29858
29859
29860
29861
29862
29863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29864 $as_echo_n "checking for logf declaration... " >&6; }
29865   if test x${glibcxx_cv_func_logf_use+set} != xset; then
29866     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29867   $as_echo_n "(cached) " >&6
29868 else
29869
29870
29871       ac_ext=cpp
29872 ac_cpp='$CXXCPP $CPPFLAGS'
29873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29876
29877       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29878 /* end confdefs.h.  */
29879 #include <math.h>
29880                       #ifdef HAVE_IEEEFP_H
29881                       #include <ieeefp.h>
29882                       #endif
29883
29884 int
29885 main ()
29886 {
29887  logf(0);
29888   ;
29889   return 0;
29890 }
29891 _ACEOF
29892 if ac_fn_cxx_try_compile "$LINENO"; then :
29893   glibcxx_cv_func_logf_use=yes
29894 else
29895   glibcxx_cv_func_logf_use=no
29896 fi
29897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29898       ac_ext=c
29899 ac_cpp='$CPP $CPPFLAGS'
29900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29903
29904
29905 fi
29906
29907   fi
29908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29909 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29910
29911   if test x$glibcxx_cv_func_logf_use = x"yes"; then
29912     for ac_func in logf
29913 do :
29914   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29915 if test "x$ac_cv_func_logf" = x""yes; then :
29916   cat >>confdefs.h <<_ACEOF
29917 #define HAVE_LOGF 1
29918 _ACEOF
29919
29920 fi
29921 done
29922
29923   else
29924
29925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29926 $as_echo_n "checking for _logf declaration... " >&6; }
29927   if test x${glibcxx_cv_func__logf_use+set} != xset; then
29928     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29929   $as_echo_n "(cached) " >&6
29930 else
29931
29932
29933       ac_ext=cpp
29934 ac_cpp='$CXXCPP $CPPFLAGS'
29935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29938
29939       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29940 /* end confdefs.h.  */
29941 #include <math.h>
29942                       #ifdef HAVE_IEEEFP_H
29943                       #include <ieeefp.h>
29944                       #endif
29945
29946 int
29947 main ()
29948 {
29949  _logf(0);
29950   ;
29951   return 0;
29952 }
29953 _ACEOF
29954 if ac_fn_cxx_try_compile "$LINENO"; then :
29955   glibcxx_cv_func__logf_use=yes
29956 else
29957   glibcxx_cv_func__logf_use=no
29958 fi
29959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29960       ac_ext=c
29961 ac_cpp='$CPP $CPPFLAGS'
29962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29965
29966
29967 fi
29968
29969   fi
29970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29971 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29972
29973     if test x$glibcxx_cv_func__logf_use = x"yes"; then
29974       for ac_func in _logf
29975 do :
29976   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29977 if test "x$ac_cv_func__logf" = x""yes; then :
29978   cat >>confdefs.h <<_ACEOF
29979 #define HAVE__LOGF 1
29980 _ACEOF
29981
29982 fi
29983 done
29984
29985     fi
29986   fi
29987
29988
29989
29990
29991
29992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29993 $as_echo_n "checking for log10f declaration... " >&6; }
29994   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29995     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29996   $as_echo_n "(cached) " >&6
29997 else
29998
29999
30000       ac_ext=cpp
30001 ac_cpp='$CXXCPP $CPPFLAGS'
30002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30005
30006       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30007 /* end confdefs.h.  */
30008 #include <math.h>
30009                       #ifdef HAVE_IEEEFP_H
30010                       #include <ieeefp.h>
30011                       #endif
30012
30013 int
30014 main ()
30015 {
30016  log10f(0);
30017   ;
30018   return 0;
30019 }
30020 _ACEOF
30021 if ac_fn_cxx_try_compile "$LINENO"; then :
30022   glibcxx_cv_func_log10f_use=yes
30023 else
30024   glibcxx_cv_func_log10f_use=no
30025 fi
30026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30027       ac_ext=c
30028 ac_cpp='$CPP $CPPFLAGS'
30029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30032
30033
30034 fi
30035
30036   fi
30037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30038 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30039
30040   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30041     for ac_func in log10f
30042 do :
30043   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30044 if test "x$ac_cv_func_log10f" = x""yes; then :
30045   cat >>confdefs.h <<_ACEOF
30046 #define HAVE_LOG10F 1
30047 _ACEOF
30048
30049 fi
30050 done
30051
30052   else
30053
30054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30055 $as_echo_n "checking for _log10f declaration... " >&6; }
30056   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30057     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30058   $as_echo_n "(cached) " >&6
30059 else
30060
30061
30062       ac_ext=cpp
30063 ac_cpp='$CXXCPP $CPPFLAGS'
30064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30067
30068       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30069 /* end confdefs.h.  */
30070 #include <math.h>
30071                       #ifdef HAVE_IEEEFP_H
30072                       #include <ieeefp.h>
30073                       #endif
30074
30075 int
30076 main ()
30077 {
30078  _log10f(0);
30079   ;
30080   return 0;
30081 }
30082 _ACEOF
30083 if ac_fn_cxx_try_compile "$LINENO"; then :
30084   glibcxx_cv_func__log10f_use=yes
30085 else
30086   glibcxx_cv_func__log10f_use=no
30087 fi
30088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30089       ac_ext=c
30090 ac_cpp='$CPP $CPPFLAGS'
30091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30094
30095
30096 fi
30097
30098   fi
30099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30100 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30101
30102     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30103       for ac_func in _log10f
30104 do :
30105   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30106 if test "x$ac_cv_func__log10f" = x""yes; then :
30107   cat >>confdefs.h <<_ACEOF
30108 #define HAVE__LOG10F 1
30109 _ACEOF
30110
30111 fi
30112 done
30113
30114     fi
30115   fi
30116
30117
30118
30119
30120
30121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30122 $as_echo_n "checking for modff declaration... " >&6; }
30123   if test x${glibcxx_cv_func_modff_use+set} != xset; then
30124     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30125   $as_echo_n "(cached) " >&6
30126 else
30127
30128
30129       ac_ext=cpp
30130 ac_cpp='$CXXCPP $CPPFLAGS'
30131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30134
30135       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30136 /* end confdefs.h.  */
30137 #include <math.h>
30138 int
30139 main ()
30140 {
30141  modff(0, 0);
30142   ;
30143   return 0;
30144 }
30145 _ACEOF
30146 if ac_fn_cxx_try_compile "$LINENO"; then :
30147   glibcxx_cv_func_modff_use=yes
30148 else
30149   glibcxx_cv_func_modff_use=no
30150 fi
30151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30152       ac_ext=c
30153 ac_cpp='$CPP $CPPFLAGS'
30154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30157
30158
30159 fi
30160
30161   fi
30162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30163 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30164
30165   if test x$glibcxx_cv_func_modff_use = x"yes"; then
30166     for ac_func in modff
30167 do :
30168   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30169 if test "x$ac_cv_func_modff" = x""yes; then :
30170   cat >>confdefs.h <<_ACEOF
30171 #define HAVE_MODFF 1
30172 _ACEOF
30173
30174 fi
30175 done
30176
30177   else
30178
30179   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30180 $as_echo_n "checking for _modff declaration... " >&6; }
30181   if test x${glibcxx_cv_func__modff_use+set} != xset; then
30182     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30183   $as_echo_n "(cached) " >&6
30184 else
30185
30186
30187       ac_ext=cpp
30188 ac_cpp='$CXXCPP $CPPFLAGS'
30189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30192
30193       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30194 /* end confdefs.h.  */
30195 #include <math.h>
30196 int
30197 main ()
30198 {
30199  _modff(0, 0);
30200   ;
30201   return 0;
30202 }
30203 _ACEOF
30204 if ac_fn_cxx_try_compile "$LINENO"; then :
30205   glibcxx_cv_func__modff_use=yes
30206 else
30207   glibcxx_cv_func__modff_use=no
30208 fi
30209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30210       ac_ext=c
30211 ac_cpp='$CPP $CPPFLAGS'
30212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30215
30216
30217 fi
30218
30219   fi
30220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30221 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30222
30223     if test x$glibcxx_cv_func__modff_use = x"yes"; then
30224       for ac_func in _modff
30225 do :
30226   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30227 if test "x$ac_cv_func__modff" = x""yes; then :
30228   cat >>confdefs.h <<_ACEOF
30229 #define HAVE__MODFF 1
30230 _ACEOF
30231
30232 fi
30233 done
30234
30235     fi
30236   fi
30237
30238
30239
30240
30241
30242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30243 $as_echo_n "checking for modf declaration... " >&6; }
30244   if test x${glibcxx_cv_func_modf_use+set} != xset; then
30245     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30246   $as_echo_n "(cached) " >&6
30247 else
30248
30249
30250       ac_ext=cpp
30251 ac_cpp='$CXXCPP $CPPFLAGS'
30252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30255
30256       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30257 /* end confdefs.h.  */
30258 #include <math.h>
30259 int
30260 main ()
30261 {
30262  modf(0, 0);
30263   ;
30264   return 0;
30265 }
30266 _ACEOF
30267 if ac_fn_cxx_try_compile "$LINENO"; then :
30268   glibcxx_cv_func_modf_use=yes
30269 else
30270   glibcxx_cv_func_modf_use=no
30271 fi
30272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30273       ac_ext=c
30274 ac_cpp='$CPP $CPPFLAGS'
30275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30278
30279
30280 fi
30281
30282   fi
30283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30284 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30285
30286   if test x$glibcxx_cv_func_modf_use = x"yes"; then
30287     for ac_func in modf
30288 do :
30289   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30290 if test "x$ac_cv_func_modf" = x""yes; then :
30291   cat >>confdefs.h <<_ACEOF
30292 #define HAVE_MODF 1
30293 _ACEOF
30294
30295 fi
30296 done
30297
30298   else
30299
30300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30301 $as_echo_n "checking for _modf declaration... " >&6; }
30302   if test x${glibcxx_cv_func__modf_use+set} != xset; then
30303     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30304   $as_echo_n "(cached) " >&6
30305 else
30306
30307
30308       ac_ext=cpp
30309 ac_cpp='$CXXCPP $CPPFLAGS'
30310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30313
30314       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30315 /* end confdefs.h.  */
30316 #include <math.h>
30317 int
30318 main ()
30319 {
30320  _modf(0, 0);
30321   ;
30322   return 0;
30323 }
30324 _ACEOF
30325 if ac_fn_cxx_try_compile "$LINENO"; then :
30326   glibcxx_cv_func__modf_use=yes
30327 else
30328   glibcxx_cv_func__modf_use=no
30329 fi
30330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30331       ac_ext=c
30332 ac_cpp='$CPP $CPPFLAGS'
30333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30336
30337
30338 fi
30339
30340   fi
30341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30342 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30343
30344     if test x$glibcxx_cv_func__modf_use = x"yes"; then
30345       for ac_func in _modf
30346 do :
30347   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30348 if test "x$ac_cv_func__modf" = x""yes; then :
30349   cat >>confdefs.h <<_ACEOF
30350 #define HAVE__MODF 1
30351 _ACEOF
30352
30353 fi
30354 done
30355
30356     fi
30357   fi
30358
30359
30360
30361
30362
30363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30364 $as_echo_n "checking for powf declaration... " >&6; }
30365   if test x${glibcxx_cv_func_powf_use+set} != xset; then
30366     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30367   $as_echo_n "(cached) " >&6
30368 else
30369
30370
30371       ac_ext=cpp
30372 ac_cpp='$CXXCPP $CPPFLAGS'
30373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30376
30377       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30378 /* end confdefs.h.  */
30379 #include <math.h>
30380 int
30381 main ()
30382 {
30383  powf(0, 0);
30384   ;
30385   return 0;
30386 }
30387 _ACEOF
30388 if ac_fn_cxx_try_compile "$LINENO"; then :
30389   glibcxx_cv_func_powf_use=yes
30390 else
30391   glibcxx_cv_func_powf_use=no
30392 fi
30393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30394       ac_ext=c
30395 ac_cpp='$CPP $CPPFLAGS'
30396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30399
30400
30401 fi
30402
30403   fi
30404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30405 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30406
30407   if test x$glibcxx_cv_func_powf_use = x"yes"; then
30408     for ac_func in powf
30409 do :
30410   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30411 if test "x$ac_cv_func_powf" = x""yes; then :
30412   cat >>confdefs.h <<_ACEOF
30413 #define HAVE_POWF 1
30414 _ACEOF
30415
30416 fi
30417 done
30418
30419   else
30420
30421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30422 $as_echo_n "checking for _powf declaration... " >&6; }
30423   if test x${glibcxx_cv_func__powf_use+set} != xset; then
30424     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30425   $as_echo_n "(cached) " >&6
30426 else
30427
30428
30429       ac_ext=cpp
30430 ac_cpp='$CXXCPP $CPPFLAGS'
30431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30434
30435       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30436 /* end confdefs.h.  */
30437 #include <math.h>
30438 int
30439 main ()
30440 {
30441  _powf(0, 0);
30442   ;
30443   return 0;
30444 }
30445 _ACEOF
30446 if ac_fn_cxx_try_compile "$LINENO"; then :
30447   glibcxx_cv_func__powf_use=yes
30448 else
30449   glibcxx_cv_func__powf_use=no
30450 fi
30451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30452       ac_ext=c
30453 ac_cpp='$CPP $CPPFLAGS'
30454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30457
30458
30459 fi
30460
30461   fi
30462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30463 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30464
30465     if test x$glibcxx_cv_func__powf_use = x"yes"; then
30466       for ac_func in _powf
30467 do :
30468   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30469 if test "x$ac_cv_func__powf" = x""yes; then :
30470   cat >>confdefs.h <<_ACEOF
30471 #define HAVE__POWF 1
30472 _ACEOF
30473
30474 fi
30475 done
30476
30477     fi
30478   fi
30479
30480
30481
30482
30483
30484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30485 $as_echo_n "checking for sqrtf declaration... " >&6; }
30486   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30487     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30488   $as_echo_n "(cached) " >&6
30489 else
30490
30491
30492       ac_ext=cpp
30493 ac_cpp='$CXXCPP $CPPFLAGS'
30494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30497
30498       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30499 /* end confdefs.h.  */
30500 #include <math.h>
30501                       #ifdef HAVE_IEEEFP_H
30502                       #include <ieeefp.h>
30503                       #endif
30504
30505 int
30506 main ()
30507 {
30508  sqrtf(0);
30509   ;
30510   return 0;
30511 }
30512 _ACEOF
30513 if ac_fn_cxx_try_compile "$LINENO"; then :
30514   glibcxx_cv_func_sqrtf_use=yes
30515 else
30516   glibcxx_cv_func_sqrtf_use=no
30517 fi
30518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30519       ac_ext=c
30520 ac_cpp='$CPP $CPPFLAGS'
30521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30524
30525
30526 fi
30527
30528   fi
30529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30530 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30531
30532   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30533     for ac_func in sqrtf
30534 do :
30535   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30536 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30537   cat >>confdefs.h <<_ACEOF
30538 #define HAVE_SQRTF 1
30539 _ACEOF
30540
30541 fi
30542 done
30543
30544   else
30545
30546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30547 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30548   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30549     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30550   $as_echo_n "(cached) " >&6
30551 else
30552
30553
30554       ac_ext=cpp
30555 ac_cpp='$CXXCPP $CPPFLAGS'
30556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30559
30560       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30561 /* end confdefs.h.  */
30562 #include <math.h>
30563                       #ifdef HAVE_IEEEFP_H
30564                       #include <ieeefp.h>
30565                       #endif
30566
30567 int
30568 main ()
30569 {
30570  _sqrtf(0);
30571   ;
30572   return 0;
30573 }
30574 _ACEOF
30575 if ac_fn_cxx_try_compile "$LINENO"; then :
30576   glibcxx_cv_func__sqrtf_use=yes
30577 else
30578   glibcxx_cv_func__sqrtf_use=no
30579 fi
30580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30581       ac_ext=c
30582 ac_cpp='$CPP $CPPFLAGS'
30583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30586
30587
30588 fi
30589
30590   fi
30591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30592 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30593
30594     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30595       for ac_func in _sqrtf
30596 do :
30597   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30598 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30599   cat >>confdefs.h <<_ACEOF
30600 #define HAVE__SQRTF 1
30601 _ACEOF
30602
30603 fi
30604 done
30605
30606     fi
30607   fi
30608
30609
30610
30611
30612
30613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30614 $as_echo_n "checking for sincosf declaration... " >&6; }
30615   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30616     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30617   $as_echo_n "(cached) " >&6
30618 else
30619
30620
30621       ac_ext=cpp
30622 ac_cpp='$CXXCPP $CPPFLAGS'
30623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30626
30627       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30628 /* end confdefs.h.  */
30629 #include <math.h>
30630 int
30631 main ()
30632 {
30633  sincosf(0, 0, 0);
30634   ;
30635   return 0;
30636 }
30637 _ACEOF
30638 if ac_fn_cxx_try_compile "$LINENO"; then :
30639   glibcxx_cv_func_sincosf_use=yes
30640 else
30641   glibcxx_cv_func_sincosf_use=no
30642 fi
30643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30644       ac_ext=c
30645 ac_cpp='$CPP $CPPFLAGS'
30646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30649
30650
30651 fi
30652
30653   fi
30654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30655 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30656
30657   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30658     for ac_func in sincosf
30659 do :
30660   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30661 if test "x$ac_cv_func_sincosf" = x""yes; then :
30662   cat >>confdefs.h <<_ACEOF
30663 #define HAVE_SINCOSF 1
30664 _ACEOF
30665
30666 fi
30667 done
30668
30669   else
30670
30671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30672 $as_echo_n "checking for _sincosf declaration... " >&6; }
30673   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30674     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30675   $as_echo_n "(cached) " >&6
30676 else
30677
30678
30679       ac_ext=cpp
30680 ac_cpp='$CXXCPP $CPPFLAGS'
30681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30684
30685       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30686 /* end confdefs.h.  */
30687 #include <math.h>
30688 int
30689 main ()
30690 {
30691  _sincosf(0, 0, 0);
30692   ;
30693   return 0;
30694 }
30695 _ACEOF
30696 if ac_fn_cxx_try_compile "$LINENO"; then :
30697   glibcxx_cv_func__sincosf_use=yes
30698 else
30699   glibcxx_cv_func__sincosf_use=no
30700 fi
30701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30702       ac_ext=c
30703 ac_cpp='$CPP $CPPFLAGS'
30704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30707
30708
30709 fi
30710
30711   fi
30712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30713 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30714
30715     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30716       for ac_func in _sincosf
30717 do :
30718   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30719 if test "x$ac_cv_func__sincosf" = x""yes; then :
30720   cat >>confdefs.h <<_ACEOF
30721 #define HAVE__SINCOSF 1
30722 _ACEOF
30723
30724 fi
30725 done
30726
30727     fi
30728   fi
30729
30730
30731
30732
30733
30734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30735 $as_echo_n "checking for finitef declaration... " >&6; }
30736   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30737     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30738   $as_echo_n "(cached) " >&6
30739 else
30740
30741
30742       ac_ext=cpp
30743 ac_cpp='$CXXCPP $CPPFLAGS'
30744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30747
30748       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30749 /* end confdefs.h.  */
30750 #include <math.h>
30751                       #ifdef HAVE_IEEEFP_H
30752                       #include <ieeefp.h>
30753                       #endif
30754
30755 int
30756 main ()
30757 {
30758  finitef(0);
30759   ;
30760   return 0;
30761 }
30762 _ACEOF
30763 if ac_fn_cxx_try_compile "$LINENO"; then :
30764   glibcxx_cv_func_finitef_use=yes
30765 else
30766   glibcxx_cv_func_finitef_use=no
30767 fi
30768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30769       ac_ext=c
30770 ac_cpp='$CPP $CPPFLAGS'
30771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30774
30775
30776 fi
30777
30778   fi
30779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30780 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30781
30782   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30783     for ac_func in finitef
30784 do :
30785   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30786 if test "x$ac_cv_func_finitef" = x""yes; then :
30787   cat >>confdefs.h <<_ACEOF
30788 #define HAVE_FINITEF 1
30789 _ACEOF
30790
30791 fi
30792 done
30793
30794   else
30795
30796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30797 $as_echo_n "checking for _finitef declaration... " >&6; }
30798   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30799     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30800   $as_echo_n "(cached) " >&6
30801 else
30802
30803
30804       ac_ext=cpp
30805 ac_cpp='$CXXCPP $CPPFLAGS'
30806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30809
30810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30811 /* end confdefs.h.  */
30812 #include <math.h>
30813                       #ifdef HAVE_IEEEFP_H
30814                       #include <ieeefp.h>
30815                       #endif
30816
30817 int
30818 main ()
30819 {
30820  _finitef(0);
30821   ;
30822   return 0;
30823 }
30824 _ACEOF
30825 if ac_fn_cxx_try_compile "$LINENO"; then :
30826   glibcxx_cv_func__finitef_use=yes
30827 else
30828   glibcxx_cv_func__finitef_use=no
30829 fi
30830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30831       ac_ext=c
30832 ac_cpp='$CPP $CPPFLAGS'
30833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30836
30837
30838 fi
30839
30840   fi
30841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30842 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30843
30844     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30845       for ac_func in _finitef
30846 do :
30847   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30848 if test "x$ac_cv_func__finitef" = x""yes; then :
30849   cat >>confdefs.h <<_ACEOF
30850 #define HAVE__FINITEF 1
30851 _ACEOF
30852
30853 fi
30854 done
30855
30856     fi
30857   fi
30858
30859
30860
30861
30862
30863     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30864 $as_echo_n "checking for long double trig functions... " >&6; }
30865   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30866   $as_echo_n "(cached) " >&6
30867 else
30868
30869
30870     ac_ext=cpp
30871 ac_cpp='$CXXCPP $CPPFLAGS'
30872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30875
30876     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30877 /* end confdefs.h.  */
30878 #include <math.h>
30879 int
30880 main ()
30881 {
30882 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30883   ;
30884   return 0;
30885 }
30886 _ACEOF
30887 if ac_fn_cxx_try_compile "$LINENO"; then :
30888   glibcxx_cv_func_long_double_trig_use=yes
30889 else
30890   glibcxx_cv_func_long_double_trig_use=no
30891 fi
30892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30893     ac_ext=c
30894 ac_cpp='$CPP $CPPFLAGS'
30895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30898
30899 fi
30900
30901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30902 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30903   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30904     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30905 do :
30906   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30907 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30908 eval as_val=\$$as_ac_var
30909    if test "x$as_val" = x""yes; then :
30910   cat >>confdefs.h <<_ACEOF
30911 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30912 _ACEOF
30913
30914 fi
30915 done
30916
30917   else
30918     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30919 $as_echo_n "checking for _long double trig functions... " >&6; }
30920     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30921   $as_echo_n "(cached) " >&6
30922 else
30923
30924
30925       ac_ext=cpp
30926 ac_cpp='$CXXCPP $CPPFLAGS'
30927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30930
30931       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30932 /* end confdefs.h.  */
30933 #include <math.h>
30934 int
30935 main ()
30936 {
30937 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30938   ;
30939   return 0;
30940 }
30941 _ACEOF
30942 if ac_fn_cxx_try_compile "$LINENO"; then :
30943   glibcxx_cv_func__long_double_trig_use=yes
30944 else
30945   glibcxx_cv_func__long_double_trig_use=no
30946 fi
30947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30948       ac_ext=c
30949 ac_cpp='$CPP $CPPFLAGS'
30950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30953
30954 fi
30955
30956     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30957 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30958     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30959       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30960 do :
30961   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30962 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30963 eval as_val=\$$as_ac_var
30964    if test "x$as_val" = x""yes; then :
30965   cat >>confdefs.h <<_ACEOF
30966 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30967 _ACEOF
30968
30969 fi
30970 done
30971
30972     fi
30973   fi
30974
30975
30976
30977
30978
30979     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30980 $as_echo_n "checking for long double round functions... " >&6; }
30981   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30982   $as_echo_n "(cached) " >&6
30983 else
30984
30985
30986     ac_ext=cpp
30987 ac_cpp='$CXXCPP $CPPFLAGS'
30988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30991
30992     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30993 /* end confdefs.h.  */
30994 #include <math.h>
30995 int
30996 main ()
30997 {
30998 ceill (0); floorl (0);
30999   ;
31000   return 0;
31001 }
31002 _ACEOF
31003 if ac_fn_cxx_try_compile "$LINENO"; then :
31004   glibcxx_cv_func_long_double_round_use=yes
31005 else
31006   glibcxx_cv_func_long_double_round_use=no
31007 fi
31008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31009     ac_ext=c
31010 ac_cpp='$CPP $CPPFLAGS'
31011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31014
31015 fi
31016
31017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31018 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31019   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31020     for ac_func in ceill floorl
31021 do :
31022   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31023 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31024 eval as_val=\$$as_ac_var
31025    if test "x$as_val" = x""yes; then :
31026   cat >>confdefs.h <<_ACEOF
31027 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31028 _ACEOF
31029
31030 fi
31031 done
31032
31033   else
31034     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31035 $as_echo_n "checking for _long double round functions... " >&6; }
31036     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31037   $as_echo_n "(cached) " >&6
31038 else
31039
31040
31041       ac_ext=cpp
31042 ac_cpp='$CXXCPP $CPPFLAGS'
31043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31046
31047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31048 /* end confdefs.h.  */
31049 #include <math.h>
31050 int
31051 main ()
31052 {
31053 _ceill (0); _floorl (0);
31054   ;
31055   return 0;
31056 }
31057 _ACEOF
31058 if ac_fn_cxx_try_compile "$LINENO"; then :
31059   glibcxx_cv_func__long_double_round_use=yes
31060 else
31061   glibcxx_cv_func__long_double_round_use=no
31062 fi
31063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31064       ac_ext=c
31065 ac_cpp='$CPP $CPPFLAGS'
31066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31069
31070 fi
31071
31072     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31073 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31074     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31075       for ac_func in _ceill _floorl
31076 do :
31077   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31078 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31079 eval as_val=\$$as_ac_var
31080    if test "x$as_val" = x""yes; then :
31081   cat >>confdefs.h <<_ACEOF
31082 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31083 _ACEOF
31084
31085 fi
31086 done
31087
31088     fi
31089   fi
31090
31091
31092
31093
31094
31095
31096   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31097 $as_echo_n "checking for isnanl declaration... " >&6; }
31098   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31099     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31100   $as_echo_n "(cached) " >&6
31101 else
31102
31103
31104       ac_ext=cpp
31105 ac_cpp='$CXXCPP $CPPFLAGS'
31106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31109
31110       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31111 /* end confdefs.h.  */
31112 #include <math.h>
31113                       #ifdef HAVE_IEEEFP_H
31114                       #include <ieeefp.h>
31115                       #endif
31116
31117 int
31118 main ()
31119 {
31120  isnanl(0);
31121   ;
31122   return 0;
31123 }
31124 _ACEOF
31125 if ac_fn_cxx_try_compile "$LINENO"; then :
31126   glibcxx_cv_func_isnanl_use=yes
31127 else
31128   glibcxx_cv_func_isnanl_use=no
31129 fi
31130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31131       ac_ext=c
31132 ac_cpp='$CPP $CPPFLAGS'
31133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31136
31137
31138 fi
31139
31140   fi
31141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31142 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31143
31144   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31145     for ac_func in isnanl
31146 do :
31147   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31148 if test "x$ac_cv_func_isnanl" = x""yes; then :
31149   cat >>confdefs.h <<_ACEOF
31150 #define HAVE_ISNANL 1
31151 _ACEOF
31152
31153 fi
31154 done
31155
31156   else
31157
31158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31159 $as_echo_n "checking for _isnanl declaration... " >&6; }
31160   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31161     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31162   $as_echo_n "(cached) " >&6
31163 else
31164
31165
31166       ac_ext=cpp
31167 ac_cpp='$CXXCPP $CPPFLAGS'
31168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31171
31172       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31173 /* end confdefs.h.  */
31174 #include <math.h>
31175                       #ifdef HAVE_IEEEFP_H
31176                       #include <ieeefp.h>
31177                       #endif
31178
31179 int
31180 main ()
31181 {
31182  _isnanl(0);
31183   ;
31184   return 0;
31185 }
31186 _ACEOF
31187 if ac_fn_cxx_try_compile "$LINENO"; then :
31188   glibcxx_cv_func__isnanl_use=yes
31189 else
31190   glibcxx_cv_func__isnanl_use=no
31191 fi
31192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31193       ac_ext=c
31194 ac_cpp='$CPP $CPPFLAGS'
31195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31198
31199
31200 fi
31201
31202   fi
31203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31204 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31205
31206     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31207       for ac_func in _isnanl
31208 do :
31209   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31210 if test "x$ac_cv_func__isnanl" = x""yes; then :
31211   cat >>confdefs.h <<_ACEOF
31212 #define HAVE__ISNANL 1
31213 _ACEOF
31214
31215 fi
31216 done
31217
31218     fi
31219   fi
31220
31221
31222
31223
31224
31225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31226 $as_echo_n "checking for isinfl declaration... " >&6; }
31227   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31228     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31229   $as_echo_n "(cached) " >&6
31230 else
31231
31232
31233       ac_ext=cpp
31234 ac_cpp='$CXXCPP $CPPFLAGS'
31235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31238
31239       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31240 /* end confdefs.h.  */
31241 #include <math.h>
31242                       #ifdef HAVE_IEEEFP_H
31243                       #include <ieeefp.h>
31244                       #endif
31245
31246 int
31247 main ()
31248 {
31249  isinfl(0);
31250   ;
31251   return 0;
31252 }
31253 _ACEOF
31254 if ac_fn_cxx_try_compile "$LINENO"; then :
31255   glibcxx_cv_func_isinfl_use=yes
31256 else
31257   glibcxx_cv_func_isinfl_use=no
31258 fi
31259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31260       ac_ext=c
31261 ac_cpp='$CPP $CPPFLAGS'
31262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31265
31266
31267 fi
31268
31269   fi
31270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31271 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31272
31273   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31274     for ac_func in isinfl
31275 do :
31276   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31277 if test "x$ac_cv_func_isinfl" = x""yes; then :
31278   cat >>confdefs.h <<_ACEOF
31279 #define HAVE_ISINFL 1
31280 _ACEOF
31281
31282 fi
31283 done
31284
31285   else
31286
31287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31288 $as_echo_n "checking for _isinfl declaration... " >&6; }
31289   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31290     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31291   $as_echo_n "(cached) " >&6
31292 else
31293
31294
31295       ac_ext=cpp
31296 ac_cpp='$CXXCPP $CPPFLAGS'
31297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31300
31301       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31302 /* end confdefs.h.  */
31303 #include <math.h>
31304                       #ifdef HAVE_IEEEFP_H
31305                       #include <ieeefp.h>
31306                       #endif
31307
31308 int
31309 main ()
31310 {
31311  _isinfl(0);
31312   ;
31313   return 0;
31314 }
31315 _ACEOF
31316 if ac_fn_cxx_try_compile "$LINENO"; then :
31317   glibcxx_cv_func__isinfl_use=yes
31318 else
31319   glibcxx_cv_func__isinfl_use=no
31320 fi
31321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31322       ac_ext=c
31323 ac_cpp='$CPP $CPPFLAGS'
31324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31327
31328
31329 fi
31330
31331   fi
31332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31333 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31334
31335     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31336       for ac_func in _isinfl
31337 do :
31338   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31339 if test "x$ac_cv_func__isinfl" = x""yes; then :
31340   cat >>confdefs.h <<_ACEOF
31341 #define HAVE__ISINFL 1
31342 _ACEOF
31343
31344 fi
31345 done
31346
31347     fi
31348   fi
31349
31350
31351
31352
31353
31354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31355 $as_echo_n "checking for atan2l declaration... " >&6; }
31356   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31357     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31358   $as_echo_n "(cached) " >&6
31359 else
31360
31361
31362       ac_ext=cpp
31363 ac_cpp='$CXXCPP $CPPFLAGS'
31364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31367
31368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31369 /* end confdefs.h.  */
31370 #include <math.h>
31371 int
31372 main ()
31373 {
31374  atan2l(0, 0);
31375   ;
31376   return 0;
31377 }
31378 _ACEOF
31379 if ac_fn_cxx_try_compile "$LINENO"; then :
31380   glibcxx_cv_func_atan2l_use=yes
31381 else
31382   glibcxx_cv_func_atan2l_use=no
31383 fi
31384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31385       ac_ext=c
31386 ac_cpp='$CPP $CPPFLAGS'
31387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31390
31391
31392 fi
31393
31394   fi
31395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31396 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31397
31398   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31399     for ac_func in atan2l
31400 do :
31401   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31402 if test "x$ac_cv_func_atan2l" = x""yes; then :
31403   cat >>confdefs.h <<_ACEOF
31404 #define HAVE_ATAN2L 1
31405 _ACEOF
31406
31407 fi
31408 done
31409
31410   else
31411
31412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31413 $as_echo_n "checking for _atan2l declaration... " >&6; }
31414   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31415     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31416   $as_echo_n "(cached) " >&6
31417 else
31418
31419
31420       ac_ext=cpp
31421 ac_cpp='$CXXCPP $CPPFLAGS'
31422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31425
31426       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31427 /* end confdefs.h.  */
31428 #include <math.h>
31429 int
31430 main ()
31431 {
31432  _atan2l(0, 0);
31433   ;
31434   return 0;
31435 }
31436 _ACEOF
31437 if ac_fn_cxx_try_compile "$LINENO"; then :
31438   glibcxx_cv_func__atan2l_use=yes
31439 else
31440   glibcxx_cv_func__atan2l_use=no
31441 fi
31442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31443       ac_ext=c
31444 ac_cpp='$CPP $CPPFLAGS'
31445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31448
31449
31450 fi
31451
31452   fi
31453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31454 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31455
31456     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31457       for ac_func in _atan2l
31458 do :
31459   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31460 if test "x$ac_cv_func__atan2l" = x""yes; then :
31461   cat >>confdefs.h <<_ACEOF
31462 #define HAVE__ATAN2L 1
31463 _ACEOF
31464
31465 fi
31466 done
31467
31468     fi
31469   fi
31470
31471
31472
31473
31474
31475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31476 $as_echo_n "checking for expl declaration... " >&6; }
31477   if test x${glibcxx_cv_func_expl_use+set} != xset; then
31478     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31479   $as_echo_n "(cached) " >&6
31480 else
31481
31482
31483       ac_ext=cpp
31484 ac_cpp='$CXXCPP $CPPFLAGS'
31485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31488
31489       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31490 /* end confdefs.h.  */
31491 #include <math.h>
31492                       #ifdef HAVE_IEEEFP_H
31493                       #include <ieeefp.h>
31494                       #endif
31495
31496 int
31497 main ()
31498 {
31499  expl(0);
31500   ;
31501   return 0;
31502 }
31503 _ACEOF
31504 if ac_fn_cxx_try_compile "$LINENO"; then :
31505   glibcxx_cv_func_expl_use=yes
31506 else
31507   glibcxx_cv_func_expl_use=no
31508 fi
31509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31510       ac_ext=c
31511 ac_cpp='$CPP $CPPFLAGS'
31512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31515
31516
31517 fi
31518
31519   fi
31520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31521 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31522
31523   if test x$glibcxx_cv_func_expl_use = x"yes"; then
31524     for ac_func in expl
31525 do :
31526   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31527 if test "x$ac_cv_func_expl" = x""yes; then :
31528   cat >>confdefs.h <<_ACEOF
31529 #define HAVE_EXPL 1
31530 _ACEOF
31531
31532 fi
31533 done
31534
31535   else
31536
31537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31538 $as_echo_n "checking for _expl declaration... " >&6; }
31539   if test x${glibcxx_cv_func__expl_use+set} != xset; then
31540     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31541   $as_echo_n "(cached) " >&6
31542 else
31543
31544
31545       ac_ext=cpp
31546 ac_cpp='$CXXCPP $CPPFLAGS'
31547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31550
31551       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31552 /* end confdefs.h.  */
31553 #include <math.h>
31554                       #ifdef HAVE_IEEEFP_H
31555                       #include <ieeefp.h>
31556                       #endif
31557
31558 int
31559 main ()
31560 {
31561  _expl(0);
31562   ;
31563   return 0;
31564 }
31565 _ACEOF
31566 if ac_fn_cxx_try_compile "$LINENO"; then :
31567   glibcxx_cv_func__expl_use=yes
31568 else
31569   glibcxx_cv_func__expl_use=no
31570 fi
31571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31572       ac_ext=c
31573 ac_cpp='$CPP $CPPFLAGS'
31574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31577
31578
31579 fi
31580
31581   fi
31582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31583 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31584
31585     if test x$glibcxx_cv_func__expl_use = x"yes"; then
31586       for ac_func in _expl
31587 do :
31588   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31589 if test "x$ac_cv_func__expl" = x""yes; then :
31590   cat >>confdefs.h <<_ACEOF
31591 #define HAVE__EXPL 1
31592 _ACEOF
31593
31594 fi
31595 done
31596
31597     fi
31598   fi
31599
31600
31601
31602
31603
31604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31605 $as_echo_n "checking for fabsl declaration... " >&6; }
31606   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31607     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31608   $as_echo_n "(cached) " >&6
31609 else
31610
31611
31612       ac_ext=cpp
31613 ac_cpp='$CXXCPP $CPPFLAGS'
31614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31617
31618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31619 /* end confdefs.h.  */
31620 #include <math.h>
31621                       #ifdef HAVE_IEEEFP_H
31622                       #include <ieeefp.h>
31623                       #endif
31624
31625 int
31626 main ()
31627 {
31628  fabsl(0);
31629   ;
31630   return 0;
31631 }
31632 _ACEOF
31633 if ac_fn_cxx_try_compile "$LINENO"; then :
31634   glibcxx_cv_func_fabsl_use=yes
31635 else
31636   glibcxx_cv_func_fabsl_use=no
31637 fi
31638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31639       ac_ext=c
31640 ac_cpp='$CPP $CPPFLAGS'
31641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31644
31645
31646 fi
31647
31648   fi
31649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31650 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31651
31652   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31653     for ac_func in fabsl
31654 do :
31655   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31656 if test "x$ac_cv_func_fabsl" = x""yes; then :
31657   cat >>confdefs.h <<_ACEOF
31658 #define HAVE_FABSL 1
31659 _ACEOF
31660
31661 fi
31662 done
31663
31664   else
31665
31666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31667 $as_echo_n "checking for _fabsl declaration... " >&6; }
31668   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31669     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31670   $as_echo_n "(cached) " >&6
31671 else
31672
31673
31674       ac_ext=cpp
31675 ac_cpp='$CXXCPP $CPPFLAGS'
31676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31679
31680       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31681 /* end confdefs.h.  */
31682 #include <math.h>
31683                       #ifdef HAVE_IEEEFP_H
31684                       #include <ieeefp.h>
31685                       #endif
31686
31687 int
31688 main ()
31689 {
31690  _fabsl(0);
31691   ;
31692   return 0;
31693 }
31694 _ACEOF
31695 if ac_fn_cxx_try_compile "$LINENO"; then :
31696   glibcxx_cv_func__fabsl_use=yes
31697 else
31698   glibcxx_cv_func__fabsl_use=no
31699 fi
31700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31701       ac_ext=c
31702 ac_cpp='$CPP $CPPFLAGS'
31703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31706
31707
31708 fi
31709
31710   fi
31711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31712 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31713
31714     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31715       for ac_func in _fabsl
31716 do :
31717   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31718 if test "x$ac_cv_func__fabsl" = x""yes; then :
31719   cat >>confdefs.h <<_ACEOF
31720 #define HAVE__FABSL 1
31721 _ACEOF
31722
31723 fi
31724 done
31725
31726     fi
31727   fi
31728
31729
31730
31731
31732
31733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31734 $as_echo_n "checking for fmodl declaration... " >&6; }
31735   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31736     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31737   $as_echo_n "(cached) " >&6
31738 else
31739
31740
31741       ac_ext=cpp
31742 ac_cpp='$CXXCPP $CPPFLAGS'
31743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31746
31747       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31748 /* end confdefs.h.  */
31749 #include <math.h>
31750 int
31751 main ()
31752 {
31753  fmodl(0, 0);
31754   ;
31755   return 0;
31756 }
31757 _ACEOF
31758 if ac_fn_cxx_try_compile "$LINENO"; then :
31759   glibcxx_cv_func_fmodl_use=yes
31760 else
31761   glibcxx_cv_func_fmodl_use=no
31762 fi
31763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31764       ac_ext=c
31765 ac_cpp='$CPP $CPPFLAGS'
31766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31769
31770
31771 fi
31772
31773   fi
31774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31775 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31776
31777   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31778     for ac_func in fmodl
31779 do :
31780   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31781 if test "x$ac_cv_func_fmodl" = x""yes; then :
31782   cat >>confdefs.h <<_ACEOF
31783 #define HAVE_FMODL 1
31784 _ACEOF
31785
31786 fi
31787 done
31788
31789   else
31790
31791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31792 $as_echo_n "checking for _fmodl declaration... " >&6; }
31793   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31794     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31795   $as_echo_n "(cached) " >&6
31796 else
31797
31798
31799       ac_ext=cpp
31800 ac_cpp='$CXXCPP $CPPFLAGS'
31801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31804
31805       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31806 /* end confdefs.h.  */
31807 #include <math.h>
31808 int
31809 main ()
31810 {
31811  _fmodl(0, 0);
31812   ;
31813   return 0;
31814 }
31815 _ACEOF
31816 if ac_fn_cxx_try_compile "$LINENO"; then :
31817   glibcxx_cv_func__fmodl_use=yes
31818 else
31819   glibcxx_cv_func__fmodl_use=no
31820 fi
31821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31822       ac_ext=c
31823 ac_cpp='$CPP $CPPFLAGS'
31824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31827
31828
31829 fi
31830
31831   fi
31832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31833 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31834
31835     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31836       for ac_func in _fmodl
31837 do :
31838   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31839 if test "x$ac_cv_func__fmodl" = x""yes; then :
31840   cat >>confdefs.h <<_ACEOF
31841 #define HAVE__FMODL 1
31842 _ACEOF
31843
31844 fi
31845 done
31846
31847     fi
31848   fi
31849
31850
31851
31852
31853
31854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31855 $as_echo_n "checking for frexpl declaration... " >&6; }
31856   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31857     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31858   $as_echo_n "(cached) " >&6
31859 else
31860
31861
31862       ac_ext=cpp
31863 ac_cpp='$CXXCPP $CPPFLAGS'
31864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31867
31868       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31869 /* end confdefs.h.  */
31870 #include <math.h>
31871 int
31872 main ()
31873 {
31874  frexpl(0, 0);
31875   ;
31876   return 0;
31877 }
31878 _ACEOF
31879 if ac_fn_cxx_try_compile "$LINENO"; then :
31880   glibcxx_cv_func_frexpl_use=yes
31881 else
31882   glibcxx_cv_func_frexpl_use=no
31883 fi
31884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31885       ac_ext=c
31886 ac_cpp='$CPP $CPPFLAGS'
31887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31890
31891
31892 fi
31893
31894   fi
31895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31896 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31897
31898   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31899     for ac_func in frexpl
31900 do :
31901   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31902 if test "x$ac_cv_func_frexpl" = x""yes; then :
31903   cat >>confdefs.h <<_ACEOF
31904 #define HAVE_FREXPL 1
31905 _ACEOF
31906
31907 fi
31908 done
31909
31910   else
31911
31912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31913 $as_echo_n "checking for _frexpl declaration... " >&6; }
31914   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31915     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31916   $as_echo_n "(cached) " >&6
31917 else
31918
31919
31920       ac_ext=cpp
31921 ac_cpp='$CXXCPP $CPPFLAGS'
31922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31925
31926       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31927 /* end confdefs.h.  */
31928 #include <math.h>
31929 int
31930 main ()
31931 {
31932  _frexpl(0, 0);
31933   ;
31934   return 0;
31935 }
31936 _ACEOF
31937 if ac_fn_cxx_try_compile "$LINENO"; then :
31938   glibcxx_cv_func__frexpl_use=yes
31939 else
31940   glibcxx_cv_func__frexpl_use=no
31941 fi
31942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31943       ac_ext=c
31944 ac_cpp='$CPP $CPPFLAGS'
31945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31948
31949
31950 fi
31951
31952   fi
31953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31954 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31955
31956     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31957       for ac_func in _frexpl
31958 do :
31959   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31960 if test "x$ac_cv_func__frexpl" = x""yes; then :
31961   cat >>confdefs.h <<_ACEOF
31962 #define HAVE__FREXPL 1
31963 _ACEOF
31964
31965 fi
31966 done
31967
31968     fi
31969   fi
31970
31971
31972
31973
31974
31975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31976 $as_echo_n "checking for hypotl declaration... " >&6; }
31977   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31978     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31979   $as_echo_n "(cached) " >&6
31980 else
31981
31982
31983       ac_ext=cpp
31984 ac_cpp='$CXXCPP $CPPFLAGS'
31985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31988
31989       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31990 /* end confdefs.h.  */
31991 #include <math.h>
31992 int
31993 main ()
31994 {
31995  hypotl(0, 0);
31996   ;
31997   return 0;
31998 }
31999 _ACEOF
32000 if ac_fn_cxx_try_compile "$LINENO"; then :
32001   glibcxx_cv_func_hypotl_use=yes
32002 else
32003   glibcxx_cv_func_hypotl_use=no
32004 fi
32005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32006       ac_ext=c
32007 ac_cpp='$CPP $CPPFLAGS'
32008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32011
32012
32013 fi
32014
32015   fi
32016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32017 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32018
32019   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32020     for ac_func in hypotl
32021 do :
32022   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32023 if test "x$ac_cv_func_hypotl" = x""yes; then :
32024   cat >>confdefs.h <<_ACEOF
32025 #define HAVE_HYPOTL 1
32026 _ACEOF
32027
32028 fi
32029 done
32030
32031   else
32032
32033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32034 $as_echo_n "checking for _hypotl declaration... " >&6; }
32035   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32036     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32037   $as_echo_n "(cached) " >&6
32038 else
32039
32040
32041       ac_ext=cpp
32042 ac_cpp='$CXXCPP $CPPFLAGS'
32043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32046
32047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32048 /* end confdefs.h.  */
32049 #include <math.h>
32050 int
32051 main ()
32052 {
32053  _hypotl(0, 0);
32054   ;
32055   return 0;
32056 }
32057 _ACEOF
32058 if ac_fn_cxx_try_compile "$LINENO"; then :
32059   glibcxx_cv_func__hypotl_use=yes
32060 else
32061   glibcxx_cv_func__hypotl_use=no
32062 fi
32063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32064       ac_ext=c
32065 ac_cpp='$CPP $CPPFLAGS'
32066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32069
32070
32071 fi
32072
32073   fi
32074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32075 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32076
32077     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32078       for ac_func in _hypotl
32079 do :
32080   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32081 if test "x$ac_cv_func__hypotl" = x""yes; then :
32082   cat >>confdefs.h <<_ACEOF
32083 #define HAVE__HYPOTL 1
32084 _ACEOF
32085
32086 fi
32087 done
32088
32089     fi
32090   fi
32091
32092
32093
32094
32095
32096   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32097 $as_echo_n "checking for ldexpl declaration... " >&6; }
32098   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32099     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32100   $as_echo_n "(cached) " >&6
32101 else
32102
32103
32104       ac_ext=cpp
32105 ac_cpp='$CXXCPP $CPPFLAGS'
32106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32109
32110       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32111 /* end confdefs.h.  */
32112 #include <math.h>
32113 int
32114 main ()
32115 {
32116  ldexpl(0, 0);
32117   ;
32118   return 0;
32119 }
32120 _ACEOF
32121 if ac_fn_cxx_try_compile "$LINENO"; then :
32122   glibcxx_cv_func_ldexpl_use=yes
32123 else
32124   glibcxx_cv_func_ldexpl_use=no
32125 fi
32126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32127       ac_ext=c
32128 ac_cpp='$CPP $CPPFLAGS'
32129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32132
32133
32134 fi
32135
32136   fi
32137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32138 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32139
32140   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32141     for ac_func in ldexpl
32142 do :
32143   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32144 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32145   cat >>confdefs.h <<_ACEOF
32146 #define HAVE_LDEXPL 1
32147 _ACEOF
32148
32149 fi
32150 done
32151
32152   else
32153
32154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32155 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32156   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32157     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32158   $as_echo_n "(cached) " >&6
32159 else
32160
32161
32162       ac_ext=cpp
32163 ac_cpp='$CXXCPP $CPPFLAGS'
32164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32167
32168       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32169 /* end confdefs.h.  */
32170 #include <math.h>
32171 int
32172 main ()
32173 {
32174  _ldexpl(0, 0);
32175   ;
32176   return 0;
32177 }
32178 _ACEOF
32179 if ac_fn_cxx_try_compile "$LINENO"; then :
32180   glibcxx_cv_func__ldexpl_use=yes
32181 else
32182   glibcxx_cv_func__ldexpl_use=no
32183 fi
32184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32185       ac_ext=c
32186 ac_cpp='$CPP $CPPFLAGS'
32187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32190
32191
32192 fi
32193
32194   fi
32195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32196 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32197
32198     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32199       for ac_func in _ldexpl
32200 do :
32201   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32202 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32203   cat >>confdefs.h <<_ACEOF
32204 #define HAVE__LDEXPL 1
32205 _ACEOF
32206
32207 fi
32208 done
32209
32210     fi
32211   fi
32212
32213
32214
32215
32216
32217   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32218 $as_echo_n "checking for logl declaration... " >&6; }
32219   if test x${glibcxx_cv_func_logl_use+set} != xset; then
32220     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32221   $as_echo_n "(cached) " >&6
32222 else
32223
32224
32225       ac_ext=cpp
32226 ac_cpp='$CXXCPP $CPPFLAGS'
32227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32230
32231       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32232 /* end confdefs.h.  */
32233 #include <math.h>
32234                       #ifdef HAVE_IEEEFP_H
32235                       #include <ieeefp.h>
32236                       #endif
32237
32238 int
32239 main ()
32240 {
32241  logl(0);
32242   ;
32243   return 0;
32244 }
32245 _ACEOF
32246 if ac_fn_cxx_try_compile "$LINENO"; then :
32247   glibcxx_cv_func_logl_use=yes
32248 else
32249   glibcxx_cv_func_logl_use=no
32250 fi
32251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32252       ac_ext=c
32253 ac_cpp='$CPP $CPPFLAGS'
32254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32257
32258
32259 fi
32260
32261   fi
32262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32263 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32264
32265   if test x$glibcxx_cv_func_logl_use = x"yes"; then
32266     for ac_func in logl
32267 do :
32268   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32269 if test "x$ac_cv_func_logl" = x""yes; then :
32270   cat >>confdefs.h <<_ACEOF
32271 #define HAVE_LOGL 1
32272 _ACEOF
32273
32274 fi
32275 done
32276
32277   else
32278
32279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32280 $as_echo_n "checking for _logl declaration... " >&6; }
32281   if test x${glibcxx_cv_func__logl_use+set} != xset; then
32282     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32283   $as_echo_n "(cached) " >&6
32284 else
32285
32286
32287       ac_ext=cpp
32288 ac_cpp='$CXXCPP $CPPFLAGS'
32289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32292
32293       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32294 /* end confdefs.h.  */
32295 #include <math.h>
32296                       #ifdef HAVE_IEEEFP_H
32297                       #include <ieeefp.h>
32298                       #endif
32299
32300 int
32301 main ()
32302 {
32303  _logl(0);
32304   ;
32305   return 0;
32306 }
32307 _ACEOF
32308 if ac_fn_cxx_try_compile "$LINENO"; then :
32309   glibcxx_cv_func__logl_use=yes
32310 else
32311   glibcxx_cv_func__logl_use=no
32312 fi
32313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32314       ac_ext=c
32315 ac_cpp='$CPP $CPPFLAGS'
32316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32319
32320
32321 fi
32322
32323   fi
32324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32325 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32326
32327     if test x$glibcxx_cv_func__logl_use = x"yes"; then
32328       for ac_func in _logl
32329 do :
32330   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32331 if test "x$ac_cv_func__logl" = x""yes; then :
32332   cat >>confdefs.h <<_ACEOF
32333 #define HAVE__LOGL 1
32334 _ACEOF
32335
32336 fi
32337 done
32338
32339     fi
32340   fi
32341
32342
32343
32344
32345
32346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32347 $as_echo_n "checking for log10l declaration... " >&6; }
32348   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32349     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32350   $as_echo_n "(cached) " >&6
32351 else
32352
32353
32354       ac_ext=cpp
32355 ac_cpp='$CXXCPP $CPPFLAGS'
32356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32359
32360       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32361 /* end confdefs.h.  */
32362 #include <math.h>
32363                       #ifdef HAVE_IEEEFP_H
32364                       #include <ieeefp.h>
32365                       #endif
32366
32367 int
32368 main ()
32369 {
32370  log10l(0);
32371   ;
32372   return 0;
32373 }
32374 _ACEOF
32375 if ac_fn_cxx_try_compile "$LINENO"; then :
32376   glibcxx_cv_func_log10l_use=yes
32377 else
32378   glibcxx_cv_func_log10l_use=no
32379 fi
32380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32381       ac_ext=c
32382 ac_cpp='$CPP $CPPFLAGS'
32383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32386
32387
32388 fi
32389
32390   fi
32391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32392 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32393
32394   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32395     for ac_func in log10l
32396 do :
32397   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32398 if test "x$ac_cv_func_log10l" = x""yes; then :
32399   cat >>confdefs.h <<_ACEOF
32400 #define HAVE_LOG10L 1
32401 _ACEOF
32402
32403 fi
32404 done
32405
32406   else
32407
32408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32409 $as_echo_n "checking for _log10l declaration... " >&6; }
32410   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32411     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32412   $as_echo_n "(cached) " >&6
32413 else
32414
32415
32416       ac_ext=cpp
32417 ac_cpp='$CXXCPP $CPPFLAGS'
32418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32421
32422       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32423 /* end confdefs.h.  */
32424 #include <math.h>
32425                       #ifdef HAVE_IEEEFP_H
32426                       #include <ieeefp.h>
32427                       #endif
32428
32429 int
32430 main ()
32431 {
32432  _log10l(0);
32433   ;
32434   return 0;
32435 }
32436 _ACEOF
32437 if ac_fn_cxx_try_compile "$LINENO"; then :
32438   glibcxx_cv_func__log10l_use=yes
32439 else
32440   glibcxx_cv_func__log10l_use=no
32441 fi
32442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32443       ac_ext=c
32444 ac_cpp='$CPP $CPPFLAGS'
32445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32448
32449
32450 fi
32451
32452   fi
32453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32454 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32455
32456     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32457       for ac_func in _log10l
32458 do :
32459   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32460 if test "x$ac_cv_func__log10l" = x""yes; then :
32461   cat >>confdefs.h <<_ACEOF
32462 #define HAVE__LOG10L 1
32463 _ACEOF
32464
32465 fi
32466 done
32467
32468     fi
32469   fi
32470
32471
32472
32473
32474
32475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32476 $as_echo_n "checking for modfl declaration... " >&6; }
32477   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32478     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32479   $as_echo_n "(cached) " >&6
32480 else
32481
32482
32483       ac_ext=cpp
32484 ac_cpp='$CXXCPP $CPPFLAGS'
32485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32488
32489       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32490 /* end confdefs.h.  */
32491 #include <math.h>
32492 int
32493 main ()
32494 {
32495  modfl(0, 0);
32496   ;
32497   return 0;
32498 }
32499 _ACEOF
32500 if ac_fn_cxx_try_compile "$LINENO"; then :
32501   glibcxx_cv_func_modfl_use=yes
32502 else
32503   glibcxx_cv_func_modfl_use=no
32504 fi
32505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32506       ac_ext=c
32507 ac_cpp='$CPP $CPPFLAGS'
32508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32511
32512
32513 fi
32514
32515   fi
32516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32517 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32518
32519   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32520     for ac_func in modfl
32521 do :
32522   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32523 if test "x$ac_cv_func_modfl" = x""yes; then :
32524   cat >>confdefs.h <<_ACEOF
32525 #define HAVE_MODFL 1
32526 _ACEOF
32527
32528 fi
32529 done
32530
32531   else
32532
32533   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32534 $as_echo_n "checking for _modfl declaration... " >&6; }
32535   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32536     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32537   $as_echo_n "(cached) " >&6
32538 else
32539
32540
32541       ac_ext=cpp
32542 ac_cpp='$CXXCPP $CPPFLAGS'
32543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32546
32547       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32548 /* end confdefs.h.  */
32549 #include <math.h>
32550 int
32551 main ()
32552 {
32553  _modfl(0, 0);
32554   ;
32555   return 0;
32556 }
32557 _ACEOF
32558 if ac_fn_cxx_try_compile "$LINENO"; then :
32559   glibcxx_cv_func__modfl_use=yes
32560 else
32561   glibcxx_cv_func__modfl_use=no
32562 fi
32563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32564       ac_ext=c
32565 ac_cpp='$CPP $CPPFLAGS'
32566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32569
32570
32571 fi
32572
32573   fi
32574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32575 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32576
32577     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32578       for ac_func in _modfl
32579 do :
32580   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32581 if test "x$ac_cv_func__modfl" = x""yes; then :
32582   cat >>confdefs.h <<_ACEOF
32583 #define HAVE__MODFL 1
32584 _ACEOF
32585
32586 fi
32587 done
32588
32589     fi
32590   fi
32591
32592
32593
32594
32595
32596   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32597 $as_echo_n "checking for powl declaration... " >&6; }
32598   if test x${glibcxx_cv_func_powl_use+set} != xset; then
32599     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32600   $as_echo_n "(cached) " >&6
32601 else
32602
32603
32604       ac_ext=cpp
32605 ac_cpp='$CXXCPP $CPPFLAGS'
32606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32609
32610       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32611 /* end confdefs.h.  */
32612 #include <math.h>
32613 int
32614 main ()
32615 {
32616  powl(0, 0);
32617   ;
32618   return 0;
32619 }
32620 _ACEOF
32621 if ac_fn_cxx_try_compile "$LINENO"; then :
32622   glibcxx_cv_func_powl_use=yes
32623 else
32624   glibcxx_cv_func_powl_use=no
32625 fi
32626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32627       ac_ext=c
32628 ac_cpp='$CPP $CPPFLAGS'
32629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32632
32633
32634 fi
32635
32636   fi
32637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32638 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32639
32640   if test x$glibcxx_cv_func_powl_use = x"yes"; then
32641     for ac_func in powl
32642 do :
32643   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32644 if test "x$ac_cv_func_powl" = x""yes; then :
32645   cat >>confdefs.h <<_ACEOF
32646 #define HAVE_POWL 1
32647 _ACEOF
32648
32649 fi
32650 done
32651
32652   else
32653
32654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32655 $as_echo_n "checking for _powl declaration... " >&6; }
32656   if test x${glibcxx_cv_func__powl_use+set} != xset; then
32657     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32658   $as_echo_n "(cached) " >&6
32659 else
32660
32661
32662       ac_ext=cpp
32663 ac_cpp='$CXXCPP $CPPFLAGS'
32664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32667
32668       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32669 /* end confdefs.h.  */
32670 #include <math.h>
32671 int
32672 main ()
32673 {
32674  _powl(0, 0);
32675   ;
32676   return 0;
32677 }
32678 _ACEOF
32679 if ac_fn_cxx_try_compile "$LINENO"; then :
32680   glibcxx_cv_func__powl_use=yes
32681 else
32682   glibcxx_cv_func__powl_use=no
32683 fi
32684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32685       ac_ext=c
32686 ac_cpp='$CPP $CPPFLAGS'
32687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32690
32691
32692 fi
32693
32694   fi
32695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32696 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32697
32698     if test x$glibcxx_cv_func__powl_use = x"yes"; then
32699       for ac_func in _powl
32700 do :
32701   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32702 if test "x$ac_cv_func__powl" = x""yes; then :
32703   cat >>confdefs.h <<_ACEOF
32704 #define HAVE__POWL 1
32705 _ACEOF
32706
32707 fi
32708 done
32709
32710     fi
32711   fi
32712
32713
32714
32715
32716
32717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32718 $as_echo_n "checking for sqrtl declaration... " >&6; }
32719   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32720     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32721   $as_echo_n "(cached) " >&6
32722 else
32723
32724
32725       ac_ext=cpp
32726 ac_cpp='$CXXCPP $CPPFLAGS'
32727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32730
32731       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32732 /* end confdefs.h.  */
32733 #include <math.h>
32734                       #ifdef HAVE_IEEEFP_H
32735                       #include <ieeefp.h>
32736                       #endif
32737
32738 int
32739 main ()
32740 {
32741  sqrtl(0);
32742   ;
32743   return 0;
32744 }
32745 _ACEOF
32746 if ac_fn_cxx_try_compile "$LINENO"; then :
32747   glibcxx_cv_func_sqrtl_use=yes
32748 else
32749   glibcxx_cv_func_sqrtl_use=no
32750 fi
32751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32752       ac_ext=c
32753 ac_cpp='$CPP $CPPFLAGS'
32754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32757
32758
32759 fi
32760
32761   fi
32762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32763 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32764
32765   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32766     for ac_func in sqrtl
32767 do :
32768   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32769 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32770   cat >>confdefs.h <<_ACEOF
32771 #define HAVE_SQRTL 1
32772 _ACEOF
32773
32774 fi
32775 done
32776
32777   else
32778
32779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32780 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32781   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32782     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32783   $as_echo_n "(cached) " >&6
32784 else
32785
32786
32787       ac_ext=cpp
32788 ac_cpp='$CXXCPP $CPPFLAGS'
32789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32792
32793       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32794 /* end confdefs.h.  */
32795 #include <math.h>
32796                       #ifdef HAVE_IEEEFP_H
32797                       #include <ieeefp.h>
32798                       #endif
32799
32800 int
32801 main ()
32802 {
32803  _sqrtl(0);
32804   ;
32805   return 0;
32806 }
32807 _ACEOF
32808 if ac_fn_cxx_try_compile "$LINENO"; then :
32809   glibcxx_cv_func__sqrtl_use=yes
32810 else
32811   glibcxx_cv_func__sqrtl_use=no
32812 fi
32813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32814       ac_ext=c
32815 ac_cpp='$CPP $CPPFLAGS'
32816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32819
32820
32821 fi
32822
32823   fi
32824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32825 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32826
32827     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32828       for ac_func in _sqrtl
32829 do :
32830   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32831 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32832   cat >>confdefs.h <<_ACEOF
32833 #define HAVE__SQRTL 1
32834 _ACEOF
32835
32836 fi
32837 done
32838
32839     fi
32840   fi
32841
32842
32843
32844
32845
32846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32847 $as_echo_n "checking for sincosl declaration... " >&6; }
32848   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32849     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32850   $as_echo_n "(cached) " >&6
32851 else
32852
32853
32854       ac_ext=cpp
32855 ac_cpp='$CXXCPP $CPPFLAGS'
32856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32859
32860       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32861 /* end confdefs.h.  */
32862 #include <math.h>
32863 int
32864 main ()
32865 {
32866  sincosl(0, 0, 0);
32867   ;
32868   return 0;
32869 }
32870 _ACEOF
32871 if ac_fn_cxx_try_compile "$LINENO"; then :
32872   glibcxx_cv_func_sincosl_use=yes
32873 else
32874   glibcxx_cv_func_sincosl_use=no
32875 fi
32876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32877       ac_ext=c
32878 ac_cpp='$CPP $CPPFLAGS'
32879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32882
32883
32884 fi
32885
32886   fi
32887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32888 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32889
32890   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32891     for ac_func in sincosl
32892 do :
32893   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32894 if test "x$ac_cv_func_sincosl" = x""yes; then :
32895   cat >>confdefs.h <<_ACEOF
32896 #define HAVE_SINCOSL 1
32897 _ACEOF
32898
32899 fi
32900 done
32901
32902   else
32903
32904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32905 $as_echo_n "checking for _sincosl declaration... " >&6; }
32906   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32907     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32908   $as_echo_n "(cached) " >&6
32909 else
32910
32911
32912       ac_ext=cpp
32913 ac_cpp='$CXXCPP $CPPFLAGS'
32914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32917
32918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32919 /* end confdefs.h.  */
32920 #include <math.h>
32921 int
32922 main ()
32923 {
32924  _sincosl(0, 0, 0);
32925   ;
32926   return 0;
32927 }
32928 _ACEOF
32929 if ac_fn_cxx_try_compile "$LINENO"; then :
32930   glibcxx_cv_func__sincosl_use=yes
32931 else
32932   glibcxx_cv_func__sincosl_use=no
32933 fi
32934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32935       ac_ext=c
32936 ac_cpp='$CPP $CPPFLAGS'
32937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32940
32941
32942 fi
32943
32944   fi
32945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32946 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32947
32948     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32949       for ac_func in _sincosl
32950 do :
32951   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32952 if test "x$ac_cv_func__sincosl" = x""yes; then :
32953   cat >>confdefs.h <<_ACEOF
32954 #define HAVE__SINCOSL 1
32955 _ACEOF
32956
32957 fi
32958 done
32959
32960     fi
32961   fi
32962
32963
32964
32965
32966
32967   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32968 $as_echo_n "checking for finitel declaration... " >&6; }
32969   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32970     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32971   $as_echo_n "(cached) " >&6
32972 else
32973
32974
32975       ac_ext=cpp
32976 ac_cpp='$CXXCPP $CPPFLAGS'
32977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32980
32981       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32982 /* end confdefs.h.  */
32983 #include <math.h>
32984                       #ifdef HAVE_IEEEFP_H
32985                       #include <ieeefp.h>
32986                       #endif
32987
32988 int
32989 main ()
32990 {
32991  finitel(0);
32992   ;
32993   return 0;
32994 }
32995 _ACEOF
32996 if ac_fn_cxx_try_compile "$LINENO"; then :
32997   glibcxx_cv_func_finitel_use=yes
32998 else
32999   glibcxx_cv_func_finitel_use=no
33000 fi
33001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33002       ac_ext=c
33003 ac_cpp='$CPP $CPPFLAGS'
33004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33007
33008
33009 fi
33010
33011   fi
33012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33013 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33014
33015   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33016     for ac_func in finitel
33017 do :
33018   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33019 if test "x$ac_cv_func_finitel" = x""yes; then :
33020   cat >>confdefs.h <<_ACEOF
33021 #define HAVE_FINITEL 1
33022 _ACEOF
33023
33024 fi
33025 done
33026
33027   else
33028
33029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33030 $as_echo_n "checking for _finitel declaration... " >&6; }
33031   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33032     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33033   $as_echo_n "(cached) " >&6
33034 else
33035
33036
33037       ac_ext=cpp
33038 ac_cpp='$CXXCPP $CPPFLAGS'
33039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33042
33043       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33044 /* end confdefs.h.  */
33045 #include <math.h>
33046                       #ifdef HAVE_IEEEFP_H
33047                       #include <ieeefp.h>
33048                       #endif
33049
33050 int
33051 main ()
33052 {
33053  _finitel(0);
33054   ;
33055   return 0;
33056 }
33057 _ACEOF
33058 if ac_fn_cxx_try_compile "$LINENO"; then :
33059   glibcxx_cv_func__finitel_use=yes
33060 else
33061   glibcxx_cv_func__finitel_use=no
33062 fi
33063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33064       ac_ext=c
33065 ac_cpp='$CPP $CPPFLAGS'
33066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33069
33070
33071 fi
33072
33073   fi
33074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33075 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33076
33077     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33078       for ac_func in _finitel
33079 do :
33080   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33081 if test "x$ac_cv_func__finitel" = x""yes; then :
33082   cat >>confdefs.h <<_ACEOF
33083 #define HAVE__FINITEL 1
33084 _ACEOF
33085
33086 fi
33087 done
33088
33089     fi
33090   fi
33091
33092
33093
33094
33095   LIBS="$ac_save_LIBS"
33096   CXXFLAGS="$ac_save_CXXFLAGS"
33097
33098
33099   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33100   ac_save_CXXFLAGS="$CXXFLAGS"
33101   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33102
33103
33104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33105 $as_echo_n "checking for strtold declaration... " >&6; }
33106   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33107     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33108   $as_echo_n "(cached) " >&6
33109 else
33110
33111
33112       ac_ext=cpp
33113 ac_cpp='$CXXCPP $CPPFLAGS'
33114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33117
33118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33119 /* end confdefs.h.  */
33120 #include <stdlib.h>
33121 int
33122 main ()
33123 {
33124  strtold(0, 0);
33125   ;
33126   return 0;
33127 }
33128 _ACEOF
33129 if ac_fn_cxx_try_compile "$LINENO"; then :
33130   glibcxx_cv_func_strtold_use=yes
33131 else
33132   glibcxx_cv_func_strtold_use=no
33133 fi
33134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33135       ac_ext=c
33136 ac_cpp='$CPP $CPPFLAGS'
33137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33140
33141
33142 fi
33143
33144   fi
33145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33146 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33147   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33148     for ac_func in strtold
33149 do :
33150   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33151 if test "x$ac_cv_func_strtold" = x""yes; then :
33152   cat >>confdefs.h <<_ACEOF
33153 #define HAVE_STRTOLD 1
33154 _ACEOF
33155
33156 fi
33157 done
33158
33159   fi
33160
33161
33162
33163
33164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33165 $as_echo_n "checking for strtof declaration... " >&6; }
33166   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33167     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33168   $as_echo_n "(cached) " >&6
33169 else
33170
33171
33172       ac_ext=cpp
33173 ac_cpp='$CXXCPP $CPPFLAGS'
33174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33177
33178       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33179 /* end confdefs.h.  */
33180 #include <stdlib.h>
33181 int
33182 main ()
33183 {
33184  strtof(0, 0);
33185   ;
33186   return 0;
33187 }
33188 _ACEOF
33189 if ac_fn_cxx_try_compile "$LINENO"; then :
33190   glibcxx_cv_func_strtof_use=yes
33191 else
33192   glibcxx_cv_func_strtof_use=no
33193 fi
33194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33195       ac_ext=c
33196 ac_cpp='$CPP $CPPFLAGS'
33197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33200
33201
33202 fi
33203
33204   fi
33205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33206 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33207   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33208     for ac_func in strtof
33209 do :
33210   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33211 if test "x$ac_cv_func_strtof" = x""yes; then :
33212   cat >>confdefs.h <<_ACEOF
33213 #define HAVE_STRTOF 1
33214 _ACEOF
33215
33216 fi
33217 done
33218
33219   fi
33220
33221
33222
33223
33224   CXXFLAGS="$ac_save_CXXFLAGS"
33225
33226
33227     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33228
33229     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33230
33231     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33232
33233     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33234
33235
33236     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33237
33238     $as_echo "#define HAVE_MODF 1" >>confdefs.h
33239
33240     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33241
33242     ;;
33243
33244   *-aix*)
33245
33246   # If we're not using GNU ld, then there's no point in even trying these
33247   # tests.  Check for that first.  We should have already tested for gld
33248   # by now (in libtool), but require it now just to be safe...
33249   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33250   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33251
33252
33253
33254   # The name set by libtool depends on the version of libtool.  Shame on us
33255   # for depending on an impl detail, but c'est la vie.  Older versions used
33256   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33257   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33258   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
33259   # set (hence we're using an older libtool), then set it.
33260   if test x${with_gnu_ld+set} != xset; then
33261     if test x${ac_cv_prog_gnu_ld+set} != xset; then
33262       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
33263       with_gnu_ld=no
33264     else
33265       with_gnu_ld=$ac_cv_prog_gnu_ld
33266     fi
33267   fi
33268
33269   # Start by getting the version number.  I think the libtool test already
33270   # does some of this, but throws away the result.
33271   glibcxx_ld_is_gold=no
33272   if test x"$with_gnu_ld" = x"yes"; then
33273     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33274 $as_echo_n "checking for ld version... " >&6; }
33275
33276     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33277       glibcxx_ld_is_gold=yes
33278     fi
33279     ldver=`$LD --version 2>/dev/null |
33280            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'`
33281
33282     glibcxx_gnu_ld_version=`echo $ldver | \
33283            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33284     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33285 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33286   fi
33287
33288   # Set --gc-sections.
33289   glibcxx_have_gc_sections=no
33290   if test "$glibcxx_ld_is_gold" = "yes"; then
33291     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33292       glibcxx_have_gc_sections=yes
33293     fi
33294   else
33295     glibcxx_gcsections_min_ld=21602
33296     if test x"$with_gnu_ld" = x"yes" &&
33297         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33298       glibcxx_have_gc_sections=yes
33299     fi
33300   fi
33301   if test "$glibcxx_have_gc_sections" = "yes"; then
33302     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
33303     # NB: This flag only works reliably after 2.16.1. Configure tests
33304     # for this are difficult, so hard wire a value that should work.
33305
33306     ac_test_CFLAGS="${CFLAGS+set}"
33307     ac_save_CFLAGS="$CFLAGS"
33308     CFLAGS='-Wl,--gc-sections'
33309
33310     # Check for -Wl,--gc-sections
33311     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33312 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33313     if test x$gcc_no_link = xyes; then
33314   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33315 fi
33316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33317 /* end confdefs.h.  */
33318  int one(void) { return 1; }
33319      int two(void) { return 2; }
33320
33321 int
33322 main ()
33323 {
33324  two();
33325   ;
33326   return 0;
33327 }
33328 _ACEOF
33329 if ac_fn_c_try_link "$LINENO"; then :
33330   ac_gcsections=yes
33331 else
33332   ac_gcsections=no
33333 fi
33334 rm -f core conftest.err conftest.$ac_objext \
33335     conftest$ac_exeext conftest.$ac_ext
33336     if test "$ac_gcsections" = "yes"; then
33337       rm -f conftest.c
33338       touch conftest.c
33339       if $CC -c conftest.c; then
33340         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33341            grep "Warning: gc-sections option ignored" > /dev/null; then
33342           ac_gcsections=no
33343         fi
33344       fi
33345       rm -f conftest.c conftest.o conftest
33346     fi
33347     if test "$ac_gcsections" = "yes"; then
33348       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33349     fi
33350     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33351 $as_echo "$ac_gcsections" >&6; }
33352
33353     if test "$ac_test_CFLAGS" = set; then
33354       CFLAGS="$ac_save_CFLAGS"
33355     else
33356       # this is the suspicious part
33357       CFLAGS=''
33358     fi
33359   fi
33360
33361   # Set -z,relro.
33362   # Note this is only for shared objects.
33363   ac_ld_relro=no
33364   if test x"$with_gnu_ld" = x"yes"; then
33365     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33366 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33367     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33368     if test -n "$cxx_z_relo"; then
33369       OPT_LDFLAGS="-Wl,-z,relro"
33370       ac_ld_relro=yes
33371     fi
33372     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33373 $as_echo "$ac_ld_relro" >&6; }
33374   fi
33375
33376   # Set linker optimization flags.
33377   if test x"$with_gnu_ld" = x"yes"; then
33378     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33379   fi
33380
33381
33382
33383
33384
33385   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33386   ac_save_CXXFLAGS="$CXXFLAGS"
33387   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33388
33389     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33390 $as_echo_n "checking for sin in -lm... " >&6; }
33391 if test "${ac_cv_lib_m_sin+set}" = set; then :
33392   $as_echo_n "(cached) " >&6
33393 else
33394   ac_check_lib_save_LIBS=$LIBS
33395 LIBS="-lm  $LIBS"
33396 if test x$gcc_no_link = xyes; then
33397   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33398 fi
33399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33400 /* end confdefs.h.  */
33401
33402 /* Override any GCC internal prototype to avoid an error.
33403    Use char because int might match the return type of a GCC
33404    builtin and then its argument prototype would still apply.  */
33405 #ifdef __cplusplus
33406 extern "C"
33407 #endif
33408 char sin ();
33409 int
33410 main ()
33411 {
33412 return sin ();
33413   ;
33414   return 0;
33415 }
33416 _ACEOF
33417 if ac_fn_c_try_link "$LINENO"; then :
33418   ac_cv_lib_m_sin=yes
33419 else
33420   ac_cv_lib_m_sin=no
33421 fi
33422 rm -f core conftest.err conftest.$ac_objext \
33423     conftest$ac_exeext conftest.$ac_ext
33424 LIBS=$ac_check_lib_save_LIBS
33425 fi
33426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33427 $as_echo "$ac_cv_lib_m_sin" >&6; }
33428 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33429   libm="-lm"
33430 fi
33431
33432   ac_save_LIBS="$LIBS"
33433   LIBS="$LIBS $libm"
33434
33435
33436
33437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33438 $as_echo_n "checking for isinf declaration... " >&6; }
33439   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33440     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33441   $as_echo_n "(cached) " >&6
33442 else
33443
33444
33445       ac_ext=cpp
33446 ac_cpp='$CXXCPP $CPPFLAGS'
33447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33450
33451       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33452 /* end confdefs.h.  */
33453 #include <math.h>
33454                       #ifdef HAVE_IEEEFP_H
33455                       #include <ieeefp.h>
33456                       #endif
33457
33458 int
33459 main ()
33460 {
33461  isinf(0);
33462   ;
33463   return 0;
33464 }
33465 _ACEOF
33466 if ac_fn_cxx_try_compile "$LINENO"; then :
33467   glibcxx_cv_func_isinf_use=yes
33468 else
33469   glibcxx_cv_func_isinf_use=no
33470 fi
33471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33472       ac_ext=c
33473 ac_cpp='$CPP $CPPFLAGS'
33474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33477
33478
33479 fi
33480
33481   fi
33482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33483 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33484
33485   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33486     for ac_func in isinf
33487 do :
33488   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33489 if test "x$ac_cv_func_isinf" = x""yes; then :
33490   cat >>confdefs.h <<_ACEOF
33491 #define HAVE_ISINF 1
33492 _ACEOF
33493
33494 fi
33495 done
33496
33497   else
33498
33499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33500 $as_echo_n "checking for _isinf declaration... " >&6; }
33501   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33502     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33503   $as_echo_n "(cached) " >&6
33504 else
33505
33506
33507       ac_ext=cpp
33508 ac_cpp='$CXXCPP $CPPFLAGS'
33509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33512
33513       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33514 /* end confdefs.h.  */
33515 #include <math.h>
33516                       #ifdef HAVE_IEEEFP_H
33517                       #include <ieeefp.h>
33518                       #endif
33519
33520 int
33521 main ()
33522 {
33523  _isinf(0);
33524   ;
33525   return 0;
33526 }
33527 _ACEOF
33528 if ac_fn_cxx_try_compile "$LINENO"; then :
33529   glibcxx_cv_func__isinf_use=yes
33530 else
33531   glibcxx_cv_func__isinf_use=no
33532 fi
33533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33534       ac_ext=c
33535 ac_cpp='$CPP $CPPFLAGS'
33536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33539
33540
33541 fi
33542
33543   fi
33544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33545 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33546
33547     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33548       for ac_func in _isinf
33549 do :
33550   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33551 if test "x$ac_cv_func__isinf" = x""yes; then :
33552   cat >>confdefs.h <<_ACEOF
33553 #define HAVE__ISINF 1
33554 _ACEOF
33555
33556 fi
33557 done
33558
33559     fi
33560   fi
33561
33562
33563
33564
33565
33566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33567 $as_echo_n "checking for isnan declaration... " >&6; }
33568   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33569     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33570   $as_echo_n "(cached) " >&6
33571 else
33572
33573
33574       ac_ext=cpp
33575 ac_cpp='$CXXCPP $CPPFLAGS'
33576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33579
33580       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33581 /* end confdefs.h.  */
33582 #include <math.h>
33583                       #ifdef HAVE_IEEEFP_H
33584                       #include <ieeefp.h>
33585                       #endif
33586
33587 int
33588 main ()
33589 {
33590  isnan(0);
33591   ;
33592   return 0;
33593 }
33594 _ACEOF
33595 if ac_fn_cxx_try_compile "$LINENO"; then :
33596   glibcxx_cv_func_isnan_use=yes
33597 else
33598   glibcxx_cv_func_isnan_use=no
33599 fi
33600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33601       ac_ext=c
33602 ac_cpp='$CPP $CPPFLAGS'
33603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33606
33607
33608 fi
33609
33610   fi
33611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33612 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33613
33614   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33615     for ac_func in isnan
33616 do :
33617   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33618 if test "x$ac_cv_func_isnan" = x""yes; then :
33619   cat >>confdefs.h <<_ACEOF
33620 #define HAVE_ISNAN 1
33621 _ACEOF
33622
33623 fi
33624 done
33625
33626   else
33627
33628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33629 $as_echo_n "checking for _isnan declaration... " >&6; }
33630   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33631     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33632   $as_echo_n "(cached) " >&6
33633 else
33634
33635
33636       ac_ext=cpp
33637 ac_cpp='$CXXCPP $CPPFLAGS'
33638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33641
33642       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33643 /* end confdefs.h.  */
33644 #include <math.h>
33645                       #ifdef HAVE_IEEEFP_H
33646                       #include <ieeefp.h>
33647                       #endif
33648
33649 int
33650 main ()
33651 {
33652  _isnan(0);
33653   ;
33654   return 0;
33655 }
33656 _ACEOF
33657 if ac_fn_cxx_try_compile "$LINENO"; then :
33658   glibcxx_cv_func__isnan_use=yes
33659 else
33660   glibcxx_cv_func__isnan_use=no
33661 fi
33662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33663       ac_ext=c
33664 ac_cpp='$CPP $CPPFLAGS'
33665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33668
33669
33670 fi
33671
33672   fi
33673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33674 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33675
33676     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33677       for ac_func in _isnan
33678 do :
33679   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33680 if test "x$ac_cv_func__isnan" = x""yes; then :
33681   cat >>confdefs.h <<_ACEOF
33682 #define HAVE__ISNAN 1
33683 _ACEOF
33684
33685 fi
33686 done
33687
33688     fi
33689   fi
33690
33691
33692
33693
33694
33695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33696 $as_echo_n "checking for finite declaration... " >&6; }
33697   if test x${glibcxx_cv_func_finite_use+set} != xset; then
33698     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33699   $as_echo_n "(cached) " >&6
33700 else
33701
33702
33703       ac_ext=cpp
33704 ac_cpp='$CXXCPP $CPPFLAGS'
33705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33708
33709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33710 /* end confdefs.h.  */
33711 #include <math.h>
33712                       #ifdef HAVE_IEEEFP_H
33713                       #include <ieeefp.h>
33714                       #endif
33715
33716 int
33717 main ()
33718 {
33719  finite(0);
33720   ;
33721   return 0;
33722 }
33723 _ACEOF
33724 if ac_fn_cxx_try_compile "$LINENO"; then :
33725   glibcxx_cv_func_finite_use=yes
33726 else
33727   glibcxx_cv_func_finite_use=no
33728 fi
33729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33730       ac_ext=c
33731 ac_cpp='$CPP $CPPFLAGS'
33732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33735
33736
33737 fi
33738
33739   fi
33740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33741 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33742
33743   if test x$glibcxx_cv_func_finite_use = x"yes"; then
33744     for ac_func in finite
33745 do :
33746   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33747 if test "x$ac_cv_func_finite" = x""yes; then :
33748   cat >>confdefs.h <<_ACEOF
33749 #define HAVE_FINITE 1
33750 _ACEOF
33751
33752 fi
33753 done
33754
33755   else
33756
33757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33758 $as_echo_n "checking for _finite declaration... " >&6; }
33759   if test x${glibcxx_cv_func__finite_use+set} != xset; then
33760     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33761   $as_echo_n "(cached) " >&6
33762 else
33763
33764
33765       ac_ext=cpp
33766 ac_cpp='$CXXCPP $CPPFLAGS'
33767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33770
33771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33772 /* end confdefs.h.  */
33773 #include <math.h>
33774                       #ifdef HAVE_IEEEFP_H
33775                       #include <ieeefp.h>
33776                       #endif
33777
33778 int
33779 main ()
33780 {
33781  _finite(0);
33782   ;
33783   return 0;
33784 }
33785 _ACEOF
33786 if ac_fn_cxx_try_compile "$LINENO"; then :
33787   glibcxx_cv_func__finite_use=yes
33788 else
33789   glibcxx_cv_func__finite_use=no
33790 fi
33791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33792       ac_ext=c
33793 ac_cpp='$CPP $CPPFLAGS'
33794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33797
33798
33799 fi
33800
33801   fi
33802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33803 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33804
33805     if test x$glibcxx_cv_func__finite_use = x"yes"; then
33806       for ac_func in _finite
33807 do :
33808   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33809 if test "x$ac_cv_func__finite" = x""yes; then :
33810   cat >>confdefs.h <<_ACEOF
33811 #define HAVE__FINITE 1
33812 _ACEOF
33813
33814 fi
33815 done
33816
33817     fi
33818   fi
33819
33820
33821
33822
33823
33824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33825 $as_echo_n "checking for sincos declaration... " >&6; }
33826   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33827     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33828   $as_echo_n "(cached) " >&6
33829 else
33830
33831
33832       ac_ext=cpp
33833 ac_cpp='$CXXCPP $CPPFLAGS'
33834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33837
33838       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33839 /* end confdefs.h.  */
33840 #include <math.h>
33841 int
33842 main ()
33843 {
33844  sincos(0, 0, 0);
33845   ;
33846   return 0;
33847 }
33848 _ACEOF
33849 if ac_fn_cxx_try_compile "$LINENO"; then :
33850   glibcxx_cv_func_sincos_use=yes
33851 else
33852   glibcxx_cv_func_sincos_use=no
33853 fi
33854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33855       ac_ext=c
33856 ac_cpp='$CPP $CPPFLAGS'
33857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33860
33861
33862 fi
33863
33864   fi
33865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33866 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33867
33868   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33869     for ac_func in sincos
33870 do :
33871   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33872 if test "x$ac_cv_func_sincos" = x""yes; then :
33873   cat >>confdefs.h <<_ACEOF
33874 #define HAVE_SINCOS 1
33875 _ACEOF
33876
33877 fi
33878 done
33879
33880   else
33881
33882   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33883 $as_echo_n "checking for _sincos declaration... " >&6; }
33884   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33885     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33886   $as_echo_n "(cached) " >&6
33887 else
33888
33889
33890       ac_ext=cpp
33891 ac_cpp='$CXXCPP $CPPFLAGS'
33892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33895
33896       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33897 /* end confdefs.h.  */
33898 #include <math.h>
33899 int
33900 main ()
33901 {
33902  _sincos(0, 0, 0);
33903   ;
33904   return 0;
33905 }
33906 _ACEOF
33907 if ac_fn_cxx_try_compile "$LINENO"; then :
33908   glibcxx_cv_func__sincos_use=yes
33909 else
33910   glibcxx_cv_func__sincos_use=no
33911 fi
33912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33913       ac_ext=c
33914 ac_cpp='$CPP $CPPFLAGS'
33915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33918
33919
33920 fi
33921
33922   fi
33923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33924 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33925
33926     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33927       for ac_func in _sincos
33928 do :
33929   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33930 if test "x$ac_cv_func__sincos" = x""yes; then :
33931   cat >>confdefs.h <<_ACEOF
33932 #define HAVE__SINCOS 1
33933 _ACEOF
33934
33935 fi
33936 done
33937
33938     fi
33939   fi
33940
33941
33942
33943
33944
33945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33946 $as_echo_n "checking for fpclass declaration... " >&6; }
33947   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33948     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33949   $as_echo_n "(cached) " >&6
33950 else
33951
33952
33953       ac_ext=cpp
33954 ac_cpp='$CXXCPP $CPPFLAGS'
33955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33958
33959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33960 /* end confdefs.h.  */
33961 #include <math.h>
33962                       #ifdef HAVE_IEEEFP_H
33963                       #include <ieeefp.h>
33964                       #endif
33965
33966 int
33967 main ()
33968 {
33969  fpclass(0);
33970   ;
33971   return 0;
33972 }
33973 _ACEOF
33974 if ac_fn_cxx_try_compile "$LINENO"; then :
33975   glibcxx_cv_func_fpclass_use=yes
33976 else
33977   glibcxx_cv_func_fpclass_use=no
33978 fi
33979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33980       ac_ext=c
33981 ac_cpp='$CPP $CPPFLAGS'
33982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33985
33986
33987 fi
33988
33989   fi
33990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33991 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33992
33993   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33994     for ac_func in fpclass
33995 do :
33996   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33997 if test "x$ac_cv_func_fpclass" = x""yes; then :
33998   cat >>confdefs.h <<_ACEOF
33999 #define HAVE_FPCLASS 1
34000 _ACEOF
34001
34002 fi
34003 done
34004
34005   else
34006
34007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34008 $as_echo_n "checking for _fpclass declaration... " >&6; }
34009   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34010     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34011   $as_echo_n "(cached) " >&6
34012 else
34013
34014
34015       ac_ext=cpp
34016 ac_cpp='$CXXCPP $CPPFLAGS'
34017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34020
34021       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34022 /* end confdefs.h.  */
34023 #include <math.h>
34024                       #ifdef HAVE_IEEEFP_H
34025                       #include <ieeefp.h>
34026                       #endif
34027
34028 int
34029 main ()
34030 {
34031  _fpclass(0);
34032   ;
34033   return 0;
34034 }
34035 _ACEOF
34036 if ac_fn_cxx_try_compile "$LINENO"; then :
34037   glibcxx_cv_func__fpclass_use=yes
34038 else
34039   glibcxx_cv_func__fpclass_use=no
34040 fi
34041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34042       ac_ext=c
34043 ac_cpp='$CPP $CPPFLAGS'
34044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34047
34048
34049 fi
34050
34051   fi
34052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34053 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34054
34055     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34056       for ac_func in _fpclass
34057 do :
34058   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34059 if test "x$ac_cv_func__fpclass" = x""yes; then :
34060   cat >>confdefs.h <<_ACEOF
34061 #define HAVE__FPCLASS 1
34062 _ACEOF
34063
34064 fi
34065 done
34066
34067     fi
34068   fi
34069
34070
34071
34072
34073
34074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34075 $as_echo_n "checking for qfpclass declaration... " >&6; }
34076   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34077     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34078   $as_echo_n "(cached) " >&6
34079 else
34080
34081
34082       ac_ext=cpp
34083 ac_cpp='$CXXCPP $CPPFLAGS'
34084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34087
34088       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34089 /* end confdefs.h.  */
34090 #include <math.h>
34091                       #ifdef HAVE_IEEEFP_H
34092                       #include <ieeefp.h>
34093                       #endif
34094
34095 int
34096 main ()
34097 {
34098  qfpclass(0);
34099   ;
34100   return 0;
34101 }
34102 _ACEOF
34103 if ac_fn_cxx_try_compile "$LINENO"; then :
34104   glibcxx_cv_func_qfpclass_use=yes
34105 else
34106   glibcxx_cv_func_qfpclass_use=no
34107 fi
34108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34109       ac_ext=c
34110 ac_cpp='$CPP $CPPFLAGS'
34111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34114
34115
34116 fi
34117
34118   fi
34119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34120 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34121
34122   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34123     for ac_func in qfpclass
34124 do :
34125   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34126 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34127   cat >>confdefs.h <<_ACEOF
34128 #define HAVE_QFPCLASS 1
34129 _ACEOF
34130
34131 fi
34132 done
34133
34134   else
34135
34136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34137 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34138   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34139     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34140   $as_echo_n "(cached) " >&6
34141 else
34142
34143
34144       ac_ext=cpp
34145 ac_cpp='$CXXCPP $CPPFLAGS'
34146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34149
34150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34151 /* end confdefs.h.  */
34152 #include <math.h>
34153                       #ifdef HAVE_IEEEFP_H
34154                       #include <ieeefp.h>
34155                       #endif
34156
34157 int
34158 main ()
34159 {
34160  _qfpclass(0);
34161   ;
34162   return 0;
34163 }
34164 _ACEOF
34165 if ac_fn_cxx_try_compile "$LINENO"; then :
34166   glibcxx_cv_func__qfpclass_use=yes
34167 else
34168   glibcxx_cv_func__qfpclass_use=no
34169 fi
34170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34171       ac_ext=c
34172 ac_cpp='$CPP $CPPFLAGS'
34173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34176
34177
34178 fi
34179
34180   fi
34181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34182 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34183
34184     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34185       for ac_func in _qfpclass
34186 do :
34187   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34188 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34189   cat >>confdefs.h <<_ACEOF
34190 #define HAVE__QFPCLASS 1
34191 _ACEOF
34192
34193 fi
34194 done
34195
34196     fi
34197   fi
34198
34199
34200
34201
34202
34203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34204 $as_echo_n "checking for hypot declaration... " >&6; }
34205   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34206     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34207   $as_echo_n "(cached) " >&6
34208 else
34209
34210
34211       ac_ext=cpp
34212 ac_cpp='$CXXCPP $CPPFLAGS'
34213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34216
34217       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34218 /* end confdefs.h.  */
34219 #include <math.h>
34220 int
34221 main ()
34222 {
34223  hypot(0, 0);
34224   ;
34225   return 0;
34226 }
34227 _ACEOF
34228 if ac_fn_cxx_try_compile "$LINENO"; then :
34229   glibcxx_cv_func_hypot_use=yes
34230 else
34231   glibcxx_cv_func_hypot_use=no
34232 fi
34233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34234       ac_ext=c
34235 ac_cpp='$CPP $CPPFLAGS'
34236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34239
34240
34241 fi
34242
34243   fi
34244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34245 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34246
34247   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34248     for ac_func in hypot
34249 do :
34250   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34251 if test "x$ac_cv_func_hypot" = x""yes; then :
34252   cat >>confdefs.h <<_ACEOF
34253 #define HAVE_HYPOT 1
34254 _ACEOF
34255
34256 fi
34257 done
34258
34259   else
34260
34261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34262 $as_echo_n "checking for _hypot declaration... " >&6; }
34263   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34264     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34265   $as_echo_n "(cached) " >&6
34266 else
34267
34268
34269       ac_ext=cpp
34270 ac_cpp='$CXXCPP $CPPFLAGS'
34271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34274
34275       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34276 /* end confdefs.h.  */
34277 #include <math.h>
34278 int
34279 main ()
34280 {
34281  _hypot(0, 0);
34282   ;
34283   return 0;
34284 }
34285 _ACEOF
34286 if ac_fn_cxx_try_compile "$LINENO"; then :
34287   glibcxx_cv_func__hypot_use=yes
34288 else
34289   glibcxx_cv_func__hypot_use=no
34290 fi
34291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34292       ac_ext=c
34293 ac_cpp='$CPP $CPPFLAGS'
34294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34297
34298
34299 fi
34300
34301   fi
34302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34303 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34304
34305     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34306       for ac_func in _hypot
34307 do :
34308   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34309 if test "x$ac_cv_func__hypot" = x""yes; then :
34310   cat >>confdefs.h <<_ACEOF
34311 #define HAVE__HYPOT 1
34312 _ACEOF
34313
34314 fi
34315 done
34316
34317     fi
34318   fi
34319
34320
34321
34322
34323
34324     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34325 $as_echo_n "checking for float trig functions... " >&6; }
34326   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34327   $as_echo_n "(cached) " >&6
34328 else
34329
34330
34331     ac_ext=cpp
34332 ac_cpp='$CXXCPP $CPPFLAGS'
34333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34336
34337     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34338 /* end confdefs.h.  */
34339 #include <math.h>
34340 int
34341 main ()
34342 {
34343 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34344   ;
34345   return 0;
34346 }
34347 _ACEOF
34348 if ac_fn_cxx_try_compile "$LINENO"; then :
34349   glibcxx_cv_func_float_trig_use=yes
34350 else
34351   glibcxx_cv_func_float_trig_use=no
34352 fi
34353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34354     ac_ext=c
34355 ac_cpp='$CPP $CPPFLAGS'
34356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34359
34360 fi
34361
34362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34363 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34364   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34365     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34366 do :
34367   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34368 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34369 eval as_val=\$$as_ac_var
34370    if test "x$as_val" = x""yes; then :
34371   cat >>confdefs.h <<_ACEOF
34372 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34373 _ACEOF
34374
34375 fi
34376 done
34377
34378   else
34379     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34380 $as_echo_n "checking for _float trig functions... " >&6; }
34381     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34382   $as_echo_n "(cached) " >&6
34383 else
34384
34385
34386       ac_ext=cpp
34387 ac_cpp='$CXXCPP $CPPFLAGS'
34388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34391
34392       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34393 /* end confdefs.h.  */
34394 #include <math.h>
34395 int
34396 main ()
34397 {
34398 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34399   ;
34400   return 0;
34401 }
34402 _ACEOF
34403 if ac_fn_cxx_try_compile "$LINENO"; then :
34404   glibcxx_cv_func__float_trig_use=yes
34405 else
34406   glibcxx_cv_func__float_trig_use=no
34407 fi
34408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34409       ac_ext=c
34410 ac_cpp='$CPP $CPPFLAGS'
34411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34414
34415 fi
34416
34417     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34418 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34419     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34420       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34421 do :
34422   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34423 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34424 eval as_val=\$$as_ac_var
34425    if test "x$as_val" = x""yes; then :
34426   cat >>confdefs.h <<_ACEOF
34427 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34428 _ACEOF
34429
34430 fi
34431 done
34432
34433     fi
34434   fi
34435
34436
34437
34438
34439
34440     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34441 $as_echo_n "checking for float round functions... " >&6; }
34442   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34443   $as_echo_n "(cached) " >&6
34444 else
34445
34446
34447     ac_ext=cpp
34448 ac_cpp='$CXXCPP $CPPFLAGS'
34449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34452
34453     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34454 /* end confdefs.h.  */
34455 #include <math.h>
34456 int
34457 main ()
34458 {
34459 ceilf (0); floorf (0);
34460   ;
34461   return 0;
34462 }
34463 _ACEOF
34464 if ac_fn_cxx_try_compile "$LINENO"; then :
34465   glibcxx_cv_func_float_round_use=yes
34466 else
34467   glibcxx_cv_func_float_round_use=no
34468 fi
34469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34470     ac_ext=c
34471 ac_cpp='$CPP $CPPFLAGS'
34472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34475
34476 fi
34477
34478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34479 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34480   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34481     for ac_func in ceilf floorf
34482 do :
34483   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34484 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34485 eval as_val=\$$as_ac_var
34486    if test "x$as_val" = x""yes; then :
34487   cat >>confdefs.h <<_ACEOF
34488 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34489 _ACEOF
34490
34491 fi
34492 done
34493
34494   else
34495     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34496 $as_echo_n "checking for _float round functions... " >&6; }
34497     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34498   $as_echo_n "(cached) " >&6
34499 else
34500
34501
34502       ac_ext=cpp
34503 ac_cpp='$CXXCPP $CPPFLAGS'
34504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34507
34508       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34509 /* end confdefs.h.  */
34510 #include <math.h>
34511 int
34512 main ()
34513 {
34514 _ceilf (0); _floorf (0);
34515   ;
34516   return 0;
34517 }
34518 _ACEOF
34519 if ac_fn_cxx_try_compile "$LINENO"; then :
34520   glibcxx_cv_func__float_round_use=yes
34521 else
34522   glibcxx_cv_func__float_round_use=no
34523 fi
34524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34525       ac_ext=c
34526 ac_cpp='$CPP $CPPFLAGS'
34527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34530
34531 fi
34532
34533     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34534 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34535     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34536       for ac_func in _ceilf _floorf
34537 do :
34538   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34539 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34540 eval as_val=\$$as_ac_var
34541    if test "x$as_val" = x""yes; then :
34542   cat >>confdefs.h <<_ACEOF
34543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34544 _ACEOF
34545
34546 fi
34547 done
34548
34549     fi
34550   fi
34551
34552
34553
34554
34555
34556
34557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34558 $as_echo_n "checking for expf declaration... " >&6; }
34559   if test x${glibcxx_cv_func_expf_use+set} != xset; then
34560     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34561   $as_echo_n "(cached) " >&6
34562 else
34563
34564
34565       ac_ext=cpp
34566 ac_cpp='$CXXCPP $CPPFLAGS'
34567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34570
34571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34572 /* end confdefs.h.  */
34573 #include <math.h>
34574                       #ifdef HAVE_IEEEFP_H
34575                       #include <ieeefp.h>
34576                       #endif
34577
34578 int
34579 main ()
34580 {
34581  expf(0);
34582   ;
34583   return 0;
34584 }
34585 _ACEOF
34586 if ac_fn_cxx_try_compile "$LINENO"; then :
34587   glibcxx_cv_func_expf_use=yes
34588 else
34589   glibcxx_cv_func_expf_use=no
34590 fi
34591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34592       ac_ext=c
34593 ac_cpp='$CPP $CPPFLAGS'
34594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34597
34598
34599 fi
34600
34601   fi
34602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34603 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34604
34605   if test x$glibcxx_cv_func_expf_use = x"yes"; then
34606     for ac_func in expf
34607 do :
34608   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34609 if test "x$ac_cv_func_expf" = x""yes; then :
34610   cat >>confdefs.h <<_ACEOF
34611 #define HAVE_EXPF 1
34612 _ACEOF
34613
34614 fi
34615 done
34616
34617   else
34618
34619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34620 $as_echo_n "checking for _expf declaration... " >&6; }
34621   if test x${glibcxx_cv_func__expf_use+set} != xset; then
34622     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34623   $as_echo_n "(cached) " >&6
34624 else
34625
34626
34627       ac_ext=cpp
34628 ac_cpp='$CXXCPP $CPPFLAGS'
34629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34632
34633       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34634 /* end confdefs.h.  */
34635 #include <math.h>
34636                       #ifdef HAVE_IEEEFP_H
34637                       #include <ieeefp.h>
34638                       #endif
34639
34640 int
34641 main ()
34642 {
34643  _expf(0);
34644   ;
34645   return 0;
34646 }
34647 _ACEOF
34648 if ac_fn_cxx_try_compile "$LINENO"; then :
34649   glibcxx_cv_func__expf_use=yes
34650 else
34651   glibcxx_cv_func__expf_use=no
34652 fi
34653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34654       ac_ext=c
34655 ac_cpp='$CPP $CPPFLAGS'
34656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34659
34660
34661 fi
34662
34663   fi
34664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34665 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34666
34667     if test x$glibcxx_cv_func__expf_use = x"yes"; then
34668       for ac_func in _expf
34669 do :
34670   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34671 if test "x$ac_cv_func__expf" = x""yes; then :
34672   cat >>confdefs.h <<_ACEOF
34673 #define HAVE__EXPF 1
34674 _ACEOF
34675
34676 fi
34677 done
34678
34679     fi
34680   fi
34681
34682
34683
34684
34685
34686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34687 $as_echo_n "checking for isnanf declaration... " >&6; }
34688   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34689     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34690   $as_echo_n "(cached) " >&6
34691 else
34692
34693
34694       ac_ext=cpp
34695 ac_cpp='$CXXCPP $CPPFLAGS'
34696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34699
34700       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34701 /* end confdefs.h.  */
34702 #include <math.h>
34703                       #ifdef HAVE_IEEEFP_H
34704                       #include <ieeefp.h>
34705                       #endif
34706
34707 int
34708 main ()
34709 {
34710  isnanf(0);
34711   ;
34712   return 0;
34713 }
34714 _ACEOF
34715 if ac_fn_cxx_try_compile "$LINENO"; then :
34716   glibcxx_cv_func_isnanf_use=yes
34717 else
34718   glibcxx_cv_func_isnanf_use=no
34719 fi
34720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34721       ac_ext=c
34722 ac_cpp='$CPP $CPPFLAGS'
34723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34726
34727
34728 fi
34729
34730   fi
34731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34732 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34733
34734   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34735     for ac_func in isnanf
34736 do :
34737   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34738 if test "x$ac_cv_func_isnanf" = x""yes; then :
34739   cat >>confdefs.h <<_ACEOF
34740 #define HAVE_ISNANF 1
34741 _ACEOF
34742
34743 fi
34744 done
34745
34746   else
34747
34748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34749 $as_echo_n "checking for _isnanf declaration... " >&6; }
34750   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34751     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34752   $as_echo_n "(cached) " >&6
34753 else
34754
34755
34756       ac_ext=cpp
34757 ac_cpp='$CXXCPP $CPPFLAGS'
34758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34761
34762       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34763 /* end confdefs.h.  */
34764 #include <math.h>
34765                       #ifdef HAVE_IEEEFP_H
34766                       #include <ieeefp.h>
34767                       #endif
34768
34769 int
34770 main ()
34771 {
34772  _isnanf(0);
34773   ;
34774   return 0;
34775 }
34776 _ACEOF
34777 if ac_fn_cxx_try_compile "$LINENO"; then :
34778   glibcxx_cv_func__isnanf_use=yes
34779 else
34780   glibcxx_cv_func__isnanf_use=no
34781 fi
34782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34783       ac_ext=c
34784 ac_cpp='$CPP $CPPFLAGS'
34785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34788
34789
34790 fi
34791
34792   fi
34793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34794 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34795
34796     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34797       for ac_func in _isnanf
34798 do :
34799   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34800 if test "x$ac_cv_func__isnanf" = x""yes; then :
34801   cat >>confdefs.h <<_ACEOF
34802 #define HAVE__ISNANF 1
34803 _ACEOF
34804
34805 fi
34806 done
34807
34808     fi
34809   fi
34810
34811
34812
34813
34814
34815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34816 $as_echo_n "checking for isinff declaration... " >&6; }
34817   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34818     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34819   $as_echo_n "(cached) " >&6
34820 else
34821
34822
34823       ac_ext=cpp
34824 ac_cpp='$CXXCPP $CPPFLAGS'
34825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34828
34829       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34830 /* end confdefs.h.  */
34831 #include <math.h>
34832                       #ifdef HAVE_IEEEFP_H
34833                       #include <ieeefp.h>
34834                       #endif
34835
34836 int
34837 main ()
34838 {
34839  isinff(0);
34840   ;
34841   return 0;
34842 }
34843 _ACEOF
34844 if ac_fn_cxx_try_compile "$LINENO"; then :
34845   glibcxx_cv_func_isinff_use=yes
34846 else
34847   glibcxx_cv_func_isinff_use=no
34848 fi
34849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34850       ac_ext=c
34851 ac_cpp='$CPP $CPPFLAGS'
34852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34855
34856
34857 fi
34858
34859   fi
34860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34861 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34862
34863   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34864     for ac_func in isinff
34865 do :
34866   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34867 if test "x$ac_cv_func_isinff" = x""yes; then :
34868   cat >>confdefs.h <<_ACEOF
34869 #define HAVE_ISINFF 1
34870 _ACEOF
34871
34872 fi
34873 done
34874
34875   else
34876
34877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34878 $as_echo_n "checking for _isinff declaration... " >&6; }
34879   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34880     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34881   $as_echo_n "(cached) " >&6
34882 else
34883
34884
34885       ac_ext=cpp
34886 ac_cpp='$CXXCPP $CPPFLAGS'
34887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34890
34891       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34892 /* end confdefs.h.  */
34893 #include <math.h>
34894                       #ifdef HAVE_IEEEFP_H
34895                       #include <ieeefp.h>
34896                       #endif
34897
34898 int
34899 main ()
34900 {
34901  _isinff(0);
34902   ;
34903   return 0;
34904 }
34905 _ACEOF
34906 if ac_fn_cxx_try_compile "$LINENO"; then :
34907   glibcxx_cv_func__isinff_use=yes
34908 else
34909   glibcxx_cv_func__isinff_use=no
34910 fi
34911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34912       ac_ext=c
34913 ac_cpp='$CPP $CPPFLAGS'
34914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34917
34918
34919 fi
34920
34921   fi
34922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34923 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34924
34925     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34926       for ac_func in _isinff
34927 do :
34928   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34929 if test "x$ac_cv_func__isinff" = x""yes; then :
34930   cat >>confdefs.h <<_ACEOF
34931 #define HAVE__ISINFF 1
34932 _ACEOF
34933
34934 fi
34935 done
34936
34937     fi
34938   fi
34939
34940
34941
34942
34943
34944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34945 $as_echo_n "checking for atan2f declaration... " >&6; }
34946   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34947     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34948   $as_echo_n "(cached) " >&6
34949 else
34950
34951
34952       ac_ext=cpp
34953 ac_cpp='$CXXCPP $CPPFLAGS'
34954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34957
34958       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34959 /* end confdefs.h.  */
34960 #include <math.h>
34961 int
34962 main ()
34963 {
34964  atan2f(0, 0);
34965   ;
34966   return 0;
34967 }
34968 _ACEOF
34969 if ac_fn_cxx_try_compile "$LINENO"; then :
34970   glibcxx_cv_func_atan2f_use=yes
34971 else
34972   glibcxx_cv_func_atan2f_use=no
34973 fi
34974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34975       ac_ext=c
34976 ac_cpp='$CPP $CPPFLAGS'
34977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34980
34981
34982 fi
34983
34984   fi
34985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34986 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34987
34988   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34989     for ac_func in atan2f
34990 do :
34991   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34992 if test "x$ac_cv_func_atan2f" = x""yes; then :
34993   cat >>confdefs.h <<_ACEOF
34994 #define HAVE_ATAN2F 1
34995 _ACEOF
34996
34997 fi
34998 done
34999
35000   else
35001
35002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35003 $as_echo_n "checking for _atan2f declaration... " >&6; }
35004   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35005     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35006   $as_echo_n "(cached) " >&6
35007 else
35008
35009
35010       ac_ext=cpp
35011 ac_cpp='$CXXCPP $CPPFLAGS'
35012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35015
35016       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35017 /* end confdefs.h.  */
35018 #include <math.h>
35019 int
35020 main ()
35021 {
35022  _atan2f(0, 0);
35023   ;
35024   return 0;
35025 }
35026 _ACEOF
35027 if ac_fn_cxx_try_compile "$LINENO"; then :
35028   glibcxx_cv_func__atan2f_use=yes
35029 else
35030   glibcxx_cv_func__atan2f_use=no
35031 fi
35032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35033       ac_ext=c
35034 ac_cpp='$CPP $CPPFLAGS'
35035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35038
35039
35040 fi
35041
35042   fi
35043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35044 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35045
35046     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35047       for ac_func in _atan2f
35048 do :
35049   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35050 if test "x$ac_cv_func__atan2f" = x""yes; then :
35051   cat >>confdefs.h <<_ACEOF
35052 #define HAVE__ATAN2F 1
35053 _ACEOF
35054
35055 fi
35056 done
35057
35058     fi
35059   fi
35060
35061
35062
35063
35064
35065   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35066 $as_echo_n "checking for fabsf declaration... " >&6; }
35067   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35068     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35069   $as_echo_n "(cached) " >&6
35070 else
35071
35072
35073       ac_ext=cpp
35074 ac_cpp='$CXXCPP $CPPFLAGS'
35075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35078
35079       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35080 /* end confdefs.h.  */
35081 #include <math.h>
35082                       #ifdef HAVE_IEEEFP_H
35083                       #include <ieeefp.h>
35084                       #endif
35085
35086 int
35087 main ()
35088 {
35089  fabsf(0);
35090   ;
35091   return 0;
35092 }
35093 _ACEOF
35094 if ac_fn_cxx_try_compile "$LINENO"; then :
35095   glibcxx_cv_func_fabsf_use=yes
35096 else
35097   glibcxx_cv_func_fabsf_use=no
35098 fi
35099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35100       ac_ext=c
35101 ac_cpp='$CPP $CPPFLAGS'
35102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35105
35106
35107 fi
35108
35109   fi
35110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35111 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35112
35113   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35114     for ac_func in fabsf
35115 do :
35116   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35117 if test "x$ac_cv_func_fabsf" = x""yes; then :
35118   cat >>confdefs.h <<_ACEOF
35119 #define HAVE_FABSF 1
35120 _ACEOF
35121
35122 fi
35123 done
35124
35125   else
35126
35127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35128 $as_echo_n "checking for _fabsf declaration... " >&6; }
35129   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35130     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35131   $as_echo_n "(cached) " >&6
35132 else
35133
35134
35135       ac_ext=cpp
35136 ac_cpp='$CXXCPP $CPPFLAGS'
35137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35140
35141       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35142 /* end confdefs.h.  */
35143 #include <math.h>
35144                       #ifdef HAVE_IEEEFP_H
35145                       #include <ieeefp.h>
35146                       #endif
35147
35148 int
35149 main ()
35150 {
35151  _fabsf(0);
35152   ;
35153   return 0;
35154 }
35155 _ACEOF
35156 if ac_fn_cxx_try_compile "$LINENO"; then :
35157   glibcxx_cv_func__fabsf_use=yes
35158 else
35159   glibcxx_cv_func__fabsf_use=no
35160 fi
35161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35162       ac_ext=c
35163 ac_cpp='$CPP $CPPFLAGS'
35164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35167
35168
35169 fi
35170
35171   fi
35172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35173 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35174
35175     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35176       for ac_func in _fabsf
35177 do :
35178   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35179 if test "x$ac_cv_func__fabsf" = x""yes; then :
35180   cat >>confdefs.h <<_ACEOF
35181 #define HAVE__FABSF 1
35182 _ACEOF
35183
35184 fi
35185 done
35186
35187     fi
35188   fi
35189
35190
35191
35192
35193
35194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35195 $as_echo_n "checking for fmodf declaration... " >&6; }
35196   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35197     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35198   $as_echo_n "(cached) " >&6
35199 else
35200
35201
35202       ac_ext=cpp
35203 ac_cpp='$CXXCPP $CPPFLAGS'
35204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35207
35208       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35209 /* end confdefs.h.  */
35210 #include <math.h>
35211 int
35212 main ()
35213 {
35214  fmodf(0, 0);
35215   ;
35216   return 0;
35217 }
35218 _ACEOF
35219 if ac_fn_cxx_try_compile "$LINENO"; then :
35220   glibcxx_cv_func_fmodf_use=yes
35221 else
35222   glibcxx_cv_func_fmodf_use=no
35223 fi
35224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35225       ac_ext=c
35226 ac_cpp='$CPP $CPPFLAGS'
35227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35230
35231
35232 fi
35233
35234   fi
35235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35236 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35237
35238   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35239     for ac_func in fmodf
35240 do :
35241   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35242 if test "x$ac_cv_func_fmodf" = x""yes; then :
35243   cat >>confdefs.h <<_ACEOF
35244 #define HAVE_FMODF 1
35245 _ACEOF
35246
35247 fi
35248 done
35249
35250   else
35251
35252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35253 $as_echo_n "checking for _fmodf declaration... " >&6; }
35254   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35255     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35256   $as_echo_n "(cached) " >&6
35257 else
35258
35259
35260       ac_ext=cpp
35261 ac_cpp='$CXXCPP $CPPFLAGS'
35262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35265
35266       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35267 /* end confdefs.h.  */
35268 #include <math.h>
35269 int
35270 main ()
35271 {
35272  _fmodf(0, 0);
35273   ;
35274   return 0;
35275 }
35276 _ACEOF
35277 if ac_fn_cxx_try_compile "$LINENO"; then :
35278   glibcxx_cv_func__fmodf_use=yes
35279 else
35280   glibcxx_cv_func__fmodf_use=no
35281 fi
35282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35283       ac_ext=c
35284 ac_cpp='$CPP $CPPFLAGS'
35285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35288
35289
35290 fi
35291
35292   fi
35293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35294 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35295
35296     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35297       for ac_func in _fmodf
35298 do :
35299   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35300 if test "x$ac_cv_func__fmodf" = x""yes; then :
35301   cat >>confdefs.h <<_ACEOF
35302 #define HAVE__FMODF 1
35303 _ACEOF
35304
35305 fi
35306 done
35307
35308     fi
35309   fi
35310
35311
35312
35313
35314
35315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35316 $as_echo_n "checking for frexpf declaration... " >&6; }
35317   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35318     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35319   $as_echo_n "(cached) " >&6
35320 else
35321
35322
35323       ac_ext=cpp
35324 ac_cpp='$CXXCPP $CPPFLAGS'
35325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35328
35329       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35330 /* end confdefs.h.  */
35331 #include <math.h>
35332 int
35333 main ()
35334 {
35335  frexpf(0, 0);
35336   ;
35337   return 0;
35338 }
35339 _ACEOF
35340 if ac_fn_cxx_try_compile "$LINENO"; then :
35341   glibcxx_cv_func_frexpf_use=yes
35342 else
35343   glibcxx_cv_func_frexpf_use=no
35344 fi
35345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35346       ac_ext=c
35347 ac_cpp='$CPP $CPPFLAGS'
35348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35351
35352
35353 fi
35354
35355   fi
35356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35357 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35358
35359   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35360     for ac_func in frexpf
35361 do :
35362   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35363 if test "x$ac_cv_func_frexpf" = x""yes; then :
35364   cat >>confdefs.h <<_ACEOF
35365 #define HAVE_FREXPF 1
35366 _ACEOF
35367
35368 fi
35369 done
35370
35371   else
35372
35373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35374 $as_echo_n "checking for _frexpf declaration... " >&6; }
35375   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35376     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35377   $as_echo_n "(cached) " >&6
35378 else
35379
35380
35381       ac_ext=cpp
35382 ac_cpp='$CXXCPP $CPPFLAGS'
35383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35386
35387       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35388 /* end confdefs.h.  */
35389 #include <math.h>
35390 int
35391 main ()
35392 {
35393  _frexpf(0, 0);
35394   ;
35395   return 0;
35396 }
35397 _ACEOF
35398 if ac_fn_cxx_try_compile "$LINENO"; then :
35399   glibcxx_cv_func__frexpf_use=yes
35400 else
35401   glibcxx_cv_func__frexpf_use=no
35402 fi
35403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35404       ac_ext=c
35405 ac_cpp='$CPP $CPPFLAGS'
35406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35409
35410
35411 fi
35412
35413   fi
35414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35415 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35416
35417     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35418       for ac_func in _frexpf
35419 do :
35420   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35421 if test "x$ac_cv_func__frexpf" = x""yes; then :
35422   cat >>confdefs.h <<_ACEOF
35423 #define HAVE__FREXPF 1
35424 _ACEOF
35425
35426 fi
35427 done
35428
35429     fi
35430   fi
35431
35432
35433
35434
35435
35436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35437 $as_echo_n "checking for hypotf declaration... " >&6; }
35438   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35439     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35440   $as_echo_n "(cached) " >&6
35441 else
35442
35443
35444       ac_ext=cpp
35445 ac_cpp='$CXXCPP $CPPFLAGS'
35446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35449
35450       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35451 /* end confdefs.h.  */
35452 #include <math.h>
35453 int
35454 main ()
35455 {
35456  hypotf(0, 0);
35457   ;
35458   return 0;
35459 }
35460 _ACEOF
35461 if ac_fn_cxx_try_compile "$LINENO"; then :
35462   glibcxx_cv_func_hypotf_use=yes
35463 else
35464   glibcxx_cv_func_hypotf_use=no
35465 fi
35466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35467       ac_ext=c
35468 ac_cpp='$CPP $CPPFLAGS'
35469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35472
35473
35474 fi
35475
35476   fi
35477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35478 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35479
35480   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35481     for ac_func in hypotf
35482 do :
35483   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35484 if test "x$ac_cv_func_hypotf" = x""yes; then :
35485   cat >>confdefs.h <<_ACEOF
35486 #define HAVE_HYPOTF 1
35487 _ACEOF
35488
35489 fi
35490 done
35491
35492   else
35493
35494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35495 $as_echo_n "checking for _hypotf declaration... " >&6; }
35496   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35497     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35498   $as_echo_n "(cached) " >&6
35499 else
35500
35501
35502       ac_ext=cpp
35503 ac_cpp='$CXXCPP $CPPFLAGS'
35504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35507
35508       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35509 /* end confdefs.h.  */
35510 #include <math.h>
35511 int
35512 main ()
35513 {
35514  _hypotf(0, 0);
35515   ;
35516   return 0;
35517 }
35518 _ACEOF
35519 if ac_fn_cxx_try_compile "$LINENO"; then :
35520   glibcxx_cv_func__hypotf_use=yes
35521 else
35522   glibcxx_cv_func__hypotf_use=no
35523 fi
35524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35525       ac_ext=c
35526 ac_cpp='$CPP $CPPFLAGS'
35527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35530
35531
35532 fi
35533
35534   fi
35535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35536 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35537
35538     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35539       for ac_func in _hypotf
35540 do :
35541   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35542 if test "x$ac_cv_func__hypotf" = x""yes; then :
35543   cat >>confdefs.h <<_ACEOF
35544 #define HAVE__HYPOTF 1
35545 _ACEOF
35546
35547 fi
35548 done
35549
35550     fi
35551   fi
35552
35553
35554
35555
35556
35557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35558 $as_echo_n "checking for ldexpf declaration... " >&6; }
35559   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35560     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35561   $as_echo_n "(cached) " >&6
35562 else
35563
35564
35565       ac_ext=cpp
35566 ac_cpp='$CXXCPP $CPPFLAGS'
35567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35570
35571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35572 /* end confdefs.h.  */
35573 #include <math.h>
35574 int
35575 main ()
35576 {
35577  ldexpf(0, 0);
35578   ;
35579   return 0;
35580 }
35581 _ACEOF
35582 if ac_fn_cxx_try_compile "$LINENO"; then :
35583   glibcxx_cv_func_ldexpf_use=yes
35584 else
35585   glibcxx_cv_func_ldexpf_use=no
35586 fi
35587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35588       ac_ext=c
35589 ac_cpp='$CPP $CPPFLAGS'
35590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35593
35594
35595 fi
35596
35597   fi
35598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35599 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35600
35601   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35602     for ac_func in ldexpf
35603 do :
35604   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35605 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35606   cat >>confdefs.h <<_ACEOF
35607 #define HAVE_LDEXPF 1
35608 _ACEOF
35609
35610 fi
35611 done
35612
35613   else
35614
35615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35616 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35617   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35618     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35619   $as_echo_n "(cached) " >&6
35620 else
35621
35622
35623       ac_ext=cpp
35624 ac_cpp='$CXXCPP $CPPFLAGS'
35625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35628
35629       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35630 /* end confdefs.h.  */
35631 #include <math.h>
35632 int
35633 main ()
35634 {
35635  _ldexpf(0, 0);
35636   ;
35637   return 0;
35638 }
35639 _ACEOF
35640 if ac_fn_cxx_try_compile "$LINENO"; then :
35641   glibcxx_cv_func__ldexpf_use=yes
35642 else
35643   glibcxx_cv_func__ldexpf_use=no
35644 fi
35645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35646       ac_ext=c
35647 ac_cpp='$CPP $CPPFLAGS'
35648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35651
35652
35653 fi
35654
35655   fi
35656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35657 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35658
35659     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35660       for ac_func in _ldexpf
35661 do :
35662   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35663 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35664   cat >>confdefs.h <<_ACEOF
35665 #define HAVE__LDEXPF 1
35666 _ACEOF
35667
35668 fi
35669 done
35670
35671     fi
35672   fi
35673
35674
35675
35676
35677
35678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35679 $as_echo_n "checking for logf declaration... " >&6; }
35680   if test x${glibcxx_cv_func_logf_use+set} != xset; then
35681     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35682   $as_echo_n "(cached) " >&6
35683 else
35684
35685
35686       ac_ext=cpp
35687 ac_cpp='$CXXCPP $CPPFLAGS'
35688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35691
35692       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35693 /* end confdefs.h.  */
35694 #include <math.h>
35695                       #ifdef HAVE_IEEEFP_H
35696                       #include <ieeefp.h>
35697                       #endif
35698
35699 int
35700 main ()
35701 {
35702  logf(0);
35703   ;
35704   return 0;
35705 }
35706 _ACEOF
35707 if ac_fn_cxx_try_compile "$LINENO"; then :
35708   glibcxx_cv_func_logf_use=yes
35709 else
35710   glibcxx_cv_func_logf_use=no
35711 fi
35712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35713       ac_ext=c
35714 ac_cpp='$CPP $CPPFLAGS'
35715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35718
35719
35720 fi
35721
35722   fi
35723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35724 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35725
35726   if test x$glibcxx_cv_func_logf_use = x"yes"; then
35727     for ac_func in logf
35728 do :
35729   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35730 if test "x$ac_cv_func_logf" = x""yes; then :
35731   cat >>confdefs.h <<_ACEOF
35732 #define HAVE_LOGF 1
35733 _ACEOF
35734
35735 fi
35736 done
35737
35738   else
35739
35740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35741 $as_echo_n "checking for _logf declaration... " >&6; }
35742   if test x${glibcxx_cv_func__logf_use+set} != xset; then
35743     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35744   $as_echo_n "(cached) " >&6
35745 else
35746
35747
35748       ac_ext=cpp
35749 ac_cpp='$CXXCPP $CPPFLAGS'
35750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35753
35754       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35755 /* end confdefs.h.  */
35756 #include <math.h>
35757                       #ifdef HAVE_IEEEFP_H
35758                       #include <ieeefp.h>
35759                       #endif
35760
35761 int
35762 main ()
35763 {
35764  _logf(0);
35765   ;
35766   return 0;
35767 }
35768 _ACEOF
35769 if ac_fn_cxx_try_compile "$LINENO"; then :
35770   glibcxx_cv_func__logf_use=yes
35771 else
35772   glibcxx_cv_func__logf_use=no
35773 fi
35774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35775       ac_ext=c
35776 ac_cpp='$CPP $CPPFLAGS'
35777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35780
35781
35782 fi
35783
35784   fi
35785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35786 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35787
35788     if test x$glibcxx_cv_func__logf_use = x"yes"; then
35789       for ac_func in _logf
35790 do :
35791   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35792 if test "x$ac_cv_func__logf" = x""yes; then :
35793   cat >>confdefs.h <<_ACEOF
35794 #define HAVE__LOGF 1
35795 _ACEOF
35796
35797 fi
35798 done
35799
35800     fi
35801   fi
35802
35803
35804
35805
35806
35807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35808 $as_echo_n "checking for log10f declaration... " >&6; }
35809   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35810     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35811   $as_echo_n "(cached) " >&6
35812 else
35813
35814
35815       ac_ext=cpp
35816 ac_cpp='$CXXCPP $CPPFLAGS'
35817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35820
35821       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35822 /* end confdefs.h.  */
35823 #include <math.h>
35824                       #ifdef HAVE_IEEEFP_H
35825                       #include <ieeefp.h>
35826                       #endif
35827
35828 int
35829 main ()
35830 {
35831  log10f(0);
35832   ;
35833   return 0;
35834 }
35835 _ACEOF
35836 if ac_fn_cxx_try_compile "$LINENO"; then :
35837   glibcxx_cv_func_log10f_use=yes
35838 else
35839   glibcxx_cv_func_log10f_use=no
35840 fi
35841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35842       ac_ext=c
35843 ac_cpp='$CPP $CPPFLAGS'
35844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35847
35848
35849 fi
35850
35851   fi
35852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35853 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35854
35855   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35856     for ac_func in log10f
35857 do :
35858   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35859 if test "x$ac_cv_func_log10f" = x""yes; then :
35860   cat >>confdefs.h <<_ACEOF
35861 #define HAVE_LOG10F 1
35862 _ACEOF
35863
35864 fi
35865 done
35866
35867   else
35868
35869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35870 $as_echo_n "checking for _log10f declaration... " >&6; }
35871   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35872     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35873   $as_echo_n "(cached) " >&6
35874 else
35875
35876
35877       ac_ext=cpp
35878 ac_cpp='$CXXCPP $CPPFLAGS'
35879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35882
35883       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35884 /* end confdefs.h.  */
35885 #include <math.h>
35886                       #ifdef HAVE_IEEEFP_H
35887                       #include <ieeefp.h>
35888                       #endif
35889
35890 int
35891 main ()
35892 {
35893  _log10f(0);
35894   ;
35895   return 0;
35896 }
35897 _ACEOF
35898 if ac_fn_cxx_try_compile "$LINENO"; then :
35899   glibcxx_cv_func__log10f_use=yes
35900 else
35901   glibcxx_cv_func__log10f_use=no
35902 fi
35903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35904       ac_ext=c
35905 ac_cpp='$CPP $CPPFLAGS'
35906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35909
35910
35911 fi
35912
35913   fi
35914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35915 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35916
35917     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35918       for ac_func in _log10f
35919 do :
35920   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35921 if test "x$ac_cv_func__log10f" = x""yes; then :
35922   cat >>confdefs.h <<_ACEOF
35923 #define HAVE__LOG10F 1
35924 _ACEOF
35925
35926 fi
35927 done
35928
35929     fi
35930   fi
35931
35932
35933
35934
35935
35936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35937 $as_echo_n "checking for modff declaration... " >&6; }
35938   if test x${glibcxx_cv_func_modff_use+set} != xset; then
35939     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35940   $as_echo_n "(cached) " >&6
35941 else
35942
35943
35944       ac_ext=cpp
35945 ac_cpp='$CXXCPP $CPPFLAGS'
35946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35949
35950       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35951 /* end confdefs.h.  */
35952 #include <math.h>
35953 int
35954 main ()
35955 {
35956  modff(0, 0);
35957   ;
35958   return 0;
35959 }
35960 _ACEOF
35961 if ac_fn_cxx_try_compile "$LINENO"; then :
35962   glibcxx_cv_func_modff_use=yes
35963 else
35964   glibcxx_cv_func_modff_use=no
35965 fi
35966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35967       ac_ext=c
35968 ac_cpp='$CPP $CPPFLAGS'
35969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35972
35973
35974 fi
35975
35976   fi
35977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35978 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35979
35980   if test x$glibcxx_cv_func_modff_use = x"yes"; then
35981     for ac_func in modff
35982 do :
35983   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35984 if test "x$ac_cv_func_modff" = x""yes; then :
35985   cat >>confdefs.h <<_ACEOF
35986 #define HAVE_MODFF 1
35987 _ACEOF
35988
35989 fi
35990 done
35991
35992   else
35993
35994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35995 $as_echo_n "checking for _modff declaration... " >&6; }
35996   if test x${glibcxx_cv_func__modff_use+set} != xset; then
35997     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35998   $as_echo_n "(cached) " >&6
35999 else
36000
36001
36002       ac_ext=cpp
36003 ac_cpp='$CXXCPP $CPPFLAGS'
36004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36007
36008       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36009 /* end confdefs.h.  */
36010 #include <math.h>
36011 int
36012 main ()
36013 {
36014  _modff(0, 0);
36015   ;
36016   return 0;
36017 }
36018 _ACEOF
36019 if ac_fn_cxx_try_compile "$LINENO"; then :
36020   glibcxx_cv_func__modff_use=yes
36021 else
36022   glibcxx_cv_func__modff_use=no
36023 fi
36024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36025       ac_ext=c
36026 ac_cpp='$CPP $CPPFLAGS'
36027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36030
36031
36032 fi
36033
36034   fi
36035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36036 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36037
36038     if test x$glibcxx_cv_func__modff_use = x"yes"; then
36039       for ac_func in _modff
36040 do :
36041   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36042 if test "x$ac_cv_func__modff" = x""yes; then :
36043   cat >>confdefs.h <<_ACEOF
36044 #define HAVE__MODFF 1
36045 _ACEOF
36046
36047 fi
36048 done
36049
36050     fi
36051   fi
36052
36053
36054
36055
36056
36057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36058 $as_echo_n "checking for modf declaration... " >&6; }
36059   if test x${glibcxx_cv_func_modf_use+set} != xset; then
36060     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36061   $as_echo_n "(cached) " >&6
36062 else
36063
36064
36065       ac_ext=cpp
36066 ac_cpp='$CXXCPP $CPPFLAGS'
36067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36070
36071       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36072 /* end confdefs.h.  */
36073 #include <math.h>
36074 int
36075 main ()
36076 {
36077  modf(0, 0);
36078   ;
36079   return 0;
36080 }
36081 _ACEOF
36082 if ac_fn_cxx_try_compile "$LINENO"; then :
36083   glibcxx_cv_func_modf_use=yes
36084 else
36085   glibcxx_cv_func_modf_use=no
36086 fi
36087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36088       ac_ext=c
36089 ac_cpp='$CPP $CPPFLAGS'
36090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36093
36094
36095 fi
36096
36097   fi
36098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36099 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36100
36101   if test x$glibcxx_cv_func_modf_use = x"yes"; then
36102     for ac_func in modf
36103 do :
36104   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36105 if test "x$ac_cv_func_modf" = x""yes; then :
36106   cat >>confdefs.h <<_ACEOF
36107 #define HAVE_MODF 1
36108 _ACEOF
36109
36110 fi
36111 done
36112
36113   else
36114
36115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36116 $as_echo_n "checking for _modf declaration... " >&6; }
36117   if test x${glibcxx_cv_func__modf_use+set} != xset; then
36118     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36119   $as_echo_n "(cached) " >&6
36120 else
36121
36122
36123       ac_ext=cpp
36124 ac_cpp='$CXXCPP $CPPFLAGS'
36125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36128
36129       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36130 /* end confdefs.h.  */
36131 #include <math.h>
36132 int
36133 main ()
36134 {
36135  _modf(0, 0);
36136   ;
36137   return 0;
36138 }
36139 _ACEOF
36140 if ac_fn_cxx_try_compile "$LINENO"; then :
36141   glibcxx_cv_func__modf_use=yes
36142 else
36143   glibcxx_cv_func__modf_use=no
36144 fi
36145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36146       ac_ext=c
36147 ac_cpp='$CPP $CPPFLAGS'
36148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36151
36152
36153 fi
36154
36155   fi
36156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36157 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36158
36159     if test x$glibcxx_cv_func__modf_use = x"yes"; then
36160       for ac_func in _modf
36161 do :
36162   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36163 if test "x$ac_cv_func__modf" = x""yes; then :
36164   cat >>confdefs.h <<_ACEOF
36165 #define HAVE__MODF 1
36166 _ACEOF
36167
36168 fi
36169 done
36170
36171     fi
36172   fi
36173
36174
36175
36176
36177
36178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36179 $as_echo_n "checking for powf declaration... " >&6; }
36180   if test x${glibcxx_cv_func_powf_use+set} != xset; then
36181     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36182   $as_echo_n "(cached) " >&6
36183 else
36184
36185
36186       ac_ext=cpp
36187 ac_cpp='$CXXCPP $CPPFLAGS'
36188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36191
36192       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36193 /* end confdefs.h.  */
36194 #include <math.h>
36195 int
36196 main ()
36197 {
36198  powf(0, 0);
36199   ;
36200   return 0;
36201 }
36202 _ACEOF
36203 if ac_fn_cxx_try_compile "$LINENO"; then :
36204   glibcxx_cv_func_powf_use=yes
36205 else
36206   glibcxx_cv_func_powf_use=no
36207 fi
36208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36209       ac_ext=c
36210 ac_cpp='$CPP $CPPFLAGS'
36211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36214
36215
36216 fi
36217
36218   fi
36219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36220 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36221
36222   if test x$glibcxx_cv_func_powf_use = x"yes"; then
36223     for ac_func in powf
36224 do :
36225   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36226 if test "x$ac_cv_func_powf" = x""yes; then :
36227   cat >>confdefs.h <<_ACEOF
36228 #define HAVE_POWF 1
36229 _ACEOF
36230
36231 fi
36232 done
36233
36234   else
36235
36236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36237 $as_echo_n "checking for _powf declaration... " >&6; }
36238   if test x${glibcxx_cv_func__powf_use+set} != xset; then
36239     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36240   $as_echo_n "(cached) " >&6
36241 else
36242
36243
36244       ac_ext=cpp
36245 ac_cpp='$CXXCPP $CPPFLAGS'
36246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36249
36250       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36251 /* end confdefs.h.  */
36252 #include <math.h>
36253 int
36254 main ()
36255 {
36256  _powf(0, 0);
36257   ;
36258   return 0;
36259 }
36260 _ACEOF
36261 if ac_fn_cxx_try_compile "$LINENO"; then :
36262   glibcxx_cv_func__powf_use=yes
36263 else
36264   glibcxx_cv_func__powf_use=no
36265 fi
36266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36267       ac_ext=c
36268 ac_cpp='$CPP $CPPFLAGS'
36269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36272
36273
36274 fi
36275
36276   fi
36277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36278 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36279
36280     if test x$glibcxx_cv_func__powf_use = x"yes"; then
36281       for ac_func in _powf
36282 do :
36283   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36284 if test "x$ac_cv_func__powf" = x""yes; then :
36285   cat >>confdefs.h <<_ACEOF
36286 #define HAVE__POWF 1
36287 _ACEOF
36288
36289 fi
36290 done
36291
36292     fi
36293   fi
36294
36295
36296
36297
36298
36299   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36300 $as_echo_n "checking for sqrtf declaration... " >&6; }
36301   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36302     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36303   $as_echo_n "(cached) " >&6
36304 else
36305
36306
36307       ac_ext=cpp
36308 ac_cpp='$CXXCPP $CPPFLAGS'
36309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36312
36313       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36314 /* end confdefs.h.  */
36315 #include <math.h>
36316                       #ifdef HAVE_IEEEFP_H
36317                       #include <ieeefp.h>
36318                       #endif
36319
36320 int
36321 main ()
36322 {
36323  sqrtf(0);
36324   ;
36325   return 0;
36326 }
36327 _ACEOF
36328 if ac_fn_cxx_try_compile "$LINENO"; then :
36329   glibcxx_cv_func_sqrtf_use=yes
36330 else
36331   glibcxx_cv_func_sqrtf_use=no
36332 fi
36333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36334       ac_ext=c
36335 ac_cpp='$CPP $CPPFLAGS'
36336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36339
36340
36341 fi
36342
36343   fi
36344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36345 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36346
36347   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36348     for ac_func in sqrtf
36349 do :
36350   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36351 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36352   cat >>confdefs.h <<_ACEOF
36353 #define HAVE_SQRTF 1
36354 _ACEOF
36355
36356 fi
36357 done
36358
36359   else
36360
36361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36362 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36363   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36364     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36365   $as_echo_n "(cached) " >&6
36366 else
36367
36368
36369       ac_ext=cpp
36370 ac_cpp='$CXXCPP $CPPFLAGS'
36371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36374
36375       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36376 /* end confdefs.h.  */
36377 #include <math.h>
36378                       #ifdef HAVE_IEEEFP_H
36379                       #include <ieeefp.h>
36380                       #endif
36381
36382 int
36383 main ()
36384 {
36385  _sqrtf(0);
36386   ;
36387   return 0;
36388 }
36389 _ACEOF
36390 if ac_fn_cxx_try_compile "$LINENO"; then :
36391   glibcxx_cv_func__sqrtf_use=yes
36392 else
36393   glibcxx_cv_func__sqrtf_use=no
36394 fi
36395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36396       ac_ext=c
36397 ac_cpp='$CPP $CPPFLAGS'
36398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36401
36402
36403 fi
36404
36405   fi
36406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36407 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36408
36409     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36410       for ac_func in _sqrtf
36411 do :
36412   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36413 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36414   cat >>confdefs.h <<_ACEOF
36415 #define HAVE__SQRTF 1
36416 _ACEOF
36417
36418 fi
36419 done
36420
36421     fi
36422   fi
36423
36424
36425
36426
36427
36428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36429 $as_echo_n "checking for sincosf declaration... " >&6; }
36430   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36431     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36432   $as_echo_n "(cached) " >&6
36433 else
36434
36435
36436       ac_ext=cpp
36437 ac_cpp='$CXXCPP $CPPFLAGS'
36438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36441
36442       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36443 /* end confdefs.h.  */
36444 #include <math.h>
36445 int
36446 main ()
36447 {
36448  sincosf(0, 0, 0);
36449   ;
36450   return 0;
36451 }
36452 _ACEOF
36453 if ac_fn_cxx_try_compile "$LINENO"; then :
36454   glibcxx_cv_func_sincosf_use=yes
36455 else
36456   glibcxx_cv_func_sincosf_use=no
36457 fi
36458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36459       ac_ext=c
36460 ac_cpp='$CPP $CPPFLAGS'
36461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36464
36465
36466 fi
36467
36468   fi
36469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36470 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36471
36472   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36473     for ac_func in sincosf
36474 do :
36475   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36476 if test "x$ac_cv_func_sincosf" = x""yes; then :
36477   cat >>confdefs.h <<_ACEOF
36478 #define HAVE_SINCOSF 1
36479 _ACEOF
36480
36481 fi
36482 done
36483
36484   else
36485
36486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36487 $as_echo_n "checking for _sincosf declaration... " >&6; }
36488   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36489     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36490   $as_echo_n "(cached) " >&6
36491 else
36492
36493
36494       ac_ext=cpp
36495 ac_cpp='$CXXCPP $CPPFLAGS'
36496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36499
36500       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36501 /* end confdefs.h.  */
36502 #include <math.h>
36503 int
36504 main ()
36505 {
36506  _sincosf(0, 0, 0);
36507   ;
36508   return 0;
36509 }
36510 _ACEOF
36511 if ac_fn_cxx_try_compile "$LINENO"; then :
36512   glibcxx_cv_func__sincosf_use=yes
36513 else
36514   glibcxx_cv_func__sincosf_use=no
36515 fi
36516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36517       ac_ext=c
36518 ac_cpp='$CPP $CPPFLAGS'
36519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36522
36523
36524 fi
36525
36526   fi
36527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36528 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36529
36530     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36531       for ac_func in _sincosf
36532 do :
36533   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36534 if test "x$ac_cv_func__sincosf" = x""yes; then :
36535   cat >>confdefs.h <<_ACEOF
36536 #define HAVE__SINCOSF 1
36537 _ACEOF
36538
36539 fi
36540 done
36541
36542     fi
36543   fi
36544
36545
36546
36547
36548
36549   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36550 $as_echo_n "checking for finitef declaration... " >&6; }
36551   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36552     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36553   $as_echo_n "(cached) " >&6
36554 else
36555
36556
36557       ac_ext=cpp
36558 ac_cpp='$CXXCPP $CPPFLAGS'
36559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36562
36563       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36564 /* end confdefs.h.  */
36565 #include <math.h>
36566                       #ifdef HAVE_IEEEFP_H
36567                       #include <ieeefp.h>
36568                       #endif
36569
36570 int
36571 main ()
36572 {
36573  finitef(0);
36574   ;
36575   return 0;
36576 }
36577 _ACEOF
36578 if ac_fn_cxx_try_compile "$LINENO"; then :
36579   glibcxx_cv_func_finitef_use=yes
36580 else
36581   glibcxx_cv_func_finitef_use=no
36582 fi
36583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36584       ac_ext=c
36585 ac_cpp='$CPP $CPPFLAGS'
36586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36589
36590
36591 fi
36592
36593   fi
36594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36595 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36596
36597   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36598     for ac_func in finitef
36599 do :
36600   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36601 if test "x$ac_cv_func_finitef" = x""yes; then :
36602   cat >>confdefs.h <<_ACEOF
36603 #define HAVE_FINITEF 1
36604 _ACEOF
36605
36606 fi
36607 done
36608
36609   else
36610
36611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36612 $as_echo_n "checking for _finitef declaration... " >&6; }
36613   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36614     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36615   $as_echo_n "(cached) " >&6
36616 else
36617
36618
36619       ac_ext=cpp
36620 ac_cpp='$CXXCPP $CPPFLAGS'
36621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36624
36625       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36626 /* end confdefs.h.  */
36627 #include <math.h>
36628                       #ifdef HAVE_IEEEFP_H
36629                       #include <ieeefp.h>
36630                       #endif
36631
36632 int
36633 main ()
36634 {
36635  _finitef(0);
36636   ;
36637   return 0;
36638 }
36639 _ACEOF
36640 if ac_fn_cxx_try_compile "$LINENO"; then :
36641   glibcxx_cv_func__finitef_use=yes
36642 else
36643   glibcxx_cv_func__finitef_use=no
36644 fi
36645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36646       ac_ext=c
36647 ac_cpp='$CPP $CPPFLAGS'
36648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36651
36652
36653 fi
36654
36655   fi
36656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36657 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36658
36659     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36660       for ac_func in _finitef
36661 do :
36662   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36663 if test "x$ac_cv_func__finitef" = x""yes; then :
36664   cat >>confdefs.h <<_ACEOF
36665 #define HAVE__FINITEF 1
36666 _ACEOF
36667
36668 fi
36669 done
36670
36671     fi
36672   fi
36673
36674
36675
36676
36677
36678     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36679 $as_echo_n "checking for long double trig functions... " >&6; }
36680   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36681   $as_echo_n "(cached) " >&6
36682 else
36683
36684
36685     ac_ext=cpp
36686 ac_cpp='$CXXCPP $CPPFLAGS'
36687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36690
36691     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36692 /* end confdefs.h.  */
36693 #include <math.h>
36694 int
36695 main ()
36696 {
36697 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36698   ;
36699   return 0;
36700 }
36701 _ACEOF
36702 if ac_fn_cxx_try_compile "$LINENO"; then :
36703   glibcxx_cv_func_long_double_trig_use=yes
36704 else
36705   glibcxx_cv_func_long_double_trig_use=no
36706 fi
36707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36708     ac_ext=c
36709 ac_cpp='$CPP $CPPFLAGS'
36710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36713
36714 fi
36715
36716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36717 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36718   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36719     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36720 do :
36721   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36722 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36723 eval as_val=\$$as_ac_var
36724    if test "x$as_val" = x""yes; then :
36725   cat >>confdefs.h <<_ACEOF
36726 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36727 _ACEOF
36728
36729 fi
36730 done
36731
36732   else
36733     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36734 $as_echo_n "checking for _long double trig functions... " >&6; }
36735     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36736   $as_echo_n "(cached) " >&6
36737 else
36738
36739
36740       ac_ext=cpp
36741 ac_cpp='$CXXCPP $CPPFLAGS'
36742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36745
36746       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36747 /* end confdefs.h.  */
36748 #include <math.h>
36749 int
36750 main ()
36751 {
36752 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36753   ;
36754   return 0;
36755 }
36756 _ACEOF
36757 if ac_fn_cxx_try_compile "$LINENO"; then :
36758   glibcxx_cv_func__long_double_trig_use=yes
36759 else
36760   glibcxx_cv_func__long_double_trig_use=no
36761 fi
36762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36763       ac_ext=c
36764 ac_cpp='$CPP $CPPFLAGS'
36765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36768
36769 fi
36770
36771     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36772 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36773     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36774       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36775 do :
36776   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36777 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36778 eval as_val=\$$as_ac_var
36779    if test "x$as_val" = x""yes; then :
36780   cat >>confdefs.h <<_ACEOF
36781 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36782 _ACEOF
36783
36784 fi
36785 done
36786
36787     fi
36788   fi
36789
36790
36791
36792
36793
36794     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36795 $as_echo_n "checking for long double round functions... " >&6; }
36796   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36797   $as_echo_n "(cached) " >&6
36798 else
36799
36800
36801     ac_ext=cpp
36802 ac_cpp='$CXXCPP $CPPFLAGS'
36803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36806
36807     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36808 /* end confdefs.h.  */
36809 #include <math.h>
36810 int
36811 main ()
36812 {
36813 ceill (0); floorl (0);
36814   ;
36815   return 0;
36816 }
36817 _ACEOF
36818 if ac_fn_cxx_try_compile "$LINENO"; then :
36819   glibcxx_cv_func_long_double_round_use=yes
36820 else
36821   glibcxx_cv_func_long_double_round_use=no
36822 fi
36823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36824     ac_ext=c
36825 ac_cpp='$CPP $CPPFLAGS'
36826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36829
36830 fi
36831
36832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36833 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36834   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36835     for ac_func in ceill floorl
36836 do :
36837   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36838 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36839 eval as_val=\$$as_ac_var
36840    if test "x$as_val" = x""yes; then :
36841   cat >>confdefs.h <<_ACEOF
36842 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36843 _ACEOF
36844
36845 fi
36846 done
36847
36848   else
36849     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36850 $as_echo_n "checking for _long double round functions... " >&6; }
36851     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36852   $as_echo_n "(cached) " >&6
36853 else
36854
36855
36856       ac_ext=cpp
36857 ac_cpp='$CXXCPP $CPPFLAGS'
36858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36861
36862       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36863 /* end confdefs.h.  */
36864 #include <math.h>
36865 int
36866 main ()
36867 {
36868 _ceill (0); _floorl (0);
36869   ;
36870   return 0;
36871 }
36872 _ACEOF
36873 if ac_fn_cxx_try_compile "$LINENO"; then :
36874   glibcxx_cv_func__long_double_round_use=yes
36875 else
36876   glibcxx_cv_func__long_double_round_use=no
36877 fi
36878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36879       ac_ext=c
36880 ac_cpp='$CPP $CPPFLAGS'
36881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36884
36885 fi
36886
36887     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36888 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36889     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36890       for ac_func in _ceill _floorl
36891 do :
36892   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36893 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36894 eval as_val=\$$as_ac_var
36895    if test "x$as_val" = x""yes; then :
36896   cat >>confdefs.h <<_ACEOF
36897 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36898 _ACEOF
36899
36900 fi
36901 done
36902
36903     fi
36904   fi
36905
36906
36907
36908
36909
36910
36911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36912 $as_echo_n "checking for isnanl declaration... " >&6; }
36913   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36914     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36915   $as_echo_n "(cached) " >&6
36916 else
36917
36918
36919       ac_ext=cpp
36920 ac_cpp='$CXXCPP $CPPFLAGS'
36921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36924
36925       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36926 /* end confdefs.h.  */
36927 #include <math.h>
36928                       #ifdef HAVE_IEEEFP_H
36929                       #include <ieeefp.h>
36930                       #endif
36931
36932 int
36933 main ()
36934 {
36935  isnanl(0);
36936   ;
36937   return 0;
36938 }
36939 _ACEOF
36940 if ac_fn_cxx_try_compile "$LINENO"; then :
36941   glibcxx_cv_func_isnanl_use=yes
36942 else
36943   glibcxx_cv_func_isnanl_use=no
36944 fi
36945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36946       ac_ext=c
36947 ac_cpp='$CPP $CPPFLAGS'
36948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36951
36952
36953 fi
36954
36955   fi
36956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36957 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36958
36959   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36960     for ac_func in isnanl
36961 do :
36962   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36963 if test "x$ac_cv_func_isnanl" = x""yes; then :
36964   cat >>confdefs.h <<_ACEOF
36965 #define HAVE_ISNANL 1
36966 _ACEOF
36967
36968 fi
36969 done
36970
36971   else
36972
36973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36974 $as_echo_n "checking for _isnanl declaration... " >&6; }
36975   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36976     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36977   $as_echo_n "(cached) " >&6
36978 else
36979
36980
36981       ac_ext=cpp
36982 ac_cpp='$CXXCPP $CPPFLAGS'
36983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36986
36987       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36988 /* end confdefs.h.  */
36989 #include <math.h>
36990                       #ifdef HAVE_IEEEFP_H
36991                       #include <ieeefp.h>
36992                       #endif
36993
36994 int
36995 main ()
36996 {
36997  _isnanl(0);
36998   ;
36999   return 0;
37000 }
37001 _ACEOF
37002 if ac_fn_cxx_try_compile "$LINENO"; then :
37003   glibcxx_cv_func__isnanl_use=yes
37004 else
37005   glibcxx_cv_func__isnanl_use=no
37006 fi
37007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37008       ac_ext=c
37009 ac_cpp='$CPP $CPPFLAGS'
37010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37013
37014
37015 fi
37016
37017   fi
37018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37019 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37020
37021     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37022       for ac_func in _isnanl
37023 do :
37024   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37025 if test "x$ac_cv_func__isnanl" = x""yes; then :
37026   cat >>confdefs.h <<_ACEOF
37027 #define HAVE__ISNANL 1
37028 _ACEOF
37029
37030 fi
37031 done
37032
37033     fi
37034   fi
37035
37036
37037
37038
37039
37040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37041 $as_echo_n "checking for isinfl declaration... " >&6; }
37042   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37043     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37044   $as_echo_n "(cached) " >&6
37045 else
37046
37047
37048       ac_ext=cpp
37049 ac_cpp='$CXXCPP $CPPFLAGS'
37050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37053
37054       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37055 /* end confdefs.h.  */
37056 #include <math.h>
37057                       #ifdef HAVE_IEEEFP_H
37058                       #include <ieeefp.h>
37059                       #endif
37060
37061 int
37062 main ()
37063 {
37064  isinfl(0);
37065   ;
37066   return 0;
37067 }
37068 _ACEOF
37069 if ac_fn_cxx_try_compile "$LINENO"; then :
37070   glibcxx_cv_func_isinfl_use=yes
37071 else
37072   glibcxx_cv_func_isinfl_use=no
37073 fi
37074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37075       ac_ext=c
37076 ac_cpp='$CPP $CPPFLAGS'
37077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37080
37081
37082 fi
37083
37084   fi
37085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37086 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37087
37088   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37089     for ac_func in isinfl
37090 do :
37091   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37092 if test "x$ac_cv_func_isinfl" = x""yes; then :
37093   cat >>confdefs.h <<_ACEOF
37094 #define HAVE_ISINFL 1
37095 _ACEOF
37096
37097 fi
37098 done
37099
37100   else
37101
37102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37103 $as_echo_n "checking for _isinfl declaration... " >&6; }
37104   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37105     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37106   $as_echo_n "(cached) " >&6
37107 else
37108
37109
37110       ac_ext=cpp
37111 ac_cpp='$CXXCPP $CPPFLAGS'
37112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37115
37116       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37117 /* end confdefs.h.  */
37118 #include <math.h>
37119                       #ifdef HAVE_IEEEFP_H
37120                       #include <ieeefp.h>
37121                       #endif
37122
37123 int
37124 main ()
37125 {
37126  _isinfl(0);
37127   ;
37128   return 0;
37129 }
37130 _ACEOF
37131 if ac_fn_cxx_try_compile "$LINENO"; then :
37132   glibcxx_cv_func__isinfl_use=yes
37133 else
37134   glibcxx_cv_func__isinfl_use=no
37135 fi
37136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37137       ac_ext=c
37138 ac_cpp='$CPP $CPPFLAGS'
37139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37142
37143
37144 fi
37145
37146   fi
37147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37148 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37149
37150     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37151       for ac_func in _isinfl
37152 do :
37153   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37154 if test "x$ac_cv_func__isinfl" = x""yes; then :
37155   cat >>confdefs.h <<_ACEOF
37156 #define HAVE__ISINFL 1
37157 _ACEOF
37158
37159 fi
37160 done
37161
37162     fi
37163   fi
37164
37165
37166
37167
37168
37169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37170 $as_echo_n "checking for atan2l declaration... " >&6; }
37171   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37172     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37173   $as_echo_n "(cached) " >&6
37174 else
37175
37176
37177       ac_ext=cpp
37178 ac_cpp='$CXXCPP $CPPFLAGS'
37179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37182
37183       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37184 /* end confdefs.h.  */
37185 #include <math.h>
37186 int
37187 main ()
37188 {
37189  atan2l(0, 0);
37190   ;
37191   return 0;
37192 }
37193 _ACEOF
37194 if ac_fn_cxx_try_compile "$LINENO"; then :
37195   glibcxx_cv_func_atan2l_use=yes
37196 else
37197   glibcxx_cv_func_atan2l_use=no
37198 fi
37199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37200       ac_ext=c
37201 ac_cpp='$CPP $CPPFLAGS'
37202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37205
37206
37207 fi
37208
37209   fi
37210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37211 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37212
37213   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37214     for ac_func in atan2l
37215 do :
37216   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37217 if test "x$ac_cv_func_atan2l" = x""yes; then :
37218   cat >>confdefs.h <<_ACEOF
37219 #define HAVE_ATAN2L 1
37220 _ACEOF
37221
37222 fi
37223 done
37224
37225   else
37226
37227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37228 $as_echo_n "checking for _atan2l declaration... " >&6; }
37229   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37230     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37231   $as_echo_n "(cached) " >&6
37232 else
37233
37234
37235       ac_ext=cpp
37236 ac_cpp='$CXXCPP $CPPFLAGS'
37237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37240
37241       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37242 /* end confdefs.h.  */
37243 #include <math.h>
37244 int
37245 main ()
37246 {
37247  _atan2l(0, 0);
37248   ;
37249   return 0;
37250 }
37251 _ACEOF
37252 if ac_fn_cxx_try_compile "$LINENO"; then :
37253   glibcxx_cv_func__atan2l_use=yes
37254 else
37255   glibcxx_cv_func__atan2l_use=no
37256 fi
37257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37258       ac_ext=c
37259 ac_cpp='$CPP $CPPFLAGS'
37260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37263
37264
37265 fi
37266
37267   fi
37268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37269 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37270
37271     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37272       for ac_func in _atan2l
37273 do :
37274   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37275 if test "x$ac_cv_func__atan2l" = x""yes; then :
37276   cat >>confdefs.h <<_ACEOF
37277 #define HAVE__ATAN2L 1
37278 _ACEOF
37279
37280 fi
37281 done
37282
37283     fi
37284   fi
37285
37286
37287
37288
37289
37290   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37291 $as_echo_n "checking for expl declaration... " >&6; }
37292   if test x${glibcxx_cv_func_expl_use+set} != xset; then
37293     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37294   $as_echo_n "(cached) " >&6
37295 else
37296
37297
37298       ac_ext=cpp
37299 ac_cpp='$CXXCPP $CPPFLAGS'
37300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37303
37304       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37305 /* end confdefs.h.  */
37306 #include <math.h>
37307                       #ifdef HAVE_IEEEFP_H
37308                       #include <ieeefp.h>
37309                       #endif
37310
37311 int
37312 main ()
37313 {
37314  expl(0);
37315   ;
37316   return 0;
37317 }
37318 _ACEOF
37319 if ac_fn_cxx_try_compile "$LINENO"; then :
37320   glibcxx_cv_func_expl_use=yes
37321 else
37322   glibcxx_cv_func_expl_use=no
37323 fi
37324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37325       ac_ext=c
37326 ac_cpp='$CPP $CPPFLAGS'
37327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37330
37331
37332 fi
37333
37334   fi
37335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37336 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37337
37338   if test x$glibcxx_cv_func_expl_use = x"yes"; then
37339     for ac_func in expl
37340 do :
37341   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37342 if test "x$ac_cv_func_expl" = x""yes; then :
37343   cat >>confdefs.h <<_ACEOF
37344 #define HAVE_EXPL 1
37345 _ACEOF
37346
37347 fi
37348 done
37349
37350   else
37351
37352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37353 $as_echo_n "checking for _expl declaration... " >&6; }
37354   if test x${glibcxx_cv_func__expl_use+set} != xset; then
37355     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37356   $as_echo_n "(cached) " >&6
37357 else
37358
37359
37360       ac_ext=cpp
37361 ac_cpp='$CXXCPP $CPPFLAGS'
37362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37365
37366       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37367 /* end confdefs.h.  */
37368 #include <math.h>
37369                       #ifdef HAVE_IEEEFP_H
37370                       #include <ieeefp.h>
37371                       #endif
37372
37373 int
37374 main ()
37375 {
37376  _expl(0);
37377   ;
37378   return 0;
37379 }
37380 _ACEOF
37381 if ac_fn_cxx_try_compile "$LINENO"; then :
37382   glibcxx_cv_func__expl_use=yes
37383 else
37384   glibcxx_cv_func__expl_use=no
37385 fi
37386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37387       ac_ext=c
37388 ac_cpp='$CPP $CPPFLAGS'
37389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37392
37393
37394 fi
37395
37396   fi
37397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37398 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37399
37400     if test x$glibcxx_cv_func__expl_use = x"yes"; then
37401       for ac_func in _expl
37402 do :
37403   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37404 if test "x$ac_cv_func__expl" = x""yes; then :
37405   cat >>confdefs.h <<_ACEOF
37406 #define HAVE__EXPL 1
37407 _ACEOF
37408
37409 fi
37410 done
37411
37412     fi
37413   fi
37414
37415
37416
37417
37418
37419   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37420 $as_echo_n "checking for fabsl declaration... " >&6; }
37421   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37422     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37423   $as_echo_n "(cached) " >&6
37424 else
37425
37426
37427       ac_ext=cpp
37428 ac_cpp='$CXXCPP $CPPFLAGS'
37429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37432
37433       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37434 /* end confdefs.h.  */
37435 #include <math.h>
37436                       #ifdef HAVE_IEEEFP_H
37437                       #include <ieeefp.h>
37438                       #endif
37439
37440 int
37441 main ()
37442 {
37443  fabsl(0);
37444   ;
37445   return 0;
37446 }
37447 _ACEOF
37448 if ac_fn_cxx_try_compile "$LINENO"; then :
37449   glibcxx_cv_func_fabsl_use=yes
37450 else
37451   glibcxx_cv_func_fabsl_use=no
37452 fi
37453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37454       ac_ext=c
37455 ac_cpp='$CPP $CPPFLAGS'
37456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37459
37460
37461 fi
37462
37463   fi
37464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37465 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37466
37467   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37468     for ac_func in fabsl
37469 do :
37470   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37471 if test "x$ac_cv_func_fabsl" = x""yes; then :
37472   cat >>confdefs.h <<_ACEOF
37473 #define HAVE_FABSL 1
37474 _ACEOF
37475
37476 fi
37477 done
37478
37479   else
37480
37481   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37482 $as_echo_n "checking for _fabsl declaration... " >&6; }
37483   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37484     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37485   $as_echo_n "(cached) " >&6
37486 else
37487
37488
37489       ac_ext=cpp
37490 ac_cpp='$CXXCPP $CPPFLAGS'
37491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37494
37495       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37496 /* end confdefs.h.  */
37497 #include <math.h>
37498                       #ifdef HAVE_IEEEFP_H
37499                       #include <ieeefp.h>
37500                       #endif
37501
37502 int
37503 main ()
37504 {
37505  _fabsl(0);
37506   ;
37507   return 0;
37508 }
37509 _ACEOF
37510 if ac_fn_cxx_try_compile "$LINENO"; then :
37511   glibcxx_cv_func__fabsl_use=yes
37512 else
37513   glibcxx_cv_func__fabsl_use=no
37514 fi
37515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37516       ac_ext=c
37517 ac_cpp='$CPP $CPPFLAGS'
37518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37521
37522
37523 fi
37524
37525   fi
37526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37527 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37528
37529     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37530       for ac_func in _fabsl
37531 do :
37532   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37533 if test "x$ac_cv_func__fabsl" = x""yes; then :
37534   cat >>confdefs.h <<_ACEOF
37535 #define HAVE__FABSL 1
37536 _ACEOF
37537
37538 fi
37539 done
37540
37541     fi
37542   fi
37543
37544
37545
37546
37547
37548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37549 $as_echo_n "checking for fmodl declaration... " >&6; }
37550   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37551     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37552   $as_echo_n "(cached) " >&6
37553 else
37554
37555
37556       ac_ext=cpp
37557 ac_cpp='$CXXCPP $CPPFLAGS'
37558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37561
37562       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37563 /* end confdefs.h.  */
37564 #include <math.h>
37565 int
37566 main ()
37567 {
37568  fmodl(0, 0);
37569   ;
37570   return 0;
37571 }
37572 _ACEOF
37573 if ac_fn_cxx_try_compile "$LINENO"; then :
37574   glibcxx_cv_func_fmodl_use=yes
37575 else
37576   glibcxx_cv_func_fmodl_use=no
37577 fi
37578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37579       ac_ext=c
37580 ac_cpp='$CPP $CPPFLAGS'
37581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37584
37585
37586 fi
37587
37588   fi
37589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37590 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37591
37592   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37593     for ac_func in fmodl
37594 do :
37595   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37596 if test "x$ac_cv_func_fmodl" = x""yes; then :
37597   cat >>confdefs.h <<_ACEOF
37598 #define HAVE_FMODL 1
37599 _ACEOF
37600
37601 fi
37602 done
37603
37604   else
37605
37606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37607 $as_echo_n "checking for _fmodl declaration... " >&6; }
37608   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37609     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37610   $as_echo_n "(cached) " >&6
37611 else
37612
37613
37614       ac_ext=cpp
37615 ac_cpp='$CXXCPP $CPPFLAGS'
37616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37619
37620       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37621 /* end confdefs.h.  */
37622 #include <math.h>
37623 int
37624 main ()
37625 {
37626  _fmodl(0, 0);
37627   ;
37628   return 0;
37629 }
37630 _ACEOF
37631 if ac_fn_cxx_try_compile "$LINENO"; then :
37632   glibcxx_cv_func__fmodl_use=yes
37633 else
37634   glibcxx_cv_func__fmodl_use=no
37635 fi
37636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37637       ac_ext=c
37638 ac_cpp='$CPP $CPPFLAGS'
37639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37642
37643
37644 fi
37645
37646   fi
37647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37648 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37649
37650     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37651       for ac_func in _fmodl
37652 do :
37653   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37654 if test "x$ac_cv_func__fmodl" = x""yes; then :
37655   cat >>confdefs.h <<_ACEOF
37656 #define HAVE__FMODL 1
37657 _ACEOF
37658
37659 fi
37660 done
37661
37662     fi
37663   fi
37664
37665
37666
37667
37668
37669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37670 $as_echo_n "checking for frexpl declaration... " >&6; }
37671   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37672     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37673   $as_echo_n "(cached) " >&6
37674 else
37675
37676
37677       ac_ext=cpp
37678 ac_cpp='$CXXCPP $CPPFLAGS'
37679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37682
37683       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37684 /* end confdefs.h.  */
37685 #include <math.h>
37686 int
37687 main ()
37688 {
37689  frexpl(0, 0);
37690   ;
37691   return 0;
37692 }
37693 _ACEOF
37694 if ac_fn_cxx_try_compile "$LINENO"; then :
37695   glibcxx_cv_func_frexpl_use=yes
37696 else
37697   glibcxx_cv_func_frexpl_use=no
37698 fi
37699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37700       ac_ext=c
37701 ac_cpp='$CPP $CPPFLAGS'
37702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37705
37706
37707 fi
37708
37709   fi
37710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37711 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37712
37713   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37714     for ac_func in frexpl
37715 do :
37716   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37717 if test "x$ac_cv_func_frexpl" = x""yes; then :
37718   cat >>confdefs.h <<_ACEOF
37719 #define HAVE_FREXPL 1
37720 _ACEOF
37721
37722 fi
37723 done
37724
37725   else
37726
37727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37728 $as_echo_n "checking for _frexpl declaration... " >&6; }
37729   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37730     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37731   $as_echo_n "(cached) " >&6
37732 else
37733
37734
37735       ac_ext=cpp
37736 ac_cpp='$CXXCPP $CPPFLAGS'
37737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37740
37741       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37742 /* end confdefs.h.  */
37743 #include <math.h>
37744 int
37745 main ()
37746 {
37747  _frexpl(0, 0);
37748   ;
37749   return 0;
37750 }
37751 _ACEOF
37752 if ac_fn_cxx_try_compile "$LINENO"; then :
37753   glibcxx_cv_func__frexpl_use=yes
37754 else
37755   glibcxx_cv_func__frexpl_use=no
37756 fi
37757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37758       ac_ext=c
37759 ac_cpp='$CPP $CPPFLAGS'
37760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37763
37764
37765 fi
37766
37767   fi
37768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37769 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37770
37771     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37772       for ac_func in _frexpl
37773 do :
37774   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37775 if test "x$ac_cv_func__frexpl" = x""yes; then :
37776   cat >>confdefs.h <<_ACEOF
37777 #define HAVE__FREXPL 1
37778 _ACEOF
37779
37780 fi
37781 done
37782
37783     fi
37784   fi
37785
37786
37787
37788
37789
37790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37791 $as_echo_n "checking for hypotl declaration... " >&6; }
37792   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37793     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37794   $as_echo_n "(cached) " >&6
37795 else
37796
37797
37798       ac_ext=cpp
37799 ac_cpp='$CXXCPP $CPPFLAGS'
37800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37803
37804       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37805 /* end confdefs.h.  */
37806 #include <math.h>
37807 int
37808 main ()
37809 {
37810  hypotl(0, 0);
37811   ;
37812   return 0;
37813 }
37814 _ACEOF
37815 if ac_fn_cxx_try_compile "$LINENO"; then :
37816   glibcxx_cv_func_hypotl_use=yes
37817 else
37818   glibcxx_cv_func_hypotl_use=no
37819 fi
37820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37821       ac_ext=c
37822 ac_cpp='$CPP $CPPFLAGS'
37823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37826
37827
37828 fi
37829
37830   fi
37831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37832 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37833
37834   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37835     for ac_func in hypotl
37836 do :
37837   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37838 if test "x$ac_cv_func_hypotl" = x""yes; then :
37839   cat >>confdefs.h <<_ACEOF
37840 #define HAVE_HYPOTL 1
37841 _ACEOF
37842
37843 fi
37844 done
37845
37846   else
37847
37848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37849 $as_echo_n "checking for _hypotl declaration... " >&6; }
37850   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37851     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37852   $as_echo_n "(cached) " >&6
37853 else
37854
37855
37856       ac_ext=cpp
37857 ac_cpp='$CXXCPP $CPPFLAGS'
37858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37861
37862       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37863 /* end confdefs.h.  */
37864 #include <math.h>
37865 int
37866 main ()
37867 {
37868  _hypotl(0, 0);
37869   ;
37870   return 0;
37871 }
37872 _ACEOF
37873 if ac_fn_cxx_try_compile "$LINENO"; then :
37874   glibcxx_cv_func__hypotl_use=yes
37875 else
37876   glibcxx_cv_func__hypotl_use=no
37877 fi
37878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37879       ac_ext=c
37880 ac_cpp='$CPP $CPPFLAGS'
37881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37884
37885
37886 fi
37887
37888   fi
37889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37890 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37891
37892     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37893       for ac_func in _hypotl
37894 do :
37895   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37896 if test "x$ac_cv_func__hypotl" = x""yes; then :
37897   cat >>confdefs.h <<_ACEOF
37898 #define HAVE__HYPOTL 1
37899 _ACEOF
37900
37901 fi
37902 done
37903
37904     fi
37905   fi
37906
37907
37908
37909
37910
37911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37912 $as_echo_n "checking for ldexpl declaration... " >&6; }
37913   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37914     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37915   $as_echo_n "(cached) " >&6
37916 else
37917
37918
37919       ac_ext=cpp
37920 ac_cpp='$CXXCPP $CPPFLAGS'
37921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37924
37925       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37926 /* end confdefs.h.  */
37927 #include <math.h>
37928 int
37929 main ()
37930 {
37931  ldexpl(0, 0);
37932   ;
37933   return 0;
37934 }
37935 _ACEOF
37936 if ac_fn_cxx_try_compile "$LINENO"; then :
37937   glibcxx_cv_func_ldexpl_use=yes
37938 else
37939   glibcxx_cv_func_ldexpl_use=no
37940 fi
37941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37942       ac_ext=c
37943 ac_cpp='$CPP $CPPFLAGS'
37944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37947
37948
37949 fi
37950
37951   fi
37952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37953 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37954
37955   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37956     for ac_func in ldexpl
37957 do :
37958   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37959 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37960   cat >>confdefs.h <<_ACEOF
37961 #define HAVE_LDEXPL 1
37962 _ACEOF
37963
37964 fi
37965 done
37966
37967   else
37968
37969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37970 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37971   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37972     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37973   $as_echo_n "(cached) " >&6
37974 else
37975
37976
37977       ac_ext=cpp
37978 ac_cpp='$CXXCPP $CPPFLAGS'
37979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37982
37983       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37984 /* end confdefs.h.  */
37985 #include <math.h>
37986 int
37987 main ()
37988 {
37989  _ldexpl(0, 0);
37990   ;
37991   return 0;
37992 }
37993 _ACEOF
37994 if ac_fn_cxx_try_compile "$LINENO"; then :
37995   glibcxx_cv_func__ldexpl_use=yes
37996 else
37997   glibcxx_cv_func__ldexpl_use=no
37998 fi
37999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38000       ac_ext=c
38001 ac_cpp='$CPP $CPPFLAGS'
38002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38005
38006
38007 fi
38008
38009   fi
38010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38011 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38012
38013     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38014       for ac_func in _ldexpl
38015 do :
38016   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38017 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38018   cat >>confdefs.h <<_ACEOF
38019 #define HAVE__LDEXPL 1
38020 _ACEOF
38021
38022 fi
38023 done
38024
38025     fi
38026   fi
38027
38028
38029
38030
38031
38032   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38033 $as_echo_n "checking for logl declaration... " >&6; }
38034   if test x${glibcxx_cv_func_logl_use+set} != xset; then
38035     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38036   $as_echo_n "(cached) " >&6
38037 else
38038
38039
38040       ac_ext=cpp
38041 ac_cpp='$CXXCPP $CPPFLAGS'
38042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38045
38046       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38047 /* end confdefs.h.  */
38048 #include <math.h>
38049                       #ifdef HAVE_IEEEFP_H
38050                       #include <ieeefp.h>
38051                       #endif
38052
38053 int
38054 main ()
38055 {
38056  logl(0);
38057   ;
38058   return 0;
38059 }
38060 _ACEOF
38061 if ac_fn_cxx_try_compile "$LINENO"; then :
38062   glibcxx_cv_func_logl_use=yes
38063 else
38064   glibcxx_cv_func_logl_use=no
38065 fi
38066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38067       ac_ext=c
38068 ac_cpp='$CPP $CPPFLAGS'
38069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38072
38073
38074 fi
38075
38076   fi
38077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38078 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38079
38080   if test x$glibcxx_cv_func_logl_use = x"yes"; then
38081     for ac_func in logl
38082 do :
38083   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38084 if test "x$ac_cv_func_logl" = x""yes; then :
38085   cat >>confdefs.h <<_ACEOF
38086 #define HAVE_LOGL 1
38087 _ACEOF
38088
38089 fi
38090 done
38091
38092   else
38093
38094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38095 $as_echo_n "checking for _logl declaration... " >&6; }
38096   if test x${glibcxx_cv_func__logl_use+set} != xset; then
38097     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38098   $as_echo_n "(cached) " >&6
38099 else
38100
38101
38102       ac_ext=cpp
38103 ac_cpp='$CXXCPP $CPPFLAGS'
38104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38107
38108       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38109 /* end confdefs.h.  */
38110 #include <math.h>
38111                       #ifdef HAVE_IEEEFP_H
38112                       #include <ieeefp.h>
38113                       #endif
38114
38115 int
38116 main ()
38117 {
38118  _logl(0);
38119   ;
38120   return 0;
38121 }
38122 _ACEOF
38123 if ac_fn_cxx_try_compile "$LINENO"; then :
38124   glibcxx_cv_func__logl_use=yes
38125 else
38126   glibcxx_cv_func__logl_use=no
38127 fi
38128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38129       ac_ext=c
38130 ac_cpp='$CPP $CPPFLAGS'
38131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38134
38135
38136 fi
38137
38138   fi
38139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38140 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38141
38142     if test x$glibcxx_cv_func__logl_use = x"yes"; then
38143       for ac_func in _logl
38144 do :
38145   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38146 if test "x$ac_cv_func__logl" = x""yes; then :
38147   cat >>confdefs.h <<_ACEOF
38148 #define HAVE__LOGL 1
38149 _ACEOF
38150
38151 fi
38152 done
38153
38154     fi
38155   fi
38156
38157
38158
38159
38160
38161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38162 $as_echo_n "checking for log10l declaration... " >&6; }
38163   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38164     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38165   $as_echo_n "(cached) " >&6
38166 else
38167
38168
38169       ac_ext=cpp
38170 ac_cpp='$CXXCPP $CPPFLAGS'
38171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38174
38175       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38176 /* end confdefs.h.  */
38177 #include <math.h>
38178                       #ifdef HAVE_IEEEFP_H
38179                       #include <ieeefp.h>
38180                       #endif
38181
38182 int
38183 main ()
38184 {
38185  log10l(0);
38186   ;
38187   return 0;
38188 }
38189 _ACEOF
38190 if ac_fn_cxx_try_compile "$LINENO"; then :
38191   glibcxx_cv_func_log10l_use=yes
38192 else
38193   glibcxx_cv_func_log10l_use=no
38194 fi
38195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38196       ac_ext=c
38197 ac_cpp='$CPP $CPPFLAGS'
38198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38201
38202
38203 fi
38204
38205   fi
38206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38207 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38208
38209   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38210     for ac_func in log10l
38211 do :
38212   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38213 if test "x$ac_cv_func_log10l" = x""yes; then :
38214   cat >>confdefs.h <<_ACEOF
38215 #define HAVE_LOG10L 1
38216 _ACEOF
38217
38218 fi
38219 done
38220
38221   else
38222
38223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38224 $as_echo_n "checking for _log10l declaration... " >&6; }
38225   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38226     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38227   $as_echo_n "(cached) " >&6
38228 else
38229
38230
38231       ac_ext=cpp
38232 ac_cpp='$CXXCPP $CPPFLAGS'
38233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38236
38237       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38238 /* end confdefs.h.  */
38239 #include <math.h>
38240                       #ifdef HAVE_IEEEFP_H
38241                       #include <ieeefp.h>
38242                       #endif
38243
38244 int
38245 main ()
38246 {
38247  _log10l(0);
38248   ;
38249   return 0;
38250 }
38251 _ACEOF
38252 if ac_fn_cxx_try_compile "$LINENO"; then :
38253   glibcxx_cv_func__log10l_use=yes
38254 else
38255   glibcxx_cv_func__log10l_use=no
38256 fi
38257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38258       ac_ext=c
38259 ac_cpp='$CPP $CPPFLAGS'
38260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38263
38264
38265 fi
38266
38267   fi
38268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38269 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38270
38271     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38272       for ac_func in _log10l
38273 do :
38274   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38275 if test "x$ac_cv_func__log10l" = x""yes; then :
38276   cat >>confdefs.h <<_ACEOF
38277 #define HAVE__LOG10L 1
38278 _ACEOF
38279
38280 fi
38281 done
38282
38283     fi
38284   fi
38285
38286
38287
38288
38289
38290   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38291 $as_echo_n "checking for modfl declaration... " >&6; }
38292   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38293     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38294   $as_echo_n "(cached) " >&6
38295 else
38296
38297
38298       ac_ext=cpp
38299 ac_cpp='$CXXCPP $CPPFLAGS'
38300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38303
38304       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38305 /* end confdefs.h.  */
38306 #include <math.h>
38307 int
38308 main ()
38309 {
38310  modfl(0, 0);
38311   ;
38312   return 0;
38313 }
38314 _ACEOF
38315 if ac_fn_cxx_try_compile "$LINENO"; then :
38316   glibcxx_cv_func_modfl_use=yes
38317 else
38318   glibcxx_cv_func_modfl_use=no
38319 fi
38320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38321       ac_ext=c
38322 ac_cpp='$CPP $CPPFLAGS'
38323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38326
38327
38328 fi
38329
38330   fi
38331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38332 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38333
38334   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38335     for ac_func in modfl
38336 do :
38337   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38338 if test "x$ac_cv_func_modfl" = x""yes; then :
38339   cat >>confdefs.h <<_ACEOF
38340 #define HAVE_MODFL 1
38341 _ACEOF
38342
38343 fi
38344 done
38345
38346   else
38347
38348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38349 $as_echo_n "checking for _modfl declaration... " >&6; }
38350   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38351     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38352   $as_echo_n "(cached) " >&6
38353 else
38354
38355
38356       ac_ext=cpp
38357 ac_cpp='$CXXCPP $CPPFLAGS'
38358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38361
38362       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38363 /* end confdefs.h.  */
38364 #include <math.h>
38365 int
38366 main ()
38367 {
38368  _modfl(0, 0);
38369   ;
38370   return 0;
38371 }
38372 _ACEOF
38373 if ac_fn_cxx_try_compile "$LINENO"; then :
38374   glibcxx_cv_func__modfl_use=yes
38375 else
38376   glibcxx_cv_func__modfl_use=no
38377 fi
38378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38379       ac_ext=c
38380 ac_cpp='$CPP $CPPFLAGS'
38381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38384
38385
38386 fi
38387
38388   fi
38389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38390 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38391
38392     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38393       for ac_func in _modfl
38394 do :
38395   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38396 if test "x$ac_cv_func__modfl" = x""yes; then :
38397   cat >>confdefs.h <<_ACEOF
38398 #define HAVE__MODFL 1
38399 _ACEOF
38400
38401 fi
38402 done
38403
38404     fi
38405   fi
38406
38407
38408
38409
38410
38411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38412 $as_echo_n "checking for powl declaration... " >&6; }
38413   if test x${glibcxx_cv_func_powl_use+set} != xset; then
38414     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38415   $as_echo_n "(cached) " >&6
38416 else
38417
38418
38419       ac_ext=cpp
38420 ac_cpp='$CXXCPP $CPPFLAGS'
38421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38424
38425       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38426 /* end confdefs.h.  */
38427 #include <math.h>
38428 int
38429 main ()
38430 {
38431  powl(0, 0);
38432   ;
38433   return 0;
38434 }
38435 _ACEOF
38436 if ac_fn_cxx_try_compile "$LINENO"; then :
38437   glibcxx_cv_func_powl_use=yes
38438 else
38439   glibcxx_cv_func_powl_use=no
38440 fi
38441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38442       ac_ext=c
38443 ac_cpp='$CPP $CPPFLAGS'
38444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38447
38448
38449 fi
38450
38451   fi
38452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38453 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38454
38455   if test x$glibcxx_cv_func_powl_use = x"yes"; then
38456     for ac_func in powl
38457 do :
38458   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38459 if test "x$ac_cv_func_powl" = x""yes; then :
38460   cat >>confdefs.h <<_ACEOF
38461 #define HAVE_POWL 1
38462 _ACEOF
38463
38464 fi
38465 done
38466
38467   else
38468
38469   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38470 $as_echo_n "checking for _powl declaration... " >&6; }
38471   if test x${glibcxx_cv_func__powl_use+set} != xset; then
38472     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38473   $as_echo_n "(cached) " >&6
38474 else
38475
38476
38477       ac_ext=cpp
38478 ac_cpp='$CXXCPP $CPPFLAGS'
38479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38482
38483       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38484 /* end confdefs.h.  */
38485 #include <math.h>
38486 int
38487 main ()
38488 {
38489  _powl(0, 0);
38490   ;
38491   return 0;
38492 }
38493 _ACEOF
38494 if ac_fn_cxx_try_compile "$LINENO"; then :
38495   glibcxx_cv_func__powl_use=yes
38496 else
38497   glibcxx_cv_func__powl_use=no
38498 fi
38499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38500       ac_ext=c
38501 ac_cpp='$CPP $CPPFLAGS'
38502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38505
38506
38507 fi
38508
38509   fi
38510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38511 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38512
38513     if test x$glibcxx_cv_func__powl_use = x"yes"; then
38514       for ac_func in _powl
38515 do :
38516   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38517 if test "x$ac_cv_func__powl" = x""yes; then :
38518   cat >>confdefs.h <<_ACEOF
38519 #define HAVE__POWL 1
38520 _ACEOF
38521
38522 fi
38523 done
38524
38525     fi
38526   fi
38527
38528
38529
38530
38531
38532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38533 $as_echo_n "checking for sqrtl declaration... " >&6; }
38534   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38535     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38536   $as_echo_n "(cached) " >&6
38537 else
38538
38539
38540       ac_ext=cpp
38541 ac_cpp='$CXXCPP $CPPFLAGS'
38542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38545
38546       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38547 /* end confdefs.h.  */
38548 #include <math.h>
38549                       #ifdef HAVE_IEEEFP_H
38550                       #include <ieeefp.h>
38551                       #endif
38552
38553 int
38554 main ()
38555 {
38556  sqrtl(0);
38557   ;
38558   return 0;
38559 }
38560 _ACEOF
38561 if ac_fn_cxx_try_compile "$LINENO"; then :
38562   glibcxx_cv_func_sqrtl_use=yes
38563 else
38564   glibcxx_cv_func_sqrtl_use=no
38565 fi
38566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38567       ac_ext=c
38568 ac_cpp='$CPP $CPPFLAGS'
38569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38572
38573
38574 fi
38575
38576   fi
38577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38578 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38579
38580   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38581     for ac_func in sqrtl
38582 do :
38583   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38584 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38585   cat >>confdefs.h <<_ACEOF
38586 #define HAVE_SQRTL 1
38587 _ACEOF
38588
38589 fi
38590 done
38591
38592   else
38593
38594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38595 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38596   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38597     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38598   $as_echo_n "(cached) " >&6
38599 else
38600
38601
38602       ac_ext=cpp
38603 ac_cpp='$CXXCPP $CPPFLAGS'
38604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38607
38608       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38609 /* end confdefs.h.  */
38610 #include <math.h>
38611                       #ifdef HAVE_IEEEFP_H
38612                       #include <ieeefp.h>
38613                       #endif
38614
38615 int
38616 main ()
38617 {
38618  _sqrtl(0);
38619   ;
38620   return 0;
38621 }
38622 _ACEOF
38623 if ac_fn_cxx_try_compile "$LINENO"; then :
38624   glibcxx_cv_func__sqrtl_use=yes
38625 else
38626   glibcxx_cv_func__sqrtl_use=no
38627 fi
38628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38629       ac_ext=c
38630 ac_cpp='$CPP $CPPFLAGS'
38631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38634
38635
38636 fi
38637
38638   fi
38639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38640 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38641
38642     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38643       for ac_func in _sqrtl
38644 do :
38645   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38646 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38647   cat >>confdefs.h <<_ACEOF
38648 #define HAVE__SQRTL 1
38649 _ACEOF
38650
38651 fi
38652 done
38653
38654     fi
38655   fi
38656
38657
38658
38659
38660
38661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38662 $as_echo_n "checking for sincosl declaration... " >&6; }
38663   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38664     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38665   $as_echo_n "(cached) " >&6
38666 else
38667
38668
38669       ac_ext=cpp
38670 ac_cpp='$CXXCPP $CPPFLAGS'
38671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38674
38675       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38676 /* end confdefs.h.  */
38677 #include <math.h>
38678 int
38679 main ()
38680 {
38681  sincosl(0, 0, 0);
38682   ;
38683   return 0;
38684 }
38685 _ACEOF
38686 if ac_fn_cxx_try_compile "$LINENO"; then :
38687   glibcxx_cv_func_sincosl_use=yes
38688 else
38689   glibcxx_cv_func_sincosl_use=no
38690 fi
38691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38692       ac_ext=c
38693 ac_cpp='$CPP $CPPFLAGS'
38694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38697
38698
38699 fi
38700
38701   fi
38702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38703 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38704
38705   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38706     for ac_func in sincosl
38707 do :
38708   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38709 if test "x$ac_cv_func_sincosl" = x""yes; then :
38710   cat >>confdefs.h <<_ACEOF
38711 #define HAVE_SINCOSL 1
38712 _ACEOF
38713
38714 fi
38715 done
38716
38717   else
38718
38719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38720 $as_echo_n "checking for _sincosl declaration... " >&6; }
38721   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38722     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38723   $as_echo_n "(cached) " >&6
38724 else
38725
38726
38727       ac_ext=cpp
38728 ac_cpp='$CXXCPP $CPPFLAGS'
38729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38732
38733       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38734 /* end confdefs.h.  */
38735 #include <math.h>
38736 int
38737 main ()
38738 {
38739  _sincosl(0, 0, 0);
38740   ;
38741   return 0;
38742 }
38743 _ACEOF
38744 if ac_fn_cxx_try_compile "$LINENO"; then :
38745   glibcxx_cv_func__sincosl_use=yes
38746 else
38747   glibcxx_cv_func__sincosl_use=no
38748 fi
38749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38750       ac_ext=c
38751 ac_cpp='$CPP $CPPFLAGS'
38752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38755
38756
38757 fi
38758
38759   fi
38760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38761 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38762
38763     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38764       for ac_func in _sincosl
38765 do :
38766   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38767 if test "x$ac_cv_func__sincosl" = x""yes; then :
38768   cat >>confdefs.h <<_ACEOF
38769 #define HAVE__SINCOSL 1
38770 _ACEOF
38771
38772 fi
38773 done
38774
38775     fi
38776   fi
38777
38778
38779
38780
38781
38782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38783 $as_echo_n "checking for finitel declaration... " >&6; }
38784   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38785     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38786   $as_echo_n "(cached) " >&6
38787 else
38788
38789
38790       ac_ext=cpp
38791 ac_cpp='$CXXCPP $CPPFLAGS'
38792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38795
38796       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38797 /* end confdefs.h.  */
38798 #include <math.h>
38799                       #ifdef HAVE_IEEEFP_H
38800                       #include <ieeefp.h>
38801                       #endif
38802
38803 int
38804 main ()
38805 {
38806  finitel(0);
38807   ;
38808   return 0;
38809 }
38810 _ACEOF
38811 if ac_fn_cxx_try_compile "$LINENO"; then :
38812   glibcxx_cv_func_finitel_use=yes
38813 else
38814   glibcxx_cv_func_finitel_use=no
38815 fi
38816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38817       ac_ext=c
38818 ac_cpp='$CPP $CPPFLAGS'
38819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38822
38823
38824 fi
38825
38826   fi
38827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38828 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38829
38830   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38831     for ac_func in finitel
38832 do :
38833   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38834 if test "x$ac_cv_func_finitel" = x""yes; then :
38835   cat >>confdefs.h <<_ACEOF
38836 #define HAVE_FINITEL 1
38837 _ACEOF
38838
38839 fi
38840 done
38841
38842   else
38843
38844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38845 $as_echo_n "checking for _finitel declaration... " >&6; }
38846   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38847     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38848   $as_echo_n "(cached) " >&6
38849 else
38850
38851
38852       ac_ext=cpp
38853 ac_cpp='$CXXCPP $CPPFLAGS'
38854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38857
38858       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38859 /* end confdefs.h.  */
38860 #include <math.h>
38861                       #ifdef HAVE_IEEEFP_H
38862                       #include <ieeefp.h>
38863                       #endif
38864
38865 int
38866 main ()
38867 {
38868  _finitel(0);
38869   ;
38870   return 0;
38871 }
38872 _ACEOF
38873 if ac_fn_cxx_try_compile "$LINENO"; then :
38874   glibcxx_cv_func__finitel_use=yes
38875 else
38876   glibcxx_cv_func__finitel_use=no
38877 fi
38878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38879       ac_ext=c
38880 ac_cpp='$CPP $CPPFLAGS'
38881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38884
38885
38886 fi
38887
38888   fi
38889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38890 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38891
38892     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38893       for ac_func in _finitel
38894 do :
38895   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38896 if test "x$ac_cv_func__finitel" = x""yes; then :
38897   cat >>confdefs.h <<_ACEOF
38898 #define HAVE__FINITEL 1
38899 _ACEOF
38900
38901 fi
38902 done
38903
38904     fi
38905   fi
38906
38907
38908
38909
38910   LIBS="$ac_save_LIBS"
38911   CXXFLAGS="$ac_save_CXXFLAGS"
38912
38913
38914   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38915   ac_save_CXXFLAGS="$CXXFLAGS"
38916   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38917
38918
38919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38920 $as_echo_n "checking for strtold declaration... " >&6; }
38921   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38922     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38923   $as_echo_n "(cached) " >&6
38924 else
38925
38926
38927       ac_ext=cpp
38928 ac_cpp='$CXXCPP $CPPFLAGS'
38929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38932
38933       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38934 /* end confdefs.h.  */
38935 #include <stdlib.h>
38936 int
38937 main ()
38938 {
38939  strtold(0, 0);
38940   ;
38941   return 0;
38942 }
38943 _ACEOF
38944 if ac_fn_cxx_try_compile "$LINENO"; then :
38945   glibcxx_cv_func_strtold_use=yes
38946 else
38947   glibcxx_cv_func_strtold_use=no
38948 fi
38949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38950       ac_ext=c
38951 ac_cpp='$CPP $CPPFLAGS'
38952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38955
38956
38957 fi
38958
38959   fi
38960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38961 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38962   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38963     for ac_func in strtold
38964 do :
38965   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38966 if test "x$ac_cv_func_strtold" = x""yes; then :
38967   cat >>confdefs.h <<_ACEOF
38968 #define HAVE_STRTOLD 1
38969 _ACEOF
38970
38971 fi
38972 done
38973
38974   fi
38975
38976
38977
38978
38979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38980 $as_echo_n "checking for strtof declaration... " >&6; }
38981   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38982     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38983   $as_echo_n "(cached) " >&6
38984 else
38985
38986
38987       ac_ext=cpp
38988 ac_cpp='$CXXCPP $CPPFLAGS'
38989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38992
38993       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38994 /* end confdefs.h.  */
38995 #include <stdlib.h>
38996 int
38997 main ()
38998 {
38999  strtof(0, 0);
39000   ;
39001   return 0;
39002 }
39003 _ACEOF
39004 if ac_fn_cxx_try_compile "$LINENO"; then :
39005   glibcxx_cv_func_strtof_use=yes
39006 else
39007   glibcxx_cv_func_strtof_use=no
39008 fi
39009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39010       ac_ext=c
39011 ac_cpp='$CPP $CPPFLAGS'
39012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39015
39016
39017 fi
39018
39019   fi
39020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39021 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39022   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39023     for ac_func in strtof
39024 do :
39025   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39026 if test "x$ac_cv_func_strtof" = x""yes; then :
39027   cat >>confdefs.h <<_ACEOF
39028 #define HAVE_STRTOF 1
39029 _ACEOF
39030
39031 fi
39032 done
39033
39034   fi
39035
39036
39037
39038
39039   CXXFLAGS="$ac_save_CXXFLAGS"
39040
39041     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39042
39043     # We don't yet support AIX's TLS ABI.
39044     #GCC_CHECK_TLS
39045
39046
39047
39048
39049
39050           am_save_CPPFLAGS="$CPPFLAGS"
39051
39052   for element in $INCICONV; do
39053     haveit=
39054     for x in $CPPFLAGS; do
39055
39056   acl_save_prefix="$prefix"
39057   prefix="$acl_final_prefix"
39058   acl_save_exec_prefix="$exec_prefix"
39059   exec_prefix="$acl_final_exec_prefix"
39060   eval x=\"$x\"
39061   exec_prefix="$acl_save_exec_prefix"
39062   prefix="$acl_save_prefix"
39063
39064       if test "X$x" = "X$element"; then
39065         haveit=yes
39066         break
39067       fi
39068     done
39069     if test -z "$haveit"; then
39070       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39071     fi
39072   done
39073
39074
39075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39076 $as_echo_n "checking for iconv... " >&6; }
39077 if test "${am_cv_func_iconv+set}" = set; then :
39078   $as_echo_n "(cached) " >&6
39079 else
39080
39081     am_cv_func_iconv="no, consider installing GNU libiconv"
39082     am_cv_lib_iconv=no
39083     if test x$gcc_no_link = xyes; then
39084   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39085 fi
39086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39087 /* end confdefs.h.  */
39088 #include <stdlib.h>
39089 #include <iconv.h>
39090 int
39091 main ()
39092 {
39093 iconv_t cd = iconv_open("","");
39094        iconv(cd,NULL,NULL,NULL,NULL);
39095        iconv_close(cd);
39096   ;
39097   return 0;
39098 }
39099 _ACEOF
39100 if ac_fn_c_try_link "$LINENO"; then :
39101   am_cv_func_iconv=yes
39102 fi
39103 rm -f core conftest.err conftest.$ac_objext \
39104     conftest$ac_exeext conftest.$ac_ext
39105     if test "$am_cv_func_iconv" != yes; then
39106       am_save_LIBS="$LIBS"
39107       LIBS="$LIBS $LIBICONV"
39108       if test x$gcc_no_link = xyes; then
39109   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39110 fi
39111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39112 /* end confdefs.h.  */
39113 #include <stdlib.h>
39114 #include <iconv.h>
39115 int
39116 main ()
39117 {
39118 iconv_t cd = iconv_open("","");
39119          iconv(cd,NULL,NULL,NULL,NULL);
39120          iconv_close(cd);
39121   ;
39122   return 0;
39123 }
39124 _ACEOF
39125 if ac_fn_c_try_link "$LINENO"; then :
39126   am_cv_lib_iconv=yes
39127         am_cv_func_iconv=yes
39128 fi
39129 rm -f core conftest.err conftest.$ac_objext \
39130     conftest$ac_exeext conftest.$ac_ext
39131       LIBS="$am_save_LIBS"
39132     fi
39133
39134 fi
39135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39136 $as_echo "$am_cv_func_iconv" >&6; }
39137   if test "$am_cv_func_iconv" = yes; then
39138
39139 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39140
39141   fi
39142   if test "$am_cv_lib_iconv" = yes; then
39143     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39144 $as_echo_n "checking how to link with libiconv... " >&6; }
39145     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39146 $as_echo "$LIBICONV" >&6; }
39147   else
39148             CPPFLAGS="$am_save_CPPFLAGS"
39149     LIBICONV=
39150     LTLIBICONV=
39151   fi
39152
39153
39154
39155   if test "$am_cv_func_iconv" = yes; then
39156     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39157 $as_echo_n "checking for iconv declaration... " >&6; }
39158     if test "${am_cv_proto_iconv+set}" = set; then :
39159   $as_echo_n "(cached) " >&6
39160 else
39161
39162       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39163 /* end confdefs.h.  */
39164
39165 #include <stdlib.h>
39166 #include <iconv.h>
39167 extern
39168 #ifdef __cplusplus
39169 "C"
39170 #endif
39171 #if defined(__STDC__) || defined(__cplusplus)
39172 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39173 #else
39174 size_t iconv();
39175 #endif
39176
39177 int
39178 main ()
39179 {
39180
39181   ;
39182   return 0;
39183 }
39184 _ACEOF
39185 if ac_fn_c_try_compile "$LINENO"; then :
39186   am_cv_proto_iconv_arg1=""
39187 else
39188   am_cv_proto_iconv_arg1="const"
39189 fi
39190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39191       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);"
39192 fi
39193
39194     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39195     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39196          }$am_cv_proto_iconv" >&5
39197 $as_echo "${ac_t:-
39198          }$am_cv_proto_iconv" >&6; }
39199
39200 cat >>confdefs.h <<_ACEOF
39201 #define ICONV_CONST $am_cv_proto_iconv_arg1
39202 _ACEOF
39203
39204   fi
39205
39206     ;;
39207
39208   *-darwin*)
39209     # Darwin versions vary, but the linker should work in a cross environment,
39210     # so we just check for all the features here.
39211     # Check for available headers.
39212
39213     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39214
39215   ac_test_CXXFLAGS="${CXXFLAGS+set}"
39216   ac_save_CXXFLAGS="$CXXFLAGS"
39217   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39218
39219     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39220 $as_echo_n "checking for sin in -lm... " >&6; }
39221 if test "${ac_cv_lib_m_sin+set}" = set; then :
39222   $as_echo_n "(cached) " >&6
39223 else
39224   ac_check_lib_save_LIBS=$LIBS
39225 LIBS="-lm  $LIBS"
39226 if test x$gcc_no_link = xyes; then
39227   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39228 fi
39229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39230 /* end confdefs.h.  */
39231
39232 /* Override any GCC internal prototype to avoid an error.
39233    Use char because int might match the return type of a GCC
39234    builtin and then its argument prototype would still apply.  */
39235 #ifdef __cplusplus
39236 extern "C"
39237 #endif
39238 char sin ();
39239 int
39240 main ()
39241 {
39242 return sin ();
39243   ;
39244   return 0;
39245 }
39246 _ACEOF
39247 if ac_fn_c_try_link "$LINENO"; then :
39248   ac_cv_lib_m_sin=yes
39249 else
39250   ac_cv_lib_m_sin=no
39251 fi
39252 rm -f core conftest.err conftest.$ac_objext \
39253     conftest$ac_exeext conftest.$ac_ext
39254 LIBS=$ac_check_lib_save_LIBS
39255 fi
39256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39257 $as_echo "$ac_cv_lib_m_sin" >&6; }
39258 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39259   libm="-lm"
39260 fi
39261
39262   ac_save_LIBS="$LIBS"
39263   LIBS="$LIBS $libm"
39264
39265
39266
39267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39268 $as_echo_n "checking for isinf declaration... " >&6; }
39269   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39270     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39271   $as_echo_n "(cached) " >&6
39272 else
39273
39274
39275       ac_ext=cpp
39276 ac_cpp='$CXXCPP $CPPFLAGS'
39277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39280
39281       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39282 /* end confdefs.h.  */
39283 #include <math.h>
39284                       #ifdef HAVE_IEEEFP_H
39285                       #include <ieeefp.h>
39286                       #endif
39287
39288 int
39289 main ()
39290 {
39291  isinf(0);
39292   ;
39293   return 0;
39294 }
39295 _ACEOF
39296 if ac_fn_cxx_try_compile "$LINENO"; then :
39297   glibcxx_cv_func_isinf_use=yes
39298 else
39299   glibcxx_cv_func_isinf_use=no
39300 fi
39301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39302       ac_ext=c
39303 ac_cpp='$CPP $CPPFLAGS'
39304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39307
39308
39309 fi
39310
39311   fi
39312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39313 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39314
39315   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39316     for ac_func in isinf
39317 do :
39318   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39319 if test "x$ac_cv_func_isinf" = x""yes; then :
39320   cat >>confdefs.h <<_ACEOF
39321 #define HAVE_ISINF 1
39322 _ACEOF
39323
39324 fi
39325 done
39326
39327   else
39328
39329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39330 $as_echo_n "checking for _isinf declaration... " >&6; }
39331   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39332     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39333   $as_echo_n "(cached) " >&6
39334 else
39335
39336
39337       ac_ext=cpp
39338 ac_cpp='$CXXCPP $CPPFLAGS'
39339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39342
39343       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39344 /* end confdefs.h.  */
39345 #include <math.h>
39346                       #ifdef HAVE_IEEEFP_H
39347                       #include <ieeefp.h>
39348                       #endif
39349
39350 int
39351 main ()
39352 {
39353  _isinf(0);
39354   ;
39355   return 0;
39356 }
39357 _ACEOF
39358 if ac_fn_cxx_try_compile "$LINENO"; then :
39359   glibcxx_cv_func__isinf_use=yes
39360 else
39361   glibcxx_cv_func__isinf_use=no
39362 fi
39363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39364       ac_ext=c
39365 ac_cpp='$CPP $CPPFLAGS'
39366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39369
39370
39371 fi
39372
39373   fi
39374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39375 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39376
39377     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39378       for ac_func in _isinf
39379 do :
39380   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39381 if test "x$ac_cv_func__isinf" = x""yes; then :
39382   cat >>confdefs.h <<_ACEOF
39383 #define HAVE__ISINF 1
39384 _ACEOF
39385
39386 fi
39387 done
39388
39389     fi
39390   fi
39391
39392
39393
39394
39395
39396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39397 $as_echo_n "checking for isnan declaration... " >&6; }
39398   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39399     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39400   $as_echo_n "(cached) " >&6
39401 else
39402
39403
39404       ac_ext=cpp
39405 ac_cpp='$CXXCPP $CPPFLAGS'
39406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39409
39410       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39411 /* end confdefs.h.  */
39412 #include <math.h>
39413                       #ifdef HAVE_IEEEFP_H
39414                       #include <ieeefp.h>
39415                       #endif
39416
39417 int
39418 main ()
39419 {
39420  isnan(0);
39421   ;
39422   return 0;
39423 }
39424 _ACEOF
39425 if ac_fn_cxx_try_compile "$LINENO"; then :
39426   glibcxx_cv_func_isnan_use=yes
39427 else
39428   glibcxx_cv_func_isnan_use=no
39429 fi
39430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39431       ac_ext=c
39432 ac_cpp='$CPP $CPPFLAGS'
39433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39436
39437
39438 fi
39439
39440   fi
39441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39442 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39443
39444   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39445     for ac_func in isnan
39446 do :
39447   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39448 if test "x$ac_cv_func_isnan" = x""yes; then :
39449   cat >>confdefs.h <<_ACEOF
39450 #define HAVE_ISNAN 1
39451 _ACEOF
39452
39453 fi
39454 done
39455
39456   else
39457
39458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39459 $as_echo_n "checking for _isnan declaration... " >&6; }
39460   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39461     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39462   $as_echo_n "(cached) " >&6
39463 else
39464
39465
39466       ac_ext=cpp
39467 ac_cpp='$CXXCPP $CPPFLAGS'
39468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39471
39472       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39473 /* end confdefs.h.  */
39474 #include <math.h>
39475                       #ifdef HAVE_IEEEFP_H
39476                       #include <ieeefp.h>
39477                       #endif
39478
39479 int
39480 main ()
39481 {
39482  _isnan(0);
39483   ;
39484   return 0;
39485 }
39486 _ACEOF
39487 if ac_fn_cxx_try_compile "$LINENO"; then :
39488   glibcxx_cv_func__isnan_use=yes
39489 else
39490   glibcxx_cv_func__isnan_use=no
39491 fi
39492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39493       ac_ext=c
39494 ac_cpp='$CPP $CPPFLAGS'
39495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39498
39499
39500 fi
39501
39502   fi
39503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39504 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39505
39506     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39507       for ac_func in _isnan
39508 do :
39509   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39510 if test "x$ac_cv_func__isnan" = x""yes; then :
39511   cat >>confdefs.h <<_ACEOF
39512 #define HAVE__ISNAN 1
39513 _ACEOF
39514
39515 fi
39516 done
39517
39518     fi
39519   fi
39520
39521
39522
39523
39524
39525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39526 $as_echo_n "checking for finite declaration... " >&6; }
39527   if test x${glibcxx_cv_func_finite_use+set} != xset; then
39528     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39529   $as_echo_n "(cached) " >&6
39530 else
39531
39532
39533       ac_ext=cpp
39534 ac_cpp='$CXXCPP $CPPFLAGS'
39535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39538
39539       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39540 /* end confdefs.h.  */
39541 #include <math.h>
39542                       #ifdef HAVE_IEEEFP_H
39543                       #include <ieeefp.h>
39544                       #endif
39545
39546 int
39547 main ()
39548 {
39549  finite(0);
39550   ;
39551   return 0;
39552 }
39553 _ACEOF
39554 if ac_fn_cxx_try_compile "$LINENO"; then :
39555   glibcxx_cv_func_finite_use=yes
39556 else
39557   glibcxx_cv_func_finite_use=no
39558 fi
39559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39560       ac_ext=c
39561 ac_cpp='$CPP $CPPFLAGS'
39562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39565
39566
39567 fi
39568
39569   fi
39570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39571 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39572
39573   if test x$glibcxx_cv_func_finite_use = x"yes"; then
39574     for ac_func in finite
39575 do :
39576   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39577 if test "x$ac_cv_func_finite" = x""yes; then :
39578   cat >>confdefs.h <<_ACEOF
39579 #define HAVE_FINITE 1
39580 _ACEOF
39581
39582 fi
39583 done
39584
39585   else
39586
39587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39588 $as_echo_n "checking for _finite declaration... " >&6; }
39589   if test x${glibcxx_cv_func__finite_use+set} != xset; then
39590     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39591   $as_echo_n "(cached) " >&6
39592 else
39593
39594
39595       ac_ext=cpp
39596 ac_cpp='$CXXCPP $CPPFLAGS'
39597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39600
39601       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39602 /* end confdefs.h.  */
39603 #include <math.h>
39604                       #ifdef HAVE_IEEEFP_H
39605                       #include <ieeefp.h>
39606                       #endif
39607
39608 int
39609 main ()
39610 {
39611  _finite(0);
39612   ;
39613   return 0;
39614 }
39615 _ACEOF
39616 if ac_fn_cxx_try_compile "$LINENO"; then :
39617   glibcxx_cv_func__finite_use=yes
39618 else
39619   glibcxx_cv_func__finite_use=no
39620 fi
39621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39622       ac_ext=c
39623 ac_cpp='$CPP $CPPFLAGS'
39624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39627
39628
39629 fi
39630
39631   fi
39632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39633 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39634
39635     if test x$glibcxx_cv_func__finite_use = x"yes"; then
39636       for ac_func in _finite
39637 do :
39638   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39639 if test "x$ac_cv_func__finite" = x""yes; then :
39640   cat >>confdefs.h <<_ACEOF
39641 #define HAVE__FINITE 1
39642 _ACEOF
39643
39644 fi
39645 done
39646
39647     fi
39648   fi
39649
39650
39651
39652
39653
39654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39655 $as_echo_n "checking for sincos declaration... " >&6; }
39656   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39657     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39658   $as_echo_n "(cached) " >&6
39659 else
39660
39661
39662       ac_ext=cpp
39663 ac_cpp='$CXXCPP $CPPFLAGS'
39664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39667
39668       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39669 /* end confdefs.h.  */
39670 #include <math.h>
39671 int
39672 main ()
39673 {
39674  sincos(0, 0, 0);
39675   ;
39676   return 0;
39677 }
39678 _ACEOF
39679 if ac_fn_cxx_try_compile "$LINENO"; then :
39680   glibcxx_cv_func_sincos_use=yes
39681 else
39682   glibcxx_cv_func_sincos_use=no
39683 fi
39684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39685       ac_ext=c
39686 ac_cpp='$CPP $CPPFLAGS'
39687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39690
39691
39692 fi
39693
39694   fi
39695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39696 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39697
39698   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39699     for ac_func in sincos
39700 do :
39701   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39702 if test "x$ac_cv_func_sincos" = x""yes; then :
39703   cat >>confdefs.h <<_ACEOF
39704 #define HAVE_SINCOS 1
39705 _ACEOF
39706
39707 fi
39708 done
39709
39710   else
39711
39712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39713 $as_echo_n "checking for _sincos declaration... " >&6; }
39714   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39715     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39716   $as_echo_n "(cached) " >&6
39717 else
39718
39719
39720       ac_ext=cpp
39721 ac_cpp='$CXXCPP $CPPFLAGS'
39722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39725
39726       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39727 /* end confdefs.h.  */
39728 #include <math.h>
39729 int
39730 main ()
39731 {
39732  _sincos(0, 0, 0);
39733   ;
39734   return 0;
39735 }
39736 _ACEOF
39737 if ac_fn_cxx_try_compile "$LINENO"; then :
39738   glibcxx_cv_func__sincos_use=yes
39739 else
39740   glibcxx_cv_func__sincos_use=no
39741 fi
39742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39743       ac_ext=c
39744 ac_cpp='$CPP $CPPFLAGS'
39745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39748
39749
39750 fi
39751
39752   fi
39753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39754 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39755
39756     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39757       for ac_func in _sincos
39758 do :
39759   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39760 if test "x$ac_cv_func__sincos" = x""yes; then :
39761   cat >>confdefs.h <<_ACEOF
39762 #define HAVE__SINCOS 1
39763 _ACEOF
39764
39765 fi
39766 done
39767
39768     fi
39769   fi
39770
39771
39772
39773
39774
39775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39776 $as_echo_n "checking for fpclass declaration... " >&6; }
39777   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39778     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39779   $as_echo_n "(cached) " >&6
39780 else
39781
39782
39783       ac_ext=cpp
39784 ac_cpp='$CXXCPP $CPPFLAGS'
39785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39788
39789       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39790 /* end confdefs.h.  */
39791 #include <math.h>
39792                       #ifdef HAVE_IEEEFP_H
39793                       #include <ieeefp.h>
39794                       #endif
39795
39796 int
39797 main ()
39798 {
39799  fpclass(0);
39800   ;
39801   return 0;
39802 }
39803 _ACEOF
39804 if ac_fn_cxx_try_compile "$LINENO"; then :
39805   glibcxx_cv_func_fpclass_use=yes
39806 else
39807   glibcxx_cv_func_fpclass_use=no
39808 fi
39809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39810       ac_ext=c
39811 ac_cpp='$CPP $CPPFLAGS'
39812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39815
39816
39817 fi
39818
39819   fi
39820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39821 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39822
39823   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39824     for ac_func in fpclass
39825 do :
39826   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39827 if test "x$ac_cv_func_fpclass" = x""yes; then :
39828   cat >>confdefs.h <<_ACEOF
39829 #define HAVE_FPCLASS 1
39830 _ACEOF
39831
39832 fi
39833 done
39834
39835   else
39836
39837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39838 $as_echo_n "checking for _fpclass declaration... " >&6; }
39839   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39840     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39841   $as_echo_n "(cached) " >&6
39842 else
39843
39844
39845       ac_ext=cpp
39846 ac_cpp='$CXXCPP $CPPFLAGS'
39847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39850
39851       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39852 /* end confdefs.h.  */
39853 #include <math.h>
39854                       #ifdef HAVE_IEEEFP_H
39855                       #include <ieeefp.h>
39856                       #endif
39857
39858 int
39859 main ()
39860 {
39861  _fpclass(0);
39862   ;
39863   return 0;
39864 }
39865 _ACEOF
39866 if ac_fn_cxx_try_compile "$LINENO"; then :
39867   glibcxx_cv_func__fpclass_use=yes
39868 else
39869   glibcxx_cv_func__fpclass_use=no
39870 fi
39871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39872       ac_ext=c
39873 ac_cpp='$CPP $CPPFLAGS'
39874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39877
39878
39879 fi
39880
39881   fi
39882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39883 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39884
39885     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39886       for ac_func in _fpclass
39887 do :
39888   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39889 if test "x$ac_cv_func__fpclass" = x""yes; then :
39890   cat >>confdefs.h <<_ACEOF
39891 #define HAVE__FPCLASS 1
39892 _ACEOF
39893
39894 fi
39895 done
39896
39897     fi
39898   fi
39899
39900
39901
39902
39903
39904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39905 $as_echo_n "checking for qfpclass declaration... " >&6; }
39906   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39907     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39908   $as_echo_n "(cached) " >&6
39909 else
39910
39911
39912       ac_ext=cpp
39913 ac_cpp='$CXXCPP $CPPFLAGS'
39914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39917
39918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39919 /* end confdefs.h.  */
39920 #include <math.h>
39921                       #ifdef HAVE_IEEEFP_H
39922                       #include <ieeefp.h>
39923                       #endif
39924
39925 int
39926 main ()
39927 {
39928  qfpclass(0);
39929   ;
39930   return 0;
39931 }
39932 _ACEOF
39933 if ac_fn_cxx_try_compile "$LINENO"; then :
39934   glibcxx_cv_func_qfpclass_use=yes
39935 else
39936   glibcxx_cv_func_qfpclass_use=no
39937 fi
39938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39939       ac_ext=c
39940 ac_cpp='$CPP $CPPFLAGS'
39941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39944
39945
39946 fi
39947
39948   fi
39949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39950 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39951
39952   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39953     for ac_func in qfpclass
39954 do :
39955   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39956 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39957   cat >>confdefs.h <<_ACEOF
39958 #define HAVE_QFPCLASS 1
39959 _ACEOF
39960
39961 fi
39962 done
39963
39964   else
39965
39966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39967 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39968   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39969     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39970   $as_echo_n "(cached) " >&6
39971 else
39972
39973
39974       ac_ext=cpp
39975 ac_cpp='$CXXCPP $CPPFLAGS'
39976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39979
39980       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39981 /* end confdefs.h.  */
39982 #include <math.h>
39983                       #ifdef HAVE_IEEEFP_H
39984                       #include <ieeefp.h>
39985                       #endif
39986
39987 int
39988 main ()
39989 {
39990  _qfpclass(0);
39991   ;
39992   return 0;
39993 }
39994 _ACEOF
39995 if ac_fn_cxx_try_compile "$LINENO"; then :
39996   glibcxx_cv_func__qfpclass_use=yes
39997 else
39998   glibcxx_cv_func__qfpclass_use=no
39999 fi
40000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40001       ac_ext=c
40002 ac_cpp='$CPP $CPPFLAGS'
40003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40006
40007
40008 fi
40009
40010   fi
40011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40012 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40013
40014     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40015       for ac_func in _qfpclass
40016 do :
40017   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40018 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40019   cat >>confdefs.h <<_ACEOF
40020 #define HAVE__QFPCLASS 1
40021 _ACEOF
40022
40023 fi
40024 done
40025
40026     fi
40027   fi
40028
40029
40030
40031
40032
40033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40034 $as_echo_n "checking for hypot declaration... " >&6; }
40035   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40036     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40037   $as_echo_n "(cached) " >&6
40038 else
40039
40040
40041       ac_ext=cpp
40042 ac_cpp='$CXXCPP $CPPFLAGS'
40043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40046
40047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40048 /* end confdefs.h.  */
40049 #include <math.h>
40050 int
40051 main ()
40052 {
40053  hypot(0, 0);
40054   ;
40055   return 0;
40056 }
40057 _ACEOF
40058 if ac_fn_cxx_try_compile "$LINENO"; then :
40059   glibcxx_cv_func_hypot_use=yes
40060 else
40061   glibcxx_cv_func_hypot_use=no
40062 fi
40063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40064       ac_ext=c
40065 ac_cpp='$CPP $CPPFLAGS'
40066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40069
40070
40071 fi
40072
40073   fi
40074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40075 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40076
40077   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40078     for ac_func in hypot
40079 do :
40080   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40081 if test "x$ac_cv_func_hypot" = x""yes; then :
40082   cat >>confdefs.h <<_ACEOF
40083 #define HAVE_HYPOT 1
40084 _ACEOF
40085
40086 fi
40087 done
40088
40089   else
40090
40091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40092 $as_echo_n "checking for _hypot declaration... " >&6; }
40093   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40094     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40095   $as_echo_n "(cached) " >&6
40096 else
40097
40098
40099       ac_ext=cpp
40100 ac_cpp='$CXXCPP $CPPFLAGS'
40101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40104
40105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40106 /* end confdefs.h.  */
40107 #include <math.h>
40108 int
40109 main ()
40110 {
40111  _hypot(0, 0);
40112   ;
40113   return 0;
40114 }
40115 _ACEOF
40116 if ac_fn_cxx_try_compile "$LINENO"; then :
40117   glibcxx_cv_func__hypot_use=yes
40118 else
40119   glibcxx_cv_func__hypot_use=no
40120 fi
40121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40122       ac_ext=c
40123 ac_cpp='$CPP $CPPFLAGS'
40124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40127
40128
40129 fi
40130
40131   fi
40132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40133 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40134
40135     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40136       for ac_func in _hypot
40137 do :
40138   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40139 if test "x$ac_cv_func__hypot" = x""yes; then :
40140   cat >>confdefs.h <<_ACEOF
40141 #define HAVE__HYPOT 1
40142 _ACEOF
40143
40144 fi
40145 done
40146
40147     fi
40148   fi
40149
40150
40151
40152
40153
40154     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40155 $as_echo_n "checking for float trig functions... " >&6; }
40156   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40157   $as_echo_n "(cached) " >&6
40158 else
40159
40160
40161     ac_ext=cpp
40162 ac_cpp='$CXXCPP $CPPFLAGS'
40163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40166
40167     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40168 /* end confdefs.h.  */
40169 #include <math.h>
40170 int
40171 main ()
40172 {
40173 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40174   ;
40175   return 0;
40176 }
40177 _ACEOF
40178 if ac_fn_cxx_try_compile "$LINENO"; then :
40179   glibcxx_cv_func_float_trig_use=yes
40180 else
40181   glibcxx_cv_func_float_trig_use=no
40182 fi
40183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40184     ac_ext=c
40185 ac_cpp='$CPP $CPPFLAGS'
40186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40189
40190 fi
40191
40192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40193 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40194   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40195     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40196 do :
40197   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40198 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40199 eval as_val=\$$as_ac_var
40200    if test "x$as_val" = x""yes; then :
40201   cat >>confdefs.h <<_ACEOF
40202 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40203 _ACEOF
40204
40205 fi
40206 done
40207
40208   else
40209     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40210 $as_echo_n "checking for _float trig functions... " >&6; }
40211     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40212   $as_echo_n "(cached) " >&6
40213 else
40214
40215
40216       ac_ext=cpp
40217 ac_cpp='$CXXCPP $CPPFLAGS'
40218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40221
40222       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40223 /* end confdefs.h.  */
40224 #include <math.h>
40225 int
40226 main ()
40227 {
40228 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40229   ;
40230   return 0;
40231 }
40232 _ACEOF
40233 if ac_fn_cxx_try_compile "$LINENO"; then :
40234   glibcxx_cv_func__float_trig_use=yes
40235 else
40236   glibcxx_cv_func__float_trig_use=no
40237 fi
40238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40239       ac_ext=c
40240 ac_cpp='$CPP $CPPFLAGS'
40241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40244
40245 fi
40246
40247     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40248 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40249     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40250       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40251 do :
40252   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40253 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40254 eval as_val=\$$as_ac_var
40255    if test "x$as_val" = x""yes; then :
40256   cat >>confdefs.h <<_ACEOF
40257 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40258 _ACEOF
40259
40260 fi
40261 done
40262
40263     fi
40264   fi
40265
40266
40267
40268
40269
40270     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40271 $as_echo_n "checking for float round functions... " >&6; }
40272   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40273   $as_echo_n "(cached) " >&6
40274 else
40275
40276
40277     ac_ext=cpp
40278 ac_cpp='$CXXCPP $CPPFLAGS'
40279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40282
40283     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40284 /* end confdefs.h.  */
40285 #include <math.h>
40286 int
40287 main ()
40288 {
40289 ceilf (0); floorf (0);
40290   ;
40291   return 0;
40292 }
40293 _ACEOF
40294 if ac_fn_cxx_try_compile "$LINENO"; then :
40295   glibcxx_cv_func_float_round_use=yes
40296 else
40297   glibcxx_cv_func_float_round_use=no
40298 fi
40299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40300     ac_ext=c
40301 ac_cpp='$CPP $CPPFLAGS'
40302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40305
40306 fi
40307
40308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40309 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40310   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40311     for ac_func in ceilf floorf
40312 do :
40313   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40314 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40315 eval as_val=\$$as_ac_var
40316    if test "x$as_val" = x""yes; then :
40317   cat >>confdefs.h <<_ACEOF
40318 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40319 _ACEOF
40320
40321 fi
40322 done
40323
40324   else
40325     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40326 $as_echo_n "checking for _float round functions... " >&6; }
40327     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40328   $as_echo_n "(cached) " >&6
40329 else
40330
40331
40332       ac_ext=cpp
40333 ac_cpp='$CXXCPP $CPPFLAGS'
40334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40337
40338       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40339 /* end confdefs.h.  */
40340 #include <math.h>
40341 int
40342 main ()
40343 {
40344 _ceilf (0); _floorf (0);
40345   ;
40346   return 0;
40347 }
40348 _ACEOF
40349 if ac_fn_cxx_try_compile "$LINENO"; then :
40350   glibcxx_cv_func__float_round_use=yes
40351 else
40352   glibcxx_cv_func__float_round_use=no
40353 fi
40354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40355       ac_ext=c
40356 ac_cpp='$CPP $CPPFLAGS'
40357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40360
40361 fi
40362
40363     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40364 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40365     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40366       for ac_func in _ceilf _floorf
40367 do :
40368   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40369 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40370 eval as_val=\$$as_ac_var
40371    if test "x$as_val" = x""yes; then :
40372   cat >>confdefs.h <<_ACEOF
40373 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40374 _ACEOF
40375
40376 fi
40377 done
40378
40379     fi
40380   fi
40381
40382
40383
40384
40385
40386
40387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40388 $as_echo_n "checking for expf declaration... " >&6; }
40389   if test x${glibcxx_cv_func_expf_use+set} != xset; then
40390     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40391   $as_echo_n "(cached) " >&6
40392 else
40393
40394
40395       ac_ext=cpp
40396 ac_cpp='$CXXCPP $CPPFLAGS'
40397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40400
40401       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40402 /* end confdefs.h.  */
40403 #include <math.h>
40404                       #ifdef HAVE_IEEEFP_H
40405                       #include <ieeefp.h>
40406                       #endif
40407
40408 int
40409 main ()
40410 {
40411  expf(0);
40412   ;
40413   return 0;
40414 }
40415 _ACEOF
40416 if ac_fn_cxx_try_compile "$LINENO"; then :
40417   glibcxx_cv_func_expf_use=yes
40418 else
40419   glibcxx_cv_func_expf_use=no
40420 fi
40421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40422       ac_ext=c
40423 ac_cpp='$CPP $CPPFLAGS'
40424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40427
40428
40429 fi
40430
40431   fi
40432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40433 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40434
40435   if test x$glibcxx_cv_func_expf_use = x"yes"; then
40436     for ac_func in expf
40437 do :
40438   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40439 if test "x$ac_cv_func_expf" = x""yes; then :
40440   cat >>confdefs.h <<_ACEOF
40441 #define HAVE_EXPF 1
40442 _ACEOF
40443
40444 fi
40445 done
40446
40447   else
40448
40449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40450 $as_echo_n "checking for _expf declaration... " >&6; }
40451   if test x${glibcxx_cv_func__expf_use+set} != xset; then
40452     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40453   $as_echo_n "(cached) " >&6
40454 else
40455
40456
40457       ac_ext=cpp
40458 ac_cpp='$CXXCPP $CPPFLAGS'
40459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40462
40463       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40464 /* end confdefs.h.  */
40465 #include <math.h>
40466                       #ifdef HAVE_IEEEFP_H
40467                       #include <ieeefp.h>
40468                       #endif
40469
40470 int
40471 main ()
40472 {
40473  _expf(0);
40474   ;
40475   return 0;
40476 }
40477 _ACEOF
40478 if ac_fn_cxx_try_compile "$LINENO"; then :
40479   glibcxx_cv_func__expf_use=yes
40480 else
40481   glibcxx_cv_func__expf_use=no
40482 fi
40483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40484       ac_ext=c
40485 ac_cpp='$CPP $CPPFLAGS'
40486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40489
40490
40491 fi
40492
40493   fi
40494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40495 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40496
40497     if test x$glibcxx_cv_func__expf_use = x"yes"; then
40498       for ac_func in _expf
40499 do :
40500   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40501 if test "x$ac_cv_func__expf" = x""yes; then :
40502   cat >>confdefs.h <<_ACEOF
40503 #define HAVE__EXPF 1
40504 _ACEOF
40505
40506 fi
40507 done
40508
40509     fi
40510   fi
40511
40512
40513
40514
40515
40516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40517 $as_echo_n "checking for isnanf declaration... " >&6; }
40518   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40519     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40520   $as_echo_n "(cached) " >&6
40521 else
40522
40523
40524       ac_ext=cpp
40525 ac_cpp='$CXXCPP $CPPFLAGS'
40526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40529
40530       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40531 /* end confdefs.h.  */
40532 #include <math.h>
40533                       #ifdef HAVE_IEEEFP_H
40534                       #include <ieeefp.h>
40535                       #endif
40536
40537 int
40538 main ()
40539 {
40540  isnanf(0);
40541   ;
40542   return 0;
40543 }
40544 _ACEOF
40545 if ac_fn_cxx_try_compile "$LINENO"; then :
40546   glibcxx_cv_func_isnanf_use=yes
40547 else
40548   glibcxx_cv_func_isnanf_use=no
40549 fi
40550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40551       ac_ext=c
40552 ac_cpp='$CPP $CPPFLAGS'
40553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40556
40557
40558 fi
40559
40560   fi
40561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40562 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40563
40564   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40565     for ac_func in isnanf
40566 do :
40567   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40568 if test "x$ac_cv_func_isnanf" = x""yes; then :
40569   cat >>confdefs.h <<_ACEOF
40570 #define HAVE_ISNANF 1
40571 _ACEOF
40572
40573 fi
40574 done
40575
40576   else
40577
40578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40579 $as_echo_n "checking for _isnanf declaration... " >&6; }
40580   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40581     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40582   $as_echo_n "(cached) " >&6
40583 else
40584
40585
40586       ac_ext=cpp
40587 ac_cpp='$CXXCPP $CPPFLAGS'
40588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40591
40592       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40593 /* end confdefs.h.  */
40594 #include <math.h>
40595                       #ifdef HAVE_IEEEFP_H
40596                       #include <ieeefp.h>
40597                       #endif
40598
40599 int
40600 main ()
40601 {
40602  _isnanf(0);
40603   ;
40604   return 0;
40605 }
40606 _ACEOF
40607 if ac_fn_cxx_try_compile "$LINENO"; then :
40608   glibcxx_cv_func__isnanf_use=yes
40609 else
40610   glibcxx_cv_func__isnanf_use=no
40611 fi
40612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40613       ac_ext=c
40614 ac_cpp='$CPP $CPPFLAGS'
40615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40618
40619
40620 fi
40621
40622   fi
40623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40624 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40625
40626     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40627       for ac_func in _isnanf
40628 do :
40629   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40630 if test "x$ac_cv_func__isnanf" = x""yes; then :
40631   cat >>confdefs.h <<_ACEOF
40632 #define HAVE__ISNANF 1
40633 _ACEOF
40634
40635 fi
40636 done
40637
40638     fi
40639   fi
40640
40641
40642
40643
40644
40645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40646 $as_echo_n "checking for isinff declaration... " >&6; }
40647   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40648     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40649   $as_echo_n "(cached) " >&6
40650 else
40651
40652
40653       ac_ext=cpp
40654 ac_cpp='$CXXCPP $CPPFLAGS'
40655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40658
40659       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40660 /* end confdefs.h.  */
40661 #include <math.h>
40662                       #ifdef HAVE_IEEEFP_H
40663                       #include <ieeefp.h>
40664                       #endif
40665
40666 int
40667 main ()
40668 {
40669  isinff(0);
40670   ;
40671   return 0;
40672 }
40673 _ACEOF
40674 if ac_fn_cxx_try_compile "$LINENO"; then :
40675   glibcxx_cv_func_isinff_use=yes
40676 else
40677   glibcxx_cv_func_isinff_use=no
40678 fi
40679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40680       ac_ext=c
40681 ac_cpp='$CPP $CPPFLAGS'
40682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40685
40686
40687 fi
40688
40689   fi
40690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40691 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40692
40693   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40694     for ac_func in isinff
40695 do :
40696   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40697 if test "x$ac_cv_func_isinff" = x""yes; then :
40698   cat >>confdefs.h <<_ACEOF
40699 #define HAVE_ISINFF 1
40700 _ACEOF
40701
40702 fi
40703 done
40704
40705   else
40706
40707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40708 $as_echo_n "checking for _isinff declaration... " >&6; }
40709   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40710     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40711   $as_echo_n "(cached) " >&6
40712 else
40713
40714
40715       ac_ext=cpp
40716 ac_cpp='$CXXCPP $CPPFLAGS'
40717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40720
40721       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40722 /* end confdefs.h.  */
40723 #include <math.h>
40724                       #ifdef HAVE_IEEEFP_H
40725                       #include <ieeefp.h>
40726                       #endif
40727
40728 int
40729 main ()
40730 {
40731  _isinff(0);
40732   ;
40733   return 0;
40734 }
40735 _ACEOF
40736 if ac_fn_cxx_try_compile "$LINENO"; then :
40737   glibcxx_cv_func__isinff_use=yes
40738 else
40739   glibcxx_cv_func__isinff_use=no
40740 fi
40741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40742       ac_ext=c
40743 ac_cpp='$CPP $CPPFLAGS'
40744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40747
40748
40749 fi
40750
40751   fi
40752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40753 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40754
40755     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40756       for ac_func in _isinff
40757 do :
40758   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40759 if test "x$ac_cv_func__isinff" = x""yes; then :
40760   cat >>confdefs.h <<_ACEOF
40761 #define HAVE__ISINFF 1
40762 _ACEOF
40763
40764 fi
40765 done
40766
40767     fi
40768   fi
40769
40770
40771
40772
40773
40774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40775 $as_echo_n "checking for atan2f declaration... " >&6; }
40776   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40777     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40778   $as_echo_n "(cached) " >&6
40779 else
40780
40781
40782       ac_ext=cpp
40783 ac_cpp='$CXXCPP $CPPFLAGS'
40784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40787
40788       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40789 /* end confdefs.h.  */
40790 #include <math.h>
40791 int
40792 main ()
40793 {
40794  atan2f(0, 0);
40795   ;
40796   return 0;
40797 }
40798 _ACEOF
40799 if ac_fn_cxx_try_compile "$LINENO"; then :
40800   glibcxx_cv_func_atan2f_use=yes
40801 else
40802   glibcxx_cv_func_atan2f_use=no
40803 fi
40804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40805       ac_ext=c
40806 ac_cpp='$CPP $CPPFLAGS'
40807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40810
40811
40812 fi
40813
40814   fi
40815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40816 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40817
40818   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40819     for ac_func in atan2f
40820 do :
40821   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40822 if test "x$ac_cv_func_atan2f" = x""yes; then :
40823   cat >>confdefs.h <<_ACEOF
40824 #define HAVE_ATAN2F 1
40825 _ACEOF
40826
40827 fi
40828 done
40829
40830   else
40831
40832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40833 $as_echo_n "checking for _atan2f declaration... " >&6; }
40834   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40835     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40836   $as_echo_n "(cached) " >&6
40837 else
40838
40839
40840       ac_ext=cpp
40841 ac_cpp='$CXXCPP $CPPFLAGS'
40842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40845
40846       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40847 /* end confdefs.h.  */
40848 #include <math.h>
40849 int
40850 main ()
40851 {
40852  _atan2f(0, 0);
40853   ;
40854   return 0;
40855 }
40856 _ACEOF
40857 if ac_fn_cxx_try_compile "$LINENO"; then :
40858   glibcxx_cv_func__atan2f_use=yes
40859 else
40860   glibcxx_cv_func__atan2f_use=no
40861 fi
40862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40863       ac_ext=c
40864 ac_cpp='$CPP $CPPFLAGS'
40865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40868
40869
40870 fi
40871
40872   fi
40873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40874 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40875
40876     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40877       for ac_func in _atan2f
40878 do :
40879   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40880 if test "x$ac_cv_func__atan2f" = x""yes; then :
40881   cat >>confdefs.h <<_ACEOF
40882 #define HAVE__ATAN2F 1
40883 _ACEOF
40884
40885 fi
40886 done
40887
40888     fi
40889   fi
40890
40891
40892
40893
40894
40895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40896 $as_echo_n "checking for fabsf declaration... " >&6; }
40897   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40898     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40899   $as_echo_n "(cached) " >&6
40900 else
40901
40902
40903       ac_ext=cpp
40904 ac_cpp='$CXXCPP $CPPFLAGS'
40905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40908
40909       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40910 /* end confdefs.h.  */
40911 #include <math.h>
40912                       #ifdef HAVE_IEEEFP_H
40913                       #include <ieeefp.h>
40914                       #endif
40915
40916 int
40917 main ()
40918 {
40919  fabsf(0);
40920   ;
40921   return 0;
40922 }
40923 _ACEOF
40924 if ac_fn_cxx_try_compile "$LINENO"; then :
40925   glibcxx_cv_func_fabsf_use=yes
40926 else
40927   glibcxx_cv_func_fabsf_use=no
40928 fi
40929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40930       ac_ext=c
40931 ac_cpp='$CPP $CPPFLAGS'
40932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40935
40936
40937 fi
40938
40939   fi
40940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40941 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40942
40943   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40944     for ac_func in fabsf
40945 do :
40946   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40947 if test "x$ac_cv_func_fabsf" = x""yes; then :
40948   cat >>confdefs.h <<_ACEOF
40949 #define HAVE_FABSF 1
40950 _ACEOF
40951
40952 fi
40953 done
40954
40955   else
40956
40957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40958 $as_echo_n "checking for _fabsf declaration... " >&6; }
40959   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40960     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40961   $as_echo_n "(cached) " >&6
40962 else
40963
40964
40965       ac_ext=cpp
40966 ac_cpp='$CXXCPP $CPPFLAGS'
40967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40970
40971       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40972 /* end confdefs.h.  */
40973 #include <math.h>
40974                       #ifdef HAVE_IEEEFP_H
40975                       #include <ieeefp.h>
40976                       #endif
40977
40978 int
40979 main ()
40980 {
40981  _fabsf(0);
40982   ;
40983   return 0;
40984 }
40985 _ACEOF
40986 if ac_fn_cxx_try_compile "$LINENO"; then :
40987   glibcxx_cv_func__fabsf_use=yes
40988 else
40989   glibcxx_cv_func__fabsf_use=no
40990 fi
40991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40992       ac_ext=c
40993 ac_cpp='$CPP $CPPFLAGS'
40994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40997
40998
40999 fi
41000
41001   fi
41002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41003 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41004
41005     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41006       for ac_func in _fabsf
41007 do :
41008   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41009 if test "x$ac_cv_func__fabsf" = x""yes; then :
41010   cat >>confdefs.h <<_ACEOF
41011 #define HAVE__FABSF 1
41012 _ACEOF
41013
41014 fi
41015 done
41016
41017     fi
41018   fi
41019
41020
41021
41022
41023
41024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41025 $as_echo_n "checking for fmodf declaration... " >&6; }
41026   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41027     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41028   $as_echo_n "(cached) " >&6
41029 else
41030
41031
41032       ac_ext=cpp
41033 ac_cpp='$CXXCPP $CPPFLAGS'
41034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41037
41038       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41039 /* end confdefs.h.  */
41040 #include <math.h>
41041 int
41042 main ()
41043 {
41044  fmodf(0, 0);
41045   ;
41046   return 0;
41047 }
41048 _ACEOF
41049 if ac_fn_cxx_try_compile "$LINENO"; then :
41050   glibcxx_cv_func_fmodf_use=yes
41051 else
41052   glibcxx_cv_func_fmodf_use=no
41053 fi
41054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41055       ac_ext=c
41056 ac_cpp='$CPP $CPPFLAGS'
41057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41060
41061
41062 fi
41063
41064   fi
41065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41066 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41067
41068   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41069     for ac_func in fmodf
41070 do :
41071   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41072 if test "x$ac_cv_func_fmodf" = x""yes; then :
41073   cat >>confdefs.h <<_ACEOF
41074 #define HAVE_FMODF 1
41075 _ACEOF
41076
41077 fi
41078 done
41079
41080   else
41081
41082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41083 $as_echo_n "checking for _fmodf declaration... " >&6; }
41084   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41085     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41086   $as_echo_n "(cached) " >&6
41087 else
41088
41089
41090       ac_ext=cpp
41091 ac_cpp='$CXXCPP $CPPFLAGS'
41092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41095
41096       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41097 /* end confdefs.h.  */
41098 #include <math.h>
41099 int
41100 main ()
41101 {
41102  _fmodf(0, 0);
41103   ;
41104   return 0;
41105 }
41106 _ACEOF
41107 if ac_fn_cxx_try_compile "$LINENO"; then :
41108   glibcxx_cv_func__fmodf_use=yes
41109 else
41110   glibcxx_cv_func__fmodf_use=no
41111 fi
41112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41113       ac_ext=c
41114 ac_cpp='$CPP $CPPFLAGS'
41115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41118
41119
41120 fi
41121
41122   fi
41123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41124 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41125
41126     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41127       for ac_func in _fmodf
41128 do :
41129   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41130 if test "x$ac_cv_func__fmodf" = x""yes; then :
41131   cat >>confdefs.h <<_ACEOF
41132 #define HAVE__FMODF 1
41133 _ACEOF
41134
41135 fi
41136 done
41137
41138     fi
41139   fi
41140
41141
41142
41143
41144
41145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41146 $as_echo_n "checking for frexpf declaration... " >&6; }
41147   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41148     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41149   $as_echo_n "(cached) " >&6
41150 else
41151
41152
41153       ac_ext=cpp
41154 ac_cpp='$CXXCPP $CPPFLAGS'
41155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41158
41159       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41160 /* end confdefs.h.  */
41161 #include <math.h>
41162 int
41163 main ()
41164 {
41165  frexpf(0, 0);
41166   ;
41167   return 0;
41168 }
41169 _ACEOF
41170 if ac_fn_cxx_try_compile "$LINENO"; then :
41171   glibcxx_cv_func_frexpf_use=yes
41172 else
41173   glibcxx_cv_func_frexpf_use=no
41174 fi
41175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41176       ac_ext=c
41177 ac_cpp='$CPP $CPPFLAGS'
41178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41181
41182
41183 fi
41184
41185   fi
41186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41187 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41188
41189   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41190     for ac_func in frexpf
41191 do :
41192   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41193 if test "x$ac_cv_func_frexpf" = x""yes; then :
41194   cat >>confdefs.h <<_ACEOF
41195 #define HAVE_FREXPF 1
41196 _ACEOF
41197
41198 fi
41199 done
41200
41201   else
41202
41203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41204 $as_echo_n "checking for _frexpf declaration... " >&6; }
41205   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41206     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41207   $as_echo_n "(cached) " >&6
41208 else
41209
41210
41211       ac_ext=cpp
41212 ac_cpp='$CXXCPP $CPPFLAGS'
41213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41216
41217       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41218 /* end confdefs.h.  */
41219 #include <math.h>
41220 int
41221 main ()
41222 {
41223  _frexpf(0, 0);
41224   ;
41225   return 0;
41226 }
41227 _ACEOF
41228 if ac_fn_cxx_try_compile "$LINENO"; then :
41229   glibcxx_cv_func__frexpf_use=yes
41230 else
41231   glibcxx_cv_func__frexpf_use=no
41232 fi
41233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41234       ac_ext=c
41235 ac_cpp='$CPP $CPPFLAGS'
41236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41239
41240
41241 fi
41242
41243   fi
41244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41245 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41246
41247     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41248       for ac_func in _frexpf
41249 do :
41250   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41251 if test "x$ac_cv_func__frexpf" = x""yes; then :
41252   cat >>confdefs.h <<_ACEOF
41253 #define HAVE__FREXPF 1
41254 _ACEOF
41255
41256 fi
41257 done
41258
41259     fi
41260   fi
41261
41262
41263
41264
41265
41266   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41267 $as_echo_n "checking for hypotf declaration... " >&6; }
41268   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41269     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41270   $as_echo_n "(cached) " >&6
41271 else
41272
41273
41274       ac_ext=cpp
41275 ac_cpp='$CXXCPP $CPPFLAGS'
41276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41279
41280       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41281 /* end confdefs.h.  */
41282 #include <math.h>
41283 int
41284 main ()
41285 {
41286  hypotf(0, 0);
41287   ;
41288   return 0;
41289 }
41290 _ACEOF
41291 if ac_fn_cxx_try_compile "$LINENO"; then :
41292   glibcxx_cv_func_hypotf_use=yes
41293 else
41294   glibcxx_cv_func_hypotf_use=no
41295 fi
41296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41297       ac_ext=c
41298 ac_cpp='$CPP $CPPFLAGS'
41299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41302
41303
41304 fi
41305
41306   fi
41307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41308 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41309
41310   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41311     for ac_func in hypotf
41312 do :
41313   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41314 if test "x$ac_cv_func_hypotf" = x""yes; then :
41315   cat >>confdefs.h <<_ACEOF
41316 #define HAVE_HYPOTF 1
41317 _ACEOF
41318
41319 fi
41320 done
41321
41322   else
41323
41324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41325 $as_echo_n "checking for _hypotf declaration... " >&6; }
41326   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41327     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41328   $as_echo_n "(cached) " >&6
41329 else
41330
41331
41332       ac_ext=cpp
41333 ac_cpp='$CXXCPP $CPPFLAGS'
41334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41337
41338       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41339 /* end confdefs.h.  */
41340 #include <math.h>
41341 int
41342 main ()
41343 {
41344  _hypotf(0, 0);
41345   ;
41346   return 0;
41347 }
41348 _ACEOF
41349 if ac_fn_cxx_try_compile "$LINENO"; then :
41350   glibcxx_cv_func__hypotf_use=yes
41351 else
41352   glibcxx_cv_func__hypotf_use=no
41353 fi
41354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41355       ac_ext=c
41356 ac_cpp='$CPP $CPPFLAGS'
41357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41360
41361
41362 fi
41363
41364   fi
41365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41366 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41367
41368     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41369       for ac_func in _hypotf
41370 do :
41371   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41372 if test "x$ac_cv_func__hypotf" = x""yes; then :
41373   cat >>confdefs.h <<_ACEOF
41374 #define HAVE__HYPOTF 1
41375 _ACEOF
41376
41377 fi
41378 done
41379
41380     fi
41381   fi
41382
41383
41384
41385
41386
41387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41388 $as_echo_n "checking for ldexpf declaration... " >&6; }
41389   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41390     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41391   $as_echo_n "(cached) " >&6
41392 else
41393
41394
41395       ac_ext=cpp
41396 ac_cpp='$CXXCPP $CPPFLAGS'
41397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41400
41401       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41402 /* end confdefs.h.  */
41403 #include <math.h>
41404 int
41405 main ()
41406 {
41407  ldexpf(0, 0);
41408   ;
41409   return 0;
41410 }
41411 _ACEOF
41412 if ac_fn_cxx_try_compile "$LINENO"; then :
41413   glibcxx_cv_func_ldexpf_use=yes
41414 else
41415   glibcxx_cv_func_ldexpf_use=no
41416 fi
41417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41418       ac_ext=c
41419 ac_cpp='$CPP $CPPFLAGS'
41420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41423
41424
41425 fi
41426
41427   fi
41428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41429 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41430
41431   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41432     for ac_func in ldexpf
41433 do :
41434   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41435 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41436   cat >>confdefs.h <<_ACEOF
41437 #define HAVE_LDEXPF 1
41438 _ACEOF
41439
41440 fi
41441 done
41442
41443   else
41444
41445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41446 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41447   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41448     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41449   $as_echo_n "(cached) " >&6
41450 else
41451
41452
41453       ac_ext=cpp
41454 ac_cpp='$CXXCPP $CPPFLAGS'
41455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41458
41459       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41460 /* end confdefs.h.  */
41461 #include <math.h>
41462 int
41463 main ()
41464 {
41465  _ldexpf(0, 0);
41466   ;
41467   return 0;
41468 }
41469 _ACEOF
41470 if ac_fn_cxx_try_compile "$LINENO"; then :
41471   glibcxx_cv_func__ldexpf_use=yes
41472 else
41473   glibcxx_cv_func__ldexpf_use=no
41474 fi
41475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41476       ac_ext=c
41477 ac_cpp='$CPP $CPPFLAGS'
41478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41481
41482
41483 fi
41484
41485   fi
41486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41487 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41488
41489     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41490       for ac_func in _ldexpf
41491 do :
41492   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41493 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41494   cat >>confdefs.h <<_ACEOF
41495 #define HAVE__LDEXPF 1
41496 _ACEOF
41497
41498 fi
41499 done
41500
41501     fi
41502   fi
41503
41504
41505
41506
41507
41508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41509 $as_echo_n "checking for logf declaration... " >&6; }
41510   if test x${glibcxx_cv_func_logf_use+set} != xset; then
41511     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41512   $as_echo_n "(cached) " >&6
41513 else
41514
41515
41516       ac_ext=cpp
41517 ac_cpp='$CXXCPP $CPPFLAGS'
41518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41521
41522       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41523 /* end confdefs.h.  */
41524 #include <math.h>
41525                       #ifdef HAVE_IEEEFP_H
41526                       #include <ieeefp.h>
41527                       #endif
41528
41529 int
41530 main ()
41531 {
41532  logf(0);
41533   ;
41534   return 0;
41535 }
41536 _ACEOF
41537 if ac_fn_cxx_try_compile "$LINENO"; then :
41538   glibcxx_cv_func_logf_use=yes
41539 else
41540   glibcxx_cv_func_logf_use=no
41541 fi
41542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41543       ac_ext=c
41544 ac_cpp='$CPP $CPPFLAGS'
41545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41548
41549
41550 fi
41551
41552   fi
41553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41554 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41555
41556   if test x$glibcxx_cv_func_logf_use = x"yes"; then
41557     for ac_func in logf
41558 do :
41559   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41560 if test "x$ac_cv_func_logf" = x""yes; then :
41561   cat >>confdefs.h <<_ACEOF
41562 #define HAVE_LOGF 1
41563 _ACEOF
41564
41565 fi
41566 done
41567
41568   else
41569
41570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41571 $as_echo_n "checking for _logf declaration... " >&6; }
41572   if test x${glibcxx_cv_func__logf_use+set} != xset; then
41573     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41574   $as_echo_n "(cached) " >&6
41575 else
41576
41577
41578       ac_ext=cpp
41579 ac_cpp='$CXXCPP $CPPFLAGS'
41580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41583
41584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41585 /* end confdefs.h.  */
41586 #include <math.h>
41587                       #ifdef HAVE_IEEEFP_H
41588                       #include <ieeefp.h>
41589                       #endif
41590
41591 int
41592 main ()
41593 {
41594  _logf(0);
41595   ;
41596   return 0;
41597 }
41598 _ACEOF
41599 if ac_fn_cxx_try_compile "$LINENO"; then :
41600   glibcxx_cv_func__logf_use=yes
41601 else
41602   glibcxx_cv_func__logf_use=no
41603 fi
41604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41605       ac_ext=c
41606 ac_cpp='$CPP $CPPFLAGS'
41607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41610
41611
41612 fi
41613
41614   fi
41615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41616 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41617
41618     if test x$glibcxx_cv_func__logf_use = x"yes"; then
41619       for ac_func in _logf
41620 do :
41621   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41622 if test "x$ac_cv_func__logf" = x""yes; then :
41623   cat >>confdefs.h <<_ACEOF
41624 #define HAVE__LOGF 1
41625 _ACEOF
41626
41627 fi
41628 done
41629
41630     fi
41631   fi
41632
41633
41634
41635
41636
41637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41638 $as_echo_n "checking for log10f declaration... " >&6; }
41639   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41640     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41641   $as_echo_n "(cached) " >&6
41642 else
41643
41644
41645       ac_ext=cpp
41646 ac_cpp='$CXXCPP $CPPFLAGS'
41647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41650
41651       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41652 /* end confdefs.h.  */
41653 #include <math.h>
41654                       #ifdef HAVE_IEEEFP_H
41655                       #include <ieeefp.h>
41656                       #endif
41657
41658 int
41659 main ()
41660 {
41661  log10f(0);
41662   ;
41663   return 0;
41664 }
41665 _ACEOF
41666 if ac_fn_cxx_try_compile "$LINENO"; then :
41667   glibcxx_cv_func_log10f_use=yes
41668 else
41669   glibcxx_cv_func_log10f_use=no
41670 fi
41671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41672       ac_ext=c
41673 ac_cpp='$CPP $CPPFLAGS'
41674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41677
41678
41679 fi
41680
41681   fi
41682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41683 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41684
41685   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41686     for ac_func in log10f
41687 do :
41688   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41689 if test "x$ac_cv_func_log10f" = x""yes; then :
41690   cat >>confdefs.h <<_ACEOF
41691 #define HAVE_LOG10F 1
41692 _ACEOF
41693
41694 fi
41695 done
41696
41697   else
41698
41699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41700 $as_echo_n "checking for _log10f declaration... " >&6; }
41701   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41702     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41703   $as_echo_n "(cached) " >&6
41704 else
41705
41706
41707       ac_ext=cpp
41708 ac_cpp='$CXXCPP $CPPFLAGS'
41709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41712
41713       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41714 /* end confdefs.h.  */
41715 #include <math.h>
41716                       #ifdef HAVE_IEEEFP_H
41717                       #include <ieeefp.h>
41718                       #endif
41719
41720 int
41721 main ()
41722 {
41723  _log10f(0);
41724   ;
41725   return 0;
41726 }
41727 _ACEOF
41728 if ac_fn_cxx_try_compile "$LINENO"; then :
41729   glibcxx_cv_func__log10f_use=yes
41730 else
41731   glibcxx_cv_func__log10f_use=no
41732 fi
41733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41734       ac_ext=c
41735 ac_cpp='$CPP $CPPFLAGS'
41736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41739
41740
41741 fi
41742
41743   fi
41744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41745 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41746
41747     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41748       for ac_func in _log10f
41749 do :
41750   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41751 if test "x$ac_cv_func__log10f" = x""yes; then :
41752   cat >>confdefs.h <<_ACEOF
41753 #define HAVE__LOG10F 1
41754 _ACEOF
41755
41756 fi
41757 done
41758
41759     fi
41760   fi
41761
41762
41763
41764
41765
41766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41767 $as_echo_n "checking for modff declaration... " >&6; }
41768   if test x${glibcxx_cv_func_modff_use+set} != xset; then
41769     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41770   $as_echo_n "(cached) " >&6
41771 else
41772
41773
41774       ac_ext=cpp
41775 ac_cpp='$CXXCPP $CPPFLAGS'
41776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41779
41780       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41781 /* end confdefs.h.  */
41782 #include <math.h>
41783 int
41784 main ()
41785 {
41786  modff(0, 0);
41787   ;
41788   return 0;
41789 }
41790 _ACEOF
41791 if ac_fn_cxx_try_compile "$LINENO"; then :
41792   glibcxx_cv_func_modff_use=yes
41793 else
41794   glibcxx_cv_func_modff_use=no
41795 fi
41796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41797       ac_ext=c
41798 ac_cpp='$CPP $CPPFLAGS'
41799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41802
41803
41804 fi
41805
41806   fi
41807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41808 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41809
41810   if test x$glibcxx_cv_func_modff_use = x"yes"; then
41811     for ac_func in modff
41812 do :
41813   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41814 if test "x$ac_cv_func_modff" = x""yes; then :
41815   cat >>confdefs.h <<_ACEOF
41816 #define HAVE_MODFF 1
41817 _ACEOF
41818
41819 fi
41820 done
41821
41822   else
41823
41824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41825 $as_echo_n "checking for _modff declaration... " >&6; }
41826   if test x${glibcxx_cv_func__modff_use+set} != xset; then
41827     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41828   $as_echo_n "(cached) " >&6
41829 else
41830
41831
41832       ac_ext=cpp
41833 ac_cpp='$CXXCPP $CPPFLAGS'
41834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41837
41838       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41839 /* end confdefs.h.  */
41840 #include <math.h>
41841 int
41842 main ()
41843 {
41844  _modff(0, 0);
41845   ;
41846   return 0;
41847 }
41848 _ACEOF
41849 if ac_fn_cxx_try_compile "$LINENO"; then :
41850   glibcxx_cv_func__modff_use=yes
41851 else
41852   glibcxx_cv_func__modff_use=no
41853 fi
41854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41855       ac_ext=c
41856 ac_cpp='$CPP $CPPFLAGS'
41857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41860
41861
41862 fi
41863
41864   fi
41865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41866 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41867
41868     if test x$glibcxx_cv_func__modff_use = x"yes"; then
41869       for ac_func in _modff
41870 do :
41871   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41872 if test "x$ac_cv_func__modff" = x""yes; then :
41873   cat >>confdefs.h <<_ACEOF
41874 #define HAVE__MODFF 1
41875 _ACEOF
41876
41877 fi
41878 done
41879
41880     fi
41881   fi
41882
41883
41884
41885
41886
41887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41888 $as_echo_n "checking for modf declaration... " >&6; }
41889   if test x${glibcxx_cv_func_modf_use+set} != xset; then
41890     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41891   $as_echo_n "(cached) " >&6
41892 else
41893
41894
41895       ac_ext=cpp
41896 ac_cpp='$CXXCPP $CPPFLAGS'
41897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41900
41901       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41902 /* end confdefs.h.  */
41903 #include <math.h>
41904 int
41905 main ()
41906 {
41907  modf(0, 0);
41908   ;
41909   return 0;
41910 }
41911 _ACEOF
41912 if ac_fn_cxx_try_compile "$LINENO"; then :
41913   glibcxx_cv_func_modf_use=yes
41914 else
41915   glibcxx_cv_func_modf_use=no
41916 fi
41917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41918       ac_ext=c
41919 ac_cpp='$CPP $CPPFLAGS'
41920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41923
41924
41925 fi
41926
41927   fi
41928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41929 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41930
41931   if test x$glibcxx_cv_func_modf_use = x"yes"; then
41932     for ac_func in modf
41933 do :
41934   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41935 if test "x$ac_cv_func_modf" = x""yes; then :
41936   cat >>confdefs.h <<_ACEOF
41937 #define HAVE_MODF 1
41938 _ACEOF
41939
41940 fi
41941 done
41942
41943   else
41944
41945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41946 $as_echo_n "checking for _modf declaration... " >&6; }
41947   if test x${glibcxx_cv_func__modf_use+set} != xset; then
41948     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41949   $as_echo_n "(cached) " >&6
41950 else
41951
41952
41953       ac_ext=cpp
41954 ac_cpp='$CXXCPP $CPPFLAGS'
41955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41958
41959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41960 /* end confdefs.h.  */
41961 #include <math.h>
41962 int
41963 main ()
41964 {
41965  _modf(0, 0);
41966   ;
41967   return 0;
41968 }
41969 _ACEOF
41970 if ac_fn_cxx_try_compile "$LINENO"; then :
41971   glibcxx_cv_func__modf_use=yes
41972 else
41973   glibcxx_cv_func__modf_use=no
41974 fi
41975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41976       ac_ext=c
41977 ac_cpp='$CPP $CPPFLAGS'
41978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41981
41982
41983 fi
41984
41985   fi
41986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41987 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41988
41989     if test x$glibcxx_cv_func__modf_use = x"yes"; then
41990       for ac_func in _modf
41991 do :
41992   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41993 if test "x$ac_cv_func__modf" = x""yes; then :
41994   cat >>confdefs.h <<_ACEOF
41995 #define HAVE__MODF 1
41996 _ACEOF
41997
41998 fi
41999 done
42000
42001     fi
42002   fi
42003
42004
42005
42006
42007
42008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42009 $as_echo_n "checking for powf declaration... " >&6; }
42010   if test x${glibcxx_cv_func_powf_use+set} != xset; then
42011     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42012   $as_echo_n "(cached) " >&6
42013 else
42014
42015
42016       ac_ext=cpp
42017 ac_cpp='$CXXCPP $CPPFLAGS'
42018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42021
42022       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42023 /* end confdefs.h.  */
42024 #include <math.h>
42025 int
42026 main ()
42027 {
42028  powf(0, 0);
42029   ;
42030   return 0;
42031 }
42032 _ACEOF
42033 if ac_fn_cxx_try_compile "$LINENO"; then :
42034   glibcxx_cv_func_powf_use=yes
42035 else
42036   glibcxx_cv_func_powf_use=no
42037 fi
42038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42039       ac_ext=c
42040 ac_cpp='$CPP $CPPFLAGS'
42041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42044
42045
42046 fi
42047
42048   fi
42049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42050 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42051
42052   if test x$glibcxx_cv_func_powf_use = x"yes"; then
42053     for ac_func in powf
42054 do :
42055   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42056 if test "x$ac_cv_func_powf" = x""yes; then :
42057   cat >>confdefs.h <<_ACEOF
42058 #define HAVE_POWF 1
42059 _ACEOF
42060
42061 fi
42062 done
42063
42064   else
42065
42066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42067 $as_echo_n "checking for _powf declaration... " >&6; }
42068   if test x${glibcxx_cv_func__powf_use+set} != xset; then
42069     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42070   $as_echo_n "(cached) " >&6
42071 else
42072
42073
42074       ac_ext=cpp
42075 ac_cpp='$CXXCPP $CPPFLAGS'
42076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42079
42080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42081 /* end confdefs.h.  */
42082 #include <math.h>
42083 int
42084 main ()
42085 {
42086  _powf(0, 0);
42087   ;
42088   return 0;
42089 }
42090 _ACEOF
42091 if ac_fn_cxx_try_compile "$LINENO"; then :
42092   glibcxx_cv_func__powf_use=yes
42093 else
42094   glibcxx_cv_func__powf_use=no
42095 fi
42096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42097       ac_ext=c
42098 ac_cpp='$CPP $CPPFLAGS'
42099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42102
42103
42104 fi
42105
42106   fi
42107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42108 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42109
42110     if test x$glibcxx_cv_func__powf_use = x"yes"; then
42111       for ac_func in _powf
42112 do :
42113   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42114 if test "x$ac_cv_func__powf" = x""yes; then :
42115   cat >>confdefs.h <<_ACEOF
42116 #define HAVE__POWF 1
42117 _ACEOF
42118
42119 fi
42120 done
42121
42122     fi
42123   fi
42124
42125
42126
42127
42128
42129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42130 $as_echo_n "checking for sqrtf declaration... " >&6; }
42131   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42132     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42133   $as_echo_n "(cached) " >&6
42134 else
42135
42136
42137       ac_ext=cpp
42138 ac_cpp='$CXXCPP $CPPFLAGS'
42139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42142
42143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42144 /* end confdefs.h.  */
42145 #include <math.h>
42146                       #ifdef HAVE_IEEEFP_H
42147                       #include <ieeefp.h>
42148                       #endif
42149
42150 int
42151 main ()
42152 {
42153  sqrtf(0);
42154   ;
42155   return 0;
42156 }
42157 _ACEOF
42158 if ac_fn_cxx_try_compile "$LINENO"; then :
42159   glibcxx_cv_func_sqrtf_use=yes
42160 else
42161   glibcxx_cv_func_sqrtf_use=no
42162 fi
42163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42164       ac_ext=c
42165 ac_cpp='$CPP $CPPFLAGS'
42166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42169
42170
42171 fi
42172
42173   fi
42174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42175 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42176
42177   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42178     for ac_func in sqrtf
42179 do :
42180   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42181 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42182   cat >>confdefs.h <<_ACEOF
42183 #define HAVE_SQRTF 1
42184 _ACEOF
42185
42186 fi
42187 done
42188
42189   else
42190
42191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42192 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42193   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42194     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42195   $as_echo_n "(cached) " >&6
42196 else
42197
42198
42199       ac_ext=cpp
42200 ac_cpp='$CXXCPP $CPPFLAGS'
42201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42204
42205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42206 /* end confdefs.h.  */
42207 #include <math.h>
42208                       #ifdef HAVE_IEEEFP_H
42209                       #include <ieeefp.h>
42210                       #endif
42211
42212 int
42213 main ()
42214 {
42215  _sqrtf(0);
42216   ;
42217   return 0;
42218 }
42219 _ACEOF
42220 if ac_fn_cxx_try_compile "$LINENO"; then :
42221   glibcxx_cv_func__sqrtf_use=yes
42222 else
42223   glibcxx_cv_func__sqrtf_use=no
42224 fi
42225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42226       ac_ext=c
42227 ac_cpp='$CPP $CPPFLAGS'
42228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42231
42232
42233 fi
42234
42235   fi
42236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42237 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42238
42239     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42240       for ac_func in _sqrtf
42241 do :
42242   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42243 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42244   cat >>confdefs.h <<_ACEOF
42245 #define HAVE__SQRTF 1
42246 _ACEOF
42247
42248 fi
42249 done
42250
42251     fi
42252   fi
42253
42254
42255
42256
42257
42258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42259 $as_echo_n "checking for sincosf declaration... " >&6; }
42260   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42261     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42262   $as_echo_n "(cached) " >&6
42263 else
42264
42265
42266       ac_ext=cpp
42267 ac_cpp='$CXXCPP $CPPFLAGS'
42268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42271
42272       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42273 /* end confdefs.h.  */
42274 #include <math.h>
42275 int
42276 main ()
42277 {
42278  sincosf(0, 0, 0);
42279   ;
42280   return 0;
42281 }
42282 _ACEOF
42283 if ac_fn_cxx_try_compile "$LINENO"; then :
42284   glibcxx_cv_func_sincosf_use=yes
42285 else
42286   glibcxx_cv_func_sincosf_use=no
42287 fi
42288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42289       ac_ext=c
42290 ac_cpp='$CPP $CPPFLAGS'
42291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42294
42295
42296 fi
42297
42298   fi
42299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42300 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42301
42302   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42303     for ac_func in sincosf
42304 do :
42305   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42306 if test "x$ac_cv_func_sincosf" = x""yes; then :
42307   cat >>confdefs.h <<_ACEOF
42308 #define HAVE_SINCOSF 1
42309 _ACEOF
42310
42311 fi
42312 done
42313
42314   else
42315
42316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42317 $as_echo_n "checking for _sincosf declaration... " >&6; }
42318   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42319     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42320   $as_echo_n "(cached) " >&6
42321 else
42322
42323
42324       ac_ext=cpp
42325 ac_cpp='$CXXCPP $CPPFLAGS'
42326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42329
42330       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42331 /* end confdefs.h.  */
42332 #include <math.h>
42333 int
42334 main ()
42335 {
42336  _sincosf(0, 0, 0);
42337   ;
42338   return 0;
42339 }
42340 _ACEOF
42341 if ac_fn_cxx_try_compile "$LINENO"; then :
42342   glibcxx_cv_func__sincosf_use=yes
42343 else
42344   glibcxx_cv_func__sincosf_use=no
42345 fi
42346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42347       ac_ext=c
42348 ac_cpp='$CPP $CPPFLAGS'
42349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42352
42353
42354 fi
42355
42356   fi
42357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42358 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42359
42360     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42361       for ac_func in _sincosf
42362 do :
42363   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42364 if test "x$ac_cv_func__sincosf" = x""yes; then :
42365   cat >>confdefs.h <<_ACEOF
42366 #define HAVE__SINCOSF 1
42367 _ACEOF
42368
42369 fi
42370 done
42371
42372     fi
42373   fi
42374
42375
42376
42377
42378
42379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42380 $as_echo_n "checking for finitef declaration... " >&6; }
42381   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42382     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42383   $as_echo_n "(cached) " >&6
42384 else
42385
42386
42387       ac_ext=cpp
42388 ac_cpp='$CXXCPP $CPPFLAGS'
42389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42392
42393       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42394 /* end confdefs.h.  */
42395 #include <math.h>
42396                       #ifdef HAVE_IEEEFP_H
42397                       #include <ieeefp.h>
42398                       #endif
42399
42400 int
42401 main ()
42402 {
42403  finitef(0);
42404   ;
42405   return 0;
42406 }
42407 _ACEOF
42408 if ac_fn_cxx_try_compile "$LINENO"; then :
42409   glibcxx_cv_func_finitef_use=yes
42410 else
42411   glibcxx_cv_func_finitef_use=no
42412 fi
42413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42414       ac_ext=c
42415 ac_cpp='$CPP $CPPFLAGS'
42416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42419
42420
42421 fi
42422
42423   fi
42424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42425 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42426
42427   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42428     for ac_func in finitef
42429 do :
42430   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42431 if test "x$ac_cv_func_finitef" = x""yes; then :
42432   cat >>confdefs.h <<_ACEOF
42433 #define HAVE_FINITEF 1
42434 _ACEOF
42435
42436 fi
42437 done
42438
42439   else
42440
42441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42442 $as_echo_n "checking for _finitef declaration... " >&6; }
42443   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42444     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42445   $as_echo_n "(cached) " >&6
42446 else
42447
42448
42449       ac_ext=cpp
42450 ac_cpp='$CXXCPP $CPPFLAGS'
42451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42454
42455       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42456 /* end confdefs.h.  */
42457 #include <math.h>
42458                       #ifdef HAVE_IEEEFP_H
42459                       #include <ieeefp.h>
42460                       #endif
42461
42462 int
42463 main ()
42464 {
42465  _finitef(0);
42466   ;
42467   return 0;
42468 }
42469 _ACEOF
42470 if ac_fn_cxx_try_compile "$LINENO"; then :
42471   glibcxx_cv_func__finitef_use=yes
42472 else
42473   glibcxx_cv_func__finitef_use=no
42474 fi
42475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42476       ac_ext=c
42477 ac_cpp='$CPP $CPPFLAGS'
42478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42481
42482
42483 fi
42484
42485   fi
42486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42487 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42488
42489     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42490       for ac_func in _finitef
42491 do :
42492   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42493 if test "x$ac_cv_func__finitef" = x""yes; then :
42494   cat >>confdefs.h <<_ACEOF
42495 #define HAVE__FINITEF 1
42496 _ACEOF
42497
42498 fi
42499 done
42500
42501     fi
42502   fi
42503
42504
42505
42506
42507
42508     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42509 $as_echo_n "checking for long double trig functions... " >&6; }
42510   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42511   $as_echo_n "(cached) " >&6
42512 else
42513
42514
42515     ac_ext=cpp
42516 ac_cpp='$CXXCPP $CPPFLAGS'
42517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42520
42521     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42522 /* end confdefs.h.  */
42523 #include <math.h>
42524 int
42525 main ()
42526 {
42527 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42528   ;
42529   return 0;
42530 }
42531 _ACEOF
42532 if ac_fn_cxx_try_compile "$LINENO"; then :
42533   glibcxx_cv_func_long_double_trig_use=yes
42534 else
42535   glibcxx_cv_func_long_double_trig_use=no
42536 fi
42537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42538     ac_ext=c
42539 ac_cpp='$CPP $CPPFLAGS'
42540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42543
42544 fi
42545
42546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42547 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42548   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42549     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42550 do :
42551   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42552 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42553 eval as_val=\$$as_ac_var
42554    if test "x$as_val" = x""yes; then :
42555   cat >>confdefs.h <<_ACEOF
42556 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42557 _ACEOF
42558
42559 fi
42560 done
42561
42562   else
42563     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42564 $as_echo_n "checking for _long double trig functions... " >&6; }
42565     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42566   $as_echo_n "(cached) " >&6
42567 else
42568
42569
42570       ac_ext=cpp
42571 ac_cpp='$CXXCPP $CPPFLAGS'
42572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42575
42576       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42577 /* end confdefs.h.  */
42578 #include <math.h>
42579 int
42580 main ()
42581 {
42582 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42583   ;
42584   return 0;
42585 }
42586 _ACEOF
42587 if ac_fn_cxx_try_compile "$LINENO"; then :
42588   glibcxx_cv_func__long_double_trig_use=yes
42589 else
42590   glibcxx_cv_func__long_double_trig_use=no
42591 fi
42592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42593       ac_ext=c
42594 ac_cpp='$CPP $CPPFLAGS'
42595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42598
42599 fi
42600
42601     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42602 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42603     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42604       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42605 do :
42606   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42607 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42608 eval as_val=\$$as_ac_var
42609    if test "x$as_val" = x""yes; then :
42610   cat >>confdefs.h <<_ACEOF
42611 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42612 _ACEOF
42613
42614 fi
42615 done
42616
42617     fi
42618   fi
42619
42620
42621
42622
42623
42624     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42625 $as_echo_n "checking for long double round functions... " >&6; }
42626   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42627   $as_echo_n "(cached) " >&6
42628 else
42629
42630
42631     ac_ext=cpp
42632 ac_cpp='$CXXCPP $CPPFLAGS'
42633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42636
42637     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42638 /* end confdefs.h.  */
42639 #include <math.h>
42640 int
42641 main ()
42642 {
42643 ceill (0); floorl (0);
42644   ;
42645   return 0;
42646 }
42647 _ACEOF
42648 if ac_fn_cxx_try_compile "$LINENO"; then :
42649   glibcxx_cv_func_long_double_round_use=yes
42650 else
42651   glibcxx_cv_func_long_double_round_use=no
42652 fi
42653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42654     ac_ext=c
42655 ac_cpp='$CPP $CPPFLAGS'
42656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42659
42660 fi
42661
42662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42663 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42664   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42665     for ac_func in ceill floorl
42666 do :
42667   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42668 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42669 eval as_val=\$$as_ac_var
42670    if test "x$as_val" = x""yes; then :
42671   cat >>confdefs.h <<_ACEOF
42672 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42673 _ACEOF
42674
42675 fi
42676 done
42677
42678   else
42679     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42680 $as_echo_n "checking for _long double round functions... " >&6; }
42681     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42682   $as_echo_n "(cached) " >&6
42683 else
42684
42685
42686       ac_ext=cpp
42687 ac_cpp='$CXXCPP $CPPFLAGS'
42688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42691
42692       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42693 /* end confdefs.h.  */
42694 #include <math.h>
42695 int
42696 main ()
42697 {
42698 _ceill (0); _floorl (0);
42699   ;
42700   return 0;
42701 }
42702 _ACEOF
42703 if ac_fn_cxx_try_compile "$LINENO"; then :
42704   glibcxx_cv_func__long_double_round_use=yes
42705 else
42706   glibcxx_cv_func__long_double_round_use=no
42707 fi
42708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42709       ac_ext=c
42710 ac_cpp='$CPP $CPPFLAGS'
42711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42714
42715 fi
42716
42717     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42718 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42719     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42720       for ac_func in _ceill _floorl
42721 do :
42722   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42723 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42724 eval as_val=\$$as_ac_var
42725    if test "x$as_val" = x""yes; then :
42726   cat >>confdefs.h <<_ACEOF
42727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42728 _ACEOF
42729
42730 fi
42731 done
42732
42733     fi
42734   fi
42735
42736
42737
42738
42739
42740
42741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42742 $as_echo_n "checking for isnanl declaration... " >&6; }
42743   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42744     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42745   $as_echo_n "(cached) " >&6
42746 else
42747
42748
42749       ac_ext=cpp
42750 ac_cpp='$CXXCPP $CPPFLAGS'
42751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42754
42755       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42756 /* end confdefs.h.  */
42757 #include <math.h>
42758                       #ifdef HAVE_IEEEFP_H
42759                       #include <ieeefp.h>
42760                       #endif
42761
42762 int
42763 main ()
42764 {
42765  isnanl(0);
42766   ;
42767   return 0;
42768 }
42769 _ACEOF
42770 if ac_fn_cxx_try_compile "$LINENO"; then :
42771   glibcxx_cv_func_isnanl_use=yes
42772 else
42773   glibcxx_cv_func_isnanl_use=no
42774 fi
42775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42776       ac_ext=c
42777 ac_cpp='$CPP $CPPFLAGS'
42778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42781
42782
42783 fi
42784
42785   fi
42786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42787 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42788
42789   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42790     for ac_func in isnanl
42791 do :
42792   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42793 if test "x$ac_cv_func_isnanl" = x""yes; then :
42794   cat >>confdefs.h <<_ACEOF
42795 #define HAVE_ISNANL 1
42796 _ACEOF
42797
42798 fi
42799 done
42800
42801   else
42802
42803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42804 $as_echo_n "checking for _isnanl declaration... " >&6; }
42805   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42806     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42807   $as_echo_n "(cached) " >&6
42808 else
42809
42810
42811       ac_ext=cpp
42812 ac_cpp='$CXXCPP $CPPFLAGS'
42813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42816
42817       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42818 /* end confdefs.h.  */
42819 #include <math.h>
42820                       #ifdef HAVE_IEEEFP_H
42821                       #include <ieeefp.h>
42822                       #endif
42823
42824 int
42825 main ()
42826 {
42827  _isnanl(0);
42828   ;
42829   return 0;
42830 }
42831 _ACEOF
42832 if ac_fn_cxx_try_compile "$LINENO"; then :
42833   glibcxx_cv_func__isnanl_use=yes
42834 else
42835   glibcxx_cv_func__isnanl_use=no
42836 fi
42837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42838       ac_ext=c
42839 ac_cpp='$CPP $CPPFLAGS'
42840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42843
42844
42845 fi
42846
42847   fi
42848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42849 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42850
42851     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42852       for ac_func in _isnanl
42853 do :
42854   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42855 if test "x$ac_cv_func__isnanl" = x""yes; then :
42856   cat >>confdefs.h <<_ACEOF
42857 #define HAVE__ISNANL 1
42858 _ACEOF
42859
42860 fi
42861 done
42862
42863     fi
42864   fi
42865
42866
42867
42868
42869
42870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42871 $as_echo_n "checking for isinfl declaration... " >&6; }
42872   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42873     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42874   $as_echo_n "(cached) " >&6
42875 else
42876
42877
42878       ac_ext=cpp
42879 ac_cpp='$CXXCPP $CPPFLAGS'
42880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42883
42884       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42885 /* end confdefs.h.  */
42886 #include <math.h>
42887                       #ifdef HAVE_IEEEFP_H
42888                       #include <ieeefp.h>
42889                       #endif
42890
42891 int
42892 main ()
42893 {
42894  isinfl(0);
42895   ;
42896   return 0;
42897 }
42898 _ACEOF
42899 if ac_fn_cxx_try_compile "$LINENO"; then :
42900   glibcxx_cv_func_isinfl_use=yes
42901 else
42902   glibcxx_cv_func_isinfl_use=no
42903 fi
42904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42905       ac_ext=c
42906 ac_cpp='$CPP $CPPFLAGS'
42907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42910
42911
42912 fi
42913
42914   fi
42915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42916 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42917
42918   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42919     for ac_func in isinfl
42920 do :
42921   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42922 if test "x$ac_cv_func_isinfl" = x""yes; then :
42923   cat >>confdefs.h <<_ACEOF
42924 #define HAVE_ISINFL 1
42925 _ACEOF
42926
42927 fi
42928 done
42929
42930   else
42931
42932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42933 $as_echo_n "checking for _isinfl declaration... " >&6; }
42934   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42935     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42936   $as_echo_n "(cached) " >&6
42937 else
42938
42939
42940       ac_ext=cpp
42941 ac_cpp='$CXXCPP $CPPFLAGS'
42942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42945
42946       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42947 /* end confdefs.h.  */
42948 #include <math.h>
42949                       #ifdef HAVE_IEEEFP_H
42950                       #include <ieeefp.h>
42951                       #endif
42952
42953 int
42954 main ()
42955 {
42956  _isinfl(0);
42957   ;
42958   return 0;
42959 }
42960 _ACEOF
42961 if ac_fn_cxx_try_compile "$LINENO"; then :
42962   glibcxx_cv_func__isinfl_use=yes
42963 else
42964   glibcxx_cv_func__isinfl_use=no
42965 fi
42966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42967       ac_ext=c
42968 ac_cpp='$CPP $CPPFLAGS'
42969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42972
42973
42974 fi
42975
42976   fi
42977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42978 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42979
42980     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42981       for ac_func in _isinfl
42982 do :
42983   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42984 if test "x$ac_cv_func__isinfl" = x""yes; then :
42985   cat >>confdefs.h <<_ACEOF
42986 #define HAVE__ISINFL 1
42987 _ACEOF
42988
42989 fi
42990 done
42991
42992     fi
42993   fi
42994
42995
42996
42997
42998
42999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43000 $as_echo_n "checking for atan2l declaration... " >&6; }
43001   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43002     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43003   $as_echo_n "(cached) " >&6
43004 else
43005
43006
43007       ac_ext=cpp
43008 ac_cpp='$CXXCPP $CPPFLAGS'
43009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43012
43013       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43014 /* end confdefs.h.  */
43015 #include <math.h>
43016 int
43017 main ()
43018 {
43019  atan2l(0, 0);
43020   ;
43021   return 0;
43022 }
43023 _ACEOF
43024 if ac_fn_cxx_try_compile "$LINENO"; then :
43025   glibcxx_cv_func_atan2l_use=yes
43026 else
43027   glibcxx_cv_func_atan2l_use=no
43028 fi
43029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43030       ac_ext=c
43031 ac_cpp='$CPP $CPPFLAGS'
43032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43035
43036
43037 fi
43038
43039   fi
43040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43041 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43042
43043   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43044     for ac_func in atan2l
43045 do :
43046   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43047 if test "x$ac_cv_func_atan2l" = x""yes; then :
43048   cat >>confdefs.h <<_ACEOF
43049 #define HAVE_ATAN2L 1
43050 _ACEOF
43051
43052 fi
43053 done
43054
43055   else
43056
43057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43058 $as_echo_n "checking for _atan2l declaration... " >&6; }
43059   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43060     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43061   $as_echo_n "(cached) " >&6
43062 else
43063
43064
43065       ac_ext=cpp
43066 ac_cpp='$CXXCPP $CPPFLAGS'
43067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43070
43071       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43072 /* end confdefs.h.  */
43073 #include <math.h>
43074 int
43075 main ()
43076 {
43077  _atan2l(0, 0);
43078   ;
43079   return 0;
43080 }
43081 _ACEOF
43082 if ac_fn_cxx_try_compile "$LINENO"; then :
43083   glibcxx_cv_func__atan2l_use=yes
43084 else
43085   glibcxx_cv_func__atan2l_use=no
43086 fi
43087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43088       ac_ext=c
43089 ac_cpp='$CPP $CPPFLAGS'
43090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43093
43094
43095 fi
43096
43097   fi
43098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43099 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43100
43101     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43102       for ac_func in _atan2l
43103 do :
43104   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43105 if test "x$ac_cv_func__atan2l" = x""yes; then :
43106   cat >>confdefs.h <<_ACEOF
43107 #define HAVE__ATAN2L 1
43108 _ACEOF
43109
43110 fi
43111 done
43112
43113     fi
43114   fi
43115
43116
43117
43118
43119
43120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43121 $as_echo_n "checking for expl declaration... " >&6; }
43122   if test x${glibcxx_cv_func_expl_use+set} != xset; then
43123     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43124   $as_echo_n "(cached) " >&6
43125 else
43126
43127
43128       ac_ext=cpp
43129 ac_cpp='$CXXCPP $CPPFLAGS'
43130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43133
43134       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43135 /* end confdefs.h.  */
43136 #include <math.h>
43137                       #ifdef HAVE_IEEEFP_H
43138                       #include <ieeefp.h>
43139                       #endif
43140
43141 int
43142 main ()
43143 {
43144  expl(0);
43145   ;
43146   return 0;
43147 }
43148 _ACEOF
43149 if ac_fn_cxx_try_compile "$LINENO"; then :
43150   glibcxx_cv_func_expl_use=yes
43151 else
43152   glibcxx_cv_func_expl_use=no
43153 fi
43154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43155       ac_ext=c
43156 ac_cpp='$CPP $CPPFLAGS'
43157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43160
43161
43162 fi
43163
43164   fi
43165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43166 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43167
43168   if test x$glibcxx_cv_func_expl_use = x"yes"; then
43169     for ac_func in expl
43170 do :
43171   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43172 if test "x$ac_cv_func_expl" = x""yes; then :
43173   cat >>confdefs.h <<_ACEOF
43174 #define HAVE_EXPL 1
43175 _ACEOF
43176
43177 fi
43178 done
43179
43180   else
43181
43182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43183 $as_echo_n "checking for _expl declaration... " >&6; }
43184   if test x${glibcxx_cv_func__expl_use+set} != xset; then
43185     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43186   $as_echo_n "(cached) " >&6
43187 else
43188
43189
43190       ac_ext=cpp
43191 ac_cpp='$CXXCPP $CPPFLAGS'
43192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43195
43196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43197 /* end confdefs.h.  */
43198 #include <math.h>
43199                       #ifdef HAVE_IEEEFP_H
43200                       #include <ieeefp.h>
43201                       #endif
43202
43203 int
43204 main ()
43205 {
43206  _expl(0);
43207   ;
43208   return 0;
43209 }
43210 _ACEOF
43211 if ac_fn_cxx_try_compile "$LINENO"; then :
43212   glibcxx_cv_func__expl_use=yes
43213 else
43214   glibcxx_cv_func__expl_use=no
43215 fi
43216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43217       ac_ext=c
43218 ac_cpp='$CPP $CPPFLAGS'
43219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43222
43223
43224 fi
43225
43226   fi
43227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43228 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43229
43230     if test x$glibcxx_cv_func__expl_use = x"yes"; then
43231       for ac_func in _expl
43232 do :
43233   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43234 if test "x$ac_cv_func__expl" = x""yes; then :
43235   cat >>confdefs.h <<_ACEOF
43236 #define HAVE__EXPL 1
43237 _ACEOF
43238
43239 fi
43240 done
43241
43242     fi
43243   fi
43244
43245
43246
43247
43248
43249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43250 $as_echo_n "checking for fabsl declaration... " >&6; }
43251   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43252     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43253   $as_echo_n "(cached) " >&6
43254 else
43255
43256
43257       ac_ext=cpp
43258 ac_cpp='$CXXCPP $CPPFLAGS'
43259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43262
43263       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43264 /* end confdefs.h.  */
43265 #include <math.h>
43266                       #ifdef HAVE_IEEEFP_H
43267                       #include <ieeefp.h>
43268                       #endif
43269
43270 int
43271 main ()
43272 {
43273  fabsl(0);
43274   ;
43275   return 0;
43276 }
43277 _ACEOF
43278 if ac_fn_cxx_try_compile "$LINENO"; then :
43279   glibcxx_cv_func_fabsl_use=yes
43280 else
43281   glibcxx_cv_func_fabsl_use=no
43282 fi
43283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43284       ac_ext=c
43285 ac_cpp='$CPP $CPPFLAGS'
43286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43289
43290
43291 fi
43292
43293   fi
43294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43295 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43296
43297   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43298     for ac_func in fabsl
43299 do :
43300   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43301 if test "x$ac_cv_func_fabsl" = x""yes; then :
43302   cat >>confdefs.h <<_ACEOF
43303 #define HAVE_FABSL 1
43304 _ACEOF
43305
43306 fi
43307 done
43308
43309   else
43310
43311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43312 $as_echo_n "checking for _fabsl declaration... " >&6; }
43313   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43314     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43315   $as_echo_n "(cached) " >&6
43316 else
43317
43318
43319       ac_ext=cpp
43320 ac_cpp='$CXXCPP $CPPFLAGS'
43321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43324
43325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43326 /* end confdefs.h.  */
43327 #include <math.h>
43328                       #ifdef HAVE_IEEEFP_H
43329                       #include <ieeefp.h>
43330                       #endif
43331
43332 int
43333 main ()
43334 {
43335  _fabsl(0);
43336   ;
43337   return 0;
43338 }
43339 _ACEOF
43340 if ac_fn_cxx_try_compile "$LINENO"; then :
43341   glibcxx_cv_func__fabsl_use=yes
43342 else
43343   glibcxx_cv_func__fabsl_use=no
43344 fi
43345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43346       ac_ext=c
43347 ac_cpp='$CPP $CPPFLAGS'
43348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43351
43352
43353 fi
43354
43355   fi
43356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43357 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43358
43359     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43360       for ac_func in _fabsl
43361 do :
43362   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43363 if test "x$ac_cv_func__fabsl" = x""yes; then :
43364   cat >>confdefs.h <<_ACEOF
43365 #define HAVE__FABSL 1
43366 _ACEOF
43367
43368 fi
43369 done
43370
43371     fi
43372   fi
43373
43374
43375
43376
43377
43378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43379 $as_echo_n "checking for fmodl declaration... " >&6; }
43380   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43381     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43382   $as_echo_n "(cached) " >&6
43383 else
43384
43385
43386       ac_ext=cpp
43387 ac_cpp='$CXXCPP $CPPFLAGS'
43388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43391
43392       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43393 /* end confdefs.h.  */
43394 #include <math.h>
43395 int
43396 main ()
43397 {
43398  fmodl(0, 0);
43399   ;
43400   return 0;
43401 }
43402 _ACEOF
43403 if ac_fn_cxx_try_compile "$LINENO"; then :
43404   glibcxx_cv_func_fmodl_use=yes
43405 else
43406   glibcxx_cv_func_fmodl_use=no
43407 fi
43408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43409       ac_ext=c
43410 ac_cpp='$CPP $CPPFLAGS'
43411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43414
43415
43416 fi
43417
43418   fi
43419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43420 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43421
43422   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43423     for ac_func in fmodl
43424 do :
43425   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43426 if test "x$ac_cv_func_fmodl" = x""yes; then :
43427   cat >>confdefs.h <<_ACEOF
43428 #define HAVE_FMODL 1
43429 _ACEOF
43430
43431 fi
43432 done
43433
43434   else
43435
43436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43437 $as_echo_n "checking for _fmodl declaration... " >&6; }
43438   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43439     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43440   $as_echo_n "(cached) " >&6
43441 else
43442
43443
43444       ac_ext=cpp
43445 ac_cpp='$CXXCPP $CPPFLAGS'
43446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43449
43450       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43451 /* end confdefs.h.  */
43452 #include <math.h>
43453 int
43454 main ()
43455 {
43456  _fmodl(0, 0);
43457   ;
43458   return 0;
43459 }
43460 _ACEOF
43461 if ac_fn_cxx_try_compile "$LINENO"; then :
43462   glibcxx_cv_func__fmodl_use=yes
43463 else
43464   glibcxx_cv_func__fmodl_use=no
43465 fi
43466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43467       ac_ext=c
43468 ac_cpp='$CPP $CPPFLAGS'
43469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43472
43473
43474 fi
43475
43476   fi
43477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43478 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43479
43480     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43481       for ac_func in _fmodl
43482 do :
43483   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43484 if test "x$ac_cv_func__fmodl" = x""yes; then :
43485   cat >>confdefs.h <<_ACEOF
43486 #define HAVE__FMODL 1
43487 _ACEOF
43488
43489 fi
43490 done
43491
43492     fi
43493   fi
43494
43495
43496
43497
43498
43499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43500 $as_echo_n "checking for frexpl declaration... " >&6; }
43501   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43502     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43503   $as_echo_n "(cached) " >&6
43504 else
43505
43506
43507       ac_ext=cpp
43508 ac_cpp='$CXXCPP $CPPFLAGS'
43509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43512
43513       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43514 /* end confdefs.h.  */
43515 #include <math.h>
43516 int
43517 main ()
43518 {
43519  frexpl(0, 0);
43520   ;
43521   return 0;
43522 }
43523 _ACEOF
43524 if ac_fn_cxx_try_compile "$LINENO"; then :
43525   glibcxx_cv_func_frexpl_use=yes
43526 else
43527   glibcxx_cv_func_frexpl_use=no
43528 fi
43529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43530       ac_ext=c
43531 ac_cpp='$CPP $CPPFLAGS'
43532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43535
43536
43537 fi
43538
43539   fi
43540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43541 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43542
43543   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43544     for ac_func in frexpl
43545 do :
43546   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43547 if test "x$ac_cv_func_frexpl" = x""yes; then :
43548   cat >>confdefs.h <<_ACEOF
43549 #define HAVE_FREXPL 1
43550 _ACEOF
43551
43552 fi
43553 done
43554
43555   else
43556
43557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43558 $as_echo_n "checking for _frexpl declaration... " >&6; }
43559   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43560     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43561   $as_echo_n "(cached) " >&6
43562 else
43563
43564
43565       ac_ext=cpp
43566 ac_cpp='$CXXCPP $CPPFLAGS'
43567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43570
43571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43572 /* end confdefs.h.  */
43573 #include <math.h>
43574 int
43575 main ()
43576 {
43577  _frexpl(0, 0);
43578   ;
43579   return 0;
43580 }
43581 _ACEOF
43582 if ac_fn_cxx_try_compile "$LINENO"; then :
43583   glibcxx_cv_func__frexpl_use=yes
43584 else
43585   glibcxx_cv_func__frexpl_use=no
43586 fi
43587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43588       ac_ext=c
43589 ac_cpp='$CPP $CPPFLAGS'
43590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43593
43594
43595 fi
43596
43597   fi
43598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43599 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43600
43601     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43602       for ac_func in _frexpl
43603 do :
43604   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43605 if test "x$ac_cv_func__frexpl" = x""yes; then :
43606   cat >>confdefs.h <<_ACEOF
43607 #define HAVE__FREXPL 1
43608 _ACEOF
43609
43610 fi
43611 done
43612
43613     fi
43614   fi
43615
43616
43617
43618
43619
43620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43621 $as_echo_n "checking for hypotl declaration... " >&6; }
43622   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43623     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43624   $as_echo_n "(cached) " >&6
43625 else
43626
43627
43628       ac_ext=cpp
43629 ac_cpp='$CXXCPP $CPPFLAGS'
43630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43633
43634       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43635 /* end confdefs.h.  */
43636 #include <math.h>
43637 int
43638 main ()
43639 {
43640  hypotl(0, 0);
43641   ;
43642   return 0;
43643 }
43644 _ACEOF
43645 if ac_fn_cxx_try_compile "$LINENO"; then :
43646   glibcxx_cv_func_hypotl_use=yes
43647 else
43648   glibcxx_cv_func_hypotl_use=no
43649 fi
43650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43651       ac_ext=c
43652 ac_cpp='$CPP $CPPFLAGS'
43653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43656
43657
43658 fi
43659
43660   fi
43661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43662 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43663
43664   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43665     for ac_func in hypotl
43666 do :
43667   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43668 if test "x$ac_cv_func_hypotl" = x""yes; then :
43669   cat >>confdefs.h <<_ACEOF
43670 #define HAVE_HYPOTL 1
43671 _ACEOF
43672
43673 fi
43674 done
43675
43676   else
43677
43678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43679 $as_echo_n "checking for _hypotl declaration... " >&6; }
43680   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43681     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43682   $as_echo_n "(cached) " >&6
43683 else
43684
43685
43686       ac_ext=cpp
43687 ac_cpp='$CXXCPP $CPPFLAGS'
43688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43691
43692       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43693 /* end confdefs.h.  */
43694 #include <math.h>
43695 int
43696 main ()
43697 {
43698  _hypotl(0, 0);
43699   ;
43700   return 0;
43701 }
43702 _ACEOF
43703 if ac_fn_cxx_try_compile "$LINENO"; then :
43704   glibcxx_cv_func__hypotl_use=yes
43705 else
43706   glibcxx_cv_func__hypotl_use=no
43707 fi
43708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43709       ac_ext=c
43710 ac_cpp='$CPP $CPPFLAGS'
43711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43714
43715
43716 fi
43717
43718   fi
43719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43720 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43721
43722     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43723       for ac_func in _hypotl
43724 do :
43725   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43726 if test "x$ac_cv_func__hypotl" = x""yes; then :
43727   cat >>confdefs.h <<_ACEOF
43728 #define HAVE__HYPOTL 1
43729 _ACEOF
43730
43731 fi
43732 done
43733
43734     fi
43735   fi
43736
43737
43738
43739
43740
43741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43742 $as_echo_n "checking for ldexpl declaration... " >&6; }
43743   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43744     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43745   $as_echo_n "(cached) " >&6
43746 else
43747
43748
43749       ac_ext=cpp
43750 ac_cpp='$CXXCPP $CPPFLAGS'
43751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43754
43755       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43756 /* end confdefs.h.  */
43757 #include <math.h>
43758 int
43759 main ()
43760 {
43761  ldexpl(0, 0);
43762   ;
43763   return 0;
43764 }
43765 _ACEOF
43766 if ac_fn_cxx_try_compile "$LINENO"; then :
43767   glibcxx_cv_func_ldexpl_use=yes
43768 else
43769   glibcxx_cv_func_ldexpl_use=no
43770 fi
43771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43772       ac_ext=c
43773 ac_cpp='$CPP $CPPFLAGS'
43774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43777
43778
43779 fi
43780
43781   fi
43782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43783 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43784
43785   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43786     for ac_func in ldexpl
43787 do :
43788   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43789 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43790   cat >>confdefs.h <<_ACEOF
43791 #define HAVE_LDEXPL 1
43792 _ACEOF
43793
43794 fi
43795 done
43796
43797   else
43798
43799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43800 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43801   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43802     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43803   $as_echo_n "(cached) " >&6
43804 else
43805
43806
43807       ac_ext=cpp
43808 ac_cpp='$CXXCPP $CPPFLAGS'
43809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43812
43813       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43814 /* end confdefs.h.  */
43815 #include <math.h>
43816 int
43817 main ()
43818 {
43819  _ldexpl(0, 0);
43820   ;
43821   return 0;
43822 }
43823 _ACEOF
43824 if ac_fn_cxx_try_compile "$LINENO"; then :
43825   glibcxx_cv_func__ldexpl_use=yes
43826 else
43827   glibcxx_cv_func__ldexpl_use=no
43828 fi
43829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43830       ac_ext=c
43831 ac_cpp='$CPP $CPPFLAGS'
43832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43835
43836
43837 fi
43838
43839   fi
43840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43841 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43842
43843     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43844       for ac_func in _ldexpl
43845 do :
43846   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43847 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43848   cat >>confdefs.h <<_ACEOF
43849 #define HAVE__LDEXPL 1
43850 _ACEOF
43851
43852 fi
43853 done
43854
43855     fi
43856   fi
43857
43858
43859
43860
43861
43862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43863 $as_echo_n "checking for logl declaration... " >&6; }
43864   if test x${glibcxx_cv_func_logl_use+set} != xset; then
43865     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43866   $as_echo_n "(cached) " >&6
43867 else
43868
43869
43870       ac_ext=cpp
43871 ac_cpp='$CXXCPP $CPPFLAGS'
43872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43875
43876       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43877 /* end confdefs.h.  */
43878 #include <math.h>
43879                       #ifdef HAVE_IEEEFP_H
43880                       #include <ieeefp.h>
43881                       #endif
43882
43883 int
43884 main ()
43885 {
43886  logl(0);
43887   ;
43888   return 0;
43889 }
43890 _ACEOF
43891 if ac_fn_cxx_try_compile "$LINENO"; then :
43892   glibcxx_cv_func_logl_use=yes
43893 else
43894   glibcxx_cv_func_logl_use=no
43895 fi
43896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43897       ac_ext=c
43898 ac_cpp='$CPP $CPPFLAGS'
43899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43902
43903
43904 fi
43905
43906   fi
43907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43908 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43909
43910   if test x$glibcxx_cv_func_logl_use = x"yes"; then
43911     for ac_func in logl
43912 do :
43913   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43914 if test "x$ac_cv_func_logl" = x""yes; then :
43915   cat >>confdefs.h <<_ACEOF
43916 #define HAVE_LOGL 1
43917 _ACEOF
43918
43919 fi
43920 done
43921
43922   else
43923
43924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43925 $as_echo_n "checking for _logl declaration... " >&6; }
43926   if test x${glibcxx_cv_func__logl_use+set} != xset; then
43927     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43928   $as_echo_n "(cached) " >&6
43929 else
43930
43931
43932       ac_ext=cpp
43933 ac_cpp='$CXXCPP $CPPFLAGS'
43934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43937
43938       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43939 /* end confdefs.h.  */
43940 #include <math.h>
43941                       #ifdef HAVE_IEEEFP_H
43942                       #include <ieeefp.h>
43943                       #endif
43944
43945 int
43946 main ()
43947 {
43948  _logl(0);
43949   ;
43950   return 0;
43951 }
43952 _ACEOF
43953 if ac_fn_cxx_try_compile "$LINENO"; then :
43954   glibcxx_cv_func__logl_use=yes
43955 else
43956   glibcxx_cv_func__logl_use=no
43957 fi
43958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43959       ac_ext=c
43960 ac_cpp='$CPP $CPPFLAGS'
43961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43964
43965
43966 fi
43967
43968   fi
43969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43970 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43971
43972     if test x$glibcxx_cv_func__logl_use = x"yes"; then
43973       for ac_func in _logl
43974 do :
43975   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43976 if test "x$ac_cv_func__logl" = x""yes; then :
43977   cat >>confdefs.h <<_ACEOF
43978 #define HAVE__LOGL 1
43979 _ACEOF
43980
43981 fi
43982 done
43983
43984     fi
43985   fi
43986
43987
43988
43989
43990
43991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43992 $as_echo_n "checking for log10l declaration... " >&6; }
43993   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43994     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43995   $as_echo_n "(cached) " >&6
43996 else
43997
43998
43999       ac_ext=cpp
44000 ac_cpp='$CXXCPP $CPPFLAGS'
44001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44004
44005       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44006 /* end confdefs.h.  */
44007 #include <math.h>
44008                       #ifdef HAVE_IEEEFP_H
44009                       #include <ieeefp.h>
44010                       #endif
44011
44012 int
44013 main ()
44014 {
44015  log10l(0);
44016   ;
44017   return 0;
44018 }
44019 _ACEOF
44020 if ac_fn_cxx_try_compile "$LINENO"; then :
44021   glibcxx_cv_func_log10l_use=yes
44022 else
44023   glibcxx_cv_func_log10l_use=no
44024 fi
44025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44026       ac_ext=c
44027 ac_cpp='$CPP $CPPFLAGS'
44028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44031
44032
44033 fi
44034
44035   fi
44036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44037 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44038
44039   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44040     for ac_func in log10l
44041 do :
44042   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44043 if test "x$ac_cv_func_log10l" = x""yes; then :
44044   cat >>confdefs.h <<_ACEOF
44045 #define HAVE_LOG10L 1
44046 _ACEOF
44047
44048 fi
44049 done
44050
44051   else
44052
44053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44054 $as_echo_n "checking for _log10l declaration... " >&6; }
44055   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44056     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44057   $as_echo_n "(cached) " >&6
44058 else
44059
44060
44061       ac_ext=cpp
44062 ac_cpp='$CXXCPP $CPPFLAGS'
44063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44066
44067       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44068 /* end confdefs.h.  */
44069 #include <math.h>
44070                       #ifdef HAVE_IEEEFP_H
44071                       #include <ieeefp.h>
44072                       #endif
44073
44074 int
44075 main ()
44076 {
44077  _log10l(0);
44078   ;
44079   return 0;
44080 }
44081 _ACEOF
44082 if ac_fn_cxx_try_compile "$LINENO"; then :
44083   glibcxx_cv_func__log10l_use=yes
44084 else
44085   glibcxx_cv_func__log10l_use=no
44086 fi
44087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44088       ac_ext=c
44089 ac_cpp='$CPP $CPPFLAGS'
44090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44093
44094
44095 fi
44096
44097   fi
44098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44099 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44100
44101     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44102       for ac_func in _log10l
44103 do :
44104   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44105 if test "x$ac_cv_func__log10l" = x""yes; then :
44106   cat >>confdefs.h <<_ACEOF
44107 #define HAVE__LOG10L 1
44108 _ACEOF
44109
44110 fi
44111 done
44112
44113     fi
44114   fi
44115
44116
44117
44118
44119
44120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44121 $as_echo_n "checking for modfl declaration... " >&6; }
44122   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44123     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44124   $as_echo_n "(cached) " >&6
44125 else
44126
44127
44128       ac_ext=cpp
44129 ac_cpp='$CXXCPP $CPPFLAGS'
44130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44133
44134       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44135 /* end confdefs.h.  */
44136 #include <math.h>
44137 int
44138 main ()
44139 {
44140  modfl(0, 0);
44141   ;
44142   return 0;
44143 }
44144 _ACEOF
44145 if ac_fn_cxx_try_compile "$LINENO"; then :
44146   glibcxx_cv_func_modfl_use=yes
44147 else
44148   glibcxx_cv_func_modfl_use=no
44149 fi
44150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44151       ac_ext=c
44152 ac_cpp='$CPP $CPPFLAGS'
44153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44156
44157
44158 fi
44159
44160   fi
44161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44162 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44163
44164   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44165     for ac_func in modfl
44166 do :
44167   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44168 if test "x$ac_cv_func_modfl" = x""yes; then :
44169   cat >>confdefs.h <<_ACEOF
44170 #define HAVE_MODFL 1
44171 _ACEOF
44172
44173 fi
44174 done
44175
44176   else
44177
44178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44179 $as_echo_n "checking for _modfl declaration... " >&6; }
44180   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44181     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44182   $as_echo_n "(cached) " >&6
44183 else
44184
44185
44186       ac_ext=cpp
44187 ac_cpp='$CXXCPP $CPPFLAGS'
44188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44191
44192       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44193 /* end confdefs.h.  */
44194 #include <math.h>
44195 int
44196 main ()
44197 {
44198  _modfl(0, 0);
44199   ;
44200   return 0;
44201 }
44202 _ACEOF
44203 if ac_fn_cxx_try_compile "$LINENO"; then :
44204   glibcxx_cv_func__modfl_use=yes
44205 else
44206   glibcxx_cv_func__modfl_use=no
44207 fi
44208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44209       ac_ext=c
44210 ac_cpp='$CPP $CPPFLAGS'
44211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44214
44215
44216 fi
44217
44218   fi
44219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44220 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44221
44222     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44223       for ac_func in _modfl
44224 do :
44225   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44226 if test "x$ac_cv_func__modfl" = x""yes; then :
44227   cat >>confdefs.h <<_ACEOF
44228 #define HAVE__MODFL 1
44229 _ACEOF
44230
44231 fi
44232 done
44233
44234     fi
44235   fi
44236
44237
44238
44239
44240
44241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44242 $as_echo_n "checking for powl declaration... " >&6; }
44243   if test x${glibcxx_cv_func_powl_use+set} != xset; then
44244     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44245   $as_echo_n "(cached) " >&6
44246 else
44247
44248
44249       ac_ext=cpp
44250 ac_cpp='$CXXCPP $CPPFLAGS'
44251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44254
44255       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44256 /* end confdefs.h.  */
44257 #include <math.h>
44258 int
44259 main ()
44260 {
44261  powl(0, 0);
44262   ;
44263   return 0;
44264 }
44265 _ACEOF
44266 if ac_fn_cxx_try_compile "$LINENO"; then :
44267   glibcxx_cv_func_powl_use=yes
44268 else
44269   glibcxx_cv_func_powl_use=no
44270 fi
44271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44272       ac_ext=c
44273 ac_cpp='$CPP $CPPFLAGS'
44274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44277
44278
44279 fi
44280
44281   fi
44282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44283 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44284
44285   if test x$glibcxx_cv_func_powl_use = x"yes"; then
44286     for ac_func in powl
44287 do :
44288   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44289 if test "x$ac_cv_func_powl" = x""yes; then :
44290   cat >>confdefs.h <<_ACEOF
44291 #define HAVE_POWL 1
44292 _ACEOF
44293
44294 fi
44295 done
44296
44297   else
44298
44299   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44300 $as_echo_n "checking for _powl declaration... " >&6; }
44301   if test x${glibcxx_cv_func__powl_use+set} != xset; then
44302     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44303   $as_echo_n "(cached) " >&6
44304 else
44305
44306
44307       ac_ext=cpp
44308 ac_cpp='$CXXCPP $CPPFLAGS'
44309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44312
44313       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44314 /* end confdefs.h.  */
44315 #include <math.h>
44316 int
44317 main ()
44318 {
44319  _powl(0, 0);
44320   ;
44321   return 0;
44322 }
44323 _ACEOF
44324 if ac_fn_cxx_try_compile "$LINENO"; then :
44325   glibcxx_cv_func__powl_use=yes
44326 else
44327   glibcxx_cv_func__powl_use=no
44328 fi
44329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44330       ac_ext=c
44331 ac_cpp='$CPP $CPPFLAGS'
44332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44335
44336
44337 fi
44338
44339   fi
44340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44341 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44342
44343     if test x$glibcxx_cv_func__powl_use = x"yes"; then
44344       for ac_func in _powl
44345 do :
44346   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44347 if test "x$ac_cv_func__powl" = x""yes; then :
44348   cat >>confdefs.h <<_ACEOF
44349 #define HAVE__POWL 1
44350 _ACEOF
44351
44352 fi
44353 done
44354
44355     fi
44356   fi
44357
44358
44359
44360
44361
44362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44363 $as_echo_n "checking for sqrtl declaration... " >&6; }
44364   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44365     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44366   $as_echo_n "(cached) " >&6
44367 else
44368
44369
44370       ac_ext=cpp
44371 ac_cpp='$CXXCPP $CPPFLAGS'
44372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44375
44376       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44377 /* end confdefs.h.  */
44378 #include <math.h>
44379                       #ifdef HAVE_IEEEFP_H
44380                       #include <ieeefp.h>
44381                       #endif
44382
44383 int
44384 main ()
44385 {
44386  sqrtl(0);
44387   ;
44388   return 0;
44389 }
44390 _ACEOF
44391 if ac_fn_cxx_try_compile "$LINENO"; then :
44392   glibcxx_cv_func_sqrtl_use=yes
44393 else
44394   glibcxx_cv_func_sqrtl_use=no
44395 fi
44396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44397       ac_ext=c
44398 ac_cpp='$CPP $CPPFLAGS'
44399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44402
44403
44404 fi
44405
44406   fi
44407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44408 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44409
44410   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44411     for ac_func in sqrtl
44412 do :
44413   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44414 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44415   cat >>confdefs.h <<_ACEOF
44416 #define HAVE_SQRTL 1
44417 _ACEOF
44418
44419 fi
44420 done
44421
44422   else
44423
44424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44425 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44426   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44427     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44428   $as_echo_n "(cached) " >&6
44429 else
44430
44431
44432       ac_ext=cpp
44433 ac_cpp='$CXXCPP $CPPFLAGS'
44434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44437
44438       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44439 /* end confdefs.h.  */
44440 #include <math.h>
44441                       #ifdef HAVE_IEEEFP_H
44442                       #include <ieeefp.h>
44443                       #endif
44444
44445 int
44446 main ()
44447 {
44448  _sqrtl(0);
44449   ;
44450   return 0;
44451 }
44452 _ACEOF
44453 if ac_fn_cxx_try_compile "$LINENO"; then :
44454   glibcxx_cv_func__sqrtl_use=yes
44455 else
44456   glibcxx_cv_func__sqrtl_use=no
44457 fi
44458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44459       ac_ext=c
44460 ac_cpp='$CPP $CPPFLAGS'
44461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44464
44465
44466 fi
44467
44468   fi
44469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44470 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44471
44472     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44473       for ac_func in _sqrtl
44474 do :
44475   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44476 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44477   cat >>confdefs.h <<_ACEOF
44478 #define HAVE__SQRTL 1
44479 _ACEOF
44480
44481 fi
44482 done
44483
44484     fi
44485   fi
44486
44487
44488
44489
44490
44491   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44492 $as_echo_n "checking for sincosl declaration... " >&6; }
44493   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44494     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44495   $as_echo_n "(cached) " >&6
44496 else
44497
44498
44499       ac_ext=cpp
44500 ac_cpp='$CXXCPP $CPPFLAGS'
44501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44504
44505       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44506 /* end confdefs.h.  */
44507 #include <math.h>
44508 int
44509 main ()
44510 {
44511  sincosl(0, 0, 0);
44512   ;
44513   return 0;
44514 }
44515 _ACEOF
44516 if ac_fn_cxx_try_compile "$LINENO"; then :
44517   glibcxx_cv_func_sincosl_use=yes
44518 else
44519   glibcxx_cv_func_sincosl_use=no
44520 fi
44521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44522       ac_ext=c
44523 ac_cpp='$CPP $CPPFLAGS'
44524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44527
44528
44529 fi
44530
44531   fi
44532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44533 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44534
44535   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44536     for ac_func in sincosl
44537 do :
44538   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44539 if test "x$ac_cv_func_sincosl" = x""yes; then :
44540   cat >>confdefs.h <<_ACEOF
44541 #define HAVE_SINCOSL 1
44542 _ACEOF
44543
44544 fi
44545 done
44546
44547   else
44548
44549   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44550 $as_echo_n "checking for _sincosl declaration... " >&6; }
44551   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44552     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44553   $as_echo_n "(cached) " >&6
44554 else
44555
44556
44557       ac_ext=cpp
44558 ac_cpp='$CXXCPP $CPPFLAGS'
44559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44562
44563       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44564 /* end confdefs.h.  */
44565 #include <math.h>
44566 int
44567 main ()
44568 {
44569  _sincosl(0, 0, 0);
44570   ;
44571   return 0;
44572 }
44573 _ACEOF
44574 if ac_fn_cxx_try_compile "$LINENO"; then :
44575   glibcxx_cv_func__sincosl_use=yes
44576 else
44577   glibcxx_cv_func__sincosl_use=no
44578 fi
44579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44580       ac_ext=c
44581 ac_cpp='$CPP $CPPFLAGS'
44582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44585
44586
44587 fi
44588
44589   fi
44590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44591 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44592
44593     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44594       for ac_func in _sincosl
44595 do :
44596   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44597 if test "x$ac_cv_func__sincosl" = x""yes; then :
44598   cat >>confdefs.h <<_ACEOF
44599 #define HAVE__SINCOSL 1
44600 _ACEOF
44601
44602 fi
44603 done
44604
44605     fi
44606   fi
44607
44608
44609
44610
44611
44612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44613 $as_echo_n "checking for finitel declaration... " >&6; }
44614   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44615     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44616   $as_echo_n "(cached) " >&6
44617 else
44618
44619
44620       ac_ext=cpp
44621 ac_cpp='$CXXCPP $CPPFLAGS'
44622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44625
44626       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44627 /* end confdefs.h.  */
44628 #include <math.h>
44629                       #ifdef HAVE_IEEEFP_H
44630                       #include <ieeefp.h>
44631                       #endif
44632
44633 int
44634 main ()
44635 {
44636  finitel(0);
44637   ;
44638   return 0;
44639 }
44640 _ACEOF
44641 if ac_fn_cxx_try_compile "$LINENO"; then :
44642   glibcxx_cv_func_finitel_use=yes
44643 else
44644   glibcxx_cv_func_finitel_use=no
44645 fi
44646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44647       ac_ext=c
44648 ac_cpp='$CPP $CPPFLAGS'
44649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44652
44653
44654 fi
44655
44656   fi
44657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44658 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44659
44660   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44661     for ac_func in finitel
44662 do :
44663   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44664 if test "x$ac_cv_func_finitel" = x""yes; then :
44665   cat >>confdefs.h <<_ACEOF
44666 #define HAVE_FINITEL 1
44667 _ACEOF
44668
44669 fi
44670 done
44671
44672   else
44673
44674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44675 $as_echo_n "checking for _finitel declaration... " >&6; }
44676   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44677     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44678   $as_echo_n "(cached) " >&6
44679 else
44680
44681
44682       ac_ext=cpp
44683 ac_cpp='$CXXCPP $CPPFLAGS'
44684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44687
44688       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44689 /* end confdefs.h.  */
44690 #include <math.h>
44691                       #ifdef HAVE_IEEEFP_H
44692                       #include <ieeefp.h>
44693                       #endif
44694
44695 int
44696 main ()
44697 {
44698  _finitel(0);
44699   ;
44700   return 0;
44701 }
44702 _ACEOF
44703 if ac_fn_cxx_try_compile "$LINENO"; then :
44704   glibcxx_cv_func__finitel_use=yes
44705 else
44706   glibcxx_cv_func__finitel_use=no
44707 fi
44708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44709       ac_ext=c
44710 ac_cpp='$CPP $CPPFLAGS'
44711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44714
44715
44716 fi
44717
44718   fi
44719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44720 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44721
44722     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44723       for ac_func in _finitel
44724 do :
44725   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44726 if test "x$ac_cv_func__finitel" = x""yes; then :
44727   cat >>confdefs.h <<_ACEOF
44728 #define HAVE__FINITEL 1
44729 _ACEOF
44730
44731 fi
44732 done
44733
44734     fi
44735   fi
44736
44737
44738
44739
44740   LIBS="$ac_save_LIBS"
44741   CXXFLAGS="$ac_save_CXXFLAGS"
44742
44743
44744   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44745   ac_save_CXXFLAGS="$CXXFLAGS"
44746   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44747
44748
44749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44750 $as_echo_n "checking for strtold declaration... " >&6; }
44751   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44752     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44753   $as_echo_n "(cached) " >&6
44754 else
44755
44756
44757       ac_ext=cpp
44758 ac_cpp='$CXXCPP $CPPFLAGS'
44759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44762
44763       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44764 /* end confdefs.h.  */
44765 #include <stdlib.h>
44766 int
44767 main ()
44768 {
44769  strtold(0, 0);
44770   ;
44771   return 0;
44772 }
44773 _ACEOF
44774 if ac_fn_cxx_try_compile "$LINENO"; then :
44775   glibcxx_cv_func_strtold_use=yes
44776 else
44777   glibcxx_cv_func_strtold_use=no
44778 fi
44779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44780       ac_ext=c
44781 ac_cpp='$CPP $CPPFLAGS'
44782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44785
44786
44787 fi
44788
44789   fi
44790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44791 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44792   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44793     for ac_func in strtold
44794 do :
44795   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44796 if test "x$ac_cv_func_strtold" = x""yes; then :
44797   cat >>confdefs.h <<_ACEOF
44798 #define HAVE_STRTOLD 1
44799 _ACEOF
44800
44801 fi
44802 done
44803
44804   fi
44805
44806
44807
44808
44809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44810 $as_echo_n "checking for strtof declaration... " >&6; }
44811   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44812     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44813   $as_echo_n "(cached) " >&6
44814 else
44815
44816
44817       ac_ext=cpp
44818 ac_cpp='$CXXCPP $CPPFLAGS'
44819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44822
44823       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44824 /* end confdefs.h.  */
44825 #include <stdlib.h>
44826 int
44827 main ()
44828 {
44829  strtof(0, 0);
44830   ;
44831   return 0;
44832 }
44833 _ACEOF
44834 if ac_fn_cxx_try_compile "$LINENO"; then :
44835   glibcxx_cv_func_strtof_use=yes
44836 else
44837   glibcxx_cv_func_strtof_use=no
44838 fi
44839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44840       ac_ext=c
44841 ac_cpp='$CPP $CPPFLAGS'
44842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44845
44846
44847 fi
44848
44849   fi
44850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44851 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44852   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44853     for ac_func in strtof
44854 do :
44855   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44856 if test "x$ac_cv_func_strtof" = x""yes; then :
44857   cat >>confdefs.h <<_ACEOF
44858 #define HAVE_STRTOF 1
44859 _ACEOF
44860
44861 fi
44862 done
44863
44864   fi
44865
44866
44867
44868
44869   CXXFLAGS="$ac_save_CXXFLAGS"
44870
44871     ;;
44872
44873   *djgpp)
44874     # GLIBCXX_CHECK_MATH_SUPPORT
44875     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44876
44877     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44878
44879     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44880
44881     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44882
44883     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44884
44885     ;;
44886
44887   *-freebsd*)
44888     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44889
44890
44891   # If we're not using GNU ld, then there's no point in even trying these
44892   # tests.  Check for that first.  We should have already tested for gld
44893   # by now (in libtool), but require it now just to be safe...
44894   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44895   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44896
44897
44898
44899   # The name set by libtool depends on the version of libtool.  Shame on us
44900   # for depending on an impl detail, but c'est la vie.  Older versions used
44901   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44902   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44903   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44904   # set (hence we're using an older libtool), then set it.
44905   if test x${with_gnu_ld+set} != xset; then
44906     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44907       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44908       with_gnu_ld=no
44909     else
44910       with_gnu_ld=$ac_cv_prog_gnu_ld
44911     fi
44912   fi
44913
44914   # Start by getting the version number.  I think the libtool test already
44915   # does some of this, but throws away the result.
44916   glibcxx_ld_is_gold=no
44917   if test x"$with_gnu_ld" = x"yes"; then
44918     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44919 $as_echo_n "checking for ld version... " >&6; }
44920
44921     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44922       glibcxx_ld_is_gold=yes
44923     fi
44924     ldver=`$LD --version 2>/dev/null |
44925            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'`
44926
44927     glibcxx_gnu_ld_version=`echo $ldver | \
44928            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44929     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44930 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44931   fi
44932
44933   # Set --gc-sections.
44934   glibcxx_have_gc_sections=no
44935   if test "$glibcxx_ld_is_gold" = "yes"; then
44936     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44937       glibcxx_have_gc_sections=yes
44938     fi
44939   else
44940     glibcxx_gcsections_min_ld=21602
44941     if test x"$with_gnu_ld" = x"yes" &&
44942         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44943       glibcxx_have_gc_sections=yes
44944     fi
44945   fi
44946   if test "$glibcxx_have_gc_sections" = "yes"; then
44947     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44948     # NB: This flag only works reliably after 2.16.1. Configure tests
44949     # for this are difficult, so hard wire a value that should work.
44950
44951     ac_test_CFLAGS="${CFLAGS+set}"
44952     ac_save_CFLAGS="$CFLAGS"
44953     CFLAGS='-Wl,--gc-sections'
44954
44955     # Check for -Wl,--gc-sections
44956     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44957 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44958     if test x$gcc_no_link = xyes; then
44959   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44960 fi
44961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44962 /* end confdefs.h.  */
44963  int one(void) { return 1; }
44964      int two(void) { return 2; }
44965
44966 int
44967 main ()
44968 {
44969  two();
44970   ;
44971   return 0;
44972 }
44973 _ACEOF
44974 if ac_fn_c_try_link "$LINENO"; then :
44975   ac_gcsections=yes
44976 else
44977   ac_gcsections=no
44978 fi
44979 rm -f core conftest.err conftest.$ac_objext \
44980     conftest$ac_exeext conftest.$ac_ext
44981     if test "$ac_gcsections" = "yes"; then
44982       rm -f conftest.c
44983       touch conftest.c
44984       if $CC -c conftest.c; then
44985         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44986            grep "Warning: gc-sections option ignored" > /dev/null; then
44987           ac_gcsections=no
44988         fi
44989       fi
44990       rm -f conftest.c conftest.o conftest
44991     fi
44992     if test "$ac_gcsections" = "yes"; then
44993       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44994     fi
44995     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44996 $as_echo "$ac_gcsections" >&6; }
44997
44998     if test "$ac_test_CFLAGS" = set; then
44999       CFLAGS="$ac_save_CFLAGS"
45000     else
45001       # this is the suspicious part
45002       CFLAGS=''
45003     fi
45004   fi
45005
45006   # Set -z,relro.
45007   # Note this is only for shared objects.
45008   ac_ld_relro=no
45009   if test x"$with_gnu_ld" = x"yes"; then
45010     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45011 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45012     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45013     if test -n "$cxx_z_relo"; then
45014       OPT_LDFLAGS="-Wl,-z,relro"
45015       ac_ld_relro=yes
45016     fi
45017     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45018 $as_echo "$ac_ld_relro" >&6; }
45019   fi
45020
45021   # Set linker optimization flags.
45022   if test x"$with_gnu_ld" = x"yes"; then
45023     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45024   fi
45025
45026
45027
45028
45029     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45030
45031     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45032
45033     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45034
45035     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45036
45037     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45038
45039     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45040
45041     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45042
45043     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45044
45045     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45046
45047
45048     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45049
45050     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45051
45052     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45053
45054     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45055
45056     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45057
45058     $as_echo "#define HAVE_COSF 1" >>confdefs.h
45059
45060     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45061
45062     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45063
45064     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45065
45066     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45067
45068     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45069
45070     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45071
45072     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45073
45074     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45075
45076     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45077
45078     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45079
45080     $as_echo "#define HAVE_POWF 1" >>confdefs.h
45081
45082     $as_echo "#define HAVE_SINF 1" >>confdefs.h
45083
45084     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45085
45086     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45087
45088     $as_echo "#define HAVE_TANF 1" >>confdefs.h
45089
45090     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45091
45092     if test x"long_double_math_on_this_cpu" = x"yes"; then
45093       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45094
45095       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45096
45097       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45098
45099     fi
45100     ;;
45101   *-hpux*)
45102     SECTION_FLAGS='-ffunction-sections -fdata-sections'
45103
45104
45105   # If we're not using GNU ld, then there's no point in even trying these
45106   # tests.  Check for that first.  We should have already tested for gld
45107   # by now (in libtool), but require it now just to be safe...
45108   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45109   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45110
45111
45112
45113   # The name set by libtool depends on the version of libtool.  Shame on us
45114   # for depending on an impl detail, but c'est la vie.  Older versions used
45115   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45116   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45117   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45118   # set (hence we're using an older libtool), then set it.
45119   if test x${with_gnu_ld+set} != xset; then
45120     if test x${ac_cv_prog_gnu_ld+set} != xset; then
45121       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45122       with_gnu_ld=no
45123     else
45124       with_gnu_ld=$ac_cv_prog_gnu_ld
45125     fi
45126   fi
45127
45128   # Start by getting the version number.  I think the libtool test already
45129   # does some of this, but throws away the result.
45130   glibcxx_ld_is_gold=no
45131   if test x"$with_gnu_ld" = x"yes"; then
45132     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45133 $as_echo_n "checking for ld version... " >&6; }
45134
45135     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45136       glibcxx_ld_is_gold=yes
45137     fi
45138     ldver=`$LD --version 2>/dev/null |
45139            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'`
45140
45141     glibcxx_gnu_ld_version=`echo $ldver | \
45142            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45143     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45144 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45145   fi
45146
45147   # Set --gc-sections.
45148   glibcxx_have_gc_sections=no
45149   if test "$glibcxx_ld_is_gold" = "yes"; then
45150     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45151       glibcxx_have_gc_sections=yes
45152     fi
45153   else
45154     glibcxx_gcsections_min_ld=21602
45155     if test x"$with_gnu_ld" = x"yes" &&
45156         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45157       glibcxx_have_gc_sections=yes
45158     fi
45159   fi
45160   if test "$glibcxx_have_gc_sections" = "yes"; then
45161     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
45162     # NB: This flag only works reliably after 2.16.1. Configure tests
45163     # for this are difficult, so hard wire a value that should work.
45164
45165     ac_test_CFLAGS="${CFLAGS+set}"
45166     ac_save_CFLAGS="$CFLAGS"
45167     CFLAGS='-Wl,--gc-sections'
45168
45169     # Check for -Wl,--gc-sections
45170     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45171 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45172     if test x$gcc_no_link = xyes; then
45173   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45174 fi
45175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45176 /* end confdefs.h.  */
45177  int one(void) { return 1; }
45178      int two(void) { return 2; }
45179
45180 int
45181 main ()
45182 {
45183  two();
45184   ;
45185   return 0;
45186 }
45187 _ACEOF
45188 if ac_fn_c_try_link "$LINENO"; then :
45189   ac_gcsections=yes
45190 else
45191   ac_gcsections=no
45192 fi
45193 rm -f core conftest.err conftest.$ac_objext \
45194     conftest$ac_exeext conftest.$ac_ext
45195     if test "$ac_gcsections" = "yes"; then
45196       rm -f conftest.c
45197       touch conftest.c
45198       if $CC -c conftest.c; then
45199         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45200            grep "Warning: gc-sections option ignored" > /dev/null; then
45201           ac_gcsections=no
45202         fi
45203       fi
45204       rm -f conftest.c conftest.o conftest
45205     fi
45206     if test "$ac_gcsections" = "yes"; then
45207       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45208     fi
45209     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45210 $as_echo "$ac_gcsections" >&6; }
45211
45212     if test "$ac_test_CFLAGS" = set; then
45213       CFLAGS="$ac_save_CFLAGS"
45214     else
45215       # this is the suspicious part
45216       CFLAGS=''
45217     fi
45218   fi
45219
45220   # Set -z,relro.
45221   # Note this is only for shared objects.
45222   ac_ld_relro=no
45223   if test x"$with_gnu_ld" = x"yes"; then
45224     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45225 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45226     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45227     if test -n "$cxx_z_relo"; then
45228       OPT_LDFLAGS="-Wl,-z,relro"
45229       ac_ld_relro=yes
45230     fi
45231     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45232 $as_echo "$ac_ld_relro" >&6; }
45233   fi
45234
45235   # Set linker optimization flags.
45236   if test x"$with_gnu_ld" = x"yes"; then
45237     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45238   fi
45239
45240
45241
45242
45243
45244     # GLIBCXX_CHECK_MATH_SUPPORT
45245     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45246
45247     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45248
45249     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45250
45251     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45252
45253     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45254
45255     $as_echo "#define HAVE_COSF 1" >>confdefs.h
45256
45257     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45258
45259     $as_echo "#define HAVE_SINF 1" >>confdefs.h
45260
45261     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45262
45263     $as_echo "#define HAVE_TANF 1" >>confdefs.h
45264
45265     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45266
45267     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45268
45269     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45270
45271     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45272
45273     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45274
45275     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45276
45277     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45278
45279     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45280
45281     $as_echo "#define HAVE_MODF 1" >>confdefs.h
45282
45283     $as_echo "#define HAVE_POWF 1" >>confdefs.h
45284
45285     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45286
45287
45288     # GLIBCXX_CHECK_STDLIB_SUPPORT
45289     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45290
45291
45292
45293
45294    # Check whether --enable-tls was given.
45295 if test "${enable_tls+set}" = set; then :
45296   enableval=$enable_tls;
45297       case "$enableval" in
45298        yes|no) ;;
45299        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45300       esac
45301
45302 else
45303   enable_tls=yes
45304 fi
45305
45306
45307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45308 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45309 if test "${gcc_cv_have_tls+set}" = set; then :
45310   $as_echo_n "(cached) " >&6
45311 else
45312
45313     if test "$cross_compiling" = yes; then :
45314                 if test x$gcc_no_link = xyes; then
45315   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45316 fi
45317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45318 /* end confdefs.h.  */
45319 __thread int a; int b; int main() { return a = b; }
45320 _ACEOF
45321 if ac_fn_c_try_link "$LINENO"; then :
45322   chktls_save_LDFLAGS="$LDFLAGS"
45323                           case $host in
45324             *-*-linux*)
45325               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45326               ;;
45327           esac
45328           chktls_save_CFLAGS="$CFLAGS"
45329           CFLAGS="-fPIC $CFLAGS"
45330                   if test x$gcc_no_link = xyes; then
45331   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45332 fi
45333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45334 /* end confdefs.h.  */
45335 int f() { return 0; }
45336 _ACEOF
45337 if ac_fn_c_try_link "$LINENO"; then :
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 __thread int a; int b; int f() { return a = b; }
45344 _ACEOF
45345 if ac_fn_c_try_link "$LINENO"; then :
45346   gcc_cv_have_tls=yes
45347 else
45348   gcc_cv_have_tls=no
45349 fi
45350 rm -f core conftest.err conftest.$ac_objext \
45351     conftest$ac_exeext conftest.$ac_ext
45352 else
45353   gcc_cv_have_tls=yes
45354 fi
45355 rm -f core conftest.err conftest.$ac_objext \
45356     conftest$ac_exeext conftest.$ac_ext
45357           CFLAGS="$chktls_save_CFLAGS"
45358           LDFLAGS="$chktls_save_LDFLAGS"
45359 else
45360   gcc_cv_have_tls=no
45361 fi
45362 rm -f core conftest.err conftest.$ac_objext \
45363     conftest$ac_exeext conftest.$ac_ext
45364
45365
45366 else
45367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45368 /* end confdefs.h.  */
45369 __thread int a; int b; int main() { return a = b; }
45370 _ACEOF
45371 if ac_fn_c_try_run "$LINENO"; then :
45372                       chktls_save_LDFLAGS="$LDFLAGS"
45373       LDFLAGS="-static $LDFLAGS"
45374       if test x$gcc_no_link = xyes; then
45375   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45376 fi
45377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45378 /* end confdefs.h.  */
45379 int main() { return 0; }
45380 _ACEOF
45381 if ac_fn_c_try_link "$LINENO"; then :
45382   if test "$cross_compiling" = yes; then :
45383   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45385 as_fn_error "cannot run test program while cross compiling
45386 See \`config.log' for more details." "$LINENO" 5; }
45387 else
45388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45389 /* end confdefs.h.  */
45390 __thread int a; int b; int main() { return a = b; }
45391 _ACEOF
45392 if ac_fn_c_try_run "$LINENO"; then :
45393   gcc_cv_have_tls=yes
45394 else
45395   gcc_cv_have_tls=no
45396 fi
45397 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45398   conftest.$ac_objext conftest.beam conftest.$ac_ext
45399 fi
45400
45401 else
45402   gcc_cv_have_tls=yes
45403 fi
45404 rm -f core conftest.err conftest.$ac_objext \
45405     conftest$ac_exeext conftest.$ac_ext
45406       LDFLAGS="$chktls_save_LDFLAGS"
45407       if test $gcc_cv_have_tls = yes; then
45408                                                 chktls_save_CFLAGS="$CFLAGS"
45409         thread_CFLAGS=failed
45410         for flag in '' '-pthread' '-lpthread'; do
45411           CFLAGS="$flag $chktls_save_CFLAGS"
45412           if test x$gcc_no_link = xyes; then
45413   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45414 fi
45415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45416 /* end confdefs.h.  */
45417 #include <pthread.h>
45418                 void *g(void *d) { return NULL; }
45419 int
45420 main ()
45421 {
45422 pthread_t t; pthread_create(&t,NULL,g,NULL);
45423   ;
45424   return 0;
45425 }
45426 _ACEOF
45427 if ac_fn_c_try_link "$LINENO"; then :
45428   thread_CFLAGS="$flag"
45429 fi
45430 rm -f core conftest.err conftest.$ac_objext \
45431     conftest$ac_exeext conftest.$ac_ext
45432           if test "X$thread_CFLAGS" != Xfailed; then
45433             break
45434           fi
45435         done
45436         CFLAGS="$chktls_save_CFLAGS"
45437         if test "X$thread_CFLAGS" != Xfailed; then
45438           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45439                                                   if test "$cross_compiling" = yes; then :
45440   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45442 as_fn_error "cannot run test program while cross compiling
45443 See \`config.log' for more details." "$LINENO" 5; }
45444 else
45445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45446 /* end confdefs.h.  */
45447 #include <pthread.h>
45448                 __thread int a;
45449                 static int *volatile a_in_other_thread;
45450                 static void *
45451                 thread_func (void *arg)
45452                 {
45453                   a_in_other_thread = &a;
45454                   return (void *)0;
45455                 }
45456 int
45457 main ()
45458 {
45459 pthread_t thread;
45460                 void *thread_retval;
45461                 int *volatile a_in_main_thread;
45462                 a_in_main_thread = &a;
45463                 if (pthread_create (&thread, (pthread_attr_t *)0,
45464                                     thread_func, (void *)0))
45465                   return 0;
45466                 if (pthread_join (thread, &thread_retval))
45467                   return 0;
45468                 return (a_in_other_thread == a_in_main_thread);
45469   ;
45470   return 0;
45471 }
45472 _ACEOF
45473 if ac_fn_c_try_run "$LINENO"; then :
45474   gcc_cv_have_tls=yes
45475 else
45476   gcc_cv_have_tls=no
45477 fi
45478 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45479   conftest.$ac_objext conftest.beam conftest.$ac_ext
45480 fi
45481
45482           CFLAGS="$chktls_save_CFLAGS"
45483         fi
45484       fi
45485 else
45486   gcc_cv_have_tls=no
45487 fi
45488 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45489   conftest.$ac_objext conftest.beam conftest.$ac_ext
45490 fi
45491
45492 fi
45493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45494 $as_echo "$gcc_cv_have_tls" >&6; }
45495   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45496
45497 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45498
45499   fi
45500     case "$target" in
45501       *-hpux10*)
45502         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45503
45504         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45505
45506         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45507
45508         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45509
45510         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45511
45512         ;;
45513     esac
45514     ;;
45515   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45516
45517   # All these tests are for C++; save the language and the compiler flags.
45518   # The CXXFLAGS thing is suspicious, but based on similar bits previously
45519   # found in GLIBCXX_CONFIGURE.
45520
45521   ac_ext=cpp
45522 ac_cpp='$CXXCPP $CPPFLAGS'
45523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45526
45527   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45528   ac_save_CXXFLAGS="$CXXFLAGS"
45529
45530   # Check for maintainer-mode bits.
45531   if test x"$USE_MAINTAINER_MODE" = xno; then
45532     WERROR=''
45533   else
45534     WERROR='-Werror'
45535   fi
45536
45537   # Check for -ffunction-sections -fdata-sections
45538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45539 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45540   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45542 /* end confdefs.h.  */
45543 int foo; void bar() { };
45544 int
45545 main ()
45546 {
45547
45548   ;
45549   return 0;
45550 }
45551 _ACEOF
45552 if ac_fn_cxx_try_compile "$LINENO"; then :
45553   ac_fdsections=yes
45554 else
45555   ac_fdsections=no
45556 fi
45557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45558   if test "$ac_test_CXXFLAGS" = set; then
45559     CXXFLAGS="$ac_save_CXXFLAGS"
45560   else
45561     # this is the suspicious part
45562     CXXFLAGS=''
45563   fi
45564   if test x"$ac_fdsections" = x"yes"; then
45565     SECTION_FLAGS='-ffunction-sections -fdata-sections'
45566   fi
45567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45568 $as_echo "$ac_fdsections" >&6; }
45569
45570   ac_ext=c
45571 ac_cpp='$CPP $CPPFLAGS'
45572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45575
45576
45577
45578
45579
45580   # If we're not using GNU ld, then there's no point in even trying these
45581   # tests.  Check for that first.  We should have already tested for gld
45582   # by now (in libtool), but require it now just to be safe...
45583   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45584   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45585
45586
45587
45588   # The name set by libtool depends on the version of libtool.  Shame on us
45589   # for depending on an impl detail, but c'est la vie.  Older versions used
45590   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45591   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45592   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45593   # set (hence we're using an older libtool), then set it.
45594   if test x${with_gnu_ld+set} != xset; then
45595     if test x${ac_cv_prog_gnu_ld+set} != xset; then
45596       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45597       with_gnu_ld=no
45598     else
45599       with_gnu_ld=$ac_cv_prog_gnu_ld
45600     fi
45601   fi
45602
45603   # Start by getting the version number.  I think the libtool test already
45604   # does some of this, but throws away the result.
45605   glibcxx_ld_is_gold=no
45606   if test x"$with_gnu_ld" = x"yes"; then
45607     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45608 $as_echo_n "checking for ld version... " >&6; }
45609
45610     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45611       glibcxx_ld_is_gold=yes
45612     fi
45613     ldver=`$LD --version 2>/dev/null |
45614            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'`
45615
45616     glibcxx_gnu_ld_version=`echo $ldver | \
45617            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45618     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45619 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45620   fi
45621
45622   # Set --gc-sections.
45623   glibcxx_have_gc_sections=no
45624   if test "$glibcxx_ld_is_gold" = "yes"; then
45625     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45626       glibcxx_have_gc_sections=yes
45627     fi
45628   else
45629     glibcxx_gcsections_min_ld=21602
45630     if test x"$with_gnu_ld" = x"yes" &&
45631         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45632       glibcxx_have_gc_sections=yes
45633     fi
45634   fi
45635   if test "$glibcxx_have_gc_sections" = "yes"; then
45636     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
45637     # NB: This flag only works reliably after 2.16.1. Configure tests
45638     # for this are difficult, so hard wire a value that should work.
45639
45640     ac_test_CFLAGS="${CFLAGS+set}"
45641     ac_save_CFLAGS="$CFLAGS"
45642     CFLAGS='-Wl,--gc-sections'
45643
45644     # Check for -Wl,--gc-sections
45645     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45646 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45647     if test x$gcc_no_link = xyes; then
45648   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45649 fi
45650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45651 /* end confdefs.h.  */
45652  int one(void) { return 1; }
45653      int two(void) { return 2; }
45654
45655 int
45656 main ()
45657 {
45658  two();
45659   ;
45660   return 0;
45661 }
45662 _ACEOF
45663 if ac_fn_c_try_link "$LINENO"; then :
45664   ac_gcsections=yes
45665 else
45666   ac_gcsections=no
45667 fi
45668 rm -f core conftest.err conftest.$ac_objext \
45669     conftest$ac_exeext conftest.$ac_ext
45670     if test "$ac_gcsections" = "yes"; then
45671       rm -f conftest.c
45672       touch conftest.c
45673       if $CC -c conftest.c; then
45674         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45675            grep "Warning: gc-sections option ignored" > /dev/null; then
45676           ac_gcsections=no
45677         fi
45678       fi
45679       rm -f conftest.c conftest.o conftest
45680     fi
45681     if test "$ac_gcsections" = "yes"; then
45682       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45683     fi
45684     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45685 $as_echo "$ac_gcsections" >&6; }
45686
45687     if test "$ac_test_CFLAGS" = set; then
45688       CFLAGS="$ac_save_CFLAGS"
45689     else
45690       # this is the suspicious part
45691       CFLAGS=''
45692     fi
45693   fi
45694
45695   # Set -z,relro.
45696   # Note this is only for shared objects.
45697   ac_ld_relro=no
45698   if test x"$with_gnu_ld" = x"yes"; then
45699     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45700 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45701     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45702     if test -n "$cxx_z_relo"; then
45703       OPT_LDFLAGS="-Wl,-z,relro"
45704       ac_ld_relro=yes
45705     fi
45706     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45707 $as_echo "$ac_ld_relro" >&6; }
45708   fi
45709
45710   # Set linker optimization flags.
45711   if test x"$with_gnu_ld" = x"yes"; then
45712     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45713   fi
45714
45715
45716
45717
45718
45719   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45720   ac_save_CXXFLAGS="$CXXFLAGS"
45721   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45722
45723     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45724 $as_echo_n "checking for sin in -lm... " >&6; }
45725 if test "${ac_cv_lib_m_sin+set}" = set; then :
45726   $as_echo_n "(cached) " >&6
45727 else
45728   ac_check_lib_save_LIBS=$LIBS
45729 LIBS="-lm  $LIBS"
45730 if test x$gcc_no_link = xyes; then
45731   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45732 fi
45733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45734 /* end confdefs.h.  */
45735
45736 /* Override any GCC internal prototype to avoid an error.
45737    Use char because int might match the return type of a GCC
45738    builtin and then its argument prototype would still apply.  */
45739 #ifdef __cplusplus
45740 extern "C"
45741 #endif
45742 char sin ();
45743 int
45744 main ()
45745 {
45746 return sin ();
45747   ;
45748   return 0;
45749 }
45750 _ACEOF
45751 if ac_fn_c_try_link "$LINENO"; then :
45752   ac_cv_lib_m_sin=yes
45753 else
45754   ac_cv_lib_m_sin=no
45755 fi
45756 rm -f core conftest.err conftest.$ac_objext \
45757     conftest$ac_exeext conftest.$ac_ext
45758 LIBS=$ac_check_lib_save_LIBS
45759 fi
45760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45761 $as_echo "$ac_cv_lib_m_sin" >&6; }
45762 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45763   libm="-lm"
45764 fi
45765
45766   ac_save_LIBS="$LIBS"
45767   LIBS="$LIBS $libm"
45768
45769
45770
45771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45772 $as_echo_n "checking for isinf declaration... " >&6; }
45773   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45774     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45775   $as_echo_n "(cached) " >&6
45776 else
45777
45778
45779       ac_ext=cpp
45780 ac_cpp='$CXXCPP $CPPFLAGS'
45781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45784
45785       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45786 /* end confdefs.h.  */
45787 #include <math.h>
45788                       #ifdef HAVE_IEEEFP_H
45789                       #include <ieeefp.h>
45790                       #endif
45791
45792 int
45793 main ()
45794 {
45795  isinf(0);
45796   ;
45797   return 0;
45798 }
45799 _ACEOF
45800 if ac_fn_cxx_try_compile "$LINENO"; then :
45801   glibcxx_cv_func_isinf_use=yes
45802 else
45803   glibcxx_cv_func_isinf_use=no
45804 fi
45805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45806       ac_ext=c
45807 ac_cpp='$CPP $CPPFLAGS'
45808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45811
45812
45813 fi
45814
45815   fi
45816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45817 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45818
45819   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45820     for ac_func in isinf
45821 do :
45822   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45823 if test "x$ac_cv_func_isinf" = x""yes; then :
45824   cat >>confdefs.h <<_ACEOF
45825 #define HAVE_ISINF 1
45826 _ACEOF
45827
45828 fi
45829 done
45830
45831   else
45832
45833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45834 $as_echo_n "checking for _isinf declaration... " >&6; }
45835   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45836     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45837   $as_echo_n "(cached) " >&6
45838 else
45839
45840
45841       ac_ext=cpp
45842 ac_cpp='$CXXCPP $CPPFLAGS'
45843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45846
45847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45848 /* end confdefs.h.  */
45849 #include <math.h>
45850                       #ifdef HAVE_IEEEFP_H
45851                       #include <ieeefp.h>
45852                       #endif
45853
45854 int
45855 main ()
45856 {
45857  _isinf(0);
45858   ;
45859   return 0;
45860 }
45861 _ACEOF
45862 if ac_fn_cxx_try_compile "$LINENO"; then :
45863   glibcxx_cv_func__isinf_use=yes
45864 else
45865   glibcxx_cv_func__isinf_use=no
45866 fi
45867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45868       ac_ext=c
45869 ac_cpp='$CPP $CPPFLAGS'
45870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45873
45874
45875 fi
45876
45877   fi
45878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45879 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45880
45881     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45882       for ac_func in _isinf
45883 do :
45884   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45885 if test "x$ac_cv_func__isinf" = x""yes; then :
45886   cat >>confdefs.h <<_ACEOF
45887 #define HAVE__ISINF 1
45888 _ACEOF
45889
45890 fi
45891 done
45892
45893     fi
45894   fi
45895
45896
45897
45898
45899
45900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45901 $as_echo_n "checking for isnan declaration... " >&6; }
45902   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45903     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45904   $as_echo_n "(cached) " >&6
45905 else
45906
45907
45908       ac_ext=cpp
45909 ac_cpp='$CXXCPP $CPPFLAGS'
45910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45913
45914       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45915 /* end confdefs.h.  */
45916 #include <math.h>
45917                       #ifdef HAVE_IEEEFP_H
45918                       #include <ieeefp.h>
45919                       #endif
45920
45921 int
45922 main ()
45923 {
45924  isnan(0);
45925   ;
45926   return 0;
45927 }
45928 _ACEOF
45929 if ac_fn_cxx_try_compile "$LINENO"; then :
45930   glibcxx_cv_func_isnan_use=yes
45931 else
45932   glibcxx_cv_func_isnan_use=no
45933 fi
45934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45935       ac_ext=c
45936 ac_cpp='$CPP $CPPFLAGS'
45937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45940
45941
45942 fi
45943
45944   fi
45945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45946 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45947
45948   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45949     for ac_func in isnan
45950 do :
45951   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45952 if test "x$ac_cv_func_isnan" = x""yes; then :
45953   cat >>confdefs.h <<_ACEOF
45954 #define HAVE_ISNAN 1
45955 _ACEOF
45956
45957 fi
45958 done
45959
45960   else
45961
45962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45963 $as_echo_n "checking for _isnan declaration... " >&6; }
45964   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45965     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45966   $as_echo_n "(cached) " >&6
45967 else
45968
45969
45970       ac_ext=cpp
45971 ac_cpp='$CXXCPP $CPPFLAGS'
45972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45975
45976       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45977 /* end confdefs.h.  */
45978 #include <math.h>
45979                       #ifdef HAVE_IEEEFP_H
45980                       #include <ieeefp.h>
45981                       #endif
45982
45983 int
45984 main ()
45985 {
45986  _isnan(0);
45987   ;
45988   return 0;
45989 }
45990 _ACEOF
45991 if ac_fn_cxx_try_compile "$LINENO"; then :
45992   glibcxx_cv_func__isnan_use=yes
45993 else
45994   glibcxx_cv_func__isnan_use=no
45995 fi
45996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45997       ac_ext=c
45998 ac_cpp='$CPP $CPPFLAGS'
45999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46002
46003
46004 fi
46005
46006   fi
46007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46008 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46009
46010     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46011       for ac_func in _isnan
46012 do :
46013   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46014 if test "x$ac_cv_func__isnan" = x""yes; then :
46015   cat >>confdefs.h <<_ACEOF
46016 #define HAVE__ISNAN 1
46017 _ACEOF
46018
46019 fi
46020 done
46021
46022     fi
46023   fi
46024
46025
46026
46027
46028
46029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46030 $as_echo_n "checking for finite declaration... " >&6; }
46031   if test x${glibcxx_cv_func_finite_use+set} != xset; then
46032     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46033   $as_echo_n "(cached) " >&6
46034 else
46035
46036
46037       ac_ext=cpp
46038 ac_cpp='$CXXCPP $CPPFLAGS'
46039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46042
46043       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46044 /* end confdefs.h.  */
46045 #include <math.h>
46046                       #ifdef HAVE_IEEEFP_H
46047                       #include <ieeefp.h>
46048                       #endif
46049
46050 int
46051 main ()
46052 {
46053  finite(0);
46054   ;
46055   return 0;
46056 }
46057 _ACEOF
46058 if ac_fn_cxx_try_compile "$LINENO"; then :
46059   glibcxx_cv_func_finite_use=yes
46060 else
46061   glibcxx_cv_func_finite_use=no
46062 fi
46063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46064       ac_ext=c
46065 ac_cpp='$CPP $CPPFLAGS'
46066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46069
46070
46071 fi
46072
46073   fi
46074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46075 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46076
46077   if test x$glibcxx_cv_func_finite_use = x"yes"; then
46078     for ac_func in finite
46079 do :
46080   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46081 if test "x$ac_cv_func_finite" = x""yes; then :
46082   cat >>confdefs.h <<_ACEOF
46083 #define HAVE_FINITE 1
46084 _ACEOF
46085
46086 fi
46087 done
46088
46089   else
46090
46091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46092 $as_echo_n "checking for _finite declaration... " >&6; }
46093   if test x${glibcxx_cv_func__finite_use+set} != xset; then
46094     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46095   $as_echo_n "(cached) " >&6
46096 else
46097
46098
46099       ac_ext=cpp
46100 ac_cpp='$CXXCPP $CPPFLAGS'
46101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46104
46105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46106 /* end confdefs.h.  */
46107 #include <math.h>
46108                       #ifdef HAVE_IEEEFP_H
46109                       #include <ieeefp.h>
46110                       #endif
46111
46112 int
46113 main ()
46114 {
46115  _finite(0);
46116   ;
46117   return 0;
46118 }
46119 _ACEOF
46120 if ac_fn_cxx_try_compile "$LINENO"; then :
46121   glibcxx_cv_func__finite_use=yes
46122 else
46123   glibcxx_cv_func__finite_use=no
46124 fi
46125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46126       ac_ext=c
46127 ac_cpp='$CPP $CPPFLAGS'
46128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46131
46132
46133 fi
46134
46135   fi
46136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46137 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46138
46139     if test x$glibcxx_cv_func__finite_use = x"yes"; then
46140       for ac_func in _finite
46141 do :
46142   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46143 if test "x$ac_cv_func__finite" = x""yes; then :
46144   cat >>confdefs.h <<_ACEOF
46145 #define HAVE__FINITE 1
46146 _ACEOF
46147
46148 fi
46149 done
46150
46151     fi
46152   fi
46153
46154
46155
46156
46157
46158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46159 $as_echo_n "checking for sincos declaration... " >&6; }
46160   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46161     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46162   $as_echo_n "(cached) " >&6
46163 else
46164
46165
46166       ac_ext=cpp
46167 ac_cpp='$CXXCPP $CPPFLAGS'
46168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46171
46172       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46173 /* end confdefs.h.  */
46174 #include <math.h>
46175 int
46176 main ()
46177 {
46178  sincos(0, 0, 0);
46179   ;
46180   return 0;
46181 }
46182 _ACEOF
46183 if ac_fn_cxx_try_compile "$LINENO"; then :
46184   glibcxx_cv_func_sincos_use=yes
46185 else
46186   glibcxx_cv_func_sincos_use=no
46187 fi
46188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46189       ac_ext=c
46190 ac_cpp='$CPP $CPPFLAGS'
46191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46194
46195
46196 fi
46197
46198   fi
46199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46200 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46201
46202   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46203     for ac_func in sincos
46204 do :
46205   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46206 if test "x$ac_cv_func_sincos" = x""yes; then :
46207   cat >>confdefs.h <<_ACEOF
46208 #define HAVE_SINCOS 1
46209 _ACEOF
46210
46211 fi
46212 done
46213
46214   else
46215
46216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46217 $as_echo_n "checking for _sincos declaration... " >&6; }
46218   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46219     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46220   $as_echo_n "(cached) " >&6
46221 else
46222
46223
46224       ac_ext=cpp
46225 ac_cpp='$CXXCPP $CPPFLAGS'
46226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46229
46230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46231 /* end confdefs.h.  */
46232 #include <math.h>
46233 int
46234 main ()
46235 {
46236  _sincos(0, 0, 0);
46237   ;
46238   return 0;
46239 }
46240 _ACEOF
46241 if ac_fn_cxx_try_compile "$LINENO"; then :
46242   glibcxx_cv_func__sincos_use=yes
46243 else
46244   glibcxx_cv_func__sincos_use=no
46245 fi
46246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46247       ac_ext=c
46248 ac_cpp='$CPP $CPPFLAGS'
46249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46252
46253
46254 fi
46255
46256   fi
46257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46258 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46259
46260     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46261       for ac_func in _sincos
46262 do :
46263   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46264 if test "x$ac_cv_func__sincos" = x""yes; then :
46265   cat >>confdefs.h <<_ACEOF
46266 #define HAVE__SINCOS 1
46267 _ACEOF
46268
46269 fi
46270 done
46271
46272     fi
46273   fi
46274
46275
46276
46277
46278
46279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46280 $as_echo_n "checking for fpclass declaration... " >&6; }
46281   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46282     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46283   $as_echo_n "(cached) " >&6
46284 else
46285
46286
46287       ac_ext=cpp
46288 ac_cpp='$CXXCPP $CPPFLAGS'
46289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46292
46293       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46294 /* end confdefs.h.  */
46295 #include <math.h>
46296                       #ifdef HAVE_IEEEFP_H
46297                       #include <ieeefp.h>
46298                       #endif
46299
46300 int
46301 main ()
46302 {
46303  fpclass(0);
46304   ;
46305   return 0;
46306 }
46307 _ACEOF
46308 if ac_fn_cxx_try_compile "$LINENO"; then :
46309   glibcxx_cv_func_fpclass_use=yes
46310 else
46311   glibcxx_cv_func_fpclass_use=no
46312 fi
46313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46314       ac_ext=c
46315 ac_cpp='$CPP $CPPFLAGS'
46316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46319
46320
46321 fi
46322
46323   fi
46324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46325 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46326
46327   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46328     for ac_func in fpclass
46329 do :
46330   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46331 if test "x$ac_cv_func_fpclass" = x""yes; then :
46332   cat >>confdefs.h <<_ACEOF
46333 #define HAVE_FPCLASS 1
46334 _ACEOF
46335
46336 fi
46337 done
46338
46339   else
46340
46341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46342 $as_echo_n "checking for _fpclass declaration... " >&6; }
46343   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46344     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46345   $as_echo_n "(cached) " >&6
46346 else
46347
46348
46349       ac_ext=cpp
46350 ac_cpp='$CXXCPP $CPPFLAGS'
46351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46354
46355       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46356 /* end confdefs.h.  */
46357 #include <math.h>
46358                       #ifdef HAVE_IEEEFP_H
46359                       #include <ieeefp.h>
46360                       #endif
46361
46362 int
46363 main ()
46364 {
46365  _fpclass(0);
46366   ;
46367   return 0;
46368 }
46369 _ACEOF
46370 if ac_fn_cxx_try_compile "$LINENO"; then :
46371   glibcxx_cv_func__fpclass_use=yes
46372 else
46373   glibcxx_cv_func__fpclass_use=no
46374 fi
46375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46376       ac_ext=c
46377 ac_cpp='$CPP $CPPFLAGS'
46378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46381
46382
46383 fi
46384
46385   fi
46386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46387 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46388
46389     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46390       for ac_func in _fpclass
46391 do :
46392   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46393 if test "x$ac_cv_func__fpclass" = x""yes; then :
46394   cat >>confdefs.h <<_ACEOF
46395 #define HAVE__FPCLASS 1
46396 _ACEOF
46397
46398 fi
46399 done
46400
46401     fi
46402   fi
46403
46404
46405
46406
46407
46408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46409 $as_echo_n "checking for qfpclass declaration... " >&6; }
46410   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46411     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46412   $as_echo_n "(cached) " >&6
46413 else
46414
46415
46416       ac_ext=cpp
46417 ac_cpp='$CXXCPP $CPPFLAGS'
46418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46421
46422       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46423 /* end confdefs.h.  */
46424 #include <math.h>
46425                       #ifdef HAVE_IEEEFP_H
46426                       #include <ieeefp.h>
46427                       #endif
46428
46429 int
46430 main ()
46431 {
46432  qfpclass(0);
46433   ;
46434   return 0;
46435 }
46436 _ACEOF
46437 if ac_fn_cxx_try_compile "$LINENO"; then :
46438   glibcxx_cv_func_qfpclass_use=yes
46439 else
46440   glibcxx_cv_func_qfpclass_use=no
46441 fi
46442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46443       ac_ext=c
46444 ac_cpp='$CPP $CPPFLAGS'
46445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46448
46449
46450 fi
46451
46452   fi
46453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46454 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46455
46456   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46457     for ac_func in qfpclass
46458 do :
46459   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46460 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46461   cat >>confdefs.h <<_ACEOF
46462 #define HAVE_QFPCLASS 1
46463 _ACEOF
46464
46465 fi
46466 done
46467
46468   else
46469
46470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46471 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46472   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46473     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46474   $as_echo_n "(cached) " >&6
46475 else
46476
46477
46478       ac_ext=cpp
46479 ac_cpp='$CXXCPP $CPPFLAGS'
46480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46483
46484       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46485 /* end confdefs.h.  */
46486 #include <math.h>
46487                       #ifdef HAVE_IEEEFP_H
46488                       #include <ieeefp.h>
46489                       #endif
46490
46491 int
46492 main ()
46493 {
46494  _qfpclass(0);
46495   ;
46496   return 0;
46497 }
46498 _ACEOF
46499 if ac_fn_cxx_try_compile "$LINENO"; then :
46500   glibcxx_cv_func__qfpclass_use=yes
46501 else
46502   glibcxx_cv_func__qfpclass_use=no
46503 fi
46504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46505       ac_ext=c
46506 ac_cpp='$CPP $CPPFLAGS'
46507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46510
46511
46512 fi
46513
46514   fi
46515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46516 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46517
46518     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46519       for ac_func in _qfpclass
46520 do :
46521   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46522 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46523   cat >>confdefs.h <<_ACEOF
46524 #define HAVE__QFPCLASS 1
46525 _ACEOF
46526
46527 fi
46528 done
46529
46530     fi
46531   fi
46532
46533
46534
46535
46536
46537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46538 $as_echo_n "checking for hypot declaration... " >&6; }
46539   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46540     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46541   $as_echo_n "(cached) " >&6
46542 else
46543
46544
46545       ac_ext=cpp
46546 ac_cpp='$CXXCPP $CPPFLAGS'
46547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46550
46551       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46552 /* end confdefs.h.  */
46553 #include <math.h>
46554 int
46555 main ()
46556 {
46557  hypot(0, 0);
46558   ;
46559   return 0;
46560 }
46561 _ACEOF
46562 if ac_fn_cxx_try_compile "$LINENO"; then :
46563   glibcxx_cv_func_hypot_use=yes
46564 else
46565   glibcxx_cv_func_hypot_use=no
46566 fi
46567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46568       ac_ext=c
46569 ac_cpp='$CPP $CPPFLAGS'
46570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46573
46574
46575 fi
46576
46577   fi
46578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46579 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46580
46581   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46582     for ac_func in hypot
46583 do :
46584   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46585 if test "x$ac_cv_func_hypot" = x""yes; then :
46586   cat >>confdefs.h <<_ACEOF
46587 #define HAVE_HYPOT 1
46588 _ACEOF
46589
46590 fi
46591 done
46592
46593   else
46594
46595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46596 $as_echo_n "checking for _hypot declaration... " >&6; }
46597   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46598     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46599   $as_echo_n "(cached) " >&6
46600 else
46601
46602
46603       ac_ext=cpp
46604 ac_cpp='$CXXCPP $CPPFLAGS'
46605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46608
46609       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46610 /* end confdefs.h.  */
46611 #include <math.h>
46612 int
46613 main ()
46614 {
46615  _hypot(0, 0);
46616   ;
46617   return 0;
46618 }
46619 _ACEOF
46620 if ac_fn_cxx_try_compile "$LINENO"; then :
46621   glibcxx_cv_func__hypot_use=yes
46622 else
46623   glibcxx_cv_func__hypot_use=no
46624 fi
46625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46626       ac_ext=c
46627 ac_cpp='$CPP $CPPFLAGS'
46628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46631
46632
46633 fi
46634
46635   fi
46636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46637 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46638
46639     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46640       for ac_func in _hypot
46641 do :
46642   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46643 if test "x$ac_cv_func__hypot" = x""yes; then :
46644   cat >>confdefs.h <<_ACEOF
46645 #define HAVE__HYPOT 1
46646 _ACEOF
46647
46648 fi
46649 done
46650
46651     fi
46652   fi
46653
46654
46655
46656
46657
46658     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46659 $as_echo_n "checking for float trig functions... " >&6; }
46660   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46661   $as_echo_n "(cached) " >&6
46662 else
46663
46664
46665     ac_ext=cpp
46666 ac_cpp='$CXXCPP $CPPFLAGS'
46667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46670
46671     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46672 /* end confdefs.h.  */
46673 #include <math.h>
46674 int
46675 main ()
46676 {
46677 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46678   ;
46679   return 0;
46680 }
46681 _ACEOF
46682 if ac_fn_cxx_try_compile "$LINENO"; then :
46683   glibcxx_cv_func_float_trig_use=yes
46684 else
46685   glibcxx_cv_func_float_trig_use=no
46686 fi
46687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46688     ac_ext=c
46689 ac_cpp='$CPP $CPPFLAGS'
46690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46693
46694 fi
46695
46696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46697 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46698   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46699     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46700 do :
46701   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46702 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46703 eval as_val=\$$as_ac_var
46704    if test "x$as_val" = x""yes; then :
46705   cat >>confdefs.h <<_ACEOF
46706 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46707 _ACEOF
46708
46709 fi
46710 done
46711
46712   else
46713     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46714 $as_echo_n "checking for _float trig functions... " >&6; }
46715     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46716   $as_echo_n "(cached) " >&6
46717 else
46718
46719
46720       ac_ext=cpp
46721 ac_cpp='$CXXCPP $CPPFLAGS'
46722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46725
46726       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46727 /* end confdefs.h.  */
46728 #include <math.h>
46729 int
46730 main ()
46731 {
46732 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46733   ;
46734   return 0;
46735 }
46736 _ACEOF
46737 if ac_fn_cxx_try_compile "$LINENO"; then :
46738   glibcxx_cv_func__float_trig_use=yes
46739 else
46740   glibcxx_cv_func__float_trig_use=no
46741 fi
46742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46743       ac_ext=c
46744 ac_cpp='$CPP $CPPFLAGS'
46745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46748
46749 fi
46750
46751     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46752 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46753     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46754       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46755 do :
46756   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46757 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46758 eval as_val=\$$as_ac_var
46759    if test "x$as_val" = x""yes; then :
46760   cat >>confdefs.h <<_ACEOF
46761 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46762 _ACEOF
46763
46764 fi
46765 done
46766
46767     fi
46768   fi
46769
46770
46771
46772
46773
46774     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46775 $as_echo_n "checking for float round functions... " >&6; }
46776   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46777   $as_echo_n "(cached) " >&6
46778 else
46779
46780
46781     ac_ext=cpp
46782 ac_cpp='$CXXCPP $CPPFLAGS'
46783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46786
46787     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46788 /* end confdefs.h.  */
46789 #include <math.h>
46790 int
46791 main ()
46792 {
46793 ceilf (0); floorf (0);
46794   ;
46795   return 0;
46796 }
46797 _ACEOF
46798 if ac_fn_cxx_try_compile "$LINENO"; then :
46799   glibcxx_cv_func_float_round_use=yes
46800 else
46801   glibcxx_cv_func_float_round_use=no
46802 fi
46803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46804     ac_ext=c
46805 ac_cpp='$CPP $CPPFLAGS'
46806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46809
46810 fi
46811
46812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46813 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46814   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46815     for ac_func in ceilf floorf
46816 do :
46817   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46818 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46819 eval as_val=\$$as_ac_var
46820    if test "x$as_val" = x""yes; then :
46821   cat >>confdefs.h <<_ACEOF
46822 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46823 _ACEOF
46824
46825 fi
46826 done
46827
46828   else
46829     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46830 $as_echo_n "checking for _float round functions... " >&6; }
46831     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46832   $as_echo_n "(cached) " >&6
46833 else
46834
46835
46836       ac_ext=cpp
46837 ac_cpp='$CXXCPP $CPPFLAGS'
46838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46841
46842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46843 /* end confdefs.h.  */
46844 #include <math.h>
46845 int
46846 main ()
46847 {
46848 _ceilf (0); _floorf (0);
46849   ;
46850   return 0;
46851 }
46852 _ACEOF
46853 if ac_fn_cxx_try_compile "$LINENO"; then :
46854   glibcxx_cv_func__float_round_use=yes
46855 else
46856   glibcxx_cv_func__float_round_use=no
46857 fi
46858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46859       ac_ext=c
46860 ac_cpp='$CPP $CPPFLAGS'
46861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46864
46865 fi
46866
46867     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46868 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46869     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46870       for ac_func in _ceilf _floorf
46871 do :
46872   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46873 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46874 eval as_val=\$$as_ac_var
46875    if test "x$as_val" = x""yes; then :
46876   cat >>confdefs.h <<_ACEOF
46877 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46878 _ACEOF
46879
46880 fi
46881 done
46882
46883     fi
46884   fi
46885
46886
46887
46888
46889
46890
46891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46892 $as_echo_n "checking for expf declaration... " >&6; }
46893   if test x${glibcxx_cv_func_expf_use+set} != xset; then
46894     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46895   $as_echo_n "(cached) " >&6
46896 else
46897
46898
46899       ac_ext=cpp
46900 ac_cpp='$CXXCPP $CPPFLAGS'
46901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46904
46905       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46906 /* end confdefs.h.  */
46907 #include <math.h>
46908                       #ifdef HAVE_IEEEFP_H
46909                       #include <ieeefp.h>
46910                       #endif
46911
46912 int
46913 main ()
46914 {
46915  expf(0);
46916   ;
46917   return 0;
46918 }
46919 _ACEOF
46920 if ac_fn_cxx_try_compile "$LINENO"; then :
46921   glibcxx_cv_func_expf_use=yes
46922 else
46923   glibcxx_cv_func_expf_use=no
46924 fi
46925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46926       ac_ext=c
46927 ac_cpp='$CPP $CPPFLAGS'
46928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46931
46932
46933 fi
46934
46935   fi
46936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46937 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46938
46939   if test x$glibcxx_cv_func_expf_use = x"yes"; then
46940     for ac_func in expf
46941 do :
46942   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46943 if test "x$ac_cv_func_expf" = x""yes; then :
46944   cat >>confdefs.h <<_ACEOF
46945 #define HAVE_EXPF 1
46946 _ACEOF
46947
46948 fi
46949 done
46950
46951   else
46952
46953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46954 $as_echo_n "checking for _expf declaration... " >&6; }
46955   if test x${glibcxx_cv_func__expf_use+set} != xset; then
46956     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46957   $as_echo_n "(cached) " >&6
46958 else
46959
46960
46961       ac_ext=cpp
46962 ac_cpp='$CXXCPP $CPPFLAGS'
46963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46966
46967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46968 /* end confdefs.h.  */
46969 #include <math.h>
46970                       #ifdef HAVE_IEEEFP_H
46971                       #include <ieeefp.h>
46972                       #endif
46973
46974 int
46975 main ()
46976 {
46977  _expf(0);
46978   ;
46979   return 0;
46980 }
46981 _ACEOF
46982 if ac_fn_cxx_try_compile "$LINENO"; then :
46983   glibcxx_cv_func__expf_use=yes
46984 else
46985   glibcxx_cv_func__expf_use=no
46986 fi
46987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46988       ac_ext=c
46989 ac_cpp='$CPP $CPPFLAGS'
46990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46993
46994
46995 fi
46996
46997   fi
46998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46999 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47000
47001     if test x$glibcxx_cv_func__expf_use = x"yes"; then
47002       for ac_func in _expf
47003 do :
47004   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47005 if test "x$ac_cv_func__expf" = x""yes; then :
47006   cat >>confdefs.h <<_ACEOF
47007 #define HAVE__EXPF 1
47008 _ACEOF
47009
47010 fi
47011 done
47012
47013     fi
47014   fi
47015
47016
47017
47018
47019
47020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47021 $as_echo_n "checking for isnanf declaration... " >&6; }
47022   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47023     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47024   $as_echo_n "(cached) " >&6
47025 else
47026
47027
47028       ac_ext=cpp
47029 ac_cpp='$CXXCPP $CPPFLAGS'
47030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47033
47034       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47035 /* end confdefs.h.  */
47036 #include <math.h>
47037                       #ifdef HAVE_IEEEFP_H
47038                       #include <ieeefp.h>
47039                       #endif
47040
47041 int
47042 main ()
47043 {
47044  isnanf(0);
47045   ;
47046   return 0;
47047 }
47048 _ACEOF
47049 if ac_fn_cxx_try_compile "$LINENO"; then :
47050   glibcxx_cv_func_isnanf_use=yes
47051 else
47052   glibcxx_cv_func_isnanf_use=no
47053 fi
47054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47055       ac_ext=c
47056 ac_cpp='$CPP $CPPFLAGS'
47057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47060
47061
47062 fi
47063
47064   fi
47065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47066 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47067
47068   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47069     for ac_func in isnanf
47070 do :
47071   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47072 if test "x$ac_cv_func_isnanf" = x""yes; then :
47073   cat >>confdefs.h <<_ACEOF
47074 #define HAVE_ISNANF 1
47075 _ACEOF
47076
47077 fi
47078 done
47079
47080   else
47081
47082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47083 $as_echo_n "checking for _isnanf declaration... " >&6; }
47084   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47085     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47086   $as_echo_n "(cached) " >&6
47087 else
47088
47089
47090       ac_ext=cpp
47091 ac_cpp='$CXXCPP $CPPFLAGS'
47092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47095
47096       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47097 /* end confdefs.h.  */
47098 #include <math.h>
47099                       #ifdef HAVE_IEEEFP_H
47100                       #include <ieeefp.h>
47101                       #endif
47102
47103 int
47104 main ()
47105 {
47106  _isnanf(0);
47107   ;
47108   return 0;
47109 }
47110 _ACEOF
47111 if ac_fn_cxx_try_compile "$LINENO"; then :
47112   glibcxx_cv_func__isnanf_use=yes
47113 else
47114   glibcxx_cv_func__isnanf_use=no
47115 fi
47116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47117       ac_ext=c
47118 ac_cpp='$CPP $CPPFLAGS'
47119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47122
47123
47124 fi
47125
47126   fi
47127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47128 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47129
47130     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47131       for ac_func in _isnanf
47132 do :
47133   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47134 if test "x$ac_cv_func__isnanf" = x""yes; then :
47135   cat >>confdefs.h <<_ACEOF
47136 #define HAVE__ISNANF 1
47137 _ACEOF
47138
47139 fi
47140 done
47141
47142     fi
47143   fi
47144
47145
47146
47147
47148
47149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47150 $as_echo_n "checking for isinff declaration... " >&6; }
47151   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47152     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47153   $as_echo_n "(cached) " >&6
47154 else
47155
47156
47157       ac_ext=cpp
47158 ac_cpp='$CXXCPP $CPPFLAGS'
47159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47162
47163       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47164 /* end confdefs.h.  */
47165 #include <math.h>
47166                       #ifdef HAVE_IEEEFP_H
47167                       #include <ieeefp.h>
47168                       #endif
47169
47170 int
47171 main ()
47172 {
47173  isinff(0);
47174   ;
47175   return 0;
47176 }
47177 _ACEOF
47178 if ac_fn_cxx_try_compile "$LINENO"; then :
47179   glibcxx_cv_func_isinff_use=yes
47180 else
47181   glibcxx_cv_func_isinff_use=no
47182 fi
47183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47184       ac_ext=c
47185 ac_cpp='$CPP $CPPFLAGS'
47186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47189
47190
47191 fi
47192
47193   fi
47194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47195 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47196
47197   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47198     for ac_func in isinff
47199 do :
47200   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47201 if test "x$ac_cv_func_isinff" = x""yes; then :
47202   cat >>confdefs.h <<_ACEOF
47203 #define HAVE_ISINFF 1
47204 _ACEOF
47205
47206 fi
47207 done
47208
47209   else
47210
47211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47212 $as_echo_n "checking for _isinff declaration... " >&6; }
47213   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47214     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47215   $as_echo_n "(cached) " >&6
47216 else
47217
47218
47219       ac_ext=cpp
47220 ac_cpp='$CXXCPP $CPPFLAGS'
47221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47224
47225       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47226 /* end confdefs.h.  */
47227 #include <math.h>
47228                       #ifdef HAVE_IEEEFP_H
47229                       #include <ieeefp.h>
47230                       #endif
47231
47232 int
47233 main ()
47234 {
47235  _isinff(0);
47236   ;
47237   return 0;
47238 }
47239 _ACEOF
47240 if ac_fn_cxx_try_compile "$LINENO"; then :
47241   glibcxx_cv_func__isinff_use=yes
47242 else
47243   glibcxx_cv_func__isinff_use=no
47244 fi
47245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47246       ac_ext=c
47247 ac_cpp='$CPP $CPPFLAGS'
47248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47251
47252
47253 fi
47254
47255   fi
47256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47257 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47258
47259     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47260       for ac_func in _isinff
47261 do :
47262   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47263 if test "x$ac_cv_func__isinff" = x""yes; then :
47264   cat >>confdefs.h <<_ACEOF
47265 #define HAVE__ISINFF 1
47266 _ACEOF
47267
47268 fi
47269 done
47270
47271     fi
47272   fi
47273
47274
47275
47276
47277
47278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47279 $as_echo_n "checking for atan2f declaration... " >&6; }
47280   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47281     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47282   $as_echo_n "(cached) " >&6
47283 else
47284
47285
47286       ac_ext=cpp
47287 ac_cpp='$CXXCPP $CPPFLAGS'
47288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47291
47292       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47293 /* end confdefs.h.  */
47294 #include <math.h>
47295 int
47296 main ()
47297 {
47298  atan2f(0, 0);
47299   ;
47300   return 0;
47301 }
47302 _ACEOF
47303 if ac_fn_cxx_try_compile "$LINENO"; then :
47304   glibcxx_cv_func_atan2f_use=yes
47305 else
47306   glibcxx_cv_func_atan2f_use=no
47307 fi
47308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47309       ac_ext=c
47310 ac_cpp='$CPP $CPPFLAGS'
47311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47314
47315
47316 fi
47317
47318   fi
47319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47320 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47321
47322   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47323     for ac_func in atan2f
47324 do :
47325   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47326 if test "x$ac_cv_func_atan2f" = x""yes; then :
47327   cat >>confdefs.h <<_ACEOF
47328 #define HAVE_ATAN2F 1
47329 _ACEOF
47330
47331 fi
47332 done
47333
47334   else
47335
47336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47337 $as_echo_n "checking for _atan2f declaration... " >&6; }
47338   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47339     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47340   $as_echo_n "(cached) " >&6
47341 else
47342
47343
47344       ac_ext=cpp
47345 ac_cpp='$CXXCPP $CPPFLAGS'
47346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47349
47350       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47351 /* end confdefs.h.  */
47352 #include <math.h>
47353 int
47354 main ()
47355 {
47356  _atan2f(0, 0);
47357   ;
47358   return 0;
47359 }
47360 _ACEOF
47361 if ac_fn_cxx_try_compile "$LINENO"; then :
47362   glibcxx_cv_func__atan2f_use=yes
47363 else
47364   glibcxx_cv_func__atan2f_use=no
47365 fi
47366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47367       ac_ext=c
47368 ac_cpp='$CPP $CPPFLAGS'
47369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47372
47373
47374 fi
47375
47376   fi
47377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47378 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47379
47380     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47381       for ac_func in _atan2f
47382 do :
47383   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47384 if test "x$ac_cv_func__atan2f" = x""yes; then :
47385   cat >>confdefs.h <<_ACEOF
47386 #define HAVE__ATAN2F 1
47387 _ACEOF
47388
47389 fi
47390 done
47391
47392     fi
47393   fi
47394
47395
47396
47397
47398
47399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47400 $as_echo_n "checking for fabsf declaration... " >&6; }
47401   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47402     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47403   $as_echo_n "(cached) " >&6
47404 else
47405
47406
47407       ac_ext=cpp
47408 ac_cpp='$CXXCPP $CPPFLAGS'
47409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47412
47413       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47414 /* end confdefs.h.  */
47415 #include <math.h>
47416                       #ifdef HAVE_IEEEFP_H
47417                       #include <ieeefp.h>
47418                       #endif
47419
47420 int
47421 main ()
47422 {
47423  fabsf(0);
47424   ;
47425   return 0;
47426 }
47427 _ACEOF
47428 if ac_fn_cxx_try_compile "$LINENO"; then :
47429   glibcxx_cv_func_fabsf_use=yes
47430 else
47431   glibcxx_cv_func_fabsf_use=no
47432 fi
47433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47434       ac_ext=c
47435 ac_cpp='$CPP $CPPFLAGS'
47436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47439
47440
47441 fi
47442
47443   fi
47444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47445 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47446
47447   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47448     for ac_func in fabsf
47449 do :
47450   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47451 if test "x$ac_cv_func_fabsf" = x""yes; then :
47452   cat >>confdefs.h <<_ACEOF
47453 #define HAVE_FABSF 1
47454 _ACEOF
47455
47456 fi
47457 done
47458
47459   else
47460
47461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47462 $as_echo_n "checking for _fabsf declaration... " >&6; }
47463   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47464     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47465   $as_echo_n "(cached) " >&6
47466 else
47467
47468
47469       ac_ext=cpp
47470 ac_cpp='$CXXCPP $CPPFLAGS'
47471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47474
47475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47476 /* end confdefs.h.  */
47477 #include <math.h>
47478                       #ifdef HAVE_IEEEFP_H
47479                       #include <ieeefp.h>
47480                       #endif
47481
47482 int
47483 main ()
47484 {
47485  _fabsf(0);
47486   ;
47487   return 0;
47488 }
47489 _ACEOF
47490 if ac_fn_cxx_try_compile "$LINENO"; then :
47491   glibcxx_cv_func__fabsf_use=yes
47492 else
47493   glibcxx_cv_func__fabsf_use=no
47494 fi
47495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47496       ac_ext=c
47497 ac_cpp='$CPP $CPPFLAGS'
47498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47501
47502
47503 fi
47504
47505   fi
47506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47507 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47508
47509     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47510       for ac_func in _fabsf
47511 do :
47512   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47513 if test "x$ac_cv_func__fabsf" = x""yes; then :
47514   cat >>confdefs.h <<_ACEOF
47515 #define HAVE__FABSF 1
47516 _ACEOF
47517
47518 fi
47519 done
47520
47521     fi
47522   fi
47523
47524
47525
47526
47527
47528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47529 $as_echo_n "checking for fmodf declaration... " >&6; }
47530   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47531     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47532   $as_echo_n "(cached) " >&6
47533 else
47534
47535
47536       ac_ext=cpp
47537 ac_cpp='$CXXCPP $CPPFLAGS'
47538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47541
47542       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47543 /* end confdefs.h.  */
47544 #include <math.h>
47545 int
47546 main ()
47547 {
47548  fmodf(0, 0);
47549   ;
47550   return 0;
47551 }
47552 _ACEOF
47553 if ac_fn_cxx_try_compile "$LINENO"; then :
47554   glibcxx_cv_func_fmodf_use=yes
47555 else
47556   glibcxx_cv_func_fmodf_use=no
47557 fi
47558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47559       ac_ext=c
47560 ac_cpp='$CPP $CPPFLAGS'
47561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47564
47565
47566 fi
47567
47568   fi
47569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47570 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47571
47572   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47573     for ac_func in fmodf
47574 do :
47575   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47576 if test "x$ac_cv_func_fmodf" = x""yes; then :
47577   cat >>confdefs.h <<_ACEOF
47578 #define HAVE_FMODF 1
47579 _ACEOF
47580
47581 fi
47582 done
47583
47584   else
47585
47586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47587 $as_echo_n "checking for _fmodf declaration... " >&6; }
47588   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47589     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47590   $as_echo_n "(cached) " >&6
47591 else
47592
47593
47594       ac_ext=cpp
47595 ac_cpp='$CXXCPP $CPPFLAGS'
47596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47599
47600       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47601 /* end confdefs.h.  */
47602 #include <math.h>
47603 int
47604 main ()
47605 {
47606  _fmodf(0, 0);
47607   ;
47608   return 0;
47609 }
47610 _ACEOF
47611 if ac_fn_cxx_try_compile "$LINENO"; then :
47612   glibcxx_cv_func__fmodf_use=yes
47613 else
47614   glibcxx_cv_func__fmodf_use=no
47615 fi
47616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47617       ac_ext=c
47618 ac_cpp='$CPP $CPPFLAGS'
47619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47622
47623
47624 fi
47625
47626   fi
47627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47628 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47629
47630     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47631       for ac_func in _fmodf
47632 do :
47633   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47634 if test "x$ac_cv_func__fmodf" = x""yes; then :
47635   cat >>confdefs.h <<_ACEOF
47636 #define HAVE__FMODF 1
47637 _ACEOF
47638
47639 fi
47640 done
47641
47642     fi
47643   fi
47644
47645
47646
47647
47648
47649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47650 $as_echo_n "checking for frexpf declaration... " >&6; }
47651   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47652     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47653   $as_echo_n "(cached) " >&6
47654 else
47655
47656
47657       ac_ext=cpp
47658 ac_cpp='$CXXCPP $CPPFLAGS'
47659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47662
47663       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47664 /* end confdefs.h.  */
47665 #include <math.h>
47666 int
47667 main ()
47668 {
47669  frexpf(0, 0);
47670   ;
47671   return 0;
47672 }
47673 _ACEOF
47674 if ac_fn_cxx_try_compile "$LINENO"; then :
47675   glibcxx_cv_func_frexpf_use=yes
47676 else
47677   glibcxx_cv_func_frexpf_use=no
47678 fi
47679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47680       ac_ext=c
47681 ac_cpp='$CPP $CPPFLAGS'
47682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47685
47686
47687 fi
47688
47689   fi
47690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47691 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47692
47693   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47694     for ac_func in frexpf
47695 do :
47696   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47697 if test "x$ac_cv_func_frexpf" = x""yes; then :
47698   cat >>confdefs.h <<_ACEOF
47699 #define HAVE_FREXPF 1
47700 _ACEOF
47701
47702 fi
47703 done
47704
47705   else
47706
47707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47708 $as_echo_n "checking for _frexpf declaration... " >&6; }
47709   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47710     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47711   $as_echo_n "(cached) " >&6
47712 else
47713
47714
47715       ac_ext=cpp
47716 ac_cpp='$CXXCPP $CPPFLAGS'
47717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47720
47721       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47722 /* end confdefs.h.  */
47723 #include <math.h>
47724 int
47725 main ()
47726 {
47727  _frexpf(0, 0);
47728   ;
47729   return 0;
47730 }
47731 _ACEOF
47732 if ac_fn_cxx_try_compile "$LINENO"; then :
47733   glibcxx_cv_func__frexpf_use=yes
47734 else
47735   glibcxx_cv_func__frexpf_use=no
47736 fi
47737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47738       ac_ext=c
47739 ac_cpp='$CPP $CPPFLAGS'
47740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47743
47744
47745 fi
47746
47747   fi
47748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47749 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47750
47751     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47752       for ac_func in _frexpf
47753 do :
47754   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47755 if test "x$ac_cv_func__frexpf" = x""yes; then :
47756   cat >>confdefs.h <<_ACEOF
47757 #define HAVE__FREXPF 1
47758 _ACEOF
47759
47760 fi
47761 done
47762
47763     fi
47764   fi
47765
47766
47767
47768
47769
47770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47771 $as_echo_n "checking for hypotf declaration... " >&6; }
47772   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47773     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47774   $as_echo_n "(cached) " >&6
47775 else
47776
47777
47778       ac_ext=cpp
47779 ac_cpp='$CXXCPP $CPPFLAGS'
47780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47783
47784       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47785 /* end confdefs.h.  */
47786 #include <math.h>
47787 int
47788 main ()
47789 {
47790  hypotf(0, 0);
47791   ;
47792   return 0;
47793 }
47794 _ACEOF
47795 if ac_fn_cxx_try_compile "$LINENO"; then :
47796   glibcxx_cv_func_hypotf_use=yes
47797 else
47798   glibcxx_cv_func_hypotf_use=no
47799 fi
47800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47801       ac_ext=c
47802 ac_cpp='$CPP $CPPFLAGS'
47803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47806
47807
47808 fi
47809
47810   fi
47811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47812 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47813
47814   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47815     for ac_func in hypotf
47816 do :
47817   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47818 if test "x$ac_cv_func_hypotf" = x""yes; then :
47819   cat >>confdefs.h <<_ACEOF
47820 #define HAVE_HYPOTF 1
47821 _ACEOF
47822
47823 fi
47824 done
47825
47826   else
47827
47828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47829 $as_echo_n "checking for _hypotf declaration... " >&6; }
47830   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47831     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47832   $as_echo_n "(cached) " >&6
47833 else
47834
47835
47836       ac_ext=cpp
47837 ac_cpp='$CXXCPP $CPPFLAGS'
47838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47841
47842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47843 /* end confdefs.h.  */
47844 #include <math.h>
47845 int
47846 main ()
47847 {
47848  _hypotf(0, 0);
47849   ;
47850   return 0;
47851 }
47852 _ACEOF
47853 if ac_fn_cxx_try_compile "$LINENO"; then :
47854   glibcxx_cv_func__hypotf_use=yes
47855 else
47856   glibcxx_cv_func__hypotf_use=no
47857 fi
47858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47859       ac_ext=c
47860 ac_cpp='$CPP $CPPFLAGS'
47861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47864
47865
47866 fi
47867
47868   fi
47869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47870 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47871
47872     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47873       for ac_func in _hypotf
47874 do :
47875   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47876 if test "x$ac_cv_func__hypotf" = x""yes; then :
47877   cat >>confdefs.h <<_ACEOF
47878 #define HAVE__HYPOTF 1
47879 _ACEOF
47880
47881 fi
47882 done
47883
47884     fi
47885   fi
47886
47887
47888
47889
47890
47891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47892 $as_echo_n "checking for ldexpf declaration... " >&6; }
47893   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47894     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47895   $as_echo_n "(cached) " >&6
47896 else
47897
47898
47899       ac_ext=cpp
47900 ac_cpp='$CXXCPP $CPPFLAGS'
47901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47904
47905       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47906 /* end confdefs.h.  */
47907 #include <math.h>
47908 int
47909 main ()
47910 {
47911  ldexpf(0, 0);
47912   ;
47913   return 0;
47914 }
47915 _ACEOF
47916 if ac_fn_cxx_try_compile "$LINENO"; then :
47917   glibcxx_cv_func_ldexpf_use=yes
47918 else
47919   glibcxx_cv_func_ldexpf_use=no
47920 fi
47921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47922       ac_ext=c
47923 ac_cpp='$CPP $CPPFLAGS'
47924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47927
47928
47929 fi
47930
47931   fi
47932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47933 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47934
47935   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47936     for ac_func in ldexpf
47937 do :
47938   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47939 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47940   cat >>confdefs.h <<_ACEOF
47941 #define HAVE_LDEXPF 1
47942 _ACEOF
47943
47944 fi
47945 done
47946
47947   else
47948
47949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47950 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47951   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47952     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47953   $as_echo_n "(cached) " >&6
47954 else
47955
47956
47957       ac_ext=cpp
47958 ac_cpp='$CXXCPP $CPPFLAGS'
47959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47962
47963       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47964 /* end confdefs.h.  */
47965 #include <math.h>
47966 int
47967 main ()
47968 {
47969  _ldexpf(0, 0);
47970   ;
47971   return 0;
47972 }
47973 _ACEOF
47974 if ac_fn_cxx_try_compile "$LINENO"; then :
47975   glibcxx_cv_func__ldexpf_use=yes
47976 else
47977   glibcxx_cv_func__ldexpf_use=no
47978 fi
47979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47980       ac_ext=c
47981 ac_cpp='$CPP $CPPFLAGS'
47982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47985
47986
47987 fi
47988
47989   fi
47990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47991 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47992
47993     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47994       for ac_func in _ldexpf
47995 do :
47996   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47997 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47998   cat >>confdefs.h <<_ACEOF
47999 #define HAVE__LDEXPF 1
48000 _ACEOF
48001
48002 fi
48003 done
48004
48005     fi
48006   fi
48007
48008
48009
48010
48011
48012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48013 $as_echo_n "checking for logf declaration... " >&6; }
48014   if test x${glibcxx_cv_func_logf_use+set} != xset; then
48015     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48016   $as_echo_n "(cached) " >&6
48017 else
48018
48019
48020       ac_ext=cpp
48021 ac_cpp='$CXXCPP $CPPFLAGS'
48022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48025
48026       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48027 /* end confdefs.h.  */
48028 #include <math.h>
48029                       #ifdef HAVE_IEEEFP_H
48030                       #include <ieeefp.h>
48031                       #endif
48032
48033 int
48034 main ()
48035 {
48036  logf(0);
48037   ;
48038   return 0;
48039 }
48040 _ACEOF
48041 if ac_fn_cxx_try_compile "$LINENO"; then :
48042   glibcxx_cv_func_logf_use=yes
48043 else
48044   glibcxx_cv_func_logf_use=no
48045 fi
48046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48047       ac_ext=c
48048 ac_cpp='$CPP $CPPFLAGS'
48049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48052
48053
48054 fi
48055
48056   fi
48057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48058 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48059
48060   if test x$glibcxx_cv_func_logf_use = x"yes"; then
48061     for ac_func in logf
48062 do :
48063   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48064 if test "x$ac_cv_func_logf" = x""yes; then :
48065   cat >>confdefs.h <<_ACEOF
48066 #define HAVE_LOGF 1
48067 _ACEOF
48068
48069 fi
48070 done
48071
48072   else
48073
48074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48075 $as_echo_n "checking for _logf declaration... " >&6; }
48076   if test x${glibcxx_cv_func__logf_use+set} != xset; then
48077     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48078   $as_echo_n "(cached) " >&6
48079 else
48080
48081
48082       ac_ext=cpp
48083 ac_cpp='$CXXCPP $CPPFLAGS'
48084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48087
48088       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48089 /* end confdefs.h.  */
48090 #include <math.h>
48091                       #ifdef HAVE_IEEEFP_H
48092                       #include <ieeefp.h>
48093                       #endif
48094
48095 int
48096 main ()
48097 {
48098  _logf(0);
48099   ;
48100   return 0;
48101 }
48102 _ACEOF
48103 if ac_fn_cxx_try_compile "$LINENO"; then :
48104   glibcxx_cv_func__logf_use=yes
48105 else
48106   glibcxx_cv_func__logf_use=no
48107 fi
48108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48109       ac_ext=c
48110 ac_cpp='$CPP $CPPFLAGS'
48111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48114
48115
48116 fi
48117
48118   fi
48119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48120 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48121
48122     if test x$glibcxx_cv_func__logf_use = x"yes"; then
48123       for ac_func in _logf
48124 do :
48125   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48126 if test "x$ac_cv_func__logf" = x""yes; then :
48127   cat >>confdefs.h <<_ACEOF
48128 #define HAVE__LOGF 1
48129 _ACEOF
48130
48131 fi
48132 done
48133
48134     fi
48135   fi
48136
48137
48138
48139
48140
48141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48142 $as_echo_n "checking for log10f declaration... " >&6; }
48143   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48144     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48145   $as_echo_n "(cached) " >&6
48146 else
48147
48148
48149       ac_ext=cpp
48150 ac_cpp='$CXXCPP $CPPFLAGS'
48151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48154
48155       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48156 /* end confdefs.h.  */
48157 #include <math.h>
48158                       #ifdef HAVE_IEEEFP_H
48159                       #include <ieeefp.h>
48160                       #endif
48161
48162 int
48163 main ()
48164 {
48165  log10f(0);
48166   ;
48167   return 0;
48168 }
48169 _ACEOF
48170 if ac_fn_cxx_try_compile "$LINENO"; then :
48171   glibcxx_cv_func_log10f_use=yes
48172 else
48173   glibcxx_cv_func_log10f_use=no
48174 fi
48175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48176       ac_ext=c
48177 ac_cpp='$CPP $CPPFLAGS'
48178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48181
48182
48183 fi
48184
48185   fi
48186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48187 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48188
48189   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48190     for ac_func in log10f
48191 do :
48192   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48193 if test "x$ac_cv_func_log10f" = x""yes; then :
48194   cat >>confdefs.h <<_ACEOF
48195 #define HAVE_LOG10F 1
48196 _ACEOF
48197
48198 fi
48199 done
48200
48201   else
48202
48203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48204 $as_echo_n "checking for _log10f declaration... " >&6; }
48205   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48206     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48207   $as_echo_n "(cached) " >&6
48208 else
48209
48210
48211       ac_ext=cpp
48212 ac_cpp='$CXXCPP $CPPFLAGS'
48213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48216
48217       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48218 /* end confdefs.h.  */
48219 #include <math.h>
48220                       #ifdef HAVE_IEEEFP_H
48221                       #include <ieeefp.h>
48222                       #endif
48223
48224 int
48225 main ()
48226 {
48227  _log10f(0);
48228   ;
48229   return 0;
48230 }
48231 _ACEOF
48232 if ac_fn_cxx_try_compile "$LINENO"; then :
48233   glibcxx_cv_func__log10f_use=yes
48234 else
48235   glibcxx_cv_func__log10f_use=no
48236 fi
48237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48238       ac_ext=c
48239 ac_cpp='$CPP $CPPFLAGS'
48240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48243
48244
48245 fi
48246
48247   fi
48248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48249 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48250
48251     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48252       for ac_func in _log10f
48253 do :
48254   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48255 if test "x$ac_cv_func__log10f" = x""yes; then :
48256   cat >>confdefs.h <<_ACEOF
48257 #define HAVE__LOG10F 1
48258 _ACEOF
48259
48260 fi
48261 done
48262
48263     fi
48264   fi
48265
48266
48267
48268
48269
48270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48271 $as_echo_n "checking for modff declaration... " >&6; }
48272   if test x${glibcxx_cv_func_modff_use+set} != xset; then
48273     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48274   $as_echo_n "(cached) " >&6
48275 else
48276
48277
48278       ac_ext=cpp
48279 ac_cpp='$CXXCPP $CPPFLAGS'
48280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48283
48284       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48285 /* end confdefs.h.  */
48286 #include <math.h>
48287 int
48288 main ()
48289 {
48290  modff(0, 0);
48291   ;
48292   return 0;
48293 }
48294 _ACEOF
48295 if ac_fn_cxx_try_compile "$LINENO"; then :
48296   glibcxx_cv_func_modff_use=yes
48297 else
48298   glibcxx_cv_func_modff_use=no
48299 fi
48300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48301       ac_ext=c
48302 ac_cpp='$CPP $CPPFLAGS'
48303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48306
48307
48308 fi
48309
48310   fi
48311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48312 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48313
48314   if test x$glibcxx_cv_func_modff_use = x"yes"; then
48315     for ac_func in modff
48316 do :
48317   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48318 if test "x$ac_cv_func_modff" = x""yes; then :
48319   cat >>confdefs.h <<_ACEOF
48320 #define HAVE_MODFF 1
48321 _ACEOF
48322
48323 fi
48324 done
48325
48326   else
48327
48328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48329 $as_echo_n "checking for _modff declaration... " >&6; }
48330   if test x${glibcxx_cv_func__modff_use+set} != xset; then
48331     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48332   $as_echo_n "(cached) " >&6
48333 else
48334
48335
48336       ac_ext=cpp
48337 ac_cpp='$CXXCPP $CPPFLAGS'
48338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48341
48342       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48343 /* end confdefs.h.  */
48344 #include <math.h>
48345 int
48346 main ()
48347 {
48348  _modff(0, 0);
48349   ;
48350   return 0;
48351 }
48352 _ACEOF
48353 if ac_fn_cxx_try_compile "$LINENO"; then :
48354   glibcxx_cv_func__modff_use=yes
48355 else
48356   glibcxx_cv_func__modff_use=no
48357 fi
48358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48359       ac_ext=c
48360 ac_cpp='$CPP $CPPFLAGS'
48361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48364
48365
48366 fi
48367
48368   fi
48369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48370 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48371
48372     if test x$glibcxx_cv_func__modff_use = x"yes"; then
48373       for ac_func in _modff
48374 do :
48375   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48376 if test "x$ac_cv_func__modff" = x""yes; then :
48377   cat >>confdefs.h <<_ACEOF
48378 #define HAVE__MODFF 1
48379 _ACEOF
48380
48381 fi
48382 done
48383
48384     fi
48385   fi
48386
48387
48388
48389
48390
48391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48392 $as_echo_n "checking for modf declaration... " >&6; }
48393   if test x${glibcxx_cv_func_modf_use+set} != xset; then
48394     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48395   $as_echo_n "(cached) " >&6
48396 else
48397
48398
48399       ac_ext=cpp
48400 ac_cpp='$CXXCPP $CPPFLAGS'
48401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48404
48405       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48406 /* end confdefs.h.  */
48407 #include <math.h>
48408 int
48409 main ()
48410 {
48411  modf(0, 0);
48412   ;
48413   return 0;
48414 }
48415 _ACEOF
48416 if ac_fn_cxx_try_compile "$LINENO"; then :
48417   glibcxx_cv_func_modf_use=yes
48418 else
48419   glibcxx_cv_func_modf_use=no
48420 fi
48421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48422       ac_ext=c
48423 ac_cpp='$CPP $CPPFLAGS'
48424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48427
48428
48429 fi
48430
48431   fi
48432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48433 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48434
48435   if test x$glibcxx_cv_func_modf_use = x"yes"; then
48436     for ac_func in modf
48437 do :
48438   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48439 if test "x$ac_cv_func_modf" = x""yes; then :
48440   cat >>confdefs.h <<_ACEOF
48441 #define HAVE_MODF 1
48442 _ACEOF
48443
48444 fi
48445 done
48446
48447   else
48448
48449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48450 $as_echo_n "checking for _modf declaration... " >&6; }
48451   if test x${glibcxx_cv_func__modf_use+set} != xset; then
48452     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48453   $as_echo_n "(cached) " >&6
48454 else
48455
48456
48457       ac_ext=cpp
48458 ac_cpp='$CXXCPP $CPPFLAGS'
48459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48462
48463       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48464 /* end confdefs.h.  */
48465 #include <math.h>
48466 int
48467 main ()
48468 {
48469  _modf(0, 0);
48470   ;
48471   return 0;
48472 }
48473 _ACEOF
48474 if ac_fn_cxx_try_compile "$LINENO"; then :
48475   glibcxx_cv_func__modf_use=yes
48476 else
48477   glibcxx_cv_func__modf_use=no
48478 fi
48479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48480       ac_ext=c
48481 ac_cpp='$CPP $CPPFLAGS'
48482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48485
48486
48487 fi
48488
48489   fi
48490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48491 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48492
48493     if test x$glibcxx_cv_func__modf_use = x"yes"; then
48494       for ac_func in _modf
48495 do :
48496   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48497 if test "x$ac_cv_func__modf" = x""yes; then :
48498   cat >>confdefs.h <<_ACEOF
48499 #define HAVE__MODF 1
48500 _ACEOF
48501
48502 fi
48503 done
48504
48505     fi
48506   fi
48507
48508
48509
48510
48511
48512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48513 $as_echo_n "checking for powf declaration... " >&6; }
48514   if test x${glibcxx_cv_func_powf_use+set} != xset; then
48515     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48516   $as_echo_n "(cached) " >&6
48517 else
48518
48519
48520       ac_ext=cpp
48521 ac_cpp='$CXXCPP $CPPFLAGS'
48522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48525
48526       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48527 /* end confdefs.h.  */
48528 #include <math.h>
48529 int
48530 main ()
48531 {
48532  powf(0, 0);
48533   ;
48534   return 0;
48535 }
48536 _ACEOF
48537 if ac_fn_cxx_try_compile "$LINENO"; then :
48538   glibcxx_cv_func_powf_use=yes
48539 else
48540   glibcxx_cv_func_powf_use=no
48541 fi
48542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48543       ac_ext=c
48544 ac_cpp='$CPP $CPPFLAGS'
48545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48548
48549
48550 fi
48551
48552   fi
48553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48554 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48555
48556   if test x$glibcxx_cv_func_powf_use = x"yes"; then
48557     for ac_func in powf
48558 do :
48559   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48560 if test "x$ac_cv_func_powf" = x""yes; then :
48561   cat >>confdefs.h <<_ACEOF
48562 #define HAVE_POWF 1
48563 _ACEOF
48564
48565 fi
48566 done
48567
48568   else
48569
48570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48571 $as_echo_n "checking for _powf declaration... " >&6; }
48572   if test x${glibcxx_cv_func__powf_use+set} != xset; then
48573     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48574   $as_echo_n "(cached) " >&6
48575 else
48576
48577
48578       ac_ext=cpp
48579 ac_cpp='$CXXCPP $CPPFLAGS'
48580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48583
48584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48585 /* end confdefs.h.  */
48586 #include <math.h>
48587 int
48588 main ()
48589 {
48590  _powf(0, 0);
48591   ;
48592   return 0;
48593 }
48594 _ACEOF
48595 if ac_fn_cxx_try_compile "$LINENO"; then :
48596   glibcxx_cv_func__powf_use=yes
48597 else
48598   glibcxx_cv_func__powf_use=no
48599 fi
48600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48601       ac_ext=c
48602 ac_cpp='$CPP $CPPFLAGS'
48603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48606
48607
48608 fi
48609
48610   fi
48611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48612 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48613
48614     if test x$glibcxx_cv_func__powf_use = x"yes"; then
48615       for ac_func in _powf
48616 do :
48617   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48618 if test "x$ac_cv_func__powf" = x""yes; then :
48619   cat >>confdefs.h <<_ACEOF
48620 #define HAVE__POWF 1
48621 _ACEOF
48622
48623 fi
48624 done
48625
48626     fi
48627   fi
48628
48629
48630
48631
48632
48633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48634 $as_echo_n "checking for sqrtf declaration... " >&6; }
48635   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48636     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48637   $as_echo_n "(cached) " >&6
48638 else
48639
48640
48641       ac_ext=cpp
48642 ac_cpp='$CXXCPP $CPPFLAGS'
48643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48646
48647       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48648 /* end confdefs.h.  */
48649 #include <math.h>
48650                       #ifdef HAVE_IEEEFP_H
48651                       #include <ieeefp.h>
48652                       #endif
48653
48654 int
48655 main ()
48656 {
48657  sqrtf(0);
48658   ;
48659   return 0;
48660 }
48661 _ACEOF
48662 if ac_fn_cxx_try_compile "$LINENO"; then :
48663   glibcxx_cv_func_sqrtf_use=yes
48664 else
48665   glibcxx_cv_func_sqrtf_use=no
48666 fi
48667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48668       ac_ext=c
48669 ac_cpp='$CPP $CPPFLAGS'
48670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48673
48674
48675 fi
48676
48677   fi
48678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48679 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48680
48681   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48682     for ac_func in sqrtf
48683 do :
48684   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48685 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48686   cat >>confdefs.h <<_ACEOF
48687 #define HAVE_SQRTF 1
48688 _ACEOF
48689
48690 fi
48691 done
48692
48693   else
48694
48695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48696 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48697   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48698     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48699   $as_echo_n "(cached) " >&6
48700 else
48701
48702
48703       ac_ext=cpp
48704 ac_cpp='$CXXCPP $CPPFLAGS'
48705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48708
48709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48710 /* end confdefs.h.  */
48711 #include <math.h>
48712                       #ifdef HAVE_IEEEFP_H
48713                       #include <ieeefp.h>
48714                       #endif
48715
48716 int
48717 main ()
48718 {
48719  _sqrtf(0);
48720   ;
48721   return 0;
48722 }
48723 _ACEOF
48724 if ac_fn_cxx_try_compile "$LINENO"; then :
48725   glibcxx_cv_func__sqrtf_use=yes
48726 else
48727   glibcxx_cv_func__sqrtf_use=no
48728 fi
48729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48730       ac_ext=c
48731 ac_cpp='$CPP $CPPFLAGS'
48732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48735
48736
48737 fi
48738
48739   fi
48740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48741 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48742
48743     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48744       for ac_func in _sqrtf
48745 do :
48746   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48747 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48748   cat >>confdefs.h <<_ACEOF
48749 #define HAVE__SQRTF 1
48750 _ACEOF
48751
48752 fi
48753 done
48754
48755     fi
48756   fi
48757
48758
48759
48760
48761
48762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48763 $as_echo_n "checking for sincosf declaration... " >&6; }
48764   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48765     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48766   $as_echo_n "(cached) " >&6
48767 else
48768
48769
48770       ac_ext=cpp
48771 ac_cpp='$CXXCPP $CPPFLAGS'
48772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48775
48776       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48777 /* end confdefs.h.  */
48778 #include <math.h>
48779 int
48780 main ()
48781 {
48782  sincosf(0, 0, 0);
48783   ;
48784   return 0;
48785 }
48786 _ACEOF
48787 if ac_fn_cxx_try_compile "$LINENO"; then :
48788   glibcxx_cv_func_sincosf_use=yes
48789 else
48790   glibcxx_cv_func_sincosf_use=no
48791 fi
48792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48793       ac_ext=c
48794 ac_cpp='$CPP $CPPFLAGS'
48795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48798
48799
48800 fi
48801
48802   fi
48803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48804 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48805
48806   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48807     for ac_func in sincosf
48808 do :
48809   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48810 if test "x$ac_cv_func_sincosf" = x""yes; then :
48811   cat >>confdefs.h <<_ACEOF
48812 #define HAVE_SINCOSF 1
48813 _ACEOF
48814
48815 fi
48816 done
48817
48818   else
48819
48820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48821 $as_echo_n "checking for _sincosf declaration... " >&6; }
48822   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48823     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48824   $as_echo_n "(cached) " >&6
48825 else
48826
48827
48828       ac_ext=cpp
48829 ac_cpp='$CXXCPP $CPPFLAGS'
48830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48833
48834       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48835 /* end confdefs.h.  */
48836 #include <math.h>
48837 int
48838 main ()
48839 {
48840  _sincosf(0, 0, 0);
48841   ;
48842   return 0;
48843 }
48844 _ACEOF
48845 if ac_fn_cxx_try_compile "$LINENO"; then :
48846   glibcxx_cv_func__sincosf_use=yes
48847 else
48848   glibcxx_cv_func__sincosf_use=no
48849 fi
48850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48851       ac_ext=c
48852 ac_cpp='$CPP $CPPFLAGS'
48853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48856
48857
48858 fi
48859
48860   fi
48861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48862 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48863
48864     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48865       for ac_func in _sincosf
48866 do :
48867   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48868 if test "x$ac_cv_func__sincosf" = x""yes; then :
48869   cat >>confdefs.h <<_ACEOF
48870 #define HAVE__SINCOSF 1
48871 _ACEOF
48872
48873 fi
48874 done
48875
48876     fi
48877   fi
48878
48879
48880
48881
48882
48883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48884 $as_echo_n "checking for finitef declaration... " >&6; }
48885   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48886     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48887   $as_echo_n "(cached) " >&6
48888 else
48889
48890
48891       ac_ext=cpp
48892 ac_cpp='$CXXCPP $CPPFLAGS'
48893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48896
48897       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48898 /* end confdefs.h.  */
48899 #include <math.h>
48900                       #ifdef HAVE_IEEEFP_H
48901                       #include <ieeefp.h>
48902                       #endif
48903
48904 int
48905 main ()
48906 {
48907  finitef(0);
48908   ;
48909   return 0;
48910 }
48911 _ACEOF
48912 if ac_fn_cxx_try_compile "$LINENO"; then :
48913   glibcxx_cv_func_finitef_use=yes
48914 else
48915   glibcxx_cv_func_finitef_use=no
48916 fi
48917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48918       ac_ext=c
48919 ac_cpp='$CPP $CPPFLAGS'
48920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48923
48924
48925 fi
48926
48927   fi
48928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48929 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48930
48931   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48932     for ac_func in finitef
48933 do :
48934   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48935 if test "x$ac_cv_func_finitef" = x""yes; then :
48936   cat >>confdefs.h <<_ACEOF
48937 #define HAVE_FINITEF 1
48938 _ACEOF
48939
48940 fi
48941 done
48942
48943   else
48944
48945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48946 $as_echo_n "checking for _finitef declaration... " >&6; }
48947   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48948     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48949   $as_echo_n "(cached) " >&6
48950 else
48951
48952
48953       ac_ext=cpp
48954 ac_cpp='$CXXCPP $CPPFLAGS'
48955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48958
48959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48960 /* end confdefs.h.  */
48961 #include <math.h>
48962                       #ifdef HAVE_IEEEFP_H
48963                       #include <ieeefp.h>
48964                       #endif
48965
48966 int
48967 main ()
48968 {
48969  _finitef(0);
48970   ;
48971   return 0;
48972 }
48973 _ACEOF
48974 if ac_fn_cxx_try_compile "$LINENO"; then :
48975   glibcxx_cv_func__finitef_use=yes
48976 else
48977   glibcxx_cv_func__finitef_use=no
48978 fi
48979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48980       ac_ext=c
48981 ac_cpp='$CPP $CPPFLAGS'
48982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48985
48986
48987 fi
48988
48989   fi
48990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48991 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48992
48993     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48994       for ac_func in _finitef
48995 do :
48996   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48997 if test "x$ac_cv_func__finitef" = x""yes; then :
48998   cat >>confdefs.h <<_ACEOF
48999 #define HAVE__FINITEF 1
49000 _ACEOF
49001
49002 fi
49003 done
49004
49005     fi
49006   fi
49007
49008
49009
49010
49011
49012     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49013 $as_echo_n "checking for long double trig functions... " >&6; }
49014   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49015   $as_echo_n "(cached) " >&6
49016 else
49017
49018
49019     ac_ext=cpp
49020 ac_cpp='$CXXCPP $CPPFLAGS'
49021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49024
49025     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49026 /* end confdefs.h.  */
49027 #include <math.h>
49028 int
49029 main ()
49030 {
49031 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49032   ;
49033   return 0;
49034 }
49035 _ACEOF
49036 if ac_fn_cxx_try_compile "$LINENO"; then :
49037   glibcxx_cv_func_long_double_trig_use=yes
49038 else
49039   glibcxx_cv_func_long_double_trig_use=no
49040 fi
49041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49042     ac_ext=c
49043 ac_cpp='$CPP $CPPFLAGS'
49044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49047
49048 fi
49049
49050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49051 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49052   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49053     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49054 do :
49055   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49056 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49057 eval as_val=\$$as_ac_var
49058    if test "x$as_val" = x""yes; then :
49059   cat >>confdefs.h <<_ACEOF
49060 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49061 _ACEOF
49062
49063 fi
49064 done
49065
49066   else
49067     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49068 $as_echo_n "checking for _long double trig functions... " >&6; }
49069     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49070   $as_echo_n "(cached) " >&6
49071 else
49072
49073
49074       ac_ext=cpp
49075 ac_cpp='$CXXCPP $CPPFLAGS'
49076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49079
49080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49081 /* end confdefs.h.  */
49082 #include <math.h>
49083 int
49084 main ()
49085 {
49086 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49087   ;
49088   return 0;
49089 }
49090 _ACEOF
49091 if ac_fn_cxx_try_compile "$LINENO"; then :
49092   glibcxx_cv_func__long_double_trig_use=yes
49093 else
49094   glibcxx_cv_func__long_double_trig_use=no
49095 fi
49096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49097       ac_ext=c
49098 ac_cpp='$CPP $CPPFLAGS'
49099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49102
49103 fi
49104
49105     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49106 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49107     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49108       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49109 do :
49110   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49112 eval as_val=\$$as_ac_var
49113    if test "x$as_val" = x""yes; then :
49114   cat >>confdefs.h <<_ACEOF
49115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49116 _ACEOF
49117
49118 fi
49119 done
49120
49121     fi
49122   fi
49123
49124
49125
49126
49127
49128     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49129 $as_echo_n "checking for long double round functions... " >&6; }
49130   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49131   $as_echo_n "(cached) " >&6
49132 else
49133
49134
49135     ac_ext=cpp
49136 ac_cpp='$CXXCPP $CPPFLAGS'
49137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49140
49141     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49142 /* end confdefs.h.  */
49143 #include <math.h>
49144 int
49145 main ()
49146 {
49147 ceill (0); floorl (0);
49148   ;
49149   return 0;
49150 }
49151 _ACEOF
49152 if ac_fn_cxx_try_compile "$LINENO"; then :
49153   glibcxx_cv_func_long_double_round_use=yes
49154 else
49155   glibcxx_cv_func_long_double_round_use=no
49156 fi
49157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49158     ac_ext=c
49159 ac_cpp='$CPP $CPPFLAGS'
49160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49163
49164 fi
49165
49166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49167 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49168   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49169     for ac_func in ceill floorl
49170 do :
49171   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49172 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49173 eval as_val=\$$as_ac_var
49174    if test "x$as_val" = x""yes; then :
49175   cat >>confdefs.h <<_ACEOF
49176 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49177 _ACEOF
49178
49179 fi
49180 done
49181
49182   else
49183     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49184 $as_echo_n "checking for _long double round functions... " >&6; }
49185     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49186   $as_echo_n "(cached) " >&6
49187 else
49188
49189
49190       ac_ext=cpp
49191 ac_cpp='$CXXCPP $CPPFLAGS'
49192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49195
49196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49197 /* end confdefs.h.  */
49198 #include <math.h>
49199 int
49200 main ()
49201 {
49202 _ceill (0); _floorl (0);
49203   ;
49204   return 0;
49205 }
49206 _ACEOF
49207 if ac_fn_cxx_try_compile "$LINENO"; then :
49208   glibcxx_cv_func__long_double_round_use=yes
49209 else
49210   glibcxx_cv_func__long_double_round_use=no
49211 fi
49212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49213       ac_ext=c
49214 ac_cpp='$CPP $CPPFLAGS'
49215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49218
49219 fi
49220
49221     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49222 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49223     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49224       for ac_func in _ceill _floorl
49225 do :
49226   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49228 eval as_val=\$$as_ac_var
49229    if test "x$as_val" = x""yes; then :
49230   cat >>confdefs.h <<_ACEOF
49231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49232 _ACEOF
49233
49234 fi
49235 done
49236
49237     fi
49238   fi
49239
49240
49241
49242
49243
49244
49245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49246 $as_echo_n "checking for isnanl declaration... " >&6; }
49247   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49248     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49249   $as_echo_n "(cached) " >&6
49250 else
49251
49252
49253       ac_ext=cpp
49254 ac_cpp='$CXXCPP $CPPFLAGS'
49255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49258
49259       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49260 /* end confdefs.h.  */
49261 #include <math.h>
49262                       #ifdef HAVE_IEEEFP_H
49263                       #include <ieeefp.h>
49264                       #endif
49265
49266 int
49267 main ()
49268 {
49269  isnanl(0);
49270   ;
49271   return 0;
49272 }
49273 _ACEOF
49274 if ac_fn_cxx_try_compile "$LINENO"; then :
49275   glibcxx_cv_func_isnanl_use=yes
49276 else
49277   glibcxx_cv_func_isnanl_use=no
49278 fi
49279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49280       ac_ext=c
49281 ac_cpp='$CPP $CPPFLAGS'
49282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49285
49286
49287 fi
49288
49289   fi
49290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49291 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49292
49293   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49294     for ac_func in isnanl
49295 do :
49296   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49297 if test "x$ac_cv_func_isnanl" = x""yes; then :
49298   cat >>confdefs.h <<_ACEOF
49299 #define HAVE_ISNANL 1
49300 _ACEOF
49301
49302 fi
49303 done
49304
49305   else
49306
49307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49308 $as_echo_n "checking for _isnanl declaration... " >&6; }
49309   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49310     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49311   $as_echo_n "(cached) " >&6
49312 else
49313
49314
49315       ac_ext=cpp
49316 ac_cpp='$CXXCPP $CPPFLAGS'
49317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49320
49321       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49322 /* end confdefs.h.  */
49323 #include <math.h>
49324                       #ifdef HAVE_IEEEFP_H
49325                       #include <ieeefp.h>
49326                       #endif
49327
49328 int
49329 main ()
49330 {
49331  _isnanl(0);
49332   ;
49333   return 0;
49334 }
49335 _ACEOF
49336 if ac_fn_cxx_try_compile "$LINENO"; then :
49337   glibcxx_cv_func__isnanl_use=yes
49338 else
49339   glibcxx_cv_func__isnanl_use=no
49340 fi
49341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49342       ac_ext=c
49343 ac_cpp='$CPP $CPPFLAGS'
49344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49347
49348
49349 fi
49350
49351   fi
49352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49353 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49354
49355     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49356       for ac_func in _isnanl
49357 do :
49358   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49359 if test "x$ac_cv_func__isnanl" = x""yes; then :
49360   cat >>confdefs.h <<_ACEOF
49361 #define HAVE__ISNANL 1
49362 _ACEOF
49363
49364 fi
49365 done
49366
49367     fi
49368   fi
49369
49370
49371
49372
49373
49374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49375 $as_echo_n "checking for isinfl declaration... " >&6; }
49376   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49377     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49378   $as_echo_n "(cached) " >&6
49379 else
49380
49381
49382       ac_ext=cpp
49383 ac_cpp='$CXXCPP $CPPFLAGS'
49384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49387
49388       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49389 /* end confdefs.h.  */
49390 #include <math.h>
49391                       #ifdef HAVE_IEEEFP_H
49392                       #include <ieeefp.h>
49393                       #endif
49394
49395 int
49396 main ()
49397 {
49398  isinfl(0);
49399   ;
49400   return 0;
49401 }
49402 _ACEOF
49403 if ac_fn_cxx_try_compile "$LINENO"; then :
49404   glibcxx_cv_func_isinfl_use=yes
49405 else
49406   glibcxx_cv_func_isinfl_use=no
49407 fi
49408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49409       ac_ext=c
49410 ac_cpp='$CPP $CPPFLAGS'
49411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49414
49415
49416 fi
49417
49418   fi
49419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49420 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49421
49422   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49423     for ac_func in isinfl
49424 do :
49425   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49426 if test "x$ac_cv_func_isinfl" = x""yes; then :
49427   cat >>confdefs.h <<_ACEOF
49428 #define HAVE_ISINFL 1
49429 _ACEOF
49430
49431 fi
49432 done
49433
49434   else
49435
49436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49437 $as_echo_n "checking for _isinfl declaration... " >&6; }
49438   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49439     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49440   $as_echo_n "(cached) " >&6
49441 else
49442
49443
49444       ac_ext=cpp
49445 ac_cpp='$CXXCPP $CPPFLAGS'
49446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49449
49450       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49451 /* end confdefs.h.  */
49452 #include <math.h>
49453                       #ifdef HAVE_IEEEFP_H
49454                       #include <ieeefp.h>
49455                       #endif
49456
49457 int
49458 main ()
49459 {
49460  _isinfl(0);
49461   ;
49462   return 0;
49463 }
49464 _ACEOF
49465 if ac_fn_cxx_try_compile "$LINENO"; then :
49466   glibcxx_cv_func__isinfl_use=yes
49467 else
49468   glibcxx_cv_func__isinfl_use=no
49469 fi
49470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49471       ac_ext=c
49472 ac_cpp='$CPP $CPPFLAGS'
49473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49476
49477
49478 fi
49479
49480   fi
49481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49482 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49483
49484     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49485       for ac_func in _isinfl
49486 do :
49487   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49488 if test "x$ac_cv_func__isinfl" = x""yes; then :
49489   cat >>confdefs.h <<_ACEOF
49490 #define HAVE__ISINFL 1
49491 _ACEOF
49492
49493 fi
49494 done
49495
49496     fi
49497   fi
49498
49499
49500
49501
49502
49503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49504 $as_echo_n "checking for atan2l declaration... " >&6; }
49505   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49506     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49507   $as_echo_n "(cached) " >&6
49508 else
49509
49510
49511       ac_ext=cpp
49512 ac_cpp='$CXXCPP $CPPFLAGS'
49513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49516
49517       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49518 /* end confdefs.h.  */
49519 #include <math.h>
49520 int
49521 main ()
49522 {
49523  atan2l(0, 0);
49524   ;
49525   return 0;
49526 }
49527 _ACEOF
49528 if ac_fn_cxx_try_compile "$LINENO"; then :
49529   glibcxx_cv_func_atan2l_use=yes
49530 else
49531   glibcxx_cv_func_atan2l_use=no
49532 fi
49533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49534       ac_ext=c
49535 ac_cpp='$CPP $CPPFLAGS'
49536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49539
49540
49541 fi
49542
49543   fi
49544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49545 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49546
49547   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49548     for ac_func in atan2l
49549 do :
49550   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49551 if test "x$ac_cv_func_atan2l" = x""yes; then :
49552   cat >>confdefs.h <<_ACEOF
49553 #define HAVE_ATAN2L 1
49554 _ACEOF
49555
49556 fi
49557 done
49558
49559   else
49560
49561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49562 $as_echo_n "checking for _atan2l declaration... " >&6; }
49563   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49564     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49565   $as_echo_n "(cached) " >&6
49566 else
49567
49568
49569       ac_ext=cpp
49570 ac_cpp='$CXXCPP $CPPFLAGS'
49571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49574
49575       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49576 /* end confdefs.h.  */
49577 #include <math.h>
49578 int
49579 main ()
49580 {
49581  _atan2l(0, 0);
49582   ;
49583   return 0;
49584 }
49585 _ACEOF
49586 if ac_fn_cxx_try_compile "$LINENO"; then :
49587   glibcxx_cv_func__atan2l_use=yes
49588 else
49589   glibcxx_cv_func__atan2l_use=no
49590 fi
49591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49592       ac_ext=c
49593 ac_cpp='$CPP $CPPFLAGS'
49594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49597
49598
49599 fi
49600
49601   fi
49602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49603 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49604
49605     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49606       for ac_func in _atan2l
49607 do :
49608   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49609 if test "x$ac_cv_func__atan2l" = x""yes; then :
49610   cat >>confdefs.h <<_ACEOF
49611 #define HAVE__ATAN2L 1
49612 _ACEOF
49613
49614 fi
49615 done
49616
49617     fi
49618   fi
49619
49620
49621
49622
49623
49624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49625 $as_echo_n "checking for expl declaration... " >&6; }
49626   if test x${glibcxx_cv_func_expl_use+set} != xset; then
49627     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49628   $as_echo_n "(cached) " >&6
49629 else
49630
49631
49632       ac_ext=cpp
49633 ac_cpp='$CXXCPP $CPPFLAGS'
49634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49637
49638       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49639 /* end confdefs.h.  */
49640 #include <math.h>
49641                       #ifdef HAVE_IEEEFP_H
49642                       #include <ieeefp.h>
49643                       #endif
49644
49645 int
49646 main ()
49647 {
49648  expl(0);
49649   ;
49650   return 0;
49651 }
49652 _ACEOF
49653 if ac_fn_cxx_try_compile "$LINENO"; then :
49654   glibcxx_cv_func_expl_use=yes
49655 else
49656   glibcxx_cv_func_expl_use=no
49657 fi
49658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49659       ac_ext=c
49660 ac_cpp='$CPP $CPPFLAGS'
49661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49664
49665
49666 fi
49667
49668   fi
49669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49670 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49671
49672   if test x$glibcxx_cv_func_expl_use = x"yes"; then
49673     for ac_func in expl
49674 do :
49675   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49676 if test "x$ac_cv_func_expl" = x""yes; then :
49677   cat >>confdefs.h <<_ACEOF
49678 #define HAVE_EXPL 1
49679 _ACEOF
49680
49681 fi
49682 done
49683
49684   else
49685
49686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49687 $as_echo_n "checking for _expl declaration... " >&6; }
49688   if test x${glibcxx_cv_func__expl_use+set} != xset; then
49689     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49690   $as_echo_n "(cached) " >&6
49691 else
49692
49693
49694       ac_ext=cpp
49695 ac_cpp='$CXXCPP $CPPFLAGS'
49696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49699
49700       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49701 /* end confdefs.h.  */
49702 #include <math.h>
49703                       #ifdef HAVE_IEEEFP_H
49704                       #include <ieeefp.h>
49705                       #endif
49706
49707 int
49708 main ()
49709 {
49710  _expl(0);
49711   ;
49712   return 0;
49713 }
49714 _ACEOF
49715 if ac_fn_cxx_try_compile "$LINENO"; then :
49716   glibcxx_cv_func__expl_use=yes
49717 else
49718   glibcxx_cv_func__expl_use=no
49719 fi
49720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49721       ac_ext=c
49722 ac_cpp='$CPP $CPPFLAGS'
49723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49726
49727
49728 fi
49729
49730   fi
49731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49732 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49733
49734     if test x$glibcxx_cv_func__expl_use = x"yes"; then
49735       for ac_func in _expl
49736 do :
49737   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49738 if test "x$ac_cv_func__expl" = x""yes; then :
49739   cat >>confdefs.h <<_ACEOF
49740 #define HAVE__EXPL 1
49741 _ACEOF
49742
49743 fi
49744 done
49745
49746     fi
49747   fi
49748
49749
49750
49751
49752
49753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49754 $as_echo_n "checking for fabsl declaration... " >&6; }
49755   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49756     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49757   $as_echo_n "(cached) " >&6
49758 else
49759
49760
49761       ac_ext=cpp
49762 ac_cpp='$CXXCPP $CPPFLAGS'
49763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49766
49767       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49768 /* end confdefs.h.  */
49769 #include <math.h>
49770                       #ifdef HAVE_IEEEFP_H
49771                       #include <ieeefp.h>
49772                       #endif
49773
49774 int
49775 main ()
49776 {
49777  fabsl(0);
49778   ;
49779   return 0;
49780 }
49781 _ACEOF
49782 if ac_fn_cxx_try_compile "$LINENO"; then :
49783   glibcxx_cv_func_fabsl_use=yes
49784 else
49785   glibcxx_cv_func_fabsl_use=no
49786 fi
49787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49788       ac_ext=c
49789 ac_cpp='$CPP $CPPFLAGS'
49790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49793
49794
49795 fi
49796
49797   fi
49798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49799 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49800
49801   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49802     for ac_func in fabsl
49803 do :
49804   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49805 if test "x$ac_cv_func_fabsl" = x""yes; then :
49806   cat >>confdefs.h <<_ACEOF
49807 #define HAVE_FABSL 1
49808 _ACEOF
49809
49810 fi
49811 done
49812
49813   else
49814
49815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49816 $as_echo_n "checking for _fabsl declaration... " >&6; }
49817   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49818     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49819   $as_echo_n "(cached) " >&6
49820 else
49821
49822
49823       ac_ext=cpp
49824 ac_cpp='$CXXCPP $CPPFLAGS'
49825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49828
49829       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49830 /* end confdefs.h.  */
49831 #include <math.h>
49832                       #ifdef HAVE_IEEEFP_H
49833                       #include <ieeefp.h>
49834                       #endif
49835
49836 int
49837 main ()
49838 {
49839  _fabsl(0);
49840   ;
49841   return 0;
49842 }
49843 _ACEOF
49844 if ac_fn_cxx_try_compile "$LINENO"; then :
49845   glibcxx_cv_func__fabsl_use=yes
49846 else
49847   glibcxx_cv_func__fabsl_use=no
49848 fi
49849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49850       ac_ext=c
49851 ac_cpp='$CPP $CPPFLAGS'
49852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49855
49856
49857 fi
49858
49859   fi
49860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49861 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49862
49863     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49864       for ac_func in _fabsl
49865 do :
49866   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49867 if test "x$ac_cv_func__fabsl" = x""yes; then :
49868   cat >>confdefs.h <<_ACEOF
49869 #define HAVE__FABSL 1
49870 _ACEOF
49871
49872 fi
49873 done
49874
49875     fi
49876   fi
49877
49878
49879
49880
49881
49882   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49883 $as_echo_n "checking for fmodl declaration... " >&6; }
49884   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49885     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49886   $as_echo_n "(cached) " >&6
49887 else
49888
49889
49890       ac_ext=cpp
49891 ac_cpp='$CXXCPP $CPPFLAGS'
49892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49895
49896       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49897 /* end confdefs.h.  */
49898 #include <math.h>
49899 int
49900 main ()
49901 {
49902  fmodl(0, 0);
49903   ;
49904   return 0;
49905 }
49906 _ACEOF
49907 if ac_fn_cxx_try_compile "$LINENO"; then :
49908   glibcxx_cv_func_fmodl_use=yes
49909 else
49910   glibcxx_cv_func_fmodl_use=no
49911 fi
49912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49913       ac_ext=c
49914 ac_cpp='$CPP $CPPFLAGS'
49915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49918
49919
49920 fi
49921
49922   fi
49923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49924 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49925
49926   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49927     for ac_func in fmodl
49928 do :
49929   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49930 if test "x$ac_cv_func_fmodl" = x""yes; then :
49931   cat >>confdefs.h <<_ACEOF
49932 #define HAVE_FMODL 1
49933 _ACEOF
49934
49935 fi
49936 done
49937
49938   else
49939
49940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49941 $as_echo_n "checking for _fmodl declaration... " >&6; }
49942   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49943     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49944   $as_echo_n "(cached) " >&6
49945 else
49946
49947
49948       ac_ext=cpp
49949 ac_cpp='$CXXCPP $CPPFLAGS'
49950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49953
49954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49955 /* end confdefs.h.  */
49956 #include <math.h>
49957 int
49958 main ()
49959 {
49960  _fmodl(0, 0);
49961   ;
49962   return 0;
49963 }
49964 _ACEOF
49965 if ac_fn_cxx_try_compile "$LINENO"; then :
49966   glibcxx_cv_func__fmodl_use=yes
49967 else
49968   glibcxx_cv_func__fmodl_use=no
49969 fi
49970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49971       ac_ext=c
49972 ac_cpp='$CPP $CPPFLAGS'
49973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49976
49977
49978 fi
49979
49980   fi
49981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49982 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49983
49984     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49985       for ac_func in _fmodl
49986 do :
49987   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49988 if test "x$ac_cv_func__fmodl" = x""yes; then :
49989   cat >>confdefs.h <<_ACEOF
49990 #define HAVE__FMODL 1
49991 _ACEOF
49992
49993 fi
49994 done
49995
49996     fi
49997   fi
49998
49999
50000
50001
50002
50003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50004 $as_echo_n "checking for frexpl declaration... " >&6; }
50005   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50006     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50007   $as_echo_n "(cached) " >&6
50008 else
50009
50010
50011       ac_ext=cpp
50012 ac_cpp='$CXXCPP $CPPFLAGS'
50013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50016
50017       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50018 /* end confdefs.h.  */
50019 #include <math.h>
50020 int
50021 main ()
50022 {
50023  frexpl(0, 0);
50024   ;
50025   return 0;
50026 }
50027 _ACEOF
50028 if ac_fn_cxx_try_compile "$LINENO"; then :
50029   glibcxx_cv_func_frexpl_use=yes
50030 else
50031   glibcxx_cv_func_frexpl_use=no
50032 fi
50033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50034       ac_ext=c
50035 ac_cpp='$CPP $CPPFLAGS'
50036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50039
50040
50041 fi
50042
50043   fi
50044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50045 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50046
50047   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50048     for ac_func in frexpl
50049 do :
50050   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50051 if test "x$ac_cv_func_frexpl" = x""yes; then :
50052   cat >>confdefs.h <<_ACEOF
50053 #define HAVE_FREXPL 1
50054 _ACEOF
50055
50056 fi
50057 done
50058
50059   else
50060
50061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50062 $as_echo_n "checking for _frexpl declaration... " >&6; }
50063   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50064     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50065   $as_echo_n "(cached) " >&6
50066 else
50067
50068
50069       ac_ext=cpp
50070 ac_cpp='$CXXCPP $CPPFLAGS'
50071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50074
50075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50076 /* end confdefs.h.  */
50077 #include <math.h>
50078 int
50079 main ()
50080 {
50081  _frexpl(0, 0);
50082   ;
50083   return 0;
50084 }
50085 _ACEOF
50086 if ac_fn_cxx_try_compile "$LINENO"; then :
50087   glibcxx_cv_func__frexpl_use=yes
50088 else
50089   glibcxx_cv_func__frexpl_use=no
50090 fi
50091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50092       ac_ext=c
50093 ac_cpp='$CPP $CPPFLAGS'
50094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50097
50098
50099 fi
50100
50101   fi
50102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50103 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50104
50105     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50106       for ac_func in _frexpl
50107 do :
50108   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50109 if test "x$ac_cv_func__frexpl" = x""yes; then :
50110   cat >>confdefs.h <<_ACEOF
50111 #define HAVE__FREXPL 1
50112 _ACEOF
50113
50114 fi
50115 done
50116
50117     fi
50118   fi
50119
50120
50121
50122
50123
50124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50125 $as_echo_n "checking for hypotl declaration... " >&6; }
50126   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50127     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50128   $as_echo_n "(cached) " >&6
50129 else
50130
50131
50132       ac_ext=cpp
50133 ac_cpp='$CXXCPP $CPPFLAGS'
50134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50137
50138       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50139 /* end confdefs.h.  */
50140 #include <math.h>
50141 int
50142 main ()
50143 {
50144  hypotl(0, 0);
50145   ;
50146   return 0;
50147 }
50148 _ACEOF
50149 if ac_fn_cxx_try_compile "$LINENO"; then :
50150   glibcxx_cv_func_hypotl_use=yes
50151 else
50152   glibcxx_cv_func_hypotl_use=no
50153 fi
50154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50155       ac_ext=c
50156 ac_cpp='$CPP $CPPFLAGS'
50157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50160
50161
50162 fi
50163
50164   fi
50165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50166 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50167
50168   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50169     for ac_func in hypotl
50170 do :
50171   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50172 if test "x$ac_cv_func_hypotl" = x""yes; then :
50173   cat >>confdefs.h <<_ACEOF
50174 #define HAVE_HYPOTL 1
50175 _ACEOF
50176
50177 fi
50178 done
50179
50180   else
50181
50182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50183 $as_echo_n "checking for _hypotl declaration... " >&6; }
50184   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50185     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50186   $as_echo_n "(cached) " >&6
50187 else
50188
50189
50190       ac_ext=cpp
50191 ac_cpp='$CXXCPP $CPPFLAGS'
50192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50195
50196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50197 /* end confdefs.h.  */
50198 #include <math.h>
50199 int
50200 main ()
50201 {
50202  _hypotl(0, 0);
50203   ;
50204   return 0;
50205 }
50206 _ACEOF
50207 if ac_fn_cxx_try_compile "$LINENO"; then :
50208   glibcxx_cv_func__hypotl_use=yes
50209 else
50210   glibcxx_cv_func__hypotl_use=no
50211 fi
50212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50213       ac_ext=c
50214 ac_cpp='$CPP $CPPFLAGS'
50215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50218
50219
50220 fi
50221
50222   fi
50223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50224 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50225
50226     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50227       for ac_func in _hypotl
50228 do :
50229   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50230 if test "x$ac_cv_func__hypotl" = x""yes; then :
50231   cat >>confdefs.h <<_ACEOF
50232 #define HAVE__HYPOTL 1
50233 _ACEOF
50234
50235 fi
50236 done
50237
50238     fi
50239   fi
50240
50241
50242
50243
50244
50245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50246 $as_echo_n "checking for ldexpl declaration... " >&6; }
50247   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50248     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50249   $as_echo_n "(cached) " >&6
50250 else
50251
50252
50253       ac_ext=cpp
50254 ac_cpp='$CXXCPP $CPPFLAGS'
50255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50258
50259       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50260 /* end confdefs.h.  */
50261 #include <math.h>
50262 int
50263 main ()
50264 {
50265  ldexpl(0, 0);
50266   ;
50267   return 0;
50268 }
50269 _ACEOF
50270 if ac_fn_cxx_try_compile "$LINENO"; then :
50271   glibcxx_cv_func_ldexpl_use=yes
50272 else
50273   glibcxx_cv_func_ldexpl_use=no
50274 fi
50275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50276       ac_ext=c
50277 ac_cpp='$CPP $CPPFLAGS'
50278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50281
50282
50283 fi
50284
50285   fi
50286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50287 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50288
50289   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50290     for ac_func in ldexpl
50291 do :
50292   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50293 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50294   cat >>confdefs.h <<_ACEOF
50295 #define HAVE_LDEXPL 1
50296 _ACEOF
50297
50298 fi
50299 done
50300
50301   else
50302
50303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50304 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50305   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50306     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50307   $as_echo_n "(cached) " >&6
50308 else
50309
50310
50311       ac_ext=cpp
50312 ac_cpp='$CXXCPP $CPPFLAGS'
50313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50316
50317       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50318 /* end confdefs.h.  */
50319 #include <math.h>
50320 int
50321 main ()
50322 {
50323  _ldexpl(0, 0);
50324   ;
50325   return 0;
50326 }
50327 _ACEOF
50328 if ac_fn_cxx_try_compile "$LINENO"; then :
50329   glibcxx_cv_func__ldexpl_use=yes
50330 else
50331   glibcxx_cv_func__ldexpl_use=no
50332 fi
50333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50334       ac_ext=c
50335 ac_cpp='$CPP $CPPFLAGS'
50336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50339
50340
50341 fi
50342
50343   fi
50344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50345 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50346
50347     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50348       for ac_func in _ldexpl
50349 do :
50350   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50351 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50352   cat >>confdefs.h <<_ACEOF
50353 #define HAVE__LDEXPL 1
50354 _ACEOF
50355
50356 fi
50357 done
50358
50359     fi
50360   fi
50361
50362
50363
50364
50365
50366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50367 $as_echo_n "checking for logl declaration... " >&6; }
50368   if test x${glibcxx_cv_func_logl_use+set} != xset; then
50369     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50370   $as_echo_n "(cached) " >&6
50371 else
50372
50373
50374       ac_ext=cpp
50375 ac_cpp='$CXXCPP $CPPFLAGS'
50376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50379
50380       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50381 /* end confdefs.h.  */
50382 #include <math.h>
50383                       #ifdef HAVE_IEEEFP_H
50384                       #include <ieeefp.h>
50385                       #endif
50386
50387 int
50388 main ()
50389 {
50390  logl(0);
50391   ;
50392   return 0;
50393 }
50394 _ACEOF
50395 if ac_fn_cxx_try_compile "$LINENO"; then :
50396   glibcxx_cv_func_logl_use=yes
50397 else
50398   glibcxx_cv_func_logl_use=no
50399 fi
50400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50401       ac_ext=c
50402 ac_cpp='$CPP $CPPFLAGS'
50403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50406
50407
50408 fi
50409
50410   fi
50411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50412 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50413
50414   if test x$glibcxx_cv_func_logl_use = x"yes"; then
50415     for ac_func in logl
50416 do :
50417   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50418 if test "x$ac_cv_func_logl" = x""yes; then :
50419   cat >>confdefs.h <<_ACEOF
50420 #define HAVE_LOGL 1
50421 _ACEOF
50422
50423 fi
50424 done
50425
50426   else
50427
50428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50429 $as_echo_n "checking for _logl declaration... " >&6; }
50430   if test x${glibcxx_cv_func__logl_use+set} != xset; then
50431     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50432   $as_echo_n "(cached) " >&6
50433 else
50434
50435
50436       ac_ext=cpp
50437 ac_cpp='$CXXCPP $CPPFLAGS'
50438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50441
50442       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50443 /* end confdefs.h.  */
50444 #include <math.h>
50445                       #ifdef HAVE_IEEEFP_H
50446                       #include <ieeefp.h>
50447                       #endif
50448
50449 int
50450 main ()
50451 {
50452  _logl(0);
50453   ;
50454   return 0;
50455 }
50456 _ACEOF
50457 if ac_fn_cxx_try_compile "$LINENO"; then :
50458   glibcxx_cv_func__logl_use=yes
50459 else
50460   glibcxx_cv_func__logl_use=no
50461 fi
50462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50463       ac_ext=c
50464 ac_cpp='$CPP $CPPFLAGS'
50465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50468
50469
50470 fi
50471
50472   fi
50473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50474 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50475
50476     if test x$glibcxx_cv_func__logl_use = x"yes"; then
50477       for ac_func in _logl
50478 do :
50479   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50480 if test "x$ac_cv_func__logl" = x""yes; then :
50481   cat >>confdefs.h <<_ACEOF
50482 #define HAVE__LOGL 1
50483 _ACEOF
50484
50485 fi
50486 done
50487
50488     fi
50489   fi
50490
50491
50492
50493
50494
50495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50496 $as_echo_n "checking for log10l declaration... " >&6; }
50497   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50498     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50499   $as_echo_n "(cached) " >&6
50500 else
50501
50502
50503       ac_ext=cpp
50504 ac_cpp='$CXXCPP $CPPFLAGS'
50505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50508
50509       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50510 /* end confdefs.h.  */
50511 #include <math.h>
50512                       #ifdef HAVE_IEEEFP_H
50513                       #include <ieeefp.h>
50514                       #endif
50515
50516 int
50517 main ()
50518 {
50519  log10l(0);
50520   ;
50521   return 0;
50522 }
50523 _ACEOF
50524 if ac_fn_cxx_try_compile "$LINENO"; then :
50525   glibcxx_cv_func_log10l_use=yes
50526 else
50527   glibcxx_cv_func_log10l_use=no
50528 fi
50529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50530       ac_ext=c
50531 ac_cpp='$CPP $CPPFLAGS'
50532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50535
50536
50537 fi
50538
50539   fi
50540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50541 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50542
50543   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50544     for ac_func in log10l
50545 do :
50546   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50547 if test "x$ac_cv_func_log10l" = x""yes; then :
50548   cat >>confdefs.h <<_ACEOF
50549 #define HAVE_LOG10L 1
50550 _ACEOF
50551
50552 fi
50553 done
50554
50555   else
50556
50557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50558 $as_echo_n "checking for _log10l declaration... " >&6; }
50559   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50560     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50561   $as_echo_n "(cached) " >&6
50562 else
50563
50564
50565       ac_ext=cpp
50566 ac_cpp='$CXXCPP $CPPFLAGS'
50567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50570
50571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50572 /* end confdefs.h.  */
50573 #include <math.h>
50574                       #ifdef HAVE_IEEEFP_H
50575                       #include <ieeefp.h>
50576                       #endif
50577
50578 int
50579 main ()
50580 {
50581  _log10l(0);
50582   ;
50583   return 0;
50584 }
50585 _ACEOF
50586 if ac_fn_cxx_try_compile "$LINENO"; then :
50587   glibcxx_cv_func__log10l_use=yes
50588 else
50589   glibcxx_cv_func__log10l_use=no
50590 fi
50591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50592       ac_ext=c
50593 ac_cpp='$CPP $CPPFLAGS'
50594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50597
50598
50599 fi
50600
50601   fi
50602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50603 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50604
50605     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50606       for ac_func in _log10l
50607 do :
50608   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50609 if test "x$ac_cv_func__log10l" = x""yes; then :
50610   cat >>confdefs.h <<_ACEOF
50611 #define HAVE__LOG10L 1
50612 _ACEOF
50613
50614 fi
50615 done
50616
50617     fi
50618   fi
50619
50620
50621
50622
50623
50624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50625 $as_echo_n "checking for modfl declaration... " >&6; }
50626   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50627     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50628   $as_echo_n "(cached) " >&6
50629 else
50630
50631
50632       ac_ext=cpp
50633 ac_cpp='$CXXCPP $CPPFLAGS'
50634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50637
50638       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50639 /* end confdefs.h.  */
50640 #include <math.h>
50641 int
50642 main ()
50643 {
50644  modfl(0, 0);
50645   ;
50646   return 0;
50647 }
50648 _ACEOF
50649 if ac_fn_cxx_try_compile "$LINENO"; then :
50650   glibcxx_cv_func_modfl_use=yes
50651 else
50652   glibcxx_cv_func_modfl_use=no
50653 fi
50654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50655       ac_ext=c
50656 ac_cpp='$CPP $CPPFLAGS'
50657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50660
50661
50662 fi
50663
50664   fi
50665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50666 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50667
50668   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50669     for ac_func in modfl
50670 do :
50671   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50672 if test "x$ac_cv_func_modfl" = x""yes; then :
50673   cat >>confdefs.h <<_ACEOF
50674 #define HAVE_MODFL 1
50675 _ACEOF
50676
50677 fi
50678 done
50679
50680   else
50681
50682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50683 $as_echo_n "checking for _modfl declaration... " >&6; }
50684   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50685     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50686   $as_echo_n "(cached) " >&6
50687 else
50688
50689
50690       ac_ext=cpp
50691 ac_cpp='$CXXCPP $CPPFLAGS'
50692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50695
50696       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50697 /* end confdefs.h.  */
50698 #include <math.h>
50699 int
50700 main ()
50701 {
50702  _modfl(0, 0);
50703   ;
50704   return 0;
50705 }
50706 _ACEOF
50707 if ac_fn_cxx_try_compile "$LINENO"; then :
50708   glibcxx_cv_func__modfl_use=yes
50709 else
50710   glibcxx_cv_func__modfl_use=no
50711 fi
50712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50713       ac_ext=c
50714 ac_cpp='$CPP $CPPFLAGS'
50715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50718
50719
50720 fi
50721
50722   fi
50723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50724 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50725
50726     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50727       for ac_func in _modfl
50728 do :
50729   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50730 if test "x$ac_cv_func__modfl" = x""yes; then :
50731   cat >>confdefs.h <<_ACEOF
50732 #define HAVE__MODFL 1
50733 _ACEOF
50734
50735 fi
50736 done
50737
50738     fi
50739   fi
50740
50741
50742
50743
50744
50745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50746 $as_echo_n "checking for powl declaration... " >&6; }
50747   if test x${glibcxx_cv_func_powl_use+set} != xset; then
50748     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50749   $as_echo_n "(cached) " >&6
50750 else
50751
50752
50753       ac_ext=cpp
50754 ac_cpp='$CXXCPP $CPPFLAGS'
50755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50758
50759       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50760 /* end confdefs.h.  */
50761 #include <math.h>
50762 int
50763 main ()
50764 {
50765  powl(0, 0);
50766   ;
50767   return 0;
50768 }
50769 _ACEOF
50770 if ac_fn_cxx_try_compile "$LINENO"; then :
50771   glibcxx_cv_func_powl_use=yes
50772 else
50773   glibcxx_cv_func_powl_use=no
50774 fi
50775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50776       ac_ext=c
50777 ac_cpp='$CPP $CPPFLAGS'
50778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50781
50782
50783 fi
50784
50785   fi
50786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50787 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50788
50789   if test x$glibcxx_cv_func_powl_use = x"yes"; then
50790     for ac_func in powl
50791 do :
50792   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50793 if test "x$ac_cv_func_powl" = x""yes; then :
50794   cat >>confdefs.h <<_ACEOF
50795 #define HAVE_POWL 1
50796 _ACEOF
50797
50798 fi
50799 done
50800
50801   else
50802
50803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50804 $as_echo_n "checking for _powl declaration... " >&6; }
50805   if test x${glibcxx_cv_func__powl_use+set} != xset; then
50806     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50807   $as_echo_n "(cached) " >&6
50808 else
50809
50810
50811       ac_ext=cpp
50812 ac_cpp='$CXXCPP $CPPFLAGS'
50813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50816
50817       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50818 /* end confdefs.h.  */
50819 #include <math.h>
50820 int
50821 main ()
50822 {
50823  _powl(0, 0);
50824   ;
50825   return 0;
50826 }
50827 _ACEOF
50828 if ac_fn_cxx_try_compile "$LINENO"; then :
50829   glibcxx_cv_func__powl_use=yes
50830 else
50831   glibcxx_cv_func__powl_use=no
50832 fi
50833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50834       ac_ext=c
50835 ac_cpp='$CPP $CPPFLAGS'
50836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50839
50840
50841 fi
50842
50843   fi
50844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50845 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50846
50847     if test x$glibcxx_cv_func__powl_use = x"yes"; then
50848       for ac_func in _powl
50849 do :
50850   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50851 if test "x$ac_cv_func__powl" = x""yes; then :
50852   cat >>confdefs.h <<_ACEOF
50853 #define HAVE__POWL 1
50854 _ACEOF
50855
50856 fi
50857 done
50858
50859     fi
50860   fi
50861
50862
50863
50864
50865
50866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50867 $as_echo_n "checking for sqrtl declaration... " >&6; }
50868   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50869     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50870   $as_echo_n "(cached) " >&6
50871 else
50872
50873
50874       ac_ext=cpp
50875 ac_cpp='$CXXCPP $CPPFLAGS'
50876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50879
50880       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50881 /* end confdefs.h.  */
50882 #include <math.h>
50883                       #ifdef HAVE_IEEEFP_H
50884                       #include <ieeefp.h>
50885                       #endif
50886
50887 int
50888 main ()
50889 {
50890  sqrtl(0);
50891   ;
50892   return 0;
50893 }
50894 _ACEOF
50895 if ac_fn_cxx_try_compile "$LINENO"; then :
50896   glibcxx_cv_func_sqrtl_use=yes
50897 else
50898   glibcxx_cv_func_sqrtl_use=no
50899 fi
50900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50901       ac_ext=c
50902 ac_cpp='$CPP $CPPFLAGS'
50903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50906
50907
50908 fi
50909
50910   fi
50911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50912 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50913
50914   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50915     for ac_func in sqrtl
50916 do :
50917   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50918 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50919   cat >>confdefs.h <<_ACEOF
50920 #define HAVE_SQRTL 1
50921 _ACEOF
50922
50923 fi
50924 done
50925
50926   else
50927
50928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50929 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50930   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50931     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50932   $as_echo_n "(cached) " >&6
50933 else
50934
50935
50936       ac_ext=cpp
50937 ac_cpp='$CXXCPP $CPPFLAGS'
50938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50941
50942       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50943 /* end confdefs.h.  */
50944 #include <math.h>
50945                       #ifdef HAVE_IEEEFP_H
50946                       #include <ieeefp.h>
50947                       #endif
50948
50949 int
50950 main ()
50951 {
50952  _sqrtl(0);
50953   ;
50954   return 0;
50955 }
50956 _ACEOF
50957 if ac_fn_cxx_try_compile "$LINENO"; then :
50958   glibcxx_cv_func__sqrtl_use=yes
50959 else
50960   glibcxx_cv_func__sqrtl_use=no
50961 fi
50962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50963       ac_ext=c
50964 ac_cpp='$CPP $CPPFLAGS'
50965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50968
50969
50970 fi
50971
50972   fi
50973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50974 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50975
50976     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50977       for ac_func in _sqrtl
50978 do :
50979   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50980 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50981   cat >>confdefs.h <<_ACEOF
50982 #define HAVE__SQRTL 1
50983 _ACEOF
50984
50985 fi
50986 done
50987
50988     fi
50989   fi
50990
50991
50992
50993
50994
50995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50996 $as_echo_n "checking for sincosl declaration... " >&6; }
50997   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50998     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50999   $as_echo_n "(cached) " >&6
51000 else
51001
51002
51003       ac_ext=cpp
51004 ac_cpp='$CXXCPP $CPPFLAGS'
51005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51008
51009       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51010 /* end confdefs.h.  */
51011 #include <math.h>
51012 int
51013 main ()
51014 {
51015  sincosl(0, 0, 0);
51016   ;
51017   return 0;
51018 }
51019 _ACEOF
51020 if ac_fn_cxx_try_compile "$LINENO"; then :
51021   glibcxx_cv_func_sincosl_use=yes
51022 else
51023   glibcxx_cv_func_sincosl_use=no
51024 fi
51025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51026       ac_ext=c
51027 ac_cpp='$CPP $CPPFLAGS'
51028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51031
51032
51033 fi
51034
51035   fi
51036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51037 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51038
51039   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51040     for ac_func in sincosl
51041 do :
51042   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51043 if test "x$ac_cv_func_sincosl" = x""yes; then :
51044   cat >>confdefs.h <<_ACEOF
51045 #define HAVE_SINCOSL 1
51046 _ACEOF
51047
51048 fi
51049 done
51050
51051   else
51052
51053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51054 $as_echo_n "checking for _sincosl declaration... " >&6; }
51055   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51056     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51057   $as_echo_n "(cached) " >&6
51058 else
51059
51060
51061       ac_ext=cpp
51062 ac_cpp='$CXXCPP $CPPFLAGS'
51063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51066
51067       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51068 /* end confdefs.h.  */
51069 #include <math.h>
51070 int
51071 main ()
51072 {
51073  _sincosl(0, 0, 0);
51074   ;
51075   return 0;
51076 }
51077 _ACEOF
51078 if ac_fn_cxx_try_compile "$LINENO"; then :
51079   glibcxx_cv_func__sincosl_use=yes
51080 else
51081   glibcxx_cv_func__sincosl_use=no
51082 fi
51083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51084       ac_ext=c
51085 ac_cpp='$CPP $CPPFLAGS'
51086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51089
51090
51091 fi
51092
51093   fi
51094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51095 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51096
51097     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51098       for ac_func in _sincosl
51099 do :
51100   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51101 if test "x$ac_cv_func__sincosl" = x""yes; then :
51102   cat >>confdefs.h <<_ACEOF
51103 #define HAVE__SINCOSL 1
51104 _ACEOF
51105
51106 fi
51107 done
51108
51109     fi
51110   fi
51111
51112
51113
51114
51115
51116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51117 $as_echo_n "checking for finitel declaration... " >&6; }
51118   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51119     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51120   $as_echo_n "(cached) " >&6
51121 else
51122
51123
51124       ac_ext=cpp
51125 ac_cpp='$CXXCPP $CPPFLAGS'
51126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51129
51130       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51131 /* end confdefs.h.  */
51132 #include <math.h>
51133                       #ifdef HAVE_IEEEFP_H
51134                       #include <ieeefp.h>
51135                       #endif
51136
51137 int
51138 main ()
51139 {
51140  finitel(0);
51141   ;
51142   return 0;
51143 }
51144 _ACEOF
51145 if ac_fn_cxx_try_compile "$LINENO"; then :
51146   glibcxx_cv_func_finitel_use=yes
51147 else
51148   glibcxx_cv_func_finitel_use=no
51149 fi
51150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51151       ac_ext=c
51152 ac_cpp='$CPP $CPPFLAGS'
51153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51156
51157
51158 fi
51159
51160   fi
51161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51162 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51163
51164   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51165     for ac_func in finitel
51166 do :
51167   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51168 if test "x$ac_cv_func_finitel" = x""yes; then :
51169   cat >>confdefs.h <<_ACEOF
51170 #define HAVE_FINITEL 1
51171 _ACEOF
51172
51173 fi
51174 done
51175
51176   else
51177
51178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51179 $as_echo_n "checking for _finitel declaration... " >&6; }
51180   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51181     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51182   $as_echo_n "(cached) " >&6
51183 else
51184
51185
51186       ac_ext=cpp
51187 ac_cpp='$CXXCPP $CPPFLAGS'
51188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51191
51192       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51193 /* end confdefs.h.  */
51194 #include <math.h>
51195                       #ifdef HAVE_IEEEFP_H
51196                       #include <ieeefp.h>
51197                       #endif
51198
51199 int
51200 main ()
51201 {
51202  _finitel(0);
51203   ;
51204   return 0;
51205 }
51206 _ACEOF
51207 if ac_fn_cxx_try_compile "$LINENO"; then :
51208   glibcxx_cv_func__finitel_use=yes
51209 else
51210   glibcxx_cv_func__finitel_use=no
51211 fi
51212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51213       ac_ext=c
51214 ac_cpp='$CPP $CPPFLAGS'
51215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51218
51219
51220 fi
51221
51222   fi
51223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51224 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51225
51226     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51227       for ac_func in _finitel
51228 do :
51229   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51230 if test "x$ac_cv_func__finitel" = x""yes; then :
51231   cat >>confdefs.h <<_ACEOF
51232 #define HAVE__FINITEL 1
51233 _ACEOF
51234
51235 fi
51236 done
51237
51238     fi
51239   fi
51240
51241
51242
51243
51244   LIBS="$ac_save_LIBS"
51245   CXXFLAGS="$ac_save_CXXFLAGS"
51246
51247
51248   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51249   ac_save_CXXFLAGS="$CXXFLAGS"
51250   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51251
51252
51253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51254 $as_echo_n "checking for strtold declaration... " >&6; }
51255   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51256     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51257   $as_echo_n "(cached) " >&6
51258 else
51259
51260
51261       ac_ext=cpp
51262 ac_cpp='$CXXCPP $CPPFLAGS'
51263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51266
51267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51268 /* end confdefs.h.  */
51269 #include <stdlib.h>
51270 int
51271 main ()
51272 {
51273  strtold(0, 0);
51274   ;
51275   return 0;
51276 }
51277 _ACEOF
51278 if ac_fn_cxx_try_compile "$LINENO"; then :
51279   glibcxx_cv_func_strtold_use=yes
51280 else
51281   glibcxx_cv_func_strtold_use=no
51282 fi
51283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51284       ac_ext=c
51285 ac_cpp='$CPP $CPPFLAGS'
51286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51289
51290
51291 fi
51292
51293   fi
51294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51295 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51296   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51297     for ac_func in strtold
51298 do :
51299   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51300 if test "x$ac_cv_func_strtold" = x""yes; then :
51301   cat >>confdefs.h <<_ACEOF
51302 #define HAVE_STRTOLD 1
51303 _ACEOF
51304
51305 fi
51306 done
51307
51308   fi
51309
51310
51311
51312
51313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51314 $as_echo_n "checking for strtof declaration... " >&6; }
51315   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51316     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51317   $as_echo_n "(cached) " >&6
51318 else
51319
51320
51321       ac_ext=cpp
51322 ac_cpp='$CXXCPP $CPPFLAGS'
51323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51326
51327       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51328 /* end confdefs.h.  */
51329 #include <stdlib.h>
51330 int
51331 main ()
51332 {
51333  strtof(0, 0);
51334   ;
51335   return 0;
51336 }
51337 _ACEOF
51338 if ac_fn_cxx_try_compile "$LINENO"; then :
51339   glibcxx_cv_func_strtof_use=yes
51340 else
51341   glibcxx_cv_func_strtof_use=no
51342 fi
51343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51344       ac_ext=c
51345 ac_cpp='$CPP $CPPFLAGS'
51346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51349
51350
51351 fi
51352
51353   fi
51354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51355 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51356   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51357     for ac_func in strtof
51358 do :
51359   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51360 if test "x$ac_cv_func_strtof" = x""yes; then :
51361   cat >>confdefs.h <<_ACEOF
51362 #define HAVE_STRTOF 1
51363 _ACEOF
51364
51365 fi
51366 done
51367
51368   fi
51369
51370
51371
51372
51373   CXXFLAGS="$ac_save_CXXFLAGS"
51374
51375     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51376
51377
51378
51379    # Check whether --enable-tls was given.
51380 if test "${enable_tls+set}" = set; then :
51381   enableval=$enable_tls;
51382       case "$enableval" in
51383        yes|no) ;;
51384        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51385       esac
51386
51387 else
51388   enable_tls=yes
51389 fi
51390
51391
51392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51393 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51394 if test "${gcc_cv_have_tls+set}" = set; then :
51395   $as_echo_n "(cached) " >&6
51396 else
51397
51398     if test "$cross_compiling" = yes; then :
51399                 if test x$gcc_no_link = xyes; then
51400   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51401 fi
51402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51403 /* end confdefs.h.  */
51404 __thread int a; int b; int main() { return a = b; }
51405 _ACEOF
51406 if ac_fn_c_try_link "$LINENO"; then :
51407   chktls_save_LDFLAGS="$LDFLAGS"
51408                           case $host in
51409             *-*-linux*)
51410               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51411               ;;
51412           esac
51413           chktls_save_CFLAGS="$CFLAGS"
51414           CFLAGS="-fPIC $CFLAGS"
51415                   if test x$gcc_no_link = xyes; then
51416   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51417 fi
51418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51419 /* end confdefs.h.  */
51420 int f() { return 0; }
51421 _ACEOF
51422 if ac_fn_c_try_link "$LINENO"; then :
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 __thread int a; int b; int f() { return a = b; }
51429 _ACEOF
51430 if ac_fn_c_try_link "$LINENO"; then :
51431   gcc_cv_have_tls=yes
51432 else
51433   gcc_cv_have_tls=no
51434 fi
51435 rm -f core conftest.err conftest.$ac_objext \
51436     conftest$ac_exeext conftest.$ac_ext
51437 else
51438   gcc_cv_have_tls=yes
51439 fi
51440 rm -f core conftest.err conftest.$ac_objext \
51441     conftest$ac_exeext conftest.$ac_ext
51442           CFLAGS="$chktls_save_CFLAGS"
51443           LDFLAGS="$chktls_save_LDFLAGS"
51444 else
51445   gcc_cv_have_tls=no
51446 fi
51447 rm -f core conftest.err conftest.$ac_objext \
51448     conftest$ac_exeext conftest.$ac_ext
51449
51450
51451 else
51452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51453 /* end confdefs.h.  */
51454 __thread int a; int b; int main() { return a = b; }
51455 _ACEOF
51456 if ac_fn_c_try_run "$LINENO"; then :
51457                       chktls_save_LDFLAGS="$LDFLAGS"
51458       LDFLAGS="-static $LDFLAGS"
51459       if test x$gcc_no_link = xyes; then
51460   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51461 fi
51462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51463 /* end confdefs.h.  */
51464 int main() { return 0; }
51465 _ACEOF
51466 if ac_fn_c_try_link "$LINENO"; then :
51467   if test "$cross_compiling" = yes; then :
51468   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51470 as_fn_error "cannot run test program while cross compiling
51471 See \`config.log' for more details." "$LINENO" 5; }
51472 else
51473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51474 /* end confdefs.h.  */
51475 __thread int a; int b; int main() { return a = b; }
51476 _ACEOF
51477 if ac_fn_c_try_run "$LINENO"; then :
51478   gcc_cv_have_tls=yes
51479 else
51480   gcc_cv_have_tls=no
51481 fi
51482 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51483   conftest.$ac_objext conftest.beam conftest.$ac_ext
51484 fi
51485
51486 else
51487   gcc_cv_have_tls=yes
51488 fi
51489 rm -f core conftest.err conftest.$ac_objext \
51490     conftest$ac_exeext conftest.$ac_ext
51491       LDFLAGS="$chktls_save_LDFLAGS"
51492       if test $gcc_cv_have_tls = yes; then
51493                                                 chktls_save_CFLAGS="$CFLAGS"
51494         thread_CFLAGS=failed
51495         for flag in '' '-pthread' '-lpthread'; do
51496           CFLAGS="$flag $chktls_save_CFLAGS"
51497           if test x$gcc_no_link = xyes; then
51498   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51499 fi
51500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51501 /* end confdefs.h.  */
51502 #include <pthread.h>
51503                 void *g(void *d) { return NULL; }
51504 int
51505 main ()
51506 {
51507 pthread_t t; pthread_create(&t,NULL,g,NULL);
51508   ;
51509   return 0;
51510 }
51511 _ACEOF
51512 if ac_fn_c_try_link "$LINENO"; then :
51513   thread_CFLAGS="$flag"
51514 fi
51515 rm -f core conftest.err conftest.$ac_objext \
51516     conftest$ac_exeext conftest.$ac_ext
51517           if test "X$thread_CFLAGS" != Xfailed; then
51518             break
51519           fi
51520         done
51521         CFLAGS="$chktls_save_CFLAGS"
51522         if test "X$thread_CFLAGS" != Xfailed; then
51523           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51524                                                   if test "$cross_compiling" = yes; then :
51525   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51527 as_fn_error "cannot run test program while cross compiling
51528 See \`config.log' for more details." "$LINENO" 5; }
51529 else
51530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51531 /* end confdefs.h.  */
51532 #include <pthread.h>
51533                 __thread int a;
51534                 static int *volatile a_in_other_thread;
51535                 static void *
51536                 thread_func (void *arg)
51537                 {
51538                   a_in_other_thread = &a;
51539                   return (void *)0;
51540                 }
51541 int
51542 main ()
51543 {
51544 pthread_t thread;
51545                 void *thread_retval;
51546                 int *volatile a_in_main_thread;
51547                 a_in_main_thread = &a;
51548                 if (pthread_create (&thread, (pthread_attr_t *)0,
51549                                     thread_func, (void *)0))
51550                   return 0;
51551                 if (pthread_join (thread, &thread_retval))
51552                   return 0;
51553                 return (a_in_other_thread == a_in_main_thread);
51554   ;
51555   return 0;
51556 }
51557 _ACEOF
51558 if ac_fn_c_try_run "$LINENO"; then :
51559   gcc_cv_have_tls=yes
51560 else
51561   gcc_cv_have_tls=no
51562 fi
51563 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51564   conftest.$ac_objext conftest.beam conftest.$ac_ext
51565 fi
51566
51567           CFLAGS="$chktls_save_CFLAGS"
51568         fi
51569       fi
51570 else
51571   gcc_cv_have_tls=no
51572 fi
51573 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51574   conftest.$ac_objext conftest.beam conftest.$ac_ext
51575 fi
51576
51577 fi
51578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51579 $as_echo "$gcc_cv_have_tls" >&6; }
51580   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51581
51582 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51583
51584   fi
51585
51586
51587
51588
51589
51590           am_save_CPPFLAGS="$CPPFLAGS"
51591
51592   for element in $INCICONV; do
51593     haveit=
51594     for x in $CPPFLAGS; do
51595
51596   acl_save_prefix="$prefix"
51597   prefix="$acl_final_prefix"
51598   acl_save_exec_prefix="$exec_prefix"
51599   exec_prefix="$acl_final_exec_prefix"
51600   eval x=\"$x\"
51601   exec_prefix="$acl_save_exec_prefix"
51602   prefix="$acl_save_prefix"
51603
51604       if test "X$x" = "X$element"; then
51605         haveit=yes
51606         break
51607       fi
51608     done
51609     if test -z "$haveit"; then
51610       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51611     fi
51612   done
51613
51614
51615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51616 $as_echo_n "checking for iconv... " >&6; }
51617 if test "${am_cv_func_iconv+set}" = set; then :
51618   $as_echo_n "(cached) " >&6
51619 else
51620
51621     am_cv_func_iconv="no, consider installing GNU libiconv"
51622     am_cv_lib_iconv=no
51623     if test x$gcc_no_link = xyes; then
51624   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51625 fi
51626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51627 /* end confdefs.h.  */
51628 #include <stdlib.h>
51629 #include <iconv.h>
51630 int
51631 main ()
51632 {
51633 iconv_t cd = iconv_open("","");
51634        iconv(cd,NULL,NULL,NULL,NULL);
51635        iconv_close(cd);
51636   ;
51637   return 0;
51638 }
51639 _ACEOF
51640 if ac_fn_c_try_link "$LINENO"; then :
51641   am_cv_func_iconv=yes
51642 fi
51643 rm -f core conftest.err conftest.$ac_objext \
51644     conftest$ac_exeext conftest.$ac_ext
51645     if test "$am_cv_func_iconv" != yes; then
51646       am_save_LIBS="$LIBS"
51647       LIBS="$LIBS $LIBICONV"
51648       if test x$gcc_no_link = xyes; then
51649   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51650 fi
51651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51652 /* end confdefs.h.  */
51653 #include <stdlib.h>
51654 #include <iconv.h>
51655 int
51656 main ()
51657 {
51658 iconv_t cd = iconv_open("","");
51659          iconv(cd,NULL,NULL,NULL,NULL);
51660          iconv_close(cd);
51661   ;
51662   return 0;
51663 }
51664 _ACEOF
51665 if ac_fn_c_try_link "$LINENO"; then :
51666   am_cv_lib_iconv=yes
51667         am_cv_func_iconv=yes
51668 fi
51669 rm -f core conftest.err conftest.$ac_objext \
51670     conftest$ac_exeext conftest.$ac_ext
51671       LIBS="$am_save_LIBS"
51672     fi
51673
51674 fi
51675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51676 $as_echo "$am_cv_func_iconv" >&6; }
51677   if test "$am_cv_func_iconv" = yes; then
51678
51679 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51680
51681   fi
51682   if test "$am_cv_lib_iconv" = yes; then
51683     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51684 $as_echo_n "checking how to link with libiconv... " >&6; }
51685     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51686 $as_echo "$LIBICONV" >&6; }
51687   else
51688             CPPFLAGS="$am_save_CPPFLAGS"
51689     LIBICONV=
51690     LTLIBICONV=
51691   fi
51692
51693
51694
51695   if test "$am_cv_func_iconv" = yes; then
51696     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51697 $as_echo_n "checking for iconv declaration... " >&6; }
51698     if test "${am_cv_proto_iconv+set}" = set; then :
51699   $as_echo_n "(cached) " >&6
51700 else
51701
51702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51703 /* end confdefs.h.  */
51704
51705 #include <stdlib.h>
51706 #include <iconv.h>
51707 extern
51708 #ifdef __cplusplus
51709 "C"
51710 #endif
51711 #if defined(__STDC__) || defined(__cplusplus)
51712 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51713 #else
51714 size_t iconv();
51715 #endif
51716
51717 int
51718 main ()
51719 {
51720
51721   ;
51722   return 0;
51723 }
51724 _ACEOF
51725 if ac_fn_c_try_compile "$LINENO"; then :
51726   am_cv_proto_iconv_arg1=""
51727 else
51728   am_cv_proto_iconv_arg1="const"
51729 fi
51730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51731       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);"
51732 fi
51733
51734     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51735     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51736          }$am_cv_proto_iconv" >&5
51737 $as_echo "${ac_t:-
51738          }$am_cv_proto_iconv" >&6; }
51739
51740 cat >>confdefs.h <<_ACEOF
51741 #define ICONV_CONST $am_cv_proto_iconv_arg1
51742 _ACEOF
51743
51744   fi
51745
51746     ;;
51747   *-mingw32*)
51748
51749   # If we're not using GNU ld, then there's no point in even trying these
51750   # tests.  Check for that first.  We should have already tested for gld
51751   # by now (in libtool), but require it now just to be safe...
51752   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51753   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51754
51755
51756
51757   # The name set by libtool depends on the version of libtool.  Shame on us
51758   # for depending on an impl detail, but c'est la vie.  Older versions used
51759   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51760   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51761   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
51762   # set (hence we're using an older libtool), then set it.
51763   if test x${with_gnu_ld+set} != xset; then
51764     if test x${ac_cv_prog_gnu_ld+set} != xset; then
51765       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
51766       with_gnu_ld=no
51767     else
51768       with_gnu_ld=$ac_cv_prog_gnu_ld
51769     fi
51770   fi
51771
51772   # Start by getting the version number.  I think the libtool test already
51773   # does some of this, but throws away the result.
51774   glibcxx_ld_is_gold=no
51775   if test x"$with_gnu_ld" = x"yes"; then
51776     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51777 $as_echo_n "checking for ld version... " >&6; }
51778
51779     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51780       glibcxx_ld_is_gold=yes
51781     fi
51782     ldver=`$LD --version 2>/dev/null |
51783            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'`
51784
51785     glibcxx_gnu_ld_version=`echo $ldver | \
51786            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51787     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51788 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51789   fi
51790
51791   # Set --gc-sections.
51792   glibcxx_have_gc_sections=no
51793   if test "$glibcxx_ld_is_gold" = "yes"; then
51794     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51795       glibcxx_have_gc_sections=yes
51796     fi
51797   else
51798     glibcxx_gcsections_min_ld=21602
51799     if test x"$with_gnu_ld" = x"yes" &&
51800         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51801       glibcxx_have_gc_sections=yes
51802     fi
51803   fi
51804   if test "$glibcxx_have_gc_sections" = "yes"; then
51805     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
51806     # NB: This flag only works reliably after 2.16.1. Configure tests
51807     # for this are difficult, so hard wire a value that should work.
51808
51809     ac_test_CFLAGS="${CFLAGS+set}"
51810     ac_save_CFLAGS="$CFLAGS"
51811     CFLAGS='-Wl,--gc-sections'
51812
51813     # Check for -Wl,--gc-sections
51814     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51815 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51816     if test x$gcc_no_link = xyes; then
51817   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51818 fi
51819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51820 /* end confdefs.h.  */
51821  int one(void) { return 1; }
51822      int two(void) { return 2; }
51823
51824 int
51825 main ()
51826 {
51827  two();
51828   ;
51829   return 0;
51830 }
51831 _ACEOF
51832 if ac_fn_c_try_link "$LINENO"; then :
51833   ac_gcsections=yes
51834 else
51835   ac_gcsections=no
51836 fi
51837 rm -f core conftest.err conftest.$ac_objext \
51838     conftest$ac_exeext conftest.$ac_ext
51839     if test "$ac_gcsections" = "yes"; then
51840       rm -f conftest.c
51841       touch conftest.c
51842       if $CC -c conftest.c; then
51843         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51844            grep "Warning: gc-sections option ignored" > /dev/null; then
51845           ac_gcsections=no
51846         fi
51847       fi
51848       rm -f conftest.c conftest.o conftest
51849     fi
51850     if test "$ac_gcsections" = "yes"; then
51851       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51852     fi
51853     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51854 $as_echo "$ac_gcsections" >&6; }
51855
51856     if test "$ac_test_CFLAGS" = set; then
51857       CFLAGS="$ac_save_CFLAGS"
51858     else
51859       # this is the suspicious part
51860       CFLAGS=''
51861     fi
51862   fi
51863
51864   # Set -z,relro.
51865   # Note this is only for shared objects.
51866   ac_ld_relro=no
51867   if test x"$with_gnu_ld" = x"yes"; then
51868     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51869 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51870     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51871     if test -n "$cxx_z_relo"; then
51872       OPT_LDFLAGS="-Wl,-z,relro"
51873       ac_ld_relro=yes
51874     fi
51875     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51876 $as_echo "$ac_ld_relro" >&6; }
51877   fi
51878
51879   # Set linker optimization flags.
51880   if test x"$with_gnu_ld" = x"yes"; then
51881     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51882   fi
51883
51884
51885
51886
51887
51888   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51889   ac_save_CXXFLAGS="$CXXFLAGS"
51890   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51891
51892     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51893 $as_echo_n "checking for sin in -lm... " >&6; }
51894 if test "${ac_cv_lib_m_sin+set}" = set; then :
51895   $as_echo_n "(cached) " >&6
51896 else
51897   ac_check_lib_save_LIBS=$LIBS
51898 LIBS="-lm  $LIBS"
51899 if test x$gcc_no_link = xyes; then
51900   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51901 fi
51902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51903 /* end confdefs.h.  */
51904
51905 /* Override any GCC internal prototype to avoid an error.
51906    Use char because int might match the return type of a GCC
51907    builtin and then its argument prototype would still apply.  */
51908 #ifdef __cplusplus
51909 extern "C"
51910 #endif
51911 char sin ();
51912 int
51913 main ()
51914 {
51915 return sin ();
51916   ;
51917   return 0;
51918 }
51919 _ACEOF
51920 if ac_fn_c_try_link "$LINENO"; then :
51921   ac_cv_lib_m_sin=yes
51922 else
51923   ac_cv_lib_m_sin=no
51924 fi
51925 rm -f core conftest.err conftest.$ac_objext \
51926     conftest$ac_exeext conftest.$ac_ext
51927 LIBS=$ac_check_lib_save_LIBS
51928 fi
51929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51930 $as_echo "$ac_cv_lib_m_sin" >&6; }
51931 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51932   libm="-lm"
51933 fi
51934
51935   ac_save_LIBS="$LIBS"
51936   LIBS="$LIBS $libm"
51937
51938
51939
51940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51941 $as_echo_n "checking for isinf declaration... " >&6; }
51942   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51943     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51944   $as_echo_n "(cached) " >&6
51945 else
51946
51947
51948       ac_ext=cpp
51949 ac_cpp='$CXXCPP $CPPFLAGS'
51950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51953
51954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51955 /* end confdefs.h.  */
51956 #include <math.h>
51957                       #ifdef HAVE_IEEEFP_H
51958                       #include <ieeefp.h>
51959                       #endif
51960
51961 int
51962 main ()
51963 {
51964  isinf(0);
51965   ;
51966   return 0;
51967 }
51968 _ACEOF
51969 if ac_fn_cxx_try_compile "$LINENO"; then :
51970   glibcxx_cv_func_isinf_use=yes
51971 else
51972   glibcxx_cv_func_isinf_use=no
51973 fi
51974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51975       ac_ext=c
51976 ac_cpp='$CPP $CPPFLAGS'
51977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51980
51981
51982 fi
51983
51984   fi
51985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51986 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51987
51988   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51989     for ac_func in isinf
51990 do :
51991   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51992 if test "x$ac_cv_func_isinf" = x""yes; then :
51993   cat >>confdefs.h <<_ACEOF
51994 #define HAVE_ISINF 1
51995 _ACEOF
51996
51997 fi
51998 done
51999
52000   else
52001
52002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52003 $as_echo_n "checking for _isinf declaration... " >&6; }
52004   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52005     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52006   $as_echo_n "(cached) " >&6
52007 else
52008
52009
52010       ac_ext=cpp
52011 ac_cpp='$CXXCPP $CPPFLAGS'
52012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52015
52016       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52017 /* end confdefs.h.  */
52018 #include <math.h>
52019                       #ifdef HAVE_IEEEFP_H
52020                       #include <ieeefp.h>
52021                       #endif
52022
52023 int
52024 main ()
52025 {
52026  _isinf(0);
52027   ;
52028   return 0;
52029 }
52030 _ACEOF
52031 if ac_fn_cxx_try_compile "$LINENO"; then :
52032   glibcxx_cv_func__isinf_use=yes
52033 else
52034   glibcxx_cv_func__isinf_use=no
52035 fi
52036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52037       ac_ext=c
52038 ac_cpp='$CPP $CPPFLAGS'
52039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52042
52043
52044 fi
52045
52046   fi
52047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52048 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52049
52050     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52051       for ac_func in _isinf
52052 do :
52053   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52054 if test "x$ac_cv_func__isinf" = x""yes; then :
52055   cat >>confdefs.h <<_ACEOF
52056 #define HAVE__ISINF 1
52057 _ACEOF
52058
52059 fi
52060 done
52061
52062     fi
52063   fi
52064
52065
52066
52067
52068
52069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52070 $as_echo_n "checking for isnan declaration... " >&6; }
52071   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52072     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52073   $as_echo_n "(cached) " >&6
52074 else
52075
52076
52077       ac_ext=cpp
52078 ac_cpp='$CXXCPP $CPPFLAGS'
52079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52082
52083       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52084 /* end confdefs.h.  */
52085 #include <math.h>
52086                       #ifdef HAVE_IEEEFP_H
52087                       #include <ieeefp.h>
52088                       #endif
52089
52090 int
52091 main ()
52092 {
52093  isnan(0);
52094   ;
52095   return 0;
52096 }
52097 _ACEOF
52098 if ac_fn_cxx_try_compile "$LINENO"; then :
52099   glibcxx_cv_func_isnan_use=yes
52100 else
52101   glibcxx_cv_func_isnan_use=no
52102 fi
52103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52104       ac_ext=c
52105 ac_cpp='$CPP $CPPFLAGS'
52106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52109
52110
52111 fi
52112
52113   fi
52114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52115 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52116
52117   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52118     for ac_func in isnan
52119 do :
52120   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52121 if test "x$ac_cv_func_isnan" = x""yes; then :
52122   cat >>confdefs.h <<_ACEOF
52123 #define HAVE_ISNAN 1
52124 _ACEOF
52125
52126 fi
52127 done
52128
52129   else
52130
52131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52132 $as_echo_n "checking for _isnan declaration... " >&6; }
52133   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52134     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52135   $as_echo_n "(cached) " >&6
52136 else
52137
52138
52139       ac_ext=cpp
52140 ac_cpp='$CXXCPP $CPPFLAGS'
52141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52144
52145       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52146 /* end confdefs.h.  */
52147 #include <math.h>
52148                       #ifdef HAVE_IEEEFP_H
52149                       #include <ieeefp.h>
52150                       #endif
52151
52152 int
52153 main ()
52154 {
52155  _isnan(0);
52156   ;
52157   return 0;
52158 }
52159 _ACEOF
52160 if ac_fn_cxx_try_compile "$LINENO"; then :
52161   glibcxx_cv_func__isnan_use=yes
52162 else
52163   glibcxx_cv_func__isnan_use=no
52164 fi
52165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52166       ac_ext=c
52167 ac_cpp='$CPP $CPPFLAGS'
52168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52171
52172
52173 fi
52174
52175   fi
52176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52177 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52178
52179     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52180       for ac_func in _isnan
52181 do :
52182   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52183 if test "x$ac_cv_func__isnan" = x""yes; then :
52184   cat >>confdefs.h <<_ACEOF
52185 #define HAVE__ISNAN 1
52186 _ACEOF
52187
52188 fi
52189 done
52190
52191     fi
52192   fi
52193
52194
52195
52196
52197
52198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52199 $as_echo_n "checking for finite declaration... " >&6; }
52200   if test x${glibcxx_cv_func_finite_use+set} != xset; then
52201     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52202   $as_echo_n "(cached) " >&6
52203 else
52204
52205
52206       ac_ext=cpp
52207 ac_cpp='$CXXCPP $CPPFLAGS'
52208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52211
52212       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52213 /* end confdefs.h.  */
52214 #include <math.h>
52215                       #ifdef HAVE_IEEEFP_H
52216                       #include <ieeefp.h>
52217                       #endif
52218
52219 int
52220 main ()
52221 {
52222  finite(0);
52223   ;
52224   return 0;
52225 }
52226 _ACEOF
52227 if ac_fn_cxx_try_compile "$LINENO"; then :
52228   glibcxx_cv_func_finite_use=yes
52229 else
52230   glibcxx_cv_func_finite_use=no
52231 fi
52232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52233       ac_ext=c
52234 ac_cpp='$CPP $CPPFLAGS'
52235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52238
52239
52240 fi
52241
52242   fi
52243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52244 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52245
52246   if test x$glibcxx_cv_func_finite_use = x"yes"; then
52247     for ac_func in finite
52248 do :
52249   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52250 if test "x$ac_cv_func_finite" = x""yes; then :
52251   cat >>confdefs.h <<_ACEOF
52252 #define HAVE_FINITE 1
52253 _ACEOF
52254
52255 fi
52256 done
52257
52258   else
52259
52260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52261 $as_echo_n "checking for _finite declaration... " >&6; }
52262   if test x${glibcxx_cv_func__finite_use+set} != xset; then
52263     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52264   $as_echo_n "(cached) " >&6
52265 else
52266
52267
52268       ac_ext=cpp
52269 ac_cpp='$CXXCPP $CPPFLAGS'
52270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52273
52274       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52275 /* end confdefs.h.  */
52276 #include <math.h>
52277                       #ifdef HAVE_IEEEFP_H
52278                       #include <ieeefp.h>
52279                       #endif
52280
52281 int
52282 main ()
52283 {
52284  _finite(0);
52285   ;
52286   return 0;
52287 }
52288 _ACEOF
52289 if ac_fn_cxx_try_compile "$LINENO"; then :
52290   glibcxx_cv_func__finite_use=yes
52291 else
52292   glibcxx_cv_func__finite_use=no
52293 fi
52294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52295       ac_ext=c
52296 ac_cpp='$CPP $CPPFLAGS'
52297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52300
52301
52302 fi
52303
52304   fi
52305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52306 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52307
52308     if test x$glibcxx_cv_func__finite_use = x"yes"; then
52309       for ac_func in _finite
52310 do :
52311   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52312 if test "x$ac_cv_func__finite" = x""yes; then :
52313   cat >>confdefs.h <<_ACEOF
52314 #define HAVE__FINITE 1
52315 _ACEOF
52316
52317 fi
52318 done
52319
52320     fi
52321   fi
52322
52323
52324
52325
52326
52327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52328 $as_echo_n "checking for sincos declaration... " >&6; }
52329   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52330     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52331   $as_echo_n "(cached) " >&6
52332 else
52333
52334
52335       ac_ext=cpp
52336 ac_cpp='$CXXCPP $CPPFLAGS'
52337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52340
52341       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52342 /* end confdefs.h.  */
52343 #include <math.h>
52344 int
52345 main ()
52346 {
52347  sincos(0, 0, 0);
52348   ;
52349   return 0;
52350 }
52351 _ACEOF
52352 if ac_fn_cxx_try_compile "$LINENO"; then :
52353   glibcxx_cv_func_sincos_use=yes
52354 else
52355   glibcxx_cv_func_sincos_use=no
52356 fi
52357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52358       ac_ext=c
52359 ac_cpp='$CPP $CPPFLAGS'
52360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52363
52364
52365 fi
52366
52367   fi
52368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52369 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52370
52371   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52372     for ac_func in sincos
52373 do :
52374   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52375 if test "x$ac_cv_func_sincos" = x""yes; then :
52376   cat >>confdefs.h <<_ACEOF
52377 #define HAVE_SINCOS 1
52378 _ACEOF
52379
52380 fi
52381 done
52382
52383   else
52384
52385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52386 $as_echo_n "checking for _sincos declaration... " >&6; }
52387   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52388     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52389   $as_echo_n "(cached) " >&6
52390 else
52391
52392
52393       ac_ext=cpp
52394 ac_cpp='$CXXCPP $CPPFLAGS'
52395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52398
52399       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52400 /* end confdefs.h.  */
52401 #include <math.h>
52402 int
52403 main ()
52404 {
52405  _sincos(0, 0, 0);
52406   ;
52407   return 0;
52408 }
52409 _ACEOF
52410 if ac_fn_cxx_try_compile "$LINENO"; then :
52411   glibcxx_cv_func__sincos_use=yes
52412 else
52413   glibcxx_cv_func__sincos_use=no
52414 fi
52415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52416       ac_ext=c
52417 ac_cpp='$CPP $CPPFLAGS'
52418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52421
52422
52423 fi
52424
52425   fi
52426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52427 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52428
52429     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52430       for ac_func in _sincos
52431 do :
52432   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52433 if test "x$ac_cv_func__sincos" = x""yes; then :
52434   cat >>confdefs.h <<_ACEOF
52435 #define HAVE__SINCOS 1
52436 _ACEOF
52437
52438 fi
52439 done
52440
52441     fi
52442   fi
52443
52444
52445
52446
52447
52448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52449 $as_echo_n "checking for fpclass declaration... " >&6; }
52450   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52451     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52452   $as_echo_n "(cached) " >&6
52453 else
52454
52455
52456       ac_ext=cpp
52457 ac_cpp='$CXXCPP $CPPFLAGS'
52458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52461
52462       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52463 /* end confdefs.h.  */
52464 #include <math.h>
52465                       #ifdef HAVE_IEEEFP_H
52466                       #include <ieeefp.h>
52467                       #endif
52468
52469 int
52470 main ()
52471 {
52472  fpclass(0);
52473   ;
52474   return 0;
52475 }
52476 _ACEOF
52477 if ac_fn_cxx_try_compile "$LINENO"; then :
52478   glibcxx_cv_func_fpclass_use=yes
52479 else
52480   glibcxx_cv_func_fpclass_use=no
52481 fi
52482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52483       ac_ext=c
52484 ac_cpp='$CPP $CPPFLAGS'
52485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52488
52489
52490 fi
52491
52492   fi
52493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52494 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52495
52496   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52497     for ac_func in fpclass
52498 do :
52499   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52500 if test "x$ac_cv_func_fpclass" = x""yes; then :
52501   cat >>confdefs.h <<_ACEOF
52502 #define HAVE_FPCLASS 1
52503 _ACEOF
52504
52505 fi
52506 done
52507
52508   else
52509
52510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52511 $as_echo_n "checking for _fpclass declaration... " >&6; }
52512   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52513     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52514   $as_echo_n "(cached) " >&6
52515 else
52516
52517
52518       ac_ext=cpp
52519 ac_cpp='$CXXCPP $CPPFLAGS'
52520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52523
52524       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52525 /* end confdefs.h.  */
52526 #include <math.h>
52527                       #ifdef HAVE_IEEEFP_H
52528                       #include <ieeefp.h>
52529                       #endif
52530
52531 int
52532 main ()
52533 {
52534  _fpclass(0);
52535   ;
52536   return 0;
52537 }
52538 _ACEOF
52539 if ac_fn_cxx_try_compile "$LINENO"; then :
52540   glibcxx_cv_func__fpclass_use=yes
52541 else
52542   glibcxx_cv_func__fpclass_use=no
52543 fi
52544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52545       ac_ext=c
52546 ac_cpp='$CPP $CPPFLAGS'
52547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52550
52551
52552 fi
52553
52554   fi
52555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52556 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52557
52558     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52559       for ac_func in _fpclass
52560 do :
52561   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52562 if test "x$ac_cv_func__fpclass" = x""yes; then :
52563   cat >>confdefs.h <<_ACEOF
52564 #define HAVE__FPCLASS 1
52565 _ACEOF
52566
52567 fi
52568 done
52569
52570     fi
52571   fi
52572
52573
52574
52575
52576
52577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52578 $as_echo_n "checking for qfpclass declaration... " >&6; }
52579   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52580     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52581   $as_echo_n "(cached) " >&6
52582 else
52583
52584
52585       ac_ext=cpp
52586 ac_cpp='$CXXCPP $CPPFLAGS'
52587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52590
52591       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52592 /* end confdefs.h.  */
52593 #include <math.h>
52594                       #ifdef HAVE_IEEEFP_H
52595                       #include <ieeefp.h>
52596                       #endif
52597
52598 int
52599 main ()
52600 {
52601  qfpclass(0);
52602   ;
52603   return 0;
52604 }
52605 _ACEOF
52606 if ac_fn_cxx_try_compile "$LINENO"; then :
52607   glibcxx_cv_func_qfpclass_use=yes
52608 else
52609   glibcxx_cv_func_qfpclass_use=no
52610 fi
52611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52612       ac_ext=c
52613 ac_cpp='$CPP $CPPFLAGS'
52614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52617
52618
52619 fi
52620
52621   fi
52622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52623 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52624
52625   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52626     for ac_func in qfpclass
52627 do :
52628   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52629 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52630   cat >>confdefs.h <<_ACEOF
52631 #define HAVE_QFPCLASS 1
52632 _ACEOF
52633
52634 fi
52635 done
52636
52637   else
52638
52639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52640 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52641   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52642     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52643   $as_echo_n "(cached) " >&6
52644 else
52645
52646
52647       ac_ext=cpp
52648 ac_cpp='$CXXCPP $CPPFLAGS'
52649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52652
52653       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52654 /* end confdefs.h.  */
52655 #include <math.h>
52656                       #ifdef HAVE_IEEEFP_H
52657                       #include <ieeefp.h>
52658                       #endif
52659
52660 int
52661 main ()
52662 {
52663  _qfpclass(0);
52664   ;
52665   return 0;
52666 }
52667 _ACEOF
52668 if ac_fn_cxx_try_compile "$LINENO"; then :
52669   glibcxx_cv_func__qfpclass_use=yes
52670 else
52671   glibcxx_cv_func__qfpclass_use=no
52672 fi
52673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52674       ac_ext=c
52675 ac_cpp='$CPP $CPPFLAGS'
52676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52679
52680
52681 fi
52682
52683   fi
52684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52685 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52686
52687     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52688       for ac_func in _qfpclass
52689 do :
52690   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52691 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52692   cat >>confdefs.h <<_ACEOF
52693 #define HAVE__QFPCLASS 1
52694 _ACEOF
52695
52696 fi
52697 done
52698
52699     fi
52700   fi
52701
52702
52703
52704
52705
52706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52707 $as_echo_n "checking for hypot declaration... " >&6; }
52708   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52709     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52710   $as_echo_n "(cached) " >&6
52711 else
52712
52713
52714       ac_ext=cpp
52715 ac_cpp='$CXXCPP $CPPFLAGS'
52716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52719
52720       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52721 /* end confdefs.h.  */
52722 #include <math.h>
52723 int
52724 main ()
52725 {
52726  hypot(0, 0);
52727   ;
52728   return 0;
52729 }
52730 _ACEOF
52731 if ac_fn_cxx_try_compile "$LINENO"; then :
52732   glibcxx_cv_func_hypot_use=yes
52733 else
52734   glibcxx_cv_func_hypot_use=no
52735 fi
52736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52737       ac_ext=c
52738 ac_cpp='$CPP $CPPFLAGS'
52739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52742
52743
52744 fi
52745
52746   fi
52747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52748 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52749
52750   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52751     for ac_func in hypot
52752 do :
52753   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52754 if test "x$ac_cv_func_hypot" = x""yes; then :
52755   cat >>confdefs.h <<_ACEOF
52756 #define HAVE_HYPOT 1
52757 _ACEOF
52758
52759 fi
52760 done
52761
52762   else
52763
52764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52765 $as_echo_n "checking for _hypot declaration... " >&6; }
52766   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52767     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52768   $as_echo_n "(cached) " >&6
52769 else
52770
52771
52772       ac_ext=cpp
52773 ac_cpp='$CXXCPP $CPPFLAGS'
52774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52777
52778       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52779 /* end confdefs.h.  */
52780 #include <math.h>
52781 int
52782 main ()
52783 {
52784  _hypot(0, 0);
52785   ;
52786   return 0;
52787 }
52788 _ACEOF
52789 if ac_fn_cxx_try_compile "$LINENO"; then :
52790   glibcxx_cv_func__hypot_use=yes
52791 else
52792   glibcxx_cv_func__hypot_use=no
52793 fi
52794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52795       ac_ext=c
52796 ac_cpp='$CPP $CPPFLAGS'
52797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52800
52801
52802 fi
52803
52804   fi
52805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52806 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52807
52808     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52809       for ac_func in _hypot
52810 do :
52811   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52812 if test "x$ac_cv_func__hypot" = x""yes; then :
52813   cat >>confdefs.h <<_ACEOF
52814 #define HAVE__HYPOT 1
52815 _ACEOF
52816
52817 fi
52818 done
52819
52820     fi
52821   fi
52822
52823
52824
52825
52826
52827     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52828 $as_echo_n "checking for float trig functions... " >&6; }
52829   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52830   $as_echo_n "(cached) " >&6
52831 else
52832
52833
52834     ac_ext=cpp
52835 ac_cpp='$CXXCPP $CPPFLAGS'
52836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52839
52840     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52841 /* end confdefs.h.  */
52842 #include <math.h>
52843 int
52844 main ()
52845 {
52846 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52847   ;
52848   return 0;
52849 }
52850 _ACEOF
52851 if ac_fn_cxx_try_compile "$LINENO"; then :
52852   glibcxx_cv_func_float_trig_use=yes
52853 else
52854   glibcxx_cv_func_float_trig_use=no
52855 fi
52856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52857     ac_ext=c
52858 ac_cpp='$CPP $CPPFLAGS'
52859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52862
52863 fi
52864
52865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52866 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52867   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52868     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52869 do :
52870   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52871 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52872 eval as_val=\$$as_ac_var
52873    if test "x$as_val" = x""yes; then :
52874   cat >>confdefs.h <<_ACEOF
52875 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52876 _ACEOF
52877
52878 fi
52879 done
52880
52881   else
52882     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52883 $as_echo_n "checking for _float trig functions... " >&6; }
52884     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52885   $as_echo_n "(cached) " >&6
52886 else
52887
52888
52889       ac_ext=cpp
52890 ac_cpp='$CXXCPP $CPPFLAGS'
52891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52894
52895       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52896 /* end confdefs.h.  */
52897 #include <math.h>
52898 int
52899 main ()
52900 {
52901 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52902   ;
52903   return 0;
52904 }
52905 _ACEOF
52906 if ac_fn_cxx_try_compile "$LINENO"; then :
52907   glibcxx_cv_func__float_trig_use=yes
52908 else
52909   glibcxx_cv_func__float_trig_use=no
52910 fi
52911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52912       ac_ext=c
52913 ac_cpp='$CPP $CPPFLAGS'
52914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52917
52918 fi
52919
52920     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52921 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52922     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52923       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52924 do :
52925   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52926 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52927 eval as_val=\$$as_ac_var
52928    if test "x$as_val" = x""yes; then :
52929   cat >>confdefs.h <<_ACEOF
52930 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52931 _ACEOF
52932
52933 fi
52934 done
52935
52936     fi
52937   fi
52938
52939
52940
52941
52942
52943     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52944 $as_echo_n "checking for float round functions... " >&6; }
52945   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52946   $as_echo_n "(cached) " >&6
52947 else
52948
52949
52950     ac_ext=cpp
52951 ac_cpp='$CXXCPP $CPPFLAGS'
52952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52955
52956     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52957 /* end confdefs.h.  */
52958 #include <math.h>
52959 int
52960 main ()
52961 {
52962 ceilf (0); floorf (0);
52963   ;
52964   return 0;
52965 }
52966 _ACEOF
52967 if ac_fn_cxx_try_compile "$LINENO"; then :
52968   glibcxx_cv_func_float_round_use=yes
52969 else
52970   glibcxx_cv_func_float_round_use=no
52971 fi
52972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52973     ac_ext=c
52974 ac_cpp='$CPP $CPPFLAGS'
52975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52978
52979 fi
52980
52981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52982 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52983   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52984     for ac_func in ceilf floorf
52985 do :
52986   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52987 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52988 eval as_val=\$$as_ac_var
52989    if test "x$as_val" = x""yes; then :
52990   cat >>confdefs.h <<_ACEOF
52991 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52992 _ACEOF
52993
52994 fi
52995 done
52996
52997   else
52998     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52999 $as_echo_n "checking for _float round functions... " >&6; }
53000     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53001   $as_echo_n "(cached) " >&6
53002 else
53003
53004
53005       ac_ext=cpp
53006 ac_cpp='$CXXCPP $CPPFLAGS'
53007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53010
53011       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53012 /* end confdefs.h.  */
53013 #include <math.h>
53014 int
53015 main ()
53016 {
53017 _ceilf (0); _floorf (0);
53018   ;
53019   return 0;
53020 }
53021 _ACEOF
53022 if ac_fn_cxx_try_compile "$LINENO"; then :
53023   glibcxx_cv_func__float_round_use=yes
53024 else
53025   glibcxx_cv_func__float_round_use=no
53026 fi
53027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53028       ac_ext=c
53029 ac_cpp='$CPP $CPPFLAGS'
53030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53033
53034 fi
53035
53036     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53037 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53038     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53039       for ac_func in _ceilf _floorf
53040 do :
53041   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53042 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53043 eval as_val=\$$as_ac_var
53044    if test "x$as_val" = x""yes; then :
53045   cat >>confdefs.h <<_ACEOF
53046 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53047 _ACEOF
53048
53049 fi
53050 done
53051
53052     fi
53053   fi
53054
53055
53056
53057
53058
53059
53060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53061 $as_echo_n "checking for expf declaration... " >&6; }
53062   if test x${glibcxx_cv_func_expf_use+set} != xset; then
53063     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53064   $as_echo_n "(cached) " >&6
53065 else
53066
53067
53068       ac_ext=cpp
53069 ac_cpp='$CXXCPP $CPPFLAGS'
53070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53073
53074       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53075 /* end confdefs.h.  */
53076 #include <math.h>
53077                       #ifdef HAVE_IEEEFP_H
53078                       #include <ieeefp.h>
53079                       #endif
53080
53081 int
53082 main ()
53083 {
53084  expf(0);
53085   ;
53086   return 0;
53087 }
53088 _ACEOF
53089 if ac_fn_cxx_try_compile "$LINENO"; then :
53090   glibcxx_cv_func_expf_use=yes
53091 else
53092   glibcxx_cv_func_expf_use=no
53093 fi
53094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53095       ac_ext=c
53096 ac_cpp='$CPP $CPPFLAGS'
53097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53100
53101
53102 fi
53103
53104   fi
53105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53106 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53107
53108   if test x$glibcxx_cv_func_expf_use = x"yes"; then
53109     for ac_func in expf
53110 do :
53111   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53112 if test "x$ac_cv_func_expf" = x""yes; then :
53113   cat >>confdefs.h <<_ACEOF
53114 #define HAVE_EXPF 1
53115 _ACEOF
53116
53117 fi
53118 done
53119
53120   else
53121
53122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53123 $as_echo_n "checking for _expf declaration... " >&6; }
53124   if test x${glibcxx_cv_func__expf_use+set} != xset; then
53125     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53126   $as_echo_n "(cached) " >&6
53127 else
53128
53129
53130       ac_ext=cpp
53131 ac_cpp='$CXXCPP $CPPFLAGS'
53132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53135
53136       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53137 /* end confdefs.h.  */
53138 #include <math.h>
53139                       #ifdef HAVE_IEEEFP_H
53140                       #include <ieeefp.h>
53141                       #endif
53142
53143 int
53144 main ()
53145 {
53146  _expf(0);
53147   ;
53148   return 0;
53149 }
53150 _ACEOF
53151 if ac_fn_cxx_try_compile "$LINENO"; then :
53152   glibcxx_cv_func__expf_use=yes
53153 else
53154   glibcxx_cv_func__expf_use=no
53155 fi
53156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53157       ac_ext=c
53158 ac_cpp='$CPP $CPPFLAGS'
53159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53162
53163
53164 fi
53165
53166   fi
53167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53168 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53169
53170     if test x$glibcxx_cv_func__expf_use = x"yes"; then
53171       for ac_func in _expf
53172 do :
53173   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53174 if test "x$ac_cv_func__expf" = x""yes; then :
53175   cat >>confdefs.h <<_ACEOF
53176 #define HAVE__EXPF 1
53177 _ACEOF
53178
53179 fi
53180 done
53181
53182     fi
53183   fi
53184
53185
53186
53187
53188
53189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53190 $as_echo_n "checking for isnanf declaration... " >&6; }
53191   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53192     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53193   $as_echo_n "(cached) " >&6
53194 else
53195
53196
53197       ac_ext=cpp
53198 ac_cpp='$CXXCPP $CPPFLAGS'
53199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53202
53203       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53204 /* end confdefs.h.  */
53205 #include <math.h>
53206                       #ifdef HAVE_IEEEFP_H
53207                       #include <ieeefp.h>
53208                       #endif
53209
53210 int
53211 main ()
53212 {
53213  isnanf(0);
53214   ;
53215   return 0;
53216 }
53217 _ACEOF
53218 if ac_fn_cxx_try_compile "$LINENO"; then :
53219   glibcxx_cv_func_isnanf_use=yes
53220 else
53221   glibcxx_cv_func_isnanf_use=no
53222 fi
53223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53224       ac_ext=c
53225 ac_cpp='$CPP $CPPFLAGS'
53226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53229
53230
53231 fi
53232
53233   fi
53234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53235 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53236
53237   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53238     for ac_func in isnanf
53239 do :
53240   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53241 if test "x$ac_cv_func_isnanf" = x""yes; then :
53242   cat >>confdefs.h <<_ACEOF
53243 #define HAVE_ISNANF 1
53244 _ACEOF
53245
53246 fi
53247 done
53248
53249   else
53250
53251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53252 $as_echo_n "checking for _isnanf declaration... " >&6; }
53253   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53254     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53255   $as_echo_n "(cached) " >&6
53256 else
53257
53258
53259       ac_ext=cpp
53260 ac_cpp='$CXXCPP $CPPFLAGS'
53261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53264
53265       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53266 /* end confdefs.h.  */
53267 #include <math.h>
53268                       #ifdef HAVE_IEEEFP_H
53269                       #include <ieeefp.h>
53270                       #endif
53271
53272 int
53273 main ()
53274 {
53275  _isnanf(0);
53276   ;
53277   return 0;
53278 }
53279 _ACEOF
53280 if ac_fn_cxx_try_compile "$LINENO"; then :
53281   glibcxx_cv_func__isnanf_use=yes
53282 else
53283   glibcxx_cv_func__isnanf_use=no
53284 fi
53285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53286       ac_ext=c
53287 ac_cpp='$CPP $CPPFLAGS'
53288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53291
53292
53293 fi
53294
53295   fi
53296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53297 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53298
53299     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53300       for ac_func in _isnanf
53301 do :
53302   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53303 if test "x$ac_cv_func__isnanf" = x""yes; then :
53304   cat >>confdefs.h <<_ACEOF
53305 #define HAVE__ISNANF 1
53306 _ACEOF
53307
53308 fi
53309 done
53310
53311     fi
53312   fi
53313
53314
53315
53316
53317
53318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53319 $as_echo_n "checking for isinff declaration... " >&6; }
53320   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53321     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53322   $as_echo_n "(cached) " >&6
53323 else
53324
53325
53326       ac_ext=cpp
53327 ac_cpp='$CXXCPP $CPPFLAGS'
53328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53331
53332       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53333 /* end confdefs.h.  */
53334 #include <math.h>
53335                       #ifdef HAVE_IEEEFP_H
53336                       #include <ieeefp.h>
53337                       #endif
53338
53339 int
53340 main ()
53341 {
53342  isinff(0);
53343   ;
53344   return 0;
53345 }
53346 _ACEOF
53347 if ac_fn_cxx_try_compile "$LINENO"; then :
53348   glibcxx_cv_func_isinff_use=yes
53349 else
53350   glibcxx_cv_func_isinff_use=no
53351 fi
53352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53353       ac_ext=c
53354 ac_cpp='$CPP $CPPFLAGS'
53355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53358
53359
53360 fi
53361
53362   fi
53363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53364 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53365
53366   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53367     for ac_func in isinff
53368 do :
53369   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53370 if test "x$ac_cv_func_isinff" = x""yes; then :
53371   cat >>confdefs.h <<_ACEOF
53372 #define HAVE_ISINFF 1
53373 _ACEOF
53374
53375 fi
53376 done
53377
53378   else
53379
53380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53381 $as_echo_n "checking for _isinff declaration... " >&6; }
53382   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53383     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53384   $as_echo_n "(cached) " >&6
53385 else
53386
53387
53388       ac_ext=cpp
53389 ac_cpp='$CXXCPP $CPPFLAGS'
53390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53393
53394       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53395 /* end confdefs.h.  */
53396 #include <math.h>
53397                       #ifdef HAVE_IEEEFP_H
53398                       #include <ieeefp.h>
53399                       #endif
53400
53401 int
53402 main ()
53403 {
53404  _isinff(0);
53405   ;
53406   return 0;
53407 }
53408 _ACEOF
53409 if ac_fn_cxx_try_compile "$LINENO"; then :
53410   glibcxx_cv_func__isinff_use=yes
53411 else
53412   glibcxx_cv_func__isinff_use=no
53413 fi
53414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53415       ac_ext=c
53416 ac_cpp='$CPP $CPPFLAGS'
53417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53420
53421
53422 fi
53423
53424   fi
53425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53426 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53427
53428     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53429       for ac_func in _isinff
53430 do :
53431   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53432 if test "x$ac_cv_func__isinff" = x""yes; then :
53433   cat >>confdefs.h <<_ACEOF
53434 #define HAVE__ISINFF 1
53435 _ACEOF
53436
53437 fi
53438 done
53439
53440     fi
53441   fi
53442
53443
53444
53445
53446
53447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53448 $as_echo_n "checking for atan2f declaration... " >&6; }
53449   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53450     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53451   $as_echo_n "(cached) " >&6
53452 else
53453
53454
53455       ac_ext=cpp
53456 ac_cpp='$CXXCPP $CPPFLAGS'
53457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53460
53461       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53462 /* end confdefs.h.  */
53463 #include <math.h>
53464 int
53465 main ()
53466 {
53467  atan2f(0, 0);
53468   ;
53469   return 0;
53470 }
53471 _ACEOF
53472 if ac_fn_cxx_try_compile "$LINENO"; then :
53473   glibcxx_cv_func_atan2f_use=yes
53474 else
53475   glibcxx_cv_func_atan2f_use=no
53476 fi
53477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53478       ac_ext=c
53479 ac_cpp='$CPP $CPPFLAGS'
53480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53483
53484
53485 fi
53486
53487   fi
53488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53489 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53490
53491   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53492     for ac_func in atan2f
53493 do :
53494   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53495 if test "x$ac_cv_func_atan2f" = x""yes; then :
53496   cat >>confdefs.h <<_ACEOF
53497 #define HAVE_ATAN2F 1
53498 _ACEOF
53499
53500 fi
53501 done
53502
53503   else
53504
53505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53506 $as_echo_n "checking for _atan2f declaration... " >&6; }
53507   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53508     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53509   $as_echo_n "(cached) " >&6
53510 else
53511
53512
53513       ac_ext=cpp
53514 ac_cpp='$CXXCPP $CPPFLAGS'
53515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53518
53519       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53520 /* end confdefs.h.  */
53521 #include <math.h>
53522 int
53523 main ()
53524 {
53525  _atan2f(0, 0);
53526   ;
53527   return 0;
53528 }
53529 _ACEOF
53530 if ac_fn_cxx_try_compile "$LINENO"; then :
53531   glibcxx_cv_func__atan2f_use=yes
53532 else
53533   glibcxx_cv_func__atan2f_use=no
53534 fi
53535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53536       ac_ext=c
53537 ac_cpp='$CPP $CPPFLAGS'
53538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53541
53542
53543 fi
53544
53545   fi
53546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53547 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53548
53549     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53550       for ac_func in _atan2f
53551 do :
53552   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53553 if test "x$ac_cv_func__atan2f" = x""yes; then :
53554   cat >>confdefs.h <<_ACEOF
53555 #define HAVE__ATAN2F 1
53556 _ACEOF
53557
53558 fi
53559 done
53560
53561     fi
53562   fi
53563
53564
53565
53566
53567
53568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53569 $as_echo_n "checking for fabsf declaration... " >&6; }
53570   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53571     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53572   $as_echo_n "(cached) " >&6
53573 else
53574
53575
53576       ac_ext=cpp
53577 ac_cpp='$CXXCPP $CPPFLAGS'
53578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53581
53582       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53583 /* end confdefs.h.  */
53584 #include <math.h>
53585                       #ifdef HAVE_IEEEFP_H
53586                       #include <ieeefp.h>
53587                       #endif
53588
53589 int
53590 main ()
53591 {
53592  fabsf(0);
53593   ;
53594   return 0;
53595 }
53596 _ACEOF
53597 if ac_fn_cxx_try_compile "$LINENO"; then :
53598   glibcxx_cv_func_fabsf_use=yes
53599 else
53600   glibcxx_cv_func_fabsf_use=no
53601 fi
53602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53603       ac_ext=c
53604 ac_cpp='$CPP $CPPFLAGS'
53605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53608
53609
53610 fi
53611
53612   fi
53613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53614 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53615
53616   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53617     for ac_func in fabsf
53618 do :
53619   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53620 if test "x$ac_cv_func_fabsf" = x""yes; then :
53621   cat >>confdefs.h <<_ACEOF
53622 #define HAVE_FABSF 1
53623 _ACEOF
53624
53625 fi
53626 done
53627
53628   else
53629
53630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53631 $as_echo_n "checking for _fabsf declaration... " >&6; }
53632   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53633     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53634   $as_echo_n "(cached) " >&6
53635 else
53636
53637
53638       ac_ext=cpp
53639 ac_cpp='$CXXCPP $CPPFLAGS'
53640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53643
53644       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53645 /* end confdefs.h.  */
53646 #include <math.h>
53647                       #ifdef HAVE_IEEEFP_H
53648                       #include <ieeefp.h>
53649                       #endif
53650
53651 int
53652 main ()
53653 {
53654  _fabsf(0);
53655   ;
53656   return 0;
53657 }
53658 _ACEOF
53659 if ac_fn_cxx_try_compile "$LINENO"; then :
53660   glibcxx_cv_func__fabsf_use=yes
53661 else
53662   glibcxx_cv_func__fabsf_use=no
53663 fi
53664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53665       ac_ext=c
53666 ac_cpp='$CPP $CPPFLAGS'
53667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53670
53671
53672 fi
53673
53674   fi
53675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53676 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53677
53678     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53679       for ac_func in _fabsf
53680 do :
53681   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53682 if test "x$ac_cv_func__fabsf" = x""yes; then :
53683   cat >>confdefs.h <<_ACEOF
53684 #define HAVE__FABSF 1
53685 _ACEOF
53686
53687 fi
53688 done
53689
53690     fi
53691   fi
53692
53693
53694
53695
53696
53697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53698 $as_echo_n "checking for fmodf declaration... " >&6; }
53699   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53700     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53701   $as_echo_n "(cached) " >&6
53702 else
53703
53704
53705       ac_ext=cpp
53706 ac_cpp='$CXXCPP $CPPFLAGS'
53707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53710
53711       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53712 /* end confdefs.h.  */
53713 #include <math.h>
53714 int
53715 main ()
53716 {
53717  fmodf(0, 0);
53718   ;
53719   return 0;
53720 }
53721 _ACEOF
53722 if ac_fn_cxx_try_compile "$LINENO"; then :
53723   glibcxx_cv_func_fmodf_use=yes
53724 else
53725   glibcxx_cv_func_fmodf_use=no
53726 fi
53727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53728       ac_ext=c
53729 ac_cpp='$CPP $CPPFLAGS'
53730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53733
53734
53735 fi
53736
53737   fi
53738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53739 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53740
53741   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53742     for ac_func in fmodf
53743 do :
53744   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53745 if test "x$ac_cv_func_fmodf" = x""yes; then :
53746   cat >>confdefs.h <<_ACEOF
53747 #define HAVE_FMODF 1
53748 _ACEOF
53749
53750 fi
53751 done
53752
53753   else
53754
53755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53756 $as_echo_n "checking for _fmodf declaration... " >&6; }
53757   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53758     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53759   $as_echo_n "(cached) " >&6
53760 else
53761
53762
53763       ac_ext=cpp
53764 ac_cpp='$CXXCPP $CPPFLAGS'
53765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53768
53769       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53770 /* end confdefs.h.  */
53771 #include <math.h>
53772 int
53773 main ()
53774 {
53775  _fmodf(0, 0);
53776   ;
53777   return 0;
53778 }
53779 _ACEOF
53780 if ac_fn_cxx_try_compile "$LINENO"; then :
53781   glibcxx_cv_func__fmodf_use=yes
53782 else
53783   glibcxx_cv_func__fmodf_use=no
53784 fi
53785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53786       ac_ext=c
53787 ac_cpp='$CPP $CPPFLAGS'
53788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53791
53792
53793 fi
53794
53795   fi
53796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53797 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53798
53799     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53800       for ac_func in _fmodf
53801 do :
53802   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53803 if test "x$ac_cv_func__fmodf" = x""yes; then :
53804   cat >>confdefs.h <<_ACEOF
53805 #define HAVE__FMODF 1
53806 _ACEOF
53807
53808 fi
53809 done
53810
53811     fi
53812   fi
53813
53814
53815
53816
53817
53818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53819 $as_echo_n "checking for frexpf declaration... " >&6; }
53820   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53821     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53822   $as_echo_n "(cached) " >&6
53823 else
53824
53825
53826       ac_ext=cpp
53827 ac_cpp='$CXXCPP $CPPFLAGS'
53828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53831
53832       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53833 /* end confdefs.h.  */
53834 #include <math.h>
53835 int
53836 main ()
53837 {
53838  frexpf(0, 0);
53839   ;
53840   return 0;
53841 }
53842 _ACEOF
53843 if ac_fn_cxx_try_compile "$LINENO"; then :
53844   glibcxx_cv_func_frexpf_use=yes
53845 else
53846   glibcxx_cv_func_frexpf_use=no
53847 fi
53848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53849       ac_ext=c
53850 ac_cpp='$CPP $CPPFLAGS'
53851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53854
53855
53856 fi
53857
53858   fi
53859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53860 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53861
53862   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53863     for ac_func in frexpf
53864 do :
53865   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53866 if test "x$ac_cv_func_frexpf" = x""yes; then :
53867   cat >>confdefs.h <<_ACEOF
53868 #define HAVE_FREXPF 1
53869 _ACEOF
53870
53871 fi
53872 done
53873
53874   else
53875
53876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53877 $as_echo_n "checking for _frexpf declaration... " >&6; }
53878   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53879     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53880   $as_echo_n "(cached) " >&6
53881 else
53882
53883
53884       ac_ext=cpp
53885 ac_cpp='$CXXCPP $CPPFLAGS'
53886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53889
53890       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53891 /* end confdefs.h.  */
53892 #include <math.h>
53893 int
53894 main ()
53895 {
53896  _frexpf(0, 0);
53897   ;
53898   return 0;
53899 }
53900 _ACEOF
53901 if ac_fn_cxx_try_compile "$LINENO"; then :
53902   glibcxx_cv_func__frexpf_use=yes
53903 else
53904   glibcxx_cv_func__frexpf_use=no
53905 fi
53906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53907       ac_ext=c
53908 ac_cpp='$CPP $CPPFLAGS'
53909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53912
53913
53914 fi
53915
53916   fi
53917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53918 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53919
53920     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53921       for ac_func in _frexpf
53922 do :
53923   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53924 if test "x$ac_cv_func__frexpf" = x""yes; then :
53925   cat >>confdefs.h <<_ACEOF
53926 #define HAVE__FREXPF 1
53927 _ACEOF
53928
53929 fi
53930 done
53931
53932     fi
53933   fi
53934
53935
53936
53937
53938
53939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53940 $as_echo_n "checking for hypotf declaration... " >&6; }
53941   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53942     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53943   $as_echo_n "(cached) " >&6
53944 else
53945
53946
53947       ac_ext=cpp
53948 ac_cpp='$CXXCPP $CPPFLAGS'
53949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53952
53953       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53954 /* end confdefs.h.  */
53955 #include <math.h>
53956 int
53957 main ()
53958 {
53959  hypotf(0, 0);
53960   ;
53961   return 0;
53962 }
53963 _ACEOF
53964 if ac_fn_cxx_try_compile "$LINENO"; then :
53965   glibcxx_cv_func_hypotf_use=yes
53966 else
53967   glibcxx_cv_func_hypotf_use=no
53968 fi
53969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53970       ac_ext=c
53971 ac_cpp='$CPP $CPPFLAGS'
53972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53975
53976
53977 fi
53978
53979   fi
53980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53981 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53982
53983   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53984     for ac_func in hypotf
53985 do :
53986   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53987 if test "x$ac_cv_func_hypotf" = x""yes; then :
53988   cat >>confdefs.h <<_ACEOF
53989 #define HAVE_HYPOTF 1
53990 _ACEOF
53991
53992 fi
53993 done
53994
53995   else
53996
53997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53998 $as_echo_n "checking for _hypotf declaration... " >&6; }
53999   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54000     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54001   $as_echo_n "(cached) " >&6
54002 else
54003
54004
54005       ac_ext=cpp
54006 ac_cpp='$CXXCPP $CPPFLAGS'
54007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54010
54011       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54012 /* end confdefs.h.  */
54013 #include <math.h>
54014 int
54015 main ()
54016 {
54017  _hypotf(0, 0);
54018   ;
54019   return 0;
54020 }
54021 _ACEOF
54022 if ac_fn_cxx_try_compile "$LINENO"; then :
54023   glibcxx_cv_func__hypotf_use=yes
54024 else
54025   glibcxx_cv_func__hypotf_use=no
54026 fi
54027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54028       ac_ext=c
54029 ac_cpp='$CPP $CPPFLAGS'
54030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54033
54034
54035 fi
54036
54037   fi
54038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54039 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54040
54041     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54042       for ac_func in _hypotf
54043 do :
54044   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54045 if test "x$ac_cv_func__hypotf" = x""yes; then :
54046   cat >>confdefs.h <<_ACEOF
54047 #define HAVE__HYPOTF 1
54048 _ACEOF
54049
54050 fi
54051 done
54052
54053     fi
54054   fi
54055
54056
54057
54058
54059
54060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54061 $as_echo_n "checking for ldexpf declaration... " >&6; }
54062   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54063     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54064   $as_echo_n "(cached) " >&6
54065 else
54066
54067
54068       ac_ext=cpp
54069 ac_cpp='$CXXCPP $CPPFLAGS'
54070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54073
54074       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54075 /* end confdefs.h.  */
54076 #include <math.h>
54077 int
54078 main ()
54079 {
54080  ldexpf(0, 0);
54081   ;
54082   return 0;
54083 }
54084 _ACEOF
54085 if ac_fn_cxx_try_compile "$LINENO"; then :
54086   glibcxx_cv_func_ldexpf_use=yes
54087 else
54088   glibcxx_cv_func_ldexpf_use=no
54089 fi
54090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54091       ac_ext=c
54092 ac_cpp='$CPP $CPPFLAGS'
54093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54096
54097
54098 fi
54099
54100   fi
54101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54102 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54103
54104   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54105     for ac_func in ldexpf
54106 do :
54107   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54108 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54109   cat >>confdefs.h <<_ACEOF
54110 #define HAVE_LDEXPF 1
54111 _ACEOF
54112
54113 fi
54114 done
54115
54116   else
54117
54118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54119 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54120   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54121     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54122   $as_echo_n "(cached) " >&6
54123 else
54124
54125
54126       ac_ext=cpp
54127 ac_cpp='$CXXCPP $CPPFLAGS'
54128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54131
54132       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54133 /* end confdefs.h.  */
54134 #include <math.h>
54135 int
54136 main ()
54137 {
54138  _ldexpf(0, 0);
54139   ;
54140   return 0;
54141 }
54142 _ACEOF
54143 if ac_fn_cxx_try_compile "$LINENO"; then :
54144   glibcxx_cv_func__ldexpf_use=yes
54145 else
54146   glibcxx_cv_func__ldexpf_use=no
54147 fi
54148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54149       ac_ext=c
54150 ac_cpp='$CPP $CPPFLAGS'
54151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54154
54155
54156 fi
54157
54158   fi
54159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54160 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54161
54162     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54163       for ac_func in _ldexpf
54164 do :
54165   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54166 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54167   cat >>confdefs.h <<_ACEOF
54168 #define HAVE__LDEXPF 1
54169 _ACEOF
54170
54171 fi
54172 done
54173
54174     fi
54175   fi
54176
54177
54178
54179
54180
54181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54182 $as_echo_n "checking for logf declaration... " >&6; }
54183   if test x${glibcxx_cv_func_logf_use+set} != xset; then
54184     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54185   $as_echo_n "(cached) " >&6
54186 else
54187
54188
54189       ac_ext=cpp
54190 ac_cpp='$CXXCPP $CPPFLAGS'
54191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54194
54195       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54196 /* end confdefs.h.  */
54197 #include <math.h>
54198                       #ifdef HAVE_IEEEFP_H
54199                       #include <ieeefp.h>
54200                       #endif
54201
54202 int
54203 main ()
54204 {
54205  logf(0);
54206   ;
54207   return 0;
54208 }
54209 _ACEOF
54210 if ac_fn_cxx_try_compile "$LINENO"; then :
54211   glibcxx_cv_func_logf_use=yes
54212 else
54213   glibcxx_cv_func_logf_use=no
54214 fi
54215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54216       ac_ext=c
54217 ac_cpp='$CPP $CPPFLAGS'
54218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54221
54222
54223 fi
54224
54225   fi
54226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54227 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54228
54229   if test x$glibcxx_cv_func_logf_use = x"yes"; then
54230     for ac_func in logf
54231 do :
54232   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54233 if test "x$ac_cv_func_logf" = x""yes; then :
54234   cat >>confdefs.h <<_ACEOF
54235 #define HAVE_LOGF 1
54236 _ACEOF
54237
54238 fi
54239 done
54240
54241   else
54242
54243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54244 $as_echo_n "checking for _logf declaration... " >&6; }
54245   if test x${glibcxx_cv_func__logf_use+set} != xset; then
54246     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54247   $as_echo_n "(cached) " >&6
54248 else
54249
54250
54251       ac_ext=cpp
54252 ac_cpp='$CXXCPP $CPPFLAGS'
54253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54256
54257       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54258 /* end confdefs.h.  */
54259 #include <math.h>
54260                       #ifdef HAVE_IEEEFP_H
54261                       #include <ieeefp.h>
54262                       #endif
54263
54264 int
54265 main ()
54266 {
54267  _logf(0);
54268   ;
54269   return 0;
54270 }
54271 _ACEOF
54272 if ac_fn_cxx_try_compile "$LINENO"; then :
54273   glibcxx_cv_func__logf_use=yes
54274 else
54275   glibcxx_cv_func__logf_use=no
54276 fi
54277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54278       ac_ext=c
54279 ac_cpp='$CPP $CPPFLAGS'
54280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54283
54284
54285 fi
54286
54287   fi
54288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54289 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54290
54291     if test x$glibcxx_cv_func__logf_use = x"yes"; then
54292       for ac_func in _logf
54293 do :
54294   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54295 if test "x$ac_cv_func__logf" = x""yes; then :
54296   cat >>confdefs.h <<_ACEOF
54297 #define HAVE__LOGF 1
54298 _ACEOF
54299
54300 fi
54301 done
54302
54303     fi
54304   fi
54305
54306
54307
54308
54309
54310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54311 $as_echo_n "checking for log10f declaration... " >&6; }
54312   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54313     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54314   $as_echo_n "(cached) " >&6
54315 else
54316
54317
54318       ac_ext=cpp
54319 ac_cpp='$CXXCPP $CPPFLAGS'
54320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54323
54324       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54325 /* end confdefs.h.  */
54326 #include <math.h>
54327                       #ifdef HAVE_IEEEFP_H
54328                       #include <ieeefp.h>
54329                       #endif
54330
54331 int
54332 main ()
54333 {
54334  log10f(0);
54335   ;
54336   return 0;
54337 }
54338 _ACEOF
54339 if ac_fn_cxx_try_compile "$LINENO"; then :
54340   glibcxx_cv_func_log10f_use=yes
54341 else
54342   glibcxx_cv_func_log10f_use=no
54343 fi
54344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54345       ac_ext=c
54346 ac_cpp='$CPP $CPPFLAGS'
54347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54350
54351
54352 fi
54353
54354   fi
54355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54356 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54357
54358   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54359     for ac_func in log10f
54360 do :
54361   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54362 if test "x$ac_cv_func_log10f" = x""yes; then :
54363   cat >>confdefs.h <<_ACEOF
54364 #define HAVE_LOG10F 1
54365 _ACEOF
54366
54367 fi
54368 done
54369
54370   else
54371
54372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54373 $as_echo_n "checking for _log10f declaration... " >&6; }
54374   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54375     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54376   $as_echo_n "(cached) " >&6
54377 else
54378
54379
54380       ac_ext=cpp
54381 ac_cpp='$CXXCPP $CPPFLAGS'
54382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54385
54386       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54387 /* end confdefs.h.  */
54388 #include <math.h>
54389                       #ifdef HAVE_IEEEFP_H
54390                       #include <ieeefp.h>
54391                       #endif
54392
54393 int
54394 main ()
54395 {
54396  _log10f(0);
54397   ;
54398   return 0;
54399 }
54400 _ACEOF
54401 if ac_fn_cxx_try_compile "$LINENO"; then :
54402   glibcxx_cv_func__log10f_use=yes
54403 else
54404   glibcxx_cv_func__log10f_use=no
54405 fi
54406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54407       ac_ext=c
54408 ac_cpp='$CPP $CPPFLAGS'
54409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54412
54413
54414 fi
54415
54416   fi
54417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54418 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54419
54420     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54421       for ac_func in _log10f
54422 do :
54423   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54424 if test "x$ac_cv_func__log10f" = x""yes; then :
54425   cat >>confdefs.h <<_ACEOF
54426 #define HAVE__LOG10F 1
54427 _ACEOF
54428
54429 fi
54430 done
54431
54432     fi
54433   fi
54434
54435
54436
54437
54438
54439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54440 $as_echo_n "checking for modff declaration... " >&6; }
54441   if test x${glibcxx_cv_func_modff_use+set} != xset; then
54442     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54443   $as_echo_n "(cached) " >&6
54444 else
54445
54446
54447       ac_ext=cpp
54448 ac_cpp='$CXXCPP $CPPFLAGS'
54449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54452
54453       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54454 /* end confdefs.h.  */
54455 #include <math.h>
54456 int
54457 main ()
54458 {
54459  modff(0, 0);
54460   ;
54461   return 0;
54462 }
54463 _ACEOF
54464 if ac_fn_cxx_try_compile "$LINENO"; then :
54465   glibcxx_cv_func_modff_use=yes
54466 else
54467   glibcxx_cv_func_modff_use=no
54468 fi
54469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54470       ac_ext=c
54471 ac_cpp='$CPP $CPPFLAGS'
54472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54475
54476
54477 fi
54478
54479   fi
54480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54481 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54482
54483   if test x$glibcxx_cv_func_modff_use = x"yes"; then
54484     for ac_func in modff
54485 do :
54486   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54487 if test "x$ac_cv_func_modff" = x""yes; then :
54488   cat >>confdefs.h <<_ACEOF
54489 #define HAVE_MODFF 1
54490 _ACEOF
54491
54492 fi
54493 done
54494
54495   else
54496
54497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54498 $as_echo_n "checking for _modff declaration... " >&6; }
54499   if test x${glibcxx_cv_func__modff_use+set} != xset; then
54500     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54501   $as_echo_n "(cached) " >&6
54502 else
54503
54504
54505       ac_ext=cpp
54506 ac_cpp='$CXXCPP $CPPFLAGS'
54507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54510
54511       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54512 /* end confdefs.h.  */
54513 #include <math.h>
54514 int
54515 main ()
54516 {
54517  _modff(0, 0);
54518   ;
54519   return 0;
54520 }
54521 _ACEOF
54522 if ac_fn_cxx_try_compile "$LINENO"; then :
54523   glibcxx_cv_func__modff_use=yes
54524 else
54525   glibcxx_cv_func__modff_use=no
54526 fi
54527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54528       ac_ext=c
54529 ac_cpp='$CPP $CPPFLAGS'
54530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54533
54534
54535 fi
54536
54537   fi
54538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54539 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54540
54541     if test x$glibcxx_cv_func__modff_use = x"yes"; then
54542       for ac_func in _modff
54543 do :
54544   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54545 if test "x$ac_cv_func__modff" = x""yes; then :
54546   cat >>confdefs.h <<_ACEOF
54547 #define HAVE__MODFF 1
54548 _ACEOF
54549
54550 fi
54551 done
54552
54553     fi
54554   fi
54555
54556
54557
54558
54559
54560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54561 $as_echo_n "checking for modf declaration... " >&6; }
54562   if test x${glibcxx_cv_func_modf_use+set} != xset; then
54563     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54564   $as_echo_n "(cached) " >&6
54565 else
54566
54567
54568       ac_ext=cpp
54569 ac_cpp='$CXXCPP $CPPFLAGS'
54570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54573
54574       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54575 /* end confdefs.h.  */
54576 #include <math.h>
54577 int
54578 main ()
54579 {
54580  modf(0, 0);
54581   ;
54582   return 0;
54583 }
54584 _ACEOF
54585 if ac_fn_cxx_try_compile "$LINENO"; then :
54586   glibcxx_cv_func_modf_use=yes
54587 else
54588   glibcxx_cv_func_modf_use=no
54589 fi
54590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54591       ac_ext=c
54592 ac_cpp='$CPP $CPPFLAGS'
54593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54596
54597
54598 fi
54599
54600   fi
54601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54602 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54603
54604   if test x$glibcxx_cv_func_modf_use = x"yes"; then
54605     for ac_func in modf
54606 do :
54607   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54608 if test "x$ac_cv_func_modf" = x""yes; then :
54609   cat >>confdefs.h <<_ACEOF
54610 #define HAVE_MODF 1
54611 _ACEOF
54612
54613 fi
54614 done
54615
54616   else
54617
54618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54619 $as_echo_n "checking for _modf declaration... " >&6; }
54620   if test x${glibcxx_cv_func__modf_use+set} != xset; then
54621     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54622   $as_echo_n "(cached) " >&6
54623 else
54624
54625
54626       ac_ext=cpp
54627 ac_cpp='$CXXCPP $CPPFLAGS'
54628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54631
54632       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54633 /* end confdefs.h.  */
54634 #include <math.h>
54635 int
54636 main ()
54637 {
54638  _modf(0, 0);
54639   ;
54640   return 0;
54641 }
54642 _ACEOF
54643 if ac_fn_cxx_try_compile "$LINENO"; then :
54644   glibcxx_cv_func__modf_use=yes
54645 else
54646   glibcxx_cv_func__modf_use=no
54647 fi
54648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54649       ac_ext=c
54650 ac_cpp='$CPP $CPPFLAGS'
54651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54654
54655
54656 fi
54657
54658   fi
54659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54660 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54661
54662     if test x$glibcxx_cv_func__modf_use = x"yes"; then
54663       for ac_func in _modf
54664 do :
54665   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54666 if test "x$ac_cv_func__modf" = x""yes; then :
54667   cat >>confdefs.h <<_ACEOF
54668 #define HAVE__MODF 1
54669 _ACEOF
54670
54671 fi
54672 done
54673
54674     fi
54675   fi
54676
54677
54678
54679
54680
54681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54682 $as_echo_n "checking for powf declaration... " >&6; }
54683   if test x${glibcxx_cv_func_powf_use+set} != xset; then
54684     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54685   $as_echo_n "(cached) " >&6
54686 else
54687
54688
54689       ac_ext=cpp
54690 ac_cpp='$CXXCPP $CPPFLAGS'
54691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54694
54695       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54696 /* end confdefs.h.  */
54697 #include <math.h>
54698 int
54699 main ()
54700 {
54701  powf(0, 0);
54702   ;
54703   return 0;
54704 }
54705 _ACEOF
54706 if ac_fn_cxx_try_compile "$LINENO"; then :
54707   glibcxx_cv_func_powf_use=yes
54708 else
54709   glibcxx_cv_func_powf_use=no
54710 fi
54711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54712       ac_ext=c
54713 ac_cpp='$CPP $CPPFLAGS'
54714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54717
54718
54719 fi
54720
54721   fi
54722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54723 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54724
54725   if test x$glibcxx_cv_func_powf_use = x"yes"; then
54726     for ac_func in powf
54727 do :
54728   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54729 if test "x$ac_cv_func_powf" = x""yes; then :
54730   cat >>confdefs.h <<_ACEOF
54731 #define HAVE_POWF 1
54732 _ACEOF
54733
54734 fi
54735 done
54736
54737   else
54738
54739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54740 $as_echo_n "checking for _powf declaration... " >&6; }
54741   if test x${glibcxx_cv_func__powf_use+set} != xset; then
54742     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54743   $as_echo_n "(cached) " >&6
54744 else
54745
54746
54747       ac_ext=cpp
54748 ac_cpp='$CXXCPP $CPPFLAGS'
54749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54752
54753       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54754 /* end confdefs.h.  */
54755 #include <math.h>
54756 int
54757 main ()
54758 {
54759  _powf(0, 0);
54760   ;
54761   return 0;
54762 }
54763 _ACEOF
54764 if ac_fn_cxx_try_compile "$LINENO"; then :
54765   glibcxx_cv_func__powf_use=yes
54766 else
54767   glibcxx_cv_func__powf_use=no
54768 fi
54769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54770       ac_ext=c
54771 ac_cpp='$CPP $CPPFLAGS'
54772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54775
54776
54777 fi
54778
54779   fi
54780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54781 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54782
54783     if test x$glibcxx_cv_func__powf_use = x"yes"; then
54784       for ac_func in _powf
54785 do :
54786   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54787 if test "x$ac_cv_func__powf" = x""yes; then :
54788   cat >>confdefs.h <<_ACEOF
54789 #define HAVE__POWF 1
54790 _ACEOF
54791
54792 fi
54793 done
54794
54795     fi
54796   fi
54797
54798
54799
54800
54801
54802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54803 $as_echo_n "checking for sqrtf declaration... " >&6; }
54804   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54805     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54806   $as_echo_n "(cached) " >&6
54807 else
54808
54809
54810       ac_ext=cpp
54811 ac_cpp='$CXXCPP $CPPFLAGS'
54812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54815
54816       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54817 /* end confdefs.h.  */
54818 #include <math.h>
54819                       #ifdef HAVE_IEEEFP_H
54820                       #include <ieeefp.h>
54821                       #endif
54822
54823 int
54824 main ()
54825 {
54826  sqrtf(0);
54827   ;
54828   return 0;
54829 }
54830 _ACEOF
54831 if ac_fn_cxx_try_compile "$LINENO"; then :
54832   glibcxx_cv_func_sqrtf_use=yes
54833 else
54834   glibcxx_cv_func_sqrtf_use=no
54835 fi
54836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54837       ac_ext=c
54838 ac_cpp='$CPP $CPPFLAGS'
54839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54842
54843
54844 fi
54845
54846   fi
54847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54848 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54849
54850   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54851     for ac_func in sqrtf
54852 do :
54853   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54854 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54855   cat >>confdefs.h <<_ACEOF
54856 #define HAVE_SQRTF 1
54857 _ACEOF
54858
54859 fi
54860 done
54861
54862   else
54863
54864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54865 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54866   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54867     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54868   $as_echo_n "(cached) " >&6
54869 else
54870
54871
54872       ac_ext=cpp
54873 ac_cpp='$CXXCPP $CPPFLAGS'
54874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54877
54878       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54879 /* end confdefs.h.  */
54880 #include <math.h>
54881                       #ifdef HAVE_IEEEFP_H
54882                       #include <ieeefp.h>
54883                       #endif
54884
54885 int
54886 main ()
54887 {
54888  _sqrtf(0);
54889   ;
54890   return 0;
54891 }
54892 _ACEOF
54893 if ac_fn_cxx_try_compile "$LINENO"; then :
54894   glibcxx_cv_func__sqrtf_use=yes
54895 else
54896   glibcxx_cv_func__sqrtf_use=no
54897 fi
54898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54899       ac_ext=c
54900 ac_cpp='$CPP $CPPFLAGS'
54901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54904
54905
54906 fi
54907
54908   fi
54909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54910 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54911
54912     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54913       for ac_func in _sqrtf
54914 do :
54915   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54916 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54917   cat >>confdefs.h <<_ACEOF
54918 #define HAVE__SQRTF 1
54919 _ACEOF
54920
54921 fi
54922 done
54923
54924     fi
54925   fi
54926
54927
54928
54929
54930
54931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54932 $as_echo_n "checking for sincosf declaration... " >&6; }
54933   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54934     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54935   $as_echo_n "(cached) " >&6
54936 else
54937
54938
54939       ac_ext=cpp
54940 ac_cpp='$CXXCPP $CPPFLAGS'
54941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54944
54945       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54946 /* end confdefs.h.  */
54947 #include <math.h>
54948 int
54949 main ()
54950 {
54951  sincosf(0, 0, 0);
54952   ;
54953   return 0;
54954 }
54955 _ACEOF
54956 if ac_fn_cxx_try_compile "$LINENO"; then :
54957   glibcxx_cv_func_sincosf_use=yes
54958 else
54959   glibcxx_cv_func_sincosf_use=no
54960 fi
54961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54962       ac_ext=c
54963 ac_cpp='$CPP $CPPFLAGS'
54964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54967
54968
54969 fi
54970
54971   fi
54972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54973 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54974
54975   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54976     for ac_func in sincosf
54977 do :
54978   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54979 if test "x$ac_cv_func_sincosf" = x""yes; then :
54980   cat >>confdefs.h <<_ACEOF
54981 #define HAVE_SINCOSF 1
54982 _ACEOF
54983
54984 fi
54985 done
54986
54987   else
54988
54989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54990 $as_echo_n "checking for _sincosf declaration... " >&6; }
54991   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54992     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54993   $as_echo_n "(cached) " >&6
54994 else
54995
54996
54997       ac_ext=cpp
54998 ac_cpp='$CXXCPP $CPPFLAGS'
54999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55002
55003       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55004 /* end confdefs.h.  */
55005 #include <math.h>
55006 int
55007 main ()
55008 {
55009  _sincosf(0, 0, 0);
55010   ;
55011   return 0;
55012 }
55013 _ACEOF
55014 if ac_fn_cxx_try_compile "$LINENO"; then :
55015   glibcxx_cv_func__sincosf_use=yes
55016 else
55017   glibcxx_cv_func__sincosf_use=no
55018 fi
55019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55020       ac_ext=c
55021 ac_cpp='$CPP $CPPFLAGS'
55022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55025
55026
55027 fi
55028
55029   fi
55030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55031 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55032
55033     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55034       for ac_func in _sincosf
55035 do :
55036   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55037 if test "x$ac_cv_func__sincosf" = x""yes; then :
55038   cat >>confdefs.h <<_ACEOF
55039 #define HAVE__SINCOSF 1
55040 _ACEOF
55041
55042 fi
55043 done
55044
55045     fi
55046   fi
55047
55048
55049
55050
55051
55052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55053 $as_echo_n "checking for finitef declaration... " >&6; }
55054   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55055     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55056   $as_echo_n "(cached) " >&6
55057 else
55058
55059
55060       ac_ext=cpp
55061 ac_cpp='$CXXCPP $CPPFLAGS'
55062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55065
55066       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55067 /* end confdefs.h.  */
55068 #include <math.h>
55069                       #ifdef HAVE_IEEEFP_H
55070                       #include <ieeefp.h>
55071                       #endif
55072
55073 int
55074 main ()
55075 {
55076  finitef(0);
55077   ;
55078   return 0;
55079 }
55080 _ACEOF
55081 if ac_fn_cxx_try_compile "$LINENO"; then :
55082   glibcxx_cv_func_finitef_use=yes
55083 else
55084   glibcxx_cv_func_finitef_use=no
55085 fi
55086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55087       ac_ext=c
55088 ac_cpp='$CPP $CPPFLAGS'
55089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55092
55093
55094 fi
55095
55096   fi
55097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55098 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55099
55100   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55101     for ac_func in finitef
55102 do :
55103   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55104 if test "x$ac_cv_func_finitef" = x""yes; then :
55105   cat >>confdefs.h <<_ACEOF
55106 #define HAVE_FINITEF 1
55107 _ACEOF
55108
55109 fi
55110 done
55111
55112   else
55113
55114   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55115 $as_echo_n "checking for _finitef declaration... " >&6; }
55116   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55117     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55118   $as_echo_n "(cached) " >&6
55119 else
55120
55121
55122       ac_ext=cpp
55123 ac_cpp='$CXXCPP $CPPFLAGS'
55124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55127
55128       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55129 /* end confdefs.h.  */
55130 #include <math.h>
55131                       #ifdef HAVE_IEEEFP_H
55132                       #include <ieeefp.h>
55133                       #endif
55134
55135 int
55136 main ()
55137 {
55138  _finitef(0);
55139   ;
55140   return 0;
55141 }
55142 _ACEOF
55143 if ac_fn_cxx_try_compile "$LINENO"; then :
55144   glibcxx_cv_func__finitef_use=yes
55145 else
55146   glibcxx_cv_func__finitef_use=no
55147 fi
55148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55149       ac_ext=c
55150 ac_cpp='$CPP $CPPFLAGS'
55151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55154
55155
55156 fi
55157
55158   fi
55159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55160 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55161
55162     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55163       for ac_func in _finitef
55164 do :
55165   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55166 if test "x$ac_cv_func__finitef" = x""yes; then :
55167   cat >>confdefs.h <<_ACEOF
55168 #define HAVE__FINITEF 1
55169 _ACEOF
55170
55171 fi
55172 done
55173
55174     fi
55175   fi
55176
55177
55178
55179
55180
55181     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55182 $as_echo_n "checking for long double trig functions... " >&6; }
55183   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55184   $as_echo_n "(cached) " >&6
55185 else
55186
55187
55188     ac_ext=cpp
55189 ac_cpp='$CXXCPP $CPPFLAGS'
55190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55193
55194     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55195 /* end confdefs.h.  */
55196 #include <math.h>
55197 int
55198 main ()
55199 {
55200 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55201   ;
55202   return 0;
55203 }
55204 _ACEOF
55205 if ac_fn_cxx_try_compile "$LINENO"; then :
55206   glibcxx_cv_func_long_double_trig_use=yes
55207 else
55208   glibcxx_cv_func_long_double_trig_use=no
55209 fi
55210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55211     ac_ext=c
55212 ac_cpp='$CPP $CPPFLAGS'
55213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55216
55217 fi
55218
55219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55220 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55221   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55222     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55223 do :
55224   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55225 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55226 eval as_val=\$$as_ac_var
55227    if test "x$as_val" = x""yes; then :
55228   cat >>confdefs.h <<_ACEOF
55229 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55230 _ACEOF
55231
55232 fi
55233 done
55234
55235   else
55236     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55237 $as_echo_n "checking for _long double trig functions... " >&6; }
55238     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55239   $as_echo_n "(cached) " >&6
55240 else
55241
55242
55243       ac_ext=cpp
55244 ac_cpp='$CXXCPP $CPPFLAGS'
55245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55248
55249       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55250 /* end confdefs.h.  */
55251 #include <math.h>
55252 int
55253 main ()
55254 {
55255 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55256   ;
55257   return 0;
55258 }
55259 _ACEOF
55260 if ac_fn_cxx_try_compile "$LINENO"; then :
55261   glibcxx_cv_func__long_double_trig_use=yes
55262 else
55263   glibcxx_cv_func__long_double_trig_use=no
55264 fi
55265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55266       ac_ext=c
55267 ac_cpp='$CPP $CPPFLAGS'
55268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55271
55272 fi
55273
55274     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55275 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55276     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55277       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55278 do :
55279   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55280 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55281 eval as_val=\$$as_ac_var
55282    if test "x$as_val" = x""yes; then :
55283   cat >>confdefs.h <<_ACEOF
55284 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55285 _ACEOF
55286
55287 fi
55288 done
55289
55290     fi
55291   fi
55292
55293
55294
55295
55296
55297     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55298 $as_echo_n "checking for long double round functions... " >&6; }
55299   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55300   $as_echo_n "(cached) " >&6
55301 else
55302
55303
55304     ac_ext=cpp
55305 ac_cpp='$CXXCPP $CPPFLAGS'
55306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55309
55310     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55311 /* end confdefs.h.  */
55312 #include <math.h>
55313 int
55314 main ()
55315 {
55316 ceill (0); floorl (0);
55317   ;
55318   return 0;
55319 }
55320 _ACEOF
55321 if ac_fn_cxx_try_compile "$LINENO"; then :
55322   glibcxx_cv_func_long_double_round_use=yes
55323 else
55324   glibcxx_cv_func_long_double_round_use=no
55325 fi
55326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55327     ac_ext=c
55328 ac_cpp='$CPP $CPPFLAGS'
55329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55332
55333 fi
55334
55335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55336 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55337   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55338     for ac_func in ceill floorl
55339 do :
55340   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55341 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55342 eval as_val=\$$as_ac_var
55343    if test "x$as_val" = x""yes; then :
55344   cat >>confdefs.h <<_ACEOF
55345 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55346 _ACEOF
55347
55348 fi
55349 done
55350
55351   else
55352     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55353 $as_echo_n "checking for _long double round functions... " >&6; }
55354     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55355   $as_echo_n "(cached) " >&6
55356 else
55357
55358
55359       ac_ext=cpp
55360 ac_cpp='$CXXCPP $CPPFLAGS'
55361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55364
55365       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55366 /* end confdefs.h.  */
55367 #include <math.h>
55368 int
55369 main ()
55370 {
55371 _ceill (0); _floorl (0);
55372   ;
55373   return 0;
55374 }
55375 _ACEOF
55376 if ac_fn_cxx_try_compile "$LINENO"; then :
55377   glibcxx_cv_func__long_double_round_use=yes
55378 else
55379   glibcxx_cv_func__long_double_round_use=no
55380 fi
55381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55382       ac_ext=c
55383 ac_cpp='$CPP $CPPFLAGS'
55384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55387
55388 fi
55389
55390     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55391 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55392     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55393       for ac_func in _ceill _floorl
55394 do :
55395   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55396 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55397 eval as_val=\$$as_ac_var
55398    if test "x$as_val" = x""yes; then :
55399   cat >>confdefs.h <<_ACEOF
55400 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55401 _ACEOF
55402
55403 fi
55404 done
55405
55406     fi
55407   fi
55408
55409
55410
55411
55412
55413
55414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55415 $as_echo_n "checking for isnanl declaration... " >&6; }
55416   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55417     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55418   $as_echo_n "(cached) " >&6
55419 else
55420
55421
55422       ac_ext=cpp
55423 ac_cpp='$CXXCPP $CPPFLAGS'
55424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55427
55428       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55429 /* end confdefs.h.  */
55430 #include <math.h>
55431                       #ifdef HAVE_IEEEFP_H
55432                       #include <ieeefp.h>
55433                       #endif
55434
55435 int
55436 main ()
55437 {
55438  isnanl(0);
55439   ;
55440   return 0;
55441 }
55442 _ACEOF
55443 if ac_fn_cxx_try_compile "$LINENO"; then :
55444   glibcxx_cv_func_isnanl_use=yes
55445 else
55446   glibcxx_cv_func_isnanl_use=no
55447 fi
55448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55449       ac_ext=c
55450 ac_cpp='$CPP $CPPFLAGS'
55451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55454
55455
55456 fi
55457
55458   fi
55459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55460 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55461
55462   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55463     for ac_func in isnanl
55464 do :
55465   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55466 if test "x$ac_cv_func_isnanl" = x""yes; then :
55467   cat >>confdefs.h <<_ACEOF
55468 #define HAVE_ISNANL 1
55469 _ACEOF
55470
55471 fi
55472 done
55473
55474   else
55475
55476   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55477 $as_echo_n "checking for _isnanl declaration... " >&6; }
55478   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55479     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55480   $as_echo_n "(cached) " >&6
55481 else
55482
55483
55484       ac_ext=cpp
55485 ac_cpp='$CXXCPP $CPPFLAGS'
55486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55489
55490       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55491 /* end confdefs.h.  */
55492 #include <math.h>
55493                       #ifdef HAVE_IEEEFP_H
55494                       #include <ieeefp.h>
55495                       #endif
55496
55497 int
55498 main ()
55499 {
55500  _isnanl(0);
55501   ;
55502   return 0;
55503 }
55504 _ACEOF
55505 if ac_fn_cxx_try_compile "$LINENO"; then :
55506   glibcxx_cv_func__isnanl_use=yes
55507 else
55508   glibcxx_cv_func__isnanl_use=no
55509 fi
55510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55511       ac_ext=c
55512 ac_cpp='$CPP $CPPFLAGS'
55513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55516
55517
55518 fi
55519
55520   fi
55521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55522 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55523
55524     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55525       for ac_func in _isnanl
55526 do :
55527   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55528 if test "x$ac_cv_func__isnanl" = x""yes; then :
55529   cat >>confdefs.h <<_ACEOF
55530 #define HAVE__ISNANL 1
55531 _ACEOF
55532
55533 fi
55534 done
55535
55536     fi
55537   fi
55538
55539
55540
55541
55542
55543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55544 $as_echo_n "checking for isinfl declaration... " >&6; }
55545   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55546     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55547   $as_echo_n "(cached) " >&6
55548 else
55549
55550
55551       ac_ext=cpp
55552 ac_cpp='$CXXCPP $CPPFLAGS'
55553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55556
55557       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55558 /* end confdefs.h.  */
55559 #include <math.h>
55560                       #ifdef HAVE_IEEEFP_H
55561                       #include <ieeefp.h>
55562                       #endif
55563
55564 int
55565 main ()
55566 {
55567  isinfl(0);
55568   ;
55569   return 0;
55570 }
55571 _ACEOF
55572 if ac_fn_cxx_try_compile "$LINENO"; then :
55573   glibcxx_cv_func_isinfl_use=yes
55574 else
55575   glibcxx_cv_func_isinfl_use=no
55576 fi
55577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55578       ac_ext=c
55579 ac_cpp='$CPP $CPPFLAGS'
55580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55583
55584
55585 fi
55586
55587   fi
55588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55589 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55590
55591   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55592     for ac_func in isinfl
55593 do :
55594   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55595 if test "x$ac_cv_func_isinfl" = x""yes; then :
55596   cat >>confdefs.h <<_ACEOF
55597 #define HAVE_ISINFL 1
55598 _ACEOF
55599
55600 fi
55601 done
55602
55603   else
55604
55605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55606 $as_echo_n "checking for _isinfl declaration... " >&6; }
55607   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55608     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55609   $as_echo_n "(cached) " >&6
55610 else
55611
55612
55613       ac_ext=cpp
55614 ac_cpp='$CXXCPP $CPPFLAGS'
55615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55618
55619       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55620 /* end confdefs.h.  */
55621 #include <math.h>
55622                       #ifdef HAVE_IEEEFP_H
55623                       #include <ieeefp.h>
55624                       #endif
55625
55626 int
55627 main ()
55628 {
55629  _isinfl(0);
55630   ;
55631   return 0;
55632 }
55633 _ACEOF
55634 if ac_fn_cxx_try_compile "$LINENO"; then :
55635   glibcxx_cv_func__isinfl_use=yes
55636 else
55637   glibcxx_cv_func__isinfl_use=no
55638 fi
55639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55640       ac_ext=c
55641 ac_cpp='$CPP $CPPFLAGS'
55642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55645
55646
55647 fi
55648
55649   fi
55650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55651 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55652
55653     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55654       for ac_func in _isinfl
55655 do :
55656   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55657 if test "x$ac_cv_func__isinfl" = x""yes; then :
55658   cat >>confdefs.h <<_ACEOF
55659 #define HAVE__ISINFL 1
55660 _ACEOF
55661
55662 fi
55663 done
55664
55665     fi
55666   fi
55667
55668
55669
55670
55671
55672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55673 $as_echo_n "checking for atan2l declaration... " >&6; }
55674   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55675     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55676   $as_echo_n "(cached) " >&6
55677 else
55678
55679
55680       ac_ext=cpp
55681 ac_cpp='$CXXCPP $CPPFLAGS'
55682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55685
55686       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55687 /* end confdefs.h.  */
55688 #include <math.h>
55689 int
55690 main ()
55691 {
55692  atan2l(0, 0);
55693   ;
55694   return 0;
55695 }
55696 _ACEOF
55697 if ac_fn_cxx_try_compile "$LINENO"; then :
55698   glibcxx_cv_func_atan2l_use=yes
55699 else
55700   glibcxx_cv_func_atan2l_use=no
55701 fi
55702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55703       ac_ext=c
55704 ac_cpp='$CPP $CPPFLAGS'
55705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55708
55709
55710 fi
55711
55712   fi
55713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55714 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55715
55716   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55717     for ac_func in atan2l
55718 do :
55719   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55720 if test "x$ac_cv_func_atan2l" = x""yes; then :
55721   cat >>confdefs.h <<_ACEOF
55722 #define HAVE_ATAN2L 1
55723 _ACEOF
55724
55725 fi
55726 done
55727
55728   else
55729
55730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55731 $as_echo_n "checking for _atan2l declaration... " >&6; }
55732   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55733     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55734   $as_echo_n "(cached) " >&6
55735 else
55736
55737
55738       ac_ext=cpp
55739 ac_cpp='$CXXCPP $CPPFLAGS'
55740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55743
55744       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55745 /* end confdefs.h.  */
55746 #include <math.h>
55747 int
55748 main ()
55749 {
55750  _atan2l(0, 0);
55751   ;
55752   return 0;
55753 }
55754 _ACEOF
55755 if ac_fn_cxx_try_compile "$LINENO"; then :
55756   glibcxx_cv_func__atan2l_use=yes
55757 else
55758   glibcxx_cv_func__atan2l_use=no
55759 fi
55760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55761       ac_ext=c
55762 ac_cpp='$CPP $CPPFLAGS'
55763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55766
55767
55768 fi
55769
55770   fi
55771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55772 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55773
55774     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55775       for ac_func in _atan2l
55776 do :
55777   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55778 if test "x$ac_cv_func__atan2l" = x""yes; then :
55779   cat >>confdefs.h <<_ACEOF
55780 #define HAVE__ATAN2L 1
55781 _ACEOF
55782
55783 fi
55784 done
55785
55786     fi
55787   fi
55788
55789
55790
55791
55792
55793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55794 $as_echo_n "checking for expl declaration... " >&6; }
55795   if test x${glibcxx_cv_func_expl_use+set} != xset; then
55796     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55797   $as_echo_n "(cached) " >&6
55798 else
55799
55800
55801       ac_ext=cpp
55802 ac_cpp='$CXXCPP $CPPFLAGS'
55803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55806
55807       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55808 /* end confdefs.h.  */
55809 #include <math.h>
55810                       #ifdef HAVE_IEEEFP_H
55811                       #include <ieeefp.h>
55812                       #endif
55813
55814 int
55815 main ()
55816 {
55817  expl(0);
55818   ;
55819   return 0;
55820 }
55821 _ACEOF
55822 if ac_fn_cxx_try_compile "$LINENO"; then :
55823   glibcxx_cv_func_expl_use=yes
55824 else
55825   glibcxx_cv_func_expl_use=no
55826 fi
55827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55828       ac_ext=c
55829 ac_cpp='$CPP $CPPFLAGS'
55830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55833
55834
55835 fi
55836
55837   fi
55838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55839 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55840
55841   if test x$glibcxx_cv_func_expl_use = x"yes"; then
55842     for ac_func in expl
55843 do :
55844   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55845 if test "x$ac_cv_func_expl" = x""yes; then :
55846   cat >>confdefs.h <<_ACEOF
55847 #define HAVE_EXPL 1
55848 _ACEOF
55849
55850 fi
55851 done
55852
55853   else
55854
55855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55856 $as_echo_n "checking for _expl declaration... " >&6; }
55857   if test x${glibcxx_cv_func__expl_use+set} != xset; then
55858     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55859   $as_echo_n "(cached) " >&6
55860 else
55861
55862
55863       ac_ext=cpp
55864 ac_cpp='$CXXCPP $CPPFLAGS'
55865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55868
55869       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55870 /* end confdefs.h.  */
55871 #include <math.h>
55872                       #ifdef HAVE_IEEEFP_H
55873                       #include <ieeefp.h>
55874                       #endif
55875
55876 int
55877 main ()
55878 {
55879  _expl(0);
55880   ;
55881   return 0;
55882 }
55883 _ACEOF
55884 if ac_fn_cxx_try_compile "$LINENO"; then :
55885   glibcxx_cv_func__expl_use=yes
55886 else
55887   glibcxx_cv_func__expl_use=no
55888 fi
55889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55890       ac_ext=c
55891 ac_cpp='$CPP $CPPFLAGS'
55892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55895
55896
55897 fi
55898
55899   fi
55900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55901 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55902
55903     if test x$glibcxx_cv_func__expl_use = x"yes"; then
55904       for ac_func in _expl
55905 do :
55906   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55907 if test "x$ac_cv_func__expl" = x""yes; then :
55908   cat >>confdefs.h <<_ACEOF
55909 #define HAVE__EXPL 1
55910 _ACEOF
55911
55912 fi
55913 done
55914
55915     fi
55916   fi
55917
55918
55919
55920
55921
55922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55923 $as_echo_n "checking for fabsl declaration... " >&6; }
55924   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55925     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55926   $as_echo_n "(cached) " >&6
55927 else
55928
55929
55930       ac_ext=cpp
55931 ac_cpp='$CXXCPP $CPPFLAGS'
55932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55935
55936       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55937 /* end confdefs.h.  */
55938 #include <math.h>
55939                       #ifdef HAVE_IEEEFP_H
55940                       #include <ieeefp.h>
55941                       #endif
55942
55943 int
55944 main ()
55945 {
55946  fabsl(0);
55947   ;
55948   return 0;
55949 }
55950 _ACEOF
55951 if ac_fn_cxx_try_compile "$LINENO"; then :
55952   glibcxx_cv_func_fabsl_use=yes
55953 else
55954   glibcxx_cv_func_fabsl_use=no
55955 fi
55956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55957       ac_ext=c
55958 ac_cpp='$CPP $CPPFLAGS'
55959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55962
55963
55964 fi
55965
55966   fi
55967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55968 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55969
55970   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55971     for ac_func in fabsl
55972 do :
55973   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55974 if test "x$ac_cv_func_fabsl" = x""yes; then :
55975   cat >>confdefs.h <<_ACEOF
55976 #define HAVE_FABSL 1
55977 _ACEOF
55978
55979 fi
55980 done
55981
55982   else
55983
55984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55985 $as_echo_n "checking for _fabsl declaration... " >&6; }
55986   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55987     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55988   $as_echo_n "(cached) " >&6
55989 else
55990
55991
55992       ac_ext=cpp
55993 ac_cpp='$CXXCPP $CPPFLAGS'
55994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55997
55998       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55999 /* end confdefs.h.  */
56000 #include <math.h>
56001                       #ifdef HAVE_IEEEFP_H
56002                       #include <ieeefp.h>
56003                       #endif
56004
56005 int
56006 main ()
56007 {
56008  _fabsl(0);
56009   ;
56010   return 0;
56011 }
56012 _ACEOF
56013 if ac_fn_cxx_try_compile "$LINENO"; then :
56014   glibcxx_cv_func__fabsl_use=yes
56015 else
56016   glibcxx_cv_func__fabsl_use=no
56017 fi
56018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56019       ac_ext=c
56020 ac_cpp='$CPP $CPPFLAGS'
56021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56024
56025
56026 fi
56027
56028   fi
56029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56030 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56031
56032     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56033       for ac_func in _fabsl
56034 do :
56035   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56036 if test "x$ac_cv_func__fabsl" = x""yes; then :
56037   cat >>confdefs.h <<_ACEOF
56038 #define HAVE__FABSL 1
56039 _ACEOF
56040
56041 fi
56042 done
56043
56044     fi
56045   fi
56046
56047
56048
56049
56050
56051   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56052 $as_echo_n "checking for fmodl declaration... " >&6; }
56053   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56054     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56055   $as_echo_n "(cached) " >&6
56056 else
56057
56058
56059       ac_ext=cpp
56060 ac_cpp='$CXXCPP $CPPFLAGS'
56061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56064
56065       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56066 /* end confdefs.h.  */
56067 #include <math.h>
56068 int
56069 main ()
56070 {
56071  fmodl(0, 0);
56072   ;
56073   return 0;
56074 }
56075 _ACEOF
56076 if ac_fn_cxx_try_compile "$LINENO"; then :
56077   glibcxx_cv_func_fmodl_use=yes
56078 else
56079   glibcxx_cv_func_fmodl_use=no
56080 fi
56081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56082       ac_ext=c
56083 ac_cpp='$CPP $CPPFLAGS'
56084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56087
56088
56089 fi
56090
56091   fi
56092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56093 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56094
56095   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56096     for ac_func in fmodl
56097 do :
56098   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56099 if test "x$ac_cv_func_fmodl" = x""yes; then :
56100   cat >>confdefs.h <<_ACEOF
56101 #define HAVE_FMODL 1
56102 _ACEOF
56103
56104 fi
56105 done
56106
56107   else
56108
56109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56110 $as_echo_n "checking for _fmodl declaration... " >&6; }
56111   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56112     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56113   $as_echo_n "(cached) " >&6
56114 else
56115
56116
56117       ac_ext=cpp
56118 ac_cpp='$CXXCPP $CPPFLAGS'
56119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56122
56123       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56124 /* end confdefs.h.  */
56125 #include <math.h>
56126 int
56127 main ()
56128 {
56129  _fmodl(0, 0);
56130   ;
56131   return 0;
56132 }
56133 _ACEOF
56134 if ac_fn_cxx_try_compile "$LINENO"; then :
56135   glibcxx_cv_func__fmodl_use=yes
56136 else
56137   glibcxx_cv_func__fmodl_use=no
56138 fi
56139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56140       ac_ext=c
56141 ac_cpp='$CPP $CPPFLAGS'
56142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56145
56146
56147 fi
56148
56149   fi
56150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56151 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56152
56153     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56154       for ac_func in _fmodl
56155 do :
56156   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56157 if test "x$ac_cv_func__fmodl" = x""yes; then :
56158   cat >>confdefs.h <<_ACEOF
56159 #define HAVE__FMODL 1
56160 _ACEOF
56161
56162 fi
56163 done
56164
56165     fi
56166   fi
56167
56168
56169
56170
56171
56172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56173 $as_echo_n "checking for frexpl declaration... " >&6; }
56174   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56175     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56176   $as_echo_n "(cached) " >&6
56177 else
56178
56179
56180       ac_ext=cpp
56181 ac_cpp='$CXXCPP $CPPFLAGS'
56182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56185
56186       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56187 /* end confdefs.h.  */
56188 #include <math.h>
56189 int
56190 main ()
56191 {
56192  frexpl(0, 0);
56193   ;
56194   return 0;
56195 }
56196 _ACEOF
56197 if ac_fn_cxx_try_compile "$LINENO"; then :
56198   glibcxx_cv_func_frexpl_use=yes
56199 else
56200   glibcxx_cv_func_frexpl_use=no
56201 fi
56202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56203       ac_ext=c
56204 ac_cpp='$CPP $CPPFLAGS'
56205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56208
56209
56210 fi
56211
56212   fi
56213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56214 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56215
56216   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56217     for ac_func in frexpl
56218 do :
56219   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56220 if test "x$ac_cv_func_frexpl" = x""yes; then :
56221   cat >>confdefs.h <<_ACEOF
56222 #define HAVE_FREXPL 1
56223 _ACEOF
56224
56225 fi
56226 done
56227
56228   else
56229
56230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56231 $as_echo_n "checking for _frexpl declaration... " >&6; }
56232   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56233     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56234   $as_echo_n "(cached) " >&6
56235 else
56236
56237
56238       ac_ext=cpp
56239 ac_cpp='$CXXCPP $CPPFLAGS'
56240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56243
56244       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56245 /* end confdefs.h.  */
56246 #include <math.h>
56247 int
56248 main ()
56249 {
56250  _frexpl(0, 0);
56251   ;
56252   return 0;
56253 }
56254 _ACEOF
56255 if ac_fn_cxx_try_compile "$LINENO"; then :
56256   glibcxx_cv_func__frexpl_use=yes
56257 else
56258   glibcxx_cv_func__frexpl_use=no
56259 fi
56260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56261       ac_ext=c
56262 ac_cpp='$CPP $CPPFLAGS'
56263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56266
56267
56268 fi
56269
56270   fi
56271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56272 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56273
56274     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56275       for ac_func in _frexpl
56276 do :
56277   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56278 if test "x$ac_cv_func__frexpl" = x""yes; then :
56279   cat >>confdefs.h <<_ACEOF
56280 #define HAVE__FREXPL 1
56281 _ACEOF
56282
56283 fi
56284 done
56285
56286     fi
56287   fi
56288
56289
56290
56291
56292
56293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56294 $as_echo_n "checking for hypotl declaration... " >&6; }
56295   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56296     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56297   $as_echo_n "(cached) " >&6
56298 else
56299
56300
56301       ac_ext=cpp
56302 ac_cpp='$CXXCPP $CPPFLAGS'
56303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56306
56307       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56308 /* end confdefs.h.  */
56309 #include <math.h>
56310 int
56311 main ()
56312 {
56313  hypotl(0, 0);
56314   ;
56315   return 0;
56316 }
56317 _ACEOF
56318 if ac_fn_cxx_try_compile "$LINENO"; then :
56319   glibcxx_cv_func_hypotl_use=yes
56320 else
56321   glibcxx_cv_func_hypotl_use=no
56322 fi
56323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56324       ac_ext=c
56325 ac_cpp='$CPP $CPPFLAGS'
56326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56329
56330
56331 fi
56332
56333   fi
56334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56335 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56336
56337   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56338     for ac_func in hypotl
56339 do :
56340   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56341 if test "x$ac_cv_func_hypotl" = x""yes; then :
56342   cat >>confdefs.h <<_ACEOF
56343 #define HAVE_HYPOTL 1
56344 _ACEOF
56345
56346 fi
56347 done
56348
56349   else
56350
56351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56352 $as_echo_n "checking for _hypotl declaration... " >&6; }
56353   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56354     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56355   $as_echo_n "(cached) " >&6
56356 else
56357
56358
56359       ac_ext=cpp
56360 ac_cpp='$CXXCPP $CPPFLAGS'
56361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56364
56365       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56366 /* end confdefs.h.  */
56367 #include <math.h>
56368 int
56369 main ()
56370 {
56371  _hypotl(0, 0);
56372   ;
56373   return 0;
56374 }
56375 _ACEOF
56376 if ac_fn_cxx_try_compile "$LINENO"; then :
56377   glibcxx_cv_func__hypotl_use=yes
56378 else
56379   glibcxx_cv_func__hypotl_use=no
56380 fi
56381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56382       ac_ext=c
56383 ac_cpp='$CPP $CPPFLAGS'
56384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56387
56388
56389 fi
56390
56391   fi
56392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56393 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56394
56395     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56396       for ac_func in _hypotl
56397 do :
56398   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56399 if test "x$ac_cv_func__hypotl" = x""yes; then :
56400   cat >>confdefs.h <<_ACEOF
56401 #define HAVE__HYPOTL 1
56402 _ACEOF
56403
56404 fi
56405 done
56406
56407     fi
56408   fi
56409
56410
56411
56412
56413
56414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56415 $as_echo_n "checking for ldexpl declaration... " >&6; }
56416   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56417     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56418   $as_echo_n "(cached) " >&6
56419 else
56420
56421
56422       ac_ext=cpp
56423 ac_cpp='$CXXCPP $CPPFLAGS'
56424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56427
56428       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56429 /* end confdefs.h.  */
56430 #include <math.h>
56431 int
56432 main ()
56433 {
56434  ldexpl(0, 0);
56435   ;
56436   return 0;
56437 }
56438 _ACEOF
56439 if ac_fn_cxx_try_compile "$LINENO"; then :
56440   glibcxx_cv_func_ldexpl_use=yes
56441 else
56442   glibcxx_cv_func_ldexpl_use=no
56443 fi
56444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56445       ac_ext=c
56446 ac_cpp='$CPP $CPPFLAGS'
56447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56450
56451
56452 fi
56453
56454   fi
56455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56456 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56457
56458   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56459     for ac_func in ldexpl
56460 do :
56461   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56462 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56463   cat >>confdefs.h <<_ACEOF
56464 #define HAVE_LDEXPL 1
56465 _ACEOF
56466
56467 fi
56468 done
56469
56470   else
56471
56472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56473 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56474   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56475     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56476   $as_echo_n "(cached) " >&6
56477 else
56478
56479
56480       ac_ext=cpp
56481 ac_cpp='$CXXCPP $CPPFLAGS'
56482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56485
56486       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56487 /* end confdefs.h.  */
56488 #include <math.h>
56489 int
56490 main ()
56491 {
56492  _ldexpl(0, 0);
56493   ;
56494   return 0;
56495 }
56496 _ACEOF
56497 if ac_fn_cxx_try_compile "$LINENO"; then :
56498   glibcxx_cv_func__ldexpl_use=yes
56499 else
56500   glibcxx_cv_func__ldexpl_use=no
56501 fi
56502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56503       ac_ext=c
56504 ac_cpp='$CPP $CPPFLAGS'
56505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56508
56509
56510 fi
56511
56512   fi
56513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56514 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56515
56516     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56517       for ac_func in _ldexpl
56518 do :
56519   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56520 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56521   cat >>confdefs.h <<_ACEOF
56522 #define HAVE__LDEXPL 1
56523 _ACEOF
56524
56525 fi
56526 done
56527
56528     fi
56529   fi
56530
56531
56532
56533
56534
56535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56536 $as_echo_n "checking for logl declaration... " >&6; }
56537   if test x${glibcxx_cv_func_logl_use+set} != xset; then
56538     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56539   $as_echo_n "(cached) " >&6
56540 else
56541
56542
56543       ac_ext=cpp
56544 ac_cpp='$CXXCPP $CPPFLAGS'
56545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56548
56549       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56550 /* end confdefs.h.  */
56551 #include <math.h>
56552                       #ifdef HAVE_IEEEFP_H
56553                       #include <ieeefp.h>
56554                       #endif
56555
56556 int
56557 main ()
56558 {
56559  logl(0);
56560   ;
56561   return 0;
56562 }
56563 _ACEOF
56564 if ac_fn_cxx_try_compile "$LINENO"; then :
56565   glibcxx_cv_func_logl_use=yes
56566 else
56567   glibcxx_cv_func_logl_use=no
56568 fi
56569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56570       ac_ext=c
56571 ac_cpp='$CPP $CPPFLAGS'
56572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56575
56576
56577 fi
56578
56579   fi
56580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56581 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56582
56583   if test x$glibcxx_cv_func_logl_use = x"yes"; then
56584     for ac_func in logl
56585 do :
56586   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56587 if test "x$ac_cv_func_logl" = x""yes; then :
56588   cat >>confdefs.h <<_ACEOF
56589 #define HAVE_LOGL 1
56590 _ACEOF
56591
56592 fi
56593 done
56594
56595   else
56596
56597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56598 $as_echo_n "checking for _logl declaration... " >&6; }
56599   if test x${glibcxx_cv_func__logl_use+set} != xset; then
56600     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56601   $as_echo_n "(cached) " >&6
56602 else
56603
56604
56605       ac_ext=cpp
56606 ac_cpp='$CXXCPP $CPPFLAGS'
56607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56610
56611       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56612 /* end confdefs.h.  */
56613 #include <math.h>
56614                       #ifdef HAVE_IEEEFP_H
56615                       #include <ieeefp.h>
56616                       #endif
56617
56618 int
56619 main ()
56620 {
56621  _logl(0);
56622   ;
56623   return 0;
56624 }
56625 _ACEOF
56626 if ac_fn_cxx_try_compile "$LINENO"; then :
56627   glibcxx_cv_func__logl_use=yes
56628 else
56629   glibcxx_cv_func__logl_use=no
56630 fi
56631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56632       ac_ext=c
56633 ac_cpp='$CPP $CPPFLAGS'
56634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56637
56638
56639 fi
56640
56641   fi
56642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56643 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56644
56645     if test x$glibcxx_cv_func__logl_use = x"yes"; then
56646       for ac_func in _logl
56647 do :
56648   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56649 if test "x$ac_cv_func__logl" = x""yes; then :
56650   cat >>confdefs.h <<_ACEOF
56651 #define HAVE__LOGL 1
56652 _ACEOF
56653
56654 fi
56655 done
56656
56657     fi
56658   fi
56659
56660
56661
56662
56663
56664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56665 $as_echo_n "checking for log10l declaration... " >&6; }
56666   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56667     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56668   $as_echo_n "(cached) " >&6
56669 else
56670
56671
56672       ac_ext=cpp
56673 ac_cpp='$CXXCPP $CPPFLAGS'
56674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56677
56678       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56679 /* end confdefs.h.  */
56680 #include <math.h>
56681                       #ifdef HAVE_IEEEFP_H
56682                       #include <ieeefp.h>
56683                       #endif
56684
56685 int
56686 main ()
56687 {
56688  log10l(0);
56689   ;
56690   return 0;
56691 }
56692 _ACEOF
56693 if ac_fn_cxx_try_compile "$LINENO"; then :
56694   glibcxx_cv_func_log10l_use=yes
56695 else
56696   glibcxx_cv_func_log10l_use=no
56697 fi
56698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56699       ac_ext=c
56700 ac_cpp='$CPP $CPPFLAGS'
56701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56704
56705
56706 fi
56707
56708   fi
56709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56710 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56711
56712   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56713     for ac_func in log10l
56714 do :
56715   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56716 if test "x$ac_cv_func_log10l" = x""yes; then :
56717   cat >>confdefs.h <<_ACEOF
56718 #define HAVE_LOG10L 1
56719 _ACEOF
56720
56721 fi
56722 done
56723
56724   else
56725
56726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56727 $as_echo_n "checking for _log10l declaration... " >&6; }
56728   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56729     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56730   $as_echo_n "(cached) " >&6
56731 else
56732
56733
56734       ac_ext=cpp
56735 ac_cpp='$CXXCPP $CPPFLAGS'
56736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56739
56740       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56741 /* end confdefs.h.  */
56742 #include <math.h>
56743                       #ifdef HAVE_IEEEFP_H
56744                       #include <ieeefp.h>
56745                       #endif
56746
56747 int
56748 main ()
56749 {
56750  _log10l(0);
56751   ;
56752   return 0;
56753 }
56754 _ACEOF
56755 if ac_fn_cxx_try_compile "$LINENO"; then :
56756   glibcxx_cv_func__log10l_use=yes
56757 else
56758   glibcxx_cv_func__log10l_use=no
56759 fi
56760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56761       ac_ext=c
56762 ac_cpp='$CPP $CPPFLAGS'
56763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56766
56767
56768 fi
56769
56770   fi
56771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56772 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56773
56774     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56775       for ac_func in _log10l
56776 do :
56777   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56778 if test "x$ac_cv_func__log10l" = x""yes; then :
56779   cat >>confdefs.h <<_ACEOF
56780 #define HAVE__LOG10L 1
56781 _ACEOF
56782
56783 fi
56784 done
56785
56786     fi
56787   fi
56788
56789
56790
56791
56792
56793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56794 $as_echo_n "checking for modfl declaration... " >&6; }
56795   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56796     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56797   $as_echo_n "(cached) " >&6
56798 else
56799
56800
56801       ac_ext=cpp
56802 ac_cpp='$CXXCPP $CPPFLAGS'
56803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56806
56807       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56808 /* end confdefs.h.  */
56809 #include <math.h>
56810 int
56811 main ()
56812 {
56813  modfl(0, 0);
56814   ;
56815   return 0;
56816 }
56817 _ACEOF
56818 if ac_fn_cxx_try_compile "$LINENO"; then :
56819   glibcxx_cv_func_modfl_use=yes
56820 else
56821   glibcxx_cv_func_modfl_use=no
56822 fi
56823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56824       ac_ext=c
56825 ac_cpp='$CPP $CPPFLAGS'
56826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56829
56830
56831 fi
56832
56833   fi
56834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56835 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56836
56837   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56838     for ac_func in modfl
56839 do :
56840   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56841 if test "x$ac_cv_func_modfl" = x""yes; then :
56842   cat >>confdefs.h <<_ACEOF
56843 #define HAVE_MODFL 1
56844 _ACEOF
56845
56846 fi
56847 done
56848
56849   else
56850
56851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56852 $as_echo_n "checking for _modfl declaration... " >&6; }
56853   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56854     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56855   $as_echo_n "(cached) " >&6
56856 else
56857
56858
56859       ac_ext=cpp
56860 ac_cpp='$CXXCPP $CPPFLAGS'
56861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56864
56865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56866 /* end confdefs.h.  */
56867 #include <math.h>
56868 int
56869 main ()
56870 {
56871  _modfl(0, 0);
56872   ;
56873   return 0;
56874 }
56875 _ACEOF
56876 if ac_fn_cxx_try_compile "$LINENO"; then :
56877   glibcxx_cv_func__modfl_use=yes
56878 else
56879   glibcxx_cv_func__modfl_use=no
56880 fi
56881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56882       ac_ext=c
56883 ac_cpp='$CPP $CPPFLAGS'
56884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56887
56888
56889 fi
56890
56891   fi
56892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56893 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56894
56895     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56896       for ac_func in _modfl
56897 do :
56898   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56899 if test "x$ac_cv_func__modfl" = x""yes; then :
56900   cat >>confdefs.h <<_ACEOF
56901 #define HAVE__MODFL 1
56902 _ACEOF
56903
56904 fi
56905 done
56906
56907     fi
56908   fi
56909
56910
56911
56912
56913
56914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56915 $as_echo_n "checking for powl declaration... " >&6; }
56916   if test x${glibcxx_cv_func_powl_use+set} != xset; then
56917     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56918   $as_echo_n "(cached) " >&6
56919 else
56920
56921
56922       ac_ext=cpp
56923 ac_cpp='$CXXCPP $CPPFLAGS'
56924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56927
56928       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56929 /* end confdefs.h.  */
56930 #include <math.h>
56931 int
56932 main ()
56933 {
56934  powl(0, 0);
56935   ;
56936   return 0;
56937 }
56938 _ACEOF
56939 if ac_fn_cxx_try_compile "$LINENO"; then :
56940   glibcxx_cv_func_powl_use=yes
56941 else
56942   glibcxx_cv_func_powl_use=no
56943 fi
56944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56945       ac_ext=c
56946 ac_cpp='$CPP $CPPFLAGS'
56947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56950
56951
56952 fi
56953
56954   fi
56955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56956 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56957
56958   if test x$glibcxx_cv_func_powl_use = x"yes"; then
56959     for ac_func in powl
56960 do :
56961   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56962 if test "x$ac_cv_func_powl" = x""yes; then :
56963   cat >>confdefs.h <<_ACEOF
56964 #define HAVE_POWL 1
56965 _ACEOF
56966
56967 fi
56968 done
56969
56970   else
56971
56972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56973 $as_echo_n "checking for _powl declaration... " >&6; }
56974   if test x${glibcxx_cv_func__powl_use+set} != xset; then
56975     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56976   $as_echo_n "(cached) " >&6
56977 else
56978
56979
56980       ac_ext=cpp
56981 ac_cpp='$CXXCPP $CPPFLAGS'
56982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56985
56986       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56987 /* end confdefs.h.  */
56988 #include <math.h>
56989 int
56990 main ()
56991 {
56992  _powl(0, 0);
56993   ;
56994   return 0;
56995 }
56996 _ACEOF
56997 if ac_fn_cxx_try_compile "$LINENO"; then :
56998   glibcxx_cv_func__powl_use=yes
56999 else
57000   glibcxx_cv_func__powl_use=no
57001 fi
57002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57003       ac_ext=c
57004 ac_cpp='$CPP $CPPFLAGS'
57005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57008
57009
57010 fi
57011
57012   fi
57013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57014 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57015
57016     if test x$glibcxx_cv_func__powl_use = x"yes"; then
57017       for ac_func in _powl
57018 do :
57019   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57020 if test "x$ac_cv_func__powl" = x""yes; then :
57021   cat >>confdefs.h <<_ACEOF
57022 #define HAVE__POWL 1
57023 _ACEOF
57024
57025 fi
57026 done
57027
57028     fi
57029   fi
57030
57031
57032
57033
57034
57035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57036 $as_echo_n "checking for sqrtl declaration... " >&6; }
57037   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57038     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57039   $as_echo_n "(cached) " >&6
57040 else
57041
57042
57043       ac_ext=cpp
57044 ac_cpp='$CXXCPP $CPPFLAGS'
57045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57048
57049       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57050 /* end confdefs.h.  */
57051 #include <math.h>
57052                       #ifdef HAVE_IEEEFP_H
57053                       #include <ieeefp.h>
57054                       #endif
57055
57056 int
57057 main ()
57058 {
57059  sqrtl(0);
57060   ;
57061   return 0;
57062 }
57063 _ACEOF
57064 if ac_fn_cxx_try_compile "$LINENO"; then :
57065   glibcxx_cv_func_sqrtl_use=yes
57066 else
57067   glibcxx_cv_func_sqrtl_use=no
57068 fi
57069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57070       ac_ext=c
57071 ac_cpp='$CPP $CPPFLAGS'
57072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57075
57076
57077 fi
57078
57079   fi
57080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57081 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57082
57083   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57084     for ac_func in sqrtl
57085 do :
57086   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57087 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57088   cat >>confdefs.h <<_ACEOF
57089 #define HAVE_SQRTL 1
57090 _ACEOF
57091
57092 fi
57093 done
57094
57095   else
57096
57097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57098 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57099   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57100     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57101   $as_echo_n "(cached) " >&6
57102 else
57103
57104
57105       ac_ext=cpp
57106 ac_cpp='$CXXCPP $CPPFLAGS'
57107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57110
57111       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57112 /* end confdefs.h.  */
57113 #include <math.h>
57114                       #ifdef HAVE_IEEEFP_H
57115                       #include <ieeefp.h>
57116                       #endif
57117
57118 int
57119 main ()
57120 {
57121  _sqrtl(0);
57122   ;
57123   return 0;
57124 }
57125 _ACEOF
57126 if ac_fn_cxx_try_compile "$LINENO"; then :
57127   glibcxx_cv_func__sqrtl_use=yes
57128 else
57129   glibcxx_cv_func__sqrtl_use=no
57130 fi
57131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57132       ac_ext=c
57133 ac_cpp='$CPP $CPPFLAGS'
57134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57137
57138
57139 fi
57140
57141   fi
57142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57143 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57144
57145     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57146       for ac_func in _sqrtl
57147 do :
57148   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57149 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57150   cat >>confdefs.h <<_ACEOF
57151 #define HAVE__SQRTL 1
57152 _ACEOF
57153
57154 fi
57155 done
57156
57157     fi
57158   fi
57159
57160
57161
57162
57163
57164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57165 $as_echo_n "checking for sincosl declaration... " >&6; }
57166   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57167     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57168   $as_echo_n "(cached) " >&6
57169 else
57170
57171
57172       ac_ext=cpp
57173 ac_cpp='$CXXCPP $CPPFLAGS'
57174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57177
57178       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57179 /* end confdefs.h.  */
57180 #include <math.h>
57181 int
57182 main ()
57183 {
57184  sincosl(0, 0, 0);
57185   ;
57186   return 0;
57187 }
57188 _ACEOF
57189 if ac_fn_cxx_try_compile "$LINENO"; then :
57190   glibcxx_cv_func_sincosl_use=yes
57191 else
57192   glibcxx_cv_func_sincosl_use=no
57193 fi
57194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57195       ac_ext=c
57196 ac_cpp='$CPP $CPPFLAGS'
57197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57200
57201
57202 fi
57203
57204   fi
57205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57206 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57207
57208   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57209     for ac_func in sincosl
57210 do :
57211   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57212 if test "x$ac_cv_func_sincosl" = x""yes; then :
57213   cat >>confdefs.h <<_ACEOF
57214 #define HAVE_SINCOSL 1
57215 _ACEOF
57216
57217 fi
57218 done
57219
57220   else
57221
57222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57223 $as_echo_n "checking for _sincosl declaration... " >&6; }
57224   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57225     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57226   $as_echo_n "(cached) " >&6
57227 else
57228
57229
57230       ac_ext=cpp
57231 ac_cpp='$CXXCPP $CPPFLAGS'
57232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57235
57236       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57237 /* end confdefs.h.  */
57238 #include <math.h>
57239 int
57240 main ()
57241 {
57242  _sincosl(0, 0, 0);
57243   ;
57244   return 0;
57245 }
57246 _ACEOF
57247 if ac_fn_cxx_try_compile "$LINENO"; then :
57248   glibcxx_cv_func__sincosl_use=yes
57249 else
57250   glibcxx_cv_func__sincosl_use=no
57251 fi
57252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57253       ac_ext=c
57254 ac_cpp='$CPP $CPPFLAGS'
57255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57258
57259
57260 fi
57261
57262   fi
57263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57264 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57265
57266     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57267       for ac_func in _sincosl
57268 do :
57269   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57270 if test "x$ac_cv_func__sincosl" = x""yes; then :
57271   cat >>confdefs.h <<_ACEOF
57272 #define HAVE__SINCOSL 1
57273 _ACEOF
57274
57275 fi
57276 done
57277
57278     fi
57279   fi
57280
57281
57282
57283
57284
57285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57286 $as_echo_n "checking for finitel declaration... " >&6; }
57287   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57288     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57289   $as_echo_n "(cached) " >&6
57290 else
57291
57292
57293       ac_ext=cpp
57294 ac_cpp='$CXXCPP $CPPFLAGS'
57295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57298
57299       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57300 /* end confdefs.h.  */
57301 #include <math.h>
57302                       #ifdef HAVE_IEEEFP_H
57303                       #include <ieeefp.h>
57304                       #endif
57305
57306 int
57307 main ()
57308 {
57309  finitel(0);
57310   ;
57311   return 0;
57312 }
57313 _ACEOF
57314 if ac_fn_cxx_try_compile "$LINENO"; then :
57315   glibcxx_cv_func_finitel_use=yes
57316 else
57317   glibcxx_cv_func_finitel_use=no
57318 fi
57319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57320       ac_ext=c
57321 ac_cpp='$CPP $CPPFLAGS'
57322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57325
57326
57327 fi
57328
57329   fi
57330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57331 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57332
57333   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57334     for ac_func in finitel
57335 do :
57336   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57337 if test "x$ac_cv_func_finitel" = x""yes; then :
57338   cat >>confdefs.h <<_ACEOF
57339 #define HAVE_FINITEL 1
57340 _ACEOF
57341
57342 fi
57343 done
57344
57345   else
57346
57347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57348 $as_echo_n "checking for _finitel declaration... " >&6; }
57349   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57350     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57351   $as_echo_n "(cached) " >&6
57352 else
57353
57354
57355       ac_ext=cpp
57356 ac_cpp='$CXXCPP $CPPFLAGS'
57357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57360
57361       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57362 /* end confdefs.h.  */
57363 #include <math.h>
57364                       #ifdef HAVE_IEEEFP_H
57365                       #include <ieeefp.h>
57366                       #endif
57367
57368 int
57369 main ()
57370 {
57371  _finitel(0);
57372   ;
57373   return 0;
57374 }
57375 _ACEOF
57376 if ac_fn_cxx_try_compile "$LINENO"; then :
57377   glibcxx_cv_func__finitel_use=yes
57378 else
57379   glibcxx_cv_func__finitel_use=no
57380 fi
57381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57382       ac_ext=c
57383 ac_cpp='$CPP $CPPFLAGS'
57384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57387
57388
57389 fi
57390
57391   fi
57392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57393 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57394
57395     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57396       for ac_func in _finitel
57397 do :
57398   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57399 if test "x$ac_cv_func__finitel" = x""yes; then :
57400   cat >>confdefs.h <<_ACEOF
57401 #define HAVE__FINITEL 1
57402 _ACEOF
57403
57404 fi
57405 done
57406
57407     fi
57408   fi
57409
57410
57411
57412
57413   LIBS="$ac_save_LIBS"
57414   CXXFLAGS="$ac_save_CXXFLAGS"
57415
57416
57417   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57418   ac_save_CXXFLAGS="$CXXFLAGS"
57419   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57420
57421
57422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57423 $as_echo_n "checking for strtold declaration... " >&6; }
57424   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57425     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57426   $as_echo_n "(cached) " >&6
57427 else
57428
57429
57430       ac_ext=cpp
57431 ac_cpp='$CXXCPP $CPPFLAGS'
57432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57435
57436       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57437 /* end confdefs.h.  */
57438 #include <stdlib.h>
57439 int
57440 main ()
57441 {
57442  strtold(0, 0);
57443   ;
57444   return 0;
57445 }
57446 _ACEOF
57447 if ac_fn_cxx_try_compile "$LINENO"; then :
57448   glibcxx_cv_func_strtold_use=yes
57449 else
57450   glibcxx_cv_func_strtold_use=no
57451 fi
57452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57453       ac_ext=c
57454 ac_cpp='$CPP $CPPFLAGS'
57455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57458
57459
57460 fi
57461
57462   fi
57463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57464 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57465   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57466     for ac_func in strtold
57467 do :
57468   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57469 if test "x$ac_cv_func_strtold" = x""yes; then :
57470   cat >>confdefs.h <<_ACEOF
57471 #define HAVE_STRTOLD 1
57472 _ACEOF
57473
57474 fi
57475 done
57476
57477   fi
57478
57479
57480
57481
57482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57483 $as_echo_n "checking for strtof declaration... " >&6; }
57484   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57485     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57486   $as_echo_n "(cached) " >&6
57487 else
57488
57489
57490       ac_ext=cpp
57491 ac_cpp='$CXXCPP $CPPFLAGS'
57492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57495
57496       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57497 /* end confdefs.h.  */
57498 #include <stdlib.h>
57499 int
57500 main ()
57501 {
57502  strtof(0, 0);
57503   ;
57504   return 0;
57505 }
57506 _ACEOF
57507 if ac_fn_cxx_try_compile "$LINENO"; then :
57508   glibcxx_cv_func_strtof_use=yes
57509 else
57510   glibcxx_cv_func_strtof_use=no
57511 fi
57512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57513       ac_ext=c
57514 ac_cpp='$CPP $CPPFLAGS'
57515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57518
57519
57520 fi
57521
57522   fi
57523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57524 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57525   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57526     for ac_func in strtof
57527 do :
57528   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57529 if test "x$ac_cv_func_strtof" = x""yes; then :
57530   cat >>confdefs.h <<_ACEOF
57531 #define HAVE_STRTOF 1
57532 _ACEOF
57533
57534 fi
57535 done
57536
57537   fi
57538
57539
57540
57541
57542   CXXFLAGS="$ac_save_CXXFLAGS"
57543
57544     ;;
57545   *-netbsd*)
57546     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57547
57548
57549   # If we're not using GNU ld, then there's no point in even trying these
57550   # tests.  Check for that first.  We should have already tested for gld
57551   # by now (in libtool), but require it now just to be safe...
57552   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57553   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57554
57555
57556
57557   # The name set by libtool depends on the version of libtool.  Shame on us
57558   # for depending on an impl detail, but c'est la vie.  Older versions used
57559   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57560   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57561   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57562   # set (hence we're using an older libtool), then set it.
57563   if test x${with_gnu_ld+set} != xset; then
57564     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57565       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57566       with_gnu_ld=no
57567     else
57568       with_gnu_ld=$ac_cv_prog_gnu_ld
57569     fi
57570   fi
57571
57572   # Start by getting the version number.  I think the libtool test already
57573   # does some of this, but throws away the result.
57574   glibcxx_ld_is_gold=no
57575   if test x"$with_gnu_ld" = x"yes"; then
57576     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57577 $as_echo_n "checking for ld version... " >&6; }
57578
57579     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57580       glibcxx_ld_is_gold=yes
57581     fi
57582     ldver=`$LD --version 2>/dev/null |
57583            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'`
57584
57585     glibcxx_gnu_ld_version=`echo $ldver | \
57586            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57587     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57588 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57589   fi
57590
57591   # Set --gc-sections.
57592   glibcxx_have_gc_sections=no
57593   if test "$glibcxx_ld_is_gold" = "yes"; then
57594     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57595       glibcxx_have_gc_sections=yes
57596     fi
57597   else
57598     glibcxx_gcsections_min_ld=21602
57599     if test x"$with_gnu_ld" = x"yes" &&
57600         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57601       glibcxx_have_gc_sections=yes
57602     fi
57603   fi
57604   if test "$glibcxx_have_gc_sections" = "yes"; then
57605     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57606     # NB: This flag only works reliably after 2.16.1. Configure tests
57607     # for this are difficult, so hard wire a value that should work.
57608
57609     ac_test_CFLAGS="${CFLAGS+set}"
57610     ac_save_CFLAGS="$CFLAGS"
57611     CFLAGS='-Wl,--gc-sections'
57612
57613     # Check for -Wl,--gc-sections
57614     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57615 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57616     if test x$gcc_no_link = xyes; then
57617   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57618 fi
57619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57620 /* end confdefs.h.  */
57621  int one(void) { return 1; }
57622      int two(void) { return 2; }
57623
57624 int
57625 main ()
57626 {
57627  two();
57628   ;
57629   return 0;
57630 }
57631 _ACEOF
57632 if ac_fn_c_try_link "$LINENO"; then :
57633   ac_gcsections=yes
57634 else
57635   ac_gcsections=no
57636 fi
57637 rm -f core conftest.err conftest.$ac_objext \
57638     conftest$ac_exeext conftest.$ac_ext
57639     if test "$ac_gcsections" = "yes"; then
57640       rm -f conftest.c
57641       touch conftest.c
57642       if $CC -c conftest.c; then
57643         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57644            grep "Warning: gc-sections option ignored" > /dev/null; then
57645           ac_gcsections=no
57646         fi
57647       fi
57648       rm -f conftest.c conftest.o conftest
57649     fi
57650     if test "$ac_gcsections" = "yes"; then
57651       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57652     fi
57653     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57654 $as_echo "$ac_gcsections" >&6; }
57655
57656     if test "$ac_test_CFLAGS" = set; then
57657       CFLAGS="$ac_save_CFLAGS"
57658     else
57659       # this is the suspicious part
57660       CFLAGS=''
57661     fi
57662   fi
57663
57664   # Set -z,relro.
57665   # Note this is only for shared objects.
57666   ac_ld_relro=no
57667   if test x"$with_gnu_ld" = x"yes"; then
57668     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57669 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57670     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57671     if test -n "$cxx_z_relo"; then
57672       OPT_LDFLAGS="-Wl,-z,relro"
57673       ac_ld_relro=yes
57674     fi
57675     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57676 $as_echo "$ac_ld_relro" >&6; }
57677   fi
57678
57679   # Set linker optimization flags.
57680   if test x"$with_gnu_ld" = x"yes"; then
57681     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57682   fi
57683
57684
57685
57686
57687     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57688
57689     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57690
57691     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57692
57693     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57694
57695     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57696
57697     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57698
57699     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57700
57701     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57702
57703     if test x"long_double_math_on_this_cpu" = x"yes"; then
57704       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57705
57706       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57707
57708       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57709
57710     fi
57711     ;;
57712   *-qnx6.1* | *-qnx6.2*)
57713     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57714
57715
57716   # If we're not using GNU ld, then there's no point in even trying these
57717   # tests.  Check for that first.  We should have already tested for gld
57718   # by now (in libtool), but require it now just to be safe...
57719   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57720   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57721
57722
57723
57724   # The name set by libtool depends on the version of libtool.  Shame on us
57725   # for depending on an impl detail, but c'est la vie.  Older versions used
57726   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57727   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57728   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57729   # set (hence we're using an older libtool), then set it.
57730   if test x${with_gnu_ld+set} != xset; then
57731     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57732       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57733       with_gnu_ld=no
57734     else
57735       with_gnu_ld=$ac_cv_prog_gnu_ld
57736     fi
57737   fi
57738
57739   # Start by getting the version number.  I think the libtool test already
57740   # does some of this, but throws away the result.
57741   glibcxx_ld_is_gold=no
57742   if test x"$with_gnu_ld" = x"yes"; then
57743     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57744 $as_echo_n "checking for ld version... " >&6; }
57745
57746     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57747       glibcxx_ld_is_gold=yes
57748     fi
57749     ldver=`$LD --version 2>/dev/null |
57750            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'`
57751
57752     glibcxx_gnu_ld_version=`echo $ldver | \
57753            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57754     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57755 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57756   fi
57757
57758   # Set --gc-sections.
57759   glibcxx_have_gc_sections=no
57760   if test "$glibcxx_ld_is_gold" = "yes"; then
57761     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57762       glibcxx_have_gc_sections=yes
57763     fi
57764   else
57765     glibcxx_gcsections_min_ld=21602
57766     if test x"$with_gnu_ld" = x"yes" &&
57767         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57768       glibcxx_have_gc_sections=yes
57769     fi
57770   fi
57771   if test "$glibcxx_have_gc_sections" = "yes"; then
57772     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57773     # NB: This flag only works reliably after 2.16.1. Configure tests
57774     # for this are difficult, so hard wire a value that should work.
57775
57776     ac_test_CFLAGS="${CFLAGS+set}"
57777     ac_save_CFLAGS="$CFLAGS"
57778     CFLAGS='-Wl,--gc-sections'
57779
57780     # Check for -Wl,--gc-sections
57781     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57782 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57783     if test x$gcc_no_link = xyes; then
57784   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57785 fi
57786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57787 /* end confdefs.h.  */
57788  int one(void) { return 1; }
57789      int two(void) { return 2; }
57790
57791 int
57792 main ()
57793 {
57794  two();
57795   ;
57796   return 0;
57797 }
57798 _ACEOF
57799 if ac_fn_c_try_link "$LINENO"; then :
57800   ac_gcsections=yes
57801 else
57802   ac_gcsections=no
57803 fi
57804 rm -f core conftest.err conftest.$ac_objext \
57805     conftest$ac_exeext conftest.$ac_ext
57806     if test "$ac_gcsections" = "yes"; then
57807       rm -f conftest.c
57808       touch conftest.c
57809       if $CC -c conftest.c; then
57810         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57811            grep "Warning: gc-sections option ignored" > /dev/null; then
57812           ac_gcsections=no
57813         fi
57814       fi
57815       rm -f conftest.c conftest.o conftest
57816     fi
57817     if test "$ac_gcsections" = "yes"; then
57818       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57819     fi
57820     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57821 $as_echo "$ac_gcsections" >&6; }
57822
57823     if test "$ac_test_CFLAGS" = set; then
57824       CFLAGS="$ac_save_CFLAGS"
57825     else
57826       # this is the suspicious part
57827       CFLAGS=''
57828     fi
57829   fi
57830
57831   # Set -z,relro.
57832   # Note this is only for shared objects.
57833   ac_ld_relro=no
57834   if test x"$with_gnu_ld" = x"yes"; then
57835     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57836 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57837     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57838     if test -n "$cxx_z_relo"; then
57839       OPT_LDFLAGS="-Wl,-z,relro"
57840       ac_ld_relro=yes
57841     fi
57842     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57843 $as_echo "$ac_ld_relro" >&6; }
57844   fi
57845
57846   # Set linker optimization flags.
57847   if test x"$with_gnu_ld" = x"yes"; then
57848     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57849   fi
57850
57851
57852
57853
57854     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57855
57856     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57857
57858     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57859
57860     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57861
57862     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57863
57864     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57865
57866     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57867
57868     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57869
57870     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57871
57872     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57873
57874     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57875
57876     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57877
57878     ;;
57879   *-rtems*)
57880
57881   # All these tests are for C++; save the language and the compiler flags.
57882   # The CXXFLAGS thing is suspicious, but based on similar bits previously
57883   # found in GLIBCXX_CONFIGURE.
57884
57885   ac_ext=cpp
57886 ac_cpp='$CXXCPP $CPPFLAGS'
57887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57890
57891   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57892   ac_save_CXXFLAGS="$CXXFLAGS"
57893
57894   # Check for maintainer-mode bits.
57895   if test x"$USE_MAINTAINER_MODE" = xno; then
57896     WERROR=''
57897   else
57898     WERROR='-Werror'
57899   fi
57900
57901   # Check for -ffunction-sections -fdata-sections
57902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57903 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57904   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57906 /* end confdefs.h.  */
57907 int foo; void bar() { };
57908 int
57909 main ()
57910 {
57911
57912   ;
57913   return 0;
57914 }
57915 _ACEOF
57916 if ac_fn_cxx_try_compile "$LINENO"; then :
57917   ac_fdsections=yes
57918 else
57919   ac_fdsections=no
57920 fi
57921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57922   if test "$ac_test_CXXFLAGS" = set; then
57923     CXXFLAGS="$ac_save_CXXFLAGS"
57924   else
57925     # this is the suspicious part
57926     CXXFLAGS=''
57927   fi
57928   if test x"$ac_fdsections" = x"yes"; then
57929     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57930   fi
57931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57932 $as_echo "$ac_fdsections" >&6; }
57933
57934   ac_ext=c
57935 ac_cpp='$CPP $CPPFLAGS'
57936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57939
57940
57941
57942
57943
57944   # If we're not using GNU ld, then there's no point in even trying these
57945   # tests.  Check for that first.  We should have already tested for gld
57946   # by now (in libtool), but require it now just to be safe...
57947   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57948   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57949
57950
57951
57952   # The name set by libtool depends on the version of libtool.  Shame on us
57953   # for depending on an impl detail, but c'est la vie.  Older versions used
57954   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57955   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57956   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57957   # set (hence we're using an older libtool), then set it.
57958   if test x${with_gnu_ld+set} != xset; then
57959     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57960       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57961       with_gnu_ld=no
57962     else
57963       with_gnu_ld=$ac_cv_prog_gnu_ld
57964     fi
57965   fi
57966
57967   # Start by getting the version number.  I think the libtool test already
57968   # does some of this, but throws away the result.
57969   glibcxx_ld_is_gold=no
57970   if test x"$with_gnu_ld" = x"yes"; then
57971     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57972 $as_echo_n "checking for ld version... " >&6; }
57973
57974     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57975       glibcxx_ld_is_gold=yes
57976     fi
57977     ldver=`$LD --version 2>/dev/null |
57978            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'`
57979
57980     glibcxx_gnu_ld_version=`echo $ldver | \
57981            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57982     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57983 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57984   fi
57985
57986   # Set --gc-sections.
57987   glibcxx_have_gc_sections=no
57988   if test "$glibcxx_ld_is_gold" = "yes"; then
57989     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57990       glibcxx_have_gc_sections=yes
57991     fi
57992   else
57993     glibcxx_gcsections_min_ld=21602
57994     if test x"$with_gnu_ld" = x"yes" &&
57995         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57996       glibcxx_have_gc_sections=yes
57997     fi
57998   fi
57999   if test "$glibcxx_have_gc_sections" = "yes"; then
58000     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
58001     # NB: This flag only works reliably after 2.16.1. Configure tests
58002     # for this are difficult, so hard wire a value that should work.
58003
58004     ac_test_CFLAGS="${CFLAGS+set}"
58005     ac_save_CFLAGS="$CFLAGS"
58006     CFLAGS='-Wl,--gc-sections'
58007
58008     # Check for -Wl,--gc-sections
58009     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58010 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58011     if test x$gcc_no_link = xyes; then
58012   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58013 fi
58014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58015 /* end confdefs.h.  */
58016  int one(void) { return 1; }
58017      int two(void) { return 2; }
58018
58019 int
58020 main ()
58021 {
58022  two();
58023   ;
58024   return 0;
58025 }
58026 _ACEOF
58027 if ac_fn_c_try_link "$LINENO"; then :
58028   ac_gcsections=yes
58029 else
58030   ac_gcsections=no
58031 fi
58032 rm -f core conftest.err conftest.$ac_objext \
58033     conftest$ac_exeext conftest.$ac_ext
58034     if test "$ac_gcsections" = "yes"; then
58035       rm -f conftest.c
58036       touch conftest.c
58037       if $CC -c conftest.c; then
58038         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58039            grep "Warning: gc-sections option ignored" > /dev/null; then
58040           ac_gcsections=no
58041         fi
58042       fi
58043       rm -f conftest.c conftest.o conftest
58044     fi
58045     if test "$ac_gcsections" = "yes"; then
58046       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58047     fi
58048     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58049 $as_echo "$ac_gcsections" >&6; }
58050
58051     if test "$ac_test_CFLAGS" = set; then
58052       CFLAGS="$ac_save_CFLAGS"
58053     else
58054       # this is the suspicious part
58055       CFLAGS=''
58056     fi
58057   fi
58058
58059   # Set -z,relro.
58060   # Note this is only for shared objects.
58061   ac_ld_relro=no
58062   if test x"$with_gnu_ld" = x"yes"; then
58063     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58064 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58065     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58066     if test -n "$cxx_z_relo"; then
58067       OPT_LDFLAGS="-Wl,-z,relro"
58068       ac_ld_relro=yes
58069     fi
58070     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58071 $as_echo "$ac_ld_relro" >&6; }
58072   fi
58073
58074   # Set linker optimization flags.
58075   if test x"$with_gnu_ld" = x"yes"; then
58076     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58077   fi
58078
58079
58080
58081
58082
58083   ac_test_CXXFLAGS="${CXXFLAGS+set}"
58084   ac_save_CXXFLAGS="$CXXFLAGS"
58085   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58086
58087     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58088 $as_echo_n "checking for sin in -lm... " >&6; }
58089 if test "${ac_cv_lib_m_sin+set}" = set; then :
58090   $as_echo_n "(cached) " >&6
58091 else
58092   ac_check_lib_save_LIBS=$LIBS
58093 LIBS="-lm  $LIBS"
58094 if test x$gcc_no_link = xyes; then
58095   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58096 fi
58097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58098 /* end confdefs.h.  */
58099
58100 /* Override any GCC internal prototype to avoid an error.
58101    Use char because int might match the return type of a GCC
58102    builtin and then its argument prototype would still apply.  */
58103 #ifdef __cplusplus
58104 extern "C"
58105 #endif
58106 char sin ();
58107 int
58108 main ()
58109 {
58110 return sin ();
58111   ;
58112   return 0;
58113 }
58114 _ACEOF
58115 if ac_fn_c_try_link "$LINENO"; then :
58116   ac_cv_lib_m_sin=yes
58117 else
58118   ac_cv_lib_m_sin=no
58119 fi
58120 rm -f core conftest.err conftest.$ac_objext \
58121     conftest$ac_exeext conftest.$ac_ext
58122 LIBS=$ac_check_lib_save_LIBS
58123 fi
58124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58125 $as_echo "$ac_cv_lib_m_sin" >&6; }
58126 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58127   libm="-lm"
58128 fi
58129
58130   ac_save_LIBS="$LIBS"
58131   LIBS="$LIBS $libm"
58132
58133
58134
58135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58136 $as_echo_n "checking for isinf declaration... " >&6; }
58137   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58138     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58139   $as_echo_n "(cached) " >&6
58140 else
58141
58142
58143       ac_ext=cpp
58144 ac_cpp='$CXXCPP $CPPFLAGS'
58145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58148
58149       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58150 /* end confdefs.h.  */
58151 #include <math.h>
58152                       #ifdef HAVE_IEEEFP_H
58153                       #include <ieeefp.h>
58154                       #endif
58155
58156 int
58157 main ()
58158 {
58159  isinf(0);
58160   ;
58161   return 0;
58162 }
58163 _ACEOF
58164 if ac_fn_cxx_try_compile "$LINENO"; then :
58165   glibcxx_cv_func_isinf_use=yes
58166 else
58167   glibcxx_cv_func_isinf_use=no
58168 fi
58169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58170       ac_ext=c
58171 ac_cpp='$CPP $CPPFLAGS'
58172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58175
58176
58177 fi
58178
58179   fi
58180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58181 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58182
58183   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58184     for ac_func in isinf
58185 do :
58186   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58187 if test "x$ac_cv_func_isinf" = x""yes; then :
58188   cat >>confdefs.h <<_ACEOF
58189 #define HAVE_ISINF 1
58190 _ACEOF
58191
58192 fi
58193 done
58194
58195   else
58196
58197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58198 $as_echo_n "checking for _isinf declaration... " >&6; }
58199   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58200     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58201   $as_echo_n "(cached) " >&6
58202 else
58203
58204
58205       ac_ext=cpp
58206 ac_cpp='$CXXCPP $CPPFLAGS'
58207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58210
58211       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58212 /* end confdefs.h.  */
58213 #include <math.h>
58214                       #ifdef HAVE_IEEEFP_H
58215                       #include <ieeefp.h>
58216                       #endif
58217
58218 int
58219 main ()
58220 {
58221  _isinf(0);
58222   ;
58223   return 0;
58224 }
58225 _ACEOF
58226 if ac_fn_cxx_try_compile "$LINENO"; then :
58227   glibcxx_cv_func__isinf_use=yes
58228 else
58229   glibcxx_cv_func__isinf_use=no
58230 fi
58231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58232       ac_ext=c
58233 ac_cpp='$CPP $CPPFLAGS'
58234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58237
58238
58239 fi
58240
58241   fi
58242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58243 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58244
58245     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58246       for ac_func in _isinf
58247 do :
58248   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58249 if test "x$ac_cv_func__isinf" = x""yes; then :
58250   cat >>confdefs.h <<_ACEOF
58251 #define HAVE__ISINF 1
58252 _ACEOF
58253
58254 fi
58255 done
58256
58257     fi
58258   fi
58259
58260
58261
58262
58263
58264   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58265 $as_echo_n "checking for isnan declaration... " >&6; }
58266   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58267     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58268   $as_echo_n "(cached) " >&6
58269 else
58270
58271
58272       ac_ext=cpp
58273 ac_cpp='$CXXCPP $CPPFLAGS'
58274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58277
58278       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58279 /* end confdefs.h.  */
58280 #include <math.h>
58281                       #ifdef HAVE_IEEEFP_H
58282                       #include <ieeefp.h>
58283                       #endif
58284
58285 int
58286 main ()
58287 {
58288  isnan(0);
58289   ;
58290   return 0;
58291 }
58292 _ACEOF
58293 if ac_fn_cxx_try_compile "$LINENO"; then :
58294   glibcxx_cv_func_isnan_use=yes
58295 else
58296   glibcxx_cv_func_isnan_use=no
58297 fi
58298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58299       ac_ext=c
58300 ac_cpp='$CPP $CPPFLAGS'
58301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58304
58305
58306 fi
58307
58308   fi
58309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58310 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58311
58312   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58313     for ac_func in isnan
58314 do :
58315   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58316 if test "x$ac_cv_func_isnan" = x""yes; then :
58317   cat >>confdefs.h <<_ACEOF
58318 #define HAVE_ISNAN 1
58319 _ACEOF
58320
58321 fi
58322 done
58323
58324   else
58325
58326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58327 $as_echo_n "checking for _isnan declaration... " >&6; }
58328   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58329     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58330   $as_echo_n "(cached) " >&6
58331 else
58332
58333
58334       ac_ext=cpp
58335 ac_cpp='$CXXCPP $CPPFLAGS'
58336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58339
58340       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58341 /* end confdefs.h.  */
58342 #include <math.h>
58343                       #ifdef HAVE_IEEEFP_H
58344                       #include <ieeefp.h>
58345                       #endif
58346
58347 int
58348 main ()
58349 {
58350  _isnan(0);
58351   ;
58352   return 0;
58353 }
58354 _ACEOF
58355 if ac_fn_cxx_try_compile "$LINENO"; then :
58356   glibcxx_cv_func__isnan_use=yes
58357 else
58358   glibcxx_cv_func__isnan_use=no
58359 fi
58360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58361       ac_ext=c
58362 ac_cpp='$CPP $CPPFLAGS'
58363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58366
58367
58368 fi
58369
58370   fi
58371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58372 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58373
58374     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58375       for ac_func in _isnan
58376 do :
58377   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58378 if test "x$ac_cv_func__isnan" = x""yes; then :
58379   cat >>confdefs.h <<_ACEOF
58380 #define HAVE__ISNAN 1
58381 _ACEOF
58382
58383 fi
58384 done
58385
58386     fi
58387   fi
58388
58389
58390
58391
58392
58393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58394 $as_echo_n "checking for finite declaration... " >&6; }
58395   if test x${glibcxx_cv_func_finite_use+set} != xset; then
58396     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58397   $as_echo_n "(cached) " >&6
58398 else
58399
58400
58401       ac_ext=cpp
58402 ac_cpp='$CXXCPP $CPPFLAGS'
58403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58406
58407       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58408 /* end confdefs.h.  */
58409 #include <math.h>
58410                       #ifdef HAVE_IEEEFP_H
58411                       #include <ieeefp.h>
58412                       #endif
58413
58414 int
58415 main ()
58416 {
58417  finite(0);
58418   ;
58419   return 0;
58420 }
58421 _ACEOF
58422 if ac_fn_cxx_try_compile "$LINENO"; then :
58423   glibcxx_cv_func_finite_use=yes
58424 else
58425   glibcxx_cv_func_finite_use=no
58426 fi
58427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58428       ac_ext=c
58429 ac_cpp='$CPP $CPPFLAGS'
58430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58433
58434
58435 fi
58436
58437   fi
58438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58439 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58440
58441   if test x$glibcxx_cv_func_finite_use = x"yes"; then
58442     for ac_func in finite
58443 do :
58444   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58445 if test "x$ac_cv_func_finite" = x""yes; then :
58446   cat >>confdefs.h <<_ACEOF
58447 #define HAVE_FINITE 1
58448 _ACEOF
58449
58450 fi
58451 done
58452
58453   else
58454
58455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58456 $as_echo_n "checking for _finite declaration... " >&6; }
58457   if test x${glibcxx_cv_func__finite_use+set} != xset; then
58458     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58459   $as_echo_n "(cached) " >&6
58460 else
58461
58462
58463       ac_ext=cpp
58464 ac_cpp='$CXXCPP $CPPFLAGS'
58465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58468
58469       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58470 /* end confdefs.h.  */
58471 #include <math.h>
58472                       #ifdef HAVE_IEEEFP_H
58473                       #include <ieeefp.h>
58474                       #endif
58475
58476 int
58477 main ()
58478 {
58479  _finite(0);
58480   ;
58481   return 0;
58482 }
58483 _ACEOF
58484 if ac_fn_cxx_try_compile "$LINENO"; then :
58485   glibcxx_cv_func__finite_use=yes
58486 else
58487   glibcxx_cv_func__finite_use=no
58488 fi
58489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58490       ac_ext=c
58491 ac_cpp='$CPP $CPPFLAGS'
58492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58495
58496
58497 fi
58498
58499   fi
58500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58501 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58502
58503     if test x$glibcxx_cv_func__finite_use = x"yes"; then
58504       for ac_func in _finite
58505 do :
58506   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58507 if test "x$ac_cv_func__finite" = x""yes; then :
58508   cat >>confdefs.h <<_ACEOF
58509 #define HAVE__FINITE 1
58510 _ACEOF
58511
58512 fi
58513 done
58514
58515     fi
58516   fi
58517
58518
58519
58520
58521
58522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58523 $as_echo_n "checking for sincos declaration... " >&6; }
58524   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58525     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58526   $as_echo_n "(cached) " >&6
58527 else
58528
58529
58530       ac_ext=cpp
58531 ac_cpp='$CXXCPP $CPPFLAGS'
58532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58535
58536       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58537 /* end confdefs.h.  */
58538 #include <math.h>
58539 int
58540 main ()
58541 {
58542  sincos(0, 0, 0);
58543   ;
58544   return 0;
58545 }
58546 _ACEOF
58547 if ac_fn_cxx_try_compile "$LINENO"; then :
58548   glibcxx_cv_func_sincos_use=yes
58549 else
58550   glibcxx_cv_func_sincos_use=no
58551 fi
58552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58553       ac_ext=c
58554 ac_cpp='$CPP $CPPFLAGS'
58555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58558
58559
58560 fi
58561
58562   fi
58563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58564 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58565
58566   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58567     for ac_func in sincos
58568 do :
58569   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58570 if test "x$ac_cv_func_sincos" = x""yes; then :
58571   cat >>confdefs.h <<_ACEOF
58572 #define HAVE_SINCOS 1
58573 _ACEOF
58574
58575 fi
58576 done
58577
58578   else
58579
58580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58581 $as_echo_n "checking for _sincos declaration... " >&6; }
58582   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58583     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58584   $as_echo_n "(cached) " >&6
58585 else
58586
58587
58588       ac_ext=cpp
58589 ac_cpp='$CXXCPP $CPPFLAGS'
58590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58593
58594       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58595 /* end confdefs.h.  */
58596 #include <math.h>
58597 int
58598 main ()
58599 {
58600  _sincos(0, 0, 0);
58601   ;
58602   return 0;
58603 }
58604 _ACEOF
58605 if ac_fn_cxx_try_compile "$LINENO"; then :
58606   glibcxx_cv_func__sincos_use=yes
58607 else
58608   glibcxx_cv_func__sincos_use=no
58609 fi
58610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58611       ac_ext=c
58612 ac_cpp='$CPP $CPPFLAGS'
58613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58616
58617
58618 fi
58619
58620   fi
58621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58622 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58623
58624     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58625       for ac_func in _sincos
58626 do :
58627   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58628 if test "x$ac_cv_func__sincos" = x""yes; then :
58629   cat >>confdefs.h <<_ACEOF
58630 #define HAVE__SINCOS 1
58631 _ACEOF
58632
58633 fi
58634 done
58635
58636     fi
58637   fi
58638
58639
58640
58641
58642
58643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58644 $as_echo_n "checking for fpclass declaration... " >&6; }
58645   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58646     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58647   $as_echo_n "(cached) " >&6
58648 else
58649
58650
58651       ac_ext=cpp
58652 ac_cpp='$CXXCPP $CPPFLAGS'
58653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58656
58657       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58658 /* end confdefs.h.  */
58659 #include <math.h>
58660                       #ifdef HAVE_IEEEFP_H
58661                       #include <ieeefp.h>
58662                       #endif
58663
58664 int
58665 main ()
58666 {
58667  fpclass(0);
58668   ;
58669   return 0;
58670 }
58671 _ACEOF
58672 if ac_fn_cxx_try_compile "$LINENO"; then :
58673   glibcxx_cv_func_fpclass_use=yes
58674 else
58675   glibcxx_cv_func_fpclass_use=no
58676 fi
58677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58678       ac_ext=c
58679 ac_cpp='$CPP $CPPFLAGS'
58680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58683
58684
58685 fi
58686
58687   fi
58688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58689 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58690
58691   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58692     for ac_func in fpclass
58693 do :
58694   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58695 if test "x$ac_cv_func_fpclass" = x""yes; then :
58696   cat >>confdefs.h <<_ACEOF
58697 #define HAVE_FPCLASS 1
58698 _ACEOF
58699
58700 fi
58701 done
58702
58703   else
58704
58705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58706 $as_echo_n "checking for _fpclass declaration... " >&6; }
58707   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58708     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58709   $as_echo_n "(cached) " >&6
58710 else
58711
58712
58713       ac_ext=cpp
58714 ac_cpp='$CXXCPP $CPPFLAGS'
58715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58718
58719       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58720 /* end confdefs.h.  */
58721 #include <math.h>
58722                       #ifdef HAVE_IEEEFP_H
58723                       #include <ieeefp.h>
58724                       #endif
58725
58726 int
58727 main ()
58728 {
58729  _fpclass(0);
58730   ;
58731   return 0;
58732 }
58733 _ACEOF
58734 if ac_fn_cxx_try_compile "$LINENO"; then :
58735   glibcxx_cv_func__fpclass_use=yes
58736 else
58737   glibcxx_cv_func__fpclass_use=no
58738 fi
58739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58740       ac_ext=c
58741 ac_cpp='$CPP $CPPFLAGS'
58742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58745
58746
58747 fi
58748
58749   fi
58750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58751 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58752
58753     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58754       for ac_func in _fpclass
58755 do :
58756   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58757 if test "x$ac_cv_func__fpclass" = x""yes; then :
58758   cat >>confdefs.h <<_ACEOF
58759 #define HAVE__FPCLASS 1
58760 _ACEOF
58761
58762 fi
58763 done
58764
58765     fi
58766   fi
58767
58768
58769
58770
58771
58772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58773 $as_echo_n "checking for qfpclass declaration... " >&6; }
58774   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58775     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58776   $as_echo_n "(cached) " >&6
58777 else
58778
58779
58780       ac_ext=cpp
58781 ac_cpp='$CXXCPP $CPPFLAGS'
58782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58785
58786       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58787 /* end confdefs.h.  */
58788 #include <math.h>
58789                       #ifdef HAVE_IEEEFP_H
58790                       #include <ieeefp.h>
58791                       #endif
58792
58793 int
58794 main ()
58795 {
58796  qfpclass(0);
58797   ;
58798   return 0;
58799 }
58800 _ACEOF
58801 if ac_fn_cxx_try_compile "$LINENO"; then :
58802   glibcxx_cv_func_qfpclass_use=yes
58803 else
58804   glibcxx_cv_func_qfpclass_use=no
58805 fi
58806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58807       ac_ext=c
58808 ac_cpp='$CPP $CPPFLAGS'
58809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58812
58813
58814 fi
58815
58816   fi
58817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58818 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58819
58820   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58821     for ac_func in qfpclass
58822 do :
58823   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58824 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58825   cat >>confdefs.h <<_ACEOF
58826 #define HAVE_QFPCLASS 1
58827 _ACEOF
58828
58829 fi
58830 done
58831
58832   else
58833
58834   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58835 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58836   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58837     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58838   $as_echo_n "(cached) " >&6
58839 else
58840
58841
58842       ac_ext=cpp
58843 ac_cpp='$CXXCPP $CPPFLAGS'
58844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58847
58848       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58849 /* end confdefs.h.  */
58850 #include <math.h>
58851                       #ifdef HAVE_IEEEFP_H
58852                       #include <ieeefp.h>
58853                       #endif
58854
58855 int
58856 main ()
58857 {
58858  _qfpclass(0);
58859   ;
58860   return 0;
58861 }
58862 _ACEOF
58863 if ac_fn_cxx_try_compile "$LINENO"; then :
58864   glibcxx_cv_func__qfpclass_use=yes
58865 else
58866   glibcxx_cv_func__qfpclass_use=no
58867 fi
58868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58869       ac_ext=c
58870 ac_cpp='$CPP $CPPFLAGS'
58871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58874
58875
58876 fi
58877
58878   fi
58879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58880 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58881
58882     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58883       for ac_func in _qfpclass
58884 do :
58885   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58886 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58887   cat >>confdefs.h <<_ACEOF
58888 #define HAVE__QFPCLASS 1
58889 _ACEOF
58890
58891 fi
58892 done
58893
58894     fi
58895   fi
58896
58897
58898
58899
58900
58901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58902 $as_echo_n "checking for hypot declaration... " >&6; }
58903   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58904     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58905   $as_echo_n "(cached) " >&6
58906 else
58907
58908
58909       ac_ext=cpp
58910 ac_cpp='$CXXCPP $CPPFLAGS'
58911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58914
58915       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58916 /* end confdefs.h.  */
58917 #include <math.h>
58918 int
58919 main ()
58920 {
58921  hypot(0, 0);
58922   ;
58923   return 0;
58924 }
58925 _ACEOF
58926 if ac_fn_cxx_try_compile "$LINENO"; then :
58927   glibcxx_cv_func_hypot_use=yes
58928 else
58929   glibcxx_cv_func_hypot_use=no
58930 fi
58931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58932       ac_ext=c
58933 ac_cpp='$CPP $CPPFLAGS'
58934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58937
58938
58939 fi
58940
58941   fi
58942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58943 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58944
58945   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58946     for ac_func in hypot
58947 do :
58948   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58949 if test "x$ac_cv_func_hypot" = x""yes; then :
58950   cat >>confdefs.h <<_ACEOF
58951 #define HAVE_HYPOT 1
58952 _ACEOF
58953
58954 fi
58955 done
58956
58957   else
58958
58959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58960 $as_echo_n "checking for _hypot declaration... " >&6; }
58961   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58962     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58963   $as_echo_n "(cached) " >&6
58964 else
58965
58966
58967       ac_ext=cpp
58968 ac_cpp='$CXXCPP $CPPFLAGS'
58969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58972
58973       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58974 /* end confdefs.h.  */
58975 #include <math.h>
58976 int
58977 main ()
58978 {
58979  _hypot(0, 0);
58980   ;
58981   return 0;
58982 }
58983 _ACEOF
58984 if ac_fn_cxx_try_compile "$LINENO"; then :
58985   glibcxx_cv_func__hypot_use=yes
58986 else
58987   glibcxx_cv_func__hypot_use=no
58988 fi
58989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58990       ac_ext=c
58991 ac_cpp='$CPP $CPPFLAGS'
58992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58995
58996
58997 fi
58998
58999   fi
59000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59001 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59002
59003     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59004       for ac_func in _hypot
59005 do :
59006   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59007 if test "x$ac_cv_func__hypot" = x""yes; then :
59008   cat >>confdefs.h <<_ACEOF
59009 #define HAVE__HYPOT 1
59010 _ACEOF
59011
59012 fi
59013 done
59014
59015     fi
59016   fi
59017
59018
59019
59020
59021
59022     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59023 $as_echo_n "checking for float trig functions... " >&6; }
59024   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59025   $as_echo_n "(cached) " >&6
59026 else
59027
59028
59029     ac_ext=cpp
59030 ac_cpp='$CXXCPP $CPPFLAGS'
59031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59034
59035     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59036 /* end confdefs.h.  */
59037 #include <math.h>
59038 int
59039 main ()
59040 {
59041 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59042   ;
59043   return 0;
59044 }
59045 _ACEOF
59046 if ac_fn_cxx_try_compile "$LINENO"; then :
59047   glibcxx_cv_func_float_trig_use=yes
59048 else
59049   glibcxx_cv_func_float_trig_use=no
59050 fi
59051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59052     ac_ext=c
59053 ac_cpp='$CPP $CPPFLAGS'
59054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59057
59058 fi
59059
59060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59061 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59062   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59063     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59064 do :
59065   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59066 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59067 eval as_val=\$$as_ac_var
59068    if test "x$as_val" = x""yes; then :
59069   cat >>confdefs.h <<_ACEOF
59070 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59071 _ACEOF
59072
59073 fi
59074 done
59075
59076   else
59077     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59078 $as_echo_n "checking for _float trig functions... " >&6; }
59079     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59080   $as_echo_n "(cached) " >&6
59081 else
59082
59083
59084       ac_ext=cpp
59085 ac_cpp='$CXXCPP $CPPFLAGS'
59086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59089
59090       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59091 /* end confdefs.h.  */
59092 #include <math.h>
59093 int
59094 main ()
59095 {
59096 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59097   ;
59098   return 0;
59099 }
59100 _ACEOF
59101 if ac_fn_cxx_try_compile "$LINENO"; then :
59102   glibcxx_cv_func__float_trig_use=yes
59103 else
59104   glibcxx_cv_func__float_trig_use=no
59105 fi
59106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59107       ac_ext=c
59108 ac_cpp='$CPP $CPPFLAGS'
59109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59112
59113 fi
59114
59115     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59116 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59117     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59118       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59119 do :
59120   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59121 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59122 eval as_val=\$$as_ac_var
59123    if test "x$as_val" = x""yes; then :
59124   cat >>confdefs.h <<_ACEOF
59125 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59126 _ACEOF
59127
59128 fi
59129 done
59130
59131     fi
59132   fi
59133
59134
59135
59136
59137
59138     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59139 $as_echo_n "checking for float round functions... " >&6; }
59140   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59141   $as_echo_n "(cached) " >&6
59142 else
59143
59144
59145     ac_ext=cpp
59146 ac_cpp='$CXXCPP $CPPFLAGS'
59147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59150
59151     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59152 /* end confdefs.h.  */
59153 #include <math.h>
59154 int
59155 main ()
59156 {
59157 ceilf (0); floorf (0);
59158   ;
59159   return 0;
59160 }
59161 _ACEOF
59162 if ac_fn_cxx_try_compile "$LINENO"; then :
59163   glibcxx_cv_func_float_round_use=yes
59164 else
59165   glibcxx_cv_func_float_round_use=no
59166 fi
59167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59168     ac_ext=c
59169 ac_cpp='$CPP $CPPFLAGS'
59170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59173
59174 fi
59175
59176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59177 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59178   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59179     for ac_func in ceilf floorf
59180 do :
59181   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59182 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59183 eval as_val=\$$as_ac_var
59184    if test "x$as_val" = x""yes; then :
59185   cat >>confdefs.h <<_ACEOF
59186 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59187 _ACEOF
59188
59189 fi
59190 done
59191
59192   else
59193     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59194 $as_echo_n "checking for _float round functions... " >&6; }
59195     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59196   $as_echo_n "(cached) " >&6
59197 else
59198
59199
59200       ac_ext=cpp
59201 ac_cpp='$CXXCPP $CPPFLAGS'
59202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59205
59206       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59207 /* end confdefs.h.  */
59208 #include <math.h>
59209 int
59210 main ()
59211 {
59212 _ceilf (0); _floorf (0);
59213   ;
59214   return 0;
59215 }
59216 _ACEOF
59217 if ac_fn_cxx_try_compile "$LINENO"; then :
59218   glibcxx_cv_func__float_round_use=yes
59219 else
59220   glibcxx_cv_func__float_round_use=no
59221 fi
59222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59223       ac_ext=c
59224 ac_cpp='$CPP $CPPFLAGS'
59225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59228
59229 fi
59230
59231     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59232 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59233     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59234       for ac_func in _ceilf _floorf
59235 do :
59236   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59237 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59238 eval as_val=\$$as_ac_var
59239    if test "x$as_val" = x""yes; then :
59240   cat >>confdefs.h <<_ACEOF
59241 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59242 _ACEOF
59243
59244 fi
59245 done
59246
59247     fi
59248   fi
59249
59250
59251
59252
59253
59254
59255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59256 $as_echo_n "checking for expf declaration... " >&6; }
59257   if test x${glibcxx_cv_func_expf_use+set} != xset; then
59258     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59259   $as_echo_n "(cached) " >&6
59260 else
59261
59262
59263       ac_ext=cpp
59264 ac_cpp='$CXXCPP $CPPFLAGS'
59265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59268
59269       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59270 /* end confdefs.h.  */
59271 #include <math.h>
59272                       #ifdef HAVE_IEEEFP_H
59273                       #include <ieeefp.h>
59274                       #endif
59275
59276 int
59277 main ()
59278 {
59279  expf(0);
59280   ;
59281   return 0;
59282 }
59283 _ACEOF
59284 if ac_fn_cxx_try_compile "$LINENO"; then :
59285   glibcxx_cv_func_expf_use=yes
59286 else
59287   glibcxx_cv_func_expf_use=no
59288 fi
59289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59290       ac_ext=c
59291 ac_cpp='$CPP $CPPFLAGS'
59292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59295
59296
59297 fi
59298
59299   fi
59300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59301 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59302
59303   if test x$glibcxx_cv_func_expf_use = x"yes"; then
59304     for ac_func in expf
59305 do :
59306   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59307 if test "x$ac_cv_func_expf" = x""yes; then :
59308   cat >>confdefs.h <<_ACEOF
59309 #define HAVE_EXPF 1
59310 _ACEOF
59311
59312 fi
59313 done
59314
59315   else
59316
59317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59318 $as_echo_n "checking for _expf declaration... " >&6; }
59319   if test x${glibcxx_cv_func__expf_use+set} != xset; then
59320     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59321   $as_echo_n "(cached) " >&6
59322 else
59323
59324
59325       ac_ext=cpp
59326 ac_cpp='$CXXCPP $CPPFLAGS'
59327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59330
59331       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59332 /* end confdefs.h.  */
59333 #include <math.h>
59334                       #ifdef HAVE_IEEEFP_H
59335                       #include <ieeefp.h>
59336                       #endif
59337
59338 int
59339 main ()
59340 {
59341  _expf(0);
59342   ;
59343   return 0;
59344 }
59345 _ACEOF
59346 if ac_fn_cxx_try_compile "$LINENO"; then :
59347   glibcxx_cv_func__expf_use=yes
59348 else
59349   glibcxx_cv_func__expf_use=no
59350 fi
59351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59352       ac_ext=c
59353 ac_cpp='$CPP $CPPFLAGS'
59354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59357
59358
59359 fi
59360
59361   fi
59362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59363 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59364
59365     if test x$glibcxx_cv_func__expf_use = x"yes"; then
59366       for ac_func in _expf
59367 do :
59368   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59369 if test "x$ac_cv_func__expf" = x""yes; then :
59370   cat >>confdefs.h <<_ACEOF
59371 #define HAVE__EXPF 1
59372 _ACEOF
59373
59374 fi
59375 done
59376
59377     fi
59378   fi
59379
59380
59381
59382
59383
59384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59385 $as_echo_n "checking for isnanf declaration... " >&6; }
59386   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59387     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59388   $as_echo_n "(cached) " >&6
59389 else
59390
59391
59392       ac_ext=cpp
59393 ac_cpp='$CXXCPP $CPPFLAGS'
59394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59397
59398       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59399 /* end confdefs.h.  */
59400 #include <math.h>
59401                       #ifdef HAVE_IEEEFP_H
59402                       #include <ieeefp.h>
59403                       #endif
59404
59405 int
59406 main ()
59407 {
59408  isnanf(0);
59409   ;
59410   return 0;
59411 }
59412 _ACEOF
59413 if ac_fn_cxx_try_compile "$LINENO"; then :
59414   glibcxx_cv_func_isnanf_use=yes
59415 else
59416   glibcxx_cv_func_isnanf_use=no
59417 fi
59418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59419       ac_ext=c
59420 ac_cpp='$CPP $CPPFLAGS'
59421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59424
59425
59426 fi
59427
59428   fi
59429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59430 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59431
59432   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59433     for ac_func in isnanf
59434 do :
59435   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59436 if test "x$ac_cv_func_isnanf" = x""yes; then :
59437   cat >>confdefs.h <<_ACEOF
59438 #define HAVE_ISNANF 1
59439 _ACEOF
59440
59441 fi
59442 done
59443
59444   else
59445
59446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59447 $as_echo_n "checking for _isnanf declaration... " >&6; }
59448   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59449     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59450   $as_echo_n "(cached) " >&6
59451 else
59452
59453
59454       ac_ext=cpp
59455 ac_cpp='$CXXCPP $CPPFLAGS'
59456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59459
59460       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59461 /* end confdefs.h.  */
59462 #include <math.h>
59463                       #ifdef HAVE_IEEEFP_H
59464                       #include <ieeefp.h>
59465                       #endif
59466
59467 int
59468 main ()
59469 {
59470  _isnanf(0);
59471   ;
59472   return 0;
59473 }
59474 _ACEOF
59475 if ac_fn_cxx_try_compile "$LINENO"; then :
59476   glibcxx_cv_func__isnanf_use=yes
59477 else
59478   glibcxx_cv_func__isnanf_use=no
59479 fi
59480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59481       ac_ext=c
59482 ac_cpp='$CPP $CPPFLAGS'
59483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59486
59487
59488 fi
59489
59490   fi
59491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59492 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59493
59494     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59495       for ac_func in _isnanf
59496 do :
59497   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59498 if test "x$ac_cv_func__isnanf" = x""yes; then :
59499   cat >>confdefs.h <<_ACEOF
59500 #define HAVE__ISNANF 1
59501 _ACEOF
59502
59503 fi
59504 done
59505
59506     fi
59507   fi
59508
59509
59510
59511
59512
59513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59514 $as_echo_n "checking for isinff declaration... " >&6; }
59515   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59516     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59517   $as_echo_n "(cached) " >&6
59518 else
59519
59520
59521       ac_ext=cpp
59522 ac_cpp='$CXXCPP $CPPFLAGS'
59523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59526
59527       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59528 /* end confdefs.h.  */
59529 #include <math.h>
59530                       #ifdef HAVE_IEEEFP_H
59531                       #include <ieeefp.h>
59532                       #endif
59533
59534 int
59535 main ()
59536 {
59537  isinff(0);
59538   ;
59539   return 0;
59540 }
59541 _ACEOF
59542 if ac_fn_cxx_try_compile "$LINENO"; then :
59543   glibcxx_cv_func_isinff_use=yes
59544 else
59545   glibcxx_cv_func_isinff_use=no
59546 fi
59547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59548       ac_ext=c
59549 ac_cpp='$CPP $CPPFLAGS'
59550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59553
59554
59555 fi
59556
59557   fi
59558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59559 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59560
59561   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59562     for ac_func in isinff
59563 do :
59564   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59565 if test "x$ac_cv_func_isinff" = x""yes; then :
59566   cat >>confdefs.h <<_ACEOF
59567 #define HAVE_ISINFF 1
59568 _ACEOF
59569
59570 fi
59571 done
59572
59573   else
59574
59575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59576 $as_echo_n "checking for _isinff declaration... " >&6; }
59577   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59578     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59579   $as_echo_n "(cached) " >&6
59580 else
59581
59582
59583       ac_ext=cpp
59584 ac_cpp='$CXXCPP $CPPFLAGS'
59585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59588
59589       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59590 /* end confdefs.h.  */
59591 #include <math.h>
59592                       #ifdef HAVE_IEEEFP_H
59593                       #include <ieeefp.h>
59594                       #endif
59595
59596 int
59597 main ()
59598 {
59599  _isinff(0);
59600   ;
59601   return 0;
59602 }
59603 _ACEOF
59604 if ac_fn_cxx_try_compile "$LINENO"; then :
59605   glibcxx_cv_func__isinff_use=yes
59606 else
59607   glibcxx_cv_func__isinff_use=no
59608 fi
59609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59610       ac_ext=c
59611 ac_cpp='$CPP $CPPFLAGS'
59612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59615
59616
59617 fi
59618
59619   fi
59620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59621 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59622
59623     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59624       for ac_func in _isinff
59625 do :
59626   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59627 if test "x$ac_cv_func__isinff" = x""yes; then :
59628   cat >>confdefs.h <<_ACEOF
59629 #define HAVE__ISINFF 1
59630 _ACEOF
59631
59632 fi
59633 done
59634
59635     fi
59636   fi
59637
59638
59639
59640
59641
59642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59643 $as_echo_n "checking for atan2f declaration... " >&6; }
59644   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59645     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59646   $as_echo_n "(cached) " >&6
59647 else
59648
59649
59650       ac_ext=cpp
59651 ac_cpp='$CXXCPP $CPPFLAGS'
59652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59655
59656       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59657 /* end confdefs.h.  */
59658 #include <math.h>
59659 int
59660 main ()
59661 {
59662  atan2f(0, 0);
59663   ;
59664   return 0;
59665 }
59666 _ACEOF
59667 if ac_fn_cxx_try_compile "$LINENO"; then :
59668   glibcxx_cv_func_atan2f_use=yes
59669 else
59670   glibcxx_cv_func_atan2f_use=no
59671 fi
59672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59673       ac_ext=c
59674 ac_cpp='$CPP $CPPFLAGS'
59675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59678
59679
59680 fi
59681
59682   fi
59683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59684 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59685
59686   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59687     for ac_func in atan2f
59688 do :
59689   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59690 if test "x$ac_cv_func_atan2f" = x""yes; then :
59691   cat >>confdefs.h <<_ACEOF
59692 #define HAVE_ATAN2F 1
59693 _ACEOF
59694
59695 fi
59696 done
59697
59698   else
59699
59700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59701 $as_echo_n "checking for _atan2f declaration... " >&6; }
59702   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59703     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59704   $as_echo_n "(cached) " >&6
59705 else
59706
59707
59708       ac_ext=cpp
59709 ac_cpp='$CXXCPP $CPPFLAGS'
59710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59713
59714       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59715 /* end confdefs.h.  */
59716 #include <math.h>
59717 int
59718 main ()
59719 {
59720  _atan2f(0, 0);
59721   ;
59722   return 0;
59723 }
59724 _ACEOF
59725 if ac_fn_cxx_try_compile "$LINENO"; then :
59726   glibcxx_cv_func__atan2f_use=yes
59727 else
59728   glibcxx_cv_func__atan2f_use=no
59729 fi
59730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59731       ac_ext=c
59732 ac_cpp='$CPP $CPPFLAGS'
59733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59736
59737
59738 fi
59739
59740   fi
59741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59742 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59743
59744     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59745       for ac_func in _atan2f
59746 do :
59747   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59748 if test "x$ac_cv_func__atan2f" = x""yes; then :
59749   cat >>confdefs.h <<_ACEOF
59750 #define HAVE__ATAN2F 1
59751 _ACEOF
59752
59753 fi
59754 done
59755
59756     fi
59757   fi
59758
59759
59760
59761
59762
59763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59764 $as_echo_n "checking for fabsf declaration... " >&6; }
59765   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59766     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59767   $as_echo_n "(cached) " >&6
59768 else
59769
59770
59771       ac_ext=cpp
59772 ac_cpp='$CXXCPP $CPPFLAGS'
59773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59776
59777       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59778 /* end confdefs.h.  */
59779 #include <math.h>
59780                       #ifdef HAVE_IEEEFP_H
59781                       #include <ieeefp.h>
59782                       #endif
59783
59784 int
59785 main ()
59786 {
59787  fabsf(0);
59788   ;
59789   return 0;
59790 }
59791 _ACEOF
59792 if ac_fn_cxx_try_compile "$LINENO"; then :
59793   glibcxx_cv_func_fabsf_use=yes
59794 else
59795   glibcxx_cv_func_fabsf_use=no
59796 fi
59797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59798       ac_ext=c
59799 ac_cpp='$CPP $CPPFLAGS'
59800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59803
59804
59805 fi
59806
59807   fi
59808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59809 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59810
59811   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59812     for ac_func in fabsf
59813 do :
59814   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59815 if test "x$ac_cv_func_fabsf" = x""yes; then :
59816   cat >>confdefs.h <<_ACEOF
59817 #define HAVE_FABSF 1
59818 _ACEOF
59819
59820 fi
59821 done
59822
59823   else
59824
59825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59826 $as_echo_n "checking for _fabsf declaration... " >&6; }
59827   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59828     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59829   $as_echo_n "(cached) " >&6
59830 else
59831
59832
59833       ac_ext=cpp
59834 ac_cpp='$CXXCPP $CPPFLAGS'
59835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59838
59839       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59840 /* end confdefs.h.  */
59841 #include <math.h>
59842                       #ifdef HAVE_IEEEFP_H
59843                       #include <ieeefp.h>
59844                       #endif
59845
59846 int
59847 main ()
59848 {
59849  _fabsf(0);
59850   ;
59851   return 0;
59852 }
59853 _ACEOF
59854 if ac_fn_cxx_try_compile "$LINENO"; then :
59855   glibcxx_cv_func__fabsf_use=yes
59856 else
59857   glibcxx_cv_func__fabsf_use=no
59858 fi
59859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59860       ac_ext=c
59861 ac_cpp='$CPP $CPPFLAGS'
59862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59865
59866
59867 fi
59868
59869   fi
59870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59871 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59872
59873     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59874       for ac_func in _fabsf
59875 do :
59876   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59877 if test "x$ac_cv_func__fabsf" = x""yes; then :
59878   cat >>confdefs.h <<_ACEOF
59879 #define HAVE__FABSF 1
59880 _ACEOF
59881
59882 fi
59883 done
59884
59885     fi
59886   fi
59887
59888
59889
59890
59891
59892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59893 $as_echo_n "checking for fmodf declaration... " >&6; }
59894   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59895     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59896   $as_echo_n "(cached) " >&6
59897 else
59898
59899
59900       ac_ext=cpp
59901 ac_cpp='$CXXCPP $CPPFLAGS'
59902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59905
59906       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59907 /* end confdefs.h.  */
59908 #include <math.h>
59909 int
59910 main ()
59911 {
59912  fmodf(0, 0);
59913   ;
59914   return 0;
59915 }
59916 _ACEOF
59917 if ac_fn_cxx_try_compile "$LINENO"; then :
59918   glibcxx_cv_func_fmodf_use=yes
59919 else
59920   glibcxx_cv_func_fmodf_use=no
59921 fi
59922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59923       ac_ext=c
59924 ac_cpp='$CPP $CPPFLAGS'
59925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59928
59929
59930 fi
59931
59932   fi
59933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59934 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59935
59936   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59937     for ac_func in fmodf
59938 do :
59939   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59940 if test "x$ac_cv_func_fmodf" = x""yes; then :
59941   cat >>confdefs.h <<_ACEOF
59942 #define HAVE_FMODF 1
59943 _ACEOF
59944
59945 fi
59946 done
59947
59948   else
59949
59950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59951 $as_echo_n "checking for _fmodf declaration... " >&6; }
59952   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59953     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59954   $as_echo_n "(cached) " >&6
59955 else
59956
59957
59958       ac_ext=cpp
59959 ac_cpp='$CXXCPP $CPPFLAGS'
59960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59963
59964       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59965 /* end confdefs.h.  */
59966 #include <math.h>
59967 int
59968 main ()
59969 {
59970  _fmodf(0, 0);
59971   ;
59972   return 0;
59973 }
59974 _ACEOF
59975 if ac_fn_cxx_try_compile "$LINENO"; then :
59976   glibcxx_cv_func__fmodf_use=yes
59977 else
59978   glibcxx_cv_func__fmodf_use=no
59979 fi
59980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59981       ac_ext=c
59982 ac_cpp='$CPP $CPPFLAGS'
59983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59986
59987
59988 fi
59989
59990   fi
59991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59992 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59993
59994     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59995       for ac_func in _fmodf
59996 do :
59997   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59998 if test "x$ac_cv_func__fmodf" = x""yes; then :
59999   cat >>confdefs.h <<_ACEOF
60000 #define HAVE__FMODF 1
60001 _ACEOF
60002
60003 fi
60004 done
60005
60006     fi
60007   fi
60008
60009
60010
60011
60012
60013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60014 $as_echo_n "checking for frexpf declaration... " >&6; }
60015   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60016     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60017   $as_echo_n "(cached) " >&6
60018 else
60019
60020
60021       ac_ext=cpp
60022 ac_cpp='$CXXCPP $CPPFLAGS'
60023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60026
60027       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60028 /* end confdefs.h.  */
60029 #include <math.h>
60030 int
60031 main ()
60032 {
60033  frexpf(0, 0);
60034   ;
60035   return 0;
60036 }
60037 _ACEOF
60038 if ac_fn_cxx_try_compile "$LINENO"; then :
60039   glibcxx_cv_func_frexpf_use=yes
60040 else
60041   glibcxx_cv_func_frexpf_use=no
60042 fi
60043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60044       ac_ext=c
60045 ac_cpp='$CPP $CPPFLAGS'
60046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60049
60050
60051 fi
60052
60053   fi
60054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60055 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60056
60057   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60058     for ac_func in frexpf
60059 do :
60060   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60061 if test "x$ac_cv_func_frexpf" = x""yes; then :
60062   cat >>confdefs.h <<_ACEOF
60063 #define HAVE_FREXPF 1
60064 _ACEOF
60065
60066 fi
60067 done
60068
60069   else
60070
60071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60072 $as_echo_n "checking for _frexpf declaration... " >&6; }
60073   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60074     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60075   $as_echo_n "(cached) " >&6
60076 else
60077
60078
60079       ac_ext=cpp
60080 ac_cpp='$CXXCPP $CPPFLAGS'
60081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60084
60085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60086 /* end confdefs.h.  */
60087 #include <math.h>
60088 int
60089 main ()
60090 {
60091  _frexpf(0, 0);
60092   ;
60093   return 0;
60094 }
60095 _ACEOF
60096 if ac_fn_cxx_try_compile "$LINENO"; then :
60097   glibcxx_cv_func__frexpf_use=yes
60098 else
60099   glibcxx_cv_func__frexpf_use=no
60100 fi
60101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60102       ac_ext=c
60103 ac_cpp='$CPP $CPPFLAGS'
60104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60107
60108
60109 fi
60110
60111   fi
60112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60113 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60114
60115     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60116       for ac_func in _frexpf
60117 do :
60118   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60119 if test "x$ac_cv_func__frexpf" = x""yes; then :
60120   cat >>confdefs.h <<_ACEOF
60121 #define HAVE__FREXPF 1
60122 _ACEOF
60123
60124 fi
60125 done
60126
60127     fi
60128   fi
60129
60130
60131
60132
60133
60134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60135 $as_echo_n "checking for hypotf declaration... " >&6; }
60136   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60137     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60138   $as_echo_n "(cached) " >&6
60139 else
60140
60141
60142       ac_ext=cpp
60143 ac_cpp='$CXXCPP $CPPFLAGS'
60144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60147
60148       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60149 /* end confdefs.h.  */
60150 #include <math.h>
60151 int
60152 main ()
60153 {
60154  hypotf(0, 0);
60155   ;
60156   return 0;
60157 }
60158 _ACEOF
60159 if ac_fn_cxx_try_compile "$LINENO"; then :
60160   glibcxx_cv_func_hypotf_use=yes
60161 else
60162   glibcxx_cv_func_hypotf_use=no
60163 fi
60164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60165       ac_ext=c
60166 ac_cpp='$CPP $CPPFLAGS'
60167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60170
60171
60172 fi
60173
60174   fi
60175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60176 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60177
60178   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60179     for ac_func in hypotf
60180 do :
60181   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60182 if test "x$ac_cv_func_hypotf" = x""yes; then :
60183   cat >>confdefs.h <<_ACEOF
60184 #define HAVE_HYPOTF 1
60185 _ACEOF
60186
60187 fi
60188 done
60189
60190   else
60191
60192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60193 $as_echo_n "checking for _hypotf declaration... " >&6; }
60194   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60195     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60196   $as_echo_n "(cached) " >&6
60197 else
60198
60199
60200       ac_ext=cpp
60201 ac_cpp='$CXXCPP $CPPFLAGS'
60202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60205
60206       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60207 /* end confdefs.h.  */
60208 #include <math.h>
60209 int
60210 main ()
60211 {
60212  _hypotf(0, 0);
60213   ;
60214   return 0;
60215 }
60216 _ACEOF
60217 if ac_fn_cxx_try_compile "$LINENO"; then :
60218   glibcxx_cv_func__hypotf_use=yes
60219 else
60220   glibcxx_cv_func__hypotf_use=no
60221 fi
60222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60223       ac_ext=c
60224 ac_cpp='$CPP $CPPFLAGS'
60225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60228
60229
60230 fi
60231
60232   fi
60233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60234 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60235
60236     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60237       for ac_func in _hypotf
60238 do :
60239   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60240 if test "x$ac_cv_func__hypotf" = x""yes; then :
60241   cat >>confdefs.h <<_ACEOF
60242 #define HAVE__HYPOTF 1
60243 _ACEOF
60244
60245 fi
60246 done
60247
60248     fi
60249   fi
60250
60251
60252
60253
60254
60255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60256 $as_echo_n "checking for ldexpf declaration... " >&6; }
60257   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60258     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60259   $as_echo_n "(cached) " >&6
60260 else
60261
60262
60263       ac_ext=cpp
60264 ac_cpp='$CXXCPP $CPPFLAGS'
60265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60268
60269       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60270 /* end confdefs.h.  */
60271 #include <math.h>
60272 int
60273 main ()
60274 {
60275  ldexpf(0, 0);
60276   ;
60277   return 0;
60278 }
60279 _ACEOF
60280 if ac_fn_cxx_try_compile "$LINENO"; then :
60281   glibcxx_cv_func_ldexpf_use=yes
60282 else
60283   glibcxx_cv_func_ldexpf_use=no
60284 fi
60285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60286       ac_ext=c
60287 ac_cpp='$CPP $CPPFLAGS'
60288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60291
60292
60293 fi
60294
60295   fi
60296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60297 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60298
60299   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60300     for ac_func in ldexpf
60301 do :
60302   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60303 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60304   cat >>confdefs.h <<_ACEOF
60305 #define HAVE_LDEXPF 1
60306 _ACEOF
60307
60308 fi
60309 done
60310
60311   else
60312
60313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60314 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60315   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60316     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60317   $as_echo_n "(cached) " >&6
60318 else
60319
60320
60321       ac_ext=cpp
60322 ac_cpp='$CXXCPP $CPPFLAGS'
60323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60326
60327       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60328 /* end confdefs.h.  */
60329 #include <math.h>
60330 int
60331 main ()
60332 {
60333  _ldexpf(0, 0);
60334   ;
60335   return 0;
60336 }
60337 _ACEOF
60338 if ac_fn_cxx_try_compile "$LINENO"; then :
60339   glibcxx_cv_func__ldexpf_use=yes
60340 else
60341   glibcxx_cv_func__ldexpf_use=no
60342 fi
60343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60344       ac_ext=c
60345 ac_cpp='$CPP $CPPFLAGS'
60346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60349
60350
60351 fi
60352
60353   fi
60354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60355 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60356
60357     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60358       for ac_func in _ldexpf
60359 do :
60360   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60361 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60362   cat >>confdefs.h <<_ACEOF
60363 #define HAVE__LDEXPF 1
60364 _ACEOF
60365
60366 fi
60367 done
60368
60369     fi
60370   fi
60371
60372
60373
60374
60375
60376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60377 $as_echo_n "checking for logf declaration... " >&6; }
60378   if test x${glibcxx_cv_func_logf_use+set} != xset; then
60379     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60380   $as_echo_n "(cached) " >&6
60381 else
60382
60383
60384       ac_ext=cpp
60385 ac_cpp='$CXXCPP $CPPFLAGS'
60386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60389
60390       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60391 /* end confdefs.h.  */
60392 #include <math.h>
60393                       #ifdef HAVE_IEEEFP_H
60394                       #include <ieeefp.h>
60395                       #endif
60396
60397 int
60398 main ()
60399 {
60400  logf(0);
60401   ;
60402   return 0;
60403 }
60404 _ACEOF
60405 if ac_fn_cxx_try_compile "$LINENO"; then :
60406   glibcxx_cv_func_logf_use=yes
60407 else
60408   glibcxx_cv_func_logf_use=no
60409 fi
60410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60411       ac_ext=c
60412 ac_cpp='$CPP $CPPFLAGS'
60413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60416
60417
60418 fi
60419
60420   fi
60421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60422 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60423
60424   if test x$glibcxx_cv_func_logf_use = x"yes"; then
60425     for ac_func in logf
60426 do :
60427   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60428 if test "x$ac_cv_func_logf" = x""yes; then :
60429   cat >>confdefs.h <<_ACEOF
60430 #define HAVE_LOGF 1
60431 _ACEOF
60432
60433 fi
60434 done
60435
60436   else
60437
60438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60439 $as_echo_n "checking for _logf declaration... " >&6; }
60440   if test x${glibcxx_cv_func__logf_use+set} != xset; then
60441     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60442   $as_echo_n "(cached) " >&6
60443 else
60444
60445
60446       ac_ext=cpp
60447 ac_cpp='$CXXCPP $CPPFLAGS'
60448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60451
60452       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60453 /* end confdefs.h.  */
60454 #include <math.h>
60455                       #ifdef HAVE_IEEEFP_H
60456                       #include <ieeefp.h>
60457                       #endif
60458
60459 int
60460 main ()
60461 {
60462  _logf(0);
60463   ;
60464   return 0;
60465 }
60466 _ACEOF
60467 if ac_fn_cxx_try_compile "$LINENO"; then :
60468   glibcxx_cv_func__logf_use=yes
60469 else
60470   glibcxx_cv_func__logf_use=no
60471 fi
60472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60473       ac_ext=c
60474 ac_cpp='$CPP $CPPFLAGS'
60475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60478
60479
60480 fi
60481
60482   fi
60483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60484 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60485
60486     if test x$glibcxx_cv_func__logf_use = x"yes"; then
60487       for ac_func in _logf
60488 do :
60489   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60490 if test "x$ac_cv_func__logf" = x""yes; then :
60491   cat >>confdefs.h <<_ACEOF
60492 #define HAVE__LOGF 1
60493 _ACEOF
60494
60495 fi
60496 done
60497
60498     fi
60499   fi
60500
60501
60502
60503
60504
60505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60506 $as_echo_n "checking for log10f declaration... " >&6; }
60507   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60508     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60509   $as_echo_n "(cached) " >&6
60510 else
60511
60512
60513       ac_ext=cpp
60514 ac_cpp='$CXXCPP $CPPFLAGS'
60515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60518
60519       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60520 /* end confdefs.h.  */
60521 #include <math.h>
60522                       #ifdef HAVE_IEEEFP_H
60523                       #include <ieeefp.h>
60524                       #endif
60525
60526 int
60527 main ()
60528 {
60529  log10f(0);
60530   ;
60531   return 0;
60532 }
60533 _ACEOF
60534 if ac_fn_cxx_try_compile "$LINENO"; then :
60535   glibcxx_cv_func_log10f_use=yes
60536 else
60537   glibcxx_cv_func_log10f_use=no
60538 fi
60539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60540       ac_ext=c
60541 ac_cpp='$CPP $CPPFLAGS'
60542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60545
60546
60547 fi
60548
60549   fi
60550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60551 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60552
60553   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60554     for ac_func in log10f
60555 do :
60556   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60557 if test "x$ac_cv_func_log10f" = x""yes; then :
60558   cat >>confdefs.h <<_ACEOF
60559 #define HAVE_LOG10F 1
60560 _ACEOF
60561
60562 fi
60563 done
60564
60565   else
60566
60567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60568 $as_echo_n "checking for _log10f declaration... " >&6; }
60569   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60570     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60571   $as_echo_n "(cached) " >&6
60572 else
60573
60574
60575       ac_ext=cpp
60576 ac_cpp='$CXXCPP $CPPFLAGS'
60577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60580
60581       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60582 /* end confdefs.h.  */
60583 #include <math.h>
60584                       #ifdef HAVE_IEEEFP_H
60585                       #include <ieeefp.h>
60586                       #endif
60587
60588 int
60589 main ()
60590 {
60591  _log10f(0);
60592   ;
60593   return 0;
60594 }
60595 _ACEOF
60596 if ac_fn_cxx_try_compile "$LINENO"; then :
60597   glibcxx_cv_func__log10f_use=yes
60598 else
60599   glibcxx_cv_func__log10f_use=no
60600 fi
60601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60602       ac_ext=c
60603 ac_cpp='$CPP $CPPFLAGS'
60604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60607
60608
60609 fi
60610
60611   fi
60612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60613 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60614
60615     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60616       for ac_func in _log10f
60617 do :
60618   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60619 if test "x$ac_cv_func__log10f" = x""yes; then :
60620   cat >>confdefs.h <<_ACEOF
60621 #define HAVE__LOG10F 1
60622 _ACEOF
60623
60624 fi
60625 done
60626
60627     fi
60628   fi
60629
60630
60631
60632
60633
60634   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60635 $as_echo_n "checking for modff declaration... " >&6; }
60636   if test x${glibcxx_cv_func_modff_use+set} != xset; then
60637     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60638   $as_echo_n "(cached) " >&6
60639 else
60640
60641
60642       ac_ext=cpp
60643 ac_cpp='$CXXCPP $CPPFLAGS'
60644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60647
60648       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60649 /* end confdefs.h.  */
60650 #include <math.h>
60651 int
60652 main ()
60653 {
60654  modff(0, 0);
60655   ;
60656   return 0;
60657 }
60658 _ACEOF
60659 if ac_fn_cxx_try_compile "$LINENO"; then :
60660   glibcxx_cv_func_modff_use=yes
60661 else
60662   glibcxx_cv_func_modff_use=no
60663 fi
60664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60665       ac_ext=c
60666 ac_cpp='$CPP $CPPFLAGS'
60667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60670
60671
60672 fi
60673
60674   fi
60675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60676 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60677
60678   if test x$glibcxx_cv_func_modff_use = x"yes"; then
60679     for ac_func in modff
60680 do :
60681   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60682 if test "x$ac_cv_func_modff" = x""yes; then :
60683   cat >>confdefs.h <<_ACEOF
60684 #define HAVE_MODFF 1
60685 _ACEOF
60686
60687 fi
60688 done
60689
60690   else
60691
60692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60693 $as_echo_n "checking for _modff declaration... " >&6; }
60694   if test x${glibcxx_cv_func__modff_use+set} != xset; then
60695     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60696   $as_echo_n "(cached) " >&6
60697 else
60698
60699
60700       ac_ext=cpp
60701 ac_cpp='$CXXCPP $CPPFLAGS'
60702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60705
60706       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60707 /* end confdefs.h.  */
60708 #include <math.h>
60709 int
60710 main ()
60711 {
60712  _modff(0, 0);
60713   ;
60714   return 0;
60715 }
60716 _ACEOF
60717 if ac_fn_cxx_try_compile "$LINENO"; then :
60718   glibcxx_cv_func__modff_use=yes
60719 else
60720   glibcxx_cv_func__modff_use=no
60721 fi
60722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60723       ac_ext=c
60724 ac_cpp='$CPP $CPPFLAGS'
60725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60728
60729
60730 fi
60731
60732   fi
60733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60734 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60735
60736     if test x$glibcxx_cv_func__modff_use = x"yes"; then
60737       for ac_func in _modff
60738 do :
60739   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60740 if test "x$ac_cv_func__modff" = x""yes; then :
60741   cat >>confdefs.h <<_ACEOF
60742 #define HAVE__MODFF 1
60743 _ACEOF
60744
60745 fi
60746 done
60747
60748     fi
60749   fi
60750
60751
60752
60753
60754
60755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60756 $as_echo_n "checking for modf declaration... " >&6; }
60757   if test x${glibcxx_cv_func_modf_use+set} != xset; then
60758     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60759   $as_echo_n "(cached) " >&6
60760 else
60761
60762
60763       ac_ext=cpp
60764 ac_cpp='$CXXCPP $CPPFLAGS'
60765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60768
60769       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60770 /* end confdefs.h.  */
60771 #include <math.h>
60772 int
60773 main ()
60774 {
60775  modf(0, 0);
60776   ;
60777   return 0;
60778 }
60779 _ACEOF
60780 if ac_fn_cxx_try_compile "$LINENO"; then :
60781   glibcxx_cv_func_modf_use=yes
60782 else
60783   glibcxx_cv_func_modf_use=no
60784 fi
60785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60786       ac_ext=c
60787 ac_cpp='$CPP $CPPFLAGS'
60788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60791
60792
60793 fi
60794
60795   fi
60796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60797 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60798
60799   if test x$glibcxx_cv_func_modf_use = x"yes"; then
60800     for ac_func in modf
60801 do :
60802   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60803 if test "x$ac_cv_func_modf" = x""yes; then :
60804   cat >>confdefs.h <<_ACEOF
60805 #define HAVE_MODF 1
60806 _ACEOF
60807
60808 fi
60809 done
60810
60811   else
60812
60813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60814 $as_echo_n "checking for _modf declaration... " >&6; }
60815   if test x${glibcxx_cv_func__modf_use+set} != xset; then
60816     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60817   $as_echo_n "(cached) " >&6
60818 else
60819
60820
60821       ac_ext=cpp
60822 ac_cpp='$CXXCPP $CPPFLAGS'
60823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60826
60827       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60828 /* end confdefs.h.  */
60829 #include <math.h>
60830 int
60831 main ()
60832 {
60833  _modf(0, 0);
60834   ;
60835   return 0;
60836 }
60837 _ACEOF
60838 if ac_fn_cxx_try_compile "$LINENO"; then :
60839   glibcxx_cv_func__modf_use=yes
60840 else
60841   glibcxx_cv_func__modf_use=no
60842 fi
60843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60844       ac_ext=c
60845 ac_cpp='$CPP $CPPFLAGS'
60846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60849
60850
60851 fi
60852
60853   fi
60854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60855 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60856
60857     if test x$glibcxx_cv_func__modf_use = x"yes"; then
60858       for ac_func in _modf
60859 do :
60860   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60861 if test "x$ac_cv_func__modf" = x""yes; then :
60862   cat >>confdefs.h <<_ACEOF
60863 #define HAVE__MODF 1
60864 _ACEOF
60865
60866 fi
60867 done
60868
60869     fi
60870   fi
60871
60872
60873
60874
60875
60876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60877 $as_echo_n "checking for powf declaration... " >&6; }
60878   if test x${glibcxx_cv_func_powf_use+set} != xset; then
60879     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60880   $as_echo_n "(cached) " >&6
60881 else
60882
60883
60884       ac_ext=cpp
60885 ac_cpp='$CXXCPP $CPPFLAGS'
60886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60889
60890       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60891 /* end confdefs.h.  */
60892 #include <math.h>
60893 int
60894 main ()
60895 {
60896  powf(0, 0);
60897   ;
60898   return 0;
60899 }
60900 _ACEOF
60901 if ac_fn_cxx_try_compile "$LINENO"; then :
60902   glibcxx_cv_func_powf_use=yes
60903 else
60904   glibcxx_cv_func_powf_use=no
60905 fi
60906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60907       ac_ext=c
60908 ac_cpp='$CPP $CPPFLAGS'
60909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60912
60913
60914 fi
60915
60916   fi
60917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60918 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60919
60920   if test x$glibcxx_cv_func_powf_use = x"yes"; then
60921     for ac_func in powf
60922 do :
60923   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60924 if test "x$ac_cv_func_powf" = x""yes; then :
60925   cat >>confdefs.h <<_ACEOF
60926 #define HAVE_POWF 1
60927 _ACEOF
60928
60929 fi
60930 done
60931
60932   else
60933
60934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60935 $as_echo_n "checking for _powf declaration... " >&6; }
60936   if test x${glibcxx_cv_func__powf_use+set} != xset; then
60937     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60938   $as_echo_n "(cached) " >&6
60939 else
60940
60941
60942       ac_ext=cpp
60943 ac_cpp='$CXXCPP $CPPFLAGS'
60944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60947
60948       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60949 /* end confdefs.h.  */
60950 #include <math.h>
60951 int
60952 main ()
60953 {
60954  _powf(0, 0);
60955   ;
60956   return 0;
60957 }
60958 _ACEOF
60959 if ac_fn_cxx_try_compile "$LINENO"; then :
60960   glibcxx_cv_func__powf_use=yes
60961 else
60962   glibcxx_cv_func__powf_use=no
60963 fi
60964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60965       ac_ext=c
60966 ac_cpp='$CPP $CPPFLAGS'
60967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60970
60971
60972 fi
60973
60974   fi
60975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60976 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60977
60978     if test x$glibcxx_cv_func__powf_use = x"yes"; then
60979       for ac_func in _powf
60980 do :
60981   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60982 if test "x$ac_cv_func__powf" = x""yes; then :
60983   cat >>confdefs.h <<_ACEOF
60984 #define HAVE__POWF 1
60985 _ACEOF
60986
60987 fi
60988 done
60989
60990     fi
60991   fi
60992
60993
60994
60995
60996
60997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60998 $as_echo_n "checking for sqrtf declaration... " >&6; }
60999   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61000     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61001   $as_echo_n "(cached) " >&6
61002 else
61003
61004
61005       ac_ext=cpp
61006 ac_cpp='$CXXCPP $CPPFLAGS'
61007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61010
61011       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61012 /* end confdefs.h.  */
61013 #include <math.h>
61014                       #ifdef HAVE_IEEEFP_H
61015                       #include <ieeefp.h>
61016                       #endif
61017
61018 int
61019 main ()
61020 {
61021  sqrtf(0);
61022   ;
61023   return 0;
61024 }
61025 _ACEOF
61026 if ac_fn_cxx_try_compile "$LINENO"; then :
61027   glibcxx_cv_func_sqrtf_use=yes
61028 else
61029   glibcxx_cv_func_sqrtf_use=no
61030 fi
61031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61032       ac_ext=c
61033 ac_cpp='$CPP $CPPFLAGS'
61034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61037
61038
61039 fi
61040
61041   fi
61042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61043 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61044
61045   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61046     for ac_func in sqrtf
61047 do :
61048   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61049 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61050   cat >>confdefs.h <<_ACEOF
61051 #define HAVE_SQRTF 1
61052 _ACEOF
61053
61054 fi
61055 done
61056
61057   else
61058
61059   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61060 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61061   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61062     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61063   $as_echo_n "(cached) " >&6
61064 else
61065
61066
61067       ac_ext=cpp
61068 ac_cpp='$CXXCPP $CPPFLAGS'
61069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61072
61073       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61074 /* end confdefs.h.  */
61075 #include <math.h>
61076                       #ifdef HAVE_IEEEFP_H
61077                       #include <ieeefp.h>
61078                       #endif
61079
61080 int
61081 main ()
61082 {
61083  _sqrtf(0);
61084   ;
61085   return 0;
61086 }
61087 _ACEOF
61088 if ac_fn_cxx_try_compile "$LINENO"; then :
61089   glibcxx_cv_func__sqrtf_use=yes
61090 else
61091   glibcxx_cv_func__sqrtf_use=no
61092 fi
61093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61094       ac_ext=c
61095 ac_cpp='$CPP $CPPFLAGS'
61096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61099
61100
61101 fi
61102
61103   fi
61104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61105 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61106
61107     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61108       for ac_func in _sqrtf
61109 do :
61110   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61111 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61112   cat >>confdefs.h <<_ACEOF
61113 #define HAVE__SQRTF 1
61114 _ACEOF
61115
61116 fi
61117 done
61118
61119     fi
61120   fi
61121
61122
61123
61124
61125
61126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61127 $as_echo_n "checking for sincosf declaration... " >&6; }
61128   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61129     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61130   $as_echo_n "(cached) " >&6
61131 else
61132
61133
61134       ac_ext=cpp
61135 ac_cpp='$CXXCPP $CPPFLAGS'
61136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61139
61140       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61141 /* end confdefs.h.  */
61142 #include <math.h>
61143 int
61144 main ()
61145 {
61146  sincosf(0, 0, 0);
61147   ;
61148   return 0;
61149 }
61150 _ACEOF
61151 if ac_fn_cxx_try_compile "$LINENO"; then :
61152   glibcxx_cv_func_sincosf_use=yes
61153 else
61154   glibcxx_cv_func_sincosf_use=no
61155 fi
61156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61157       ac_ext=c
61158 ac_cpp='$CPP $CPPFLAGS'
61159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61162
61163
61164 fi
61165
61166   fi
61167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61168 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61169
61170   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61171     for ac_func in sincosf
61172 do :
61173   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61174 if test "x$ac_cv_func_sincosf" = x""yes; then :
61175   cat >>confdefs.h <<_ACEOF
61176 #define HAVE_SINCOSF 1
61177 _ACEOF
61178
61179 fi
61180 done
61181
61182   else
61183
61184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61185 $as_echo_n "checking for _sincosf declaration... " >&6; }
61186   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61187     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61188   $as_echo_n "(cached) " >&6
61189 else
61190
61191
61192       ac_ext=cpp
61193 ac_cpp='$CXXCPP $CPPFLAGS'
61194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61197
61198       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61199 /* end confdefs.h.  */
61200 #include <math.h>
61201 int
61202 main ()
61203 {
61204  _sincosf(0, 0, 0);
61205   ;
61206   return 0;
61207 }
61208 _ACEOF
61209 if ac_fn_cxx_try_compile "$LINENO"; then :
61210   glibcxx_cv_func__sincosf_use=yes
61211 else
61212   glibcxx_cv_func__sincosf_use=no
61213 fi
61214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61215       ac_ext=c
61216 ac_cpp='$CPP $CPPFLAGS'
61217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61220
61221
61222 fi
61223
61224   fi
61225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61226 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61227
61228     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61229       for ac_func in _sincosf
61230 do :
61231   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61232 if test "x$ac_cv_func__sincosf" = x""yes; then :
61233   cat >>confdefs.h <<_ACEOF
61234 #define HAVE__SINCOSF 1
61235 _ACEOF
61236
61237 fi
61238 done
61239
61240     fi
61241   fi
61242
61243
61244
61245
61246
61247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61248 $as_echo_n "checking for finitef declaration... " >&6; }
61249   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61250     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61251   $as_echo_n "(cached) " >&6
61252 else
61253
61254
61255       ac_ext=cpp
61256 ac_cpp='$CXXCPP $CPPFLAGS'
61257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61260
61261       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61262 /* end confdefs.h.  */
61263 #include <math.h>
61264                       #ifdef HAVE_IEEEFP_H
61265                       #include <ieeefp.h>
61266                       #endif
61267
61268 int
61269 main ()
61270 {
61271  finitef(0);
61272   ;
61273   return 0;
61274 }
61275 _ACEOF
61276 if ac_fn_cxx_try_compile "$LINENO"; then :
61277   glibcxx_cv_func_finitef_use=yes
61278 else
61279   glibcxx_cv_func_finitef_use=no
61280 fi
61281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61282       ac_ext=c
61283 ac_cpp='$CPP $CPPFLAGS'
61284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61287
61288
61289 fi
61290
61291   fi
61292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61293 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61294
61295   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61296     for ac_func in finitef
61297 do :
61298   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61299 if test "x$ac_cv_func_finitef" = x""yes; then :
61300   cat >>confdefs.h <<_ACEOF
61301 #define HAVE_FINITEF 1
61302 _ACEOF
61303
61304 fi
61305 done
61306
61307   else
61308
61309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61310 $as_echo_n "checking for _finitef declaration... " >&6; }
61311   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61312     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61313   $as_echo_n "(cached) " >&6
61314 else
61315
61316
61317       ac_ext=cpp
61318 ac_cpp='$CXXCPP $CPPFLAGS'
61319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61322
61323       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61324 /* end confdefs.h.  */
61325 #include <math.h>
61326                       #ifdef HAVE_IEEEFP_H
61327                       #include <ieeefp.h>
61328                       #endif
61329
61330 int
61331 main ()
61332 {
61333  _finitef(0);
61334   ;
61335   return 0;
61336 }
61337 _ACEOF
61338 if ac_fn_cxx_try_compile "$LINENO"; then :
61339   glibcxx_cv_func__finitef_use=yes
61340 else
61341   glibcxx_cv_func__finitef_use=no
61342 fi
61343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61344       ac_ext=c
61345 ac_cpp='$CPP $CPPFLAGS'
61346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61349
61350
61351 fi
61352
61353   fi
61354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61355 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61356
61357     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61358       for ac_func in _finitef
61359 do :
61360   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61361 if test "x$ac_cv_func__finitef" = x""yes; then :
61362   cat >>confdefs.h <<_ACEOF
61363 #define HAVE__FINITEF 1
61364 _ACEOF
61365
61366 fi
61367 done
61368
61369     fi
61370   fi
61371
61372
61373
61374
61375
61376     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61377 $as_echo_n "checking for long double trig functions... " >&6; }
61378   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61379   $as_echo_n "(cached) " >&6
61380 else
61381
61382
61383     ac_ext=cpp
61384 ac_cpp='$CXXCPP $CPPFLAGS'
61385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61388
61389     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61390 /* end confdefs.h.  */
61391 #include <math.h>
61392 int
61393 main ()
61394 {
61395 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61396   ;
61397   return 0;
61398 }
61399 _ACEOF
61400 if ac_fn_cxx_try_compile "$LINENO"; then :
61401   glibcxx_cv_func_long_double_trig_use=yes
61402 else
61403   glibcxx_cv_func_long_double_trig_use=no
61404 fi
61405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61406     ac_ext=c
61407 ac_cpp='$CPP $CPPFLAGS'
61408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61411
61412 fi
61413
61414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61415 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61416   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61417     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61418 do :
61419   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61420 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61421 eval as_val=\$$as_ac_var
61422    if test "x$as_val" = x""yes; then :
61423   cat >>confdefs.h <<_ACEOF
61424 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61425 _ACEOF
61426
61427 fi
61428 done
61429
61430   else
61431     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61432 $as_echo_n "checking for _long double trig functions... " >&6; }
61433     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61434   $as_echo_n "(cached) " >&6
61435 else
61436
61437
61438       ac_ext=cpp
61439 ac_cpp='$CXXCPP $CPPFLAGS'
61440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61443
61444       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61445 /* end confdefs.h.  */
61446 #include <math.h>
61447 int
61448 main ()
61449 {
61450 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61451   ;
61452   return 0;
61453 }
61454 _ACEOF
61455 if ac_fn_cxx_try_compile "$LINENO"; then :
61456   glibcxx_cv_func__long_double_trig_use=yes
61457 else
61458   glibcxx_cv_func__long_double_trig_use=no
61459 fi
61460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61461       ac_ext=c
61462 ac_cpp='$CPP $CPPFLAGS'
61463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61466
61467 fi
61468
61469     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61470 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61471     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61472       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61473 do :
61474   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61475 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61476 eval as_val=\$$as_ac_var
61477    if test "x$as_val" = x""yes; then :
61478   cat >>confdefs.h <<_ACEOF
61479 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61480 _ACEOF
61481
61482 fi
61483 done
61484
61485     fi
61486   fi
61487
61488
61489
61490
61491
61492     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61493 $as_echo_n "checking for long double round functions... " >&6; }
61494   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61495   $as_echo_n "(cached) " >&6
61496 else
61497
61498
61499     ac_ext=cpp
61500 ac_cpp='$CXXCPP $CPPFLAGS'
61501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61504
61505     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61506 /* end confdefs.h.  */
61507 #include <math.h>
61508 int
61509 main ()
61510 {
61511 ceill (0); floorl (0);
61512   ;
61513   return 0;
61514 }
61515 _ACEOF
61516 if ac_fn_cxx_try_compile "$LINENO"; then :
61517   glibcxx_cv_func_long_double_round_use=yes
61518 else
61519   glibcxx_cv_func_long_double_round_use=no
61520 fi
61521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61522     ac_ext=c
61523 ac_cpp='$CPP $CPPFLAGS'
61524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61527
61528 fi
61529
61530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61531 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61532   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61533     for ac_func in ceill floorl
61534 do :
61535   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61536 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61537 eval as_val=\$$as_ac_var
61538    if test "x$as_val" = x""yes; then :
61539   cat >>confdefs.h <<_ACEOF
61540 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61541 _ACEOF
61542
61543 fi
61544 done
61545
61546   else
61547     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61548 $as_echo_n "checking for _long double round functions... " >&6; }
61549     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61550   $as_echo_n "(cached) " >&6
61551 else
61552
61553
61554       ac_ext=cpp
61555 ac_cpp='$CXXCPP $CPPFLAGS'
61556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61559
61560       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61561 /* end confdefs.h.  */
61562 #include <math.h>
61563 int
61564 main ()
61565 {
61566 _ceill (0); _floorl (0);
61567   ;
61568   return 0;
61569 }
61570 _ACEOF
61571 if ac_fn_cxx_try_compile "$LINENO"; then :
61572   glibcxx_cv_func__long_double_round_use=yes
61573 else
61574   glibcxx_cv_func__long_double_round_use=no
61575 fi
61576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61577       ac_ext=c
61578 ac_cpp='$CPP $CPPFLAGS'
61579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61582
61583 fi
61584
61585     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61586 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61587     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61588       for ac_func in _ceill _floorl
61589 do :
61590   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61591 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61592 eval as_val=\$$as_ac_var
61593    if test "x$as_val" = x""yes; then :
61594   cat >>confdefs.h <<_ACEOF
61595 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61596 _ACEOF
61597
61598 fi
61599 done
61600
61601     fi
61602   fi
61603
61604
61605
61606
61607
61608
61609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61610 $as_echo_n "checking for isnanl declaration... " >&6; }
61611   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61612     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61613   $as_echo_n "(cached) " >&6
61614 else
61615
61616
61617       ac_ext=cpp
61618 ac_cpp='$CXXCPP $CPPFLAGS'
61619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61622
61623       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61624 /* end confdefs.h.  */
61625 #include <math.h>
61626                       #ifdef HAVE_IEEEFP_H
61627                       #include <ieeefp.h>
61628                       #endif
61629
61630 int
61631 main ()
61632 {
61633  isnanl(0);
61634   ;
61635   return 0;
61636 }
61637 _ACEOF
61638 if ac_fn_cxx_try_compile "$LINENO"; then :
61639   glibcxx_cv_func_isnanl_use=yes
61640 else
61641   glibcxx_cv_func_isnanl_use=no
61642 fi
61643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61644       ac_ext=c
61645 ac_cpp='$CPP $CPPFLAGS'
61646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61649
61650
61651 fi
61652
61653   fi
61654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61655 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61656
61657   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61658     for ac_func in isnanl
61659 do :
61660   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61661 if test "x$ac_cv_func_isnanl" = x""yes; then :
61662   cat >>confdefs.h <<_ACEOF
61663 #define HAVE_ISNANL 1
61664 _ACEOF
61665
61666 fi
61667 done
61668
61669   else
61670
61671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61672 $as_echo_n "checking for _isnanl declaration... " >&6; }
61673   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61674     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61675   $as_echo_n "(cached) " >&6
61676 else
61677
61678
61679       ac_ext=cpp
61680 ac_cpp='$CXXCPP $CPPFLAGS'
61681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61684
61685       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61686 /* end confdefs.h.  */
61687 #include <math.h>
61688                       #ifdef HAVE_IEEEFP_H
61689                       #include <ieeefp.h>
61690                       #endif
61691
61692 int
61693 main ()
61694 {
61695  _isnanl(0);
61696   ;
61697   return 0;
61698 }
61699 _ACEOF
61700 if ac_fn_cxx_try_compile "$LINENO"; then :
61701   glibcxx_cv_func__isnanl_use=yes
61702 else
61703   glibcxx_cv_func__isnanl_use=no
61704 fi
61705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61706       ac_ext=c
61707 ac_cpp='$CPP $CPPFLAGS'
61708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61711
61712
61713 fi
61714
61715   fi
61716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61717 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61718
61719     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61720       for ac_func in _isnanl
61721 do :
61722   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61723 if test "x$ac_cv_func__isnanl" = x""yes; then :
61724   cat >>confdefs.h <<_ACEOF
61725 #define HAVE__ISNANL 1
61726 _ACEOF
61727
61728 fi
61729 done
61730
61731     fi
61732   fi
61733
61734
61735
61736
61737
61738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61739 $as_echo_n "checking for isinfl declaration... " >&6; }
61740   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61741     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61742   $as_echo_n "(cached) " >&6
61743 else
61744
61745
61746       ac_ext=cpp
61747 ac_cpp='$CXXCPP $CPPFLAGS'
61748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61751
61752       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61753 /* end confdefs.h.  */
61754 #include <math.h>
61755                       #ifdef HAVE_IEEEFP_H
61756                       #include <ieeefp.h>
61757                       #endif
61758
61759 int
61760 main ()
61761 {
61762  isinfl(0);
61763   ;
61764   return 0;
61765 }
61766 _ACEOF
61767 if ac_fn_cxx_try_compile "$LINENO"; then :
61768   glibcxx_cv_func_isinfl_use=yes
61769 else
61770   glibcxx_cv_func_isinfl_use=no
61771 fi
61772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61773       ac_ext=c
61774 ac_cpp='$CPP $CPPFLAGS'
61775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61778
61779
61780 fi
61781
61782   fi
61783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61784 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61785
61786   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61787     for ac_func in isinfl
61788 do :
61789   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61790 if test "x$ac_cv_func_isinfl" = x""yes; then :
61791   cat >>confdefs.h <<_ACEOF
61792 #define HAVE_ISINFL 1
61793 _ACEOF
61794
61795 fi
61796 done
61797
61798   else
61799
61800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61801 $as_echo_n "checking for _isinfl declaration... " >&6; }
61802   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61803     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61804   $as_echo_n "(cached) " >&6
61805 else
61806
61807
61808       ac_ext=cpp
61809 ac_cpp='$CXXCPP $CPPFLAGS'
61810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61813
61814       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61815 /* end confdefs.h.  */
61816 #include <math.h>
61817                       #ifdef HAVE_IEEEFP_H
61818                       #include <ieeefp.h>
61819                       #endif
61820
61821 int
61822 main ()
61823 {
61824  _isinfl(0);
61825   ;
61826   return 0;
61827 }
61828 _ACEOF
61829 if ac_fn_cxx_try_compile "$LINENO"; then :
61830   glibcxx_cv_func__isinfl_use=yes
61831 else
61832   glibcxx_cv_func__isinfl_use=no
61833 fi
61834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61835       ac_ext=c
61836 ac_cpp='$CPP $CPPFLAGS'
61837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61840
61841
61842 fi
61843
61844   fi
61845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61846 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61847
61848     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61849       for ac_func in _isinfl
61850 do :
61851   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61852 if test "x$ac_cv_func__isinfl" = x""yes; then :
61853   cat >>confdefs.h <<_ACEOF
61854 #define HAVE__ISINFL 1
61855 _ACEOF
61856
61857 fi
61858 done
61859
61860     fi
61861   fi
61862
61863
61864
61865
61866
61867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61868 $as_echo_n "checking for atan2l declaration... " >&6; }
61869   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61870     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61871   $as_echo_n "(cached) " >&6
61872 else
61873
61874
61875       ac_ext=cpp
61876 ac_cpp='$CXXCPP $CPPFLAGS'
61877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61880
61881       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61882 /* end confdefs.h.  */
61883 #include <math.h>
61884 int
61885 main ()
61886 {
61887  atan2l(0, 0);
61888   ;
61889   return 0;
61890 }
61891 _ACEOF
61892 if ac_fn_cxx_try_compile "$LINENO"; then :
61893   glibcxx_cv_func_atan2l_use=yes
61894 else
61895   glibcxx_cv_func_atan2l_use=no
61896 fi
61897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61898       ac_ext=c
61899 ac_cpp='$CPP $CPPFLAGS'
61900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61903
61904
61905 fi
61906
61907   fi
61908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61909 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61910
61911   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61912     for ac_func in atan2l
61913 do :
61914   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61915 if test "x$ac_cv_func_atan2l" = x""yes; then :
61916   cat >>confdefs.h <<_ACEOF
61917 #define HAVE_ATAN2L 1
61918 _ACEOF
61919
61920 fi
61921 done
61922
61923   else
61924
61925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61926 $as_echo_n "checking for _atan2l declaration... " >&6; }
61927   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61928     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61929   $as_echo_n "(cached) " >&6
61930 else
61931
61932
61933       ac_ext=cpp
61934 ac_cpp='$CXXCPP $CPPFLAGS'
61935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61938
61939       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61940 /* end confdefs.h.  */
61941 #include <math.h>
61942 int
61943 main ()
61944 {
61945  _atan2l(0, 0);
61946   ;
61947   return 0;
61948 }
61949 _ACEOF
61950 if ac_fn_cxx_try_compile "$LINENO"; then :
61951   glibcxx_cv_func__atan2l_use=yes
61952 else
61953   glibcxx_cv_func__atan2l_use=no
61954 fi
61955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61956       ac_ext=c
61957 ac_cpp='$CPP $CPPFLAGS'
61958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61961
61962
61963 fi
61964
61965   fi
61966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61967 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61968
61969     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61970       for ac_func in _atan2l
61971 do :
61972   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61973 if test "x$ac_cv_func__atan2l" = x""yes; then :
61974   cat >>confdefs.h <<_ACEOF
61975 #define HAVE__ATAN2L 1
61976 _ACEOF
61977
61978 fi
61979 done
61980
61981     fi
61982   fi
61983
61984
61985
61986
61987
61988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61989 $as_echo_n "checking for expl declaration... " >&6; }
61990   if test x${glibcxx_cv_func_expl_use+set} != xset; then
61991     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61992   $as_echo_n "(cached) " >&6
61993 else
61994
61995
61996       ac_ext=cpp
61997 ac_cpp='$CXXCPP $CPPFLAGS'
61998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62001
62002       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62003 /* end confdefs.h.  */
62004 #include <math.h>
62005                       #ifdef HAVE_IEEEFP_H
62006                       #include <ieeefp.h>
62007                       #endif
62008
62009 int
62010 main ()
62011 {
62012  expl(0);
62013   ;
62014   return 0;
62015 }
62016 _ACEOF
62017 if ac_fn_cxx_try_compile "$LINENO"; then :
62018   glibcxx_cv_func_expl_use=yes
62019 else
62020   glibcxx_cv_func_expl_use=no
62021 fi
62022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62023       ac_ext=c
62024 ac_cpp='$CPP $CPPFLAGS'
62025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62028
62029
62030 fi
62031
62032   fi
62033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62034 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62035
62036   if test x$glibcxx_cv_func_expl_use = x"yes"; then
62037     for ac_func in expl
62038 do :
62039   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62040 if test "x$ac_cv_func_expl" = x""yes; then :
62041   cat >>confdefs.h <<_ACEOF
62042 #define HAVE_EXPL 1
62043 _ACEOF
62044
62045 fi
62046 done
62047
62048   else
62049
62050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62051 $as_echo_n "checking for _expl declaration... " >&6; }
62052   if test x${glibcxx_cv_func__expl_use+set} != xset; then
62053     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62054   $as_echo_n "(cached) " >&6
62055 else
62056
62057
62058       ac_ext=cpp
62059 ac_cpp='$CXXCPP $CPPFLAGS'
62060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62063
62064       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62065 /* end confdefs.h.  */
62066 #include <math.h>
62067                       #ifdef HAVE_IEEEFP_H
62068                       #include <ieeefp.h>
62069                       #endif
62070
62071 int
62072 main ()
62073 {
62074  _expl(0);
62075   ;
62076   return 0;
62077 }
62078 _ACEOF
62079 if ac_fn_cxx_try_compile "$LINENO"; then :
62080   glibcxx_cv_func__expl_use=yes
62081 else
62082   glibcxx_cv_func__expl_use=no
62083 fi
62084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62085       ac_ext=c
62086 ac_cpp='$CPP $CPPFLAGS'
62087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62090
62091
62092 fi
62093
62094   fi
62095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62096 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62097
62098     if test x$glibcxx_cv_func__expl_use = x"yes"; then
62099       for ac_func in _expl
62100 do :
62101   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62102 if test "x$ac_cv_func__expl" = x""yes; then :
62103   cat >>confdefs.h <<_ACEOF
62104 #define HAVE__EXPL 1
62105 _ACEOF
62106
62107 fi
62108 done
62109
62110     fi
62111   fi
62112
62113
62114
62115
62116
62117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62118 $as_echo_n "checking for fabsl declaration... " >&6; }
62119   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62120     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62121   $as_echo_n "(cached) " >&6
62122 else
62123
62124
62125       ac_ext=cpp
62126 ac_cpp='$CXXCPP $CPPFLAGS'
62127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62130
62131       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62132 /* end confdefs.h.  */
62133 #include <math.h>
62134                       #ifdef HAVE_IEEEFP_H
62135                       #include <ieeefp.h>
62136                       #endif
62137
62138 int
62139 main ()
62140 {
62141  fabsl(0);
62142   ;
62143   return 0;
62144 }
62145 _ACEOF
62146 if ac_fn_cxx_try_compile "$LINENO"; then :
62147   glibcxx_cv_func_fabsl_use=yes
62148 else
62149   glibcxx_cv_func_fabsl_use=no
62150 fi
62151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62152       ac_ext=c
62153 ac_cpp='$CPP $CPPFLAGS'
62154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62157
62158
62159 fi
62160
62161   fi
62162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62163 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62164
62165   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62166     for ac_func in fabsl
62167 do :
62168   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62169 if test "x$ac_cv_func_fabsl" = x""yes; then :
62170   cat >>confdefs.h <<_ACEOF
62171 #define HAVE_FABSL 1
62172 _ACEOF
62173
62174 fi
62175 done
62176
62177   else
62178
62179   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62180 $as_echo_n "checking for _fabsl declaration... " >&6; }
62181   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62182     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62183   $as_echo_n "(cached) " >&6
62184 else
62185
62186
62187       ac_ext=cpp
62188 ac_cpp='$CXXCPP $CPPFLAGS'
62189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62192
62193       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62194 /* end confdefs.h.  */
62195 #include <math.h>
62196                       #ifdef HAVE_IEEEFP_H
62197                       #include <ieeefp.h>
62198                       #endif
62199
62200 int
62201 main ()
62202 {
62203  _fabsl(0);
62204   ;
62205   return 0;
62206 }
62207 _ACEOF
62208 if ac_fn_cxx_try_compile "$LINENO"; then :
62209   glibcxx_cv_func__fabsl_use=yes
62210 else
62211   glibcxx_cv_func__fabsl_use=no
62212 fi
62213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62214       ac_ext=c
62215 ac_cpp='$CPP $CPPFLAGS'
62216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62219
62220
62221 fi
62222
62223   fi
62224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62225 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62226
62227     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62228       for ac_func in _fabsl
62229 do :
62230   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62231 if test "x$ac_cv_func__fabsl" = x""yes; then :
62232   cat >>confdefs.h <<_ACEOF
62233 #define HAVE__FABSL 1
62234 _ACEOF
62235
62236 fi
62237 done
62238
62239     fi
62240   fi
62241
62242
62243
62244
62245
62246   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62247 $as_echo_n "checking for fmodl declaration... " >&6; }
62248   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62249     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62250   $as_echo_n "(cached) " >&6
62251 else
62252
62253
62254       ac_ext=cpp
62255 ac_cpp='$CXXCPP $CPPFLAGS'
62256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62259
62260       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62261 /* end confdefs.h.  */
62262 #include <math.h>
62263 int
62264 main ()
62265 {
62266  fmodl(0, 0);
62267   ;
62268   return 0;
62269 }
62270 _ACEOF
62271 if ac_fn_cxx_try_compile "$LINENO"; then :
62272   glibcxx_cv_func_fmodl_use=yes
62273 else
62274   glibcxx_cv_func_fmodl_use=no
62275 fi
62276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62277       ac_ext=c
62278 ac_cpp='$CPP $CPPFLAGS'
62279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62282
62283
62284 fi
62285
62286   fi
62287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62288 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62289
62290   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62291     for ac_func in fmodl
62292 do :
62293   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62294 if test "x$ac_cv_func_fmodl" = x""yes; then :
62295   cat >>confdefs.h <<_ACEOF
62296 #define HAVE_FMODL 1
62297 _ACEOF
62298
62299 fi
62300 done
62301
62302   else
62303
62304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62305 $as_echo_n "checking for _fmodl declaration... " >&6; }
62306   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62307     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62308   $as_echo_n "(cached) " >&6
62309 else
62310
62311
62312       ac_ext=cpp
62313 ac_cpp='$CXXCPP $CPPFLAGS'
62314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62317
62318       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62319 /* end confdefs.h.  */
62320 #include <math.h>
62321 int
62322 main ()
62323 {
62324  _fmodl(0, 0);
62325   ;
62326   return 0;
62327 }
62328 _ACEOF
62329 if ac_fn_cxx_try_compile "$LINENO"; then :
62330   glibcxx_cv_func__fmodl_use=yes
62331 else
62332   glibcxx_cv_func__fmodl_use=no
62333 fi
62334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62335       ac_ext=c
62336 ac_cpp='$CPP $CPPFLAGS'
62337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62340
62341
62342 fi
62343
62344   fi
62345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62346 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62347
62348     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62349       for ac_func in _fmodl
62350 do :
62351   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62352 if test "x$ac_cv_func__fmodl" = x""yes; then :
62353   cat >>confdefs.h <<_ACEOF
62354 #define HAVE__FMODL 1
62355 _ACEOF
62356
62357 fi
62358 done
62359
62360     fi
62361   fi
62362
62363
62364
62365
62366
62367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62368 $as_echo_n "checking for frexpl declaration... " >&6; }
62369   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62370     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62371   $as_echo_n "(cached) " >&6
62372 else
62373
62374
62375       ac_ext=cpp
62376 ac_cpp='$CXXCPP $CPPFLAGS'
62377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62380
62381       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62382 /* end confdefs.h.  */
62383 #include <math.h>
62384 int
62385 main ()
62386 {
62387  frexpl(0, 0);
62388   ;
62389   return 0;
62390 }
62391 _ACEOF
62392 if ac_fn_cxx_try_compile "$LINENO"; then :
62393   glibcxx_cv_func_frexpl_use=yes
62394 else
62395   glibcxx_cv_func_frexpl_use=no
62396 fi
62397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62398       ac_ext=c
62399 ac_cpp='$CPP $CPPFLAGS'
62400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62403
62404
62405 fi
62406
62407   fi
62408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62409 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62410
62411   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62412     for ac_func in frexpl
62413 do :
62414   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62415 if test "x$ac_cv_func_frexpl" = x""yes; then :
62416   cat >>confdefs.h <<_ACEOF
62417 #define HAVE_FREXPL 1
62418 _ACEOF
62419
62420 fi
62421 done
62422
62423   else
62424
62425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62426 $as_echo_n "checking for _frexpl declaration... " >&6; }
62427   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62428     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62429   $as_echo_n "(cached) " >&6
62430 else
62431
62432
62433       ac_ext=cpp
62434 ac_cpp='$CXXCPP $CPPFLAGS'
62435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62438
62439       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62440 /* end confdefs.h.  */
62441 #include <math.h>
62442 int
62443 main ()
62444 {
62445  _frexpl(0, 0);
62446   ;
62447   return 0;
62448 }
62449 _ACEOF
62450 if ac_fn_cxx_try_compile "$LINENO"; then :
62451   glibcxx_cv_func__frexpl_use=yes
62452 else
62453   glibcxx_cv_func__frexpl_use=no
62454 fi
62455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62456       ac_ext=c
62457 ac_cpp='$CPP $CPPFLAGS'
62458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62461
62462
62463 fi
62464
62465   fi
62466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62467 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62468
62469     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62470       for ac_func in _frexpl
62471 do :
62472   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62473 if test "x$ac_cv_func__frexpl" = x""yes; then :
62474   cat >>confdefs.h <<_ACEOF
62475 #define HAVE__FREXPL 1
62476 _ACEOF
62477
62478 fi
62479 done
62480
62481     fi
62482   fi
62483
62484
62485
62486
62487
62488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62489 $as_echo_n "checking for hypotl declaration... " >&6; }
62490   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62491     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62492   $as_echo_n "(cached) " >&6
62493 else
62494
62495
62496       ac_ext=cpp
62497 ac_cpp='$CXXCPP $CPPFLAGS'
62498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62501
62502       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62503 /* end confdefs.h.  */
62504 #include <math.h>
62505 int
62506 main ()
62507 {
62508  hypotl(0, 0);
62509   ;
62510   return 0;
62511 }
62512 _ACEOF
62513 if ac_fn_cxx_try_compile "$LINENO"; then :
62514   glibcxx_cv_func_hypotl_use=yes
62515 else
62516   glibcxx_cv_func_hypotl_use=no
62517 fi
62518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62519       ac_ext=c
62520 ac_cpp='$CPP $CPPFLAGS'
62521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62524
62525
62526 fi
62527
62528   fi
62529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62530 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62531
62532   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62533     for ac_func in hypotl
62534 do :
62535   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62536 if test "x$ac_cv_func_hypotl" = x""yes; then :
62537   cat >>confdefs.h <<_ACEOF
62538 #define HAVE_HYPOTL 1
62539 _ACEOF
62540
62541 fi
62542 done
62543
62544   else
62545
62546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62547 $as_echo_n "checking for _hypotl declaration... " >&6; }
62548   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62549     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62550   $as_echo_n "(cached) " >&6
62551 else
62552
62553
62554       ac_ext=cpp
62555 ac_cpp='$CXXCPP $CPPFLAGS'
62556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62559
62560       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62561 /* end confdefs.h.  */
62562 #include <math.h>
62563 int
62564 main ()
62565 {
62566  _hypotl(0, 0);
62567   ;
62568   return 0;
62569 }
62570 _ACEOF
62571 if ac_fn_cxx_try_compile "$LINENO"; then :
62572   glibcxx_cv_func__hypotl_use=yes
62573 else
62574   glibcxx_cv_func__hypotl_use=no
62575 fi
62576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62577       ac_ext=c
62578 ac_cpp='$CPP $CPPFLAGS'
62579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62582
62583
62584 fi
62585
62586   fi
62587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62588 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62589
62590     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62591       for ac_func in _hypotl
62592 do :
62593   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62594 if test "x$ac_cv_func__hypotl" = x""yes; then :
62595   cat >>confdefs.h <<_ACEOF
62596 #define HAVE__HYPOTL 1
62597 _ACEOF
62598
62599 fi
62600 done
62601
62602     fi
62603   fi
62604
62605
62606
62607
62608
62609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62610 $as_echo_n "checking for ldexpl declaration... " >&6; }
62611   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62612     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62613   $as_echo_n "(cached) " >&6
62614 else
62615
62616
62617       ac_ext=cpp
62618 ac_cpp='$CXXCPP $CPPFLAGS'
62619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62622
62623       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62624 /* end confdefs.h.  */
62625 #include <math.h>
62626 int
62627 main ()
62628 {
62629  ldexpl(0, 0);
62630   ;
62631   return 0;
62632 }
62633 _ACEOF
62634 if ac_fn_cxx_try_compile "$LINENO"; then :
62635   glibcxx_cv_func_ldexpl_use=yes
62636 else
62637   glibcxx_cv_func_ldexpl_use=no
62638 fi
62639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62640       ac_ext=c
62641 ac_cpp='$CPP $CPPFLAGS'
62642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62645
62646
62647 fi
62648
62649   fi
62650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62651 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62652
62653   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62654     for ac_func in ldexpl
62655 do :
62656   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62657 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62658   cat >>confdefs.h <<_ACEOF
62659 #define HAVE_LDEXPL 1
62660 _ACEOF
62661
62662 fi
62663 done
62664
62665   else
62666
62667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62668 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62669   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62670     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62671   $as_echo_n "(cached) " >&6
62672 else
62673
62674
62675       ac_ext=cpp
62676 ac_cpp='$CXXCPP $CPPFLAGS'
62677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62680
62681       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62682 /* end confdefs.h.  */
62683 #include <math.h>
62684 int
62685 main ()
62686 {
62687  _ldexpl(0, 0);
62688   ;
62689   return 0;
62690 }
62691 _ACEOF
62692 if ac_fn_cxx_try_compile "$LINENO"; then :
62693   glibcxx_cv_func__ldexpl_use=yes
62694 else
62695   glibcxx_cv_func__ldexpl_use=no
62696 fi
62697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62698       ac_ext=c
62699 ac_cpp='$CPP $CPPFLAGS'
62700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62703
62704
62705 fi
62706
62707   fi
62708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62709 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62710
62711     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62712       for ac_func in _ldexpl
62713 do :
62714   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62715 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62716   cat >>confdefs.h <<_ACEOF
62717 #define HAVE__LDEXPL 1
62718 _ACEOF
62719
62720 fi
62721 done
62722
62723     fi
62724   fi
62725
62726
62727
62728
62729
62730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62731 $as_echo_n "checking for logl declaration... " >&6; }
62732   if test x${glibcxx_cv_func_logl_use+set} != xset; then
62733     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62734   $as_echo_n "(cached) " >&6
62735 else
62736
62737
62738       ac_ext=cpp
62739 ac_cpp='$CXXCPP $CPPFLAGS'
62740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62743
62744       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62745 /* end confdefs.h.  */
62746 #include <math.h>
62747                       #ifdef HAVE_IEEEFP_H
62748                       #include <ieeefp.h>
62749                       #endif
62750
62751 int
62752 main ()
62753 {
62754  logl(0);
62755   ;
62756   return 0;
62757 }
62758 _ACEOF
62759 if ac_fn_cxx_try_compile "$LINENO"; then :
62760   glibcxx_cv_func_logl_use=yes
62761 else
62762   glibcxx_cv_func_logl_use=no
62763 fi
62764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62765       ac_ext=c
62766 ac_cpp='$CPP $CPPFLAGS'
62767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62770
62771
62772 fi
62773
62774   fi
62775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62776 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62777
62778   if test x$glibcxx_cv_func_logl_use = x"yes"; then
62779     for ac_func in logl
62780 do :
62781   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62782 if test "x$ac_cv_func_logl" = x""yes; then :
62783   cat >>confdefs.h <<_ACEOF
62784 #define HAVE_LOGL 1
62785 _ACEOF
62786
62787 fi
62788 done
62789
62790   else
62791
62792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62793 $as_echo_n "checking for _logl declaration... " >&6; }
62794   if test x${glibcxx_cv_func__logl_use+set} != xset; then
62795     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62796   $as_echo_n "(cached) " >&6
62797 else
62798
62799
62800       ac_ext=cpp
62801 ac_cpp='$CXXCPP $CPPFLAGS'
62802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62805
62806       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62807 /* end confdefs.h.  */
62808 #include <math.h>
62809                       #ifdef HAVE_IEEEFP_H
62810                       #include <ieeefp.h>
62811                       #endif
62812
62813 int
62814 main ()
62815 {
62816  _logl(0);
62817   ;
62818   return 0;
62819 }
62820 _ACEOF
62821 if ac_fn_cxx_try_compile "$LINENO"; then :
62822   glibcxx_cv_func__logl_use=yes
62823 else
62824   glibcxx_cv_func__logl_use=no
62825 fi
62826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62827       ac_ext=c
62828 ac_cpp='$CPP $CPPFLAGS'
62829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62832
62833
62834 fi
62835
62836   fi
62837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62838 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62839
62840     if test x$glibcxx_cv_func__logl_use = x"yes"; then
62841       for ac_func in _logl
62842 do :
62843   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62844 if test "x$ac_cv_func__logl" = x""yes; then :
62845   cat >>confdefs.h <<_ACEOF
62846 #define HAVE__LOGL 1
62847 _ACEOF
62848
62849 fi
62850 done
62851
62852     fi
62853   fi
62854
62855
62856
62857
62858
62859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62860 $as_echo_n "checking for log10l declaration... " >&6; }
62861   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62862     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62863   $as_echo_n "(cached) " >&6
62864 else
62865
62866
62867       ac_ext=cpp
62868 ac_cpp='$CXXCPP $CPPFLAGS'
62869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62872
62873       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62874 /* end confdefs.h.  */
62875 #include <math.h>
62876                       #ifdef HAVE_IEEEFP_H
62877                       #include <ieeefp.h>
62878                       #endif
62879
62880 int
62881 main ()
62882 {
62883  log10l(0);
62884   ;
62885   return 0;
62886 }
62887 _ACEOF
62888 if ac_fn_cxx_try_compile "$LINENO"; then :
62889   glibcxx_cv_func_log10l_use=yes
62890 else
62891   glibcxx_cv_func_log10l_use=no
62892 fi
62893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62894       ac_ext=c
62895 ac_cpp='$CPP $CPPFLAGS'
62896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62899
62900
62901 fi
62902
62903   fi
62904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62905 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62906
62907   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62908     for ac_func in log10l
62909 do :
62910   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62911 if test "x$ac_cv_func_log10l" = x""yes; then :
62912   cat >>confdefs.h <<_ACEOF
62913 #define HAVE_LOG10L 1
62914 _ACEOF
62915
62916 fi
62917 done
62918
62919   else
62920
62921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62922 $as_echo_n "checking for _log10l declaration... " >&6; }
62923   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62924     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62925   $as_echo_n "(cached) " >&6
62926 else
62927
62928
62929       ac_ext=cpp
62930 ac_cpp='$CXXCPP $CPPFLAGS'
62931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62934
62935       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62936 /* end confdefs.h.  */
62937 #include <math.h>
62938                       #ifdef HAVE_IEEEFP_H
62939                       #include <ieeefp.h>
62940                       #endif
62941
62942 int
62943 main ()
62944 {
62945  _log10l(0);
62946   ;
62947   return 0;
62948 }
62949 _ACEOF
62950 if ac_fn_cxx_try_compile "$LINENO"; then :
62951   glibcxx_cv_func__log10l_use=yes
62952 else
62953   glibcxx_cv_func__log10l_use=no
62954 fi
62955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62956       ac_ext=c
62957 ac_cpp='$CPP $CPPFLAGS'
62958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62961
62962
62963 fi
62964
62965   fi
62966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62967 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62968
62969     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62970       for ac_func in _log10l
62971 do :
62972   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62973 if test "x$ac_cv_func__log10l" = x""yes; then :
62974   cat >>confdefs.h <<_ACEOF
62975 #define HAVE__LOG10L 1
62976 _ACEOF
62977
62978 fi
62979 done
62980
62981     fi
62982   fi
62983
62984
62985
62986
62987
62988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62989 $as_echo_n "checking for modfl declaration... " >&6; }
62990   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62991     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62992   $as_echo_n "(cached) " >&6
62993 else
62994
62995
62996       ac_ext=cpp
62997 ac_cpp='$CXXCPP $CPPFLAGS'
62998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63001
63002       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63003 /* end confdefs.h.  */
63004 #include <math.h>
63005 int
63006 main ()
63007 {
63008  modfl(0, 0);
63009   ;
63010   return 0;
63011 }
63012 _ACEOF
63013 if ac_fn_cxx_try_compile "$LINENO"; then :
63014   glibcxx_cv_func_modfl_use=yes
63015 else
63016   glibcxx_cv_func_modfl_use=no
63017 fi
63018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63019       ac_ext=c
63020 ac_cpp='$CPP $CPPFLAGS'
63021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63024
63025
63026 fi
63027
63028   fi
63029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63030 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63031
63032   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63033     for ac_func in modfl
63034 do :
63035   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63036 if test "x$ac_cv_func_modfl" = x""yes; then :
63037   cat >>confdefs.h <<_ACEOF
63038 #define HAVE_MODFL 1
63039 _ACEOF
63040
63041 fi
63042 done
63043
63044   else
63045
63046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63047 $as_echo_n "checking for _modfl declaration... " >&6; }
63048   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63049     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63050   $as_echo_n "(cached) " >&6
63051 else
63052
63053
63054       ac_ext=cpp
63055 ac_cpp='$CXXCPP $CPPFLAGS'
63056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63059
63060       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63061 /* end confdefs.h.  */
63062 #include <math.h>
63063 int
63064 main ()
63065 {
63066  _modfl(0, 0);
63067   ;
63068   return 0;
63069 }
63070 _ACEOF
63071 if ac_fn_cxx_try_compile "$LINENO"; then :
63072   glibcxx_cv_func__modfl_use=yes
63073 else
63074   glibcxx_cv_func__modfl_use=no
63075 fi
63076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63077       ac_ext=c
63078 ac_cpp='$CPP $CPPFLAGS'
63079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63082
63083
63084 fi
63085
63086   fi
63087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63088 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63089
63090     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63091       for ac_func in _modfl
63092 do :
63093   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63094 if test "x$ac_cv_func__modfl" = x""yes; then :
63095   cat >>confdefs.h <<_ACEOF
63096 #define HAVE__MODFL 1
63097 _ACEOF
63098
63099 fi
63100 done
63101
63102     fi
63103   fi
63104
63105
63106
63107
63108
63109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63110 $as_echo_n "checking for powl declaration... " >&6; }
63111   if test x${glibcxx_cv_func_powl_use+set} != xset; then
63112     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63113   $as_echo_n "(cached) " >&6
63114 else
63115
63116
63117       ac_ext=cpp
63118 ac_cpp='$CXXCPP $CPPFLAGS'
63119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63122
63123       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63124 /* end confdefs.h.  */
63125 #include <math.h>
63126 int
63127 main ()
63128 {
63129  powl(0, 0);
63130   ;
63131   return 0;
63132 }
63133 _ACEOF
63134 if ac_fn_cxx_try_compile "$LINENO"; then :
63135   glibcxx_cv_func_powl_use=yes
63136 else
63137   glibcxx_cv_func_powl_use=no
63138 fi
63139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63140       ac_ext=c
63141 ac_cpp='$CPP $CPPFLAGS'
63142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63145
63146
63147 fi
63148
63149   fi
63150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63151 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63152
63153   if test x$glibcxx_cv_func_powl_use = x"yes"; then
63154     for ac_func in powl
63155 do :
63156   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63157 if test "x$ac_cv_func_powl" = x""yes; then :
63158   cat >>confdefs.h <<_ACEOF
63159 #define HAVE_POWL 1
63160 _ACEOF
63161
63162 fi
63163 done
63164
63165   else
63166
63167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63168 $as_echo_n "checking for _powl declaration... " >&6; }
63169   if test x${glibcxx_cv_func__powl_use+set} != xset; then
63170     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63171   $as_echo_n "(cached) " >&6
63172 else
63173
63174
63175       ac_ext=cpp
63176 ac_cpp='$CXXCPP $CPPFLAGS'
63177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63180
63181       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63182 /* end confdefs.h.  */
63183 #include <math.h>
63184 int
63185 main ()
63186 {
63187  _powl(0, 0);
63188   ;
63189   return 0;
63190 }
63191 _ACEOF
63192 if ac_fn_cxx_try_compile "$LINENO"; then :
63193   glibcxx_cv_func__powl_use=yes
63194 else
63195   glibcxx_cv_func__powl_use=no
63196 fi
63197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63198       ac_ext=c
63199 ac_cpp='$CPP $CPPFLAGS'
63200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63203
63204
63205 fi
63206
63207   fi
63208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63209 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63210
63211     if test x$glibcxx_cv_func__powl_use = x"yes"; then
63212       for ac_func in _powl
63213 do :
63214   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63215 if test "x$ac_cv_func__powl" = x""yes; then :
63216   cat >>confdefs.h <<_ACEOF
63217 #define HAVE__POWL 1
63218 _ACEOF
63219
63220 fi
63221 done
63222
63223     fi
63224   fi
63225
63226
63227
63228
63229
63230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63231 $as_echo_n "checking for sqrtl declaration... " >&6; }
63232   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63233     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63234   $as_echo_n "(cached) " >&6
63235 else
63236
63237
63238       ac_ext=cpp
63239 ac_cpp='$CXXCPP $CPPFLAGS'
63240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63243
63244       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63245 /* end confdefs.h.  */
63246 #include <math.h>
63247                       #ifdef HAVE_IEEEFP_H
63248                       #include <ieeefp.h>
63249                       #endif
63250
63251 int
63252 main ()
63253 {
63254  sqrtl(0);
63255   ;
63256   return 0;
63257 }
63258 _ACEOF
63259 if ac_fn_cxx_try_compile "$LINENO"; then :
63260   glibcxx_cv_func_sqrtl_use=yes
63261 else
63262   glibcxx_cv_func_sqrtl_use=no
63263 fi
63264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63265       ac_ext=c
63266 ac_cpp='$CPP $CPPFLAGS'
63267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63270
63271
63272 fi
63273
63274   fi
63275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63276 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63277
63278   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63279     for ac_func in sqrtl
63280 do :
63281   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63282 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63283   cat >>confdefs.h <<_ACEOF
63284 #define HAVE_SQRTL 1
63285 _ACEOF
63286
63287 fi
63288 done
63289
63290   else
63291
63292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63293 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63294   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63295     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63296   $as_echo_n "(cached) " >&6
63297 else
63298
63299
63300       ac_ext=cpp
63301 ac_cpp='$CXXCPP $CPPFLAGS'
63302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63305
63306       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63307 /* end confdefs.h.  */
63308 #include <math.h>
63309                       #ifdef HAVE_IEEEFP_H
63310                       #include <ieeefp.h>
63311                       #endif
63312
63313 int
63314 main ()
63315 {
63316  _sqrtl(0);
63317   ;
63318   return 0;
63319 }
63320 _ACEOF
63321 if ac_fn_cxx_try_compile "$LINENO"; then :
63322   glibcxx_cv_func__sqrtl_use=yes
63323 else
63324   glibcxx_cv_func__sqrtl_use=no
63325 fi
63326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63327       ac_ext=c
63328 ac_cpp='$CPP $CPPFLAGS'
63329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63332
63333
63334 fi
63335
63336   fi
63337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63338 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63339
63340     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63341       for ac_func in _sqrtl
63342 do :
63343   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63344 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63345   cat >>confdefs.h <<_ACEOF
63346 #define HAVE__SQRTL 1
63347 _ACEOF
63348
63349 fi
63350 done
63351
63352     fi
63353   fi
63354
63355
63356
63357
63358
63359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63360 $as_echo_n "checking for sincosl declaration... " >&6; }
63361   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63362     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63363   $as_echo_n "(cached) " >&6
63364 else
63365
63366
63367       ac_ext=cpp
63368 ac_cpp='$CXXCPP $CPPFLAGS'
63369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63372
63373       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63374 /* end confdefs.h.  */
63375 #include <math.h>
63376 int
63377 main ()
63378 {
63379  sincosl(0, 0, 0);
63380   ;
63381   return 0;
63382 }
63383 _ACEOF
63384 if ac_fn_cxx_try_compile "$LINENO"; then :
63385   glibcxx_cv_func_sincosl_use=yes
63386 else
63387   glibcxx_cv_func_sincosl_use=no
63388 fi
63389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63390       ac_ext=c
63391 ac_cpp='$CPP $CPPFLAGS'
63392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63395
63396
63397 fi
63398
63399   fi
63400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63401 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63402
63403   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63404     for ac_func in sincosl
63405 do :
63406   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63407 if test "x$ac_cv_func_sincosl" = x""yes; then :
63408   cat >>confdefs.h <<_ACEOF
63409 #define HAVE_SINCOSL 1
63410 _ACEOF
63411
63412 fi
63413 done
63414
63415   else
63416
63417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63418 $as_echo_n "checking for _sincosl declaration... " >&6; }
63419   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63420     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63421   $as_echo_n "(cached) " >&6
63422 else
63423
63424
63425       ac_ext=cpp
63426 ac_cpp='$CXXCPP $CPPFLAGS'
63427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63430
63431       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63432 /* end confdefs.h.  */
63433 #include <math.h>
63434 int
63435 main ()
63436 {
63437  _sincosl(0, 0, 0);
63438   ;
63439   return 0;
63440 }
63441 _ACEOF
63442 if ac_fn_cxx_try_compile "$LINENO"; then :
63443   glibcxx_cv_func__sincosl_use=yes
63444 else
63445   glibcxx_cv_func__sincosl_use=no
63446 fi
63447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63448       ac_ext=c
63449 ac_cpp='$CPP $CPPFLAGS'
63450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63453
63454
63455 fi
63456
63457   fi
63458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63459 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63460
63461     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63462       for ac_func in _sincosl
63463 do :
63464   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63465 if test "x$ac_cv_func__sincosl" = x""yes; then :
63466   cat >>confdefs.h <<_ACEOF
63467 #define HAVE__SINCOSL 1
63468 _ACEOF
63469
63470 fi
63471 done
63472
63473     fi
63474   fi
63475
63476
63477
63478
63479
63480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63481 $as_echo_n "checking for finitel declaration... " >&6; }
63482   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63483     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63484   $as_echo_n "(cached) " >&6
63485 else
63486
63487
63488       ac_ext=cpp
63489 ac_cpp='$CXXCPP $CPPFLAGS'
63490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63493
63494       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63495 /* end confdefs.h.  */
63496 #include <math.h>
63497                       #ifdef HAVE_IEEEFP_H
63498                       #include <ieeefp.h>
63499                       #endif
63500
63501 int
63502 main ()
63503 {
63504  finitel(0);
63505   ;
63506   return 0;
63507 }
63508 _ACEOF
63509 if ac_fn_cxx_try_compile "$LINENO"; then :
63510   glibcxx_cv_func_finitel_use=yes
63511 else
63512   glibcxx_cv_func_finitel_use=no
63513 fi
63514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63515       ac_ext=c
63516 ac_cpp='$CPP $CPPFLAGS'
63517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63520
63521
63522 fi
63523
63524   fi
63525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63526 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63527
63528   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63529     for ac_func in finitel
63530 do :
63531   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63532 if test "x$ac_cv_func_finitel" = x""yes; then :
63533   cat >>confdefs.h <<_ACEOF
63534 #define HAVE_FINITEL 1
63535 _ACEOF
63536
63537 fi
63538 done
63539
63540   else
63541
63542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63543 $as_echo_n "checking for _finitel declaration... " >&6; }
63544   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63545     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63546   $as_echo_n "(cached) " >&6
63547 else
63548
63549
63550       ac_ext=cpp
63551 ac_cpp='$CXXCPP $CPPFLAGS'
63552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63555
63556       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63557 /* end confdefs.h.  */
63558 #include <math.h>
63559                       #ifdef HAVE_IEEEFP_H
63560                       #include <ieeefp.h>
63561                       #endif
63562
63563 int
63564 main ()
63565 {
63566  _finitel(0);
63567   ;
63568   return 0;
63569 }
63570 _ACEOF
63571 if ac_fn_cxx_try_compile "$LINENO"; then :
63572   glibcxx_cv_func__finitel_use=yes
63573 else
63574   glibcxx_cv_func__finitel_use=no
63575 fi
63576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63577       ac_ext=c
63578 ac_cpp='$CPP $CPPFLAGS'
63579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63582
63583
63584 fi
63585
63586   fi
63587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63588 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63589
63590     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63591       for ac_func in _finitel
63592 do :
63593   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63594 if test "x$ac_cv_func__finitel" = x""yes; then :
63595   cat >>confdefs.h <<_ACEOF
63596 #define HAVE__FINITEL 1
63597 _ACEOF
63598
63599 fi
63600 done
63601
63602     fi
63603   fi
63604
63605
63606
63607
63608   LIBS="$ac_save_LIBS"
63609   CXXFLAGS="$ac_save_CXXFLAGS"
63610
63611
63612   ac_test_CXXFLAGS="${CXXFLAGS+set}"
63613   ac_save_CXXFLAGS="$CXXFLAGS"
63614   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63615
63616
63617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63618 $as_echo_n "checking for strtold declaration... " >&6; }
63619   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63620     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63621   $as_echo_n "(cached) " >&6
63622 else
63623
63624
63625       ac_ext=cpp
63626 ac_cpp='$CXXCPP $CPPFLAGS'
63627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63630
63631       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63632 /* end confdefs.h.  */
63633 #include <stdlib.h>
63634 int
63635 main ()
63636 {
63637  strtold(0, 0);
63638   ;
63639   return 0;
63640 }
63641 _ACEOF
63642 if ac_fn_cxx_try_compile "$LINENO"; then :
63643   glibcxx_cv_func_strtold_use=yes
63644 else
63645   glibcxx_cv_func_strtold_use=no
63646 fi
63647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63648       ac_ext=c
63649 ac_cpp='$CPP $CPPFLAGS'
63650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63653
63654
63655 fi
63656
63657   fi
63658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63659 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63660   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63661     for ac_func in strtold
63662 do :
63663   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63664 if test "x$ac_cv_func_strtold" = x""yes; then :
63665   cat >>confdefs.h <<_ACEOF
63666 #define HAVE_STRTOLD 1
63667 _ACEOF
63668
63669 fi
63670 done
63671
63672   fi
63673
63674
63675
63676
63677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63678 $as_echo_n "checking for strtof declaration... " >&6; }
63679   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63680     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63681   $as_echo_n "(cached) " >&6
63682 else
63683
63684
63685       ac_ext=cpp
63686 ac_cpp='$CXXCPP $CPPFLAGS'
63687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63690
63691       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63692 /* end confdefs.h.  */
63693 #include <stdlib.h>
63694 int
63695 main ()
63696 {
63697  strtof(0, 0);
63698   ;
63699   return 0;
63700 }
63701 _ACEOF
63702 if ac_fn_cxx_try_compile "$LINENO"; then :
63703   glibcxx_cv_func_strtof_use=yes
63704 else
63705   glibcxx_cv_func_strtof_use=no
63706 fi
63707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63708       ac_ext=c
63709 ac_cpp='$CPP $CPPFLAGS'
63710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63713
63714
63715 fi
63716
63717   fi
63718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63719 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63720   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63721     for ac_func in strtof
63722 do :
63723   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63724 if test "x$ac_cv_func_strtof" = x""yes; then :
63725   cat >>confdefs.h <<_ACEOF
63726 #define HAVE_STRTOF 1
63727 _ACEOF
63728
63729 fi
63730 done
63731
63732   fi
63733
63734
63735
63736
63737   CXXFLAGS="$ac_save_CXXFLAGS"
63738
63739     ;;
63740   *-solaris*)
63741     case "$target" in
63742       *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63743
63744   # If we're not using GNU ld, then there's no point in even trying these
63745   # tests.  Check for that first.  We should have already tested for gld
63746   # by now (in libtool), but require it now just to be safe...
63747   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63748   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63749
63750
63751
63752   # The name set by libtool depends on the version of libtool.  Shame on us
63753   # for depending on an impl detail, but c'est la vie.  Older versions used
63754   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63755   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63756   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
63757   # set (hence we're using an older libtool), then set it.
63758   if test x${with_gnu_ld+set} != xset; then
63759     if test x${ac_cv_prog_gnu_ld+set} != xset; then
63760       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
63761       with_gnu_ld=no
63762     else
63763       with_gnu_ld=$ac_cv_prog_gnu_ld
63764     fi
63765   fi
63766
63767   # Start by getting the version number.  I think the libtool test already
63768   # does some of this, but throws away the result.
63769   glibcxx_ld_is_gold=no
63770   if test x"$with_gnu_ld" = x"yes"; then
63771     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63772 $as_echo_n "checking for ld version... " >&6; }
63773
63774     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63775       glibcxx_ld_is_gold=yes
63776     fi
63777     ldver=`$LD --version 2>/dev/null |
63778            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'`
63779
63780     glibcxx_gnu_ld_version=`echo $ldver | \
63781            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63782     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63783 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63784   fi
63785
63786   # Set --gc-sections.
63787   glibcxx_have_gc_sections=no
63788   if test "$glibcxx_ld_is_gold" = "yes"; then
63789     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63790       glibcxx_have_gc_sections=yes
63791     fi
63792   else
63793     glibcxx_gcsections_min_ld=21602
63794     if test x"$with_gnu_ld" = x"yes" &&
63795         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63796       glibcxx_have_gc_sections=yes
63797     fi
63798   fi
63799   if test "$glibcxx_have_gc_sections" = "yes"; then
63800     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
63801     # NB: This flag only works reliably after 2.16.1. Configure tests
63802     # for this are difficult, so hard wire a value that should work.
63803
63804     ac_test_CFLAGS="${CFLAGS+set}"
63805     ac_save_CFLAGS="$CFLAGS"
63806     CFLAGS='-Wl,--gc-sections'
63807
63808     # Check for -Wl,--gc-sections
63809     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63810 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63811     if test x$gcc_no_link = xyes; then
63812   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63813 fi
63814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63815 /* end confdefs.h.  */
63816  int one(void) { return 1; }
63817      int two(void) { return 2; }
63818
63819 int
63820 main ()
63821 {
63822  two();
63823   ;
63824   return 0;
63825 }
63826 _ACEOF
63827 if ac_fn_c_try_link "$LINENO"; then :
63828   ac_gcsections=yes
63829 else
63830   ac_gcsections=no
63831 fi
63832 rm -f core conftest.err conftest.$ac_objext \
63833     conftest$ac_exeext conftest.$ac_ext
63834     if test "$ac_gcsections" = "yes"; then
63835       rm -f conftest.c
63836       touch conftest.c
63837       if $CC -c conftest.c; then
63838         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63839            grep "Warning: gc-sections option ignored" > /dev/null; then
63840           ac_gcsections=no
63841         fi
63842       fi
63843       rm -f conftest.c conftest.o conftest
63844     fi
63845     if test "$ac_gcsections" = "yes"; then
63846       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63847     fi
63848     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63849 $as_echo "$ac_gcsections" >&6; }
63850
63851     if test "$ac_test_CFLAGS" = set; then
63852       CFLAGS="$ac_save_CFLAGS"
63853     else
63854       # this is the suspicious part
63855       CFLAGS=''
63856     fi
63857   fi
63858
63859   # Set -z,relro.
63860   # Note this is only for shared objects.
63861   ac_ld_relro=no
63862   if test x"$with_gnu_ld" = x"yes"; then
63863     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63864 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63865     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63866     if test -n "$cxx_z_relo"; then
63867       OPT_LDFLAGS="-Wl,-z,relro"
63868       ac_ld_relro=yes
63869     fi
63870     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63871 $as_echo "$ac_ld_relro" >&6; }
63872   fi
63873
63874   # Set linker optimization flags.
63875   if test x"$with_gnu_ld" = x"yes"; then
63876     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63877   fi
63878
63879
63880
63881
63882          $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63883
63884          $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63885
63886          $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63887
63888          # All of the dependencies for wide character support are here, so
63889          # turn it on.
63890          $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63891
63892         ;;
63893     esac
63894     case "$target" in
63895       *-*-solaris2.10)
63896       # These two C99 functions are present only in Solaris >= 10
63897       $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63898
63899       $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63900
63901      ;;
63902     esac
63903     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63904
63905     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63906
63907     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63908
63909     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63910
63911     ;;
63912   *-tpf)
63913     SECTION_FLAGS='-ffunction-sections -fdata-sections'
63914
63915
63916   # If we're not using GNU ld, then there's no point in even trying these
63917   # tests.  Check for that first.  We should have already tested for gld
63918   # by now (in libtool), but require it now just to be safe...
63919   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63920   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63921
63922
63923
63924   # The name set by libtool depends on the version of libtool.  Shame on us
63925   # for depending on an impl detail, but c'est la vie.  Older versions used
63926   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63927   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63928   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
63929   # set (hence we're using an older libtool), then set it.
63930   if test x${with_gnu_ld+set} != xset; then
63931     if test x${ac_cv_prog_gnu_ld+set} != xset; then
63932       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
63933       with_gnu_ld=no
63934     else
63935       with_gnu_ld=$ac_cv_prog_gnu_ld
63936     fi
63937   fi
63938
63939   # Start by getting the version number.  I think the libtool test already
63940   # does some of this, but throws away the result.
63941   glibcxx_ld_is_gold=no
63942   if test x"$with_gnu_ld" = x"yes"; then
63943     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63944 $as_echo_n "checking for ld version... " >&6; }
63945
63946     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63947       glibcxx_ld_is_gold=yes
63948     fi
63949     ldver=`$LD --version 2>/dev/null |
63950            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'`
63951
63952     glibcxx_gnu_ld_version=`echo $ldver | \
63953            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63954     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63955 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63956   fi
63957
63958   # Set --gc-sections.
63959   glibcxx_have_gc_sections=no
63960   if test "$glibcxx_ld_is_gold" = "yes"; then
63961     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63962       glibcxx_have_gc_sections=yes
63963     fi
63964   else
63965     glibcxx_gcsections_min_ld=21602
63966     if test x"$with_gnu_ld" = x"yes" &&
63967         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63968       glibcxx_have_gc_sections=yes
63969     fi
63970   fi
63971   if test "$glibcxx_have_gc_sections" = "yes"; then
63972     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
63973     # NB: This flag only works reliably after 2.16.1. Configure tests
63974     # for this are difficult, so hard wire a value that should work.
63975
63976     ac_test_CFLAGS="${CFLAGS+set}"
63977     ac_save_CFLAGS="$CFLAGS"
63978     CFLAGS='-Wl,--gc-sections'
63979
63980     # Check for -Wl,--gc-sections
63981     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63982 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63983     if test x$gcc_no_link = xyes; then
63984   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63985 fi
63986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63987 /* end confdefs.h.  */
63988  int one(void) { return 1; }
63989      int two(void) { return 2; }
63990
63991 int
63992 main ()
63993 {
63994  two();
63995   ;
63996   return 0;
63997 }
63998 _ACEOF
63999 if ac_fn_c_try_link "$LINENO"; then :
64000   ac_gcsections=yes
64001 else
64002   ac_gcsections=no
64003 fi
64004 rm -f core conftest.err conftest.$ac_objext \
64005     conftest$ac_exeext conftest.$ac_ext
64006     if test "$ac_gcsections" = "yes"; then
64007       rm -f conftest.c
64008       touch conftest.c
64009       if $CC -c conftest.c; then
64010         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64011            grep "Warning: gc-sections option ignored" > /dev/null; then
64012           ac_gcsections=no
64013         fi
64014       fi
64015       rm -f conftest.c conftest.o conftest
64016     fi
64017     if test "$ac_gcsections" = "yes"; then
64018       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64019     fi
64020     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64021 $as_echo "$ac_gcsections" >&6; }
64022
64023     if test "$ac_test_CFLAGS" = set; then
64024       CFLAGS="$ac_save_CFLAGS"
64025     else
64026       # this is the suspicious part
64027       CFLAGS=''
64028     fi
64029   fi
64030
64031   # Set -z,relro.
64032   # Note this is only for shared objects.
64033   ac_ld_relro=no
64034   if test x"$with_gnu_ld" = x"yes"; then
64035     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64036 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64037     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64038     if test -n "$cxx_z_relo"; then
64039       OPT_LDFLAGS="-Wl,-z,relro"
64040       ac_ld_relro=yes
64041     fi
64042     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64043 $as_echo "$ac_ld_relro" >&6; }
64044   fi
64045
64046   # Set linker optimization flags.
64047   if test x"$with_gnu_ld" = x"yes"; then
64048     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64049   fi
64050
64051
64052
64053
64054     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64055
64056     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64057
64058     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64059
64060     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64061
64062     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64063
64064     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64065
64066     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64067
64068     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64069
64070     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
64071
64072     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
64073
64074     if test x"long_double_math_on_this_cpu" = x"yes"; then
64075       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64076
64077       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
64078
64079       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64080
64081       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64082
64083     fi
64084     ;;
64085   *-vxworks)
64086     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
64087
64088     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
64089
64090     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
64091
64092     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
64093
64094     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
64095
64096     $as_echo "#define HAVE_COSF 1" >>confdefs.h
64097
64098     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
64099
64100     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
64101
64102     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
64103
64104     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
64105
64106     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
64107
64108     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64109
64110     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
64111
64112     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
64113
64114     $as_echo "#define HAVE_POWF 1" >>confdefs.h
64115
64116     $as_echo "#define HAVE_SINF 1" >>confdefs.h
64117
64118     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
64119
64120     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
64121
64122     $as_echo "#define HAVE_TANF 1" >>confdefs.h
64123
64124     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
64125
64126     ;;
64127   *)
64128     as_fn_error "No support for this host/target combination." "$LINENO" 5
64129    ;;
64130 esac
64131
64132   fi
64133
64134   # At some point, we should differentiate between architectures
64135   # like x86, which have long double versions, and alpha/powerpc/etc.,
64136   # which don't. For the time being, punt.
64137   if test x"long_double_math_on_this_cpu" = x"yes"; then
64138     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
64139
64140     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
64141
64142     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
64143
64144     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
64145
64146     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
64147
64148     $as_echo "#define HAVE_COSL 1" >>confdefs.h
64149
64150     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
64151
64152     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
64153
64154     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
64155
64156     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
64157
64158     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
64159
64160     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
64161
64162     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
64163
64164     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
64165
64166     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
64167
64168     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
64169
64170     $as_echo "#define HAVE_POWL 1" >>confdefs.h
64171
64172     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
64173
64174     $as_echo "#define HAVE_SINL 1" >>confdefs.h
64175
64176     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
64177
64178     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
64179
64180     $as_echo "#define HAVE_TANL 1" >>confdefs.h
64181
64182     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
64183
64184   fi
64185 fi
64186
64187 # Check for _Unwind_GetIPInfo.
64188
64189
64190 # Check whether --with-system-libunwind was given.
64191 if test "${with_system_libunwind+set}" = set; then :
64192   withval=$with_system_libunwind;
64193 fi
64194
64195   # If system-libunwind was not specifically set, pick a default setting.
64196   if test x$with_system_libunwind = x; then
64197     case ${target} in
64198       ia64-*-hpux*) with_system_libunwind=yes ;;
64199       *) with_system_libunwind=no ;;
64200     esac
64201   fi
64202   # Based on system-libunwind and target, do we have ipinfo?
64203   if  test x$with_system_libunwind = xyes; then
64204     case ${target} in
64205       ia64-*-*) have_unwind_getipinfo=no ;;
64206       *) have_unwind_getipinfo=yes ;;
64207     esac
64208   else
64209     # Darwin before version 9 does not have _Unwind_GetIPInfo.
64210
64211     case ${target} in
64212       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
64213       *) have_unwind_getipinfo=yes ;;
64214     esac
64215
64216   fi
64217
64218   if test x$have_unwind_getipinfo = xyes; then
64219
64220 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
64221
64222   fi
64223
64224
64225  # Check whether --enable-linux-futex was given.
64226 if test "${enable_linux_futex+set}" = set; then :
64227   enableval=$enable_linux_futex;
64228       case "$enableval" in
64229        yes|no|default) ;;
64230        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
64231                           esac
64232
64233 else
64234   enable_linux_futex=default
64235 fi
64236
64237
64238 case "$target" in
64239   *-linux*)
64240     case "$enable_linux_futex" in
64241       default)
64242         # If headers don't have gettid/futex syscalls definition, then
64243         # default to no, otherwise there will be compile time failures.
64244         # Otherwise, default to yes.  If we don't detect we are
64245         # compiled/linked against NPTL and not cross-compiling, check
64246         # if programs are run by default against NPTL and if not, issue
64247         # a warning.
64248         enable_linux_futex=no
64249         if test x$gcc_no_link = xyes; then
64250   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64251 fi
64252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64253 /* end confdefs.h.  */
64254 #include <sys/syscall.h>
64255            int lk;
64256 int
64257 main ()
64258 {
64259 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64260   ;
64261   return 0;
64262 }
64263 _ACEOF
64264 if ac_fn_c_try_link "$LINENO"; then :
64265   save_LIBS="$LIBS"
64266            LIBS="-lpthread $LIBS"
64267            if test x$gcc_no_link = xyes; then
64268   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64269 fi
64270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64271 /* end confdefs.h.  */
64272 #ifndef _GNU_SOURCE
64273              #define _GNU_SOURCE 1
64274              #endif
64275              #include <pthread.h>
64276              pthread_t th; void *status;
64277 int
64278 main ()
64279 {
64280 pthread_tryjoin_np (th, &status);
64281   ;
64282   return 0;
64283 }
64284 _ACEOF
64285 if ac_fn_c_try_link "$LINENO"; then :
64286   enable_linux_futex=yes
64287 else
64288   if test x$cross_compiling = xno; then
64289                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
64290                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
64291                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
64292 If so, please configure with --disable-linux-futex" >&5
64293 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
64294 If so, please configure with --disable-linux-futex" >&2;}
64295                fi
64296              fi
64297              enable_linux_futex=yes
64298 fi
64299 rm -f core conftest.err conftest.$ac_objext \
64300     conftest$ac_exeext conftest.$ac_ext
64301            LIBS="$save_LIBS"
64302 fi
64303 rm -f core conftest.err conftest.$ac_objext \
64304     conftest$ac_exeext conftest.$ac_ext
64305         ;;
64306       yes)
64307         if test x$gcc_no_link = xyes; then
64308   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64309 fi
64310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64311 /* end confdefs.h.  */
64312 #include <sys/syscall.h>
64313            int lk;
64314 int
64315 main ()
64316 {
64317 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64318   ;
64319   return 0;
64320 }
64321 _ACEOF
64322 if ac_fn_c_try_link "$LINENO"; then :
64323
64324 else
64325   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
64326 fi
64327 rm -f core conftest.err conftest.$ac_objext \
64328     conftest$ac_exeext conftest.$ac_ext
64329         ;;
64330     esac
64331     ;;
64332   *)
64333     enable_linux_futex=no
64334     ;;
64335 esac
64336 if test x$enable_linux_futex = xyes; then
64337
64338 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
64339
64340 fi
64341
64342
64343
64344
64345 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
64346
64347 acx_cv_header_stdint=stddef.h
64348 acx_cv_header_stdint_kind="(already complete)"
64349 for i in stdint.h $inttype_headers; do
64350   unset ac_cv_type_uintptr_t
64351   unset ac_cv_type_uintmax_t
64352   unset ac_cv_type_int_least32_t
64353   unset ac_cv_type_int_fast32_t
64354   unset ac_cv_type_uint64_t
64355   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
64356   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
64357 #include <$i>
64358 "
64359 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
64360   acx_cv_header_stdint=$i
64361 else
64362   continue
64363 fi
64364
64365   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64366 #include <$i>
64367 "
64368 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64369
64370 else
64371   acx_cv_header_stdint_kind="(mostly complete)"
64372 fi
64373
64374   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
64375 #include <$i>
64376 "
64377 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
64378
64379 else
64380   acx_cv_header_stdint_kind="(mostly complete)"
64381 fi
64382
64383   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
64384 #include <$i>
64385 "
64386 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
64387
64388 else
64389   acx_cv_header_stdint_kind="(mostly complete)"
64390 fi
64391
64392   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64393 #include <$i>
64394 "
64395 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64396
64397 else
64398   acx_cv_header_stdint_kind="(lacks uint64_t)"
64399 fi
64400
64401   break
64402 done
64403 if test "$acx_cv_header_stdint" = stddef.h; then
64404   acx_cv_header_stdint_kind="(lacks uintmax_t)"
64405   for i in stdint.h $inttype_headers; do
64406     unset ac_cv_type_uintptr_t
64407     unset ac_cv_type_uint32_t
64408     unset ac_cv_type_uint64_t
64409     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
64410     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
64411 #include <$i>
64412 "
64413 if test "x$ac_cv_type_uint32_t" = x""yes; then :
64414   acx_cv_header_stdint=$i
64415 else
64416   continue
64417 fi
64418
64419     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64420 #include <$i>
64421 "
64422 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64423
64424 fi
64425
64426     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64427 #include <$i>
64428 "
64429 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64430
64431 fi
64432
64433     break
64434   done
64435 fi
64436 if test "$acx_cv_header_stdint" = stddef.h; then
64437   acx_cv_header_stdint_kind="(u_intXX_t style)"
64438   for i in sys/types.h $inttype_headers; do
64439     unset ac_cv_type_u_int32_t
64440     unset ac_cv_type_u_int64_t
64441     $as_echo_n "looking for u_intXX_t types in $i, " >&6
64442     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
64443 #include <$i>
64444 "
64445 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
64446   acx_cv_header_stdint=$i
64447 else
64448   continue
64449 fi
64450
64451     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
64452 #include <$i>
64453 "
64454 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
64455
64456 fi
64457
64458     break
64459   done
64460 fi
64461 if test "$acx_cv_header_stdint" = stddef.h; then
64462   acx_cv_header_stdint_kind="(using manual detection)"
64463 fi
64464
64465 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
64466 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
64467 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
64468 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
64469 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
64470
64471 # ----------------- Summarize what we found so far
64472
64473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
64474 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
64475
64476 case `$as_basename -- include/gstdint.h ||
64477 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
64478          Xinclude/gstdint.h : 'X\(//\)$' \| \
64479          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
64480 $as_echo X/include/gstdint.h |
64481     sed '/^.*\/\([^/][^/]*\)\/*$/{
64482             s//\1/
64483             q
64484           }
64485           /^X\/\(\/\/\)$/{
64486             s//\1/
64487             q
64488           }
64489           /^X\/\(\/\).*/{
64490             s//\1/
64491             q
64492           }
64493           s/.*/./; q'` in
64494   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64495 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64496   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64497 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64498   *) ;;
64499 esac
64500
64501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
64502 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
64503
64504 # ----------------- done included file, check C basic types --------
64505
64506 # Lacking an uintptr_t?  Test size of void *
64507 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
64508   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
64509 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64510 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64511 # This bug is HP SR number 8606223364.
64512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
64513 $as_echo_n "checking size of void *... " >&6; }
64514 if test "${ac_cv_sizeof_void_p+set}" = set; then :
64515   $as_echo_n "(cached) " >&6
64516 else
64517   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
64518
64519 else
64520   if test "$ac_cv_type_void_p" = yes; then
64521      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64523 { as_fn_set_status 77
64524 as_fn_error "cannot compute sizeof (void *)
64525 See \`config.log' for more details." "$LINENO" 5; }; }
64526    else
64527      ac_cv_sizeof_void_p=0
64528    fi
64529 fi
64530
64531 fi
64532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
64533 $as_echo "$ac_cv_sizeof_void_p" >&6; }
64534
64535
64536
64537 cat >>confdefs.h <<_ACEOF
64538 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
64539 _ACEOF
64540
64541  ;;
64542 esac
64543
64544 # Lacking an uint64_t?  Test size of long
64545 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
64546   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
64547 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64548 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64549 # This bug is HP SR number 8606223364.
64550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
64551 $as_echo_n "checking size of long... " >&6; }
64552 if test "${ac_cv_sizeof_long+set}" = set; then :
64553   $as_echo_n "(cached) " >&6
64554 else
64555   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
64556
64557 else
64558   if test "$ac_cv_type_long" = yes; then
64559      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64560 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64561 { as_fn_set_status 77
64562 as_fn_error "cannot compute sizeof (long)
64563 See \`config.log' for more details." "$LINENO" 5; }; }
64564    else
64565      ac_cv_sizeof_long=0
64566    fi
64567 fi
64568
64569 fi
64570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
64571 $as_echo "$ac_cv_sizeof_long" >&6; }
64572
64573
64574
64575 cat >>confdefs.h <<_ACEOF
64576 #define SIZEOF_LONG $ac_cv_sizeof_long
64577 _ACEOF
64578
64579  ;;
64580 esac
64581
64582 if test $acx_cv_header_stdint = stddef.h; then
64583   # Lacking a good header?  Test size of everything and deduce all types.
64584   # The cast to long int works around a bug in the HP C Compiler
64585 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64586 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64587 # This bug is HP SR number 8606223364.
64588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
64589 $as_echo_n "checking size of int... " >&6; }
64590 if test "${ac_cv_sizeof_int+set}" = set; then :
64591   $as_echo_n "(cached) " >&6
64592 else
64593   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
64594
64595 else
64596   if test "$ac_cv_type_int" = yes; then
64597      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64599 { as_fn_set_status 77
64600 as_fn_error "cannot compute sizeof (int)
64601 See \`config.log' for more details." "$LINENO" 5; }; }
64602    else
64603      ac_cv_sizeof_int=0
64604    fi
64605 fi
64606
64607 fi
64608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
64609 $as_echo "$ac_cv_sizeof_int" >&6; }
64610
64611
64612
64613 cat >>confdefs.h <<_ACEOF
64614 #define SIZEOF_INT $ac_cv_sizeof_int
64615 _ACEOF
64616
64617
64618   # The cast to long int works around a bug in the HP C Compiler
64619 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64620 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64621 # This bug is HP SR number 8606223364.
64622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
64623 $as_echo_n "checking size of short... " >&6; }
64624 if test "${ac_cv_sizeof_short+set}" = set; then :
64625   $as_echo_n "(cached) " >&6
64626 else
64627   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
64628
64629 else
64630   if test "$ac_cv_type_short" = yes; then
64631      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64632 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64633 { as_fn_set_status 77
64634 as_fn_error "cannot compute sizeof (short)
64635 See \`config.log' for more details." "$LINENO" 5; }; }
64636    else
64637      ac_cv_sizeof_short=0
64638    fi
64639 fi
64640
64641 fi
64642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
64643 $as_echo "$ac_cv_sizeof_short" >&6; }
64644
64645
64646
64647 cat >>confdefs.h <<_ACEOF
64648 #define SIZEOF_SHORT $ac_cv_sizeof_short
64649 _ACEOF
64650
64651
64652   # The cast to long int works around a bug in the HP C Compiler
64653 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64654 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64655 # This bug is HP SR number 8606223364.
64656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
64657 $as_echo_n "checking size of char... " >&6; }
64658 if test "${ac_cv_sizeof_char+set}" = set; then :
64659   $as_echo_n "(cached) " >&6
64660 else
64661   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
64662
64663 else
64664   if test "$ac_cv_type_char" = yes; then
64665      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64666 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64667 { as_fn_set_status 77
64668 as_fn_error "cannot compute sizeof (char)
64669 See \`config.log' for more details." "$LINENO" 5; }; }
64670    else
64671      ac_cv_sizeof_char=0
64672    fi
64673 fi
64674
64675 fi
64676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
64677 $as_echo "$ac_cv_sizeof_char" >&6; }
64678
64679
64680
64681 cat >>confdefs.h <<_ACEOF
64682 #define SIZEOF_CHAR $ac_cv_sizeof_char
64683 _ACEOF
64684
64685
64686
64687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
64688 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
64689   case "$ac_cv_sizeof_char" in
64690     1) acx_cv_type_int8_t=char ;;
64691     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
64692   esac
64693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
64694 $as_echo "$acx_cv_type_int8_t" >&6; }
64695
64696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
64697 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
64698   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
64699     2:*) acx_cv_type_int16_t=int ;;
64700     *:2) acx_cv_type_int16_t=short ;;
64701     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
64702   esac
64703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
64704 $as_echo "$acx_cv_type_int16_t" >&6; }
64705
64706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
64707 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
64708   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
64709     4:*) acx_cv_type_int32_t=int ;;
64710     *:4) acx_cv_type_int32_t=long ;;
64711     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
64712   esac
64713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
64714 $as_echo "$acx_cv_type_int32_t" >&6; }
64715 fi
64716
64717 # These tests are here to make the output prettier
64718
64719 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64720   case "$ac_cv_sizeof_long" in
64721     8) acx_cv_type_int64_t=long ;;
64722   esac
64723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64724 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64726 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64727 fi
64728
64729 # Now we can use the above types
64730
64731 if test "$ac_cv_type_uintptr_t" != yes; then
64732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64733 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64734   case $ac_cv_sizeof_void_p in
64735     2) acx_cv_type_intptr_t=int16_t ;;
64736     4) acx_cv_type_intptr_t=int32_t ;;
64737     8) acx_cv_type_intptr_t=int64_t ;;
64738     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64739   esac
64740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64741 $as_echo "$acx_cv_type_intptr_t" >&6; }
64742 fi
64743
64744 # ----------------- done all checks, emit header -------------
64745 ac_config_commands="$ac_config_commands include/gstdint.h"
64746
64747
64748
64749
64750
64751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64752 $as_echo_n "checking for GNU c++filt... " >&6; }
64753 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64754   $as_echo_n "(cached) " >&6
64755 else
64756   if test -z "$CXXFILT"; then
64757   ac_path_CXXFILT_found=false
64758   # Loop through the user's path and test for each of PROGNAME-LIST
64759   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64760 for as_dir in $PATH
64761 do
64762   IFS=$as_save_IFS
64763   test -z "$as_dir" && as_dir=.
64764     for ac_prog in c++filt gc++filt; do
64765     for ac_exec_ext in '' $ac_executable_extensions; do
64766       ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64767       { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64768 # Check for GNU $ac_path_CXXFILT
64769 case `"$ac_path_CXXFILT" --version 2>&1` in
64770 *GNU*)
64771   ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64772 esac
64773
64774       $ac_path_CXXFILT_found && break 3
64775     done
64776   done
64777   done
64778 IFS=$as_save_IFS
64779   if test -z "$ac_cv_path_CXXFILT"; then
64780     :
64781   fi
64782 else
64783   ac_cv_path_CXXFILT=$CXXFILT
64784 fi
64785
64786 fi
64787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64788 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64789   CXXFILT=$ac_cv_path_CXXFILT
64790
64791
64792
64793  # Check whether --enable-symvers was given.
64794 if test "${enable_symvers+set}" = set; then :
64795   enableval=$enable_symvers;
64796       case "$enableval" in
64797        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64798        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64799                         esac
64800
64801 else
64802   enable_symvers=yes
64803 fi
64804
64805
64806
64807 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64808 # don't know enough about $LD to do tricks...
64809
64810 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64811 # with extern "C++" in version scripts.
64812
64813
64814 # Turn a 'yes' into a suitable default.
64815 if test x$enable_symvers = xyes ; then
64816   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64817     enable_symvers=no
64818   else
64819     if test $with_gnu_ld = yes ; then
64820       case ${target_os} in
64821         hpux*)
64822           enable_symvers=no ;;
64823         *)
64824           enable_symvers=gnu ;;
64825       esac
64826     else
64827       case ${target_os} in
64828         darwin*)
64829           enable_symvers=darwin ;;
64830         # Sun symbol versioning exists since Solaris 2.5.
64831         solaris2.[5-9]* | solaris2.1[0-9]*)
64832           # make_sunver.pl needs GNU c++filt to support extern "C++" in
64833           # version scripts, so disable symbol versioning if none can be
64834           # found.
64835           if test -z "$ac_cv_path_CXXFILT"; then
64836             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64837 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64838             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
64839 $as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
64840             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64841 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64842             enable_symvers=no
64843           else
64844             enable_symvers=sun
64845           fi
64846           ;;
64847         *)
64848           enable_symvers=no ;;
64849       esac
64850     fi
64851   fi
64852 fi
64853
64854 # Check to see if 'darwin' or 'darwin-export' can win.
64855 if test x$enable_symvers = xdarwin-export ; then
64856     enable_symvers=darwin
64857 fi
64858
64859 # Check if 'sun' was requested on non-Solaris 2 platforms.
64860 if test x$enable_symvers = xsun ; then
64861   case ${target_os} in
64862     solaris2*)
64863       # All fine.
64864       ;;
64865     *)
64866       # Unlikely to work.
64867       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64868 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64869       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64870 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64871       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64872 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64873       enable_symvers=no
64874       ;;
64875   esac
64876 fi
64877
64878 # Check to see if 'gnu' can win.
64879 if test $enable_symvers = gnu ||
64880   test $enable_symvers = gnu-versioned-namespace ||
64881   test $enable_symvers = sun; then
64882   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64884 $as_echo_n "checking for shared libgcc... " >&6; }
64885   ac_save_CFLAGS="$CFLAGS"
64886   CFLAGS=' -lgcc_s'
64887   if test x$gcc_no_link = xyes; then
64888   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64889 fi
64890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64891 /* end confdefs.h.  */
64892
64893 int
64894 main ()
64895 {
64896 return 0;
64897   ;
64898   return 0;
64899 }
64900 _ACEOF
64901 if ac_fn_c_try_link "$LINENO"; then :
64902   glibcxx_shared_libgcc=yes
64903 else
64904   glibcxx_shared_libgcc=no
64905 fi
64906 rm -f core conftest.err conftest.$ac_objext \
64907     conftest$ac_exeext conftest.$ac_ext
64908   CFLAGS="$ac_save_CFLAGS"
64909   if test $glibcxx_shared_libgcc = no; then
64910     cat > conftest.c <<EOF
64911 int main (void) { return 0; }
64912 EOF
64913     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64914                              -shared -shared-libgcc -o conftest.so \
64915                              conftest.c -v 2>&1 >/dev/null \
64916                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64917     rm -f conftest.c conftest.so
64918     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64919       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64920       if test x$gcc_no_link = xyes; then
64921   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64922 fi
64923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64924 /* end confdefs.h.  */
64925
64926 int
64927 main ()
64928 {
64929 return 0;
64930   ;
64931   return 0;
64932 }
64933 _ACEOF
64934 if ac_fn_c_try_link "$LINENO"; then :
64935   glibcxx_shared_libgcc=yes
64936 fi
64937 rm -f core conftest.err conftest.$ac_objext \
64938     conftest$ac_exeext conftest.$ac_ext
64939       CFLAGS="$ac_save_CFLAGS"
64940     fi
64941   fi
64942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64943 $as_echo "$glibcxx_shared_libgcc" >&6; }
64944
64945   # For GNU ld, we need at least this version.  The format is described in
64946   # GLIBCXX_CHECK_LINKER_FEATURES above.
64947   glibcxx_min_gnu_ld_version=21400
64948
64949   # If no shared libgcc, can't win.
64950   if test $glibcxx_shared_libgcc != yes; then
64951       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64952 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64953       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64954 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64955       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64956 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64957       enable_symvers=no
64958   elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64959     : All interesting versions of Sun ld support sun style symbol versioning.
64960   elif test $with_gnu_ld != yes ; then
64961     # just fail for now
64962     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64963 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64964     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64965 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64966     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64967 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64968     enable_symvers=no
64969   elif test $glibcxx_ld_is_gold = yes ; then
64970     : All versions of gold support symbol versioning.
64971   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64972     # The right tools, the right setup, but too old.  Fallbacks?
64973     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64974 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64975     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64976 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64977     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64978 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64979     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64980 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64981     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64982 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64983     enable_symvers=no
64984   fi
64985 fi
64986
64987 # For libtool versioning info, format is CURRENT:REVISION:AGE
64988 libtool_VERSION=6:17:0
64989
64990 # Everything parsed; figure out what files and settings to use.
64991 case $enable_symvers in
64992   no)
64993     SYMVER_FILE=config/abi/pre/none.ver
64994     ;;
64995   gnu)
64996     SYMVER_FILE=config/abi/pre/gnu.ver
64997
64998 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64999
65000     ;;
65001   gnu-versioned-namespace)
65002     libtool_VERSION=7:0:0
65003     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
65004
65005 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
65006
65007     ;;
65008   darwin)
65009     SYMVER_FILE=config/abi/pre/gnu.ver
65010
65011 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
65012
65013     ;;
65014   sun)
65015     SYMVER_FILE=config/abi/pre/gnu.ver
65016
65017 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
65018
65019     ;;
65020 esac
65021
65022 if test x$enable_symvers != xno ; then
65023
65024 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
65025
65026 fi
65027
65028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
65029 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
65030 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
65031   $as_echo_n "(cached) " >&6
65032 else
65033
65034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65035 /* end confdefs.h.  */
65036 void foo (void); __asm (".symver foo, bar@SYMVER");
65037 int
65038 main ()
65039 {
65040
65041   ;
65042   return 0;
65043 }
65044 _ACEOF
65045 if ac_fn_c_try_compile "$LINENO"; then :
65046   glibcxx_cv_have_as_symver_directive=yes
65047 else
65048   glibcxx_cv_have_as_symver_directive=no
65049 fi
65050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65051 fi
65052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
65053 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
65054 if test $glibcxx_cv_have_as_symver_directive = yes; then
65055
65056 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
65057
65058 fi
65059
65060
65061
65062
65063
65064
65065
65066
65067 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
65068 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
65069
65070 if test $enable_symvers != no ; then
65071    case ${target_os} in
65072      # The Solaris 2 runtime linker doesn't support the GNU extension of
65073      # binding the same symbol to different versions
65074      solaris2*)
65075        symvers_renaming=no  ;;
65076      # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
65077      *)
65078
65079 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
65080
65081        symvers_renaming=yes  ;;
65082     esac
65083 else
65084     symvers_renaming=no
65085 fi
65086
65087
65088 # Now, set up compatibility support, if any.
65089 # In addition, need this to deal with std::size_t mangling in
65090 # src/compatibility.cc.  In a perfect world, could use
65091 # typeid(std::size_t).name()[0] to do direct substitution.
65092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
65093 $as_echo_n "checking for size_t as unsigned int... " >&6; }
65094 ac_save_CFLAGS="$CFLAGS"
65095 CFLAGS="-Werror"
65096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65097 /* end confdefs.h.  */
65098
65099 int
65100 main ()
65101 {
65102 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
65103   ;
65104   return 0;
65105 }
65106 _ACEOF
65107 if ac_fn_c_try_compile "$LINENO"; then :
65108   glibcxx_size_t_is_i=yes
65109 else
65110   glibcxx_size_t_is_i=no
65111 fi
65112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65113 CFLAGS=$ac_save_CFLAGS
65114 if test "$glibcxx_size_t_is_i" = yes; then
65115
65116 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
65117
65118 fi
65119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
65120 $as_echo "$glibcxx_size_t_is_i" >&6; }
65121
65122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
65123 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
65124 ac_save_CFLAGS="$CFLAGS"
65125 CFLAGS="-Werror"
65126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65127 /* end confdefs.h.  */
65128
65129 int
65130 main ()
65131 {
65132 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
65133   ;
65134   return 0;
65135 }
65136 _ACEOF
65137 if ac_fn_c_try_compile "$LINENO"; then :
65138   glibcxx_ptrdiff_t_is_i=yes
65139 else
65140   glibcxx_ptrdiff_t_is_i=no
65141 fi
65142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65143 CFLAGS=$ac_save_CFLAGS
65144 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
65145
65146 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
65147
65148 fi
65149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
65150 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
65151
65152
65153
65154
65155  # Check whether --enable-libstdcxx-visibility was given.
65156 if test "${enable_libstdcxx_visibility+set}" = set; then :
65157   enableval=$enable_libstdcxx_visibility;
65158       case "$enableval" in
65159        yes|no) ;;
65160        *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
65161       esac
65162
65163 else
65164   enable_libstdcxx_visibility=yes
65165 fi
65166
65167
65168
65169 if test x$enable_libstdcxx_visibility = xyes ; then
65170       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
65171 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
65172 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
65173   $as_echo_n "(cached) " >&6
65174 else
65175
65176   save_CFLAGS="$CFLAGS"
65177   CFLAGS="$CFLAGS -Werror"
65178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65179 /* end confdefs.h.  */
65180 void __attribute__((visibility("hidden"))) foo(void) { }
65181 int
65182 main ()
65183 {
65184
65185   ;
65186   return 0;
65187 }
65188 _ACEOF
65189 if ac_fn_c_try_compile "$LINENO"; then :
65190   glibcxx_cv_have_attribute_visibility=yes
65191 else
65192   glibcxx_cv_have_attribute_visibility=no
65193 fi
65194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65195   CFLAGS="$save_CFLAGS"
65196 fi
65197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
65198 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
65199   if test $glibcxx_cv_have_attribute_visibility = no; then
65200     enable_libstdcxx_visibility=no
65201   fi
65202 fi
65203
65204
65205 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
65206 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
65207
65208
65209 ac_ldbl_compat=no
65210 case "$target" in
65211   powerpc*-*-linux* | \
65212   sparc*-*-linux* | \
65213   s390*-*-linux* | \
65214   alpha*-*-linux*)
65215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65216 /* end confdefs.h.  */
65217
65218 int
65219 main ()
65220 {
65221
65222 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
65223 #error no need for long double compatibility
65224 #endif
65225
65226   ;
65227   return 0;
65228 }
65229 _ACEOF
65230 if ac_fn_c_try_compile "$LINENO"; then :
65231   ac_ldbl_compat=yes
65232 else
65233   ac_ldbl_compat=no
65234 fi
65235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65236   if test "$ac_ldbl_compat" = yes; then
65237
65238 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
65239
65240     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
65241   fi
65242 esac
65243
65244
65245 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
65246
65247   if $GLIBCXX_IS_NATIVE ; then
65248     # Do checks for resource limit functions.
65249
65250   setrlimit_have_headers=yes
65251   for ac_header in unistd.h sys/time.h sys/resource.h
65252 do :
65253   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
65254 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
65255 eval as_val=\$$as_ac_Header
65256    if test "x$as_val" = x""yes; then :
65257   cat >>confdefs.h <<_ACEOF
65258 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
65259 _ACEOF
65260
65261 else
65262   setrlimit_have_headers=no
65263 fi
65264
65265 done
65266
65267   # If don't have the headers, then we can't run the tests now, and we
65268   # won't be seeing any of these during testsuite compilation.
65269   if test $setrlimit_have_headers = yes; then
65270     # Can't do these in a loop, else the resulting syntax is wrong.
65271
65272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
65273 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
65274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65275 /* end confdefs.h.  */
65276 #include <unistd.h>
65277      #include <sys/time.h>
65278      #include <sys/resource.h>
65279
65280 int
65281 main ()
65282 {
65283  int f = RLIMIT_DATA ;
65284   ;
65285   return 0;
65286 }
65287 _ACEOF
65288 if ac_fn_c_try_compile "$LINENO"; then :
65289   glibcxx_mresult=1
65290 else
65291   glibcxx_mresult=0
65292 fi
65293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65294
65295 cat >>confdefs.h <<_ACEOF
65296 #define HAVE_LIMIT_DATA $glibcxx_mresult
65297 _ACEOF
65298
65299   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65301 $as_echo "$res" >&6; }
65302
65303
65304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
65305 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
65306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65307 /* end confdefs.h.  */
65308 #include <unistd.h>
65309      #include <sys/time.h>
65310      #include <sys/resource.h>
65311
65312 int
65313 main ()
65314 {
65315  int f = RLIMIT_RSS ;
65316   ;
65317   return 0;
65318 }
65319 _ACEOF
65320 if ac_fn_c_try_compile "$LINENO"; then :
65321   glibcxx_mresult=1
65322 else
65323   glibcxx_mresult=0
65324 fi
65325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65326
65327 cat >>confdefs.h <<_ACEOF
65328 #define HAVE_LIMIT_RSS $glibcxx_mresult
65329 _ACEOF
65330
65331   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65333 $as_echo "$res" >&6; }
65334
65335
65336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
65337 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
65338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65339 /* end confdefs.h.  */
65340 #include <unistd.h>
65341      #include <sys/time.h>
65342      #include <sys/resource.h>
65343
65344 int
65345 main ()
65346 {
65347  int f = RLIMIT_VMEM ;
65348   ;
65349   return 0;
65350 }
65351 _ACEOF
65352 if ac_fn_c_try_compile "$LINENO"; then :
65353   glibcxx_mresult=1
65354 else
65355   glibcxx_mresult=0
65356 fi
65357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65358
65359 cat >>confdefs.h <<_ACEOF
65360 #define HAVE_LIMIT_VMEM $glibcxx_mresult
65361 _ACEOF
65362
65363   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65365 $as_echo "$res" >&6; }
65366
65367
65368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
65369 $as_echo_n "checking for RLIMIT_AS... " >&6; }
65370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65371 /* end confdefs.h.  */
65372 #include <unistd.h>
65373      #include <sys/time.h>
65374      #include <sys/resource.h>
65375
65376 int
65377 main ()
65378 {
65379  int f = RLIMIT_AS ;
65380   ;
65381   return 0;
65382 }
65383 _ACEOF
65384 if ac_fn_c_try_compile "$LINENO"; then :
65385   glibcxx_mresult=1
65386 else
65387   glibcxx_mresult=0
65388 fi
65389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65390
65391 cat >>confdefs.h <<_ACEOF
65392 #define HAVE_LIMIT_AS $glibcxx_mresult
65393 _ACEOF
65394
65395   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65397 $as_echo "$res" >&6; }
65398
65399
65400   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
65401 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
65402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65403 /* end confdefs.h.  */
65404 #include <unistd.h>
65405      #include <sys/time.h>
65406      #include <sys/resource.h>
65407
65408 int
65409 main ()
65410 {
65411  int f = RLIMIT_FSIZE ;
65412   ;
65413   return 0;
65414 }
65415 _ACEOF
65416 if ac_fn_c_try_compile "$LINENO"; then :
65417   glibcxx_mresult=1
65418 else
65419   glibcxx_mresult=0
65420 fi
65421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65422
65423 cat >>confdefs.h <<_ACEOF
65424 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
65425 _ACEOF
65426
65427   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65429 $as_echo "$res" >&6; }
65430
65431
65432     # Check for rlimit, setrlimit.
65433     if test "${glibcxx_cv_setrlimit+set}" = set; then :
65434   $as_echo_n "(cached) " >&6
65435 else
65436
65437       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65438 /* end confdefs.h.  */
65439 #include <unistd.h>
65440          #include <sys/time.h>
65441          #include <sys/resource.h>
65442
65443 int
65444 main ()
65445 {
65446 struct rlimit r;
65447          setrlimit(0, &r);
65448   ;
65449   return 0;
65450 }
65451 _ACEOF
65452 if ac_fn_c_try_compile "$LINENO"; then :
65453   glibcxx_cv_setrlimit=yes
65454 else
65455   glibcxx_cv_setrlimit=no
65456 fi
65457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65458
65459 fi
65460
65461   fi
65462
65463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
65464 $as_echo_n "checking for testsuite resource limits support... " >&6; }
65465   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
65466     ac_res_limits=yes
65467
65468 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
65469
65470   else
65471     ac_res_limits=no
65472   fi
65473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
65474 $as_echo "$ac_res_limits" >&6; }
65475
65476
65477     # Look for setenv, so that extended locale tests can be performed.
65478
65479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
65480 $as_echo_n "checking for setenv declaration... " >&6; }
65481   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
65482     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
65483   $as_echo_n "(cached) " >&6
65484 else
65485
65486
65487       ac_ext=cpp
65488 ac_cpp='$CXXCPP $CPPFLAGS'
65489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65492
65493       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65494 /* end confdefs.h.  */
65495 #include <stdlib.h>
65496 int
65497 main ()
65498 {
65499  setenv(0, 0, 0);
65500   ;
65501   return 0;
65502 }
65503 _ACEOF
65504 if ac_fn_cxx_try_compile "$LINENO"; then :
65505   glibcxx_cv_func_setenv_use=yes
65506 else
65507   glibcxx_cv_func_setenv_use=no
65508 fi
65509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65510       ac_ext=c
65511 ac_cpp='$CPP $CPPFLAGS'
65512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65515
65516
65517 fi
65518
65519   fi
65520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
65521 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
65522   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
65523     for ac_func in setenv
65524 do :
65525   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
65526 if test "x$ac_cv_func_setenv" = x""yes; then :
65527   cat >>confdefs.h <<_ACEOF
65528 #define HAVE_SETENV 1
65529 _ACEOF
65530
65531 fi
65532 done
65533
65534   fi
65535
65536   fi
65537
65538   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
65539      test $enable_symvers != no; then
65540     case "$host" in
65541       *-*-cygwin*)
65542         enable_abi_check=no ;;
65543       *)
65544         enable_abi_check=yes ;;
65545     esac
65546   else
65547     # Only build this as native, since automake does not understand
65548     # CXX_FOR_BUILD.
65549     enable_abi_check=no
65550   fi
65551
65552   # Export file names for ABI checking.
65553   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
65554
65555   baseline_subdir_switch="$abi_baseline_subdir_switch"
65556
65557
65558
65559 # Define documentation rules conditionally.
65560
65561 # See if makeinfo has been installed and is modern enough
65562 # that we can use it.
65563
65564   # Extract the first word of "makeinfo", so it can be a program name with args.
65565 set dummy makeinfo; ac_word=$2
65566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65567 $as_echo_n "checking for $ac_word... " >&6; }
65568 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
65569   $as_echo_n "(cached) " >&6
65570 else
65571   if test -n "$MAKEINFO"; then
65572   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
65573 else
65574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65575 for as_dir in $PATH
65576 do
65577   IFS=$as_save_IFS
65578   test -z "$as_dir" && as_dir=.
65579     for ac_exec_ext in '' $ac_executable_extensions; do
65580   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65581     ac_cv_prog_MAKEINFO="makeinfo"
65582     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65583     break 2
65584   fi
65585 done
65586   done
65587 IFS=$as_save_IFS
65588
65589 fi
65590 fi
65591 MAKEINFO=$ac_cv_prog_MAKEINFO
65592 if test -n "$MAKEINFO"; then
65593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
65594 $as_echo "$MAKEINFO" >&6; }
65595 else
65596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65597 $as_echo "no" >&6; }
65598 fi
65599
65600
65601   if test -n "$MAKEINFO"; then
65602     # Found it, now check the version.
65603     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
65604 $as_echo_n "checking for modern makeinfo... " >&6; }
65605 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
65606   $as_echo_n "(cached) " >&6
65607 else
65608   ac_prog_version=`eval $MAKEINFO --version 2>&1 |
65609                                      sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
65610
65611                     case $ac_prog_version in
65612                       '')  gcc_cv_prog_makeinfo_modern=no;;
65613                       4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
65614                       *)   gcc_cv_prog_makeinfo_modern=no;;
65615                     esac
65616
65617 fi
65618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
65619 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
65620   else
65621     gcc_cv_prog_makeinfo_modern=no
65622   fi
65623   if test $gcc_cv_prog_makeinfo_modern = no; then
65624     MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
65625   fi
65626
65627  if test $gcc_cv_prog_makeinfo_modern = "yes"; then
65628   BUILD_INFO_TRUE=
65629   BUILD_INFO_FALSE='#'
65630 else
65631   BUILD_INFO_TRUE='#'
65632   BUILD_INFO_FALSE=
65633 fi
65634
65635
65636 # Check for doxygen
65637 # Extract the first word of "doxygen", so it can be a program name with args.
65638 set dummy doxygen; ac_word=$2
65639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65640 $as_echo_n "checking for $ac_word... " >&6; }
65641 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
65642   $as_echo_n "(cached) " >&6
65643 else
65644   if test -n "$DOXYGEN"; then
65645   ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
65646 else
65647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65648 for as_dir in $PATH
65649 do
65650   IFS=$as_save_IFS
65651   test -z "$as_dir" && as_dir=.
65652     for ac_exec_ext in '' $ac_executable_extensions; do
65653   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65654     ac_cv_prog_DOXYGEN="yes"
65655     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65656     break 2
65657   fi
65658 done
65659   done
65660 IFS=$as_save_IFS
65661
65662   test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
65663 fi
65664 fi
65665 DOXYGEN=$ac_cv_prog_DOXYGEN
65666 if test -n "$DOXYGEN"; then
65667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
65668 $as_echo "$DOXYGEN" >&6; }
65669 else
65670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65671 $as_echo "no" >&6; }
65672 fi
65673
65674
65675 # Extract the first word of "dot", so it can be a program name with args.
65676 set dummy dot; ac_word=$2
65677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65678 $as_echo_n "checking for $ac_word... " >&6; }
65679 if test "${ac_cv_prog_DOT+set}" = set; then :
65680   $as_echo_n "(cached) " >&6
65681 else
65682   if test -n "$DOT"; then
65683   ac_cv_prog_DOT="$DOT" # Let the user override the test.
65684 else
65685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65686 for as_dir in $PATH
65687 do
65688   IFS=$as_save_IFS
65689   test -z "$as_dir" && as_dir=.
65690     for ac_exec_ext in '' $ac_executable_extensions; do
65691   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65692     ac_cv_prog_DOT="yes"
65693     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65694     break 2
65695   fi
65696 done
65697   done
65698 IFS=$as_save_IFS
65699
65700   test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
65701 fi
65702 fi
65703 DOT=$ac_cv_prog_DOT
65704 if test -n "$DOT"; then
65705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
65706 $as_echo "$DOT" >&6; }
65707 else
65708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65709 $as_echo "no" >&6; }
65710 fi
65711
65712
65713
65714 # Check for docbook
65715 # Extract the first word of "xsltproc", so it can be a program name with args.
65716 set dummy xsltproc; ac_word=$2
65717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65718 $as_echo_n "checking for $ac_word... " >&6; }
65719 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
65720   $as_echo_n "(cached) " >&6
65721 else
65722   if test -n "$XSLTPROC"; then
65723   ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
65724 else
65725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65726 for as_dir in $PATH
65727 do
65728   IFS=$as_save_IFS
65729   test -z "$as_dir" && as_dir=.
65730     for ac_exec_ext in '' $ac_executable_extensions; do
65731   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65732     ac_cv_prog_XSLTPROC="yes"
65733     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65734     break 2
65735   fi
65736 done
65737   done
65738 IFS=$as_save_IFS
65739
65740   test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65741 fi
65742 fi
65743 XSLTPROC=$ac_cv_prog_XSLTPROC
65744 if test -n "$XSLTPROC"; then
65745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65746 $as_echo "$XSLTPROC" >&6; }
65747 else
65748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65749 $as_echo "no" >&6; }
65750 fi
65751
65752
65753 # Extract the first word of "xmllint", so it can be a program name with args.
65754 set dummy xmllint; ac_word=$2
65755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65756 $as_echo_n "checking for $ac_word... " >&6; }
65757 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65758   $as_echo_n "(cached) " >&6
65759 else
65760   if test -n "$XMLLINT"; then
65761   ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65762 else
65763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65764 for as_dir in $PATH
65765 do
65766   IFS=$as_save_IFS
65767   test -z "$as_dir" && as_dir=.
65768     for ac_exec_ext in '' $ac_executable_extensions; do
65769   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65770     ac_cv_prog_XMLLINT="yes"
65771     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65772     break 2
65773   fi
65774 done
65775   done
65776 IFS=$as_save_IFS
65777
65778   test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65779 fi
65780 fi
65781 XMLLINT=$ac_cv_prog_XMLLINT
65782 if test -n "$XMLLINT"; then
65783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65784 $as_echo "$XMLLINT" >&6; }
65785 else
65786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65787 $as_echo "no" >&6; }
65788 fi
65789
65790
65791
65792
65793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
65794 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
65795 glibcxx_stylesheets=no
65796 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
65797   glibcxx_stylesheets=yes
65798 fi
65799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65800 $as_echo "$glibcxx_stylesheets" >&6; }
65801
65802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65803 $as_echo_n "checking for local stylesheet directory... " >&6; }
65804 glibcxx_local_stylesheets=no
65805 if test x"$glibcxx_stylesheets" = x"yes"; then
65806   if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65807     glibcxx_local_stylesheets=yes
65808     XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65809   fi
65810   if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65811     glibcxx_local_stylesheets=yes
65812     XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65813   fi
65814 fi
65815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65816 $as_echo "$glibcxx_local_stylesheets" >&6; }
65817
65818 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65819
65820   { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65821 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65822 else
65823   glibcxx_stylesheets=no
65824 fi
65825
65826 # Check for epub3 dependencies.
65827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
65828 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
65829 glibcxx_epub_stylesheets=no
65830 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65831    if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
65832       glibcxx_epub_stylesheets=yes
65833    fi
65834 fi
65835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
65836 $as_echo "$glibcxx_epub_stylesheets" >&6; }
65837  if test x"$glibcxx_epub_stylesheets" = x"yes"; then
65838   BUILD_EPUB_TRUE=
65839   BUILD_EPUB_FALSE='#'
65840 else
65841   BUILD_EPUB_TRUE='#'
65842   BUILD_EPUB_FALSE=
65843 fi
65844
65845
65846
65847
65848 # Check for xml/html dependencies.
65849  if test $ac_cv_prog_DOXYGEN = "yes" &&
65850                test $ac_cv_prog_DOT = "yes" &&
65851                test $ac_cv_prog_XSLTPROC = "yes" &&
65852                test $ac_cv_prog_XMLLINT = "yes" &&
65853                test $glibcxx_stylesheets = "yes"; then
65854   BUILD_XML_TRUE=
65855   BUILD_XML_FALSE='#'
65856 else
65857   BUILD_XML_TRUE='#'
65858   BUILD_XML_FALSE=
65859 fi
65860
65861
65862  if test $ac_cv_prog_DOXYGEN = "yes" &&
65863                test $ac_cv_prog_DOT = "yes" &&
65864                test $ac_cv_prog_XSLTPROC = "yes" &&
65865                test $ac_cv_prog_XMLLINT = "yes" &&
65866                test $glibcxx_stylesheets = "yes"; then
65867   BUILD_HTML_TRUE=
65868   BUILD_HTML_FALSE='#'
65869 else
65870   BUILD_HTML_TRUE='#'
65871   BUILD_HTML_FALSE=
65872 fi
65873
65874
65875 # Check for man dependencies.
65876  if test $ac_cv_prog_DOXYGEN = "yes" &&
65877                test $ac_cv_prog_DOT = "yes"; then
65878   BUILD_MAN_TRUE=
65879   BUILD_MAN_FALSE='#'
65880 else
65881   BUILD_MAN_TRUE='#'
65882   BUILD_MAN_FALSE=
65883 fi
65884
65885
65886 # Check for pdf dependencies.
65887 # Extract the first word of "dblatex", so it can be a program name with args.
65888 set dummy dblatex; ac_word=$2
65889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65890 $as_echo_n "checking for $ac_word... " >&6; }
65891 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65892   $as_echo_n "(cached) " >&6
65893 else
65894   if test -n "$DBLATEX"; then
65895   ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65896 else
65897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65898 for as_dir in $PATH
65899 do
65900   IFS=$as_save_IFS
65901   test -z "$as_dir" && as_dir=.
65902     for ac_exec_ext in '' $ac_executable_extensions; do
65903   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65904     ac_cv_prog_DBLATEX="yes"
65905     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65906     break 2
65907   fi
65908 done
65909   done
65910 IFS=$as_save_IFS
65911
65912   test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65913 fi
65914 fi
65915 DBLATEX=$ac_cv_prog_DBLATEX
65916 if test -n "$DBLATEX"; then
65917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65918 $as_echo "$DBLATEX" >&6; }
65919 else
65920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65921 $as_echo "no" >&6; }
65922 fi
65923
65924
65925 # Extract the first word of "pdflatex", so it can be a program name with args.
65926 set dummy pdflatex; ac_word=$2
65927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65928 $as_echo_n "checking for $ac_word... " >&6; }
65929 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65930   $as_echo_n "(cached) " >&6
65931 else
65932   if test -n "$PDFLATEX"; then
65933   ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65934 else
65935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65936 for as_dir in $PATH
65937 do
65938   IFS=$as_save_IFS
65939   test -z "$as_dir" && as_dir=.
65940     for ac_exec_ext in '' $ac_executable_extensions; do
65941   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65942     ac_cv_prog_PDFLATEX="yes"
65943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65944     break 2
65945   fi
65946 done
65947   done
65948 IFS=$as_save_IFS
65949
65950   test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65951 fi
65952 fi
65953 PDFLATEX=$ac_cv_prog_PDFLATEX
65954 if test -n "$PDFLATEX"; then
65955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65956 $as_echo "$PDFLATEX" >&6; }
65957 else
65958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65959 $as_echo "no" >&6; }
65960 fi
65961
65962
65963  if test $ac_cv_prog_DBLATEX = "yes" &&
65964                test $ac_cv_prog_PDFLATEX = "yes"; then
65965   BUILD_PDF_TRUE=
65966   BUILD_PDF_FALSE='#'
65967 else
65968   BUILD_PDF_TRUE='#'
65969   BUILD_PDF_FALSE=
65970 fi
65971
65972
65973
65974 # Propagate the target-specific source directories through the build chain.
65975 ATOMICITY_SRCDIR=config/${atomicity_dir}
65976 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
65977 ATOMIC_FLAGS=${atomic_flags}
65978 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
65979 OS_INC_SRCDIR=config/${os_include_dir}
65980 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
65981 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
65982
65983
65984
65985
65986
65987
65988
65989
65990
65991 # Determine cross-compile flags and AM_CONDITIONALs.
65992 #AC_SUBST(GLIBCXX_IS_NATIVE)
65993 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
65994     if test $is_hosted = yes; then
65995   GLIBCXX_HOSTED_TRUE=
65996   GLIBCXX_HOSTED_FALSE='#'
65997 else
65998   GLIBCXX_HOSTED_TRUE='#'
65999   GLIBCXX_HOSTED_FALSE=
66000 fi
66001
66002
66003     if test $enable_libstdcxx_pch = yes; then
66004   GLIBCXX_BUILD_PCH_TRUE=
66005   GLIBCXX_BUILD_PCH_FALSE='#'
66006 else
66007   GLIBCXX_BUILD_PCH_TRUE='#'
66008   GLIBCXX_BUILD_PCH_FALSE=
66009 fi
66010
66011
66012     if test $enable_cheaders = c; then
66013   GLIBCXX_C_HEADERS_C_TRUE=
66014   GLIBCXX_C_HEADERS_C_FALSE='#'
66015 else
66016   GLIBCXX_C_HEADERS_C_TRUE='#'
66017   GLIBCXX_C_HEADERS_C_FALSE=
66018 fi
66019
66020
66021     if test $enable_cheaders = c_std; then
66022   GLIBCXX_C_HEADERS_C_STD_TRUE=
66023   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
66024 else
66025   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
66026   GLIBCXX_C_HEADERS_C_STD_FALSE=
66027 fi
66028
66029
66030     if test $enable_cheaders = c_global; then
66031   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
66032   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
66033 else
66034   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
66035   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
66036 fi
66037
66038
66039     if test $c_compatibility = yes; then
66040   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
66041   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
66042 else
66043   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
66044   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
66045 fi
66046
66047
66048     if test $enable_libstdcxx_debug = yes; then
66049   GLIBCXX_BUILD_DEBUG_TRUE=
66050   GLIBCXX_BUILD_DEBUG_FALSE='#'
66051 else
66052   GLIBCXX_BUILD_DEBUG_TRUE='#'
66053   GLIBCXX_BUILD_DEBUG_FALSE=
66054 fi
66055
66056
66057     if test $enable_parallel = yes; then
66058   ENABLE_PARALLEL_TRUE=
66059   ENABLE_PARALLEL_FALSE='#'
66060 else
66061   ENABLE_PARALLEL_TRUE='#'
66062   ENABLE_PARALLEL_FALSE=
66063 fi
66064
66065
66066     if test $enable_extern_template = yes; then
66067   ENABLE_EXTERN_TEMPLATE_TRUE=
66068   ENABLE_EXTERN_TEMPLATE_FALSE='#'
66069 else
66070   ENABLE_EXTERN_TEMPLATE_TRUE='#'
66071   ENABLE_EXTERN_TEMPLATE_FALSE=
66072 fi
66073
66074
66075     if test $python_mod_dir != no; then
66076   ENABLE_PYTHONDIR_TRUE=
66077   ENABLE_PYTHONDIR_FALSE='#'
66078 else
66079   ENABLE_PYTHONDIR_TRUE='#'
66080   ENABLE_PYTHONDIR_FALSE=
66081 fi
66082
66083
66084     if test $enable_symvers != no; then
66085   ENABLE_SYMVERS_TRUE=
66086   ENABLE_SYMVERS_FALSE='#'
66087 else
66088   ENABLE_SYMVERS_TRUE='#'
66089   ENABLE_SYMVERS_FALSE=
66090 fi
66091
66092
66093     if test $enable_symvers = gnu; then
66094   ENABLE_SYMVERS_GNU_TRUE=
66095   ENABLE_SYMVERS_GNU_FALSE='#'
66096 else
66097   ENABLE_SYMVERS_GNU_TRUE='#'
66098   ENABLE_SYMVERS_GNU_FALSE=
66099 fi
66100
66101
66102     if test $enable_symvers = gnu-versioned-namespace; then
66103   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
66104   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
66105 else
66106   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
66107   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
66108 fi
66109
66110
66111     if test $enable_symvers = darwin; then
66112   ENABLE_SYMVERS_DARWIN_TRUE=
66113   ENABLE_SYMVERS_DARWIN_FALSE='#'
66114 else
66115   ENABLE_SYMVERS_DARWIN_TRUE='#'
66116   ENABLE_SYMVERS_DARWIN_FALSE=
66117 fi
66118
66119
66120     if test $enable_symvers = sun; then
66121   ENABLE_SYMVERS_SUN_TRUE=
66122   ENABLE_SYMVERS_SUN_FALSE='#'
66123 else
66124   ENABLE_SYMVERS_SUN_TRUE='#'
66125   ENABLE_SYMVERS_SUN_FALSE=
66126 fi
66127
66128
66129     if test $symvers_renaming = no; then
66130   ENABLE_SYMVERS_SOL2_TRUE=
66131   ENABLE_SYMVERS_SOL2_FALSE='#'
66132 else
66133   ENABLE_SYMVERS_SOL2_TRUE='#'
66134   ENABLE_SYMVERS_SOL2_FALSE=
66135 fi
66136
66137
66138     if test $enable_libstdcxx_visibility = yes; then
66139   ENABLE_VISIBILITY_TRUE=
66140   ENABLE_VISIBILITY_FALSE='#'
66141 else
66142   ENABLE_VISIBILITY_TRUE='#'
66143   ENABLE_VISIBILITY_FALSE=
66144 fi
66145
66146
66147     if test $ac_ldbl_compat = yes; then
66148   GLIBCXX_LDBL_COMPAT_TRUE=
66149   GLIBCXX_LDBL_COMPAT_FALSE='#'
66150 else
66151   GLIBCXX_LDBL_COMPAT_TRUE='#'
66152   GLIBCXX_LDBL_COMPAT_FALSE=
66153 fi
66154
66155
66156
66157
66158 cat >confcache <<\_ACEOF
66159 # This file is a shell script that caches the results of configure
66160 # tests run on this system so they can be shared between configure
66161 # scripts and configure runs, see configure's option --config-cache.
66162 # It is not useful on other systems.  If it contains results you don't
66163 # want to keep, you may remove or edit it.
66164 #
66165 # config.status only pays attention to the cache file if you give it
66166 # the --recheck option to rerun configure.
66167 #
66168 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66169 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66170 # following values.
66171
66172 _ACEOF
66173
66174 # The following way of writing the cache mishandles newlines in values,
66175 # but we know of no workaround that is simple, portable, and efficient.
66176 # So, we kill variables containing newlines.
66177 # Ultrix sh set writes to stderr and can't be redirected directly,
66178 # and sets the high bit in the cache file unless we assign to the vars.
66179 (
66180   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66181     eval ac_val=\$$ac_var
66182     case $ac_val in #(
66183     *${as_nl}*)
66184       case $ac_var in #(
66185       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66186 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66187       esac
66188       case $ac_var in #(
66189       _ | IFS | as_nl) ;; #(
66190       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66191       *) { eval $ac_var=; unset $ac_var;} ;;
66192       esac ;;
66193     esac
66194   done
66195
66196   (set) 2>&1 |
66197     case $as_nl`(ac_space=' '; set) 2>&1` in #(
66198     *${as_nl}ac_space=\ *)
66199       # `set' does not quote correctly, so add quotes: double-quote
66200       # substitution turns \\\\ into \\, and sed turns \\ into \.
66201       sed -n \
66202         "s/'/'\\\\''/g;
66203           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66204       ;; #(
66205     *)
66206       # `set' quotes correctly as required by POSIX, so do not add quotes.
66207       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66208       ;;
66209     esac |
66210     sort
66211 ) |
66212   sed '
66213      /^ac_cv_env_/b end
66214      t clear
66215      :clear
66216      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66217      t end
66218      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66219      :end' >>confcache
66220 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66221   if test -w "$cache_file"; then
66222     test "x$cache_file" != "x/dev/null" &&
66223       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66224 $as_echo "$as_me: updating cache $cache_file" >&6;}
66225     cat confcache >$cache_file
66226   else
66227     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66228 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66229   fi
66230 fi
66231 rm -f confcache
66232
66233 if test ${multilib} = yes; then
66234   multilib_arg="--enable-multilib"
66235 else
66236   multilib_arg=
66237 fi
66238
66239 # Export all the install information.
66240
66241   glibcxx_toolexecdir=no
66242   glibcxx_toolexeclibdir=no
66243   glibcxx_prefixdir=$prefix
66244
66245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
66246 $as_echo_n "checking for gxx-include-dir... " >&6; }
66247
66248 # Check whether --with-gxx-include-dir was given.
66249 if test "${with_gxx_include_dir+set}" = set; then :
66250   withval=$with_gxx_include_dir; case "$withval" in
66251       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
66252       no)  gxx_include_dir=no ;;
66253       *)   gxx_include_dir=$withval ;;
66254      esac
66255 else
66256   gxx_include_dir=no
66257 fi
66258
66259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66260 $as_echo "$gxx_include_dir" >&6; }
66261
66262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
66263 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
66264   # Check whether --enable-version-specific-runtime-libs was given.
66265 if test "${enable_version_specific_runtime_libs+set}" = set; then :
66266   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
66267       yes) version_specific_libs=yes ;;
66268       no)  version_specific_libs=no ;;
66269       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
66270      esac
66271 else
66272   version_specific_libs=no
66273 fi
66274
66275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
66276 $as_echo "$version_specific_libs" >&6; }
66277
66278   # Default case for install directory for include files.
66279   if test $version_specific_libs = no && test $gxx_include_dir = no; then
66280     gxx_include_dir='include/c++/${gcc_version}'
66281     if test -n "$with_cross_host" &&
66282        test x"$with_cross_host" != x"no"; then
66283       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
66284     else
66285       gxx_include_dir='${prefix}/'"$gxx_include_dir"
66286     fi
66287   fi
66288
66289   # Version-specific runtime libs processing.
66290   if test $version_specific_libs = yes; then
66291     # Need the gcc compiler version to know where to install libraries
66292     # and header files if --enable-version-specific-runtime-libs option
66293     # is selected.  FIXME: these variables are misnamed, there are
66294     # no executables installed in _toolexecdir or _toolexeclibdir.
66295     if test x"$gxx_include_dir" = x"no"; then
66296       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
66297     fi
66298     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66299     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
66300   fi
66301
66302   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
66303   # Install a library built with a cross compiler in tooldir, not libdir.
66304   if test x"$glibcxx_toolexecdir" = x"no"; then
66305     if test -n "$with_cross_host" &&
66306        test x"$with_cross_host" != x"no"; then
66307       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
66308       glibcxx_toolexeclibdir='${toolexecdir}/lib'
66309     else
66310       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66311       glibcxx_toolexeclibdir='${libdir}'
66312     fi
66313     multi_os_directory=`$CXX -print-multi-os-directory`
66314     case $multi_os_directory in
66315       .) ;; # Avoid trailing /.
66316       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
66317     esac
66318   fi
66319
66320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
66321 $as_echo_n "checking for install location... " >&6; }
66322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66323 $as_echo "$gxx_include_dir" >&6; }
66324
66325
66326
66327
66328
66329
66330
66331 # Export all the include and flag information to Makefiles.
66332
66333   # Used for every C++ compile we perform.
66334   GLIBCXX_INCLUDES="\
66335 -I$glibcxx_builddir/include/$host_alias \
66336 -I$glibcxx_builddir/include \
66337 -I$glibcxx_srcdir/libsupc++"
66338
66339   # For Canadian crosses, pick this up too.
66340   if test $CANADIAN = yes; then
66341     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
66342   fi
66343
66344   # Stuff in the actual top level.  Currently only used by libsupc++ to
66345   # get unwind* headers from the libgcc dir.
66346   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
66347   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
66348
66349   # Now, export this to all the little Makefiles....
66350
66351
66352
66353
66354   # Optimization flags that are probably a good idea for thrill-seekers. Just
66355   # uncomment the lines below and make, everything else is ready to go...
66356   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
66357   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
66358
66359
66360   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
66361
66362
66363
66364 if test "$enable_shared" = yes; then
66365   PIC_CXXFLAGS="-prefer-pic"
66366 else
66367   PIC_CXXFLAGS=
66368 fi
66369
66370
66371 ac_config_files="$ac_config_files Makefile"
66372
66373 ac_config_files="$ac_config_files scripts/testsuite_flags"
66374
66375 ac_config_files="$ac_config_files scripts/extract_symvers"
66376
66377
66378 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
66379 # that multilib installs will end up installed in the correct place.
66380 # The testsuite needs it for multilib-aware ABI baseline files.
66381 # To work around this not being passed down from config-ml.in ->
66382 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
66383 # append it here.  Only modify Makefiles that have just been created.
66384 #
66385 # Also, get rid of this simulated-VPATH thing that automake does.
66386 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"
66387
66388
66389 ac_config_commands="$ac_config_commands generate-headers"
66390
66391
66392 cat >confcache <<\_ACEOF
66393 # This file is a shell script that caches the results of configure
66394 # tests run on this system so they can be shared between configure
66395 # scripts and configure runs, see configure's option --config-cache.
66396 # It is not useful on other systems.  If it contains results you don't
66397 # want to keep, you may remove or edit it.
66398 #
66399 # config.status only pays attention to the cache file if you give it
66400 # the --recheck option to rerun configure.
66401 #
66402 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66403 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66404 # following values.
66405
66406 _ACEOF
66407
66408 # The following way of writing the cache mishandles newlines in values,
66409 # but we know of no workaround that is simple, portable, and efficient.
66410 # So, we kill variables containing newlines.
66411 # Ultrix sh set writes to stderr and can't be redirected directly,
66412 # and sets the high bit in the cache file unless we assign to the vars.
66413 (
66414   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66415     eval ac_val=\$$ac_var
66416     case $ac_val in #(
66417     *${as_nl}*)
66418       case $ac_var in #(
66419       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66420 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66421       esac
66422       case $ac_var in #(
66423       _ | IFS | as_nl) ;; #(
66424       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66425       *) { eval $ac_var=; unset $ac_var;} ;;
66426       esac ;;
66427     esac
66428   done
66429
66430   (set) 2>&1 |
66431     case $as_nl`(ac_space=' '; set) 2>&1` in #(
66432     *${as_nl}ac_space=\ *)
66433       # `set' does not quote correctly, so add quotes: double-quote
66434       # substitution turns \\\\ into \\, and sed turns \\ into \.
66435       sed -n \
66436         "s/'/'\\\\''/g;
66437           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66438       ;; #(
66439     *)
66440       # `set' quotes correctly as required by POSIX, so do not add quotes.
66441       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66442       ;;
66443     esac |
66444     sort
66445 ) |
66446   sed '
66447      /^ac_cv_env_/b end
66448      t clear
66449      :clear
66450      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66451      t end
66452      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66453      :end' >>confcache
66454 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66455   if test -w "$cache_file"; then
66456     test "x$cache_file" != "x/dev/null" &&
66457       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66458 $as_echo "$as_me: updating cache $cache_file" >&6;}
66459     cat confcache >$cache_file
66460   else
66461     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66462 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66463   fi
66464 fi
66465 rm -f confcache
66466
66467 test "x$prefix" = xNONE && prefix=$ac_default_prefix
66468 # Let make expand exec_prefix.
66469 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
66470
66471 DEFS=-DHAVE_CONFIG_H
66472
66473 ac_libobjs=
66474 ac_ltlibobjs=
66475 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
66476   # 1. Remove the extension, and $U if already installed.
66477   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
66478   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
66479   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
66480   #    will be set to the directory where LIBOBJS objects are built.
66481   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
66482   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
66483 done
66484 LIBOBJS=$ac_libobjs
66485
66486 LTLIBOBJS=$ac_ltlibobjs
66487
66488
66489  if test -n "$EXEEXT"; then
66490   am__EXEEXT_TRUE=
66491   am__EXEEXT_FALSE='#'
66492 else
66493   am__EXEEXT_TRUE='#'
66494   am__EXEEXT_FALSE=
66495 fi
66496
66497 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
66498   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
66499 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66500 fi
66501 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
66502   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
66503 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66504 fi
66505 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
66506   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
66507 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66508 fi
66509 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
66510   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
66511 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66512 fi
66513 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
66514   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
66515 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66516 fi
66517 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
66518   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
66519 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66520 fi
66521 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
66522   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
66523 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66524 fi
66525 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
66526   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
66527 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66528 fi
66529 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
66530   as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
66531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66532 fi
66533 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
66534   as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
66535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66536 fi
66537 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
66538   as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
66539 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66540 fi
66541 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
66542   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
66543 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66544 fi
66545 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
66546   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
66547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66548 fi
66549 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
66550   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
66551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66552 fi
66553 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
66554   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
66555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66556 fi
66557 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
66558   as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
66559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66560 fi
66561 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
66562   as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
66563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66564 fi
66565 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
66566   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
66567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66568 fi
66569 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
66570   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
66571 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66572 fi
66573 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
66574   as_fn_error "conditional \"BUILD_INFO\" was never defined.
66575 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66576 fi
66577 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
66578   as_fn_error "conditional \"BUILD_EPUB\" was never defined.
66579 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66580 fi
66581 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
66582   as_fn_error "conditional \"BUILD_XML\" was never defined.
66583 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66584 fi
66585 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
66586   as_fn_error "conditional \"BUILD_HTML\" was never defined.
66587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66588 fi
66589 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
66590   as_fn_error "conditional \"BUILD_MAN\" was never defined.
66591 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66592 fi
66593 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
66594   as_fn_error "conditional \"BUILD_PDF\" was never defined.
66595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66596 fi
66597
66598 : ${CONFIG_STATUS=./config.status}
66599 ac_write_fail=0
66600 ac_clean_files_save=$ac_clean_files
66601 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
66602 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
66603 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
66604 as_write_fail=0
66605 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
66606 #! $SHELL
66607 # Generated by $as_me.
66608 # Run this file to recreate the current configuration.
66609 # Compiler output produced by configure, useful for debugging
66610 # configure, is in config.log if it exists.
66611
66612 debug=false
66613 ac_cs_recheck=false
66614 ac_cs_silent=false
66615
66616 SHELL=\${CONFIG_SHELL-$SHELL}
66617 export SHELL
66618 _ASEOF
66619 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
66620 ## -------------------- ##
66621 ## M4sh Initialization. ##
66622 ## -------------------- ##
66623
66624 # Be more Bourne compatible
66625 DUALCASE=1; export DUALCASE # for MKS sh
66626 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
66627   emulate sh
66628   NULLCMD=:
66629   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
66630   # is contrary to our usage.  Disable this feature.
66631   alias -g '${1+"$@"}'='"$@"'
66632   setopt NO_GLOB_SUBST
66633 else
66634   case `(set -o) 2>/dev/null` in #(
66635   *posix*) :
66636     set -o posix ;; #(
66637   *) :
66638      ;;
66639 esac
66640 fi
66641
66642
66643 as_nl='
66644 '
66645 export as_nl
66646 # Printing a long string crashes Solaris 7 /usr/bin/printf.
66647 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
66648 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
66649 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
66650 # Prefer a ksh shell builtin over an external printf program on Solaris,
66651 # but without wasting forks for bash or zsh.
66652 if test -z "$BASH_VERSION$ZSH_VERSION" \
66653     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
66654   as_echo='print -r --'
66655   as_echo_n='print -rn --'
66656 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
66657   as_echo='printf %s\n'
66658   as_echo_n='printf %s'
66659 else
66660   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66661     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
66662     as_echo_n='/usr/ucb/echo -n'
66663   else
66664     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66665     as_echo_n_body='eval
66666       arg=$1;
66667       case $arg in #(
66668       *"$as_nl"*)
66669         expr "X$arg" : "X\\(.*\\)$as_nl";
66670         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66671       esac;
66672       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66673     '
66674     export as_echo_n_body
66675     as_echo_n='sh -c $as_echo_n_body as_echo'
66676   fi
66677   export as_echo_body
66678   as_echo='sh -c $as_echo_body as_echo'
66679 fi
66680
66681 # The user is always right.
66682 if test "${PATH_SEPARATOR+set}" != set; then
66683   PATH_SEPARATOR=:
66684   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66685     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66686       PATH_SEPARATOR=';'
66687   }
66688 fi
66689
66690
66691 # IFS
66692 # We need space, tab and new line, in precisely that order.  Quoting is
66693 # there to prevent editors from complaining about space-tab.
66694 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66695 # splitting by setting IFS to empty value.)
66696 IFS=" ""        $as_nl"
66697
66698 # Find who we are.  Look in the path if we contain no directory separator.
66699 case $0 in #((
66700   *[\\/]* ) as_myself=$0 ;;
66701   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66702 for as_dir in $PATH
66703 do
66704   IFS=$as_save_IFS
66705   test -z "$as_dir" && as_dir=.
66706     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66707   done
66708 IFS=$as_save_IFS
66709
66710      ;;
66711 esac
66712 # We did not find ourselves, most probably we were run as `sh COMMAND'
66713 # in which case we are not to be found in the path.
66714 if test "x$as_myself" = x; then
66715   as_myself=$0
66716 fi
66717 if test ! -f "$as_myself"; then
66718   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66719   exit 1
66720 fi
66721
66722 # Unset variables that we do not need and which cause bugs (e.g. in
66723 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
66724 # suppresses any "Segmentation fault" message there.  '((' could
66725 # trigger a bug in pdksh 5.2.14.
66726 for as_var in BASH_ENV ENV MAIL MAILPATH
66727 do eval test x\${$as_var+set} = xset \
66728   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66729 done
66730 PS1='$ '
66731 PS2='> '
66732 PS4='+ '
66733
66734 # NLS nuisances.
66735 LC_ALL=C
66736 export LC_ALL
66737 LANGUAGE=C
66738 export LANGUAGE
66739
66740 # CDPATH.
66741 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66742
66743
66744 # as_fn_error ERROR [LINENO LOG_FD]
66745 # ---------------------------------
66746 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66747 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66748 # script with status $?, using 1 if that was 0.
66749 as_fn_error ()
66750 {
66751   as_status=$?; test $as_status -eq 0 && as_status=1
66752   if test "$3"; then
66753     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66754     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66755   fi
66756   $as_echo "$as_me: error: $1" >&2
66757   as_fn_exit $as_status
66758 } # as_fn_error
66759
66760
66761 # as_fn_set_status STATUS
66762 # -----------------------
66763 # Set $? to STATUS, without forking.
66764 as_fn_set_status ()
66765 {
66766   return $1
66767 } # as_fn_set_status
66768
66769 # as_fn_exit STATUS
66770 # -----------------
66771 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66772 as_fn_exit ()
66773 {
66774   set +e
66775   as_fn_set_status $1
66776   exit $1
66777 } # as_fn_exit
66778
66779 # as_fn_unset VAR
66780 # ---------------
66781 # Portably unset VAR.
66782 as_fn_unset ()
66783 {
66784   { eval $1=; unset $1;}
66785 }
66786 as_unset=as_fn_unset
66787 # as_fn_append VAR VALUE
66788 # ----------------------
66789 # Append the text in VALUE to the end of the definition contained in VAR. Take
66790 # advantage of any shell optimizations that allow amortized linear growth over
66791 # repeated appends, instead of the typical quadratic growth present in naive
66792 # implementations.
66793 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66794   eval 'as_fn_append ()
66795   {
66796     eval $1+=\$2
66797   }'
66798 else
66799   as_fn_append ()
66800   {
66801     eval $1=\$$1\$2
66802   }
66803 fi # as_fn_append
66804
66805 # as_fn_arith ARG...
66806 # ------------------
66807 # Perform arithmetic evaluation on the ARGs, and store the result in the
66808 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66809 # must be portable across $(()) and expr.
66810 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66811   eval 'as_fn_arith ()
66812   {
66813     as_val=$(( $* ))
66814   }'
66815 else
66816   as_fn_arith ()
66817   {
66818     as_val=`expr "$@" || test $? -eq 1`
66819   }
66820 fi # as_fn_arith
66821
66822
66823 if expr a : '\(a\)' >/dev/null 2>&1 &&
66824    test "X`expr 00001 : '.*\(...\)'`" = X001; then
66825   as_expr=expr
66826 else
66827   as_expr=false
66828 fi
66829
66830 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66831   as_basename=basename
66832 else
66833   as_basename=false
66834 fi
66835
66836 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66837   as_dirname=dirname
66838 else
66839   as_dirname=false
66840 fi
66841
66842 as_me=`$as_basename -- "$0" ||
66843 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66844          X"$0" : 'X\(//\)$' \| \
66845          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66846 $as_echo X/"$0" |
66847     sed '/^.*\/\([^/][^/]*\)\/*$/{
66848             s//\1/
66849             q
66850           }
66851           /^X\/\(\/\/\)$/{
66852             s//\1/
66853             q
66854           }
66855           /^X\/\(\/\).*/{
66856             s//\1/
66857             q
66858           }
66859           s/.*/./; q'`
66860
66861 # Avoid depending upon Character Ranges.
66862 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66863 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66864 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66865 as_cr_digits='0123456789'
66866 as_cr_alnum=$as_cr_Letters$as_cr_digits
66867
66868 ECHO_C= ECHO_N= ECHO_T=
66869 case `echo -n x` in #(((((
66870 -n*)
66871   case `echo 'xy\c'` in
66872   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
66873   xy)  ECHO_C='\c';;
66874   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
66875        ECHO_T=' ';;
66876   esac;;
66877 *)
66878   ECHO_N='-n';;
66879 esac
66880
66881 rm -f conf$$ conf$$.exe conf$$.file
66882 if test -d conf$$.dir; then
66883   rm -f conf$$.dir/conf$$.file
66884 else
66885   rm -f conf$$.dir
66886   mkdir conf$$.dir 2>/dev/null
66887 fi
66888 if (echo >conf$$.file) 2>/dev/null; then
66889   if ln -s conf$$.file conf$$ 2>/dev/null; then
66890     as_ln_s='ln -s'
66891     # ... but there are two gotchas:
66892     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66893     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66894     # In both cases, we have to default to `cp -p'.
66895     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66896       as_ln_s='cp -p'
66897   elif ln conf$$.file conf$$ 2>/dev/null; then
66898     as_ln_s=ln
66899   else
66900     as_ln_s='cp -p'
66901   fi
66902 else
66903   as_ln_s='cp -p'
66904 fi
66905 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66906 rmdir conf$$.dir 2>/dev/null
66907
66908
66909 # as_fn_mkdir_p
66910 # -------------
66911 # Create "$as_dir" as a directory, including parents if necessary.
66912 as_fn_mkdir_p ()
66913 {
66914
66915   case $as_dir in #(
66916   -*) as_dir=./$as_dir;;
66917   esac
66918   test -d "$as_dir" || eval $as_mkdir_p || {
66919     as_dirs=
66920     while :; do
66921       case $as_dir in #(
66922       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66923       *) as_qdir=$as_dir;;
66924       esac
66925       as_dirs="'$as_qdir' $as_dirs"
66926       as_dir=`$as_dirname -- "$as_dir" ||
66927 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66928          X"$as_dir" : 'X\(//\)[^/]' \| \
66929          X"$as_dir" : 'X\(//\)$' \| \
66930          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66931 $as_echo X"$as_dir" |
66932     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66933             s//\1/
66934             q
66935           }
66936           /^X\(\/\/\)[^/].*/{
66937             s//\1/
66938             q
66939           }
66940           /^X\(\/\/\)$/{
66941             s//\1/
66942             q
66943           }
66944           /^X\(\/\).*/{
66945             s//\1/
66946             q
66947           }
66948           s/.*/./; q'`
66949       test -d "$as_dir" && break
66950     done
66951     test -z "$as_dirs" || eval "mkdir $as_dirs"
66952   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66953
66954
66955 } # as_fn_mkdir_p
66956 if mkdir -p . 2>/dev/null; then
66957   as_mkdir_p='mkdir -p "$as_dir"'
66958 else
66959   test -d ./-p && rmdir ./-p
66960   as_mkdir_p=false
66961 fi
66962
66963 if test -x / >/dev/null 2>&1; then
66964   as_test_x='test -x'
66965 else
66966   if ls -dL / >/dev/null 2>&1; then
66967     as_ls_L_option=L
66968   else
66969     as_ls_L_option=
66970   fi
66971   as_test_x='
66972     eval sh -c '\''
66973       if test -d "$1"; then
66974         test -d "$1/.";
66975       else
66976         case $1 in #(
66977         -*)set "./$1";;
66978         esac;
66979         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
66980         ???[sx]*):;;*)false;;esac;fi
66981     '\'' sh
66982   '
66983 fi
66984 as_executable_p=$as_test_x
66985
66986 # Sed expression to map a string onto a valid CPP name.
66987 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
66988
66989 # Sed expression to map a string onto a valid variable name.
66990 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
66991
66992
66993 exec 6>&1
66994 ## ----------------------------------- ##
66995 ## Main body of $CONFIG_STATUS script. ##
66996 ## ----------------------------------- ##
66997 _ASEOF
66998 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
66999
67000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67001 # Save the log message, to keep $0 and so on meaningful, and to
67002 # report actual input values of CONFIG_FILES etc. instead of their
67003 # values after options handling.
67004 ac_log="
67005 This file was extended by package-unused $as_me version-unused, which was
67006 generated by GNU Autoconf 2.64.  Invocation command line was
67007
67008   CONFIG_FILES    = $CONFIG_FILES
67009   CONFIG_HEADERS  = $CONFIG_HEADERS
67010   CONFIG_LINKS    = $CONFIG_LINKS
67011   CONFIG_COMMANDS = $CONFIG_COMMANDS
67012   $ $0 $@
67013
67014 on `(hostname || uname -n) 2>/dev/null | sed 1q`
67015 "
67016
67017 _ACEOF
67018
67019 case $ac_config_files in *"
67020 "*) set x $ac_config_files; shift; ac_config_files=$*;;
67021 esac
67022
67023 case $ac_config_headers in *"
67024 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
67025 esac
67026
67027
67028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67029 # Files that config.status was made for.
67030 config_files="$ac_config_files"
67031 config_headers="$ac_config_headers"
67032 config_commands="$ac_config_commands"
67033
67034 _ACEOF
67035
67036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67037 ac_cs_usage="\
67038 \`$as_me' instantiates files and other configuration actions
67039 from templates according to the current configuration.  Unless the files
67040 and actions are specified as TAGs, all are instantiated by default.
67041
67042 Usage: $0 [OPTION]... [TAG]...
67043
67044   -h, --help       print this help, then exit
67045   -V, --version    print version number and configuration settings, then exit
67046   -q, --quiet, --silent
67047                    do not print progress messages
67048   -d, --debug      don't remove temporary files
67049       --recheck    update $as_me by reconfiguring in the same conditions
67050       --file=FILE[:TEMPLATE]
67051                    instantiate the configuration file FILE
67052       --header=FILE[:TEMPLATE]
67053                    instantiate the configuration header FILE
67054
67055 Configuration files:
67056 $config_files
67057
67058 Configuration headers:
67059 $config_headers
67060
67061 Configuration commands:
67062 $config_commands
67063
67064 Report bugs to the package provider."
67065
67066 _ACEOF
67067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67068 ac_cs_version="\\
67069 package-unused config.status version-unused
67070 configured by $0, generated by GNU Autoconf 2.64,
67071   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
67072
67073 Copyright (C) 2009 Free Software Foundation, Inc.
67074 This config.status script is free software; the Free Software Foundation
67075 gives unlimited permission to copy, distribute and modify it."
67076
67077 ac_pwd='$ac_pwd'
67078 srcdir='$srcdir'
67079 INSTALL='$INSTALL'
67080 MKDIR_P='$MKDIR_P'
67081 AWK='$AWK'
67082 test -n "\$AWK" || AWK=awk
67083 _ACEOF
67084
67085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67086 # The default lists apply if the user does not specify any file.
67087 ac_need_defaults=:
67088 while test $# != 0
67089 do
67090   case $1 in
67091   --*=*)
67092     ac_option=`expr "X$1" : 'X\([^=]*\)='`
67093     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
67094     ac_shift=:
67095     ;;
67096   *)
67097     ac_option=$1
67098     ac_optarg=$2
67099     ac_shift=shift
67100     ;;
67101   esac
67102
67103   case $ac_option in
67104   # Handling of the options.
67105   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
67106     ac_cs_recheck=: ;;
67107   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
67108     $as_echo "$ac_cs_version"; exit ;;
67109   --debug | --debu | --deb | --de | --d | -d )
67110     debug=: ;;
67111   --file | --fil | --fi | --f )
67112     $ac_shift
67113     case $ac_optarg in
67114     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
67115     esac
67116     as_fn_append CONFIG_FILES " '$ac_optarg'"
67117     ac_need_defaults=false;;
67118   --header | --heade | --head | --hea )
67119     $ac_shift
67120     case $ac_optarg in
67121     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
67122     esac
67123     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
67124     ac_need_defaults=false;;
67125   --he | --h)
67126     # Conflict between --help and --header
67127     as_fn_error "ambiguous option: \`$1'
67128 Try \`$0 --help' for more information.";;
67129   --help | --hel | -h )
67130     $as_echo "$ac_cs_usage"; exit ;;
67131   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
67132   | -silent | --silent | --silen | --sile | --sil | --si | --s)
67133     ac_cs_silent=: ;;
67134
67135   # This is an error.
67136   -*) as_fn_error "unrecognized option: \`$1'
67137 Try \`$0 --help' for more information." ;;
67138
67139   *) as_fn_append ac_config_targets " $1"
67140      ac_need_defaults=false ;;
67141
67142   esac
67143   shift
67144 done
67145
67146 ac_configure_extra_args=
67147
67148 if $ac_cs_silent; then
67149   exec 6>/dev/null
67150   ac_configure_extra_args="$ac_configure_extra_args --silent"
67151 fi
67152
67153 _ACEOF
67154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67155 if \$ac_cs_recheck; then
67156   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
67157   shift
67158   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
67159   CONFIG_SHELL='$SHELL'
67160   export CONFIG_SHELL
67161   exec "\$@"
67162 fi
67163
67164 _ACEOF
67165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67166 exec 5>>config.log
67167 {
67168   echo
67169   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
67170 ## Running $as_me. ##
67171 _ASBOX
67172   $as_echo "$ac_log"
67173 } >&5
67174
67175 _ACEOF
67176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67177 #
67178 # INIT-COMMANDS
67179 #
67180
67181 srcdir="$srcdir"
67182 host="$host"
67183 target="$target"
67184 with_multisubdir="$with_multisubdir"
67185 with_multisrctop="$with_multisrctop"
67186 with_target_subdir="$with_target_subdir"
67187 ac_configure_args="${multilib_arg} ${ac_configure_args}"
67188 multi_basedir="$multi_basedir"
67189 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
67190 CC="$CC"
67191 CXX="$CXX"
67192 GFORTRAN="$GFORTRAN"
67193 GCJ="$GCJ"
67194
67195
67196 # The HP-UX ksh and POSIX shell print the target directory to stdout
67197 # if CDPATH is set.
67198 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
67199
67200 sed_quote_subst='$sed_quote_subst'
67201 double_quote_subst='$double_quote_subst'
67202 delay_variable_subst='$delay_variable_subst'
67203 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
67204 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
67205 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
67206 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
67207 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
67208 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
67209 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
67210 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
67211 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
67212 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
67213 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
67214 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
67215 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
67216 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
67217 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
67218 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
67219 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
67220 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
67221 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
67222 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
67223 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
67224 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
67225 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
67226 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
67227 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
67228 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
67229 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
67230 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
67231 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
67232 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
67233 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
67234 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
67235 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
67236 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
67237 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
67238 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
67239 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
67240 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67241 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67242 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
67243 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
67244 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
67245 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
67246 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
67247 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
67248 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
67249 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
67250 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
67251 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"`'
67252 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
67253 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
67254 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
67255 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
67256 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
67257 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
67258 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
67259 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
67260 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
67261 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
67262 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
67263 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
67264 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
67265 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
67266 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
67267 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67268 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
67269 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
67270 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
67271 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
67272 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
67273 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
67274 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67275 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
67276 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67277 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
67278 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67279 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
67280 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
67281 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
67282 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
67283 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
67284 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
67285 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
67286 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
67287 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
67288 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
67289 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
67290 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
67291 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
67292 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
67293 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
67294 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
67295 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
67296 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
67297 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
67298 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
67299 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
67300 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
67301 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
67302 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
67303 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
67304 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
67305 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
67306 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
67307 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
67308 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
67309 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
67310 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67311 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67312 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
67313 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
67314 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
67315 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
67316 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
67317 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
67318 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
67319 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
67320 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
67321 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
67322 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
67323 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
67324 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
67325 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
67326 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
67327 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
67328 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
67329 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
67330 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
67331 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67332 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67333 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
67334 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
67335 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
67336 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
67337 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
67338 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
67339 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
67340 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
67341 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
67342 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67343 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67344 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
67345 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67346 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67347 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67348 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67349 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67350 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67351 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
67352 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67353 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67354 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67355 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
67356 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
67357 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
67358 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
67359 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
67360 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
67361 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
67362 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
67363 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
67364 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
67365 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
67366 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67367 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67368 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67369 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67370 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
67371 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
67372 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
67373 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67374 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67375 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
67376 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
67377 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
67378
67379 LTCC='$LTCC'
67380 LTCFLAGS='$LTCFLAGS'
67381 compiler='$compiler_DEFAULT'
67382
67383 # A function that is used when there is no print builtin or printf.
67384 func_fallback_echo ()
67385 {
67386   eval 'cat <<_LTECHO_EOF
67387 \$1
67388 _LTECHO_EOF'
67389 }
67390
67391 # Quote evaled strings.
67392 for var in SHELL \
67393 ECHO \
67394 SED \
67395 GREP \
67396 EGREP \
67397 FGREP \
67398 LD \
67399 NM \
67400 LN_S \
67401 lt_SP2NL \
67402 lt_NL2SP \
67403 reload_flag \
67404 OBJDUMP \
67405 deplibs_check_method \
67406 file_magic_cmd \
67407 AR \
67408 AR_FLAGS \
67409 STRIP \
67410 RANLIB \
67411 CC \
67412 CFLAGS \
67413 compiler \
67414 lt_cv_sys_global_symbol_pipe \
67415 lt_cv_sys_global_symbol_to_cdecl \
67416 lt_cv_sys_global_symbol_to_c_name_address \
67417 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
67418 lt_prog_compiler_no_builtin_flag \
67419 lt_prog_compiler_wl \
67420 lt_prog_compiler_pic \
67421 lt_prog_compiler_static \
67422 lt_cv_prog_compiler_c_o \
67423 need_locks \
67424 DSYMUTIL \
67425 NMEDIT \
67426 LIPO \
67427 OTOOL \
67428 OTOOL64 \
67429 shrext_cmds \
67430 export_dynamic_flag_spec \
67431 whole_archive_flag_spec \
67432 compiler_needs_object \
67433 with_gnu_ld \
67434 allow_undefined_flag \
67435 no_undefined_flag \
67436 hardcode_libdir_flag_spec \
67437 hardcode_libdir_flag_spec_ld \
67438 hardcode_libdir_separator \
67439 fix_srcfile_path \
67440 exclude_expsyms \
67441 include_expsyms \
67442 file_list_spec \
67443 variables_saved_for_relink \
67444 libname_spec \
67445 library_names_spec \
67446 soname_spec \
67447 install_override_mode \
67448 finish_eval \
67449 old_striplib \
67450 striplib \
67451 compiler_lib_search_dirs \
67452 predep_objects \
67453 postdep_objects \
67454 predeps \
67455 postdeps \
67456 compiler_lib_search_path \
67457 LD_CXX \
67458 reload_flag_CXX \
67459 compiler_CXX \
67460 lt_prog_compiler_no_builtin_flag_CXX \
67461 lt_prog_compiler_wl_CXX \
67462 lt_prog_compiler_pic_CXX \
67463 lt_prog_compiler_static_CXX \
67464 lt_cv_prog_compiler_c_o_CXX \
67465 export_dynamic_flag_spec_CXX \
67466 whole_archive_flag_spec_CXX \
67467 compiler_needs_object_CXX \
67468 with_gnu_ld_CXX \
67469 allow_undefined_flag_CXX \
67470 no_undefined_flag_CXX \
67471 hardcode_libdir_flag_spec_CXX \
67472 hardcode_libdir_flag_spec_ld_CXX \
67473 hardcode_libdir_separator_CXX \
67474 fix_srcfile_path_CXX \
67475 exclude_expsyms_CXX \
67476 include_expsyms_CXX \
67477 file_list_spec_CXX \
67478 compiler_lib_search_dirs_CXX \
67479 predep_objects_CXX \
67480 postdep_objects_CXX \
67481 predeps_CXX \
67482 postdeps_CXX \
67483 compiler_lib_search_path_CXX; do
67484     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67485     *[\\\\\\\`\\"\\\$]*)
67486       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
67487       ;;
67488     *)
67489       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67490       ;;
67491     esac
67492 done
67493
67494 # Double-quote double-evaled strings.
67495 for var in reload_cmds \
67496 old_postinstall_cmds \
67497 old_postuninstall_cmds \
67498 old_archive_cmds \
67499 extract_expsyms_cmds \
67500 old_archive_from_new_cmds \
67501 old_archive_from_expsyms_cmds \
67502 archive_cmds \
67503 archive_expsym_cmds \
67504 module_cmds \
67505 module_expsym_cmds \
67506 export_symbols_cmds \
67507 prelink_cmds \
67508 postinstall_cmds \
67509 postuninstall_cmds \
67510 finish_cmds \
67511 sys_lib_search_path_spec \
67512 sys_lib_dlsearch_path_spec \
67513 reload_cmds_CXX \
67514 old_archive_cmds_CXX \
67515 old_archive_from_new_cmds_CXX \
67516 old_archive_from_expsyms_cmds_CXX \
67517 archive_cmds_CXX \
67518 archive_expsym_cmds_CXX \
67519 module_cmds_CXX \
67520 module_expsym_cmds_CXX \
67521 export_symbols_cmds_CXX \
67522 prelink_cmds_CXX; do
67523     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67524     *[\\\\\\\`\\"\\\$]*)
67525       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
67526       ;;
67527     *)
67528       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67529       ;;
67530     esac
67531 done
67532
67533 ac_aux_dir='$ac_aux_dir'
67534 xsi_shell='$xsi_shell'
67535 lt_shell_append='$lt_shell_append'
67536
67537 # See if we are running on zsh, and set the options which allow our
67538 # commands through without removal of \ escapes INIT.
67539 if test -n "\${ZSH_VERSION+set}" ; then
67540    setopt NO_GLOB_SUBST
67541 fi
67542
67543
67544     PACKAGE='$PACKAGE'
67545     VERSION='$VERSION'
67546     TIMESTAMP='$TIMESTAMP'
67547     RM='$RM'
67548     ofile='$ofile'
67549
67550
67551
67552
67553
67554
67555 GCC="$GCC"
67556 CC="$CC"
67557 acx_cv_header_stdint="$acx_cv_header_stdint"
67558 acx_cv_type_int8_t="$acx_cv_type_int8_t"
67559 acx_cv_type_int16_t="$acx_cv_type_int16_t"
67560 acx_cv_type_int32_t="$acx_cv_type_int32_t"
67561 acx_cv_type_int64_t="$acx_cv_type_int64_t"
67562 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
67563 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
67564 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
67565 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
67566 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
67567 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
67568 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
67569 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
67570 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
67571
67572
67573 _ACEOF
67574
67575 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67576
67577 # Handling of arguments.
67578 for ac_config_target in $ac_config_targets
67579 do
67580   case $ac_config_target in
67581     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
67582     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
67583     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
67584     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
67585     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
67586     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
67587     "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
67588     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
67589     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
67590     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
67591     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
67592     "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
67593     "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
67594     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
67595     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
67596     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
67597     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
67598
67599   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
67600   esac
67601 done
67602
67603
67604 # If the user did not use the arguments to specify the items to instantiate,
67605 # then the envvar interface is used.  Set only those that are not.
67606 # We use the long form for the default assignment because of an extremely
67607 # bizarre bug on SunOS 4.1.3.
67608 if $ac_need_defaults; then
67609   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
67610   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
67611   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
67612 fi
67613
67614 # Have a temporary directory for convenience.  Make it in the build tree
67615 # simply because there is no reason against having it here, and in addition,
67616 # creating and moving files from /tmp can sometimes cause problems.
67617 # Hook for its removal unless debugging.
67618 # Note that there is a small window in which the directory will not be cleaned:
67619 # after its creation but before its name has been assigned to `$tmp'.
67620 $debug ||
67621 {
67622   tmp=
67623   trap 'exit_status=$?
67624   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
67625 ' 0
67626   trap 'as_fn_exit 1' 1 2 13 15
67627 }
67628 # Create a (secure) tmp directory for tmp files.
67629
67630 {
67631   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
67632   test -n "$tmp" && test -d "$tmp"
67633 }  ||
67634 {
67635   tmp=./conf$$-$RANDOM
67636   (umask 077 && mkdir "$tmp")
67637 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
67638
67639 # Set up the scripts for CONFIG_FILES section.
67640 # No need to generate them if there are no CONFIG_FILES.
67641 # This happens for instance with `./config.status config.h'.
67642 if test -n "$CONFIG_FILES"; then
67643
67644
67645 ac_cr=`echo X | tr X '\015'`
67646 # On cygwin, bash can eat \r inside `` if the user requested igncr.
67647 # But we know of no other shell where ac_cr would be empty at this
67648 # point, so we can use a bashism as a fallback.
67649 if test "x$ac_cr" = x; then
67650   eval ac_cr=\$\'\\r\'
67651 fi
67652 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
67653 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
67654   ac_cs_awk_cr='\r'
67655 else
67656   ac_cs_awk_cr=$ac_cr
67657 fi
67658
67659 echo 'BEGIN {' >"$tmp/subs1.awk" &&
67660 _ACEOF
67661
67662
67663 {
67664   echo "cat >conf$$subs.awk <<_ACEOF" &&
67665   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
67666   echo "_ACEOF"
67667 } >conf$$subs.sh ||
67668   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67669 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
67670 ac_delim='%!_!# '
67671 for ac_last_try in false false false false false :; do
67672   . ./conf$$subs.sh ||
67673     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67674
67675   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67676   if test $ac_delim_n = $ac_delim_num; then
67677     break
67678   elif $ac_last_try; then
67679     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67680   else
67681     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67682   fi
67683 done
67684 rm -f conf$$subs.sh
67685
67686 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67687 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67688 _ACEOF
67689 sed -n '
67690 h
67691 s/^/S["/; s/!.*/"]=/
67692 p
67693 g
67694 s/^[^!]*!//
67695 :repl
67696 t repl
67697 s/'"$ac_delim"'$//
67698 t delim
67699 :nl
67700 h
67701 s/\(.\{148\}\).*/\1/
67702 t more1
67703 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67704 p
67705 n
67706 b repl
67707 :more1
67708 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67709 p
67710 g
67711 s/.\{148\}//
67712 t nl
67713 :delim
67714 h
67715 s/\(.\{148\}\).*/\1/
67716 t more2
67717 s/["\\]/\\&/g; s/^/"/; s/$/"/
67718 p
67719 b
67720 :more2
67721 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67722 p
67723 g
67724 s/.\{148\}//
67725 t delim
67726 ' <conf$$subs.awk | sed '
67727 /^[^""]/{
67728   N
67729   s/\n//
67730 }
67731 ' >>$CONFIG_STATUS || ac_write_fail=1
67732 rm -f conf$$subs.awk
67733 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67734 _ACAWK
67735 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67736   for (key in S) S_is_set[key] = 1
67737   FS = "\a"
67738
67739 }
67740 {
67741   line = $ 0
67742   nfields = split(line, field, "@")
67743   substed = 0
67744   len = length(field[1])
67745   for (i = 2; i < nfields; i++) {
67746     key = field[i]
67747     keylen = length(key)
67748     if (S_is_set[key]) {
67749       value = S[key]
67750       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67751       len += length(value) + length(field[++i])
67752       substed = 1
67753     } else
67754       len += 1 + keylen
67755   }
67756
67757   print line
67758 }
67759
67760 _ACAWK
67761 _ACEOF
67762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67763 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67764   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67765 else
67766   cat
67767 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67768   || as_fn_error "could not setup config files machinery" "$LINENO" 5
67769 _ACEOF
67770
67771 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67772 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67773 # trailing colons and then remove the whole line if VPATH becomes empty
67774 # (actually we leave an empty line to preserve line numbers).
67775 if test "x$srcdir" = x.; then
67776   ac_vpsub='/^[  ]*VPATH[        ]*=/{
67777 s/:*\$(srcdir):*/:/
67778 s/:*\${srcdir}:*/:/
67779 s/:*@srcdir@:*/:/
67780 s/^\([^=]*=[     ]*\):*/\1/
67781 s/:*$//
67782 s/^[^=]*=[       ]*$//
67783 }'
67784 fi
67785
67786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67787 fi # test -n "$CONFIG_FILES"
67788
67789 # Set up the scripts for CONFIG_HEADERS section.
67790 # No need to generate them if there are no CONFIG_HEADERS.
67791 # This happens for instance with `./config.status Makefile'.
67792 if test -n "$CONFIG_HEADERS"; then
67793 cat >"$tmp/defines.awk" <<\_ACAWK ||
67794 BEGIN {
67795 _ACEOF
67796
67797 # Transform confdefs.h into an awk script `defines.awk', embedded as
67798 # here-document in config.status, that substitutes the proper values into
67799 # config.h.in to produce config.h.
67800
67801 # Create a delimiter string that does not exist in confdefs.h, to ease
67802 # handling of long lines.
67803 ac_delim='%!_!# '
67804 for ac_last_try in false false :; do
67805   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67806   if test -z "$ac_t"; then
67807     break
67808   elif $ac_last_try; then
67809     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67810   else
67811     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67812   fi
67813 done
67814
67815 # For the awk script, D is an array of macro values keyed by name,
67816 # likewise P contains macro parameters if any.  Preserve backslash
67817 # newline sequences.
67818
67819 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67820 sed -n '
67821 s/.\{148\}/&'"$ac_delim"'/g
67822 t rset
67823 :rset
67824 s/^[     ]*#[    ]*define[       ][      ]*/ /
67825 t def
67826 d
67827 :def
67828 s/\\$//
67829 t bsnl
67830 s/["\\]/\\&/g
67831 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
67832 D["\1"]=" \3"/p
67833 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
67834 d
67835 :bsnl
67836 s/["\\]/\\&/g
67837 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
67838 D["\1"]=" \3\\\\\\n"\\/p
67839 t cont
67840 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67841 t cont
67842 d
67843 :cont
67844 n
67845 s/.\{148\}/&'"$ac_delim"'/g
67846 t clear
67847 :clear
67848 s/\\$//
67849 t bsnlc
67850 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67851 d
67852 :bsnlc
67853 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67854 b cont
67855 ' <confdefs.h | sed '
67856 s/'"$ac_delim"'/"\\\
67857 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67858
67859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67860   for (key in D) D_is_set[key] = 1
67861   FS = "\a"
67862 }
67863 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67864   line = \$ 0
67865   split(line, arg, " ")
67866   if (arg[1] == "#") {
67867     defundef = arg[2]
67868     mac1 = arg[3]
67869   } else {
67870     defundef = substr(arg[1], 2)
67871     mac1 = arg[2]
67872   }
67873   split(mac1, mac2, "(") #)
67874   macro = mac2[1]
67875   prefix = substr(line, 1, index(line, defundef) - 1)
67876   if (D_is_set[macro]) {
67877     # Preserve the white space surrounding the "#".
67878     print prefix "define", macro P[macro] D[macro]
67879     next
67880   } else {
67881     # Replace #undef with comments.  This is necessary, for example,
67882     # in the case of _POSIX_SOURCE, which is predefined and required
67883     # on some systems where configure will not decide to define it.
67884     if (defundef == "undef") {
67885       print "/*", prefix defundef, macro, "*/"
67886       next
67887     }
67888   }
67889 }
67890 { print }
67891 _ACAWK
67892 _ACEOF
67893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67894   as_fn_error "could not setup config headers machinery" "$LINENO" 5
67895 fi # test -n "$CONFIG_HEADERS"
67896
67897
67898 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
67899 shift
67900 for ac_tag
67901 do
67902   case $ac_tag in
67903   :[FHLC]) ac_mode=$ac_tag; continue;;
67904   esac
67905   case $ac_mode$ac_tag in
67906   :[FHL]*:*);;
67907   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67908   :[FH]-) ac_tag=-:-;;
67909   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67910   esac
67911   ac_save_IFS=$IFS
67912   IFS=:
67913   set x $ac_tag
67914   IFS=$ac_save_IFS
67915   shift
67916   ac_file=$1
67917   shift
67918
67919   case $ac_mode in
67920   :L) ac_source=$1;;
67921   :[FH])
67922     ac_file_inputs=
67923     for ac_f
67924     do
67925       case $ac_f in
67926       -) ac_f="$tmp/stdin";;
67927       *) # Look for the file first in the build tree, then in the source tree
67928          # (if the path is not absolute).  The absolute path cannot be DOS-style,
67929          # because $ac_f cannot contain `:'.
67930          test -f "$ac_f" ||
67931            case $ac_f in
67932            [\\/$]*) false;;
67933            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67934            esac ||
67935            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67936       esac
67937       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67938       as_fn_append ac_file_inputs " '$ac_f'"
67939     done
67940
67941     # Let's still pretend it is `configure' which instantiates (i.e., don't
67942     # use $as_me), people would be surprised to read:
67943     #    /* config.h.  Generated by config.status.  */
67944     configure_input='Generated from '`
67945           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67946         `' by configure.'
67947     if test x"$ac_file" != x-; then
67948       configure_input="$ac_file.  $configure_input"
67949       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67950 $as_echo "$as_me: creating $ac_file" >&6;}
67951     fi
67952     # Neutralize special characters interpreted by sed in replacement strings.
67953     case $configure_input in #(
67954     *\&* | *\|* | *\\* )
67955        ac_sed_conf_input=`$as_echo "$configure_input" |
67956        sed 's/[\\\\&|]/\\\\&/g'`;; #(
67957     *) ac_sed_conf_input=$configure_input;;
67958     esac
67959
67960     case $ac_tag in
67961     *:-:* | *:-) cat >"$tmp/stdin" \
67962       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
67963     esac
67964     ;;
67965   esac
67966
67967   ac_dir=`$as_dirname -- "$ac_file" ||
67968 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67969          X"$ac_file" : 'X\(//\)[^/]' \| \
67970          X"$ac_file" : 'X\(//\)$' \| \
67971          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67972 $as_echo X"$ac_file" |
67973     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67974             s//\1/
67975             q
67976           }
67977           /^X\(\/\/\)[^/].*/{
67978             s//\1/
67979             q
67980           }
67981           /^X\(\/\/\)$/{
67982             s//\1/
67983             q
67984           }
67985           /^X\(\/\).*/{
67986             s//\1/
67987             q
67988           }
67989           s/.*/./; q'`
67990   as_dir="$ac_dir"; as_fn_mkdir_p
67991   ac_builddir=.
67992
67993 case "$ac_dir" in
67994 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67995 *)
67996   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
67997   # A ".." for each directory in $ac_dir_suffix.
67998   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
67999   case $ac_top_builddir_sub in
68000   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
68001   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
68002   esac ;;
68003 esac
68004 ac_abs_top_builddir=$ac_pwd
68005 ac_abs_builddir=$ac_pwd$ac_dir_suffix
68006 # for backward compatibility:
68007 ac_top_builddir=$ac_top_build_prefix
68008
68009 case $srcdir in
68010   .)  # We are building in place.
68011     ac_srcdir=.
68012     ac_top_srcdir=$ac_top_builddir_sub
68013     ac_abs_top_srcdir=$ac_pwd ;;
68014   [\\/]* | ?:[\\/]* )  # Absolute name.
68015     ac_srcdir=$srcdir$ac_dir_suffix;
68016     ac_top_srcdir=$srcdir
68017     ac_abs_top_srcdir=$srcdir ;;
68018   *) # Relative name.
68019     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
68020     ac_top_srcdir=$ac_top_build_prefix$srcdir
68021     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
68022 esac
68023 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
68024
68025
68026   case $ac_mode in
68027   :F)
68028   #
68029   # CONFIG_FILE
68030   #
68031
68032   case $INSTALL in
68033   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
68034   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
68035   esac
68036   ac_MKDIR_P=$MKDIR_P
68037   case $MKDIR_P in
68038   [\\/$]* | ?:[\\/]* ) ;;
68039   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
68040   esac
68041 _ACEOF
68042
68043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
68044 # If the template does not know about datarootdir, expand it.
68045 # FIXME: This hack should be removed a few years after 2.60.
68046 ac_datarootdir_hack=; ac_datarootdir_seen=
68047 ac_sed_dataroot='
68048 /datarootdir/ {
68049   p
68050   q
68051 }
68052 /@datadir@/p
68053 /@docdir@/p
68054 /@infodir@/p
68055 /@localedir@/p
68056 /@mandir@/p'
68057 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
68058 *datarootdir*) ac_datarootdir_seen=yes;;
68059 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
68060   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
68061 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
68062 _ACEOF
68063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68064   ac_datarootdir_hack='
68065   s&@datadir@&$datadir&g
68066   s&@docdir@&$docdir&g
68067   s&@infodir@&$infodir&g
68068   s&@localedir@&$localedir&g
68069   s&@mandir@&$mandir&g
68070   s&\\\${datarootdir}&$datarootdir&g' ;;
68071 esac
68072 _ACEOF
68073
68074 # Neutralize VPATH when `$srcdir' = `.'.
68075 # Shell code in configure.ac might set extrasub.
68076 # FIXME: do we really want to maintain this feature?
68077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68078 ac_sed_extra="$ac_vpsub
68079 $extrasub
68080 _ACEOF
68081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
68082 :t
68083 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
68084 s|@configure_input@|$ac_sed_conf_input|;t t
68085 s&@top_builddir@&$ac_top_builddir_sub&;t t
68086 s&@top_build_prefix@&$ac_top_build_prefix&;t t
68087 s&@srcdir@&$ac_srcdir&;t t
68088 s&@abs_srcdir@&$ac_abs_srcdir&;t t
68089 s&@top_srcdir@&$ac_top_srcdir&;t t
68090 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
68091 s&@builddir@&$ac_builddir&;t t
68092 s&@abs_builddir@&$ac_abs_builddir&;t t
68093 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
68094 s&@INSTALL@&$ac_INSTALL&;t t
68095 s&@MKDIR_P@&$ac_MKDIR_P&;t t
68096 $ac_datarootdir_hack
68097 "
68098 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
68099   || as_fn_error "could not create $ac_file" "$LINENO" 5
68100
68101 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
68102   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
68103   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
68104   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
68105 which seems to be undefined.  Please make sure it is defined." >&5
68106 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
68107 which seems to be undefined.  Please make sure it is defined." >&2;}
68108
68109   rm -f "$tmp/stdin"
68110   case $ac_file in
68111   -) cat "$tmp/out" && rm -f "$tmp/out";;
68112   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
68113   esac \
68114   || as_fn_error "could not create $ac_file" "$LINENO" 5
68115  ;;
68116   :H)
68117   #
68118   # CONFIG_HEADER
68119   #
68120   if test x"$ac_file" != x-; then
68121     {
68122       $as_echo "/* $configure_input  */" \
68123       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
68124     } >"$tmp/config.h" \
68125       || as_fn_error "could not create $ac_file" "$LINENO" 5
68126     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
68127       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
68128 $as_echo "$as_me: $ac_file is unchanged" >&6;}
68129     else
68130       rm -f "$ac_file"
68131       mv "$tmp/config.h" "$ac_file" \
68132         || as_fn_error "could not create $ac_file" "$LINENO" 5
68133     fi
68134   else
68135     $as_echo "/* $configure_input  */" \
68136       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
68137       || as_fn_error "could not create -" "$LINENO" 5
68138   fi
68139 # Compute "$ac_file"'s index in $config_headers.
68140 _am_arg="$ac_file"
68141 _am_stamp_count=1
68142 for _am_header in $config_headers :; do
68143   case $_am_header in
68144     $_am_arg | $_am_arg:* )
68145       break ;;
68146     * )
68147       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
68148   esac
68149 done
68150 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
68151 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68152          X"$_am_arg" : 'X\(//\)[^/]' \| \
68153          X"$_am_arg" : 'X\(//\)$' \| \
68154          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
68155 $as_echo X"$_am_arg" |
68156     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
68157             s//\1/
68158             q
68159           }
68160           /^X\(\/\/\)[^/].*/{
68161             s//\1/
68162             q
68163           }
68164           /^X\(\/\/\)$/{
68165             s//\1/
68166             q
68167           }
68168           /^X\(\/\).*/{
68169             s//\1/
68170             q
68171           }
68172           s/.*/./; q'`/stamp-h$_am_stamp_count
68173  ;;
68174
68175   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
68176 $as_echo "$as_me: executing $ac_file commands" >&6;}
68177  ;;
68178   esac
68179
68180
68181   case $ac_file$ac_mode in
68182     "default-1":C)
68183 # Only add multilib support code if we just rebuilt the top-level
68184 # Makefile.
68185 case " $CONFIG_FILES " in
68186  *" Makefile "*)
68187    ac_file=Makefile . ${multi_basedir}/config-ml.in
68188    ;;
68189 esac ;;
68190     "libtool":C)
68191
68192     # See if we are running on zsh, and set the options which allow our
68193     # commands through without removal of \ escapes.
68194     if test -n "${ZSH_VERSION+set}" ; then
68195       setopt NO_GLOB_SUBST
68196     fi
68197
68198     cfgfile="${ofile}T"
68199     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
68200     $RM "$cfgfile"
68201
68202     cat <<_LT_EOF >> "$cfgfile"
68203 #! $SHELL
68204
68205 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
68206 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
68207 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
68208 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
68209 #
68210 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
68211 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
68212 #   Written by Gordon Matzigkeit, 1996
68213 #
68214 #   This file is part of GNU Libtool.
68215 #
68216 # GNU Libtool is free software; you can redistribute it and/or
68217 # modify it under the terms of the GNU General Public License as
68218 # published by the Free Software Foundation; either version 2 of
68219 # the License, or (at your option) any later version.
68220 #
68221 # As a special exception to the GNU General Public License,
68222 # if you distribute this file as part of a program or library that
68223 # is built using GNU Libtool, you may include this file under the
68224 # same distribution terms that you use for the rest of that program.
68225 #
68226 # GNU Libtool is distributed in the hope that it will be useful,
68227 # but WITHOUT ANY WARRANTY; without even the implied warranty of
68228 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
68229 # GNU General Public License for more details.
68230 #
68231 # You should have received a copy of the GNU General Public License
68232 # along with GNU Libtool; see the file COPYING.  If not, a copy
68233 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
68234 # obtained by writing to the Free Software Foundation, Inc.,
68235 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
68236
68237
68238 # The names of the tagged configurations supported by this script.
68239 available_tags="CXX "
68240
68241 # ### BEGIN LIBTOOL CONFIG
68242
68243 # Which release of libtool.m4 was used?
68244 macro_version=$macro_version
68245 macro_revision=$macro_revision
68246
68247 # Whether or not to build shared libraries.
68248 build_libtool_libs=$enable_shared
68249
68250 # Whether or not to build static libraries.
68251 build_old_libs=$enable_static
68252
68253 # What type of objects to build.
68254 pic_mode=$pic_mode
68255
68256 # Whether or not to optimize for fast installation.
68257 fast_install=$enable_fast_install
68258
68259 # Shell to use when invoking shell scripts.
68260 SHELL=$lt_SHELL
68261
68262 # An echo program that protects backslashes.
68263 ECHO=$lt_ECHO
68264
68265 # The host system.
68266 host_alias=$host_alias
68267 host=$host
68268 host_os=$host_os
68269
68270 # The build system.
68271 build_alias=$build_alias
68272 build=$build
68273 build_os=$build_os
68274
68275 # A sed program that does not truncate output.
68276 SED=$lt_SED
68277
68278 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
68279 Xsed="\$SED -e 1s/^X//"
68280
68281 # A grep program that handles long lines.
68282 GREP=$lt_GREP
68283
68284 # An ERE matcher.
68285 EGREP=$lt_EGREP
68286
68287 # A literal string matcher.
68288 FGREP=$lt_FGREP
68289
68290 # A BSD- or MS-compatible name lister.
68291 NM=$lt_NM
68292
68293 # Whether we need soft or hard links.
68294 LN_S=$lt_LN_S
68295
68296 # What is the maximum length of a command?
68297 max_cmd_len=$max_cmd_len
68298
68299 # Object file suffix (normally "o").
68300 objext=$ac_objext
68301
68302 # Executable file suffix (normally "").
68303 exeext=$exeext
68304
68305 # whether the shell understands "unset".
68306 lt_unset=$lt_unset
68307
68308 # turn spaces into newlines.
68309 SP2NL=$lt_lt_SP2NL
68310
68311 # turn newlines into spaces.
68312 NL2SP=$lt_lt_NL2SP
68313
68314 # An object symbol dumper.
68315 OBJDUMP=$lt_OBJDUMP
68316
68317 # Method to check whether dependent libraries are shared objects.
68318 deplibs_check_method=$lt_deplibs_check_method
68319
68320 # Command to use when deplibs_check_method == "file_magic".
68321 file_magic_cmd=$lt_file_magic_cmd
68322
68323 # The archiver.
68324 AR=$lt_AR
68325 AR_FLAGS=$lt_AR_FLAGS
68326
68327 # A symbol stripping program.
68328 STRIP=$lt_STRIP
68329
68330 # Commands used to install an old-style archive.
68331 RANLIB=$lt_RANLIB
68332 old_postinstall_cmds=$lt_old_postinstall_cmds
68333 old_postuninstall_cmds=$lt_old_postuninstall_cmds
68334
68335 # Whether to use a lock for old archive extraction.
68336 lock_old_archive_extraction=$lock_old_archive_extraction
68337
68338 # A C compiler.
68339 LTCC=$lt_CC
68340
68341 # LTCC compiler flags.
68342 LTCFLAGS=$lt_CFLAGS
68343
68344 # Take the output of nm and produce a listing of raw symbols and C names.
68345 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
68346
68347 # Transform the output of nm in a proper C declaration.
68348 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
68349
68350 # Transform the output of nm in a C name address pair.
68351 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
68352
68353 # Transform the output of nm in a C name address pair when lib prefix is needed.
68354 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
68355
68356 # The name of the directory that contains temporary libtool files.
68357 objdir=$objdir
68358
68359 # Used to examine libraries when file_magic_cmd begins with "file".
68360 MAGIC_CMD=$MAGIC_CMD
68361
68362 # Must we lock files when doing compilation?
68363 need_locks=$lt_need_locks
68364
68365 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
68366 DSYMUTIL=$lt_DSYMUTIL
68367
68368 # Tool to change global to local symbols on Mac OS X.
68369 NMEDIT=$lt_NMEDIT
68370
68371 # Tool to manipulate fat objects and archives on Mac OS X.
68372 LIPO=$lt_LIPO
68373
68374 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
68375 OTOOL=$lt_OTOOL
68376
68377 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
68378 OTOOL64=$lt_OTOOL64
68379
68380 # Old archive suffix (normally "a").
68381 libext=$libext
68382
68383 # Shared library suffix (normally ".so").
68384 shrext_cmds=$lt_shrext_cmds
68385
68386 # The commands to extract the exported symbol list from a shared archive.
68387 extract_expsyms_cmds=$lt_extract_expsyms_cmds
68388
68389 # Variables whose values should be saved in libtool wrapper scripts and
68390 # restored at link time.
68391 variables_saved_for_relink=$lt_variables_saved_for_relink
68392
68393 # Do we need the "lib" prefix for modules?
68394 need_lib_prefix=$need_lib_prefix
68395
68396 # Do we need a version for libraries?
68397 need_version=$need_version
68398
68399 # Library versioning type.
68400 version_type=$version_type
68401
68402 # Shared library runtime path variable.
68403 runpath_var=$runpath_var
68404
68405 # Shared library path variable.
68406 shlibpath_var=$shlibpath_var
68407
68408 # Is shlibpath searched before the hard-coded library search path?
68409 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
68410
68411 # Format of library name prefix.
68412 libname_spec=$lt_libname_spec
68413
68414 # List of archive names.  First name is the real one, the rest are links.
68415 # The last name is the one that the linker finds with -lNAME
68416 library_names_spec=$lt_library_names_spec
68417
68418 # The coded name of the library, if different from the real name.
68419 soname_spec=$lt_soname_spec
68420
68421 # Permission mode override for installation of shared libraries.
68422 install_override_mode=$lt_install_override_mode
68423
68424 # Command to use after installation of a shared archive.
68425 postinstall_cmds=$lt_postinstall_cmds
68426
68427 # Command to use after uninstallation of a shared archive.
68428 postuninstall_cmds=$lt_postuninstall_cmds
68429
68430 # Commands used to finish a libtool library installation in a directory.
68431 finish_cmds=$lt_finish_cmds
68432
68433 # As "finish_cmds", except a single script fragment to be evaled but
68434 # not shown.
68435 finish_eval=$lt_finish_eval
68436
68437 # Whether we should hardcode library paths into libraries.
68438 hardcode_into_libs=$hardcode_into_libs
68439
68440 # Compile-time system search path for libraries.
68441 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
68442
68443 # Run-time system search path for libraries.
68444 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
68445
68446 # Whether dlopen is supported.
68447 dlopen_support=$enable_dlopen
68448
68449 # Whether dlopen of programs is supported.
68450 dlopen_self=$enable_dlopen_self
68451
68452 # Whether dlopen of statically linked programs is supported.
68453 dlopen_self_static=$enable_dlopen_self_static
68454
68455 # Commands to strip libraries.
68456 old_striplib=$lt_old_striplib
68457 striplib=$lt_striplib
68458
68459
68460 # The linker used to build libraries.
68461 LD=$lt_LD
68462
68463 # How to create reloadable object files.
68464 reload_flag=$lt_reload_flag
68465 reload_cmds=$lt_reload_cmds
68466
68467 # Commands used to build an old-style archive.
68468 old_archive_cmds=$lt_old_archive_cmds
68469
68470 # A language specific compiler.
68471 CC=$lt_compiler
68472
68473 # Is the compiler the GNU compiler?
68474 with_gcc=$GCC
68475
68476 # Compiler flag to turn off builtin functions.
68477 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
68478
68479 # How to pass a linker flag through the compiler.
68480 wl=$lt_lt_prog_compiler_wl
68481
68482 # Additional compiler flags for building library objects.
68483 pic_flag=$lt_lt_prog_compiler_pic
68484
68485 # Compiler flag to prevent dynamic linking.
68486 link_static_flag=$lt_lt_prog_compiler_static
68487
68488 # Does compiler simultaneously support -c and -o options?
68489 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
68490
68491 # Whether or not to add -lc for building shared libraries.
68492 build_libtool_need_lc=$archive_cmds_need_lc
68493
68494 # Whether or not to disallow shared libs when runtime libs are static.
68495 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
68496
68497 # Compiler flag to allow reflexive dlopens.
68498 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
68499
68500 # Compiler flag to generate shared objects directly from archives.
68501 whole_archive_flag_spec=$lt_whole_archive_flag_spec
68502
68503 # Whether the compiler copes with passing no objects directly.
68504 compiler_needs_object=$lt_compiler_needs_object
68505
68506 # Create an old-style archive from a shared archive.
68507 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
68508
68509 # Create a temporary old-style archive to link instead of a shared archive.
68510 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
68511
68512 # Commands used to build a shared archive.
68513 archive_cmds=$lt_archive_cmds
68514 archive_expsym_cmds=$lt_archive_expsym_cmds
68515
68516 # Commands used to build a loadable module if different from building
68517 # a shared archive.
68518 module_cmds=$lt_module_cmds
68519 module_expsym_cmds=$lt_module_expsym_cmds
68520
68521 # Whether we are building with GNU ld or not.
68522 with_gnu_ld=$lt_with_gnu_ld
68523
68524 # Flag that allows shared libraries with undefined symbols to be built.
68525 allow_undefined_flag=$lt_allow_undefined_flag
68526
68527 # Flag that enforces no undefined symbols.
68528 no_undefined_flag=$lt_no_undefined_flag
68529
68530 # Flag to hardcode \$libdir into a binary during linking.
68531 # This must work even if \$libdir does not exist
68532 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
68533
68534 # If ld is used when linking, flag to hardcode \$libdir into a binary
68535 # during linking.  This must work even if \$libdir does not exist.
68536 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
68537
68538 # Whether we need a single "-rpath" flag with a separated argument.
68539 hardcode_libdir_separator=$lt_hardcode_libdir_separator
68540
68541 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68542 # DIR into the resulting binary.
68543 hardcode_direct=$hardcode_direct
68544
68545 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68546 # DIR into the resulting binary and the resulting library dependency is
68547 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68548 # library is relocated.
68549 hardcode_direct_absolute=$hardcode_direct_absolute
68550
68551 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68552 # into the resulting binary.
68553 hardcode_minus_L=$hardcode_minus_L
68554
68555 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68556 # into the resulting binary.
68557 hardcode_shlibpath_var=$hardcode_shlibpath_var
68558
68559 # Set to "yes" if building a shared library automatically hardcodes DIR
68560 # into the library and all subsequent libraries and executables linked
68561 # against it.
68562 hardcode_automatic=$hardcode_automatic
68563
68564 # Set to yes if linker adds runtime paths of dependent libraries
68565 # to runtime path list.
68566 inherit_rpath=$inherit_rpath
68567
68568 # Whether libtool must link a program against all its dependency libraries.
68569 link_all_deplibs=$link_all_deplibs
68570
68571 # Fix the shell variable \$srcfile for the compiler.
68572 fix_srcfile_path=$lt_fix_srcfile_path
68573
68574 # Set to "yes" if exported symbols are required.
68575 always_export_symbols=$always_export_symbols
68576
68577 # The commands to list exported symbols.
68578 export_symbols_cmds=$lt_export_symbols_cmds
68579
68580 # Symbols that should not be listed in the preloaded symbols.
68581 exclude_expsyms=$lt_exclude_expsyms
68582
68583 # Symbols that must always be exported.
68584 include_expsyms=$lt_include_expsyms
68585
68586 # Commands necessary for linking programs (against libraries) with templates.
68587 prelink_cmds=$lt_prelink_cmds
68588
68589 # Specify filename containing input files.
68590 file_list_spec=$lt_file_list_spec
68591
68592 # How to hardcode a shared library path into an executable.
68593 hardcode_action=$hardcode_action
68594
68595 # The directories searched by this compiler when creating a shared library.
68596 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
68597
68598 # Dependencies to place before and after the objects being linked to
68599 # create a shared library.
68600 predep_objects=$lt_predep_objects
68601 postdep_objects=$lt_postdep_objects
68602 predeps=$lt_predeps
68603 postdeps=$lt_postdeps
68604
68605 # The library search path used internally by the compiler when linking
68606 # a shared library.
68607 compiler_lib_search_path=$lt_compiler_lib_search_path
68608
68609 # ### END LIBTOOL CONFIG
68610
68611 _LT_EOF
68612
68613   case $host_os in
68614   aix3*)
68615     cat <<\_LT_EOF >> "$cfgfile"
68616 # AIX sometimes has problems with the GCC collect2 program.  For some
68617 # reason, if we set the COLLECT_NAMES environment variable, the problems
68618 # vanish in a puff of smoke.
68619 if test "X${COLLECT_NAMES+set}" != Xset; then
68620   COLLECT_NAMES=
68621   export COLLECT_NAMES
68622 fi
68623 _LT_EOF
68624     ;;
68625   esac
68626
68627
68628 ltmain="$ac_aux_dir/ltmain.sh"
68629
68630
68631   # We use sed instead of cat because bash on DJGPP gets confused if
68632   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
68633   # text mode, it properly converts lines to CR/LF.  This bash problem
68634   # is reportedly fixed, but why not run on old versions too?
68635   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
68636     || (rm -f "$cfgfile"; exit 1)
68637
68638   case $xsi_shell in
68639   yes)
68640     cat << \_LT_EOF >> "$cfgfile"
68641
68642 # func_dirname file append nondir_replacement
68643 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
68644 # otherwise set result to NONDIR_REPLACEMENT.
68645 func_dirname ()
68646 {
68647   case ${1} in
68648     */*) func_dirname_result="${1%/*}${2}" ;;
68649     *  ) func_dirname_result="${3}" ;;
68650   esac
68651 }
68652
68653 # func_basename file
68654 func_basename ()
68655 {
68656   func_basename_result="${1##*/}"
68657 }
68658
68659 # func_dirname_and_basename file append nondir_replacement
68660 # perform func_basename and func_dirname in a single function
68661 # call:
68662 #   dirname:  Compute the dirname of FILE.  If nonempty,
68663 #             add APPEND to the result, otherwise set result
68664 #             to NONDIR_REPLACEMENT.
68665 #             value returned in "$func_dirname_result"
68666 #   basename: Compute filename of FILE.
68667 #             value retuned in "$func_basename_result"
68668 # Implementation must be kept synchronized with func_dirname
68669 # and func_basename. For efficiency, we do not delegate to
68670 # those functions but instead duplicate the functionality here.
68671 func_dirname_and_basename ()
68672 {
68673   case ${1} in
68674     */*) func_dirname_result="${1%/*}${2}" ;;
68675     *  ) func_dirname_result="${3}" ;;
68676   esac
68677   func_basename_result="${1##*/}"
68678 }
68679
68680 # func_stripname prefix suffix name
68681 # strip PREFIX and SUFFIX off of NAME.
68682 # PREFIX and SUFFIX must not contain globbing or regex special
68683 # characters, hashes, percent signs, but SUFFIX may contain a leading
68684 # dot (in which case that matches only a dot).
68685 func_stripname ()
68686 {
68687   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68688   # positional parameters, so assign one to ordinary parameter first.
68689   func_stripname_result=${3}
68690   func_stripname_result=${func_stripname_result#"${1}"}
68691   func_stripname_result=${func_stripname_result%"${2}"}
68692 }
68693
68694 # func_opt_split
68695 func_opt_split ()
68696 {
68697   func_opt_split_opt=${1%%=*}
68698   func_opt_split_arg=${1#*=}
68699 }
68700
68701 # func_lo2o object
68702 func_lo2o ()
68703 {
68704   case ${1} in
68705     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68706     *)    func_lo2o_result=${1} ;;
68707   esac
68708 }
68709
68710 # func_xform libobj-or-source
68711 func_xform ()
68712 {
68713   func_xform_result=${1%.*}.lo
68714 }
68715
68716 # func_arith arithmetic-term...
68717 func_arith ()
68718 {
68719   func_arith_result=$(( $* ))
68720 }
68721
68722 # func_len string
68723 # STRING may not start with a hyphen.
68724 func_len ()
68725 {
68726   func_len_result=${#1}
68727 }
68728
68729 _LT_EOF
68730     ;;
68731   *) # Bourne compatible functions.
68732     cat << \_LT_EOF >> "$cfgfile"
68733
68734 # func_dirname file append nondir_replacement
68735 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
68736 # otherwise set result to NONDIR_REPLACEMENT.
68737 func_dirname ()
68738 {
68739   # Extract subdirectory from the argument.
68740   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68741   if test "X$func_dirname_result" = "X${1}"; then
68742     func_dirname_result="${3}"
68743   else
68744     func_dirname_result="$func_dirname_result${2}"
68745   fi
68746 }
68747
68748 # func_basename file
68749 func_basename ()
68750 {
68751   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68752 }
68753
68754
68755 # func_stripname prefix suffix name
68756 # strip PREFIX and SUFFIX off of NAME.
68757 # PREFIX and SUFFIX must not contain globbing or regex special
68758 # characters, hashes, percent signs, but SUFFIX may contain a leading
68759 # dot (in which case that matches only a dot).
68760 # func_strip_suffix prefix name
68761 func_stripname ()
68762 {
68763   case ${2} in
68764     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68765     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68766   esac
68767 }
68768
68769 # sed scripts:
68770 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68771 my_sed_long_arg='1s/^-[^=]*=//'
68772
68773 # func_opt_split
68774 func_opt_split ()
68775 {
68776   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68777   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68778 }
68779
68780 # func_lo2o object
68781 func_lo2o ()
68782 {
68783   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68784 }
68785
68786 # func_xform libobj-or-source
68787 func_xform ()
68788 {
68789   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68790 }
68791
68792 # func_arith arithmetic-term...
68793 func_arith ()
68794 {
68795   func_arith_result=`expr "$@"`
68796 }
68797
68798 # func_len string
68799 # STRING may not start with a hyphen.
68800 func_len ()
68801 {
68802   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68803 }
68804
68805 _LT_EOF
68806 esac
68807
68808 case $lt_shell_append in
68809   yes)
68810     cat << \_LT_EOF >> "$cfgfile"
68811
68812 # func_append var value
68813 # Append VALUE to the end of shell variable VAR.
68814 func_append ()
68815 {
68816   eval "$1+=\$2"
68817 }
68818 _LT_EOF
68819     ;;
68820   *)
68821     cat << \_LT_EOF >> "$cfgfile"
68822
68823 # func_append var value
68824 # Append VALUE to the end of shell variable VAR.
68825 func_append ()
68826 {
68827   eval "$1=\$$1\$2"
68828 }
68829
68830 _LT_EOF
68831     ;;
68832   esac
68833
68834
68835   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68836     || (rm -f "$cfgfile"; exit 1)
68837
68838   mv -f "$cfgfile" "$ofile" ||
68839     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68840   chmod +x "$ofile"
68841
68842
68843     cat <<_LT_EOF >> "$ofile"
68844
68845 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68846
68847 # The linker used to build libraries.
68848 LD=$lt_LD_CXX
68849
68850 # How to create reloadable object files.
68851 reload_flag=$lt_reload_flag_CXX
68852 reload_cmds=$lt_reload_cmds_CXX
68853
68854 # Commands used to build an old-style archive.
68855 old_archive_cmds=$lt_old_archive_cmds_CXX
68856
68857 # A language specific compiler.
68858 CC=$lt_compiler_CXX
68859
68860 # Is the compiler the GNU compiler?
68861 with_gcc=$GCC_CXX
68862
68863 # Compiler flag to turn off builtin functions.
68864 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68865
68866 # How to pass a linker flag through the compiler.
68867 wl=$lt_lt_prog_compiler_wl_CXX
68868
68869 # Additional compiler flags for building library objects.
68870 pic_flag=$lt_lt_prog_compiler_pic_CXX
68871
68872 # Compiler flag to prevent dynamic linking.
68873 link_static_flag=$lt_lt_prog_compiler_static_CXX
68874
68875 # Does compiler simultaneously support -c and -o options?
68876 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68877
68878 # Whether or not to add -lc for building shared libraries.
68879 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68880
68881 # Whether or not to disallow shared libs when runtime libs are static.
68882 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68883
68884 # Compiler flag to allow reflexive dlopens.
68885 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68886
68887 # Compiler flag to generate shared objects directly from archives.
68888 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68889
68890 # Whether the compiler copes with passing no objects directly.
68891 compiler_needs_object=$lt_compiler_needs_object_CXX
68892
68893 # Create an old-style archive from a shared archive.
68894 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68895
68896 # Create a temporary old-style archive to link instead of a shared archive.
68897 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68898
68899 # Commands used to build a shared archive.
68900 archive_cmds=$lt_archive_cmds_CXX
68901 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68902
68903 # Commands used to build a loadable module if different from building
68904 # a shared archive.
68905 module_cmds=$lt_module_cmds_CXX
68906 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68907
68908 # Whether we are building with GNU ld or not.
68909 with_gnu_ld=$lt_with_gnu_ld_CXX
68910
68911 # Flag that allows shared libraries with undefined symbols to be built.
68912 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68913
68914 # Flag that enforces no undefined symbols.
68915 no_undefined_flag=$lt_no_undefined_flag_CXX
68916
68917 # Flag to hardcode \$libdir into a binary during linking.
68918 # This must work even if \$libdir does not exist
68919 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68920
68921 # If ld is used when linking, flag to hardcode \$libdir into a binary
68922 # during linking.  This must work even if \$libdir does not exist.
68923 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68924
68925 # Whether we need a single "-rpath" flag with a separated argument.
68926 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68927
68928 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68929 # DIR into the resulting binary.
68930 hardcode_direct=$hardcode_direct_CXX
68931
68932 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68933 # DIR into the resulting binary and the resulting library dependency is
68934 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68935 # library is relocated.
68936 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68937
68938 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68939 # into the resulting binary.
68940 hardcode_minus_L=$hardcode_minus_L_CXX
68941
68942 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68943 # into the resulting binary.
68944 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68945
68946 # Set to "yes" if building a shared library automatically hardcodes DIR
68947 # into the library and all subsequent libraries and executables linked
68948 # against it.
68949 hardcode_automatic=$hardcode_automatic_CXX
68950
68951 # Set to yes if linker adds runtime paths of dependent libraries
68952 # to runtime path list.
68953 inherit_rpath=$inherit_rpath_CXX
68954
68955 # Whether libtool must link a program against all its dependency libraries.
68956 link_all_deplibs=$link_all_deplibs_CXX
68957
68958 # Fix the shell variable \$srcfile for the compiler.
68959 fix_srcfile_path=$lt_fix_srcfile_path_CXX
68960
68961 # Set to "yes" if exported symbols are required.
68962 always_export_symbols=$always_export_symbols_CXX
68963
68964 # The commands to list exported symbols.
68965 export_symbols_cmds=$lt_export_symbols_cmds_CXX
68966
68967 # Symbols that should not be listed in the preloaded symbols.
68968 exclude_expsyms=$lt_exclude_expsyms_CXX
68969
68970 # Symbols that must always be exported.
68971 include_expsyms=$lt_include_expsyms_CXX
68972
68973 # Commands necessary for linking programs (against libraries) with templates.
68974 prelink_cmds=$lt_prelink_cmds_CXX
68975
68976 # Specify filename containing input files.
68977 file_list_spec=$lt_file_list_spec_CXX
68978
68979 # How to hardcode a shared library path into an executable.
68980 hardcode_action=$hardcode_action_CXX
68981
68982 # The directories searched by this compiler when creating a shared library.
68983 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
68984
68985 # Dependencies to place before and after the objects being linked to
68986 # create a shared library.
68987 predep_objects=$lt_predep_objects_CXX
68988 postdep_objects=$lt_postdep_objects_CXX
68989 predeps=$lt_predeps_CXX
68990 postdeps=$lt_postdeps_CXX
68991
68992 # The library search path used internally by the compiler when linking
68993 # a shared library.
68994 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
68995
68996 # ### END LIBTOOL TAG CONFIG: CXX
68997 _LT_EOF
68998
68999  ;;
69000     "include/gstdint.h":C)
69001 if test "$GCC" = yes; then
69002   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
69003 else
69004   echo "/* generated for $CC */" > tmp-stdint.h
69005 fi
69006
69007 sed 's/^ *//' >> tmp-stdint.h <<EOF
69008
69009   #ifndef GCC_GENERATED_STDINT_H
69010   #define GCC_GENERATED_STDINT_H 1
69011
69012   #include <sys/types.h>
69013 EOF
69014
69015 if test "$acx_cv_header_stdint" != stdint.h; then
69016   echo "#include <stddef.h>" >> tmp-stdint.h
69017 fi
69018 if test "$acx_cv_header_stdint" != stddef.h; then
69019   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
69020 fi
69021
69022 sed 's/^ *//' >> tmp-stdint.h <<EOF
69023   /* glibc uses these symbols as guards to prevent redefinitions.  */
69024   #ifdef __int8_t_defined
69025   #define _INT8_T
69026   #define _INT16_T
69027   #define _INT32_T
69028   #endif
69029   #ifdef __uint32_t_defined
69030   #define _UINT32_T
69031   #endif
69032
69033 EOF
69034
69035 # ----------------- done header, emit basic int types -------------
69036 if test "$acx_cv_header_stdint" = stddef.h; then
69037   sed 's/^ *//' >> tmp-stdint.h <<EOF
69038
69039     #ifndef _UINT8_T
69040     #define _UINT8_T
69041     #ifndef __uint8_t_defined
69042     #define __uint8_t_defined
69043     #ifndef uint8_t
69044     typedef unsigned $acx_cv_type_int8_t uint8_t;
69045     #endif
69046     #endif
69047     #endif
69048
69049     #ifndef _UINT16_T
69050     #define _UINT16_T
69051     #ifndef __uint16_t_defined
69052     #define __uint16_t_defined
69053     #ifndef uint16_t
69054     typedef unsigned $acx_cv_type_int16_t uint16_t;
69055     #endif
69056     #endif
69057     #endif
69058
69059     #ifndef _UINT32_T
69060     #define _UINT32_T
69061     #ifndef __uint32_t_defined
69062     #define __uint32_t_defined
69063     #ifndef uint32_t
69064     typedef unsigned $acx_cv_type_int32_t uint32_t;
69065     #endif
69066     #endif
69067     #endif
69068
69069     #ifndef _INT8_T
69070     #define _INT8_T
69071     #ifndef __int8_t_defined
69072     #define __int8_t_defined
69073     #ifndef int8_t
69074     typedef $acx_cv_type_int8_t int8_t;
69075     #endif
69076     #endif
69077     #endif
69078
69079     #ifndef _INT16_T
69080     #define _INT16_T
69081     #ifndef __int16_t_defined
69082     #define __int16_t_defined
69083     #ifndef int16_t
69084     typedef $acx_cv_type_int16_t int16_t;
69085     #endif
69086     #endif
69087     #endif
69088
69089     #ifndef _INT32_T
69090     #define _INT32_T
69091     #ifndef __int32_t_defined
69092     #define __int32_t_defined
69093     #ifndef int32_t
69094     typedef $acx_cv_type_int32_t int32_t;
69095     #endif
69096     #endif
69097     #endif
69098 EOF
69099 elif test "$ac_cv_type_u_int32_t" = yes; then
69100   sed 's/^ *//' >> tmp-stdint.h <<EOF
69101
69102     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
69103     #ifndef _INT8_T
69104     #define _INT8_T
69105     #endif
69106     #ifndef _INT16_T
69107     #define _INT16_T
69108     #endif
69109     #ifndef _INT32_T
69110     #define _INT32_T
69111     #endif
69112
69113     #ifndef _UINT8_T
69114     #define _UINT8_T
69115     #ifndef __uint8_t_defined
69116     #define __uint8_t_defined
69117     #ifndef uint8_t
69118     typedef u_int8_t uint8_t;
69119     #endif
69120     #endif
69121     #endif
69122
69123     #ifndef _UINT16_T
69124     #define _UINT16_T
69125     #ifndef __uint16_t_defined
69126     #define __uint16_t_defined
69127     #ifndef uint16_t
69128     typedef u_int16_t uint16_t;
69129     #endif
69130     #endif
69131     #endif
69132
69133     #ifndef _UINT32_T
69134     #define _UINT32_T
69135     #ifndef __uint32_t_defined
69136     #define __uint32_t_defined
69137     #ifndef uint32_t
69138     typedef u_int32_t uint32_t;
69139     #endif
69140     #endif
69141     #endif
69142 EOF
69143 else
69144   sed 's/^ *//' >> tmp-stdint.h <<EOF
69145
69146     /* Some systems have guard macros to prevent redefinitions, define them.  */
69147     #ifndef _INT8_T
69148     #define _INT8_T
69149     #endif
69150     #ifndef _INT16_T
69151     #define _INT16_T
69152     #endif
69153     #ifndef _INT32_T
69154     #define _INT32_T
69155     #endif
69156     #ifndef _UINT8_T
69157     #define _UINT8_T
69158     #endif
69159     #ifndef _UINT16_T
69160     #define _UINT16_T
69161     #endif
69162     #ifndef _UINT32_T
69163     #define _UINT32_T
69164     #endif
69165 EOF
69166 fi
69167
69168 # ------------- done basic int types, emit int64_t types ------------
69169 if test "$ac_cv_type_uint64_t" = yes; then
69170   sed 's/^ *//' >> tmp-stdint.h <<EOF
69171
69172     /* system headers have good uint64_t and int64_t */
69173     #ifndef _INT64_T
69174     #define _INT64_T
69175     #endif
69176     #ifndef _UINT64_T
69177     #define _UINT64_T
69178     #endif
69179 EOF
69180 elif test "$ac_cv_type_u_int64_t" = yes; then
69181   sed 's/^ *//' >> tmp-stdint.h <<EOF
69182
69183     /* system headers have an u_int64_t (and int64_t) */
69184     #ifndef _INT64_T
69185     #define _INT64_T
69186     #endif
69187     #ifndef _UINT64_T
69188     #define _UINT64_T
69189     #ifndef __uint64_t_defined
69190     #define __uint64_t_defined
69191     #ifndef uint64_t
69192     typedef u_int64_t uint64_t;
69193     #endif
69194     #endif
69195     #endif
69196 EOF
69197 elif test -n "$acx_cv_type_int64_t"; then
69198   sed 's/^ *//' >> tmp-stdint.h <<EOF
69199
69200     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
69201     #ifndef _INT64_T
69202     #define _INT64_T
69203     #ifndef int64_t
69204     typedef $acx_cv_type_int64_t int64_t;
69205     #endif
69206     #endif
69207     #ifndef _UINT64_T
69208     #define _UINT64_T
69209     #ifndef __uint64_t_defined
69210     #define __uint64_t_defined
69211     #ifndef uint64_t
69212     typedef unsigned $acx_cv_type_int64_t uint64_t;
69213     #endif
69214     #endif
69215     #endif
69216 EOF
69217 else
69218   sed 's/^ *//' >> tmp-stdint.h <<EOF
69219
69220     /* some common heuristics for int64_t, using compiler-specific tests */
69221     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
69222     #ifndef _INT64_T
69223     #define _INT64_T
69224     #ifndef __int64_t_defined
69225     #ifndef int64_t
69226     typedef long long int64_t;
69227     #endif
69228     #endif
69229     #endif
69230     #ifndef _UINT64_T
69231     #define _UINT64_T
69232     #ifndef uint64_t
69233     typedef unsigned long long uint64_t;
69234     #endif
69235     #endif
69236
69237     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
69238     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
69239        does not implement __extension__.  But that compiler doesn't define
69240        __GNUC_MINOR__.  */
69241     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
69242     # define __extension__
69243     # endif
69244
69245     # ifndef _INT64_T
69246     # define _INT64_T
69247     # ifndef int64_t
69248     __extension__ typedef long long int64_t;
69249     # endif
69250     # endif
69251     # ifndef _UINT64_T
69252     # define _UINT64_T
69253     # ifndef uint64_t
69254     __extension__ typedef unsigned long long uint64_t;
69255     # endif
69256     # endif
69257
69258     #elif !defined __STRICT_ANSI__
69259     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
69260
69261     #  ifndef _INT64_T
69262     #  define _INT64_T
69263     #  ifndef int64_t
69264     typedef __int64 int64_t;
69265     #  endif
69266     #  endif
69267     #  ifndef _UINT64_T
69268     #  define _UINT64_T
69269     #  ifndef uint64_t
69270     typedef unsigned __int64 uint64_t;
69271     #  endif
69272     #  endif
69273     # endif /* compiler */
69274
69275     #endif /* ANSI version */
69276 EOF
69277 fi
69278
69279 # ------------- done int64_t types, emit intptr types ------------
69280 if test "$ac_cv_type_uintptr_t" != yes; then
69281   sed 's/^ *//' >> tmp-stdint.h <<EOF
69282
69283     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
69284     #ifndef __uintptr_t_defined
69285     #ifndef uintptr_t
69286     typedef u$acx_cv_type_intptr_t uintptr_t;
69287     #endif
69288     #endif
69289     #ifndef __intptr_t_defined
69290     #ifndef intptr_t
69291     typedef $acx_cv_type_intptr_t  intptr_t;
69292     #endif
69293     #endif
69294 EOF
69295 fi
69296
69297 # ------------- done intptr types, emit int_least types ------------
69298 if test "$ac_cv_type_int_least32_t" != yes; then
69299   sed 's/^ *//' >> tmp-stdint.h <<EOF
69300
69301     /* Define int_least types */
69302     typedef int8_t     int_least8_t;
69303     typedef int16_t    int_least16_t;
69304     typedef int32_t    int_least32_t;
69305     #ifdef _INT64_T
69306     typedef int64_t    int_least64_t;
69307     #endif
69308
69309     typedef uint8_t    uint_least8_t;
69310     typedef uint16_t   uint_least16_t;
69311     typedef uint32_t   uint_least32_t;
69312     #ifdef _UINT64_T
69313     typedef uint64_t   uint_least64_t;
69314     #endif
69315 EOF
69316 fi
69317
69318 # ------------- done intptr types, emit int_fast types ------------
69319 if test "$ac_cv_type_int_fast32_t" != yes; then
69320       sed 's/^ *//' >> tmp-stdint.h <<EOF
69321
69322     /* Define int_fast types.  short is often slow */
69323     typedef int8_t       int_fast8_t;
69324     typedef int          int_fast16_t;
69325     typedef int32_t      int_fast32_t;
69326     #ifdef _INT64_T
69327     typedef int64_t      int_fast64_t;
69328     #endif
69329
69330     typedef uint8_t      uint_fast8_t;
69331     typedef unsigned int uint_fast16_t;
69332     typedef uint32_t     uint_fast32_t;
69333     #ifdef _UINT64_T
69334     typedef uint64_t     uint_fast64_t;
69335     #endif
69336 EOF
69337 fi
69338
69339 if test "$ac_cv_type_uintmax_t" != yes; then
69340   sed 's/^ *//' >> tmp-stdint.h <<EOF
69341
69342     /* Define intmax based on what we found */
69343     #ifndef intmax_t
69344     #ifdef _INT64_T
69345     typedef int64_t       intmax_t;
69346     #else
69347     typedef long          intmax_t;
69348     #endif
69349     #endif
69350     #ifndef uintmax_t
69351     #ifdef _UINT64_T
69352     typedef uint64_t      uintmax_t;
69353     #else
69354     typedef unsigned long uintmax_t;
69355     #endif
69356     #endif
69357 EOF
69358 fi
69359
69360 sed 's/^ *//' >> tmp-stdint.h <<EOF
69361
69362   #endif /* GCC_GENERATED_STDINT_H */
69363 EOF
69364
69365 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
69366   rm -f tmp-stdint.h
69367 else
69368   mv -f tmp-stdint.h include/gstdint.h
69369 fi
69370
69371  ;;
69372     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
69373     "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
69374     "include/Makefile":F) cat > vpsed$$ << \_EOF
69375 s!`test -f '$<' || echo '$(srcdir)/'`!!
69376 _EOF
69377    sed -f vpsed$$ $ac_file > tmp$$
69378    mv tmp$$ $ac_file
69379    rm vpsed$$
69380    echo 'MULTISUBDIR =' >> $ac_file
69381    ml_norecursion=yes
69382    . ${multi_basedir}/config-ml.in
69383    { ml_norecursion=; unset ml_norecursion;}
69384  ;;
69385     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
69386 s!`test -f '$<' || echo '$(srcdir)/'`!!
69387 _EOF
69388    sed -f vpsed$$ $ac_file > tmp$$
69389    mv tmp$$ $ac_file
69390    rm vpsed$$
69391    echo 'MULTISUBDIR =' >> $ac_file
69392    ml_norecursion=yes
69393    . ${multi_basedir}/config-ml.in
69394    { ml_norecursion=; unset ml_norecursion;}
69395  ;;
69396     "python/Makefile":F) cat > vpsed$$ << \_EOF
69397 s!`test -f '$<' || echo '$(srcdir)/'`!!
69398 _EOF
69399    sed -f vpsed$$ $ac_file > tmp$$
69400    mv tmp$$ $ac_file
69401    rm vpsed$$
69402    echo 'MULTISUBDIR =' >> $ac_file
69403    ml_norecursion=yes
69404    . ${multi_basedir}/config-ml.in
69405    { ml_norecursion=; unset ml_norecursion;}
69406  ;;
69407     "src/Makefile":F) cat > vpsed$$ << \_EOF
69408 s!`test -f '$<' || echo '$(srcdir)/'`!!
69409 _EOF
69410    sed -f vpsed$$ $ac_file > tmp$$
69411    mv tmp$$ $ac_file
69412    rm vpsed$$
69413    echo 'MULTISUBDIR =' >> $ac_file
69414    ml_norecursion=yes
69415    . ${multi_basedir}/config-ml.in
69416    { ml_norecursion=; unset ml_norecursion;}
69417  ;;
69418     "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
69419 s!`test -f '$<' || echo '$(srcdir)/'`!!
69420 _EOF
69421    sed -f vpsed$$ $ac_file > tmp$$
69422    mv tmp$$ $ac_file
69423    rm vpsed$$
69424    echo 'MULTISUBDIR =' >> $ac_file
69425    ml_norecursion=yes
69426    . ${multi_basedir}/config-ml.in
69427    { ml_norecursion=; unset ml_norecursion;}
69428  ;;
69429     "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
69430 s!`test -f '$<' || echo '$(srcdir)/'`!!
69431 _EOF
69432    sed -f vpsed$$ $ac_file > tmp$$
69433    mv tmp$$ $ac_file
69434    rm vpsed$$
69435    echo 'MULTISUBDIR =' >> $ac_file
69436    ml_norecursion=yes
69437    . ${multi_basedir}/config-ml.in
69438    { ml_norecursion=; unset ml_norecursion;}
69439  ;;
69440     "doc/Makefile":F) cat > vpsed$$ << \_EOF
69441 s!`test -f '$<' || echo '$(srcdir)/'`!!
69442 _EOF
69443    sed -f vpsed$$ $ac_file > tmp$$
69444    mv tmp$$ $ac_file
69445    rm vpsed$$
69446    echo 'MULTISUBDIR =' >> $ac_file
69447    ml_norecursion=yes
69448    . ${multi_basedir}/config-ml.in
69449    { ml_norecursion=; unset ml_norecursion;}
69450  ;;
69451     "po/Makefile":F) cat > vpsed$$ << \_EOF
69452 s!`test -f '$<' || echo '$(srcdir)/'`!!
69453 _EOF
69454    sed -f vpsed$$ $ac_file > tmp$$
69455    mv tmp$$ $ac_file
69456    rm vpsed$$
69457    echo 'MULTISUBDIR =' >> $ac_file
69458    ml_norecursion=yes
69459    . ${multi_basedir}/config-ml.in
69460    { ml_norecursion=; unset ml_norecursion;}
69461  ;;
69462     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
69463 s!`test -f '$<' || echo '$(srcdir)/'`!!
69464 _EOF
69465    sed -f vpsed$$ $ac_file > tmp$$
69466    mv tmp$$ $ac_file
69467    rm vpsed$$
69468    echo 'MULTISUBDIR =' >> $ac_file
69469    ml_norecursion=yes
69470    . ${multi_basedir}/config-ml.in
69471    { ml_norecursion=; unset ml_norecursion;}
69472  ;;
69473     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
69474
69475   esac
69476 done # for ac_tag
69477
69478
69479 as_fn_exit 0
69480 _ACEOF
69481 ac_clean_files=$ac_clean_files_save
69482
69483 test $ac_write_fail = 0 ||
69484   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
69485
69486
69487 # configure is writing to config.log, and then calls config.status.
69488 # config.status does its own redirection, appending to config.log.
69489 # Unfortunately, on DOS this fails, as config.log is still kept open
69490 # by configure, so config.status won't be able to write to it; its
69491 # output is simply discarded.  So we exec the FD to /dev/null,
69492 # effectively closing config.log, so it can be properly (re)opened and
69493 # appended to by config.status.  When coming back to configure, we
69494 # need to make the FD available again.
69495 if test "$no_create" != yes; then
69496   ac_cs_success=:
69497   ac_config_status_args=
69498   test "$silent" = yes &&
69499     ac_config_status_args="$ac_config_status_args --quiet"
69500   exec 5>/dev/null
69501   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
69502   exec 5>>config.log
69503   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
69504   # would make configure fail if this is the last instruction.
69505   $ac_cs_success || as_fn_exit $?
69506 fi
69507 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
69508   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
69509 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
69510 fi
69511